]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
96c76f72ec875dd515e495bf154df0fc5175a2a2
[thirdparty/glibc.git] / ChangeLog
1 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
2 Florian Weimer <fweimer@redhat.com>
3
4 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
5 * libio/wmemstream.c (open_wmemstream): Likewise.
6 * nptl/tst-memstream.c: New.
7
8 2017-07-12 Jiong Wang <jiong.wang@arm.com>
9
10 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
11 of pcrel_address under Thumb mode.
12
13 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
14
15 [BZ #21207]
16 * locale/iso-639.def: Add Fiji Hindi (hif).
17
18 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
19
20 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
21
22 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
23
24 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
25 -fstack-protector-all.
26
27 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
28
29 [BZ #20496]
30 * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
31
32 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33
34 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
35 to iterate over all possible object suffixes. Add a comment
36 explaining the use of sysdep-CFLAGS instead of CFLAGS.
37
38 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
39
40 [BZ #12189]
41 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
42 (tests): Add tst-ssp-1 if -fstack-protector works.
43 * debug/fortify_fail.c: Include <stdbool.h>.
44 (_fortify_fail_abort): New function.
45 (__fortify_fail): Call _fortify_fail_abort.
46 (__fortify_fail_abort): Add a hidden definition.
47 * debug/stack_chk_fail.c: Include <stdbool.h>.
48 (__stack_chk_fail): Call __fortify_fail_abort, instead of
49 __fortify_fail.
50 * debug/tst-ssp-1.c: New file.
51 * include/stdio.h (__libc_message_action): New enum.
52 (__libc_message): Replace int with enum __libc_message_action.
53 (__fortify_fail_abort): New hidden prototype.
54 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
55 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
56 with enum __libc_message_action. Call BEFORE_ABORT only if
57 action includes do_backtrace.
58 (__libc_fatal): Update __libc_message call.
59
60 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
61
62 [BZ #21738]
63 * manual/llio.texi (RWF_NOWAIT): New item.
64 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
65 Add RWF_NOWAIT check.
66 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
67
68 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
69
70 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
71 Support running on kernels without PTRACE_SINGLEBLOCK.
72
73 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
74
75 [BZ #21742]
76 * elf/Makefile (dl-routines): Move dl-conflict to ...
77 (rtld-routines): Here.
78
79 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
80
81 [BZ #21741]
82 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
83 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
84 in libc.so.
85
86 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
87
88 * sysdeps/hppa/fpu/libm-test-ulps: Update.
89
90 [BZ #21016]
91 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
92 Fix typo.
93 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
94 bits/types/struct_timespec.h.
95 (PTHREAD_MUTEX_INITIALIZER): Revise define.
96 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
97 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
98 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
99 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
100 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
101 (PTHREAD_COND_INITIALIZER): Likewise.
102 Remove old definitions.
103 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
104 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
105 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
106 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
107 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
108 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
109
110 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
111
112 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
113 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
114 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
115 * sysdeps/x86_64/multiarch/memset.c: Likewise.
116 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
117 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
118 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
119 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
120 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
121 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
122 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
123 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
124 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
125 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
126 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
127 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
128
129 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
130
131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
132
133 2017-07-09 Helge Deller <deller@gmx.de>
134
135 [BZ #21049]
136 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
137 up to avoid clobbering r26.
138
139 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
140
141 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
142 profiled objects.
143
144 2017-07-06 DJ Delorie <dj@redhat.com>
145
146 * manual/tunables.texi: Add missing @end deftp.
147
148 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
149
150 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
151 (do_test): Call it.
152
153 2017-07-06 DJ Delorie <dj@redhat.com>
154
155 * config.make.in: Enable experimental malloc option.
156 * configure.ac: Likewise.
157 * configure: Regenerate.
158 * manual/install.texi: Document it.
159 * INSTALL: Regenerate.
160 * malloc/Makefile: Likewise.
161 * malloc/malloc.c: Add per-thread cache (tcache).
162 (tcache_put): New.
163 (tcache_get): New.
164 (tcache_thread_freeres): New.
165 (tcache_init): New.
166 (__libc_malloc): Use cached chunks if available.
167 (__libc_free): Initialize tcache if needed.
168 (__libc_realloc): Likewise.
169 (__libc_calloc): Likewise.
170 (_int_malloc): Prefill tcache when appropriate.
171 (_int_free): Likewise.
172 (do_set_tcache_max): New.
173 (do_set_tcache_count): New.
174 (do_set_tcache_unsorted_limit): New.
175 * manual/probes.texi: Document new probes.
176 * malloc/arena.c: Add new tcache tunables.
177 * elf/dl-tunables.list: Likewise.
178 * manual/tunables.texi: Document them.
179 * NEWS: Mention the per-thread cache.
180
181 2017-07-06 Joseph Myers <joseph@codesourcery.com>
182
183 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
184 * misc/tst-tsearch.c (TIMEOUT): Remove.
185 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
186 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
187 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
188 * string/tst-cmp.c (TIMEOUT): Define to 600.
189
190 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
191
192 [BZ #21715]
193 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
194 on definition.
195
196 2017-07-06 Florian Weimer <fweimer@redhat.com>
197 H.J. Lu <hongjiu.lu@intel.com>
198
199 [BZ #21609]
200 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
201 (gen-as-const-headers): Add rtld-offsets.sym.
202 * sysdeps/x86_64/dl-tls.c: New file.
203 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
204 * sysdeps/x86_64/tls_get_addr.S: Likewise.
205 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
206 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
207 (TI_OFFSET_OFFSET): Likwise.
208
209 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
210
211 [BZ# 21697]
212 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
213
214 2017-07-05 Florian Weimer <fweimer@redhat.com>
215
216 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
217 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
218 * resolv/tst-resolv-threads.c: New file.
219
220 2017-07-05 Florian Weimer <fweimer@redhat.com>
221
222 support: Add resolver testing mode which does not patch _res.
223 * support/resolv_test.h (struct resolv_redirect_config): Add
224 disable_redirect, server_address_overrides.
225 * support/resolv_test.c (make_server_sockets_for_address): New
226 function.
227 (resolv_test_start): Call it.
228
229 2017-07-05 Florian Weimer <fweimer@redhat.com>
230
231 * support/namespace.h (struct support_chroot_configuration)
232 (struct support_chroot): Define.
233 (support_chroot_create, support_chroot_free): New functions.
234 * support/support_chroot.c: New file.
235 * support/Makefile (libsupport-routines): Add support_chroot.
236 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
237 (path_resolv_conf): Remove definitions.
238 (chroot_env): New variable.
239 (prepare): Call support_chroot_create.
240 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
241 (special_test_callback, do_test): Likewise.
242
243 2017-07-05 Florian Weimer <fweimer@redhat.com>
244
245 Add subtest to check isolation of multiple loopback addresses.
246 * support/tst-support-namespace.c (test_localhost_bind): New function.
247 (do_test): Call it.
248
249 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
250
251 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
252 * libio/libioP.h (_IO_enable_locks): Declare.
253 * libio/Versions (_IO_enable_locks): New symbol.
254 * libio/genops.c (_IO_enable_locks): Define.
255 (_IO_old_init): Initialize flags2.
256 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
257 * libio/ferror.c (_IO_ferror): Likewise.
258 * libio/fputc.c (fputc): Likewise.
259 * libio/putc.c (_IO_putc): Likewise.
260 * libio/getc.c (_IO_getc): Likewise.
261 * libio/getchar.c (getchar): Likewise.
262 * libio/ioungetc.c (_IO_ungetc): Likewise.
263 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
264 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
265 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
266
267 2017-07-04 Florian Weimer <fweimer@redhat.com>
268
269 [BZ #21542]
270 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
271 two if no accurate information is available.
272 * posix/tst-sysconf-empty-chroot.c: New file.
273 * posix/Makefile (tests): Add it.
274
275 2017-07-04 Florian Weimer <fweimer@redhat.com>
276
277 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
278 server and sort list counts. Fix improper check for empty search
279 path (completely missing domain name) leading to assertion failure
280 in update_from_conf.
281 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
282 hostname member.
283 (run_res_init): Set host name if requested.
284 (test_cases): Update.
285
286 2017-07-04 Joseph Myers <joseph@codesourcery.com>
287
288 * scripts/build-many-glibcs.py (Context.checkout): Default
289 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
290 kernel version to 4.12.
291
292 2017-07-04 Florian Weimer <fweimer@redhat.com>
293
294 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
295 list management and the role of free_list_start.
296 (decrement_at_index): Put zero at the end of the free list.
297 (__resolv_conf_attach): Fix bogus assert.
298 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
299 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
300
301 2017-07-03 Florian Weimer <fweimer@redhat.com>
302
303 resolv: Introduce free list for resolv_conf index slosts.
304 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
305 type to uintptr_t.
306 (struct resolv_conf_global): Add free_list_start member.
307 (resolv_conf_get_1): Check for free list entry.
308 (decrement_at_index): Put freed slot on the free list.
309 (__resolv_conf_attach): Obtain new slot from the free list.
310 * resolv/tst-resolv-res_ninit.c: New file.
311 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
312 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
313 (generated): Add mtrace-tst-resolv-res_ninit.out,
314 tst-resolv-res_ninit.mtrace.
315 (mtrace-tst-resolv-res_ninit.out): Add target.
316
317 2017-06-30 Florian Weimer <fweimer@redhat.com>
318
319 [BZ #984]
320 Reload /etc/resolv.conf if has been changed on disk.
321 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
322 (__resolv_conf_load, __resolv_conf_get_current): Declare.
323 * resolv/resolv_conf.c (struct resolv_conf_global): Add
324 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
325 (__resolv_conf_get_current): New function.
326 (__resolv_conf_allocate): Do not initialize initstamp.
327 (freeres): Deallocate global->conf_current.
328 * resolv/resolv.h (RES_NORELOAD): Define.
329 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
330 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
331 * resolv/resolv_context.c (replicated_configuration_matches): New.
332 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
333 the current configration.
334 * resolv/res_init.c (__res_initstamp): Remove variable definition.
335 (has_preinit_values): New function.
336 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
337 parameter and do not call __resolv_conf_attach.
338 (__res_vinit): Reimplement based __resolv_conf_load.
339 (res_options): Handle no-reload.
340 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
341 (lock): Remove.
342 (res_int): Do not update __res_initstamp.
343 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
344 RES_NORELOAD.
345 (test_cases): Test no-reload.
346 (special_test_call_res_init): Remove.
347 (special_test_callback): Rely on automated reloading. Add tests
348 for no-reload.
349
350 2017-06-30 Florian Weimer <fweimer@redhat.com>
351
352 Mirror the entire resolver configuration in struct resolv_conf.
353 * resolv/resolv_context.h (__resolv_context_nameserver_count)
354 (__resolv_context_nameserver): New functions.
355 (__resolv_context_sort_count, __resolv_context_sort_entry):
356 Likewise.
357 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
358 resolv_context parameter.
359 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
360 (addrsort): Switch to struct resolv_context.
361 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
362 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
363 sort_list, sort_list_size, options, retrans, retry, ndots members.
364 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
365 (same_address): New functions.
366 (resolv_conf_matches): Compare the new array members.
367 (__resolv_conf_allocate): Allocate and copy the new array members.
368 (update_from_conf): Copy the entire configuration.
369 * resolv/res_init.c (struct nameserver_list, struct sort_list):
370 Define using dynarray.
371 (struct resolv_conf_parser): Add nameserver_list, sort_list,
372 template members.
373 (resolv_conf_parser_init): Add preinit argument. Initialize the
374 new members.
375 (resolv_conf_parser_free): Deallocate the new arrays.
376 (allocate_address_v4): New function.
377 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
378 (res_vinit_1): Drop res_state parameter. Write all parsed date to
379 the parser object instead. Use allocate_address_v4 to allocate
380 IPv4 addresses.
381 (__res_vinit): Adjust.
382 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
383 extended name server list.
384 (test_cases): Adjust.
385
386 2017-06-30 Florian Weimer <fweimer@redhat.com>
387
388 [BZ #19569]
389 [BZ #21475]
390 Support an arbitrary number of search domains.
391 * resolv/resolv_context.h (__resolv_context_search_list): New.
392 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
393 search_list_size members.
394 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
395 (__resolv_conf_allocate): Allocate and and copy search list.
396 (update_from_conf): Copy the search list.
397 * resolv/res_init.c (struct search_list): Define using dynarray.
398 (struct resolv_conf_parser): Define.
399 (resolv_conf_parser_init, resolv_conf_parser_free)
400 (domain_from_hostname): New functions.
401 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
402 struct search_list to collect search list entries. Call
403 domain_from_hostname to obtain the fallback domain name.
404 (__res_vinit): Create and destroy parser object. Pass search list
405 to __resolv_conf_allocate.
406 * resolv/res_query.c (__res_context_search): Use
407 __resolv_context_search_list to obtain search list entries.
408 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
409 from extended resolver context.
410 (test_cases): Update.
411
412 2017-06-30 Florian Weimer <fweimer@redhat.com>
413
414 Add extended resolver state/configuration (struct resolv_conf).
415 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
416 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
417 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
418 (__res_vinit): Call __resolv_conf_allocate and
419 __resolv_conf_attach.
420 * resolv/resolv_context.h (struct resolv_context): Add conf member
421 of type struct resolv_conf.
422 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
423 resolv_conf. Update conf member after initialization.
424 * resolv/Makefile (routines): Add resolv_conf.
425 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
426 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
427 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
428 _u._ext.__glibc_reserved.
429
430 2017-06-30 Florian Weimer <fweimer@redhat.com>
431
432 [BZ #21668]
433 Introduce temporary resolver contexts (struct resolv_conf).
434 * resolv/resolv-internal.h (__res_context_mkquery)
435 (__res_context_searchl __res_context_query, __res_context_send)
436 (__res_context_hostalias): Declare.
437 (__res_nopt): Switch to struct resolv_context.
438 * resolv/res_use_inet6.h: New file.
439 * resolv/resolv_context.h: Likewise.
440 * resolv/resolv_context.c: Likewise.
441 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
442 Renamed from res_gethostbyname2. Use struct resolv_context.
443 (res_gethostbyname2): New function. Implement using
444 res_gethostbyname2_context.
445 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
446 struct resolv_context.
447 (res_gethostbyaddr): New function. Implement using
448 res_gethostbyaddr_context.
449 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
450 resolv_context.
451 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
452 _nss_dns_gethostbyname3_r. Use struct resolv_context.
453 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
454 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
455 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
456 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
457 (_nss_dns_getnetbyaddr_r): Likewise.
458 * resolv/res-close.c (res_thread_freeres): Call
459 __resolv_context_freeres.
460 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
461 maybe_init in resolv/resolv_context.c.
462 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
463 res_nmkquery. Use struct resolv_context.
464 (context_mkquery_common): New function.
465 (res_nmkquery, res_mkquery): Use it.
466 (res_nopt): Switch to struct resolv_context.
467 * resolv/res_query.c (__res_context_querydomain): Renamed from
468 __libc_res_nquerydomain. Use struct resolv_context.
469 (__res_context_query): Renamed from __libc_res_nquery. Use struct
470 resolv_context.
471 (context_query_common): New function.
472 (res_nquery, res_query): Use it.
473 (__res_context_search): Renamed from __libc_res_nsearch. Use
474 struct resolv_context.
475 (context_search_common): New function.
476 (res_nsearch, res_search): Use it.
477 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
478 Use struct resolv_context.
479 (context_querydomain_common): New function.
480 (res_nquerydomain, res_querydomain): Use it.
481 (__res_context_hostalias): Rename from res_hostalias. Use struct
482 resolv_context.
483 (context_hostalias_common): New function.
484 (res_hostalias, hostalias): Use it.
485 * resolv/res_send.c (__res_context_send): Renamed from
486 __libc_res_nsend. Use struct resolv_context.
487 (context_send_common): New function.
488 (res_nsend, res_send): Use it.
489 * resolv/Makefile (routines): Add resolv_context.
490 * resolv/Versions (libc): Export __resolv_context_get,
491 __resolv_context_get_preinit, __resolv_context_get_override,
492 __resolv_context_put. Remove __res_maybe_init.
493 (libresolv): Export __res_context_query, __res_context_search,
494 __res_context_hostalias. Remove __libc_res_nquery,
495 __libc_res_nsearch.
496 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
497 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
498 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
499 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
500 prototypes.
501 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
502 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
503 from __nss_hostname_digits_dots. Use struct resolv_context.
504 (__nss_hostname_digits_dots): New function.
505 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
506 struct resolv_context object. Call new function
507 __nss_hostname_digits_dots_context.
508 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
509 * nss/getnssent_r.c (__nss_setent): Likewise.
510 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
511 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
512 instead of direct _res manipulation.
513 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
514
515 2017-07-03 Florian Weimer <fweimer@redhat.com>
516
517 * resolv/tst-resolv-res_init-skeleton.c
518 (special_tests_count, special_test_call_res_init)
519 (special_test_callback, special_test_thread_func)
520 (run_special_test_on_thread, special_test): Define.
521 (do_test): call special_test.
522 (test_init_names): Fix typo.
523
524 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
525
526 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
527 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
528
529 2017-07-01 Florian Weimer <fweimer@redhat.com>
530 H.J. Lu <hongjiu.lu@intel.com>
531
532 [BZ #21696]
533 * posix/sched_cpucount.c: Don't include <limits.h>.
534 (__sched_cpucount): Use __builtin_popcount.
535
536 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
537
538 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
539 Fix typo.
540
541 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
542
543 * include/math.h (__signbitf128): Define as hidden.
544 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
545 Reimplement without builtins.
546 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
547 (__builtin_signbitf128): Define to __signbitf128.
548 * sysdeps/powerpc/bits/floatn.h: Likewise.
549 * sysdeps/x86/bits/floatn.h: Likewise.
550
551 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
552
553 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
554 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
555 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
556 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
557 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
558 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
559 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
560 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
563 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
565 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
566 fcntl_common and add check for F_GETOWN.
567 (__libc_fcntl): Use SYSCALL_CANCEL macro.
568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
569 use default implementation.
570
571 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
572
573 * elf/dl-tunables.h (tunable_is_name): Move from...
574 * elf/dl-tunables.c (is_name): ... here.
575 (parse_tunables, __tunables_init): Adjust.
576 * manual/tunables.texi: Document glibc.tune.cpu.
577 * sysdeps/aarch64/dl-tunables.list: New file.
578 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
579 cpu_list): New type.
580 (cpu_list): New list of CPU names and their MIDR.
581 (get_midr_from_mcpu): New function.
582 (init_cpu_features): Override MIDR if necessary.
583
584 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
585 (__libc_ifunc_impl_list): Unconditionally select thunderx
586 routine for testing.
587
588 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
589
590 [BZ #21120]
591 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
592 * sysdeps/generic/malloc-alignment.h: Here. New file.
593 * sysdeps/i386/malloc-alignment.h: Likewise.
594 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
595
596 2017-06-30 Florian Weimer <fweimer@redhat.com>
597
598 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
599 variable.
600 (test_file_contents): Use it.
601
602 2017-06-30 Florian Weimer <fweimer@redhat.com>
603
604 * resolv/res_init.c (res_setoptions): Remove source argument.
605 (res_vinit_1): Adjust.
606
607 2017-06-30 Florian Weimer <fweimer@redhat.com>
608
609 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
610
611 2017-06-30 Florian Weimer <fweimer@redhat.com>
612
613 * resolv/res_data.c: Reformat to GNU style.
614 (res_close): Update comments.
615
616 2017-06-30 Florian Weimer <fweimer@redhat.com>
617
618 * resolv/res_data.c (res_query, res_search, res_querydomain)
619 (hostalias): Move to ...
620 * resolv/res_Send.c (res_query, res_search, res_querydomain)
621 (hostalias): here.
622
623 2017-06-30 Florian Weimer <fweimer@redhat.com>
624
625 * resolv/res_data.c (res_isourserver, res_send): Move to ...
626 * resolv/res_send.c (res_isourserver, res_send): here.
627
628 2017-06-30 Florian Weimer <fweimer@redhat.com>
629
630 * resolv/res_debug.c (_res_opcodes): Rename ...
631 (res_opcodes): ... as compatibility symbol.
632 (fp_nquery): Use res_opcodes.
633 * include/resolv.h (_res_opcodes): Remove declaration.
634
635 2017-06-30 Florian Weimer <fweimer@redhat.com>
636
637 * include/resolv.h (res_pquery): Remove declaration.
638 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
639 functions.
640 (_res_opcodes): Remove variable.
641 * resolv/res_debug.c (do_section): Receive pfcode instead of
642 statp.
643 (res_pquery): Rename ...
644 (fp_nquery): to this function. Skip unnecessary _res
645 initialization.
646 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
647
648 2017-06-30 Florian Weimer <fweimer@redhat.com>
649
650 * resolv/res_debug.h: Remove file.
651 * resolv/README: Adjust.
652
653 2017-06-30 Florian Weimer <fweimer@redhat.com>
654
655 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
656 conditionals.
657 (Aerror, Perror): Remove function definitions.
658
659 2017-06-30 Florian Weimer <fweimer@redhat.com>
660
661 * resolv/res_data.c (res_mkquery): Move ...
662 * resolv/res_mkquery.c (res_mkquery): to here.
663
664 2017-06-30 Florian Weimer <fweimer@redhat.com>
665
666 * resolv/res_mkquery.c: Reformat to GNU style.
667 (T_OPT): Remove definition. It is present in the header file.
668
669 2017-06-30 Florian Weimer <fweimer@redhat.com>
670
671 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
672 conditionals.
673
674 2017-06-30 Florian Weimer <fweimer@redhat.com>
675
676 * support/support_capture_subprocess_check.c
677 (support_capture_subprocess_check): Report actual exit status.
678
679 2017-06-30 Florian Weimer <fweimer@redhat.com>
680
681 [BZ #19570]
682 * resolv/res_send.c (nameserver_offset): New function.
683 (__libc_res_nsend): Use it to implement RES_ROTATE.
684 (get_nsaddr): Add assert with name server
685 range check.
686 * resolv/Makefile (xtests): Add tst-resolv-rotate.
687 (tst-resolv-rotate): Link against libpthread.
688 * resolv/tst-resolv-rotate.c: New file.
689
690 2017-06-29 Joseph Myers <joseph@codesourcery.com>
691
692 [BZ #21457]
693 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
694 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
695 [__WORDSIZE == 64] (MC_PC): Likewise.
696 [__WORDSIZE == 64] (MC_NPC): Likewise.
697 [__WORDSIZE == 64] (MC_Y): Likewise.
698 [__WORDSIZE == 64] (MC_G1): Likewise.
699 [__WORDSIZE == 64] (MC_G2): Likewise.
700 [__WORDSIZE == 64] (MC_G3): Likewise.
701 [__WORDSIZE == 64] (MC_G4): Likewise.
702 [__WORDSIZE == 64] (MC_G5): Likewise.
703 [__WORDSIZE == 64] (MC_G6): Likewise.
704 [__WORDSIZE == 64] (MC_G7): Likewise.
705 [__WORDSIZE == 64] (MC_O0): Likewise.
706 [__WORDSIZE == 64] (MC_O1): Likewise.
707 [__WORDSIZE == 64] (MC_O2): Likewise.
708 [__WORDSIZE == 64] (MC_O3): Likewise.
709 [__WORDSIZE == 64] (MC_O4): Likewise.
710 [__WORDSIZE == 64] (MC_O5): Likewise.
711 [__WORDSIZE == 64] (MC_O6): Likewise.
712 [__WORDSIZE == 64] (MC_O7): Likewise.
713 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
714 __MC_NGREG if [__USE_MISC].
715 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
716 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
717 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
718 Define fields using __ctx.
719 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
720 using __ctx.
721 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
722 (REG_PSR): Define only for [__USE_MISC].
723 (REG_PC): Likewise.
724 (REG_nPC): Likewise.
725 (REG_Y): Likewise.
726 (REG_G1): Likewise.
727 (REG_G2): Likewise.
728 (REG_G3): Likewise.
729 (REG_G4): Likewise.
730 (REG_G5): Likewise.
731 (REG_G6): Likewise.
732 (REG_G7): Likewise.
733 (REG_O0): Likewise.
734 (REG_O1): Likewise.
735 (REG_O2): Likewise.
736 (REG_O3): Likewise.
737 (REG_O4): Likewise.
738 (REG_O5): Likewise.
739 (REG_O6): Likewise.
740 (REG_O7): Likewise.
741 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
742 [__WORDSIZE == 64] (REG_FPRS): Likewise.
743 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
744 (gregset_t): Define using __NGREG.
745 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
746 __SPARC_MAXREGWINDOW if [__USE_MISC].
747 (struct rwindow): Rename to struct __rwindow. Define fields using
748 __ctx.
749 (rw_fp): Define only for [__USE_MISC].
750 (rw_rtn): Likewise.
751 (gwindows_t): Remove struct tag. Define fields using __ctx and
752 __SPARC_MAXREGWINDOW.
753 (MAXFPQ): Define only for [__USE_MISC].
754 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
755 (struct fq): Rename to struct __fq. Define fields using __ctx.
756 (FPU_REGS_TYPE): Define only for [__USE_MISC].
757 (FPU_DREGS_TYPE): Likewise.
758 (V7_FPU_FSR_TYPE): Likewise.
759 (V9_FPU_FSR_TYPE): Likewise.
760 (V9_FPU_FPRS_TYPE): Likewise.
761 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
762 using __ctx.
763 [__WORDSIZE != 64] (fpregset_t): Likewise.
764 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
765 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
766 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
767 Rename field filler to __glibc_reserved1.
768 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
769 (MC_FILLER): Remove.
770
771 2017-06-29 Florian Weimer <fweimer@redhat.com>
772
773 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
774 Adjust format string.
775 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
776 dependency.
777
778 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
779
780 * sysdeps/posix/spawni.c (__spawni_child): New function.
781 (__spawni): Rename to __spawnix.
782
783 2017-06-29 Florian Weimer <fweimer@redhat.com>
784
785 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
786 Use it to make the temporary copy at the start of the work buffer.
787 (process_arg): Adjust call to group_number.
788
789 2017-06-29 Florian Weimer <fweimer@redhat.com>
790
791 * stdio-common/vfprintf.c (printf_positional): Use struct
792 scratch_buffer to allocate backing storage for the args_value,
793 args_size, args_type arrays.
794
795 2017-06-29 Florian Weimer <fweimer@redhat.com>
796
797 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
798 scratch_buffer.
799
800 2017-06-29 Florian Weimer <fweimer@redhat.com>
801
802 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
803 wchar_t builds.
804
805 2017-06-29 Florian Weimer <fweimer@redhat.com>
806
807 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
808 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
809
810 2017-06-29 Florian Weimer <fweimer@redhat.com>
811
812 * stdio-common/tst-vfprintf-user-type.c: New file.
813 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
814
815 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
816
817 * posix/tst-spawn2.c (do_test): Use libsupport.
818 * posix/tst-spawn3.c (do_test): Likewise.
819
820 2017-06-28 Joseph Myers <joseph@codesourcery.com>
821
822 * math/gen-tgmath-tests.py (Tests.__init__): Define
823 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
824
825 * math/tgmath.h: Include <bits/libc-header-start.h> and
826 <bits/floatn.h>.
827 (__TGMATH_F128): New macro.
828 (__TGMATH_CF128): Likewise.
829 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
830 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
831 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
832 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
833 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
834 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
835 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
836 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
837 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
838 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
839 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
840 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
841 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
842 (__TGMATH_BINARY_REAL_IMAG): Likewise.
843 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
844 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
845 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
846 _FloatNx types if the corresponding HUGE_VAL macros are defined.
847
848 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
849 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
850 complex arguments.
851
852 [BZ #21687]
853 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
854 (totalorder): Use it.
855 (totalordermag): Likewise.
856 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
857 totalorder and totalordermag.
858 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
859 totalordermag in arguments of calls to those functions.
860 (NCALLS): Change to 134.
861
862 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
863 cast to return type argument.
864 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
865 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
866 (llrint): Likewise.
867 (lround): Likewise.
868 (llround): Likewise.
869 (ilogb): Likewise.
870 (llogb): Likewise.
871 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
872 (ufromfp): Likewise.
873 (fromfpx): Likewise.
874 (ufromfpx): Likewise.
875
876 [BZ #21607]
877 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
878 [LDBL_MANT_DIG > DBL_MANT_DIG].
879 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
880 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
881 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
882 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
883 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
884 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
885 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
886 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
887 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
888 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
889 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
890 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
891 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
892 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
893 * math/test-tgmath.c: Include <float.h>.
894 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
895 DBL_MANT_DIG].
896 * math/test-tgmath2.c: Include <float.h>.
897 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
898 DBL_MANT_DIG].
899
900 * math/gen-tgmath-tests.py: New file.
901 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
902 [PYTHON] (generated): Add test-tgmath3.c.
903 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
904 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
905
906 * configure.ac (AS): Require binutils 2.25 or later.
907 (LD): Likewise.
908 * configure: Regenerated.
909 * sysdeps/s390/configure.ac (AS): Remove version check.
910 * sysdeps/s390/configure: Regenerated.
911 * sysdeps/x86_64/configure.ac (AS): Remove version check.
912 * sysdeps/x86_64/configure: Regenerated.
913 * manual/install.texi (Tools for Compilation): Document
914 requirement for binutils 2.25 or later.
915 * INSTALL: Regenerated.
916
917 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
918
919 [BZ #14995]
920 * configure.ac: Allow gold 1.14 or above to configire glibc
921 * configure: Regenerated.
922
923 2017-06-28 Joseph Myers <joseph@codesourcery.com>
924
925 [BZ #21457]
926 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
927 struct tag.
928 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
929 Likewise.
930 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
931 Likewise.
932 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
933 Declare struct type with __ctx.
934 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
935 tag.
936 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
937 and regs field name.
938
939 2017-06-27 Joseph Myers <joseph@codesourcery.com>
940
941 * elf/loadtest.c (OUT): Define using do { } while (0).
942
943 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
944 (DO_NUMBER_SPACEPAD): Likewise.
945
946 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
947
948 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
949 sysdep_routines.
950 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
951 __memchr_neon.
952 Add ifunc definitions for __memchr_neon and __memchr_noneon.
953 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
954 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
955 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
956
957 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
958
959 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
960 Use vector and cu21 instruction.
961 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
962 Add __to_utf8_loop_vx_cu in ifunc resolver.
963
964 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
965
966 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
967 Use vector and cu24 instruction.
968
969 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
970
971 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
972 Use vector and cu42 instruction.
973 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
974 Add __to_utf16_loop_vx_cu in ifunc resolver.
975
976 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
977
978 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
979 Use vector and cu41 instruction.
980 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
981 in ifunc resolver.
982
983 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
984
985 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
986 Add vxd, vxe, gs flag.
987 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
988 HWCAP_S390_GS capability.
989 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
990 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
991
992 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
993
994 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
995 the first 32 bytes before checking size when size >= 32 bytes.
996 Replace vpmovmskb/subl/jnz with vptest/jnc.
997
998 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
999
1000 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1001 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1002
1003 2017-06-27 Florian Weimer <fweimer@redhat.com>
1004
1005 Work around test timeouts with ICMP rate limiting on localhost.
1006 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1007 function.
1008 (do_test): Call it.
1009
1010 2017-06-27 Florian Weimer <fweimer@redhat.com>
1011
1012 Call _res_hconf_init from __res_vinit.
1013 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1014 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1015 (NEED__RES): Define.
1016 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1017 (NEED__RES): Define.
1018 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1019 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1020 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1021 (NEED__RES): Define.
1022 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1023 _res_hconf_init.
1024 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1025 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1027 _res_hconf_init.
1028
1029 2017-06-26 Joseph Myers <joseph@codesourcery.com>
1030
1031 * sysdeps/ia64/Implies: Add ieee754/float128.
1032 * sysdeps/ia64/bits/floatn.h: New file.
1033 * sysdeps/ia64/float128-abi.h: Likewise.
1034 * manual/math.texi (Mathematics): Document support for _Float128
1035 on ia64.
1036 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1037 Makefile variable.
1038 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1039 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1040 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1041 * sysdeps/ia64/math-tests.h: New file.
1042 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1043 based on TEST_COND_binary128 for [__ia64__].
1044 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1046
1047 [BZ #21457]
1048 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1049 ucontext_t.
1050 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1051 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1052 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1053 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1054 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1055 ucontext): Likewise.
1056 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1057 Likewise.
1058 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1059 Likewise.
1060 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1061 Likewise.
1062 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1063 Likewise.
1064 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1065 Likewise.
1066 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1067 Likewise.
1068 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1069 Likewise.
1070 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1071 ucontext): Likewise.
1072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1073 Likewise.
1074 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1075 Likewise.
1076 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1077 Likewise.
1078 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1079 Likewise.
1080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1081 Likewise.
1082 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1083 rt_signal_frame_32): Likewise.
1084 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1085 Likewise.
1086 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1087 kernel_rt_sigframe): Likewise.
1088 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1089 Likewise.
1090 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1091 Likewise.
1092 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1093 Likewise.
1094 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1095 (__profil_counter): Likewise.
1096 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1097 (SIGCONTEXT): Likewise.
1098 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1099 kernel_rt_sigframe): Likewise.
1100 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1101 kernel_rt_sigframe): Likewise.
1102 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1103 Likewise.
1104 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1105 Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1107 (__start_context): Likewise.
1108 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1109 Likewise.
1110 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1111 Likewise.
1112 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1113 Likewise.
1114
1115 * sysdeps/i386/Implies: Add ieee754/float128.
1116 * sysdeps/x86_64/Implies: Likewise.
1117 * sysdeps/x86/bits/floatn.h: New file.
1118 * sysdeps/x86/float128-abi.h: Likewise.
1119 * manual/math.texi (Mathematics): Document support for _Float128
1120 on x86_64 and x86.
1121 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1122 (math_opt_barrier): Do not put _Float128 values in floating-point
1123 registers.
1124 (math_force_eval): Likewise.
1125 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1126 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1127 to Makefile variable.
1128 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1129 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1130 * sysdeps/x86/math-tests.h: New file.
1131 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1132 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1133 XFAIL_FLOAT128_PAYLOAD.
1134 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1135 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1136 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1137 Likewise.
1138 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1139 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1144 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1145 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1147
1148 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1149
1150 [BZ #21512]
1151 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1152 syscall instead of jump to _exit.
1153 (CLONE_VM_BIT): Remove unused define.
1154 (CLONE_VM): Likewise.
1155 (CLONE_THREAD_BIT): Likewise.
1156 (CLONE_THREAD): Likewise.
1157 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1158 (CLONE_VM): Remove unused define.
1159 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1160 (CLONE_VM): Remove unused define.
1161 (CLONE_THREAD): Likewise.
1162 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1163 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1164 syscall instead of jump to _exit.
1165 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1166 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1167 (CLONE_VM): Remove unused define.
1168 (CLONE_THREAD): Likewise.
1169 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1170 (CLONE_VM): Remove unused define.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1172 Likewise.
1173 (CLONE_VM): Remove unused define.
1174 (CLONE_THREAD): Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1176 Likewise.
1177 (CLONE_VM): Remove unused define.
1178 (CLONE_THREAD): Likewise.
1179 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1181 (CLONE_VM): Remove unused define.
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1183 (CLONE_VM): Remove unused define.
1184 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1185 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1186 (CLONE_VM): Remove unused define.
1187 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1188 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1189
1190 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1191 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1192
1193 * manual/math.texi (Mathematics): Mention the enabling of float128
1194 for powerpc64le.
1195 * sysdeps/powerpc/bits/floatn.h: New file.
1196 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1197 * sysdeps/powerpc/fpu/math_private.h:
1198 (__ieee754_sqrtf128): New inline override.
1199 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1200 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1201 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1202 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1203 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1205 Updated.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1207 Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1209 New file.
1210
1211 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1212
1213 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1214 * sysdeps/powerpc/powerpc64le/configure: Update.
1215
1216 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1217 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1218
1219 * INSTALL: Regenerate.
1220 * manual/install.texi (Recommended Tools for Compilation): Mention
1221 the powerpc64le-specific requirement in the manual.
1222 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1223 for the compiler features required for building float128.
1224 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1225
1226 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1227
1228 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1229 before comparing with another char.
1230
1231 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1232
1233 * manual/math.texi: Fix a grammatical error.
1234
1235 2017-06-24 Florian Weimer <fweimer@redhat.com>
1236
1237 [BZ #21295]
1238 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1239
1240 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1241
1242 [BZ #21295]
1243 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1244 Append addresses at the end of the list.
1245
1246 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 [BZ #21666]
1249 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1250 (loc2): Likewise.
1251 (locs): Likewise.
1252
1253 2017-06-23 Florian Weimer <fweimer@redhat.com>
1254
1255 [BZ #16637]
1256 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1257 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1258 digits between colons.
1259 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1260
1261 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1262 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1263
1264 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1265 (__sched_get_prioriry_min): Likewise.
1266 * include/sys/mman.h (__mmap): Likewise.
1267 (__mmap64): Likewise.
1268 (__munmap): Likewise.
1269 (__mprotect): Likewise.
1270 * include/termios.h (__tcsetattr): Likewise.
1271 * include/time.h (__nanosleep): Use hidden_proto instead of
1272 libc_hidden_proto.
1273 * posix/nanosleep.c (__nanosleep): Likewise.
1274 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1275 __sched_get_priority_min, and __sched_get_priority_max under
1276 GLIBC_PRIVATE.
1277 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1278 libc symbols.
1279 (change_stack_perm): Likewise.
1280 (change_stack_perm): Likewise.
1281 (allocate_stack): Likewise.
1282 * sysdeps/posix/gethostname.c: Likewise.
1283 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1284 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1286 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1287 (__pthread_key_delete): Likewise.
1288 (__pthread_detach): Likewise.
1289 (__pthread_cancel): Likewise.
1290 (__pthread_mutex_trylock): Likewise.
1291 (__pthread_mutexattr_init): Likewise.
1292 (__pthread_mutexattr_settype): Likewise.
1293 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1294 create alias for exported one.
1295 * nptl/pthread_join.c (pthread_join): Likewise.
1296 * nptl/pthread_detach.c (pthread_detach): Likewise.
1297 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1298 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1299 * nptl/pthread_create.c: Change static requirements for pthread
1300 symbols.
1301 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1302 for internal definition.
1303 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1304 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1305 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1306 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1307 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1308 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1309 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1310 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1311 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1312 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1313 Likewise.
1314 * nptl/pthread_self.c (__pthread_self): Likewise.
1315 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1316 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1317 * misc/mmap.c (__mmap): Add internal symbol definition.
1318 * misc/mmap.c (__mmap64): Likewise.
1319 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1320 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1321 (__mmap64): Likewise.
1322 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1323 Add __uname.
1324
1325 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1326
1327 * sysdeps/i386/fpu/libm-test-ulps: Update.
1328 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1329
1330 * libm-test-support.c (check_float_internal): Clear exceptions at
1331 end of function.
1332 (check_int): Likewise.
1333 (check_long): Likewise.
1334 (check_bool): Likewise.
1335 (check_longlong): Likewise.
1336 (check_intmax_t): Likewise.
1337 (check_uintmax_t): Likewise.
1338
1339 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1340 Do not declare.
1341 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1342 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1343 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1344
1345 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1348 Replace movzbl and orl with movb.
1349
1350 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1351
1352 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1353 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1354 and HUGE_VAL_FNx.
1355 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1356 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1357 are in math.h, to avoid having to list the _FloatN and _FloatNx
1358 variants as well. Likewise for the cabs functions.
1359 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1360 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1361 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1362 come from TS 18661-3, since this section explicitly states that
1363 these functions come from BSD.
1364 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1365 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1366 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1367 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1368 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1369 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1370 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1371 remainderfNx.
1372 (Setting and modifying single bits of FP values): Document
1373 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1374 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1375 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1376 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1377 (Floating-Point Comparison Functions): Document totalorderfN,
1378 totalorderfNx, totalordermagfN, totalordermagfNx.
1379 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1380 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1381 fdimfN, fdimfNx, fmafN, fmafNx.
1382 (Complex Numbers): Document the complex types: _FloatN complex and
1383 _FloatNx complex.
1384 (rojections, Conjugates, and Decomposing of Complex Numbers):
1385 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1386 cargfN, cargfNx, cprojfN, cprojfNx.
1387 * manual/math.texi (Mathematics): Mention that the _FloatN and
1388 _FloatNx variants of the math functions come from TS 18661-3,
1389 unless otherwise stated.
1390 (Predefined Mathematical Constants): Document the _FloatN and
1391 _FloatNx variants of the macros prefixed with M_.
1392 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1393 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1394 ccosfNx, ctanfN, ctanfNx.
1395 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1396 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1397 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1398 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1399 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1400 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1401 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1402 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1403 cpowfNx.
1404 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1405 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1406 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1407 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1408 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1409 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1410 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1411 ynfN, ynfNx.
1412
1413 2017-06-23 Florian Weimer <fweimer@redhat.com>
1414
1415 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1416
1417 2017-06-23 Florian Weimer <fweimer@redhat.com>
1418
1419 * resolv/res_libc.c: Reformat to GNU style.
1420
1421 2017-06-23 Florian Weimer <fweimer@redhat.com>
1422
1423 * resolv/resolv-internal.h (__res_initstamp): Declare.
1424 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1425 It is implied by the declaration.
1426 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1427
1428 2017-06-23 Florian Weimer <fweimer@redhat.com>
1429
1430 [BZ #21662]
1431 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1432 Use only 24 bits of the register before the subtraction.
1433 * string/test-memcmp.c (check1): Check with different lengths.
1434
1435 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1436
1437 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1438 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1439
1440 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1441
1442 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1443 Enable generation of float128 entries on the error table.
1444
1445 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1446
1447 * include/float.h: Include libc-header-start.h to get the
1448 definition of __GLIBC_USE.
1449
1450 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1451
1452 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1453 rearranged code and doubles float types.
1454
1455 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1456
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1458 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1459
1460 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1461
1462 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1463 to errno, and simplify remaining related code.
1464
1465 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1468 PPC_FEATURE2_SCV.
1469 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1470 and darn.
1471
1472 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1473
1474 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1475 the implementation-specific function name and remove unneeded macros
1476 definition.
1477 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1478 function name if not defined and pass as parameter to macros
1479 accordingly.
1480
1481 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1482
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1484 (libm-sysdep_routines): Add s_llroundf-ppc64.
1485 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1486 (__llroundf): Define as strong alias of __llround.
1487 (llroundf): Define as weak alias of __llround.
1488 (__lroundf): Define as strong alias of __llround.
1489 (lroundf): Define as weak alias of __llround.
1490 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1491 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1495 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1497
1498 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1499
1500 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1501 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1502
1503 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1504 (MATH_TESTS_TG): New macro.
1505 (SNAN_TESTS_float128): Likewise.
1506 (ROUNDING_TESTS_float128): Likewise.
1507 (EXCEPTION_TESTS_float128): Likewise.
1508 (SNAN_TESTS): Define using MATH_TESTS_TG.
1509 (ROUNDING_TESTS): Likewise.
1510 (EXCEPTION_TESTS): Likewise.
1511
1512 * sysdeps/ieee754/float128/float128_private.h
1513 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1514 pass it to SET_RESTORE_ROUNDF128.
1515
1516 * sysdeps/ieee754/float128/float128_private.h: Include
1517 <ieee754.h>.
1518
1519 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1520 typeof to argument passed to __builtin_types_compatible_p.
1521 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1522
1523 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1524 <errno.h>.
1525 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1526 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1527 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1528 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1529 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1530 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1531 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1532 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1533 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1534 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1535 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1536 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1537 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1538 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1539 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1540 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1541 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1542 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1543 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1544 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1545 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1546 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1547
1548 * sysdeps/ieee754/float128/strtof128_l.c: Include
1549 <bits/types/locale_t.h> instead of <xlocale.h>.
1550 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1551 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1552
1553 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1554
1555 * benchtests/scripts/benchout_strings.schema.json: New file.
1556 * benchtests/scripts/compare_strings.py: New file.
1557
1558 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1559 (do_one_test): Print json.
1560 (do_test): Likewise.
1561 (test_main): Likewise.
1562 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1563 (do_one_test): Print json.
1564 (do_test): Likewise.
1565 (test_main): Likewise.
1566 * benchtests/bench-memcpy.c: Include json-lib.h.
1567 (do_one_test): Print json.
1568 (do_test): Likewise.
1569 (test_main): Likewise.
1570
1571 * benchtests/json-lib.h: Include inttypes.h.
1572 (json_attr_int, json_attr_int, json_element_string,
1573 json_element_int, json_element_uint): New functions.
1574 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1575 json_element_string, json_element_int, json_element_uint): New
1576 functions.
1577
1578 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1579
1580 * manual/arith.texi (Remainder Functions): Describe remainder as
1581 primary and drem as an alternative name. Change the comment on
1582 remainder to ISO, since it is defined in ISO C99.
1583
1584 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1585
1586 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1587 macro expansion.
1588 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1589
1590 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1591
1592 [BZ #21533]
1593 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1594 201706L for Unicode 10.0.
1595
1596 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1597
1598 [BZ #21657]
1599 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1600 on node-local addresses.
1601 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1602
1603 2017-06-21 Florian Weimer <fweimer@redhat.com>
1604
1605 * intl/loadmsgcat.c: Remove alloca support.
1606 (_nl_load_domain): Use calloc instead of alloca.
1607
1608 2017-04-21 Florian Weimer <fweimer@redhat.com>
1609
1610 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1611 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1612 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1613 alloc_buffer_create_failure.
1614 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1615 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1616 (__libc_alloc_buffer_copy_string)
1617 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1618 * malloc/alloc_buffer_alloc_array.c: New file.
1619 * malloc/alloc_buffer_allocate.c: Likewise.
1620 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1621 * malloc/alloc_buffer_copy_string.c: Likewise.
1622 * malloc/alloc_buffer_create_failure.c: Likewise.
1623 * malloc/tst-alloc_buffer.c: Likewise.
1624
1625 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1628 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1629 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1630 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1631 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1632 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1633 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1634 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1635 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1636 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1637 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1638 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1639 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1640 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1641 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1642 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1643 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1644 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1645 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1646 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1647 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1648 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1649 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1650 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1651 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1653 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1654 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1655 "locale-defines.h".
1656 (UPDATE_STRNCMP_COUNTER): New.
1657 (SECTION): Likewise.
1658 (GLABEL): Likewise.
1659 (LABEL): Likewise.
1660 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1661 for libc.a.
1662
1663 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #21622]
1666 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1667 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1668 __USE_MISC].
1669 (SA_NODEFER): Likewise.
1670 (SA_RESETHAND): Likewise.
1671
1672 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1675 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1676 Remove security_level on all fields.
1677 * manual/tunables.texi: Replace ifunc with hwcaps.
1678 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1679 Renamed to ..
1680 (TUNABLE_CALLBACK (set_hwcaps)): This.
1681 (init_cpu_features): Updated.
1682 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1683 data_cache_size, data_cache_size and non_temporal_threshold to
1684 unsigned long int.
1685 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1686 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1687 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1688 use DEFAULT_STRLEN.
1689
1690 2017-06-21 Florian Weimer <fweimer@redhat.com>
1691
1692 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1693 asprintf to construct an absolute pathname.
1694
1695 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1696
1697 * misc/tst-preadvwritev2-common.c: New file.
1698 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1699 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1700
1701 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1702
1703 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1704 annotation.
1705 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1706
1707 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1708
1709 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1710 hidden __GI__dl_argv symbol.
1711
1712 2017-06-21 Florian Weimer <fweimer@redhat.com>
1713
1714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1715 to parse addresses with IPv6 scope IDs.
1716
1717 2017-06-21 Florian Weimer <fweimer@redhat.com>
1718
1719 Add the __inet_pton_length helper function.
1720 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1721 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1722 Add length argument.
1723 (__inet_pton): New function.
1724 (inet_pton4): Add length argument.
1725 (hex_digit_value): New function.
1726 (inet_pton6): Add length argument. Call hex_digit_value. Use
1727 memmove and memset to fill :: gap.
1728 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1729 tst-inet_pton.
1730 * resolv/tst-inet_pton.c: New file.
1731 * support/Makefile (libsupport-routines): Add xmprotect.
1732 * support/xunistd.h (xmprotect): Declare.
1733 * support/xmprotect.c: New file.
1734
1735 2017-06-21 Florian Weimer <fweimer@redhat.com>
1736
1737 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1738 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1739 (call_gai, check_ai): New functions.
1740 (expect_failure, expect_success): Use them. Add logging.
1741
1742 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1743
1744 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1745 (sysdep_routines): Add memchr_power8.
1746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1747 (memchr): Add __memchr_power8 to list of memchr functions.
1748 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1750 (memchr): Add __memchr_power8 to ifunc list.
1751 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1752
1753 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1756 (__llrintf): Define as strong alias of __llrint.
1757 (llrintf): Define as weak alias of __llrint.
1758 (__lrintf): Define as strong alias of __llrint.
1759 (lrintf): Define as weak alias of __llrint.
1760 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1762 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1764
1765 2017-06-20 Zack Weinberg <zackw@panix.com>
1766
1767 * bits/signum-generic.h: Renamed from bits/signum.h.
1768 Add proper multiple include guard and misuse check.
1769 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1770 Move definition of SIGIO to "archaic names for compatibility" section.
1771 * bits/signum.h: New file which just includes bits/signum-generic.h.
1772 * sysdeps/unix/bsd/bits/signum.h
1773 * sysdeps/unix/sysv/linux/bits/signum.h
1774 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1775 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1776 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1777 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1778 Just include <bits/signum-generic.h> and then add or adjust
1779 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1780
1781 * signal/Makefile: Install bits/signum-generic.h.
1782 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1783
1784 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1785 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1786
1787 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1788 * sysdeps/unix/sysv/linux/Makefile: Run it.
1789
1790 2017-06-20 Zack Weinberg <zackw@panix.com>
1791
1792 * locale/xlocale.h: Rename to...
1793 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1794 Only define struct __locale_struct and __locale_t, not locale_t.
1795 * locale/bits/types/locale_t.h: New file; define locale_t here.
1796 * locale/Makefile (headers): Update to match.
1797
1798 * include/xlocale.h: Delete wrapper.
1799 * include/bits/types/__locale_t.h: New wrapper.
1800 * include/bits/types/locale_t.h: New wrapper.
1801
1802 * ctype/ctype.h, include/printf.h, include/time.h
1803 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1804 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1805 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1806 Correct outdated comments regarding the standardization status of
1807 the functions that take locale_t arguments.
1808
1809 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1810 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1811 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1812 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1813 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1814 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1815 Don't include xlocale.h. If necessary, include locale.h instead.
1816
1817 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1818
1819 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1820 * include/monetary.h, include/stdlib.h, include/time.h
1821 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1822 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1823 * locale/localeinfo.h, locale/newlocale.c
1824 * locale/nl_langinfo_l.c, locale/uselocale.c
1825 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1826 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1827 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1828 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1829 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1830 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1831 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1832 * sysdeps/ieee754/float128/strtof128_l.c
1833 * sysdeps/ieee754/float128/wcstof128.c
1834 * sysdeps/ieee754/float128/wcstof128_l.c
1835 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1836 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1838 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1839 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1840 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1841 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1842 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1843 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1844 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1845 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1846 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1847 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1848 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1849 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1850 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1851 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1852 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1853 Change all uses of __locale_t to locale_t.
1854
1855 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1856
1857 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1858 for !__OFF_T_MATCHES_OFF64_T.
1859 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1860 implementation based on open64.
1861 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1862 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1863
1864 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * elf/dl-tunables.list: Move x86 specific tunables to ...
1867 * sysdeps/x86/dl-tunables.list: Here. New file.
1868
1869 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1870
1871 [BZ #21635]
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1873 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1874 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1875 powerpc32-linux.
1876 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1877
1878 [BZ #21634]
1879 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1880 (conformtest-xfail-conds): New variable.
1881 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1882 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1883
1884 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1885
1886 * benchtests/powf-inputs: Add reduced trace from wrf.
1887
1888 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1889 Erich Elsen <eriche@google.com>
1890
1891 * elf/dl-tunables.list (tune): Add ifunc,
1892 x86_non_temporal_threshold,
1893 x86_data_cache_size and x86_shared_cache_size.
1894 * manual/tunables.texi: Document glibc.tune.ifunc,
1895 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1896 and glibc.tune.x86_non_temporal_threshold.
1897 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1898 * sysdeps/x86/cpu-tunables.c: Likewise.
1899 * sysdeps/x86/cacheinfo.c
1900 (init_cacheinfo): Check and get data cache size, shared cache
1901 size and non temporal threshold from cpu_features.
1902 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1903 New.
1904 [HAVE_TUNABLES] Include <unistd.h>.
1905 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1906 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1907 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1908 IFUNC selection, data cache size, shared cache size and non
1909 temporal threshold.
1910 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1911 shared_cache_size and non_temporal_threshold.
1912
1913 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1914
1915 * benchtests/README: Describe workload feature.
1916 * benchtests/bench-skeleton.c (main): Add support for
1917 benchmarking traces from workloads.
1918
1919 2017-06-20 Zack Weinberg <zackw@panix.com>
1920
1921 * string/string.h (__mempcpy_inline): Delete.
1922 * sysdeps/x86_64/multiarch/mempcpy.c
1923 * sysdeps/x86_64/multiarch/stpcpy.c:
1924 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1925 before including string.h.
1926
1927 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1928
1929 * benchtests/Makefile (bench-math): Add powf.
1930 * benchtests/powf-inputs: New file.
1931
1932 2017-06-20 Zack Weinberg <zackw@panix.com>
1933
1934 * bits/string.h, string/bits/string.h
1935 * sysdeps/aarch64/bits/string.h
1936 * sysdeps/m68k/m680x0/m68020/bits/string.h
1937 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1938 * sysdeps/x86/bits/string.h: Delete file.
1939
1940 * string/string.h: Don't include bits/string.h.
1941 * string/bits/string3.h: Rename to bits/string_fortified.h.
1942 No need to undef various symbols that the removed headers
1943 might have defined as macros.
1944 * string/Makefile (headers): Remove bits/string.h, change
1945 bits/string3.h to bits/string_fortified.h.
1946 * string/string-inlines.c: Update commentary. Remove definitions
1947 of various macros that nothing looks at anymore. Don't directly
1948 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1949 compiler-predefined macros.
1950 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1951 _is_ defined, provide internal hidden alias __strncat.
1952 * include/string.h: Declare internal hidden alias __strncat.
1953 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1954 not defined.
1955 * include/bits/string3.h: Rename to bits/string_fortified.h,
1956 update to match above.
1957
1958 * sysdeps/i386/string-inlines.c: Define compat symbols for
1959 everything formerly defined by sysdeps/x86/bits/string.h.
1960 Make existing definitions into compat symbols as well.
1961 Remove some no-longer-necessary messing around with macros.
1962
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1964 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1965 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1966 * sysdeps/s390/multiarch/mempcpy.c
1967 No need to define _HAVE_STRING_ARCH_mempcpy.
1968 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1969
1970 * sysdeps/i386/i686/multiarch/strncat-c.c
1971 * sysdeps/s390/multiarch/strncat-c.c
1972 * sysdeps/x86_64/multiarch/strncat-c.c
1973 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1974
1975 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1976
1977 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1978 (LDBL_DIG): Likewise.
1979 (LDBL_MIN_EXP): Likewise.
1980 (LDBL_MIN_10_EXP): Likewise.
1981 (LDBL_MAX_EXP): Likewise.
1982 (LDBL_MAX_10_EXP): Likewise.
1983 (LDBL_MAX): Likewise.
1984 (LDBL_MIN): Likewise.
1985 (LDBL_EPSILON): Likewise.
1986 (FLT_ROUNDS): Change standard from ISO to C90.
1987 (FLT_RADIX): Likewise.
1988 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1989 (FLT_DIG, DBL_DIG): Likewise.
1990 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1991 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1992 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1993 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1994 (FLT_MAX, DBL_MAX): Likewise.
1995 (FLT_MIN, DBL_MIN): Likewise.
1996 (FLT_EPSILON, DBL_EPSILON): Likewise.
1997
1998 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1999
2000 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2001 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2002 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2003 * sysdeps/mips/math-tests.h
2004 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2005 conditional code.
2006
2007 2017-06-19 Florian Weimer <fweimer@redhat.com>
2008
2009 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2010 It cannot change while __libc_setlocale_lock is acquired.
2011
2012 2017-06-19 Florian Weimer <fweimer@redhat.com>
2013
2014 * elf/rtld.c (audit_list_string): New variable.
2015 (audit_list): Update comment.
2016 (struct audit_list_iter): Define.
2017 (audit_list_iter_init, audit_list_iter_next): New function.
2018 (dl_main): Use struct audit_list_iter to process audit modules.
2019 (process_dl_audit): Call dso_name_valid_for_suid.
2020 (process_envvars): Set audit_list_string instead of calling
2021 process_dl_audit.
2022
2023 2017-06-19 Florian Weimer <fweimer@redhat.com>
2024
2025 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2026 (dso_name_valid_for_suid): New function.
2027 (handle_ld_preload): Likewise.
2028 (dl_main): Call it. Remove alloca.
2029
2030 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2031
2032 [BZ #21625]
2033 * posix/sys/wait.h (strust rusage forward declaration): Change
2034 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2035 !__USE_XOPEN2K].
2036 (wait3): Likewise.
2037
2038 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2039 * configure: Regenerated.
2040 * manual/install.texi (Tools for Compilation): Document
2041 requirement for GCC 4.9 or later.
2042 * INSTALL: Regenerated.
2043
2044 2017-06-19 Florian Weimer <fweimer@redhat.com>
2045
2046 [BZ #21624]
2047 CVE-2017-1000366
2048 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2049 __libc_enable_secure.
2050
2051 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2052
2053 [BZ #21539]
2054 * NEWS: Mention s390 ptrace request changes.
2055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2056 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2057 PTRACE_SETFPREGS): Remove enum constant.
2058 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2059 Remove defines.
2060 (PTRACE_SINGLEBLOCK): New enum constant.
2061 (PT_STEPBLOCK): New define.
2062 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2063 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2064 PTRACE_TE_ABORT_RAND): New enum constant and define.
2065 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2066 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2067 New file.
2068 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2069
2070 2017-06-16 Florian Weimer <fweimer@redhat.com>
2071
2072 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2073 configuration file.
2074 (__res_vinit): Adjust.
2075
2076 2017-06-19 Florian Weimer <fweimer@redhat.com>
2077
2078 * resolv/res_init.c (res_vinit_1): New function.
2079 (__res_vinit): Call it. Handle file open and memory allocation
2080 failures.
2081 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2082 erno from __res_maybe_init failure.
2083 (_nss_dns_gethostbyname4_r): Likewise.
2084 (_nss_dns_gethostbyaddr2_r): Likewise.
2085 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2086 (_nss_dns_getnetbyaddr_r): Likewise.
2087
2088 2017-06-19 Florian Weimer <fweimer@redhat.com>
2089
2090 * resolv/res_init.c: Reformat to GNU style.
2091
2092 2017-06-19 Florian Weimer <fweimer@redhat.com>
2093
2094 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2095 (is_sort_mask): New function.
2096 (__res_vinit): Use it.
2097
2098 2017-06-19 Florian Weimer <fweimer@redhat.com>
2099
2100 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2101 conditionals.
2102
2103 2017-06-19 Florian Weimer <fweimer@redhat.com>
2104
2105 * resolv/res-close.c: New file.
2106 * resolv/res_init.c (__res_iclose, res_nclose)
2107 (res_thread_freeres): Remove definitions.
2108 * resolv/Makefile (routines): Add res-close.
2109
2110 2017-06-19 Florian Weimer <fweimer@redhat.com>
2111
2112 * resolv/res_randomid.c: New file.
2113 * resolv/res_init.c (res_randomid): Remove definition.
2114 * resolv/Makefile (routines): Add res_randomid.
2115
2116 2017-06-19 Florian Weimer <fweimer@redhat.com>
2117
2118 * include/resolv.h (__res_vinit): Declare as hidden.
2119 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2120 * resolv/res_libc.c (res_init): Likewise.
2121
2122 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2123
2124 [BZ #21457]
2125 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2126 _libc_xmmreg): Use __ctx in defining field.
2127
2128 [BZ #21597]
2129 * signal/signal.h (siginterrupt): Make declaration conditional on
2130 [__USE_XOPEN_EXTENDED || __USE_MISC].
2131
2132 [BZ #21584]
2133 * signal/signal.h: Make includes of <bits/sigstack.h> and
2134 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2135 __USE_MISC].
2136 (sigaltstack): Make declaration conditional on
2137 [__USE_XOPEN_EXTENDED || __USE_MISC].
2138
2139 [BZ #21575]
2140 * resource/bits/types/struct_rusage.h: New file.
2141 * include/bits/types/struct_rusage.h: Likewise.
2142 * bits/resource.h (struct rusage): Include
2143 <bits/types/struct_rusage.h> instead of defining here.
2144 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2145 Likewise.
2146 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2147 Likewise.
2148 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2149 Likewise.
2150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2151 Likewise.
2152 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2153 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2154 Include <bits/types/struct_rusage.h>
2155
2156 2017-06-19 Florian Weimer <fweimer@redhat.com>
2157
2158 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2159
2160 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2161
2162 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2163
2164 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2165
2166 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2167
2168 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2169
2170 [BZ #21537]
2171 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2172 Check SHARED instead of PIC.
2173 (SYSCALL_PIC_SETUP): Add missing semicolons.
2174 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2175 Check SHARED instead of PIC.
2176 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2177 (__makecontext_ret): Adjust code to jump to exit.
2178
2179 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2180
2181 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2182 Simplify code by always using SVC 0 instead of EX.
2183 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2184
2185 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 * elf/Versions (ld): Remove _dl_out_of_memory.
2188
2189 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2190
2191 * timezone/private.h: Update from tzcode 2017b.
2192 * timezone/tzfile.h: Likewise.
2193 * timezone/tzselect.ksh: Likewise.
2194 * timezone/zdump.c: Likewise.
2195 * timezone/zic.c: Likewise.
2196 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2197 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2198 * time/tzset.c (SECSPERDAY): New macro.
2199
2200 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2201
2202 * manual/string.texi (strdup): Complete header and standards
2203 annotation.
2204 (strncpy): Likewise.
2205
2206 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2207
2208 * manual/arith.texi (FP_NAN): Add or complete header and standard
2209 annotations.
2210 (FP_INFINITE): Likewise.
2211 (FP_ZERO): Likewise.
2212 (FP_SUBNORMAL): Likewise.
2213 (FP_NORMAL): Likewise.
2214 (SNAN): Likewise.
2215 (SNANL): Likewise.
2216 (totalorderf): Likewise.
2217 (totalorderl): Likewise.
2218 (totalordermagf): Likewise.
2219 (totalordermagl): Likewise.
2220 (_Complex_I): Likewise.
2221 (I): Likewise.
2222
2223 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2224
2225 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2226 standard annotation.
2227 (ARGP_HELP_SHORT_USAGE): Likewise.
2228 (ARGP_HELP_SEE): Likewise.
2229 (ARGP_HELP_LONG): Likewise.
2230 (ARGP_HELP_PRE_DOC): Likewise.
2231 (ARGP_HELP_POST_DOC): Likewise.
2232 (ARGP_HELP_DOC): Likewise.
2233 (ARGP_HELP_BUG_ADDR): Likewise.
2234 (ARGP_HELP_LONG_ONLY): Likewise.
2235 (ARGP_HELP_EXIT_ERR): Likewise.
2236 (ARGP_HELP_EXIT_OK): Likewise.
2237 (ARGP_HELP_STD_ERR): Likewise.
2238 (ARGP_HELP_STD_USAGE): Likewise.
2239 (ARGP_HELP_STD_HELP): Likewise.
2240
2241 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2242
2243 * manual/Makefile: Generate summary.texi with summary.pl. Force
2244 use of the C locale. Update Perl dependency comment.
2245 * manual/header.texi: Update reference to summary.awk.
2246 * manual/macros.texi: Refer authors to `summary.pl --help'.
2247 * manual/summary.awk: Remove file.
2248 * manual/summary.pl: New file. Generate summary.texi, and check
2249 for @standards-related syntax errors.
2250 * manual/argp.texi: Convert header and standards @comments to
2251 @standards.
2252 * manual/arith.texi: Likewise.
2253 * manual/charset.texi: Likewise.
2254 * manual/conf.texi: Likewise.
2255 * manual/creature.texi: Likewise.
2256 * manual/crypt.texi: Likewise.
2257 * manual/ctype.texi: Likewise.
2258 * manual/debug.texi: Likewise.
2259 * manual/errno.texi: Likewise.
2260 * manual/filesys.texi: Likewise.
2261 * manual/getopt.texi: Likewise.
2262 * manual/job.texi: Likewise.
2263 * manual/lang.texi: Likewise.
2264 * manual/llio.texi: Likewise.
2265 * manual/locale.texi: Likewise.
2266 * manual/math.texi: Likewise.
2267 * manual/memory.texi: Likewise.
2268 * manual/message.texi: Likewise.
2269 * manual/pattern.texi: Likewise.
2270 * manual/pipe.texi: Likewise.
2271 * manual/process.texi: Likewise.
2272 * manual/resource.texi: Likewise.
2273 * manual/search.texi: Likewise.
2274 * manual/setjmp.texi: Likewise.
2275 * manual/signal.texi: Likewise.
2276 * manual/socket.texi: Likewise.
2277 * manual/startup.texi: Likewise.
2278 * manual/stdio.texi: Likewise.
2279 * manual/string.texi: Likewise.
2280 * manual/sysinfo.texi: Likewise.
2281 * manual/syslog.texi: Likewise.
2282 * manual/terminal.texi: Likewise.
2283 * manual/threads.texi: Likewise.
2284 * manual/time.texi: Likewise.
2285 * manual/users.texi: Likewise.
2286
2287 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2288
2289 * manual/macros.texi (@standards): New macro. Provide placeholder
2290 for header and standards annotations.
2291 (@standardsx): New macro. Likewise, for lists of @*x elements.
2292
2293 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2294
2295 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2297 rule.
2298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2299 sync_file_range.
2300
2301 * support/support_test_main.c (support_test_main): Use optstring
2302 member for option string in getopt_long.
2303 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2304 (CMDLINE_OPTSTRING): New define.
2305 * support/test-driver.h (test_config): Add optstring member.
2306
2307 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2310 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2311 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2312 Check USE_AS_STRPBRK instead of STRPBRK_P.
2313 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2314 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2315 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2316 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2317 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2318 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2319 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2320 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2321 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2322 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2323 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2324 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2325 and "#endif".
2326
2327 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2328
2329 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2330 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2331
2332 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2335 strcat-sse2.
2336 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2337 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2338 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2339 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2340 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2341
2342 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2343 Erich Elsen <eriche@google.com>
2344
2345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2346 memcmp-sse2.
2347 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2348 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2349 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2350 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2351 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2352 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2353
2354 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2355 Erich Elsen <eriche@google.com>
2356
2357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2358 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2360 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2361 Update comments.
2362 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2363 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2364 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2365 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2366 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2367 * sysdeps/x86_64/multiarch/memset.S: Removed.
2368 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2369 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2370 (__memset_chk_erms): New function.
2371
2372 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2373
2374 * configure.ac(--enable-tunables): Enable by default.
2375 * configure: Regenerate.
2376 * NEWS: Mention change.
2377 * manual/install.texi (enable-tunables): Adjust documentation.
2378 * INSTALL: Regenerate.
2379
2380 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2381
2382 [BZ #18988]
2383 * benchtests/thread_create-inputs: New file.
2384 * benchtests/thread_create-source.c: Likewise.
2385 * support/xpthread_attr_setguardsize.c: Likewise.
2386 * support/Makefile (libsupport-routines): Add
2387 xpthread_attr_setguardsize object.
2388 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2389 * benchtests/Makefile (bench-pthread): Add thread_create.
2390 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2391 then mprotect the required area.
2392 (guard_position): New function.
2393 (setup_stack_prot): Likewise.
2394
2395 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2396 Erich Elsen <eriche@google.com>
2397 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2398
2399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2400 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2401 mempcpy_chk-nonshared and memmove_chk-nonshared.
2402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2403 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2404 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2405 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2406 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2407 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2408 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2409 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2410 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2411 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2412 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2413 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2414 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2415 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2416 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2417 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2418 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2419 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2420 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2421 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2422 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2423 (__mempcpy_chk_erms): New function.
2424 (__memmove_chk_erms): Likewise.
2425 (__memcpy_chk_erms): New alias.
2426
2427 2017-06-14 Florian Weimer <fweimer@redhat.com>
2428
2429 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2430 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2431
2432 2017-06-14 Zack Weinberg <zackw@panix.com>
2433
2434 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2435 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2436 defined, don't declare anything other than the E-constants.
2437
2438 * include/errno.h: Change conditional for exposing internal
2439 declarations to (not _ISOMAC and not __ASSEMBLER__).
2440 * bits/errno.h: Remove logic for __need_Emath. Document
2441 requirements for a port-specific bits/errno.h.
2442
2443 * sysdeps/unix/sysv/linux/bits/errno.h
2444 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2445 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2446 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2448 Add multiple-include guard and check against improper inclusion.
2449 Remove __need_Emath logic. Don't declare errno here. Ensure all
2450 constants are defined as simple integer literals. Consistent
2451 formatting.
2452 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2453 enum __error_t_codes if __ASSEMBLER__ is not defined.
2454 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2455
2456 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2457 including errno.h.
2458 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2459 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2460 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2461 * sysdeps/x86_64/fpu/s_cosf.S
2462 * sysdeps/x86_64/fpu/s_sincosf.S
2463 * sysdeps/x86_64/fpu/s_sinf.S:
2464 Just include errno.h; don't define __need_Emath or include
2465 bits/errno.h directly.
2466
2467 2017-06-14 Zack Weinberg <zackw@panix.com>
2468
2469 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2470 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2471 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2472
2473 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2474 for IOV_MAX.
2475 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2476 Don't install bits/uio.h.
2477 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2478 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2479 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2480
2481 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2482 and __need_IOV_MAX. Don't define IOV_MAX at all.
2483 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2484
2485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2486 Include bits/types/struct_iovec.h, not bits/uio.h.
2487 Use __ssize_t, not ssize_t, in function prototypes.
2488 Don't use hard TAB for double space after period in comments.
2489
2490 2017-06-14 Alan Modra <amodra@gmail.com>
2491
2492 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2493 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2494 refsym and sym parameters. Adjust callers.
2495 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2496 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2497 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2498 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2499 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2500 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2501 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2502 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2503 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2504 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2505 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2506 Likewise.
2507 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2509 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2512 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2513 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2514 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2515 (_dl_reloc_overflow): Increase buffser size. Formatting.
2516 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2517 Delete reloc param, add refsym and sym. Check optimized plt
2518 call stubs for localentry:0 functions. Adjust callers.
2519 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2520 and sym parameters. Adjust callers.
2521 (_dl_reloc_overflow): Move attribute.
2522 (_dl_error_localentry): Declare.
2523 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2524 refsym and sym to elf_machine_fixup_plt.
2525 * elf/testobj6.c (preload): Call printf.
2526
2527 2017-06-14 Alan Modra <amodra@gmail.com>
2528
2529 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2530 (NOPS, ENTRY_3): New macros.
2531 (ENTRY): Rewrite.
2532 (ENTRY_TOCLESS): Define.
2533 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2534 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2535 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2536 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2540 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2545 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2546 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2547 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2548 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2549 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2550 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2552 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2553 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2554 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2555 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2556 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2557 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2558 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2559 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2560 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2561 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2562 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2563 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2564 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2565 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2567 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2568 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2569 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2570 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2573 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2574 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2577 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2578 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2579 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2580 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2581 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2582 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2583 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2584 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2585 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2586 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2587 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2588 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2589 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2593 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2594 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2596 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2597 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2600 Likewise.
2601 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2602 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2603 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2604 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2606 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2607 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2608 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2609 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2610 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2612 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2614 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2615 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2616 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2617 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2618 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2619 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2622 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2623 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2625 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2626 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2631 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2632 add nop when SHARED.
2633 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2634 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2635 define.
2636 (ENTRY_TOCLESS): Define.
2637 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2638 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2639 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2640
2641 2017-06-14 Alan Modra <amodra@gmail.com>
2642
2643 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2644 MEMSET_is_local.
2645 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2647 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2648 Define MEMSET.
2649 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2650 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2651 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2652 nop after local calls.
2653 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2654 Don't add nop after local call.
2655 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2656 CALL_MCOUNT.
2657
2658 2017-06-14 Alan Modra <amodra@gmail.com>
2659
2660 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2661 (FUNC_LABEL): Rename from DOT_LABEL.
2662 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2663 Use .p2align rather than .align.
2664 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2665 (ABORT_TRANSACTION): Likewise.
2666 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2667 particularly at end. Add semicolon at invocation as necessary.
2668 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2669 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2670 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2671 END): Adjust to suit.
2672
2673 2017-06-14 Alan Modra <amodra@gmail.com>
2674
2675 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2676 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2678 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2679 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2681 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2682
2683 2017-06-14 Alan Modra <amodra@gmail.com>
2684
2685 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2686 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2687
2688 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2689
2690 [BZ #21548]
2691 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2692 8 and use it when copying general purpose registers.
2693 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2694 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2695 mips o32.
2696 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2697 new test for mips o32.
2698 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2699 8 and use it when copying general purpose registers.
2700 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2701
2702 2017-06-13 Florian Weimer <fweimer@redhat.com>
2703
2704 * configure.ac (find_cxx_header): Suppress compiler error message.
2705
2706 2017-06-13 Florian Weimer <fweimer@redhat.com>
2707
2708 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2709 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2710 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2711 begin/end.
2712 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2713 dynarray_int_end.
2714 (test_str): Test dynarray_str_begin, dynarray_str_end.
2715
2716 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2717
2718 [BZ #21573]
2719 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2720 $(common-objpfx)bits/std_abs.h.
2721 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2722 New target.
2723 * config.make.in (c++-bits-std_abs-h): New.
2724 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2725 (CXX_BITS_STD_ABS_H): New.
2726 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2727 * configure: Regenerated.
2728
2729 2017-06-13 Zack Weinberg <zackw@panix.com>
2730
2731 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2732 directives.
2733
2734 2017-06-12 Zack Weinberg <zackw@panix.com>
2735
2736 * bits/sched.h: Remove __need_schedparam logic and replace with a
2737 normal multiple-include guard. Change field name in struct
2738 sched_param from __sched_priority to sched_priority. Delete
2739 everything under #ifndef __cpu_set_t_defined.
2740 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2741 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2742
2743 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2744 For compatibility, #define sched_priority to itself, and #define
2745 __sched_priority as sched_priority.
2746 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2747 that was under #ifndef __cpu_set_t_defined in
2748 sysdeps/unix/sysv/linux/bits/sched.h.
2749 * include/bits/cpu-set.h: New wrapper.
2750 * posix/Makefile: Install bits/cpu-set.h.
2751
2752 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2753 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2754 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2755
2756 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2757 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2758 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2759 * math/libm-test-isfinite.inc (finite_test): Likewise.
2760 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2761 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2762 (nexttoward_test_data}: Likewise.
2763 * math/libm-test-remainder.inc (drem_test): Likewise.
2764 * math/libm-test-scalb.inc (scalb_test): Likewise.
2765 (scalb_test_data): Likewise.
2766 * math/libm-test-significand.inc (significand_test): Likewise.
2767 (significand_test_data): Likewise.
2768 * math/libm-test-support.c (check_complex): Replace __complex__
2769 FLOAT with CFLOAT to get the support for old compiler.
2770 * math/libm-test-support.h (check_complex): Likewise.
2771 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2772 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2773 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2774 * math/test-float128.h: New file.
2775 * math/test-math-floatn.h: New file.
2776
2777 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2778
2779 * include/float.h: Allow the definition of macros prefixed with
2780 FLT128 even if _ISOMAC is defined, but provided that
2781 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2782
2783 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2784
2785 * manual/math.texi (Mathematics): Add description for _FloatN and
2786 _FloatNx types and mentions that they are not support in glibc for
2787 any architecture, so far.
2788 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2789 stdlib.h with wchar.h.
2790 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2791 (Printing of Floats): Add description for strfromfN.
2792
2793 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2794 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2795 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2796
2797 * include/gmp.h (__mpn_construct_float128): New declaration.
2798 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2799 (__strtof128_l): New declaration.
2800 (__strtof128_nan): Likewise.
2801 (__wcstof128_nan): Likewise.
2802 (__strtof128_internal): Likewise.
2803 (____strtof128_l_internal): Likewise.
2804 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2805 (__wcstof128_l): New declaration.
2806 (__wcstof128_internal): Likewise.
2807
2808 * stdlib/Makefile (bug-strtod2): Link libm too.
2809
2810 * stdlib/stdlib.h (strtof128): New declaration.
2811 (strtof128_l): Likewise.
2812
2813 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2814 tst-strtod.h macros to ensure float128 gets tested too.
2815
2816 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2817
2818 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2819 tests.
2820 (IF_FLOAT128): New macro.
2821 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2822 the tests.
2823 (STRTOD_TEST_FOREACH): Likewise.
2824
2825 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2826 wcstof128 functions into libc.
2827
2828 * sysdeps/ieee754/float128/Versions: Add exports for the above
2829 new functions.
2830
2831 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2832 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2833 * sysdeps/ieee754/float128/strtof128.c: New file.
2834 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2835 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2836 * sysdeps/ieee754/float128/wcstof128.c: New file.
2837 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2838 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2839 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2840 (CFLAGS-wcstof128_l): Likewise.
2841
2842 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2843 (wcstof128): New declaration.
2844 (wcstof128_l): Likewise.
2845
2846 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2847
2848 [BZ #21552]
2849 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2850 not [__USE_XOPEN].
2851 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2852
2853 [BZ #21550]
2854 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2855
2856 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2859 strcpy-sse2 and stpcpy-sse2.
2860 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2861 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2862 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2863 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2864 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2865 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2866 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2867 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2868 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2869 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2870 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2871 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2872 (libc_hidden_def): Always defined as empty.
2873 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2874 Always Defined as empty.
2875
2876 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2877
2878 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2879
2880 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2881
2882 [BZ #15105]
2883 [BZ #19463]
2884 * include/string.h: Add internal redirect for __stpcpy.
2885 * string/Makefile: Remove bits/string2.h.
2886 * string/string.h: Update comment.
2887 * string/string-inlines.c: Remove bits/string2.h include and comment.
2888 * string/bits/string2.h: Remove file.
2889
2890 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2891
2892 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2893 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2894 * sunrpc/des_impl.c (_des_crypt): Likewise.
2895 * sunrpc/key_call.c (key_gendes): Likewise.
2896 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2897 * sunrpc/svc_simple.c (universal): Likewise.
2898 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2899 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2900 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2901
2902 2017-06-10 Zack Weinberg <zackw@panix.com>
2903
2904 * stdlib/errno.h: Correct an outdated comment.
2905
2906 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2907
2908 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2909 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2910 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2911 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2912 New file. Invoke newly supported sysconf values for powerpc,
2913 and report results. If none are supported, report so.
2914 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2915 tst-sysconf.
2916
2917 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2918
2919 * include/sys/auxv.h (__getauxval): Add a prototype and its
2920 libc_hidden_proto.
2921 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2922
2923 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2924
2925 [BZ #21561]
2926 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2927 [__USE_XOPEN_EXTENDED].
2928 (id_t): Likewise.
2929 (include of <bits/types/siginfo_t.h): Likewise.
2930 (waitid): Likewise.
2931 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2932 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2933 (WEXITED): Likewise.
2934 (WCONTINUED): Likewise.
2935 (WNOWAIT): Likewise.
2936 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2937 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2938 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2939
2940 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2941 libc.so PLT entry optional.
2942 (__gtsf2): Likewise.
2943 (__unorddf2): Likewise.
2944 (__unordsf2): Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2946 New optional libc.so PLT entry.
2947
2948 [BZ #21554]
2949 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2950 not [__USE_XOPEN].
2951
2952 [BZ #21560]
2953 * posix/sys/wait.h: Condition include of <signal.h> on
2954 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2955 unconditionally.
2956 [!__pid_t_defined] (pid_t): Define typedef.
2957
2958 2017-06-09 Zack Weinberg <zackw@panix.com>
2959
2960 * include/errno.h (__errno_location): Use __attribute_const__
2961 instead of bare __attribute__.
2962
2963 2017-06-09 Zack Weinberg <zackw@panix.com>
2964
2965 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2966 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2967 more appropriate location. Also add dl-tunable-list.h and
2968 dl-tunable-list.stmp.
2969
2970 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2973
2974 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2975
2976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2977 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2979 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2980 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2981 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2982 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2983 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2984 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2985 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2986 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2987
2988 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2989
2990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2991 memrchr-sse2 and memrchr-avx2.
2992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2993 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2994 __memrchr_sse2.
2995 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2996 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2997 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2998
2999 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3002 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3003 wcschr-sse2 and wcschr-avx2.
3004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3005 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3006 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3007 __wcschr_sse2.
3008 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3009 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3010 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3011 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3012 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3013 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3014 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3015 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3016 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3017 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3018
3019 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3020
3021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3022 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3023 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3025 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3026 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3027 __wcslen_sse2 and __wcsnlen_avx2.
3028 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3029 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3030 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3031 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3032 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3033 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3034 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3035 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3036 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3037 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3038 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3039 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3040 vzeroupper is preferred and AVX unaligned load is fast.
3041
3042 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3045 USE_AS_WMEMCHR is defined.
3046 (PCMPEQ): Likewise.
3047 (memchr): Renamed to ...
3048 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3049 Replace pcmpeqb with PCMPEQ.
3050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3051 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3052 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3053 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3054 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3055 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3056 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3057 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3058 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3059 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3060 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3061 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3062 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3064 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3065 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3066 __wmemchr_sse2.
3067
3068 2017-06-09 Florian Weimer <fweimer@redhat.com>
3069
3070 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3071 tst-dynarray-fail.
3072
3073 2017-06-09 Florian Weimer <fweimer@redhat.com>
3074
3075 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3076 * support/support_test_verify_impl.c
3077 (support_test_verify_exit_impl): Split from
3078 support_test_verify_impl.
3079 * support/check.h (TEST_VERIFY): Drop status argument from
3080 support_test_verify_impl call.
3081 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3082 (support_test_verify_impl): Remove status argument.
3083 (support_test_verify_exit_impl): Declare.
3084
3085 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3086
3087 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3088 mention of magic numbers in comments.
3089 (_dl_procinfo): Fix undefined behavior
3090
3091 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3092
3093 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3094 [XPG4].
3095 (WEXITED): Likewise.
3096 (WSTOPPED): Likewise.
3097 (WCONTINUED): Likewise.
3098 (WNOHANG): Likewise.
3099 (WNOWAIT): Likewise.
3100 (idtype_t): Likewise.
3101 (P_ALL): Likewise.
3102 (P_PID): Likewise.
3103 (P_PGID): Likewise.
3104 (id_t): Likewise.
3105 (siginfo_t): Likewise.
3106 (wait3): Likewise.
3107 (waitid): Likewise.
3108 (signal.h): Do not allow header for [XPG4].
3109 (sys/resource.h): Likewise.
3110 (si_*): Do not allow for [XPG4].
3111 (W*): Likewise.
3112 (P_*): Likewise.
3113 (BUS_): Likewise.
3114 (CLD_): Likewise.
3115 (FPE_): Likewise.
3116 (ILL_): Likewise.
3117 (POLL_): Likewise.
3118 (SEGV_): Likewise.
3119 (SI_): Likewise.
3120 (TRAP_): Likewise.
3121 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3122 variable.
3123
3124 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 [BZ #21528]
3127 * elf/dl-minimal.c (__strtoul_internal): Removed.
3128 (strtoul): Likewise.
3129 * elf/dl-misc.c (_dl_strtoul): New function.
3130 * elf/dl-tunables.c (tunables_strtoul): Removed.
3131 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3132 * elf/rtld.c (process_envvars): Likewise.
3133 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3134 Likewise.
3135 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3136
3137 2017-06-08 Zack Weinberg <zackw@panix.com>
3138
3139 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3140 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3141 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3142 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3143 between wctype.h and wchar.h.
3144
3145 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3146 Install them.
3147
3148 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3149 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3150 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3151 New wrappers.
3152 * include/stdio.h, include/wchar.h, include/wctype.h:
3153 No need to handle __need macros.
3154
3155 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3156 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3157 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3158 * wcsmbs/wchar.h, wctype/wctype.h
3159 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3160 Use the new files instead of __need macros.
3161
3162 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3163
3164 * string/test-memrchr.c (test_main): Add tests for len == 0
3165 and tests for positions close to the beginning, which are
3166 equivalent to positions close to the end for memchr.
3167
3168 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3169
3170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3171 comments.
3172 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3173 instead of wmemset.h.
3174 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3175 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3176 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3177
3178 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3179
3180 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3181 spec->info.is_binary128 to zero.
3182 * stdio-common/printf.h (printf_info): Add new member is_binary128
3183 to indicate that the number being converted to string is compatible
3184 with the IEC 60559 binary128 format.
3185 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3186 _Float128 numbers.
3187 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3188 ldbl-128/printf_fphex_macros.h
3189 (__printf_fphex): Add code to deal with _Float128 numbers.
3190 * stdio-common/printf_size.c (__printf_size): Likewise.
3191 * stdio-common/vfprintf.c (process_arg): Initialize member
3192 info.is_binary128 to zero.
3193 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3194 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3195 (strfromf128): New declaration.
3196 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3197 to one.
3198 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3199 * sysdeps/ieee754/float128/Versions: Likewise.
3200 * sysdeps/ieee754/float128/strfromf128.c: New file.
3201
3202 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3203
3204 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3205 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3206 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3207 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3208 (PRINT_FPHEX): New function-like macro that can be used for long
3209 double, as well as for _Float128
3210
3211 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3212
3213 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3214 (__printf_fp_l): Use the new macro to avoid duplicating code.
3215 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3216 (__printf_fphex): Use the new macro to avoid duplicating code.
3217 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3218 (__printf_size): Use the new macro to avoid duplicating code.
3219
3220 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3221
3222 * include/gmp.h: Include bits/floatn.h
3223 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3224 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3225 including stack-alloc.h. It could have been defined by other header
3226 which not necessarily defines HAVE_ALLOCA.
3227 * sysdeps/ieee754/float128/Makefile: New file.
3228 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3229 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3230 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3231 redefine __mpn_extract_long_double to __mpn_extract_float128.
3232 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3233 _Float128 to allow float128_private.h overrides.
3234
3235 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3236
3237 * stdlib/fpioconst.h: Include bits/floatn.h.
3238 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3239 power of ten table should be.
3240 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3241 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3242 to include larger tables when _Float128 support is enabled.
3243 (_fpioconst_pow10): Likewise.
3244
3245 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3246
3247 * include/bits/types/clock_t.h: Use #include <path> instead of
3248 #include "../../path".
3249 * include/bits/types/clockid_t.h: Likewise.
3250 * include/bits/types/struct_iovec.h: Likewise.
3251 * include/bits/types/struct_itimerspec.h: Likewise.
3252 * include/bits/types/struct_osockaddr.h: Likewise.
3253 * include/bits/types/struct_sigstack.h: Likewise.
3254 * include/bits/types/struct_timespec.h: Likewise.
3255 * include/bits/types/struct_timeval.h: Likewise.
3256 * include/bits/types/struct_tm.h: Likewise.
3257 * include/bits/types/time_t.h: Likewise.
3258 * include/bits/types/timer_t.h: Likewise.
3259
3260 [BZ #14096]
3261 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3262 America/New_York.
3263
3264 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3265
3266 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3267 into ...
3268 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3269 ifunc-sse4_1.h.
3270
3271 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3272
3273 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3274 Remove check for NULL 'buf'.
3275 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3276
3277 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3278
3279 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3280 include test-skeleton.c.
3281 Include support/check.h and support/test-driver.c.
3282
3283 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3284
3285 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3286 (_dl_aarch64_cap_flags): New array.
3287 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3288 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3289 functions.
3290
3291 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3292 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3293 Likewise.
3294 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3295 up hwcap and hwcap_mask.
3296
3297 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3298 (init_cpu_features): Use glibc.tune.hwcap_mask.
3299 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3300
3301 * elf/dl-hwcaps.h: New file.
3302 * elf/dl-hwcaps.c: Include it.
3303 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3304 glibc.tune.hwcap_mask.
3305 * elf/dl-cache.c: Include dl-hwcaps.h.
3306 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3307 glibc.tune.hwcap_mask.
3308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3309 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3310 _dl_hwcap_mask.
3311 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3312 _dl_hwcap_mask.
3313 (process_envvars)[HAVE_TUNABLES]: Likewise.
3314 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3315 Likewise.
3316 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3317 initialize dl_hwcap_mask when tunables are enabled.
3318
3319 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3320 guard.
3321 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3322
3323 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3324 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3325 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3326
3327 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3328 * elf/dl-tunables.c: Likewise.
3329 (do_tunable_update_val): New function.
3330 (__tunable_set_val): New function.
3331 (__tunable_get_val): Call CB only if the tunable was externally
3332 initialized.
3333 (tunables_strtoul): Replace strval with initialized.
3334 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3335 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3336 prevent collision.
3337 (__tunable_set_val): New function.
3338 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3339 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3340 (TUNABLE_SET_VAL): Remove.
3341 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3342 * README.tunables: Document the new macros.
3343 * malloc/arena.c (ptmalloc_init): Adjust.
3344
3345 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3346
3347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3348 wcsnlen-sse4_1 and wcsnlen-c.
3349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3350 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3351 __wcsnlen_sse2.
3352 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3353 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3354 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3355 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3356 * sysdeps/x86_64/wcsnlen.S: Removed.
3357
3358 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3359
3360 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3361 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3362 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3363 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3364
3365 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3366
3367 * NEWS: Mention new spinlock implementation.
3368 * include/atomic.h:
3369 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3370 (atomic_exchange_acq): Likewise.
3371 (atomic_load_relaxed): Likewise.
3372 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3373 * nptl/pthread_spin_init.c (pthread_spin_init):
3374 Use atomic_store_relaxed.
3375 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3376 Use C11-like atomic macros.
3377 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3378 Likewise.
3379 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3380 Use atomic_store_release.
3381 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3382 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3383 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3384 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3385 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3386 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3387 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3388 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3389 * sysdeps/alpha/atomic-machine.h: Likewise.
3390 * sysdeps/arm/atomic-machine.h: Likewise.
3391 * sysdeps/i386/atomic-machine.h: Likewise.
3392 * sysdeps/ia64/atomic-machine.h: Likewise.
3393 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3394 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3395 * sysdeps/microblaze/atomic-machine.h: Likewise.
3396 * sysdeps/mips/atomic-machine.h: Likewise.
3397 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3398 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3399 * sysdeps/s390/atomic-machine.h: Likewise.
3400 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3401 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3402 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3403 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3404 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3405 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3406 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3407 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3408 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3409 * sysdeps/x86_64/atomic-machine.h: Likewise.
3410
3411 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3414 and use it instead of dl_x86_cpu_features.
3415 (handle_intel): Replace maxidx with cpu_features. Pass
3416 cpu_features to intel_check_word.
3417 (__cache_sysconf): Pass cpu_features to handle_intel.
3418 (init_cacheinfo): Likewise. Use cpu_features instead of
3419 dl_x86_cpu_features.
3420
3421 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3425 memcmp-avx2 and wmemcmp-avx2.
3426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3427 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3428 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3429 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3430 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3431 2 machines if AVX unaligned load is fast and vzeroupper is
3432 preferred.
3433 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3434 2 machines if AVX unaligned load is fast and vzeroupper is
3435 preferred.
3436
3437 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 * include/wchar.h (__wmemset_chk): New.
3440 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3441 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3442 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3443 (WMEMSET_CHK_SYMBOL): Likewise.
3444 (WMEMSET_SYMBOL): Likewise.
3445 (__wmemset): Add hidden definition.
3446 (wmemset): Add weak hidden definition.
3447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3448 wmemset_chk-nonshared.
3449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3450 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3451 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3452 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3453 and __wmemset_chk_avx512_unaligned.
3454 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3455 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3456 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3457 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3458 (WMEMSET_SYMBOL): Likewise.
3459 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3460 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3461 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3462 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3463 (WMEMSET_SYMBOL): Likewise.
3464 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3465 (WMEMSET_CHK_SYMBOL): New.
3466 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3467 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3468 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3469 (libc_hidden_builtin_def): Also define __GI_wmemset and
3470 __GI___wmemset.
3471 (weak_alias): New.
3472 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3473 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3474 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3475 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3476 * sysdeps/x86_64/wmemset.c: Likewise.
3477 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3478
3479 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480 H.J. Lu <hongjiu.lu@intel.com>
3481
3482 * sysdeps/x86/init-arch.h (PASTER1): New.
3483 (EVALUATOR1): Likewise.
3484 (PASTER2): Likewise.
3485 (EVALUATOR2): Likewise.
3486 (REDIRECT_NAME): Likewise.
3487 (OPTIMIZE): Likewise.
3488 (IFUNC_SELECTOR): Likewise.
3489
3490 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3491
3492 * sysdeps/x86_64/strlen.S (PMINU): New.
3493 (PCMPEQ): Likewise.
3494 (SHIFT_RETURN): Likewise.
3495 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3496 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3497 pminub with PCMPEQ and PMINU.
3498 * sysdeps/x86_64/wcsnlen.S: New file.
3499
3500 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3503 the lower 32 bits. Remove redundant instructions.
3504
3505 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3506
3507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3508 0 as the high part of offset.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3510
3511 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3512
3513 [BZ #21538]
3514 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3515 [__USE_UNIX98].
3516 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3517 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3518 Likewise.
3519 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3520 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3521 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3523 Likewise.
3524
3525 [BZ #21517]
3526 * bits/types/stack_t.h (stack_t): Remove struct tag.
3527 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3528 Likewise.
3529 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3530 Likewise.
3531 * debug/segfault.c (install_handler): Use stack_t instead of
3532 struct sigaltstack.
3533 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3534 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3535 * include/signal.h (__sigaltstack): Likwise.
3536 * signal/sigaltstack.c (__sigaltstack): Likewise.
3537 * signal/signal.h (sigaltstack): Likewise.
3538 * sysdeps/mach/hurd/i386/signal-defines.sym
3539 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3540 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3541 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3542 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3543 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3544 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3545 elf_prstatus): Likewise.
3546 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3547 Likewise.
3548 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3549 Likewise.
3550 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3551 Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3553 elf_prstatus): Likewise.
3554 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3555 Likewise.
3556 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3557 Likewise.
3558
3559 2017-06-04 Zack Weinberg <zackw@panix.com>
3560
3561 * sysdeps/gnu/errlist.c: Regenerate.
3562
3563 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 * benchtests/bench-memchr.c (do_test): Print out both length
3566 and position.
3567 (test_main): Also test the position close to the beginning for
3568 memrchr.
3569
3570 2017-06-04 Zack Weinberg <zackw@panix.com>
3571
3572 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3573 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3574 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3575 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3576 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3577 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3578 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3579 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3580 * nis/nis_print_group_entry.c, nis/nis_remove.c
3581 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3582 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3583 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3584 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3585 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3586 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3587 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3588 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3589 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3590 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3591 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3592 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3593 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3594 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3595 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3596 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3597 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3598 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3599 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3600 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3601
3602 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3603 abi-versions.h as well as shlib-compat.h.
3604 * sunrpc/get_myaddr.c: Remove obsolete comment.
3605 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3606 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3607 * resolv/res_libc.c: Include shlib-compat.h only once.
3608
3609 2017-06-03 Florian Weimer <fweimer@redhat.com>
3610
3611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3612 of strdup.
3613
3614 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3615
3616 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3617 Set to the 3/4 of the total shared cache size.
3618
3619 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3620
3621 * manual/errno.texi: Remove redundant error strings.
3622 * manual/macros.texi (@errno): Render the error string in every
3623 description.
3624
3625 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3626
3627 [BZ #21543]
3628 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3629 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3630 [__USE_XOPEN_EXTENDED].
3631
3632 2017-06-02 Florian Weimer <fweimer@redhat.com>
3633
3634 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3635 strdupa.
3636 (getcanonname): Use __strdup instead of strdup.
3637
3638 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3639
3640 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3641 (CFLAGS-preadv64v2.c): Likewise.
3642 (CFLAGS-pwritev2.c): Likewise.
3643 (CFLAGS-pwritev64v2.c): Likewise.
3644
3645 2017-06-02 Florian Weimer <fweimer@redhat.com>
3646
3647 Test res_init with several configuration files.
3648 * resolv/Makefile [build-shared] (tests-internal): Add
3649 tst-resolv-res_init, tst-resolv-res_init-thread.
3650 (tst-resolv-res_init): Link against libdl, libresolv.
3651 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3652 libpthread.
3653 * resolv/tst-resolv-res_init.c: New file.
3654 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3655 * resolv/tst-resolv-res_init-thread.c: Likewise.
3656 * support/Makefile (libsupport-routines): Add support-xstat,
3657 support_can_chroot, support_capture_subprocess_check,
3658 support_isolate_in_subprocess, support_shared_allocate,
3659 support_write_file_string, xchroot, xmkdir, xopen.
3660 * support/capture_subprocess.h (enum support_capture_allow): Define.
3661 (support_capture_subprocess_check): Declare.
3662 * support/namespace.h (support_can_chroot)
3663 (support_isolate_in_subprocess): Declare.
3664 * support/support-xstat.c: New file.
3665 * support/support.h (support_shared_allocate, support_shared_free)
3666 (support_write_file_string): Declare.
3667 * support/support_can_chroot.c: New file.
3668 * support/support_capture_subprocess_check.c: Likewise.
3669 * support/support_isolate_in_subprocess.c: Likewise.
3670 * support/support_shared_allocate.c: Likewise.
3671 * support/support_write_file_string.c: Likewise.
3672 * support/xchroot.c: Likwise.
3673 * support/xmkdir.c: Likwise.
3674 * support/xopen.c: Likwise.
3675 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3676
3677 2017-06-02 Florian Weimer <fweimer@redhat.com>
3678
3679 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3680 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3681
3682 2017-06-02 Florian Weimer <fweimer@redhat.com>
3683
3684 * malloc/Makefile (routines): Add dynarray_at_failure,
3685 dynarray_emplace_enlarge, dynarray_finalize.
3686 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3687 tst-dynarray-at-fail.
3688 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3689 (tests-special): Add tst-dynarray-mem.out,
3690 tst-dynarray-mem-fail.out.
3691 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3692 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3693 mtrace.
3694 * malloc/Versions (__libc_dynarray_at_failure)
3695 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3696 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3697 GLIBC_PRIVATE.
3698 * malloc/dynarray.h: New file.
3699 * malloc/dynarray-skeleton.c: Likewise.
3700 * malloc/dynarray_at_failure.c: Likewise.
3701 * malloc/dynarray_emplace_enlarge.c: Likewise.
3702 * malloc/dynarray_finalize.c: Likewise.
3703 * malloc/dynarray_resize.c: Likewise.
3704 * malloc/dynarray_resize_clear.c: Likewise.
3705 * malloc/tst-dynarray.c: Likewise.
3706 * malloc/tst-dynarray-fail.c: Likewise.
3707 * malloc/tst-dynarray-at-fail.c: Likewise.
3708 * malloc/tst-dynarray-shared.h: Likewise.
3709 * support/Makefile (libsupport-routines): Add
3710 support_capture_subprocess, xdup2, xpipe.
3711 (tests): Add tst-support_capture_subprocess.
3712 * support/capture_subprocess.h: New file.
3713 * support/support_capture_subprocess.c: Likewise.
3714 * support/tst-support_capture_subprocess.c: Likewise.
3715 * support/xdup2.c: Likewise.
3716 * support/xpipe.c: Likewise.
3717 * support/xunistd.h (xdup2, xpipe): Declare.
3718
3719 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3720
3721 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3722 macros MAX and MIN.
3723
3724 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3725
3726 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3727 [XPG4].
3728 (SA_SIGINFO): Likewise.
3729 (SA_ONSTACK): Likewise.
3730 (SA_RESETHAND): Likewise.
3731 (SA_RESTART): Likewise.
3732 (SA_NOCLDWAIT): Likewise.
3733 (SA_NODEFER): Likewise.
3734 (SS_ONSTACK): Likewise.
3735 (SS_DISABLE): Likewise.
3736 (MINSIGSTKSZ): Likewise.
3737 (SIGSTKSZ): Likewise.
3738 (ucontext_t): Likewise.
3739 (stack_t): Likewise.
3740 (struct sigstack): Likewise.
3741 (SI_USER): Do not expect for [XPG4 || XPG42].
3742 (SI_QUEUE): Likewise.
3743 (SI_TIMER): Likewise.
3744 (SI_ASYNCIO): Likewise.
3745 (SI_MESGQ): Likewise.
3746 (bsd_signal): Do not expect for [XPG4].
3747 (killpg): Likewise.
3748 (sigaltstack): Likewise.
3749 (sighold): Likewise.
3750 (sigignore): Likewise.
3751 (siginterrupt): Likewise.
3752 (sigpause): Likewise.
3753 (sigrelse): Likewise.
3754 (sigset): Likewise.
3755 (sigwait): Do not expect for [XPG4 || XPG42].
3756
3757 2017-06-01 Zack Weinberg <zackw@panix.com>
3758
3759 [BZ #21514]
3760 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3761 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3762
3763 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3764
3765 [BZ #21457]
3766 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3767 NGREG to __NGREG if [__USE_MISC].
3768 (gregset_t): Define using __NGREG.
3769 (__ctx): New macro.
3770 (mcontext_t): Use __ctx in defining fields.
3771 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3772 define NGREG to __NGREG if [__USE_MISC].
3773 (gregset_t): Define using __NGREG.
3774 (__ctx): New macro.
3775 (__ctxt): Likewise.
3776 (fpregset_t): Use __ctx and __ctxt in defining fields.
3777 (mcontext_t): Likewise.
3778 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3779 define NGREG to __NGREG if [__USE_MISC].
3780 (gregset_t): Define using __NGREG.
3781 (__ctx): New macro.
3782 (mcontext_t): Use __ctx in defining fields.
3783 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3784 define NGREG to __NGREG if [__USE_MISC].
3785 (gregset_t): Define using __NGREG.
3786 (__ctx): New macro.
3787 (fpregset_t): Use __ctx in defining fields.
3788 (mcontext_t): Likewise.
3789 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3790 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3791 (gregset_t): Define using __NGREG.
3792 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3793 [__USE_MISC].
3794 (fpregset_t): Define using __NFPREG.
3795 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3796 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3797 (gregset_t): Define using __NGREG.
3798 (__ctx): New macro.
3799 (fpregset_t): Use __ctx in defining fields.
3800 (mcontext_t): Likewise.
3801 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3802 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3803 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3804 [__USE_MISC].
3805 (gregset_t): Define using __NGREG.
3806 (__ctx): New macro.
3807 (fpregset_t): Use __ctx in defining fields.
3808 (mcontext_t): Likewise.
3809 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3810 (mcontext_t): Use __ctx in defining fields.
3811 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3812 macro.
3813 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3814 __NGREG if [__USE_MISC].
3815 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3816 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3817 (mcontext_t): Likewise.
3818 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3819 __NGREG if [__USE_MISC].
3820 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3821 to __NFPREG if [__USE_MISC].
3822 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3823 to __NVRREG if [__USE_MISC].
3824 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3825 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3826 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3827 [__WORDSIZE != 32] (vrregset_t): Likewise.
3828 [__WORDSIZE != 32] (mcontext_t): Likewise.
3829 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3830 (__psw_t): Use __ctx in defining fields.
3831 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3832 [__USE_MISC].
3833 (gregset_t): Define using __NGREG.
3834 (fpreg_t): Use __ctx in defining fields.
3835 (fpregset_t): Likewise.
3836 (mcontext_t): Likewise.
3837 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3838 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3839 (gregset_t): Define using __NGREG.
3840 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3841 [__USE_MISC].
3842 (fpregset_t): Define using __NFPREG.
3843 (__ctx): New macro.
3844 (mcontext_t): Use __ctx in defining fields.
3845 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3846 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3847 __NGREG if [__USE_MISC].
3848 [__x86_64__] (gregset_t): Define using __NGREG.
3849 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3850 [__x86_64__] (struct _libc_fpstate): Likewise.
3851 [__x86_64__] (mcontext_t): Likewise.
3852 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3853 __NGREG if [__USE_MISC].
3854 [!__x86_64__] (gregset_t): Define using __NGREG.
3855 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3856 [!__x86_64__] (struct _libc_fpstate): Likewise.
3857 [!__x86_64__] (mcontext_t): Likewise.
3858
3859 2017-06-01 Zack Weinberg <zackw@panix.com>
3860
3861 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3862 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3863 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3864 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3865 libpthread.so no longer references __errno_location.
3866
3867 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3868
3869 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3870 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3871 pwritev64v2.
3872 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3873 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3874 pwritev64v2.
3875 * misc/preadv2.c: New file.
3876 * misc/preadv64v2.c: Likewise.
3877 * misc/pwritev2.c: Likewise.
3878 * misc/pwritev64v2.c: Likewise.
3879 * misc/tst-preadvwritev2.c: Likewise.
3880 * misc/tst-preadvwritev64v2.c: Likewise.
3881 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3882 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3883 prototype.
3884 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3885 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3886 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3887 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3888 (PWRITEV): Likewise.
3889 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3890 ENOSYS.
3891 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3892 (tf_preadv2): Likewise.
3893 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3894 * sysdeps/posix/preadv2.c: Likewise.
3895 * sysdeps/posix/preadv64v2.c: Likewise.
3896 * sysdeps/posix/pwritev2.c: Likewise.
3897 * sysdeps/posix/pwritev64v2.c: Likewise.
3898 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3899 support in kernel.
3900 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3901 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3902 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3903 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3904 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3905 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3906 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3907 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3908 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3909 support flags on Linux.
3910 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3911 preadv2, preadv64v2, pwritev2, pwritev64v2.
3912 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3913 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3914 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3915 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3916 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3917 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3918 Likewise.
3919 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3920 Likewise.
3921 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3926 Likewise.
3927 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3928 Likewise.
3929 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3930 Likewise.
3931 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3933 (GLIBC_2.26): Likewise.
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3935 (GLIBC_2.26): Likewise.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3937 Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3939 (GLIBC_2.26): Likewise.
3940 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3941 Likewise.
3942 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3943 Likewise.
3944 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3945 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3946 Likewise.
3947 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3948 Likewise.
3949 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3950 Likewise.
3951 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3952 Likewise.
3953 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3954 Likewise.
3955 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3956 Likewise.
3957 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3958 Likewise.
3959
3960 2017-05-31 Andreas Schwab <schwab@suse.de>
3961
3962 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3963 (main): Rename to do_test and make static.
3964
3965 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3966
3967 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3968 ARCH_INIT_CPU_FEATURES.
3969 (LIBC_START_MAIN): Call it.
3970 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3971 (__libc_start_main): Remove.
3972 (ARCH_INIT_CPU_FEATURES): New macro.
3973 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3974 (ARCH_INIT_CPU_FEATURES): New macro.
3975
3976 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3977 RĂŒdiger Sonderfeld <ruediger@c-plusplus.de>
3978
3979 * include/stdlib.h (__libc_reallocarray): New declaration.
3980 * malloc/Makefile (routines): Add reallocarray.
3981 (tests): Add tst-reallocarray.c.
3982 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3983 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3984 function.
3985 * malloc/malloc.h (reallocarray): New declaration.
3986 * stdlib/stdlib.h (reallocarray): Likewise.
3987 * malloc/reallocarray.c: New file.
3988 * malloc/tst-reallocarray.c: New test file.
3989 * manual/memory.texi: Document reallocarray.
3990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3991 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3992 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3993 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3994 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3995 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3996 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3997 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3998 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4000 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4001 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4002 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4003 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4005 Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4007 Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4010 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4011 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4012 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4017 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4020
4021 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4022
4023 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4024 the lower 32 bits.
4025
4026 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4027
4028 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4029 $(build-pie-default) = yes]: Define.
4030
4031 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4032
4033 * string/test-memchr.c (test_main): Add tests for n == 0.
4034
4035 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4036
4037 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4038 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4039 (tests-internal): ... here.
4040
4041 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4042 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4045 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4046 (__tunable_set_val): Likewise.
4047
4048 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4051 dl-tunables.list in subdirectories.
4052
4053 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4054 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4055 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4056
4057 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4058 (SNANF128): New macro.
4059 * math/e_sqrtf128.c: New file.
4060 * math/s_fmaxmag_template.c: Include math_private.h in order to
4061 make inline expansion of fabs128().
4062 * math/s_fminmag_template.c: Likewise.
4063
4064 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4065 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4066 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4067 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4068 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4069 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4070 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4071 * sysdeps/ieee754/float128/e_expf128.c: New file.
4072 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4073 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4074 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4075 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4076 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4077 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4078 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4079 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4080 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4081 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4082 * sysdeps/ieee754/float128/e_logf128.c: New file.
4083 * sysdeps/ieee754/float128/e_powf128.c: New file.
4084 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4085 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4086 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4087 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4088 * sysdeps/ieee754/float128/float128_private.h: New file.
4089 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4090 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4091 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4092 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4093 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4094 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4095 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4096 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4097 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4098 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4099 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4100 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4101 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4102 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4103 * sysdeps/ieee754/float128/s_erff128.c: New file.
4104 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4105 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4106 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4107 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4108 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4109 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4110 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4111 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4112 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4113 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4114 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4115 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4116 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4117 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4118 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4119 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4120 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4121 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4122 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4123 * sysdeps/ieee754/float128/s_modff128.c: New file.
4124 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4125 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4126 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4127 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4128 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4129 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4130 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4131 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4132 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4133 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4134 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4135 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4136 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4137 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4138 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4139 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4140 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4141 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4142 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4143 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4144 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4145 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4146 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4147 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4148 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4149
4150 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4151 (__iscanonicalf128): Define as a macro.
4152
4153 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4154
4155 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4156 (memmove): Use MEMMOVE for name.
4157 (memcpy): Use MEMCPY for name. Change internal labels
4158 to external labels.
4159 * sysdeps/aarch64/multiarch/Makefile: New file.
4160 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4161 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4162 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4163 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4164 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4165 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4166
4167 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4168
4169 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4170 (_dl_arm_cap_flags): Fix array subscript.
4171 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4172 Fix count.
4173
4174 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4177
4178 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4181 (is_amd): Likewise.
4182 (max_cpuid): Likewise.
4183 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4184 (init_cacheinfo): Likewise.
4185
4186 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4187
4188 [BZ #21511]
4189 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4190 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4191 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4192 !__USE_XOPEN2K) || __USE_MISC].
4193 * conform/data/signal.h-data (struct sigstack): Expect type only
4194 if [!XOPEN2K8 && !POSIX2008].
4195 (sigstack): Expect function only if [XPG42 || UNIX98].
4196
4197 [BZ #21457]
4198 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4199 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4200 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4201 <bits/types/__sigset_t.h>.
4202 (ucontext_t): Use sigset_t instead of __sigset_t.
4203 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4204 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4205 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4206 <bits/types/__sigset_t.h>.
4207 (ucontext_t): Use sigset_t instead of __sigset_t.
4208 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4209 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4210 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4211 <bits/types/__sigset_t.h>.
4212 (ucontext_t): Use sigset_t instead of __sigset_t.
4213 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4214 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4215 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4216 <bits/types/__sigset_t.h>.
4217 (ucontext_t): Use sigset_t instead of __sigset_t.
4218 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4219 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4220 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4221 <bits/types/__sigset_t.h>.
4222 (ucontext_t): Use sigset_t instead of __sigset_t.
4223 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4224 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4225 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4226 <bits/types/__sigset_t.h>.
4227 (ucontext_t): Use sigset_t instead of __sigset_t.
4228 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4229 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4230 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4231 <bits/types/__sigset_t.h>.
4232 (ucontext_t): Use sigset_t instead of __sigset_t.
4233 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4234 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4235 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4236 <bits/types/__sigset_t.h>.
4237 (ucontext_t): Use sigset_t instead of __sigset_t.
4238 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4239 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4240 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4241 <bits/types/__sigset_t.h>.
4242 (ucontext_t): Use sigset_t instead of __sigset_t.
4243 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4244 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4245 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4246 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4247 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4248 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4249 <bits/types/__sigset_t.h>.
4250 (ucontext_t): Use sigset_t instead of __sigset_t.
4251 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4252 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4253 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4254 <bits/types/__sigset_t.h>.
4255 (ucontext_t): Use sigset_t instead of __sigset_t.
4256 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4257 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4258 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4259 <bits/types/__sigset_t.h>.
4260 (ucontext_t): Use sigset_t instead of __sigset_t.
4261 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4262 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4263 <bits/ss_flags.h>.
4264 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4265 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4266 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4267 <bits/types/__sigset_t.h>.
4268 (ucontext_t): Use sigset_t instead of __sigset_t.
4269 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4270 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4271 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4272 <bits/types/__sigset_t.h>.
4273 (ucontext_t): Use sigset_t instead of __sigset_t.
4274 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4275 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4276 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4277 <bits/types/__sigset_t.h>.
4278 (ucontext_t): Use sigset_t instead of __sigset_t.
4279 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4280 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4281 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4282 <bits/types/__sigset_t.h>.
4283 (ucontext_t): Use sigset_t instead of __sigset_t.
4284 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4285 <bits/types.h>.
4286 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4287 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4288 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4289 <bits/types/__sigset_t.h>.
4290 (ucontext_t): Use sigset_t instead of __sigset_t.
4291
4292 2017-05-22 Zack Weinberg <zackw@panix.com>
4293
4294 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4295 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4296 bits/siginfo-arch.h, only if not already defined.
4297 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4298 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4299 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4300 Likewise.
4301
4302 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4303 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4305 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4306 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4307 Unconditionally define __SI_* macros.
4308
4309 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4310
4311 [BZ #21393]
4312 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4313 and add a check for dup3 failure.
4314 * libio/freopen64.c (freopen64): Likewise.
4315 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4316 libsupport.
4317 (do_test_bz21398): New test.
4318 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4319
4320 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4321
4322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4323 Remove invalid comment.
4324
4325 2017-05-21 Zack Weinberg <zackw@panix.com>
4326
4327 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4328
4329 2017-05-20 Zack Weinberg <zackw@panix.com>
4330
4331 * bits/sigevent-consts.h
4332 * bits/siginfo-consts.h
4333 * bits/types/__sigset_t.h
4334 * bits/types/sigevent_t.h
4335 * bits/types/siginfo_t.h
4336 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4337 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4338 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4339 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4340 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4341 New system-dependent bits headers.
4342
4343 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4344 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4345 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4346 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4347 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4349 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4350 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4351 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4352 New Linux-only system-dependent bits headers.
4353
4354 * signal/bits/types/sig_atomic_t.h
4355 * signal/bits/types/sigset_t.h
4356 * signal/bits/types/sigval_t.h:
4357 New non-system-dependent bits headers.
4358
4359 * sysdeps/generic/sigsetops.h
4360 * sysdeps/unix/sysv/linux/sigsetops.h:
4361 New internal headers.
4362
4363 * include/bits/types/sig_atomic_t.h
4364 * include/bits/types/sigset_t.h
4365 * include/bits/types/sigval_t.h:
4366 New wrappers.
4367
4368 * signal/sigsetops.h
4369 * bits/siginfo.h
4370 * bits/sigset.h
4371 * sysdeps/unix/sysv/linux/bits/siginfo.h
4372 * sysdeps/unix/sysv/linux/bits/sigset.h
4373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4374 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4377 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4378 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4379 Deleted.
4380
4381 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4382 Update lists of installed headers.
4383
4384 * posix/bits/types.h: Define __sig_atomic_t here.
4385 * signal/signal.h: Use the new bits headers; no need to handle
4386 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4387 to define sigmask.
4388 * include/signal.h: No need to handle __need_sig_atomic_t
4389 nor __need_sigset_t. Don't define __sigemptyset.
4390
4391 * io/sys/poll.h, setjmp/setjmp.h
4392 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4393 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4394 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4395 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4396 * sysdeps/pthread/bits/sigthread.h
4397 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4398 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4399 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4400 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4402 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4403 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4404 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4405 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4406 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4407 Use bits/types/__sigset_t.h.
4408
4409 * misc/sys/select.h, posix/spawn.h
4410 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4411 * sysdeps/unix/sysv/linux/sys/epoll.h
4412 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4413 Use bits/types/sigset_t.h.
4414
4415 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4416 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4417 * socket/sys/socket.h: Don't include bits/sigset.h.
4418
4419 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4420 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4421 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4422 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4423 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4424 * sysdeps/unix/sysv/linux/nptl-signals.h:
4425 Include sigsetops.h.
4426
4427 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4428 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4429 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4430 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4431 now return no value.
4432
4433 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4434 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4435 "sigsetops.h".
4436
4437 * signal/sigsetops.c: Explicitly define __sigismember,
4438 __sigaddset, and __sigdelset as compatibility symbols.
4439
4440 * signal/Versions: Correct commentary on __sigpause,
4441 __sigaddset, __sigdelset, __sigismember.
4442
4443 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4444 __sigblock/__sigsetmask to use __sigprocmask and friends.
4445
4446 * resolv/resolv.h: Remove __need_res_state logic.
4447 Move definition of res_state and related constants to ...
4448 * resolv/bits/types/res_state.h: ...this new file.
4449 * resolv/Makefile: Install bits/types/res_state.h.
4450 * include/bits/types/res_state.h: New wrapper.
4451 * include/list.h: Remove __need_list_t logic.
4452 Move definition of list_t to ...
4453 * include/list_t.h: ...this new file.
4454
4455 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4456 instead of list.h and resolv.h.
4457
4458 * resolv/resolv.h: Remove __need_res_state logic.
4459 Move definition of res_state and related constants to ...
4460 * resolv/bits/types/res_state.h: ...this new file.
4461 * resolv/Makefile: Install bits/types/res_state.h.
4462 * include/bits/types/res_state.h: New wrapper.
4463 * include/list.h: Remove __need_list_t logic.
4464 Move definition of list_t to ...
4465 * include/list_t.h: ...this new file.
4466
4467 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4468 instead of list.h and resolv.h.
4469
4470 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4473
4474 2017-05-20 Zack Weinberg <zackw@panix.com>
4475
4476 * sysdeps/arm/sysdep.h
4477 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4478
4479 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4480 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4481 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4482 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4483 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4484 * sysdeps/arm/armv6t2/strlen.S
4485 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4486 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4487 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4488 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4489 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4490 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4491
4492 2017-05-20 Zack Weinberg <zackw@panix.com>
4493
4494 Remove the NaCl port.
4495 * sysdeps/arm/nacl: Remove directory and contents.
4496 * sysdeps/nacl: Remove directory and contents.
4497 * abi-tags: Remove .*-.*-nacl.* entry.
4498
4499 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4500
4501 * manual/errno.texi: Convert @comment-based errno documentation to
4502 @errno.
4503 * manual/macros.texi (@errno): New macro. Consolidate errors,
4504 their values, and messages, adding the error string to the Concept
4505 Index. Provide a warning in the comment about external (to the
4506 manual) dependencies.
4507 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4508 * sysdeps/mach/hurd/errnos.awk: Likewise.
4509
4510 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4511
4512 * bits/ss_flags.h: New file.
4513 * bits/types/stack_t.h: Likewise.
4514 * include/bits/types/struct_sigstack.h: Likewise.
4515 * signal/bits/types/struct_sigstack.h: Likewise.
4516 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4517 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4518 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4519 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4520 bits/types/stack_t.h and bits/ss_flags.h.
4521 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4522 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4523 <bits/ss_flags.h>.
4524 * bits/sigstack.h (struct sigstack): Remove.
4525 (stack_t): Likewise.
4526 (SS_ONSTACK): Likewise.
4527 (SS_DISABLE): Likewise.
4528 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4529 (struct sigstack): Likewise.
4530 (stack_t): Likewise.
4531 (SS_ONSTACK): Likewise.
4532 (SS_DISABLE): Likewise.
4533 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4534 Likewise.
4535 (stack_t): Likewise.
4536 (SS_ONSTACK): Likewise.
4537 (SS_DISABLE): Likewise.
4538 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4539 Likewise.
4540 (stack_t): Likewise.
4541 (SS_ONSTACK): Likewise.
4542 (SS_DISABLE): Likewise.
4543 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4544 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4545 Likewise.
4546 (stack_t): Likewise.
4547 (SS_ONSTACK): Likewise.
4548 (SS_DISABLE): Likewise.
4549 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4550 (struct sigstack): Likewise.
4551 (stack_t): Likewise.
4552 (SS_ONSTACK): Likewise.
4553 (SS_DISABLE): Likewise.
4554 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4555 Likewise.
4556 (stack_t): Likewise.
4557 (SS_ONSTACK): Likewise.
4558 (SS_DISABLE): Likewise.
4559 * sysdeps/arm/sys/ucontext.h: Include
4560 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4561 <bits/ss_flags.h>.
4562 * sysdeps/generic/sys/ucontext.h: Likewise.
4563 * sysdeps/i386/sys/ucontext.h: Likewise.
4564 * sysdeps/m68k/sys/ucontext.h: Likewise.
4565 * sysdeps/mips/sys/ucontext.h: Likewise.
4566 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4567 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4568 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4569 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4570 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4571 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4572 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4573 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4574 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4576 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4577 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4578 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4579 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4580 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4581
4582 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4583
4584 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4585 "edx + ecx - 16" to avoid possible addition overflow.
4586 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4587
4588 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4589
4590 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4591 (CFLAGS-splice.c): Likewise.
4592 (CFLAGS-open_by_handle_at.c): Likewise.
4593 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4594 (CFLAGS-splice.c): Likewise.
4595 (CFLAGS-open_by_handle_at.c): Likewise.
4596
4597 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4598
4599 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4600 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4601 <ldbl-compat-choose.h>.
4602 (maybe_long_double_symbol): New macro.
4603 [!declare_mgen_alias] (declare_mgen_alias): Use
4604 maybe_long_double_symbol.
4605 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4606 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4607 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4609 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4610 * Makerules [$(build-shared) = yes && !avoid-generated]
4611 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4612 [$(build-shared) = yes && !avoid-generated]
4613 ($(common-objpfx)ldbl-compat-choose.h): New target.
4614
4615 * scripts/versions.awk: Generate first-versions.h.
4616 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4617 <first-versions.h>.
4618 (LDOUBLE_cabsl_libm_version): Remove macro.
4619 (LDOUBLE_cargl_libm_version): Likewise.
4620 (LDOUBLE_cimagl_libm_version): Likewise.
4621 (LDOUBLE_conjl_libm_version): Likewise.
4622 (LDOUBLE_creall_libm_version): Likewise.
4623 (LDOUBLE_cacosl_libm_version): Likewise.
4624 (LDOUBLE_cacoshl_libm_version): Likewise.
4625 (LDOUBLE_ccosl_libm_version): Likewise.
4626 (LDOUBLE_ccoshl_libm_version): Likewise.
4627 (LDOUBLE_casinl_libm_version): Likewise.
4628 (LDOUBLE_csinl_libm_version): Likewise.
4629 (LDOUBLE_casinhl_libm_version): Likewise.
4630 (LDOUBLE_csinhl_libm_version): Likewise.
4631 (LDOUBLE_catanl_libm_version): Likewise.
4632 (LDOUBLE_catanhl_libm_version): Likewise.
4633 (LDOUBLE_ctanl_libm_version): Likewise.
4634 (LDOUBLE_ctanhl_libm_version): Likewise.
4635 (LDOUBLE_cexpl_libm_version): Likewise.
4636 (LDOUBLE_clogl_libm_version): Likewise.
4637 (LDOUBLE_cprojl_libm_version): Likewise.
4638 (LDOUBLE_csqrtl_libm_version): Likewise.
4639 (LDOUBLE_cpowl_libm_version): Likewise.
4640 (LDOUBLE_clog10l_libm_version): Likewise.
4641 (LDOUBLE___clog10l_libm_version): Likewise.
4642 (LDOUBLE_fdiml_libm_version): Likewise.
4643 (LDOUBLE_fmaxl_libm_version): Likewise.
4644 (LDOUBLE_fminl_libm_version): Likewise.
4645 (LDOUBLE_ilogbl_libm_version): Likewise.
4646 (LDOUBLE_nanl_libm_version): Likewise.
4647 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4648 FIRST_VERSION_libm_* macros.
4649 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4650 * Makerules [$(build-shared) = yes && !avoid-generated]
4651 (before-compile): Add $(common-objpfx)first-versions.h.
4652 [$(build-shared) = yes && !avoid-generated]
4653 ($(common-objpfx)first-versions.h): New target.
4654 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4655 building $(common-objpfx)versions.stmp.
4656
4657 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4658
4659 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4660 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4661 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4662 auto-generation list.
4663
4664 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4665 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4666 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4667 from auto-generation list.
4668
4669 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4670 open_by_handle_at.
4671 (CFLAGS-open_by_handle_at.c): New flag.
4672 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4673 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4674 file.
4675 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4676
4677 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4678 (CFLAGS-splice.c): New flag.
4679 * sysdeps/unix/sysv/linux/splice.c: New file.
4680 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4681 auto-generation syscall list.
4682 * misc/Makefile (CFLAGS-splice.c): New rule.
4683
4684 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4685 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4686 auto-generation syscall list.
4687 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4688 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4689
4690 * misc/Makefile (CFLAGS-fsync.c): New flag.
4691 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4692 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4693 syscall list.
4694 * sysdeps/unix/sysv/linux/fsync.c: New file.
4695 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4696 (__errno_location): Remove.
4697
4698 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4699 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4700 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4701 list.
4702 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4703
4704 * misc/Makefile (CFLAGS-msync.c): New rule.
4705 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4706 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4707 * sysdeps/unix/sysv/linux/msync.c: New file.
4708
4709 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4710 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4711 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4712 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4713 (CFLAGS-sigsuspend.c): Remove rule.
4714
4715 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4716 (CFLAGS-tee.c): New rule.
4717 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4718 auto-generated list.
4719 * sysdeps/unix/sysv/linux/tee.c: New file.
4720
4721 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4722 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4723 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4724 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4725 auto-generated list.
4726
4727 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4728 auto-generated list.
4729 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4731 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4732 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4733 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4734
4735 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4736 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4737 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4738 (__NR_pause): Undefine.
4739 * sysdeps/unix/sysv/linux/pause.c: New file.
4740 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4741 auto-generation list.
4742 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4743 Remove rule.
4744 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4745
4746 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4749 comments.
4750
4751 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4752
4753 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4754 LD_HWCAP_MASK.
4755
4756 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4757
4758 * manual/conf.texi: Convert @tables of annotated @items to
4759 @vtables.
4760 * manual/lang.texi: Likewise.
4761 * manual/pattern.texi: Likewise.
4762 * manual/resource.texi: Likewise.
4763 * manual/socket.texi: Likewise.
4764
4765 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4766
4767 * manual/crypt.texi: Move a comment out of an @*x list.
4768 * manual/filesys.texi: Refactor some comments, one of which looks
4769 like a standard. Fix incorrectly separated standards.
4770 * manual/locale.texi: Invert an annotation.
4771 * manual/resource.texi: Fix incorrectly separated standards.
4772 * manual/time.texi: Refactor a @vtable that obscures an
4773 annotation.
4774 * manual/users.texi: Refactor multiple headers to occupy a single
4775 @comment.
4776
4777 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4778
4779 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4780 (sysdep_routines): Add memcmp-power8.
4781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4782 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4783 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4784 (memcmp): Add __memcmp_power8 to ifunc list.
4785 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4786 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4787
4788 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4789 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4790
4791 * math/math.h (__MATH_TG): Extend the conditions to add
4792 _Float128 support.
4793 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4794
4795 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4796
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4798 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4799 s_cosf-ppc64.
4800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4803 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4804
4805 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4806
4807 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4808 (gen-libm-calls): Add e_exp2F to use the template.
4809 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4810 * math/e_exp2_template.c: New file, renamed from
4811 math/e_exp2l.c, and made into a template.
4812 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4813
4814 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4815
4816 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4817 TUNABLE_TYPE_UINT_64.
4818 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4819 Simplify computation of overflow.
4820 (tunable_set_val_if_valid_range_signed,
4821 tunable_set_val_if_valid_range_unsigned): Remove and replace
4822 with this...
4823 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4824 (tunable_initialize): Adjust. Add uint64_t support.
4825 (__tunable_set_val): Add uint64_t support.
4826 * README.tunables: Document it.
4827
4828 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4829 dl-tunables.list.
4830 * README.tunables: Document it.
4831
4832 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4833
4834 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4835 * sysdeps/posix/preadv64.c: Likewise.
4836 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4837 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4838 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4839 * sysdeps/posix/pwritev64.c: Likewise.
4840 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4841 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4842 * sysdeps/posix/preadv_common.c: New file.
4843 * sysdeps/posix/pwritev_common.c: Likewise.
4844
4845 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4846
4847 * sysdeps/generic/math-type-macros-float128.h
4848 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4849 wrapper templates.
4850
4851 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4852 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4853
4854 * include/complex.h (__kernel_casinhf128): New declaration.
4855 * include/float.h: New file.
4856 * include/math.h (__finitef128): Add a hidden def.
4857 (__isinff128): Likewise.
4858 (__isnanf128): Likewise.
4859 (__fpclassify): Likewise.
4860 (__issignalling): Likewise.
4861 (__expf128): Likewise.
4862 (__expm1f128): Likewise.
4863
4864 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4865 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4866 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4867
4868 * sysdeps/generic/math-type-macros-float128.h: New file.
4869
4870 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4871 math_private_calls.h for _Float128.
4872 (__isinff128): New inline implementation used when GCC < 7.0,
4873 since in this case __builtin_isinf_sign is broken.
4874 (fabsf128): New inline implementation that calls the builtin.
4875 (__EXPR_FLT128): New macro.
4876 (min_of_type): Optionally include _Float128 types too.
4877
4878 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4879 Declare for _Float128.
4880 (__kernel_rem_pio2): Likewise.
4881
4882 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4883 (__DECL_SIMD_sincos_disablef128): New macro.
4884
4885 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4886
4887 * math/math.h: Include bits/math-finite.h for float128.
4888 (__MATH_DECLARING_FLOATN): Define to control declaration of
4889 float128 functions.
4890 * math/bits/math-finite.h (pow10): Do not declare for float128.
4891 (gamma): Likewise.
4892 (scalb): Likewise.
4893
4894 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4895 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4896
4897 * bits/floatn.h: New file.
4898 * bits/huge_val_flt128.h: Likewise.
4899
4900 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4901 (__DECL_SIMD_sinf128): Likewise.
4902 (__DECL_SIMD_sincosf128): Likewise.
4903 (__DECL_SIMD_logf128): Likewise.
4904 (__DECL_SIMD_expf128): Likewise.
4905 (__DECL_SIMD_powf128): Likewise.
4906
4907 * math/Makefile (headers): Install bits/floatn.h and
4908 bits/huge_val_flt128.h.
4909
4910 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4911 defined.
4912
4913 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4914 (isnan, gamma, nexttoward, scalb): Only define if not
4915 __MATH_DECLARING_FLOATN.
4916 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4917 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4918 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4919 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4920
4921 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4922 Include bits/cmathcalls.h to get the declarations of _Float128
4923 versions of complex functions.
4924 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4925 Define macro.
4926
4927 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4928 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4929 get the declarations of _Float128 versions of math functions.
4930 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4931 _FloatN types.
4932 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4933 is type-generic, so use it without __MATH_TG.
4934 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4935 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4936 _Float128 type and GCC < 7.0, otherwise use the builtin.
4937 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4938 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4939 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4940 New _GNU_SOURCE enabled macros.
4941
4942 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4943
4944 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4945 (signbitf): Likewise.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4947 Likewise.
4948 (signbitl): Likewise.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4950 Likewise.
4951 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4952 (signbitl): Likewise.
4953 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4954
4955 2017-05-12 Florian Weimer <fweimer@redhat.com>
4956
4957 [BZ #21386]
4958 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4959 parent PID. The assertion in the child is incorrect with PID
4960 namespaces.
4961
4962 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4963
4964 * sysdeps/unix/sysv/linux/kernel-features.h
4965 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4966 * sysdeps/unix/sysv/linux/internal_statvfs.c
4967 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4968
4969 2017-05-11 Zack Weinberg <zackw@panix.com>
4970
4971 * Makerules: New subdir configuration variables 'tests-internal'
4972 and 'test-internal-extras'. Test files in these categories will
4973 still be compiled with MODULE_NAME=nonlib. Test files in the
4974 existing categories (tests, xtests, test-srcs, test-extras) are
4975 now compiled with MODULE_NAME=testsuite.
4976 New subdir configuration variable 'modules-names-tests'. Files
4977 which are in both 'modules-names' and 'modules-names-tests' will
4978 be compiled with MODULE_NAME=testsuite instead of
4979 MODULE_NAME=extramodules.
4980 (gen-as-const-headers): Move to tests-internal.
4981 (do-tests-clean, common-mostlyclean): Support tests-internal.
4982 * Makeconfig (built-modules): Add testsuite.
4983 * Makefile: Change libof-check-installed-headers-c and
4984 libof-check-installed-headers-cxx to 'testsuite'.
4985 * Rules: Likewise. Support tests-internal.
4986 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4987 Remove extra-modules.mk.
4988
4989 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4990 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4991 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4992 very top of the file and rationalize their order.
4993 If MODULE_NAME is not defined at all, define IS_IN to always be
4994 false, and don't define _ISOMAC.
4995 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4996 true, define _ISOMAC and suppress everything else in this file,
4997 starting with the inclusion of config.h.
4998 Do check for inappropriate definitions of __OPTIMIZE__ and
4999 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5000 Correct some out-of-date commentary.
5001
5002 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5003 and _Mlong_double_ before including math.h.
5004 * include/string.h: If _ISOMAC is defined, don't expose
5005 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5006 location.
5007
5008 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5009 * include/time.h, include/unistd.h, include/wchar.h: No need to
5010 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5011
5012 * misc/sys/cdefs.h (__NTHNL): New macro.
5013 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5014 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5015
5016 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5017 defined, for HAVE_TUNABLES.
5018 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5019 * intl/tst-gettext2.c: Provide own definition of N_.
5020 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5021 * math/test-signgam-main.c: No need to define _ISOMAC.
5022 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5023 * stdlib/tst-strtod1i.c: ...this new file.
5024 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5025 Split tests of __strtod_internal to...
5026 * stdlib/tst-strtod5i.c: ...this new file.
5027 * string/test-string.h: Include stdint.h. Duplicate definition of
5028 inhibit_loop_to_libcall here (from libc-symbols.h).
5029 * string/test-strstr.c: Provide dummy definition of
5030 libc_hidden_builtin_def when including strstr.c.
5031 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5032 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5033 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5034 Don't include init-arch.h.
5035 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5036 Don't include init-arch.h.
5037
5038 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5039 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5040 unload, unload2, circleload1, neededtest, neededtest2,
5041 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5042 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5043 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5044 ifunc tests to tests-internal.
5045 Don't add $(modules-names) to test-extras.
5046 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5047 Add tst-deadline to tests-static-internal.
5048 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5049 tests-internal.
5050 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5051 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5052 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5053 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5054 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5055 Link tests-internal with libpthread also.
5056 Don't add $(modules-names) to test-extras.
5057 * nss/Makefile: Move tst-field to tests-internal.
5058 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5059 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5060 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5061 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5062 tests-internal.
5063 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5064 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5065 test-get_hwcap-static to tests-internal.
5066 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5067 tests-internal.
5068 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5069 modules-names-tests.
5070
5071 2017-05-11 Zack Weinberg <zackw@panix.com>
5072
5073 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5074 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5075 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5076 _IO_funlockfile, and _IO_ftrylockfile. Only define
5077 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5078 already defined.
5079 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5080 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5081 appropriately.
5082 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5083 Define _IO_lock_t_defined after defining _IO_lock_t.
5084
5085 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5086
5087 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5088 void* for argument type and use VDSO_SYMBOL macro.
5089 (is_sigtramp_address_rt): Likewise.
5090 (__backtrace): Setup expected frame pointer address for signal
5091 handling.
5092 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5093 void* for argumetn type and use VSDO_SYMBOL macro.
5094 (__backtrace): Setup expected frame pointer address for signal
5095 handling.
5096
5097 * sysdeps/unix/sysv/linux/writev.c: New file.
5098
5099 * sysdeps/unix/sysv/linux/readv.c: New file.
5100
5101 * include/unistd.h (write): Add hidden proto.
5102 * io/Makefile (CFLAGS-write.c): New define.
5103 * nptl/Makefile (CFLAGS-write.c): Likewise.
5104 * sysdeps/unix/sysv/linux/write.c: New file.
5105
5106 [BZ #21428]
5107 * include/unistd.h (read): Add hidden proto.
5108 * io/Makefile (CFLAGS-read.c): New define.
5109 * nptl/Makefile (CFLAGS-read.c): Likewise.
5110 * sysdeps/unix/sysv/linux/read.c: New file.
5111
5112 * io/Makefile (CFLAGS-creat.c): New rule.
5113 (CFLAGS-creat64.c): Likewise.
5114 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5115 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5116 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5117 * sysdeps/unix/sysv/linux/creat.c: New file.
5118 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5119 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5120 auto-generated list.
5121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5122
5123 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5124 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5125 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5126 * sysdeps/unix/sysv/linux/open.c: New file.
5127 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5128 iff __WORDSIZE != 64 and use __NR_openat when available.
5129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5130 from auto-generated list.
5131
5132 * nptl/Makefile (CFLAGS-close.c): New flag.
5133 * sysdeps/unix/sysv/linux/close.c: New file.
5134
5135 2017-05-11 DJ Delorie <dj@redhat.com>
5136
5137 * MAINTAINERS: New. Points to wiki.
5138
5139 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5140
5141 * scripts/gen-tunables.awk: Add attribute_relro to
5142 tunable_list.
5143
5144 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5145
5146 [BZ #21457]
5147 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5148 (R1): Likewise.
5149 (R2): Likewise.
5150 (R3): Likewise.
5151 (R4): Likewise.
5152 (R5): Likewise.
5153 (R6): Likewise.
5154 (R7): Likewise.
5155 (R8): Likewise.
5156 (R9): Likewise.
5157 (R10): Likewise.
5158 (R11): Likewise.
5159 (R12): Likewise.
5160 (R13): Likewise.
5161 (R14): Likewise.
5162 (R15): Likewise.
5163 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5164 (REG_FS): Likewise.
5165 (REG_ES): Likewise.
5166 (REG_DS): Likewise.
5167 (REG_EDI): Likewise.
5168 (REG_ESI): Likewise.
5169 (REG_EBP): Likewise.
5170 (REG_ESP): Likewise.
5171 (REG_EBX): Likewise.
5172 (REG_EDX): Likewise.
5173 (REG_ECX): Likewise.
5174 (REG_EAX): Likewise.
5175 (REG_TRAPNO): Likewise.
5176 (REG_ERR): Likewise.
5177 (REG_EIP): Likewise.
5178 (REG_CS): Likewise.
5179 (REG_EFL): Likewise.
5180 (REG_UESP): Likewise.
5181 (REG_SS): Likewise.
5182 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5183 (R_D1): Likewise.
5184 (R_D2): Likewise.
5185 (R_D3): Likewise.
5186 (R_D4): Likewise.
5187 (R_D5): Likewise.
5188 (R_D6): Likewise.
5189 (R_D7): Likewise.
5190 (R_A0): Likewise.
5191 (R_A1): Likewise.
5192 (R_A2): Likewise.
5193 (R_A3): Likewise.
5194 (R_A4): Likewise.
5195 (R_A5): Likewise.
5196 (R_A6): Likewise.
5197 (R_A7): Likewise.
5198 (R_SP): Likewise.
5199 (R_PC): Likewise.
5200 (R_PS): Likewise.
5201 (fpregset_t): Likewise.
5202 (MCONTEXT_VERSION): Likewise.
5203 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5204 (CTX_AT): Likewise.
5205 (CTX_V0): Likewise.
5206 (CTX_V1): Likewise.
5207 (CTX_A0): Likewise.
5208 (CTX_A1): Likewise.
5209 (CTX_A2): Likewise.
5210 (CTX_A3): Likewise.
5211 (CTX_T0): Likewise.
5212 (CTX_T1): Likewise.
5213 (CTX_T2): Likewise.
5214 (CTX_T3): Likewise.
5215 (CTX_T4): Likewise.
5216 (CTX_T5): Likewise.
5217 (CTX_T6): Likewise.
5218 (CTX_T7): Likewise.
5219 (CTX_S0): Likewise.
5220 (CTX_S1): Likewise.
5221 (CTX_S2): Likewise.
5222 (CTX_S3): Likewise.
5223 (CTX_S4): Likewise.
5224 (CTX_S5): Likewise.
5225 (CTX_S6): Likewise.
5226 (CTX_S7): Likewise.
5227 (CTX_T8): Likewise.
5228 (CTX_T9): Likewise.
5229 (CTX_K0): Likewise.
5230 (CTX_K1): Likewise.
5231 (CTX_GP): Likewise.
5232 (CTX_SP): Likewise.
5233 (CTX_S8): Likewise.
5234 (CTX_RA): Likewise.
5235 (CTX_MDLO): Likewise.
5236 (CTX_MDHI): Likewise.
5237 (CTX_CAUSE): Likewise.
5238 (CTX_EPC): Likewise.
5239 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5240 inclusion of <sys/procfs.h> on [__USE_MISC].
5241 (greg_t): Condition on [__USE_MISC].
5242 (gregset_t): Likewise.
5243 (fpregset_t): Likewise.
5244 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5245 (NGREG): Likewise.
5246 (gregset_t): Likewise.
5247 (REG_R0): Likewise.
5248 (REG_R1): Likewise.
5249 (REG_R2): Likewise.
5250 (REG_R3): Likewise.
5251 (REG_R4): Likewise.
5252 (REG_R5): Likewise.
5253 (REG_R6): Likewise.
5254 (REG_R7): Likewise.
5255 (REG_R8): Likewise.
5256 (REG_R9): Likewise.
5257 (REG_R10): Likewise.
5258 (REG_R11): Likewise.
5259 (REG_R12): Likewise.
5260 (REG_R13): Likewise.
5261 (REG_R14): Likewise.
5262 (REG_R15): Likewise.
5263 (struct _libc_fpstate): Likewise.
5264 (fpregset_t): Likewise.
5265 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5266 (NFPREG): Likewise.
5267 (gregset_t): Likewise.
5268 (fpregset_t): Likewise.
5269 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5270 (R_D1): Likewise.
5271 (R_D2): Likewise.
5272 (R_D3): Likewise.
5273 (R_D4): Likewise.
5274 (R_D5): Likewise.
5275 (R_D6): Likewise.
5276 (R_D7): Likewise.
5277 (R_A0): Likewise.
5278 (R_A1): Likewise.
5279 (R_A2): Likewise.
5280 (R_A3): Likewise.
5281 (R_A4): Likewise.
5282 (R_A5): Likewise.
5283 (R_A6): Likewise.
5284 (R_A7): Likewise.
5285 (R_SP): Likewise.
5286 (R_PC): Likewise.
5287 (R_PS): Likewise.
5288 (fpregset_t): Likewise.
5289 (MCONTEXT_VERSION): Likewise.
5290 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5293 (REG_R1): Likewise.
5294 (REG_R2): Likewise.
5295 (REG_R3): Likewise.
5296 (REG_R4): Likewise.
5297 (REG_R5): Likewise.
5298 (REG_R6): Likewise.
5299 (REG_R7): Likewise.
5300 (REG_R8): Likewise.
5301 (REG_R9): Likewise.
5302 (REG_R10): Likewise.
5303 (REG_R11): Likewise.
5304 (REG_R12): Likewise.
5305 (REG_R13): Likewise.
5306 (REG_R14): Likewise.
5307 (REG_R15): Likewise.
5308 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5309 of <arch/abi.h> on [__USE_MISC].
5310 (greg_t): Condition on [__USE_MISC].
5311 (NGREG): Likewise.
5312 (gregset_t): Likewise.
5313
5314 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5315
5316 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5317 (__pthread_rwlock_arch_t): Remove __data definition.
5318 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5319 (__pthread_rwlock_arch_t): Likewise.
5320
5321 2017-05-11 Florian Weimer <fweimer@redhat.com>
5322
5323 * resolv/inet_pton.c: Reformat in GNU style. Remove
5324 internal_function on static functions.
5325
5326 2017-05-11 Florian Weimer <fweimer@redhat.com>
5327
5328 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5329 from format_ai_flags.
5330 (format_ai_flags): New function. Incorporate flag formatting code
5331 from format_ai_one.
5332 (format_ai_canonname): New function.
5333 (format_ai_one): Remove flags parameter.
5334 (format_ai_family): Likewise.
5335 (support_format_addrinfo): Call format_ai_flags,
5336 format_ai_canonname.
5337 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5338 check_ai.
5339 (check_ai): Call check_ai_hints.
5340 (do_test): Add AI_CANONNAME tests.
5341
5342 2017-05-11 Florian Weimer <fweimer@redhat.com>
5343
5344 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5345 (gaih_inet): Likewise.
5346
5347 2017-05-10 Andreas Schwab <schwab@suse.de>
5348
5349 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5350 (main): Rename to do_test and make static.
5351
5352 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5353
5354 * string/rawmemchr.c: Include <libc-diag.h>.
5355 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5356 with size (size_t)-1.
5357
5358 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5359
5360 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5361 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5362 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5363
5364 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5365 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5366 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5367 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5368 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5369 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5370 * sysdeps/unix/sysv/linux/kernel-features.h
5371 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5372 socket syscalls.
5373 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5375 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5376 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5377 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5379 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5380 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5381 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5382 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5383 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5385 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5386 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5387 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5388
5389 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5390
5391 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5392 thread-shared-types.h.
5393 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5394 specific thread definition.
5395 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5396 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5397 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5398 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5399 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5400 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5401 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5402 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5403 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5404 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5405 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5406 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5407 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5408 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5409 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5410 thread definition between POSIX and C11.
5411 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5412 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5413 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5414 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5415 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5416 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5417 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5418 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5419 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5420 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5421 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5422 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5423 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5424 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5425 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5426 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5427 definitions shared across all architectures.
5428
5429 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5430
5431 * sysdeps/unix/sysv/linux/kernel-features.h
5432 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5433 (__ASSUME_SENDMMSG): Likewise.
5434 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5435 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5436 sendmmsg syscall if that can be assumed to be present, socketcall
5437 otherwise, with no fallback for runtime failure.
5438
5439 * sysdeps/unix/sysv/linux/kernel-features.h
5440 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5441 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5442 (__ASSUME_RECVMMSG): Likewise.
5443 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5444 recvmmsg syscall if it can be assumed to be present, socketcall
5445 otherwise, with no fallback for runtime failure.
5446
5447 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5448 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5449
5450 * bits/libc-header-start.h:
5451 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5452 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5453 * manual/creature.texi: Likewise.
5454
5455 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5456 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5457
5458 * math/Makefile:
5459 (type-float128-suffix): New variable
5460 (type-float128-routines): Likewise
5461 (type-float128-yes): Likewise
5462 (types): Append float128 if supported
5463 (types-basic): New variable to control the use of templates for
5464 float, double, and long double, but not for float128 or newer types.
5465 (type-basic-foreach): Likewise.
5466
5467 * sysdeps/ieee754/float128/Makeconfig: New file.
5468 * sysdeps/ieee754/float128/Versions: New file.
5469
5470 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5471
5472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5473 Remove macro.
5474 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5475 prlimit64 is always available and does not give an ENOSYS error.
5476 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5477 unconditional.
5478 [!__NR_prlimit64]: Remove conditional code.
5479 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5480 prlimit64 is always available and does not give an ENOSYS error.
5481 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5482
5483 2017-05-09 Zack Weinberg <zackw@panix.com>
5484
5485 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5486
5487 2017-05-09 Florian Weimer <fweimer@redhat.com>
5488
5489 [BZ #21474]
5490 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5491 (__res_maybe_init): Likewise.
5492
5493 2017-05-09 Zack Weinberg <zackw@panix.com>
5494
5495 * extra-modules.mk: Delete file.
5496 * cppflags-iterator.mk: Rename to ...
5497 * libof-iterator.mk: ...this. Adjust comments.
5498
5499 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5500 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5501 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5502 Use libof-iterator.mk instead of cppflags-iterator.mk or
5503 extra-modules.mk.
5504
5505 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5506 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5507
5508 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5509
5510 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5511
5512 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5513
5514 * stdio-common/vfprintf.c (EXTSIZ): Define.
5515 (vfprintf): Use EXTSIZ.
5516 (printf_positional): Likewise.
5517
5518 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5519
5520 * sysdeps/unix/sysv/linux/kernel-features.h
5521 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5522 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5523 <kernel-features.h>.
5524 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5525
5526 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5527 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5528
5529 2017-05-08 Florian Weimer <fweimer@redhat.com>
5530
5531 Prevent multiple deletion of temporary files.
5532 * support/temp_file.c (struct temp_name_list): Add owner member.
5533 (add_temp_file): Record owner.
5534 (support_delete_temp_files): Delete file only if owner matches.
5535 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5536 (do_prepare): Use create_temp_file instead of add_temp_file.
5537 Initialize temp_fd1, temp_fd2.
5538 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5539 framework remove the temporary files.
5540 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5541 (do_prepare): Use create_temp_file instead of add_temp_file.
5542 Initialize temp_fd1, temp_fd2, temp_fd3.
5543 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5544 the test framework remove the temporary files.
5545 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5546 deletion.
5547 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5548 temporary directory. It is removed by the test framework.
5549 * dirent/tst-scandir.c (do_test): Likewise.
5550
5551 2017-05-08 Florian Weimer <fweimer@redhat.com>
5552
5553 Delete temporary files in LIFO order.
5554 * support/temp_file.c (struct temp_name_list): Replace q member
5555 with next.
5556 (add_temp_file): Add new file to front of linked list.
5557 (support_delete_temp_files): Use next member.
5558 (support_print_temp_files): Likewise.
5559
5560 2017-05-08 Florian Weimer <fweimer@redhat.com>
5561
5562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5563 sys/ultrasound.h.
5564 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5565
5566 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5567
5568 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5569 Remove.
5570 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5571 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5572 (arch_minimum_kernel): Remove.
5573 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5574 * README: Update statement about Linux kernel requirements.
5575
5576 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5577
5578 * manual/llio.texi: Add preadv and pwritev documentation.
5579
5580 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5581
5582 [BZ #21455]
5583 * bits/stdint-intn.h: New file.
5584 * bits/stdint-uintn.h: Likewise.
5585 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5586 bits/stdint-uintn.h.
5587 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5588 <stdint.h>.
5589 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5590 (__int8_t_defined): Do not define here.
5591 (int8_t): Likewise.
5592 (int16_t): Likewise.
5593 (int32_t): Likewise.
5594 (int64_t): Likewise.
5595 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5596 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5597 <stdint.h>.
5598 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5599 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5600 <bits/stdint-uintn.h>.
5601 (int8_t): Do not define here.
5602 (int16_t): Likewise.
5603 (int32_t): Likewise.
5604 (int64_t): Likewise.
5605 (uint8_t): Likewise.
5606 (uint16_t): Likewise.
5607 (uint32_t): Likewise.
5608 (uint64_t): Likewise.
5609 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5610 variable.
5611 (test-xfail-XPG42/netdb.h/conform): Likewise.
5612 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5613 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5614 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5615 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5616
5617 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5618
5619 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5620 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5621 the above.
5622 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5624
5625 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #21445]
5628 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5629
5630 [BZ #21457]
5631 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5632 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5633 __glibc_reserved1.
5634 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5635 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5636 (struct _fpxreg): Likewise.
5637 [!__x86_64__] (struct _fpstate): Rename field reserved to
5638 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5639 [__x86_64__] (struct _fpstate): Rename field padding to
5640 __glibc_reserved1.
5641 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5642 Rename field reserved2 to __glibc_reserved2.
5643 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5644 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5645 __glibc_reserved1.
5646 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5647 __glibc_reserved1.
5648
5649 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5650
5651 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5652 variable name.
5653
5654 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5655
5656 [BZ #21391]
5657 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5658 Only call init_cpu_features.
5659 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5660 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5661 * sysdeps/i386/dl-procinfo.h: Removed.
5662 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5663 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5664 <sysdeps/x86/dl-procinfo.h>.
5665 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5666 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5667 Include <sysdeps/x86/dl-procinfo.h> instead of
5668 <sysdeps/generic/dl-procinfo.h>.
5669 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5670 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5671 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5672 (bit_cpu_MOVBE): Likewise.
5673 (bit_cpu_BMI1): Likewise.
5674 (bit_cpu_BMI2): Likewise.
5675 (index_cpu_BMI1): Likewise.
5676 (index_cpu_BMI2): Likewise.
5677 (index_cpu_LZCNT): Likewise.
5678 (index_cpu_MOVBE): Likewise.
5679 (index_cpu_POPCNT): Likewise.
5680 (reg_BMI1): Likewise.
5681 (reg_BMI2): Likewise.
5682 (reg_LZCNT): Likewise.
5683 (reg_MOVBE): Likewise.
5684 (reg_POPCNT): Likewise.
5685 * sysdeps/x86/dl-hwcap.h: New file.
5686 * sysdeps/x86/dl-procinfo.h: Likewise.
5687 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5688 (_dl_x86_platforms): Likewise.
5689
5690 2017-05-03 DJ Delorie <dj@redhat.com>
5691
5692 [BZ #21411]
5693 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5694
5695 2017-05-03 Phil Blundell <pb@pbcl.net>
5696
5697 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5698 comments.
5699
5700 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5701
5702 [BZ #20116]
5703 * nptl/pthread_create.c: Expand comments to describe
5704 semaphore-like and mutex-like uses of PD->lock.
5705
5706 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5707
5708 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5709 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5710 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5711 auto-generation list.
5712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5713 epoll_wait.
5714 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5715 Remove epoll_wait.
5716
5717 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5718 osf_select.
5719 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5720 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5721 osf_select from auto-generation list.
5722 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5724 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5725 * sysdeps/unix/sysv/linux/select.c: New file.
5726
5727 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5728 * sysdeps/unix/sysv/linux/poll.c: New file.
5729 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5730 auto-generation list.
5731
5732 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5733
5734 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5735 New macro.
5736
5737 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5738
5739 [BZ #21179]
5740 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5741 R_SPARC_REGISTER relocations.
5742
5743 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5744
5745 * include/unistd.h (__pread): Add libc_hidden_proto.
5746 (__pread64): Likewise.
5747 (__pwrite): Likewise.
5748 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5749 (__pread64): Remove.
5750 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5751 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5752 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5753
5754 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5755
5756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5757
5758 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5759
5760 * nptl/tst-cancel4-common.c: Use libsupport.
5761 * nptl/tst-cancel4-common.h: Likewise.
5762 * nptl/tst-cancel4.c (tf_read): Likewise.
5763 (tf_readv): Likewise.
5764 (tf_write): Likewise.
5765 (tf_writev): Likewise.
5766 (tf_sleep): Likewise.
5767 (tf_usleep): Likewise.
5768 (tf_nanosleep): Likewise.
5769 (tf_select): Likewise.
5770 (tf_pselect): Likewise.
5771 (tf_poll): Likewise.
5772 (tf_ppoll): Likewise.
5773 (tf_wait): Likewise.
5774 (tf_waitpid): Likewise.
5775 (tf_waitid): Likewise.
5776 (tf_sigpause): Likewise.
5777 (tf_sigsuspend): Likewise.
5778 (tf_sigwait): Likewise.
5779 (tf_sigwaitinfo): Likewise.
5780 (tf_sigtimedwait): Likewise.
5781 (tf_pause): Likewise.
5782 (tf_accept): Likewise.
5783 (tf_send): Likewise.
5784 (tf_recv): Likewise.
5785 (tf_recvfrom): Likewise.
5786 (tf_recvmsg): Likewise.
5787 (tf_open): Likewise.
5788 (tf_close): Likewise.
5789 (tf_pread): Likewise.
5790 (tf_pwrite): Likewise.
5791 (tf_preadv): Likewise.
5792 (tf_pwritev): Likewise.
5793 (tf_fsync): Likewise.
5794 (tf_fdatasync): Likewise.
5795 (tf_msync): Likewise.
5796 (tf_sendto): Likewise.
5797 (tf_sendmsg): Likewise.
5798 (tf_creat): Likewise.
5799 (tf_connect): Likewise.
5800 (tf_tcdrain): Likewise.
5801 (tf_msgrcv): Likewise.
5802 (tf_msgsnd): Likewise.
5803 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5804 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5805
5806 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5807 expected arguments.
5808 (do_test): Adapt to use libsupport.
5809
5810 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5811
5812 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5813
5814 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5815 (PF_MAX): Set to 44.
5816 (AF_SMC): New macro.
5817
5818 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5819 kernel version to 4.11.
5820
5821 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5822
5823 [BZ #21280]
5824 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5825 signal of subnormals and adjust the exponent of power of 2 down
5826 when low part has opposite sign.
5827
5828 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5829
5830 * sysdeps/powerpc/powerpc64le/Implies: New file.
5831 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5832 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5833 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5834 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5835 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5836 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5837 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5838 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5839 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5840 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5841 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5842 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5843 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5844 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5845 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5846 * sysdeps/powerpc/preconfigure: New file.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5849
5850 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5851
5852 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5853 inclusion.
5854 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5855 Remove.
5856
5857 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5858
5859 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5860 (XPG3): Rename standard to XPG4.
5861 * conform/Makefile: Likewise.
5862 * conform/list-header-symbols.pl: Likewise.
5863 * conform/data/aio.h-data: Likewise.
5864 * conform/data/arpa/inet.h-data: Likewise.
5865 * conform/data/complex.h-data: Likewise.
5866 * conform/data/ctype.h-data: Likewise.
5867 * conform/data/dlfcn.h-data: Likewise.
5868 * conform/data/fcntl.h-data: Likewise.
5869 * conform/data/fenv.h-data: Likewise.
5870 * conform/data/float.h-data: Likewise.
5871 * conform/data/fmtmsg.h-data: Likewise.
5872 * conform/data/ftw.h-data: Likewise.
5873 * conform/data/grp.h-data: Likewise.
5874 * conform/data/inttypes.h-data: Likewise.
5875 * conform/data/iso646.h-data: Likewise.
5876 * conform/data/langinfo.h-data: Likewise.
5877 * conform/data/libgen.h-data: Likewise.
5878 * conform/data/limits.h-data: Likewise.
5879 * conform/data/locale.h-data: Likewise.
5880 * conform/data/math.h-data: Likewise.
5881 * conform/data/mqueue.h-data: Likewise.
5882 * conform/data/ndbm.h-data: Likewise.
5883 * conform/data/net/if.h-data: Likewise.
5884 * conform/data/netdb.h-data: Likewise.
5885 * conform/data/netinet/in.h-data: Likewise.
5886 * conform/data/poll.h-data: Likewise.
5887 * conform/data/pthread.h-data: Likewise.
5888 * conform/data/pwd.h-data: Likewise.
5889 * conform/data/sched.h-data: Likewise.
5890 * conform/data/search.h-data: Likewise.
5891 * conform/data/semaphore.h-data: Likewise.
5892 * conform/data/signal.h-data: Likewise.
5893 * conform/data/spawn.h-data: Likewise.
5894 * conform/data/stdbool.h-data: Likewise.
5895 * conform/data/stdint.h-data: Likewise.
5896 * conform/data/stdio.h-data: Likewise.
5897 * conform/data/stdlib.h-data: Likewise.
5898 * conform/data/string.h-data: Likewise.
5899 * conform/data/strings.h-data: Likewise.
5900 * conform/data/stropts.h-data: Likewise.
5901 * conform/data/sys/mman.h-data: Likewise.
5902 * conform/data/sys/resource.h-data: Likewise.
5903 * conform/data/sys/select.h-data: Likewise.
5904 * conform/data/sys/socket.h-data: Likewise.
5905 * conform/data/sys/stat.h-data: Likewise.
5906 * conform/data/sys/statvfs.h-data: Likewise.
5907 * conform/data/sys/time.h-data: Likewise.
5908 * conform/data/sys/timeb.h-data: Likewise.
5909 * conform/data/sys/types.h-data: Likewise.
5910 * conform/data/sys/uio.h-data: Likewise.
5911 * conform/data/sys/un.h-data: Likewise.
5912 * conform/data/sys/wait.h-data: Likewise.
5913 * conform/data/syslog.h-data: Likewise.
5914 * conform/data/termios.h-data: Likewise.
5915 * conform/data/tgmath.h-data: Likewise.
5916 * conform/data/time.h-data: Likewise.
5917 * conform/data/ucontext.h-data: Likewise.
5918 * conform/data/unistd.h-data: Likewise.
5919 * conform/data/utmpx.h-data: Likewise.
5920 * conform/data/varargs.h-data: Likewise.
5921 * conform/data/wchar.h-data: Likewise.
5922 * conform/data/wctype.h-data: Likewise.
5923
5924 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5925
5926 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5927 version to 7 branch.
5928
5929 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5930
5931 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5932 earlyclobber to output operand of sqrt insn.
5933 (__ieee754_sqrtf): Ditto.
5934
5935 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5936
5937 [BZ #21426]
5938 * misc/bits/types/struct_iovec.h: New file.
5939 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5940 * include/bits/types/struct_iovec.h: New file.
5941 * bits/uio.h (struct iovec): Replace by inclusion of
5942 <bits/types/struct_iovec.h>.
5943 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5944 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5945 of <sys/uio.h>.
5946 * nptl/tst-cancel4.c: Include <sys/uio.h>
5947 * posix/test-errno.c: Likewise.
5948 * support/resolv_test.c: Likewise.
5949 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5950 Remove.
5951 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5952 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5953 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5954
5955 * conform/data/sys/socket.h-data (*_t): Allow.
5956
5957 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5958
5959 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5960 assignment.
5961
5962 2017-04-24 Daurnimator <quae@daurnimator.com>
5963 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5964
5965 [BZ #21340]
5966 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5967 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5968 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5969 valid flags.
5970 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5971 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5972 POSIX_SPAWN_SETSID.
5973 * sysdeps/posix/spawni.c (__spawni): Likewise.
5974 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5975 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5976
5977 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5978
5979 * sysdeps/generic/math_private.h: Move the declaration of many
5980 functions to sysdeps/generic/math_private_calls.h.
5981 * sysdeps/generic/math_private_calls.h: New file with the
5982 declarations of the functions removed from math_private.h
5983 macroized by floating-point type.
5984
5985 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5986
5987 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5988 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5989 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5990 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5991 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5992 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5993
5994 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5995
5996 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5997 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5998 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5999 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6000 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6001 New Define.
6002
6003 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6004
6005 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6006 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6007 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6008 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6009 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6010 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6011
6012 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6013
6014 * sysdeps/s390/multiarch/ifunc-resolve.h
6015 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6016 * sysdeps/s390/multiarch/8bit-generic.c
6017 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6018 define ifunc resolvers.
6019
6020 2017-04-21 Florian Weimer <fweimer@redhat.com>
6021
6022 [BZ #20424]
6023 * manual/memory.texi (Replacing malloc): New section.
6024 (Allocating Storage For Program Data): Reference it.
6025 (The GNU Allocator): Likewise.
6026
6027 2017-04-20 Joseph Myers <joseph@codesourcery.com>
6028
6029 * stdlib/Versions (__strtod_internal): List explicitly, not as
6030 wildcard.
6031 (__strtof_internal): Likewise.
6032 (__strtold_internal): Likewise.
6033 (__strtol_internal): Likewise.
6034 (__strtoll_internal): Likewise.
6035 (__strtoul_internal): Likewise.
6036 (__strtoull_internal): Likewise.
6037 (__strtoq_internal): Likewise.
6038 (__strtouq_internal): Likewise.
6039 * wcsmbs/Versions (__wcstod_internal): Likewise.
6040 (__wcstof_internal): Likewise.
6041 (__wcstold_internal): Likewise.
6042 (__wcstol_internal): Likewise.
6043 (__wcstoll_internal): Likewise.
6044 (__wcstoul_internal): Likewise.
6045 (__wcstoull_internal): Likewise.
6046
6047 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6048
6049 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6050 struct timespec definition.
6051
6052 2017-04-19 Florian Weimer <fweimer@redhat.com>
6053
6054 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6055
6056 2017-04-19 Florian Weimer <fweimer@redhat.com>
6057
6058 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6059 * inet/rexec.c (rexec_af): Likewise.
6060
6061 2017-04-19 Zack Weinberg <zackw@panix.com>
6062
6063 * posix/tst-mmap-offset.c: Include stdint.h.
6064 * resolv/tst-ns_name_compress.c: Include string.h.
6065 * resolv/tst-resolv-edns.c: Include resolv.h.
6066
6067 2017-04-19 Florian Weimer <fweimer@redhat.com>
6068
6069 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6070 with __glibc_likely.
6071 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6072 Replace __builtin_expect with __glibc_unlikely.
6073 * resolv/res_init.c (__res_vinit): Likewise.
6074 * resolv/res_query.c (__libc_res_nquery): Likewise.
6075 * resolv/res_send.c (__libc_res_nsend): Likewise.
6076
6077 2017-04-19 Florian Weimer <fweimer@redhat.com>
6078
6079 [BZ #15722]
6080 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6081 with SOCK_CLOEXEC.
6082 * resolv/res_send.c (send_vc, reopen): Likewise.
6083 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6084 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6085 Likewise.
6086 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6087 * inet/rexec.c (rexec_af): Add comment.
6088 * inet/rcmd.c (rresvport_af): Likewise.
6089
6090 2017-04-19 Florian Weimer <fweimer@redhat.com>
6091
6092 * nscd/connections.c (have_accept4): Removed definition.
6093 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6094 accept4 works.
6095 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6096 ia64 because that was the first version with accept4 support.
6097 * support/Makefile (libsupport-routines): Add xaccept4.
6098 * support/xsocket.h (xaccept4): Declare.
6099 * support/xaccept4.c: New file.
6100 * socket/tst-accept4.c: New file.
6101 * socket/Makefile (tests): Add tst-accept4.
6102 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6103 definition.
6104 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6105 comment.
6106 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6107 implementation is available.
6108 (accept4): Use the system call if available, otherwise use the
6109 socket call.
6110 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6111 Set to 3.2.18.
6112 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6113 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6114 accept4 is unconditionally available in later 3.2 stable kernels.
6115 (__ASSUME_ACCEPT4_SYSCALL): Define.
6116 * sysdeps/unix/sysv/linux/kernel-features.h
6117 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6118 definitions.
6119 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6120 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6121
6122 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6123
6124 * conform/Makefile (tests-special): Do not make addition of
6125 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6126 (generated): Do not make addition of $(conformtest-header-base)
6127 conditional on [$(cross-compiling) = no].
6128
6129 [BZ #21267]
6130 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6131 if defined by <asm/socket.h> and not previously defined.
6132 (IOCSIZE_SHIFT): Likewise.
6133 (IOC_IN): Likewise.
6134 (IOC_INOUT): Likewise.
6135 (IOC_OUT): Likewise.
6136
6137 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6138
6139 [BZ #21396]
6140 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6141 Prefer_No_AVX512 if AVX512ER isn't available.
6142 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6143 (index_arch_Prefer_No_AVX512): Likewise.
6144 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6145 AVX512 version if Prefer_No_AVX512 is set.
6146 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6147 Likewise.
6148 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6149 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6150 Likewise.
6151 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6152 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6153 Likewise.
6154 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6155 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6156 Likewise.
6157
6158 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6159
6160 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6161 Prefer_No_VZEROUPPER if AVX512ER is available.
6162 * sysdeps/x86/cpu-features.h
6163 (bit_cpu_AVX512PF): New.
6164 (bit_cpu_AVX512ER): Likewise.
6165 (bit_cpu_AVX512CD): Likewise.
6166 (bit_cpu_AVX512BW): Likewise.
6167 (bit_cpu_AVX512VL): Likewise.
6168 (index_cpu_AVX512PF): Likewise.
6169 (index_cpu_AVX512ER): Likewise.
6170 (index_cpu_AVX512CD): Likewise.
6171 (index_cpu_AVX512BW): Likewise.
6172 (index_cpu_AVX512VL): Likewise.
6173 (reg_AVX512PF): Likewise.
6174 (reg_AVX512ER): Likewise.
6175 (reg_AVX512CD): Likewise.
6176 (reg_AVX512BW): Likewise.
6177 (reg_AVX512VL): Likewise.
6178
6179 2017-04-18 Florian Weimer <fweimer@redhat.com>
6180
6181 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6182 O_CLOEXEC is defined.
6183 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6184 * io/Makefile (aux): Remove.
6185 * io/have_o_cloexec.c: Remove file.
6186 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6187 defined and works.
6188 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6189 defined.
6190 * login/utmp_file.c (O_flags): Remove definition.
6191 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6192 O_CLOEXEC works.
6193 (pututline_file): Likewise.
6194 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6195 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6196 definition.
6197 (internal_setgrent): Assume that O_CLOEXEC works.
6198 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6199 Remove definition.
6200 (internal_setgrent): Assume that O_CLOEXEC works.
6201 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6202 definition.
6203 (internal_setpwent): Assume that O_CLOEXEC works.
6204 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6205 definition.
6206 (internal_setspent): Assume that O_CLOEXEC works.
6207 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6208 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6209 O_CLOEXEC is defined and works.
6210 * nss/Makefile (libnss_files-routines): Remove
6211 files-have_o_cloexec.
6212 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6213 defined.
6214 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6215 O_CLOEXEC is defined and works.
6216 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6217 * nss/nss_files/files-have_o_cloexec.c: Remove.
6218 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6219 defined.
6220 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6221 and works.
6222 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6223 definition.
6224 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6225 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6226 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6227 (__opendirat, __opendir): Adjust opendir_oflags call.
6228 (check_have_o_cloexec): Remove.
6229 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6230 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6231 defined.
6232 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6233 Remove definition.
6234
6235 2017-04-18 Florian Weimer <fweimer@redhat.com>
6236
6237 * include/unistd.h (__have_dup3): Remove declaration.
6238 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6239 dup3 is available.
6240 * libio/freopen64.c (freopen64): Likewise.
6241 * socket/Makefile (aux): Remove have_sock_cloexec.
6242 * socket/have_sock_cloexec.c: Remove file.
6243 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6244 definition.
6245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6246 Likewise.
6247 * sysdeps/nacl/kernel-features.h: Update comment.
6248
6249 2017-04-18 Florian Weimer <fweimer@redhat.com>
6250
6251 * include/unistd.h (__have_pipe2): Remove declaration.
6252 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6253 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6254 available.
6255 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6257 Remove definition.
6258
6259 2017-04-18 Florian Weimer <fweimer@redhat.com>
6260
6261 * malloc/malloc.c (cfree): Turn into compat symbol.
6262 (__cfree): Remove alias.
6263 * stdlib/stdlib.h (cfree): Remove declaration.
6264 * malloc/malloc.h (cfree): Likewise.
6265 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6266 * malloc/Versions (GLIBC_2.26): Add.
6267
6268 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6269
6270 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6271 (sysdep_routines): Add strrchr-power8.
6272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6273 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6274 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6275 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6276 (strrchr): Add __strrchr_power8 to ifunc list.
6277 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6278
6279 2017-04-17 Rabin Vincent <rabinv@axis.com>
6280
6281 [BZ #21357]
6282 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6283 Call free() outside of mutex.
6284
6285 2017-04-13 Florian Weimer <fweimer@redhat.com>
6286
6287 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6288 is defined.
6289 * elf/rtld.c (process_envvars): Likewise.
6290 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6291 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6292 O_NOFOLLOW directly.
6293 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6294
6295 2017-04-13 Florian Weimer <fweimer@redhat.com>
6296
6297 [BZ #21369]
6298 Remove EDNS fallback.
6299 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6300 handling.
6301 * resolv/res_send.c (send_dg): Likewise.
6302 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6303 "tcp." prefixes.
6304 (do_test): Send a "formerr."-prefixed query in an attempt to
6305 trigger EDNS fallback.
6306
6307 2017-04-13 Florian Weimer <fweimer@redhat.com>
6308
6309 [BZ #21361]
6310 Limit EDNS buffer size to 1200 bytes.
6311 * include/resolv.h (__res_nopt): Remove declaration.
6312 * resolv/Makefile (tests): tst-resolv-edns.
6313 (tst-resolv-edns): Link with -lresolv, -lpthread.
6314 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6315 interval [512, 1200].
6316 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6317 we can resize the buffer.
6318 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6319 (__res_nopt): Declare.
6320 * resolv/tst-resolv-edns.c: New file.
6321 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6322 (struct resolv_response_context): Add edns member.
6323 * resolv/resolv_test.c (struct query_info): Add edns member.
6324 (parse_query): Extract EDNS information from the query.
6325 (server_thread_udp_process_one): Propagate EDNS data.
6326 (server_thread_tcp_client): Likewise.
6327
6328 2017-04-13 Florian Weimer <fweimer@redhat.com>
6329
6330 [BZ #21359]
6331 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6332 byte in the destination buffer. Avoid out-of-bounds pointer
6333 arithmetic.
6334 * resolv/Makefile (tests): Add tst-ns_name_compress.
6335 (tst-ns_name_compress): Link with -lresolv.
6336 * resolv/tst-ns_name_compress.c: New file.
6337 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6338 (response): Recognize LONG_NAME.
6339 (do_test): Add LONG_NAME tests.
6340 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6341 for ns_name_unpack. Add tests for ns_name_pton and
6342 ns_name_compress.
6343
6344 2017-04-13 Florian Weimer <fweimer@redhat.com>
6345
6346 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6347 (res_nisourserver): Remove definition.
6348 (p_section, res_npquery, res_nisourserver): Remove declaration.
6349 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6350 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6351 ... here.
6352 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6353 <resolv.h>.
6354 * resolv/res_query.c: Likewise.
6355 * resolv/res_debug.c (p_section): Define as static.
6356
6357 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6358
6359 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6360 strncat-power8.
6361 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6362 __strncat_power8 to ifunc list.
6363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6364 (strncat): Add __strncat_power8 to list of strncat functions.
6365 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6366
6367 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6368
6369 [BZ #21270]
6370 * posix/tst-mmap-offset.c (do_prepare): New function.
6371 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6372 (do_test_bz21270): New function.
6373 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6374 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6375 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6376 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6378 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6379 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6380 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6381 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6382 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6383 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6384 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6385 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6386 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6387 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6388 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6389 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6390 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6391 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6392 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6393 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6395 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6396 from auto-generation list.
6397 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6399 * sysdeps/unix/sysv/linux/mmap.c: New file.
6400 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6401 offsets and support for mmap2 syscall.
6402
6403 * posix/globtest.sh: Add cleanup routine on trap 0.
6404
6405 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6406
6407 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6408 implementation-specific function name and remove unneeded
6409 macros definition.
6410 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6411 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6412 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6413 name if not defined and pass as parameter to macros accordingly.
6414 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6416
6417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6418 implementation-specific function name and remove unneeded
6419 macros definition.
6420 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6422 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6424 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6425 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6427 name if not defined and pass as parameter to macros accordingly.
6428 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6429 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6431 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6432 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6433 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6434
6435 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6436 implementation-specific function name and remove unneeded macros
6437 definition.
6438 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6439 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6441 function name if not defined and pass as parameter to macros
6442 accordingly.
6443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6445
6446 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6447 implementation-specific function name and remove unneeded macros
6448 definition.
6449 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6450 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6451 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6452 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6453 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6454 not defined and pass as parameter to macros accordingly.
6455 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6456 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6457 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6458 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6459
6460 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6461 strcasestr implementation name and remove unneeded macros definition.
6462 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6463 strstr implementation name and remove unneeded macros definition.
6464 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6465 name if not defined and pass as parameter to macros accordingly.
6466 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6467
6468 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6469 implementation-specific function name and remove unneeded macros
6470 definition.
6471 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6472 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6477 function name if not defined and pass as parameter to macros
6478 accordingly.
6479 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6480 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6481 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6483
6484 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6485 the strlen implementation name and remove unneeded macros definition.
6486 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6488 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6489 the strnlen implementation name and remove unneeded macros definition.
6490 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6491 name if not defined and pass as parameter to macros accordingly.
6492 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6493 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6494 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6495
6496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6497 the implementation-specific function name and remove unneeded
6498 macros definition.
6499 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6500 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6501 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6502 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6503 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6504 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6505 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6506 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6508 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6509 name if not defined and pass as parameter to macros accordingly.
6510 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6512 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6513 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6514 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6515 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6516 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6517 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6518
6519 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6520 implementation-specific function name and remove unneeded macros
6521 definition.
6522 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6523 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6524 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6525 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6526 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6527 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6528 function name if not defined.
6529 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6530 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6531
6532 2017-04-11 Paul Clarke <pc@us.ibm.com>
6533
6534 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6535 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6536 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6537 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6538
6539 2017-04-11 Florian Weimer <fweimer@redhat.com>
6540 Zack Weinberg <zackw@panix.com>
6541
6542 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6543 readdir64 as thread-safe. Update warning about readdir_r.
6544
6545 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6546
6547 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6548 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6549 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6550 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6551 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6552 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6553 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6554
6555 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6556
6557 * sysdeps/i386/dl-procinfo.c: Include
6558 <sysdeps/x86/dl-procinfo.c>.
6559 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6560 * sysdeps/x86/dl-procinfo.c: New file.
6561
6562 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6563
6564 * sysdeps/generic/math_private.h: Remove declarations of
6565 many functions that are already declared in math.h.
6566 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6567 declaration for __frexpl.
6568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6569 the declarations for __scalbnl and fabsl.
6570
6571 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6572
6573 [BZ #20831]
6574 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6575 of __mprotect to change protection on the excess portion
6576 to disallow all access.
6577
6578 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6579
6580 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6581 HAS_CPU_FEATURE to check for SSE.
6582 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6583 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6584 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6585 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6586 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6587 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6588 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6589 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6590 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6591 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6592 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6593 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6594 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6595 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6596 (index_cpu_SSE): Likewise.
6597 (reg_SSE): Likewise.
6598
6599 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6600
6601 * posix/getopt1.c: Include <config.h>, not "config.h".
6602
6603 2017-04-07 Zack Weinberg <zackw@panix.com>
6604
6605 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6606 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6607 Mention in top-of-file boilerplate that these files are shared
6608 with gnulib.
6609 * posix/getopt.h, posix/bits/getopt_posix.h:
6610 Mention in top-of-file boilerplate that these files are NOT shared
6611 with gnulib, unlike the rest of the getopt implementation.
6612
6613 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6614 New files, intended to be shared with gnulib.
6615 * posix/bits/getopt_posix.h:
6616 New file, not intended to be shared with gnulib.
6617 * posix/getopt.h: Now just includes features.h,
6618 bits/getopt_core.h, and bits/getopt_ext.h. Will
6619 no longer be shared with gnulib.
6620 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6621 * include/bits/getopt_posix.h: New wrappers.
6622 * posix/Makefile: Install new headers.
6623 * posix/unistd.h, libio/stdio.h:
6624 Include bits/getopt_posix.h instead of getopt.h.
6625
6626 * include/libc-symbols.h: For gnulib compatibility, define
6627 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6628 _GL_ATTRIBUTE_CONST.
6629 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6630 parameters with _GL_UNUSED.
6631
6632 * posix/getopt.c: When used standalone, define __libc_use_alloca
6633 as always false and alloca to abort if called.
6634 (process_long_option): Rewrite handling of ambiguous long options
6635 to use a single boolean vector, not a linked list; use
6636 __libc_use_alloca to decide whether to allocate this using alloca.
6637 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6638
6639 * posix/getopt.c (process_long_option): New function split out
6640 from _getopt_internal_r.
6641 (_getopt_internal_r): Replace both copies of the long-option
6642 processing code with calls to process_long_option.
6643 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6644 (do_test): Differentiate argv[0] in the two subtests.
6645
6646 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6647 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6648 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6649
6650 * posix/getopt.h: Add backup definition of __nonnull for
6651 consistency with gnulib. Define __getopt_argv_const to const
6652 if not already defined.
6653 (getopt): Update doc comment from gnulib. Prototype
6654 unconditionally. Add __nonnull annotation.
6655 (__posix_getopt): Add __nonnull annotation.
6656 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6657 prototypes for consistency with gnulib. Add __nonnull
6658 annotations.
6659 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6660 (getopt_internal): Change 'argv' argument to type 'char **'.
6661 Remove now-unnecessary casts.
6662 (getopt, __posix_getopt): Eliminate repetition with a macro.
6663 Cast 'argv' to 'char **' when calling _getopt_internal.
6664 * posix/getopt1.c (getopt_long, getopt_long_only):
6665 Use __getopt_argv_const for consistency with gnulib.
6666 Cast 'argv' to 'char **' when calling _getopt_internal.
6667 (_getopt_long_r, _getopt_long_only_r):
6668 Change 'argv' argument to type 'char **'.
6669 (main): Constify 'long_options'.
6670 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6671 (_getopt_long_r, _getopt_long_only_r):
6672 Change 'argv' argument to type 'char **'.
6673
6674 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6675 (locked_vfxprintf): New helper function. Handle arbitrary
6676 multibyte strings, not just ASCII.
6677 * include/stdio.h: Declare __fxprintf_nocancel.
6678 * posix/getopt.c: When _LIBC is defined, define fprintf to
6679 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6680 to _IO_funlockfile. When neither _LIBC nor
6681 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6682 funlockfile as no-ops.
6683 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6684 the standalone error-printing code can now be used for libc as
6685 well. Add an flockfile/funlockfile pair around one case where
6686 the error message is printed in several chunks. Don't use fputc.
6687 * posix/tst-getopt-cancel.c: New test.
6688 * posix/Makefile: Run it.
6689
6690 * posix/getopt.c (_getopt_internal_r): Don't increment
6691 d->optind a second time when reporting ambiguous -W options.
6692
6693 * posix/getopt_int.h: Include getopt.h.
6694 Use impl-namespace names for all arguments to _getopt_internal and
6695 _getopt_internal_r.
6696 Declare __ordering enum outside the struct.
6697 Harmonize comments with gnulib.
6698 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6699 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6700 #ifdef TEST block and make unconditional. Do not define NULL.
6701 * posix/getopt.c: Partial merge from gnulib, covering the
6702 initial includes and global declarations, commentary, and
6703 a couple of semantically-neutral code changes.
6704
6705 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6706 Use '...' instead of `...' for quotation marks inside
6707 comments and strings.
6708
6709 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6710 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6711 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6712 * posix/getopt_int.h: Likewise.
6713 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6714 __libc_argc and __libc_argv externs, which were only used by
6715 #ifdef USE_NONOPTION_FLAGS blocks.
6716 * posix/getopt_init.c: Remove file.
6717 * posix/Makefile (routines): Remove getopt_init.
6718 * include/getopt.h: Don't declare __getopt_initialize_environment.
6719 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6720 a comment.
6721
6722 2017-04-07 Florian Weimer <fweimer@redhat.com>
6723
6724 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6725
6726 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6727
6728 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6729 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6730 to __wrap_.udiv.
6731 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6732 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6733
6734 * sysdeps/i386/symbol-hacks.h: New file.
6735 * sysdeps/m68k/symbol-hacks.h: New file.
6736 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6737 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6738 * sysdeps/unix/sysv/linux/i386/Makefile
6739 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6740 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6741 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6742 * sysdeps/unix/sysv/linux/m68k/Makefile
6743 [$(subdir) = csu] (sysdep_routines): Likewise.
6744 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6745 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6747 [$(subdir) = csu] (sysdep_routines): Likewise.
6748 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6749 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6750 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6751 [$(subdir) = csu] (sysdep_routines): Likewise.
6752 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6753 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6754 * sysdeps/wordsize-32/Makefile: Remove file.
6755 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6756 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6757
6758 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6759
6760 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6761 (TEST_FUNCTION_ARGV): New.
6762
6763 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6764
6765 * elf/next.c: Import support/test-driver.c instead of
6766 test-skeleton.c and delete TEST_FUNCTION macro definition.
6767 * elf/nodelete.c: Likewise.
6768 * elf/order2.c: Likewise.
6769 * elf/tst-_dl_addr_inside_object.c: Likewise.
6770 * elf/tst-addr1.c: Likewise.
6771 * elf/tst-align.c: Likewise.
6772 * elf/tst-align2.c: Likewise.
6773 * elf/tst-audit11.c: Likewise.
6774 * elf/tst-audit12.c: Likewise.
6775 * elf/tst-audit2.c: Likewise.
6776 * elf/tst-audit9.c: Likewise.
6777 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6778 * elf/tst-deep1.c: Likewise.
6779 * elf/tst-dl-iter-static.c: Likewise.
6780 * elf/tst-dlmodcount.c: Likewise.
6781 * elf/tst-dlmopen1.c: Likewise.
6782 * elf/tst-dlmopen2.c: Likewise.
6783 * elf/tst-dlmopen3.c: Likewise.
6784 * elf/tst-dlopen-aout.c: Likewise.
6785 * elf/tst-dlopenrpath.c: Likewise.
6786 * elf/tst-dlsym-error.c: Likewise.
6787 * elf/tst-execstack-needed.c: Likewise.
6788 * elf/tst-execstack-prog.c: Likewise.
6789 * elf/tst-execstack.c: Likewise.
6790 * elf/tst-global1.c: Likewise.
6791 * elf/tst-gnu2-tls1.c: Likewise.
6792 * elf/tst-latepthread.c: Likewise.
6793 * elf/tst-leaks1.c: Likewise.
6794 * elf/tst-linkall-static.c: Likewise.
6795 (do_test): New function.
6796 * elf/tst-nodelete-opened.c: Likewise.
6797 * elf/tst-nodelete.cc: Likewise.
6798 * elf/tst-nodelete2.c: Likewise.
6799 * elf/tst-noload.c: Likewise.
6800 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6801 * elf/tst-order-main.c: Likewise.
6802 * elf/tst-pathopt.c: Likewise.
6803 * elf/tst-pie2.c: Likewise.
6804 * elf/tst-piemod1.c: Likewise.
6805 * elf/tst-prelink.c: Likewise.
6806 * elf/tst-protected1a.c: Likewise.
6807 * elf/tst-protected1b.c: Likewise.
6808 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6809 and define _GNU_SOURCE macro.
6810 (cmdline_process_function): New function.
6811 * elf/tst-relsort1.c: Likewise.
6812 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6813 and define _GNU_SOURCE macro.
6814 (cmdline_process_function): New function.
6815 * elf/tst-thrlock.c: Likewise.
6816 * elf/tst-tls-dlinfo.c: Likewise.
6817 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6818 * elf/tst-tls1.c: Likewise.
6819 * elf/tst-tls10.c: Likewise.
6820 * elf/tst-tls11.c: Likewise.
6821 * elf/tst-tls12.c: Likewise.
6822 * elf/tst-tls13.c: Likewise.
6823 * elf/tst-tls14.c: Likewise.
6824 * elf/tst-tls15.c: Likewise.
6825 * elf/tst-tls16.c: Likewise.
6826 * elf/tst-tls17.c: Likewise.
6827 * elf/tst-tls18.c: Likewise.
6828 * elf/tst-tls19.c: Likewise.
6829 * elf/tst-tls2.c: Likewise.
6830 * elf/tst-tls3.c: Likewise.
6831 * elf/tst-tls4.c: Likewise.
6832 * elf/tst-tls5.c: Likewise.
6833 * elf/tst-tls6.c: Likewise.
6834 * elf/tst-tls7.c: Likewise.
6835 * elf/tst-tls8.c: Likewise.
6836 * elf/tst-tls9.c: Likewise.
6837 * elf/tst-tlsalign-extern.c: Likewise.
6838 * elf/tst-tlsalign.c: Likewise.
6839 * elf/tst-unique1.c: Likewise.
6840 * elf/tst-unique2.c: Likewise.
6841 * elf/vismain.c: Likewise.
6842
6843 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6844
6845 * string/test-strnlen.c (do_page_tests): New function
6846 to check length of strings ending at the page boundary.
6847 (test_main): Added call to the do_page_tests function.
6848
6849 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6850 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6851
6852 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6853 (sysdep_routines): Add strnlen-power8.
6854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6855 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6856 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6857 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6858 (__strnlen): Add __strnlen_power8 to ifunc list.
6859 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6860
6861 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6862
6863 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6864 the TEST_FUNCTION macro definition.
6865 * wcsmbs/tst-mbrtowc2.c: Likewise.
6866 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6867 * wcsmbs/tst-wchar-h.c: Likewise.
6868 * wcsmbs/tst-wcpncpy.c: Likewise.
6869 * wcsmbs/tst-wcrtomb.c: Likewise.
6870 * wcsmbs/tst-wcsnlen.c: Likewise.
6871 * wcsmbs/tst-wcstof.c: Likewise.
6872
6873 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6874
6875 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6876 CALL_THREAD_FCT macro usage.
6877 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6878 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6879 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6880
6881 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6882 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6883 (__ASSUME_REQUEUE_PI): Likewise.
6884 * sysdeps/unix/sysv/linux/kernel-features.h
6885 (__ASSUME_REQUEUE_PI): Likewise.
6886 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6887 (__ASSUME_REQUEUE_PI): Likewise.
6888 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6889 (__ASSUME_REQUEUE_PI): Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6891 (__ASSUME_REQUEUE_PI): Likewise.
6892
6893 2017-04-04 Florian Weimer <fweimer@redhat.com>
6894
6895 * resolv/tst-resolv-canonname.c: New file.
6896 * resolv/Makefile (tests): Add tst-resolv-canonname.
6897 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6898
6899 2017-04-04 Florian Weimer <fweimer@redhat.com>
6900
6901 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6902 Declare.
6903 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6904 (NS_MAXCDNAME): Remove definition.
6905 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6906 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6907 (NS_MAXCDNAME): Remove definition.
6908 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6909
6910 2017-04-04 Florian Weimer <fweimer@redhat.com>
6911
6912 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6913 call whose result is not used.
6914
6915 2017-04-04 Florian Weimer <fweimer@redhat.com>
6916
6917 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6918 * resolv/Makefile (tests): Add tst-ns_name.
6919 (tst-ns_name): Link with -lresolv.
6920 (tst-ns_name.out): Depend on the input data file.
6921
6922 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6923
6924 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6925 Clobber also r14.
6926
6927 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6928
6929 [BZ #21253]
6930 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6931 slack space by 32KiB.
6932
6933 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6934
6935 [BZ #21338]
6936 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6937 instead of incorrect do_set_arena_test
6938
6939 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6940
6941 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6942 * math/bits/math-finite.h: Likewise.
6943
6944 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6945
6946 [BZ #21289]
6947 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6948
6949 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6950
6951 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6952 non expected inotify_add_watch and quotactl return.
6953
6954 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6955
6956 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6957 to int32_t.
6958 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6959 as returning int32_t.
6960
6961 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6962
6963 * math/math.h: Include bits/math-finite.h once per
6964 floating-point type.
6965 * math/bits/math-finite.h: Macroize all declarations by
6966 floating-point type.
6967
6968 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6969
6970 [BZ #21182]
6971 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6972 near end of a page.
6973 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6974 overflow calculation.
6975
6976 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6977
6978 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6979 (IMPL) Call with 1 instead of 0 as argument.
6980
6981 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6982
6983 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6984 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6985 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6986 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6987 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6988 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6989 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6990 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6991 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6992 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6993 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6994 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6995 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6996 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6997 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6998 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6999 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7000 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7001 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7002 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7003 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7004 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7005 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7006 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7007 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7008 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7009 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7010 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7011 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7015 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7016 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7017 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7018 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7019 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7020 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7021 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7022 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7023 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7024 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7025 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7026 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7027 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7028 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7030 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7031 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7032 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7033 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7034 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7036 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7037 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7038 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7039 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7040 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7041 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7042 defined.
7043 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7044 __NR_setgroups32 if defined.
7045 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7046 if defined.
7047 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7048 __NR_setresgid32 is defined.
7049 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7050 __NR_setresuid32 if defined.
7051 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7052 __NR_setreuid32 if defined.
7053 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7054 defined.
7055 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7056 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7057 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7058 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7059 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7060 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7061 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7062 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7063 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7064 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7065 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7066 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7067 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7068 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7069 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7070 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7071 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7072 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7073 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7074 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7075 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7076 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7077 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7078 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7079 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7080 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7081 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7082 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7083 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7084 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7085 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7086 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7087 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7088 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7089 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7090 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7091 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7092 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7093 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7094 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7095 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7096 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7097 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7098 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7099 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7100 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7101 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7102 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7103 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7104 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7105 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7106 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7107 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7108 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7110 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7111 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7112 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7113 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7114 defined.
7115 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7116 __NR_setgroups32 if defined.
7117 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7118 if defined.
7119 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7120 __NR_setresgid32 is defined.
7121 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7122 __NR_setresuid32 if defined.
7123 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7124 __NR_setreuid32 if defined.
7125 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7126 defined.
7127
7128 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7129
7130 [BZ #21277]
7131 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7132 unconditionally.
7133 (IMAXBEL): Likewise.
7134 (IUTF8): Likewise.
7135
7136 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7137
7138 * sysdeps/aarch64/libm-test-ulps: Update.
7139
7140 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7141
7142 * README.tunables: Updated descriptions.
7143 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7144 * scripts/gen-tunables.awk: Updated the code related to the
7145 commit.
7146
7147 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7148
7149 * benchtests/Makefile (string-benchset): Add memcpy-random.
7150 * benchtests/bench-memcpy-random.c: New file.
7151
7152 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7153
7154 * stdio-common/printf.h (register_printf_modifier): Change the
7155 order of __wur and __THROW.
7156 (register_printf_type): Likewise.
7157
7158 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7159
7160 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7161 test_main ().
7162 (CMDLINE_PROCESS): Use function instead of defined macro.
7163 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7164 <suppport/support.h> to use set_fortify_handler().
7165 * string/bug-envz1.c: Import support/test-driver.c instead of
7166 test-skeleton.c.
7167 * string/bug-strcoll2.c: Likewise.
7168 * string/bug-strtok1.c: Likewise.
7169 * string/stratcliff.c: Likewise.
7170 * string/test-ffs.c: Likewise.
7171 * string/test-memccpy.c: Likewise.
7172 * string/test-memchr.c: Likewise.
7173 * string/test-memcmp.c: Likewise.
7174 * string/test-memcpy.c: Likewise.
7175 * string/test-memmem.c: Likewise.
7176 * string/test-memmove.c: Likewise.
7177 * string/test-memrchr.c: Likewise.
7178 * string/test-memset.c: Likewise.
7179 * string/test-rawmemchr.c: Likewise.
7180 * string/test-strcasecmp.c: Likewise.
7181 * string/test-strcasestr.c: Likewise.
7182 * string/test-strcat.c: Likewise.
7183 * string/test-strchr.c: Likewise.
7184 * string/test-strcmp.c: Likewise.
7185 * string/test-strcpy.c: Likewise.
7186 * string/test-string.h: Likewise.
7187 * string/test-strlen.c: Likewise.
7188 * string/test-strncasecmp.c: Likewise.
7189 * string/test-strncat.c: Likewise.
7190 * string/test-strncmp.c: Likewise.
7191 * string/test-strncpy.c: Likewise.
7192 * string/test-strnlen.c: Likewise.
7193 * string/test-strpbrk.c: Likewise.
7194 * string/test-strrchr.c: Likewise.
7195 * string/test-strspn.c: Likewise.
7196 * string/test-strstr.c: Likewise.
7197 * string/tst-bswap.c: Likewise.
7198 * string/tst-cmp.c: Likewise.
7199 * string/tst-endian.c: Likewise.
7200 * string/tst-inlcall.c: Likewise.
7201 * string/tst-strcoll-overflow.c: Likewise.
7202 * string/tst-strfry.c: Likewise.
7203 * string/tst-strlen.c: Likewise.
7204 * string/tst-strtok.c: Likewise.
7205 * string/tst-strtok_r.c: Likewise.
7206 * string/tst-strxfrm.c: Likewise.
7207 * string/tst-strxfrm2.c: Likewise.
7208 * string/tst-svc.c: Likewise.
7209 * string/tst-svc2.c: Likewise.
7210
7211 2017-03-22 Zack Weinberg <zackw@panix.com>
7212
7213 * stdio-common/bug25.c: Include stdlib.h.
7214 * support/tst-support_format_dns_packet.c: Include stdio.h,
7215 stdlib.h, and string.h.
7216 * support/tst-support_record_failure.c: Include string.h.
7217 * support/tst-support_record_failure-2.sh: Adjust line number
7218 expectations and correct a typo in an error message.
7219
7220 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7221
7222 [BZ #21258]
7223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7224 Define only if _dl_runtime_resolve is defined to
7225 _dl_runtime_resolve_sse_vex.
7226 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7227 Fallthrough to _dl_runtime_resolve_sse_vex.
7228
7229 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7230
7231 * INSTALL: Regenerated.
7232
7233 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7234
7235 * config.h.in: Add LINK_OBSOLETE_NSL.
7236 * config.make.in: Add build-obsolete-nsl.
7237 * configure.ac: Add obsolete-nsl option.
7238 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7239 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7240 * include/rpcsvc/nislib.h: Likewise.
7241 * include/rpcsvc/ypclnt.h: Likewise.
7242 * manual/install.texi: Document --enable-obsolete-nsl.
7243 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7244 * nis/nis_add.c: Replace libnsl_hidden_def with
7245 libnsl_hidden_nolink_def.
7246 * nis/nis_addmember.c: Likewise.
7247 * nis/nis_call.c: Likewise.
7248 * nis/nis_clone_obj.c: Likewise.
7249 * nis/nis_defaults.c: Likeise.
7250 * nis/nis_domain_of_r.c: Likewise.
7251 * nis/nis_error.c: Likewise.
7252 * nis/nis_file.c: Likewise.
7253 * nis/nis_free.c: Likewise.
7254 * nis_local_names.c: Likewise.
7255 * nis/nis_lookup.c: Likewise.
7256 * nis/nis_modify.c: Likewise.
7257 * nis/nis_print.c: Likewise.
7258 * nis/nis_remove.c: Likewise.
7259 * nis/nis_table.c: Likewise.
7260 * nis/nis_util.c: Likewise.
7261 * nis/nis_xdr.c: Likewise.
7262 * nis/yp_xdr.c: Likewise.
7263 * nis/ypclnt.c: Likewise.
7264 * nis/ypupdate_xdr.c: Likewise.
7265 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7266 * nis/nis_clone_dir.c: Likewise.
7267 * nis/nis_clone_res.c: Likewise.
7268 * nis/nis_creategroup.c: Likewise.
7269 * nis/nis_destroygroup.c: Likewise.
7270 * nis/nis_domain_of.c: Likewise.
7271 * nis/nis_getservlist.c: Likewise.
7272 * nis/nis_ismember.c: Likewise.
7273 * nis/nis_mkdir.c: Likewise.
7274 * nis/nis_ping.c: Likewise.
7275 * nis/nis_print_group_entry.c: Likewise.
7276 * nis/nis_removemember.c: Likewise.
7277 * nis/nis_rmdir.c: Likewise.
7278 * nis/nis_server.c: Likewise.
7279 * nis/nis_subr.c: Likewise.
7280 * nis/nis_verifygroup.c: Likewise.
7281
7282 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7283
7284 * malloc/tst-interpose-aux.c (check_for_allocations):
7285 Move compiler barrier before free.
7286
7287 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7288
7289 [BZ #21279]
7290 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7291 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7292 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7293 x86_64-x32-linux.
7294 (mq_attr.mq_maxmsg): Likewise.
7295 (mq_attr.mq_msgsize): Likewise.
7296 (mq_attr.mq_curmsgs): Likewise.
7297
7298 [BZ #21278]
7299 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7300 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7301 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7302 mips-o32-linux.
7303
7304 [BZ #21268]
7305 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7306 if [__USE_MISC]
7307 (NL3): Likewise.
7308
7309 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7310
7311 [BZ #21275]
7312 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7313 __stack to __stackbase.
7314 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7315 checks so we can include defined(__ia64__) first.
7316
7317 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7318
7319 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7320 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7321 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7322 Call is_pty when the link does not exist or does not match, fail
7323 with ENODEV when it returns true.
7324 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7325 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7326 Call is_pty when the link does not exist or does not match, fail
7327 with ENODEV when it returns true.
7328
7329 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7330
7331 [BZ #16437]
7332 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7333 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7334 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7335 x86_64-x32-linux.
7336 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7337 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7338 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7339
7340 [BZ #21261]
7341 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7342 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7343 names for all fields.
7344 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7345 for jmp_buf field renaming.
7346 (_JMPBUF_UNWINDS_ADJ): Likewise.
7347
7348 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7349 with allow-header.
7350
7351 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7352
7353 * malloc/malloc.c (unlink): Add consistency check between size and
7354 next->prev->size, to further harden against 1-byte overflows.
7355
7356 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7357
7358 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7359 CPU_FEATURES_CPU_P.
7360
7361 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7362
7363 [BZ #21259]
7364 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7365 unconditionally, not just for [__USE_MISC].
7366
7367 [BZ #17786]
7368 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7369 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7370 mips-o32-linux.
7371
7372 [BZ #21260]
7373 * sysdeps/unix/sysv/linux/alpha/Makefile
7374 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7375 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7376
7377 * conform/conformtest.pl ($cross): New variable.
7378 (--cross): New command-line option.
7379 (runtest): Skip test execution when cross-compiling.
7380 * conform/Makefile (conformtest-cross): New variable.
7381 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7382 conformtest.pl.
7383
7384 * conform/conformtest.pl ($xfail_str): New variable.
7385 (--xfail=): New command-line option.
7386 (top level): Handle expectations starting xfail[cond]-.
7387 * conform/Makefile (conformtest-xfail): New variable.
7388 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7389 conformtest.pl.
7390
7391 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7392
7393 * conform/conformtest.pl: Use compilation instead of execution
7394 tests for testing values of constants and usability in #if.
7395
7396 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7397
7398 * math/auto-libm-test-in: Mark some catan and catanh as
7399 xfail-rounding:ibm128-libgcc.
7400 * math/auto-libm-test-out-catan: Regenerate.
7401 * math/auto-libm-test-out-catanh: Likewise.
7402
7403 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7404
7405 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7406 (__END_NAMESPACE_STD): Likewise.
7407 (__USING_NAMESPACE_STD): Likewise.
7408 (__BEGIN_NAMESPACE_C99): Likewise.
7409 (__END_NAMESPACE_C99): Likewise.
7410 (__USING_NAMESPACE_C99): Likewise.
7411 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7412 undefine macro.
7413 (_Mdouble_END_NAMESPACE): Likewise.
7414 * ctype/ctype.h: Do not handle C++ namespaces.
7415 * libio/bits/stdio-ldbl.h: Likewise.
7416 * libio/stdio.h: Likewise.
7417 * locale/locale.h: Likewise.
7418 * math/bits/mathcalls.h: Likewise.
7419 * setjmp/setjmp.h: Likewise.
7420 * signal/signal.h: Likewise.
7421 * stdlib/bits/stdlib-float.h: Likewise.
7422 * stdlib/bits/stdlib-ldbl.h: Likewise.
7423 * stdlib/stdlib.h: Likewise.
7424 * string/string.h: Likewise.
7425 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7426 * time/bits/types/clock_t.h: Likewise.
7427 * time/bits/types/struct_tm.h: Likewise.
7428 * time/bits/types/time_t.h: Likewise.
7429 * time/time.h: Likewise.
7430 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7431 * wcsmbs/uchar.h: Likewise.
7432 * wcsmbs/wchar.h: Likewise.
7433 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7434 * wctype/wctype.h: Do not handle C++ namespaces.
7435 * scripts/begin-end-check.pl: Remove.
7436 * Makefile (installed-headers): Likewise.
7437 (tests-special): Do not add $(objpfx)begin-end-check.out.
7438 ($(objpfx)begin-end-check.out): Remove.
7439
7440 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7441 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7442
7443 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7444 (DL_PLATFORM_INIT): New define.
7445 (dl_platform_init): New function.
7446 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7447 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7448 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7449 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7450 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7451
7452 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7453
7454 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7455 instead of PIC.
7456
7457 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7458
7459 [BZ #21094]
7460 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7461 24+24+24-bit pi for wider range of values around pi/2.
7462 * math/auto-libm-test-in: Add more tests of cos and tan.
7463 * math/auto-libm-test-out-cos: Regenerated.
7464 * math/auto-libm-test-out-tan: Likewise.
7465
7466 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7467
7468 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7469 (RTLD_START): Don't record stack end address in _dl_start_user.
7470
7471 2017-03-15 Alexey Neyman <stilor@att.net>
7472
7473 [BZ #21088]
7474 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7475 around definitions match those around use.
7476
7477 2017-03-15 Alexey Neyman <stilor@att.net>
7478
7479 * configure.ac: Avoid empty subexpression in grep.
7480 * configure: Regenerate.
7481
7482 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7483
7484 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7485 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7486 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7487 (test_wrp_rv): Fix format.
7488 (test_wrp_rv2): New macro.
7489 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7490 binaries.
7491
7492 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7493
7494 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7495 Use a union when storing pointers.
7496 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7497 cast result when passing to INIT_VEC_PTRS_LOOP.
7498 (VECTOR_WRAPPER_fFF_3): Likewise.
7499 (VECTOR_WRAPPER_fFF_4): Likewise.
7500
7501 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7502
7503 * include/bits/mathcalls-helper-functions.h: New file.
7504 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7505 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7506 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7507 math/bits/mathcalls-helper-functions.h.
7508 * math/bits/mathcalls-helper-functions.h: New file.
7509 * math/math.h: Include bits/mathcalls-helper-functions.h for
7510 float, double, and long double.
7511
7512 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7513
7514 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7515 instead of feraiseexcept.
7516
7517 2017-03-15 Florian Weimer <fweimer@redhat.com>
7518
7519 [BZ #21243]
7520 * support/temp_file.c (support_delete_temp_files): Add comment
7521 about ignored errors.
7522
7523 2017-03-15 Florian Weimer <fweimer@redhat.com>
7524
7525 [BZ #21244]
7526 * support/xclose.c: New file.
7527 * support/Makefile (libsupport-routines): Add xclose.
7528 * support/xunistd.h (xclose): Declare.
7529 * support/resolv_test.c (server_thread_tcp_client)
7530 (server_thread_tcp, make_server_sockets, resolv_test_start)
7531 (resolv_test_end): Call xclose instead of close.
7532 * support/support_enter_network_namespace.c
7533 (support_enter_network_namespace): Likewise.
7534 * support/support_run_diff.c (write_to_temp_file): Likewise.
7535
7536 2017-03-15 Florian Weimer <fweimer@redhat.com>
7537
7538 * support/support_format_dns_packet.c (support_format_dns_packet):
7539 Handle CNAME records in the response. Extract RDATA names from
7540 rdata, not the whole packet. Check AAAA record length.
7541 * support/tst-support_format_dns_packet.c: New file.
7542 * support/Makefile (tests): Add tst-support_format_dns_packet.
7543 (tst-support_format_dns_packet): Link against libresolv.
7544
7545 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7546
7547 [BZ #21232]
7548 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7549 posix_fadvise64 weak_alias for static build.
7550
7551 2017-03-14 Andreas Schwab <schwab@suse.de>
7552
7553 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7554 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7555 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7556 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7557 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7558 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7559 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7560 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7561
7562 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7563
7564 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7565 posix error code.
7566 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7567
7568 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7569
7570 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7571 no_isolate usage for SH.
7572
7573 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7574
7575 [BZ #15105]
7576 [BZ #19463]
7577 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7578 * inet/rcmd.c (rcmd_af): Likewise.
7579 * inet/rexec.c (rexec_af): Likewise.
7580 * intl/dcigettext.c (_LIBC): Likewise.
7581 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7582 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7583 * locale/setlocale.c (setlocale): Likewise.
7584 * posix/spawn_faction_addopen.c
7585 (posix_spawn_file_actions_addopen): Likewise.
7586 * stdlib/putenv.c (putenv): Use __strndup.
7587 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7589 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7590 (__Need_M_And_C) Remove define/undef.
7591 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7592 (__malloc_and_calloc_defined): Remove define.
7593 * string/bits/string2.h (__strdup): Remove define.
7594 (strdup): Likewise.
7595 (__strndup): Likewise.
7596 (strndup): Likewise.
7597
7598 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7599
7600 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7601 macro.
7602 (IPV6_ADDR_PREFERENCES): Likewise.
7603 (IPV6_MINHOPCOUNT): Likewise.
7604 (IPV6_ORIGDSTADDR): Likewise.
7605 (IPV6_RECVORIGDSTADDR): Likewise.
7606 (IPV6_TRANSPARENT): Likewise.
7607 (IPV6_UNICAST_IF): Likewise.
7608 (IPV6_RECVFRAGSIZE): Likewise.
7609
7610 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7611
7612 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7613
7614 2017-03-12 Alexey Neyman <stilor@att.net>
7615
7616 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7617 in R_SH_DIR32 case is always false when inlined from
7618 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7619
7620 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7621
7622 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7623 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7624 __ASSUME_SEND_SYSCALL.
7625
7626 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7627
7628 * sunrpc/Makefile: don't build and install rpcsvc header
7629 files, rpcgen and librpcsvc.a by default.
7630
7631 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7632
7633 * math/auto-libm-test-out-catan: Regenerated.
7634 * math/auto-libm-test-out-catanh: Likewise.
7635 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7636
7637 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7638
7639 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7640 for long double with corrected test expectations.
7641
7642 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7643
7644 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7645 Define.
7646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7647 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7648 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7649 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7650 * sysdeps/unix/sysv/linux/tile/sysdep.h
7651 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7652 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7653 (__ASSUME_RECV_SYSCALL): Define.
7654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7655 (__ASSUME_RECV_SYSCALL): Likewise.
7656 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7657 (__ASSUME_RECV_SYSCALL): Likewise.
7658 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7659 (__ASSUME_RECV_SYSCALL): Likewise.
7660 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7661 (__ASSUME_RECV_SYSCALL): Likewise.
7662 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7663 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7665 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7666 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7667 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7668 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7669 auto-generation list.
7670 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7671 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7672 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7673 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7674 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7675 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7676 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7677 __ASSUME_SENDTO_SYSCALL.
7678 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7679 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7680 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7681
7682 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7683 auto-generation list.
7684 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7685 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7686 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7687 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7689 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7691 * sysdeps/unix/sysv/linux/kernel-features.h
7692 (__ASSUME_SENDTO_SYSCALL): Define by default.
7693 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7694 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7695 __NR_sendto.
7696 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7697 (__ASSUME_SENDTO_SYSCALL): Likewise.
7698 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7699 (__ASSUME_SENDTO_SYSCALL): Likewise.
7700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7701 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7702 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7703 (__ASSUME_SENDTO_SYSCALL): Likewise.
7704 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7705 (__ASSUME_SENDTO_SYSCALL): Likewise.
7706 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7707
7708 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7709 auto-generation list.
7710 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7711 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7712 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7713 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7715 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7716 (__ASSUME_RECV_SYSCALL): New define.
7717 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7718 (__ASSUME_RECV_SYSCALL): Likewise.
7719 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7720 (__ASSUME_RECV_SYSCALL): Likewise.
7721 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7722 (__ASSUME_RECV_SYSCALL): Likewise.
7723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7724 (__ASSUME_RECV_SYSCALL): Likewise.
7725 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7726 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7727 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7728 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7729 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7730 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7731 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7732 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7734 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7735 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7736 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7737
7738 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7739 auto-generation list.
7740 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7741 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7742 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7743 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7744 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7746 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7747 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7748 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7749 * sysdeps/unix/sysv/linux/kernel-features.h
7750 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7751 __NR_recvfrom.
7752 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7753 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7754 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7755 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7757 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7758 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7759 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7760 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7761 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7762 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7763 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7764 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7765
7766 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7767 auto-generation list.
7768 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7769 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7770 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7772 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7773 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7774 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7775 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7776 * sysdeps/unix/sysv/linux/kernel-features.h
7777 (__ASSUME_CONNECT_SYSCALL): Define.
7778 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7779 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7780 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7781 (__ASSUME_CONNECT_SYSCALL): Likewise.
7782 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7783 (__ASSUME_CONNECT_SYSCALL): Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7785 (__ASSUME_CONNECT_SYSCALL): Likewise.
7786
7787 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7788 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7789 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7790 auto-generation list.
7791 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7792 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7793 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7794 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7795 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7798 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7799 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7800 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7801 * sysdeps/unix/sysv/linux/kernel-features.h
7802 (__ASSUME_ACCEPT_SYSCALL): New define.
7803 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7804 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7805 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7807 (__ASSUME_ACCEPT_SYSCALL): Define.
7808 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7809 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7810 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7811 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7812 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7813 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7814 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7815 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7816 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7817
7818 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7819 Zack Weinberg <zackw@panix.com>
7820
7821 * posix/test-errno.c: New file.
7822 * posix/Makefile (tests): Add test-errno.
7823 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7824 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7825
7826 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7827
7828 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7829
7830 2017-03-07 Florian Weimer <fweimer@redhat.com>
7831
7832 * time/tzset.c (compute_offset): Open-code min macro.
7833 (min, max, sign): Remove.
7834
7835 2017-03-07 Florian Weimer <fweimer@redhat.com>
7836
7837 [BZ #15576]
7838 Remove TZNAME_MAX limit from sysconf.
7839 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7840 declaration.
7841 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7842 compute_tzname_max.
7843 (compute_tzname_max): Remove.
7844 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7845 (update_vars): Do not update __tzname_cur_max.
7846 (tzset_internal): Remove argument.
7847 (__tzset): Adjust call to tzset_internal.
7848 (__tz_convert): Likewise.
7849
7850 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7851 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7852 * manual/conf.texi (Sysconf Definition): Update comment.
7853
7854 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7855
7856 [BZ #21209]
7857 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7858 AT_SECURE processes.
7859 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7860 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7861 (test_child): Likewise.
7862 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7863
7864 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7865
7866 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7867
7868 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7869
7870 * sysdeps/s390/atomic-machine.h
7871 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7872 (__arch_compare_and_exchange_val_8_acq,
7873 __arch_compare_and_exchange_val_16_acq,
7874 __arch_compare_and_exchange_val_32_acq,
7875 __arch_compare_and_exchange_val_64_acq):
7876 Delete macro.
7877 (atomic_compare_and_exchange_val_acq,
7878 atomic_compare_and_exchange_val_rel,
7879 atomic_compare_and_exchange_bool_acq,
7880 catomic_compare_and_exchange_bool_acq,
7881 atomic_exchange_acq, atomic_exchange_rel,
7882 atomic_exchange_and_add_acq,
7883 atomic_exchange_and_add_rel,
7884 catomic_exchange_and_add, atomic_or_val,
7885 atomic_or, catomic_or, atomic_bit_test_set,
7886 atomic_and_val, atomic_and, catomic_and):
7887 Define macros with help of C11 atomic builtins.
7888
7889 2017-03-03 Justus Winter <justus@gnupg.org>
7890
7891 * sysdeps/mach/hurd/ftruncate64.c: New file.
7892 * sysdeps/mach/hurd/truncate64.c: Likewise.
7893
7894 2017-03-03 Florian Weimer <fweimer@redhat.com>
7895
7896 * time/tzfile.c (NOID): Do not define.
7897 * time/tzset.c (NOID): Likewise.
7898
7899 2017-03-03 Florian Weimer <fweimer@redhat.com>
7900
7901 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7902
7903 2017-03-02 Florian Weimer <fweimer@redhat.com>
7904
7905 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7906
7907 2017-03-02 Florian Weimer <fweimer@redhat.com>
7908
7909 [BZ #21015]
7910 * manual/install.texi (Configuring and compiling): Document
7911 --enable-bind-now.
7912 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7913 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7914 (format.lds): Likewise.
7915 [bind-now] (LDFLAGS-c.so): Remove.
7916 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7917 be R_X86_64_GLOB_DAT.
7918 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7919 relocation can be R_386_GLOB_DAT.
7920 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7921 relocaiton can be R_ALPHA_GLOB_DAT.
7922 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7923
7924 2017-03-01 Zack Weinberg <zackw@panix.com>
7925
7926 * include/libc-pointer-arith.h: New file. Define
7927 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7928 PTR_ALIGN_DOWN here.
7929 * include/libc-internal.h: Definitions of above macros
7930 moved from here. Don't include libc-diag.h anymore either.
7931 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7932 Don't include libc-internal.h.
7933
7934 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7935 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7936 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7937 * string/strcoll_l.c, sysdeps/nacl/brk.c
7938 * sysdeps/unix/clock_settime.c
7939 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7940 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7941 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7943 Don't include libc-internal.h.
7944
7945 * elf/get-dynamic-info.h, iconv/loop.c
7946 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7947 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7948 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7949 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7950 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7954 * sysdeps/ieee754/ldbl-128/k_tanl.c
7955 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7957 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7958 Include libc-diag.h instead of libc-internal.h.
7959
7960 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7961 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7962 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7963 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7964 * sysdeps/unix/sysv/linux/spawni.c
7965 * sysdeps/x86_64/nptl/tls.h:
7966 Include libc-pointer-arith.h instead of libc-internal.h.
7967
7968 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7969 * sysdeps/x86_64/atomic-machine.h:
7970 Add multiple include guard.
7971
7972 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7973 * string/strcasestr.c: No need to include config.h.
7974 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7975 sys/auxv.h. Don't include sysdep.h.
7976 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7977
7978 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7979 DL_LOOKUP_ADDRESS.
7980 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7981 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7982 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7983 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7984 of ARTIFICIAL_LIMIT.
7985 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7986 declaration of __clone2.
7987
7988 2017-02-28 Florian Weimer <fweimer@redhat.com>
7989
7990 * scripts/backport-support.sh (latest_commit): New file.
7991
7992 2017-02-28 Florian Weimer <fweimer@redhat.com>
7993
7994 [BZ #20257]
7995 * inet/Makefile (routines): Add deadline.
7996 (tests-static): Add tst-deadline.
7997 * inet/net-internal.h (struct deadline_current_time)
7998 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7999 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8000 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8001 * inet/deadline.c: New file.
8002 * inet/tst-deadline.c: Likewise.
8003 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8004 tst-udp-timeout, tst-udp-garbage.
8005 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8006 explicitly.
8007 (tst-udp-garbage): Likewise. Also link against thread library.
8008 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8009 struct layout is part of the ABI.
8010 (clntudp_call): Rework timeout handling.
8011 * sunrpc/tst-udp-garbage.c: New file.
8012 * sunrpc/tst-udp-nonblocking.c: Likewise.
8013 * sunrpc/tst-udp-timeout.c: Likewise.
8014
8015 2017-02-28 Florian Weimer <fweimer@redhat.com>
8016
8017 [BZ #5010]
8018 * sunrpc/svc.c (svc_is_mapped): Remove.
8019 (svc_unregister): Obtain mapped status while the service is still
8020 registered.
8021 * sunrpc/Makefile [have-thread-library] (tests): Add
8022 tst-svc_register.
8023 (tst-svc_register): Link against libc.so explicitly and the thread
8024 library.
8025 * sunrpc/tst-svc_register.c: New file.
8026
8027 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8028
8029 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8030 * sysdeps/pthread/bits/sigthread.h: Likewise.
8031
8032 2017-02-27 Florian Weimer <fweimer@redhat.com>
8033
8034 [BZ #21115]
8035 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8036 * sunrpc/Makefile (tests): Add tst-udp-error.
8037 (tst-udp-error): Link against libc.so explicitly.
8038 * sunrpc/tst-udp-error: New file.
8039
8040 2017-02-25 Zack Weinberg <zackw@panix.com>
8041
8042 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8043 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8044
8045 * sysdeps/generic/math_ldbl.h
8046 * sysdeps/ia64/fpu/math_ldbl.h
8047 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8048 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8049 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8050 * sysdeps/powerpc/fpu/math_ldbl.h
8051 * sysdeps/x86_64/fpu/math_ldbl.h:
8052 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8053 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8054 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8055 Add copyright notices.
8056
8057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8058 Don't use EXTRACT_WORDS64.
8059
8060 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8061 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8062 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8063 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8064 Include math_ldbl.h, not math_private.h.
8065
8066 2017-02-25 Zack Weinberg <zackw@panix.com>
8067
8068 * include/libc-diag.h: New file. Define ignore_value,
8069 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8070 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8071
8072 * include/libc-internal.h: Definitions of above macros moved from
8073 here. Include libc-diag.h. Add copyright notice.
8074
8075 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8076 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8077 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8078 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8079 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8080 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8081 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8082 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8083 Include libc-diag.h instead of libc-internal.h.
8084
8085 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8086 call to unsetenv (NULL).
8087 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8088 call to pthread_mutexattr_destroy (NULL).
8089
8090 2017-02-25 Zack Weinberg <zackw@panix.com>
8091
8092 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8093 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8094 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8095 gets was removed from C++ in C++14.
8096 * include/stdio.h: Remove redundant declaration of gets.
8097 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8098 be declared, since we are testing it.
8099 * stdio-common/Makefile (tst-gets.c): Compile with
8100 -Wno-deprecated-declarations.
8101 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8102 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8103 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8104 Compile with -Wno-deprecated-declarations.
8105
8106 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8107
8108 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8109 numbers.
8110
8111 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8112
8113 * resolv/tst-resolv-qtypes.c (domain):
8114 Change type to const pointer to const char.
8115
8116 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8117
8118 * math/Makefile (libm-tests-generated): Remove variable.
8119 (libm-tests-base-normal): New variable.
8120 (libm-tests-base-finite): Likewise.
8121 (libm-tests-base-inline): Likewise.
8122 (libm-tests-base): Likewise.
8123 (libm-tests-normal): Likewise.
8124 (libm-tests-finite): Likewise.
8125 (libm-tests-inline): Likewise.
8126 (libm-tests-vector): Likewise.
8127 (libm-tests): Define in terms of these new variables.
8128 (libm-tests-for-type): New variable.
8129 (libm-tests.o): Move definition.
8130 (tests): Move addition of $(libm-tests).
8131 (generated): Update for new and removed libm test files.
8132 ($(objpfx)libm-test.c): Remove target.
8133 ($(objpfx)libm-have-vector-test.h): Likewise.
8134 (CFLAGS-test-double-vlen2.c): Remove variable.
8135 (CFLAGS-test-double-vlen4.c): Likewise.
8136 (CFLAGS-test-double-vlen8.c): Likewise.
8137 (CFLAGS-test-float-vlen4.c): Likewise.
8138 (CFLAGS-test-float-vlen8.c): Likewise.
8139 (CFLAGS-test-float-vlen16.c): Likewise.
8140 (CFLAGS-test-float.c): Likewise.
8141 (CFLAGS-test-float-finite.c): Likewise.
8142 (CFLAGS-libm-test-support-float.c): Likewise.
8143 (CFLAGS-test-double.c): Likewise.
8144 (CFLAGS-test-double-finite.c): Likewise.
8145 (CFLAGS-libm-test-support-double.c): Likewise.
8146 (CFLAGS-test-ldouble.c): Likewise.
8147 (CFLAGS-test-ldouble-finite.c): Likewise.
8148 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8149 (libm-test-inline-cflags): New variable.
8150 (CFLAGS-test-ifloat.c): Remove variable.
8151 (CFLAGS-test-idouble.c): Likewise.
8152 (CFLAGS-test-ildouble.c): Likewise.
8153 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8154 dependencies.
8155 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8156 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8157 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8158 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8159 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8160 Likewise.
8161 (dependencies on libm-test-support-*.o): Remove.
8162 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8163 rules using iterators.
8164 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8165 Likewise.
8166 ($(objpfx)libm-test-support-$(o).o): Likewise.
8167 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8168 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8169 instead.
8170 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8171 define rule instead.
8172 * math/README.libm-test: Update.
8173 * math/libm-test-acos.inc: Include libm-test-driver.c.
8174 (do_test): New function.
8175 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8176 (do_test): New function.
8177 * math/libm-test-asin.inc: Include libm-test-driver.c.
8178 (do_test): New function.
8179 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8180 (do_test): New function.
8181 * math/libm-test-atan.inc: Include libm-test-driver.c.
8182 (do_test): New function.
8183 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8184 (do_test): New function.
8185 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8186 (do_test): New function.
8187 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8188 (do_test): New function.
8189 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8190 (do_test): New function.
8191 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8192 (do_test): New function.
8193 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8194 (do_test): New function.
8195 * math/libm-test-carg.inc: Include libm-test-driver.c.
8196 (do_test): New function.
8197 * math/libm-test-casin.inc: Include libm-test-driver.c.
8198 (do_test): New function.
8199 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8200 (do_test): New function.
8201 * math/libm-test-catan.inc: Include libm-test-driver.c.
8202 (do_test): New function.
8203 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8204 (do_test): New function.
8205 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8206 (do_test): New function.
8207 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8208 (do_test): New function.
8209 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8210 (do_test): New function.
8211 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8212 (do_test): New function.
8213 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8214 (do_test): New function.
8215 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8216 (do_test): New function.
8217 * math/libm-test-clog.inc: Include libm-test-driver.c.
8218 (do_test): New function.
8219 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8220 (do_test): New function.
8221 * math/libm-test-conj.inc: Include libm-test-driver.c.
8222 (do_test): New function.
8223 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8224 (do_test): New function.
8225 * math/libm-test-cos.inc: Include libm-test-driver.c.
8226 (do_test): New function.
8227 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8228 (do_test): New function.
8229 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8230 (do_test): New function.
8231 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8232 (do_test): New function.
8233 * math/libm-test-creal.inc: Include libm-test-driver.c.
8234 (do_test): New function.
8235 * math/libm-test-csin.inc: Include libm-test-driver.c.
8236 (do_test): New function.
8237 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8238 (do_test): New function.
8239 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8240 (do_test): New function.
8241 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8242 (do_test): New function.
8243 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8244 (do_test): New function.
8245 * math/libm-test-erf.inc: Include libm-test-driver.c.
8246 (do_test): New function.
8247 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8248 (do_test): New function.
8249 * math/libm-test-exp.inc: Include libm-test-driver.c.
8250 (do_test): New function.
8251 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8252 (do_test): New function.
8253 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8254 (do_test): New function.
8255 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8256 (do_test): New function.
8257 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8258 (do_test): New function.
8259 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8260 (do_test): New function.
8261 * math/libm-test-floor.inc: Include libm-test-driver.c.
8262 (do_test): New function.
8263 * math/libm-test-fma.inc: Include libm-test-driver.c.
8264 (do_test): New function.
8265 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8266 (do_test): New function.
8267 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8268 (do_test): New function.
8269 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8270 (do_test): New function.
8271 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8272 (do_test): New function.
8273 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8274 (do_test): New function.
8275 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8276 (do_test): New function.
8277 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8278 (do_test): New function.
8279 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8280 (do_test): New function.
8281 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8282 (do_test): New function.
8283 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8284 (do_test): New function.
8285 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8286 (do_test): New function.
8287 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8288 (do_test): New function.
8289 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8290 (do_test): New function.
8291 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8292 (do_test): New function.
8293 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8294 (do_test): New function.
8295 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8296 (do_test): New function.
8297 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8298 (do_test): New function.
8299 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8300 (do_test): New function.
8301 * math/libm-test-isless.inc: Include libm-test-driver.c.
8302 (do_test): New function.
8303 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8304 (do_test): New function.
8305 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8306 (do_test): New function.
8307 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8308 (do_test): New function.
8309 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8310 (do_test): New function.
8311 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8312 (do_test): New function.
8313 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8314 (do_test): New function.
8315 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8316 (do_test): New function.
8317 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8318 (do_test): New function.
8319 * math/libm-test-j0.inc: Include libm-test-driver.c.
8320 (do_test): New function.
8321 * math/libm-test-j1.inc: Include libm-test-driver.c.
8322 (do_test): New function.
8323 * math/libm-test-jn.inc: Include libm-test-driver.c.
8324 (do_test): New function.
8325 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8326 (do_test): New function.
8327 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8328 (do_test): New function.
8329 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8330 (do_test): New function.
8331 * math/libm-test-llround.inc: Include libm-test-driver.c.
8332 (do_test): New function.
8333 * math/libm-test-log.inc: Include libm-test-driver.c.
8334 (do_test): New function.
8335 * math/libm-test-log10.inc: Include libm-test-driver.c.
8336 (do_test): New function.
8337 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8338 (do_test): New function.
8339 * math/libm-test-log2.inc: Include libm-test-driver.c.
8340 (do_test): New function.
8341 * math/libm-test-logb.inc: Include libm-test-driver.c.
8342 (do_test): New function.
8343 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8344 (do_test): New function.
8345 * math/libm-test-lround.inc: Include libm-test-driver.c.
8346 (do_test): New function.
8347 * math/libm-test-modf.inc: Include libm-test-driver.c.
8348 (do_test): New function.
8349 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8350 (do_test): New function.
8351 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8352 (do_test): New function.
8353 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8354 (do_test): New function.
8355 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8356 (do_test): New function.
8357 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8358 (do_test): New function.
8359 * math/libm-test-pow.inc: Include libm-test-driver.c.
8360 (do_test): New function.
8361 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8362 (do_test): New function.
8363 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8364 (do_test): New function.
8365 * math/libm-test-rint.inc: Include libm-test-driver.c.
8366 (do_test): New function.
8367 * math/libm-test-round.inc: Include libm-test-driver.c.
8368 (do_test): New function.
8369 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8370 (do_test): New function.
8371 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8372 (do_test): New function.
8373 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8374 (do_test): New function.
8375 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8376 (do_test): New function.
8377 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8378 (do_test): New function.
8379 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8380 (do_test): New function.
8381 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8382 (do_test): New function.
8383 * math/libm-test-significand.inc: Include libm-test-driver.c.
8384 (do_test): New function.
8385 * math/libm-test-sin.inc: Include libm-test-driver.c.
8386 (do_test): New function.
8387 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8388 (do_test): New function.
8389 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8390 (do_test): New function.
8391 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8392 (do_test): New function.
8393 * math/libm-test-tan.inc: Include libm-test-driver.c.
8394 (do_test): New function.
8395 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8396 (do_test): New function.
8397 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8398 (do_test): New function.
8399 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8400 (do_test): New function.
8401 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8402 (do_test): New function.
8403 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8404 (do_test): New function.
8405 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8406 (do_test): New function.
8407 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8408 (do_test): New function.
8409 * math/libm-test-y0.inc: Include libm-test-driver.c.
8410 (do_test): New function.
8411 * math/libm-test-y1.inc: Include libm-test-driver.c.
8412 (do_test): New function.
8413 * math/libm-test-yn.inc: Include libm-test-driver.c.
8414 (do_test): New function.
8415 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8416 (HAVE_VECTOR): Remove macro.
8417 (START): Do not call HAVE_VECTOR.
8418 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8419 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8420 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8421 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8422 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8423 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8424 * math/test-math-vector.h (FUNC_TEST): New macro.
8425 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8426 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8427 (double-vlen4-funcs): Likewise.
8428 (double-vlen4-avx2-funcs): Likewise.
8429 (double-vlen8-funcs): Likewise.
8430 (float-vlen4-funcs): Likewise.
8431 (float-vlen8-funcs): Likewise.
8432 (float-vlen8-avx2-funcs): Likewise.
8433 (float-vlen16-funcs): Likewise.
8434 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8435 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8436 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8437 macro.
8438 (TEST_VECTOR_sin): Likewise.
8439 (TEST_VECTOR_sincos): Likewise.
8440 (TEST_VECTOR_log): Likewise.
8441 (TEST_VECTOR_exp): Likewise.
8442 (TEST_VECTOR_pow): Likewise.
8443 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8444 Likewise.
8445 (TEST_VECTOR_sin): Likewise.
8446 (TEST_VECTOR_sincos): Likewise.
8447 (TEST_VECTOR_log): Likewise.
8448 (TEST_VECTOR_exp): Likewise.
8449 (TEST_VECTOR_pow): Likewise.
8450 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8451 Likewise.
8452 (TEST_VECTOR_sinf): Likewise.
8453 (TEST_VECTOR_sincosf): Likewise.
8454 (TEST_VECTOR_logf): Likewise.
8455 (TEST_VECTOR_expf): Likewise.
8456 (TEST_VECTOR_powf): Likewise.
8457 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8458 Likewise.
8459 (TEST_VECTOR_sinf): Likewise.
8460 (TEST_VECTOR_sincosf): Likewise.
8461 (TEST_VECTOR_logf): Likewise.
8462 (TEST_VECTOR_expf): Likewise.
8463 (TEST_VECTOR_powf): Likewise.
8464 * math/gen-libm-have-vector-test.sh: Remove file.
8465 * math/libm-test.inc: Likewise.
8466 * math/libm-test-support-double.c: Likewise.
8467 * math/libm-test-support-float.c: Likewise.
8468 * math/libm-test-support-ldouble.c: Likewise.
8469 * math/test-double-finite.c: Likewise.: Likewise.
8470 * math/test-double.c: Likewise.
8471 * math/test-float-finite.c: Likewise.
8472 * math/test-float.c: Likewise.
8473 * math/test-idouble.c: Likewise.
8474 * math/test-ifloat.c: Likewise.
8475 * math/test-ildouble.c: Likewise.
8476 * math/test-ldouble-finite.c: Likewise.
8477 * math/test-ldouble.c: Likewise.
8478 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8479 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8480 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8481 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8482 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8483 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8484 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8485 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8486 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8487 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8488
8489 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8490 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8491
8492 * math/Makefile: Add wrappers to gen-libm-calls.
8493 * math/w_acos_template.c: New file.
8494 * math/w_acosh_template.c: Likewise.
8495 * math/w_asin_template.c: Likewise.
8496 * math/w_atan2_template.c: Likewise.
8497 * math/w_atanh_template.c: Likewise.
8498 * math/w_cosh_template.c: Likewise.
8499 * math/w_exp10_template.c: Likewise.
8500 * math/w_exp2_template.c: Likewise.
8501 * math/w_exp_template.c: Likewise.
8502 * math/w_fmod_template.c: Likewise.
8503 * math/w_hypot_template.c: Likewise.
8504 * math/w_j0_template.c: Likewise.
8505 * math/w_j1_template.c: Likewise.
8506 * math/w_jn_template.c: Likewise.
8507 * math/w_lgamma_r_template.c: Likewise.
8508 * math/w_lgamma_template.c: Likewise.
8509 * math/w_log10_template.c: Likewise.
8510 * math/w_log2_template.c: Likewise.
8511 * math/w_log_template.c: Likewise.
8512 * math/w_pow_template.c: Likewise.
8513 * math/w_remainder_template.c: Likewise.
8514 * math/w_sinh_template.c: Likewise.
8515 * math/w_sqrt_template.c: Likewise.
8516 * math/w_tgamma_template.c: Likewise.: Likewise.
8517 * sysdeps/generic/math-type-macros-double.h
8518 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8519 the new wrappers.
8520 * sysdeps/generic/math-type-macros-float.h: Likewise.
8521 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8522
8523 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8524
8525 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8526 New enum constant and macro.
8527
8528 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8529 kernel version to 4.10.
8530
8531 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8532
8533 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8534
8535 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8536
8537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8538
8539 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8540
8541 * sysdeps/powerpc/tst-set_ppr.c: New file.
8542 Implement test cases for __ppc_set_ppr_* functions.
8543 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8544 in the list of tests.
8545
8546 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8547
8548 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8549 instead of test-skeleton.c.
8550 (do_test): Replaced pthread_create and pthread_join with
8551 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8552 Removed unneeded status variable.
8553 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8554 instead of test-skeleton.c.
8555 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8556
8557 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8558
8559 [BZ #20313]
8560 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8561 201605L, for Unicode 9.
8562
8563 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8564
8565 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8566 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8567 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8568 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8569 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8570 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8571
8572 2017-02-19 Zack Weinberg <zackw@panix.com>
8573
8574 * rt/tst-mqueue4.c: Include stdint.h.
8575
8576 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8577
8578 * sysdeps/arm/libm-test-ulps: Update.
8579 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8580 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8581 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8582
8583 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8584
8585 [BZ #21029]
8586 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8587 * sysdeps/unix/sysv/linux/i386/Makefile
8588 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8589 (uses-6-syscall-arguments): Remove.
8590 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8591 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8592 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8593 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8594 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8595 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8596 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8597 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8598 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8599 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8600 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8601 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8602 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8603 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8604 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8605 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8606 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8607 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8608 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8609 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8610 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8611 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8612 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8613 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8614 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8615 Likewise.
8616 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8617 Likewise.
8618 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8619 Likewise.
8620 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8621 Likewise.
8622 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8623 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8624 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8625 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8626 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8627 ebp on inline assembly.
8628 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8629 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8630 Set if CAN_USE_REGISTER_ASM_EBP is set.
8631
8632 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8633
8634 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8635 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8636
8637 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8638
8639 * math/auto-libm-test-in: Add tests of catan and catanh.
8640 * math/auto-libm-test-out-catan: New generated file.
8641 * math/auto-libm-test-out-catanh: Likewise.
8642 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8643 Move tests with finite inputs, except divide-by-zero cases, to
8644 auto-libm-test-in.
8645 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8646 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8647 (libm-test-funcs-noauto): Remove catan and catanh.
8648 * sysdeps/i386/fpu/libm-test-ulps: Update.
8649 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8651
8652 * math/auto-libm-test-in: Add tests of casin and casinh.
8653 * math/auto-libm-test-out-casin: New generated file.
8654 * math/auto-libm-test-out-casinh: Likewise.
8655 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8656 Move tests with finite inputs to auto-libm-test-in.
8657 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8658 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8659 (libm-test-funcs-noauto): Remove casin and casinh.
8660 * sysdeps/i386/fpu/libm-test-ulps: Update.
8661 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663
8664 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8665 * math/auto-libm-test-out-cacos: New generated file.
8666 * math/auto-libm-test-out-cacosh: Likewise.
8667 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8668 Move tests with finite inputs to auto-libm-test-in.
8669 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8670 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8671 (libm-test-funcs-noauto): Remove cacos and cacosh.
8672 * sysdeps/i386/fpu/libm-test-ulps: Update.
8673 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675
8676 Revert:
8677 2017-02-16 Zack Weinberg <zackw@panix.com>
8678
8679 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8680 Don't include init-arch.h.
8681 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8682 Don't include init-arch.h.
8683
8684 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8685
8686 [BZ #21171]
8687 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8688 +Inf and raise divide-by-zero when x is negative.
8689 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8690 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8691 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8692 -Inf and raise divide-by-zero when x = +-0.
8693 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8694 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8695 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8696 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8697 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8700
8701 2017-02-16 Zack Weinberg <zackw@panix.com>
8702
8703 * scripts/build-many-glibcs.py (bot_build_mail): If the
8704 bot_config does not contain all of the necessary email-
8705 related settings, just print a warning and continue.
8706
8707 2017-02-16 Zack Weinberg <zackw@panix.com>
8708
8709 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8710 * dirent/opendir-tst1.c: Include sys/stat.h.
8711 * dirent/tst-fdopendir.c: Include sys/stat.h.
8712 * dirent/tst-fdopendir2.c: Include stdlib.h.
8713 * dirent/tst-scandir.c: Include stdbool.h.
8714 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8715 * elf/tst-tls15.c: Include stdlib.h.
8716 * elf/tst-tls16.c: Include stdlib.h.
8717 * elf/tst-tls17.c: Include stdlib.h.
8718 * elf/tst-tls18.c: Include stdlib.h.
8719 * iconv/tst-iconv6.c: Include endian.h.
8720 * iconvdata/bug-iconv11.c: Include limits.h.
8721 * io/test-utime.c: Include stdint.h.
8722 * io/tst-faccessat.c: Include sys/stat.h.
8723 * io/tst-fchmodat.c: Include sys/stat.h.
8724 * io/tst-fchownat.c: Include sys/stat.h.
8725 * io/tst-fstatat.c: Include sys/stat.h.
8726 * io/tst-futimesat.c: Include sys/stat.h.
8727 * io/tst-linkat.c: Include sys/stat.h.
8728 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8729 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8730 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8731 * io/tst-openat.c: Include stdbool.h.
8732 * io/tst-readlinkat.c: Include sys/stat.h.
8733 * io/tst-renameat.c: Include sys/stat.h.
8734 * io/tst-symlinkat.c: Include sys/stat.h.
8735 * io/tst-unlinkat.c: Include stdbool.h.
8736 * libio/bug-memstream1.c: Include stdlib.h.
8737 * libio/bug-wmemstream1.c: Include stdlib.h.
8738 * libio/tst-fwrite-error.c: Include stdlib.h.
8739 * libio/tst-memstream1.c: Include stdlib.h.
8740 * libio/tst-memstream2.c: Include stdlib.h.
8741 * libio/tst-memstream3.c: Include stdlib.h.
8742 * malloc/tst-interpose-aux.c: Include stdint.h.
8743 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8744 * nptl/tst-basic7.c: Include limits.h.
8745 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8746 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8747 * nptl/tst-cancel4_1.c: Include stddef.h.
8748 * nptl/tst-cancel4_2.c: Include stddef.h.
8749 * nptl/tst-cond16.c: Include limits.h.
8750 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8751 * nptl/tst-cond18.c: Include limits.h.
8752 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8753 * nptl/tst-cond4.c: Include stdint.h.
8754 * nptl/tst-cond6.c: Include stdint.h.
8755 * nptl/tst-stack2.c: Include limits.h.
8756 * nptl/tst-stackguard1.c: Include stddef.h.
8757 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8758 * nptl/tst-tls4moda.c: Include stddef.h.
8759 Don't include stdio.h, unistd.h, or tls.h.
8760 * nptl/tst-tls4modb.c: Include stddef.h.
8761 Don't include stdio.h, unistd.h, or tls.h.
8762 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8763 * posix/tst-getaddrinfo2.c: Include stdio.h.
8764 * posix/tst-getaddrinfo5.c: Include stdio.h.
8765 * posix/tst-pathconf.c: Include sys/stat.h.
8766 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8767 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8768 * posix/tst-regex.c: Include stdint.h.
8769 Don't include spawn.h or spawn_int.h.
8770 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8771 * posix/tst-vfork3.c: Include sys/stat.h.
8772 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8773 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8774 * resolv/tst-resolv-search.c: Include stdlib.h.
8775 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8776 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8777 * stdlib/test-canon.c: Include sys/stat.h.
8778 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8779 * string/test-memchr.c: Include stdint.h.
8780 * string/tst-cmp.c: Include stdint.h.
8781 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8782 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8783 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8784 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8785 Don't include init-arch.h.
8786 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8787 Don't include init-arch.h.
8788 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8789 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8790 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8791 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8792 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8793 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8794 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8795 * time/clocktest.c: Include stdint.h.
8796 * time/tst-posixtz.c: Include stdint.h.
8797 * timezone/tst-timezone.c: Include stdint.h.
8798
8799 2017-02-16 Zack Weinberg <zackw@panix.com>
8800
8801 * string/string.h [__USE_MISC]: Include strings.h.
8802 (__bzero, bcmp, bcopy, bzero, index, rindex)
8803 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8804 (ffs, ffsl, ffsll): Don't declare.
8805 * string/strings.h: Do not suppress the file if string.h has
8806 already been included.
8807 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8808 annotations.
8809 (index, rindex): Define inline forwarders even if
8810 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8811 (ffs): Use __attribute_const__.
8812 (ffsl, ffsll): Declare here.
8813 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8814 have now been standardized.
8815 * include/string.h (__bzero): Declare here.
8816
8817 * bits/types.h: Move to posix/bits.
8818 * include/bits/types.h: New wrapper.
8819
8820 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8821
8822 * string/bits/string2.h (strcmp): Remove define.
8823 (__strcmp_cg): Likewise.
8824 (strncmp): Likewise.
8825
8826 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8827
8828 * include/string.h: Add __cplusplus check.
8829
8830 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8831
8832 [BZ #21134]
8833 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8834 "divide by zero" exception when the input is zero.
8835 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8836 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8837 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8838 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8839 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8840
8841 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8842
8843 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8844 and include ...
8845 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8846 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8847 to, and include ...
8848 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8849 file.
8850 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8851 and include ...
8852 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8853 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8854 and include ...
8855 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8856 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8857 and include ...
8858 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8859 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8860 and include ...
8861 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8862 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8863 to, and include ...
8864 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8865 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8866 and include ...
8867 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8868
8869 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8870
8871 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8872 here.
8873 * math/libm-test-support.c (libm_test_init): Do not call
8874 INIT_ARCH_EXT here.
8875 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8876 (main): Call INIT_ARCH_EXT.
8877
8878 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8879
8880 [BZ #21130]
8881 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8882 with the "invalid" exception raised when x is -Inf.
8883 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8884
8885 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8886
8887 * string/bits/string2.h (strchr): Remove define.
8888
8889 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8892 tst-avx512.
8893 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8894 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8895 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8896 ($(objpfx)tst-sse): New rule.
8897 ($(objpfx)tst-avx): Likewise.
8898 ($(objpfx)tst-avx512): Likewise.
8899 (CFLAGS-tst-avx-aux.c): New.
8900 (CFLAGS-tst-avxmod.c): Likewise.
8901 (CFLAGS-tst-avx512-aux.c): Likewise.
8902 (CFLAGS-tst-avx512mod.c): Likewise.
8903 * sysdeps/x86_64/tst-avx-aux.c: New file.
8904 * sysdeps/x86_64/tst-avx.c: Likewise.
8905 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8906 * sysdeps/x86_64/tst-avx512.c: Likewise.
8907 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8908 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8909 * sysdeps/x86_64/tst-sse.c: Likewise.
8910 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8911
8912 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8913
8914 * math/auto-libm-test-in: Add more tests of csin and csinh.
8915 * math/auto-libm-test-out-csin: Regenerated.
8916 * math/auto-libm-test-out-csinh: Likewise.
8917 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8918 auto-libm-test-in.
8919 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8920
8921 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8922
8923 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8924 libm-compat-calls-auto.
8925 (libm-compat-calls): Likewise.
8926 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8927 w_lgamma_compatF and k_standardF (merged from the items above).
8928 (libm-routines): Use libm-compat-calls, instead of
8929 libm-compat-calls-auto, with type-foreach.
8930
8931 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8932
8933 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8934 macro.
8935 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8936 (CFLAGS-test-ifloat.c): ... this. Remove
8937 -U__LIBC_INTERNAL_MATH_INLINES.
8938 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8939 (CFLAGS-test-idouble.c): ... this. Remove
8940 -U__LIBC_INTERNAL_MATH_INLINES.
8941 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8942 (CFLAGS-test-ildouble.c): ... this. Remove
8943 -U__LIBC_INTERNAL_MATH_INLINES.
8944
8945 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8946
8947 * math/libm-test-support.c: New file. Content from
8948 math/libm-test-driver.c.
8949 * math/libm-test-support.h: Likewise.
8950 * math/libm-test-support-double.c: New file.
8951 * math/libm-test-support-float.c: Likewise.
8952 * math/libm-test-support-ldouble.c: Likewise.
8953 * math/libm-test-driver.c: Remove main comment and header
8954 includes. Include libm-test-support.h.
8955 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8956 (flag_test_errno): Remove static.
8957 (flag_test_exceptions): Likewise.
8958 (flag_test_finite): Likewise.
8959 (flag_test_inline): Likewise.
8960 (flag_test_mathvec): Likewise.
8961 (test_msg): Likewise.
8962 (NO_EXCEPTION): Remove.
8963 (INVALID_EXCEPTION): Likewise.
8964 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8965 (OVERFLOW_EXCEPTION): Likewise.
8966 (UNDERFLOW_EXCEPTION): Likewise.
8967 (INEXACT_EXCEPTION): Likewise.
8968 (INVALID_EXCEPTION_OK): Likewise.
8969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8970 (OVERFLOW_EXCEPTION_OK): Likewise.
8971 (UNDERFLOW_EXCEPTION_OK): Likewise.
8972 (NO_INEXACT_EXCEPTION): Likewise.
8973 (EXCEPTIONS_OK): Likewise.
8974 (IGNORE_ZERO_INF_SIGN): Likewise.
8975 (TEST_NAN_SIGN): Likewise.
8976 (TEST_NAN_PAYLOAD): Likewise.
8977 (NO_TEST_INLINE): Likewise.
8978 (XFAIL_TEST): Likewise.
8979 (ERRNO_UNCHANGED): Likewise.
8980 (ERRNO_EDOM): Likewise.
8981 (ERRNO_ERANGE): Likewise.
8982 (IGNORE_RESULT): Likewise.
8983 (NON_FINITE): Likewise.
8984 (TEST_SNAN): Likewise.
8985 (NO_TEST_MATHVEC): Likewise.
8986 (__CONCATX): Likewise.
8987 (TYPE_MIN): Likewise.
8988 (TYPE_TRUE_MIN): Likewise.
8989 (TYPE_MAX): Likewise.
8990 (MIN_EXP): Likewise.
8991 (MAX_EXP): Likewise.
8992 (MANT_DIG): Likewise.
8993 (FSTR_MAX): Likewise.
8994 (ulp_idx): Likewise.
8995 (qtype_str): Remove static.
8996 (TEST_COND_binary32): Remove.
8997 (TEST_COND_binary64): Likewise.
8998 (TEST_COND_binary128): Likewise.
8999 (TEST_COND_ibm128): Likewise.
9000 (TEST_COND_intel96): Likewise.
9001 (TEST_COND_m68k96): Likewise.
9002 (TEST_COND_ibm128_libgcc): Likewise.
9003 (XFAIL_IBM128_LIBGCC): Likewise.
9004 (PAYLOAD_DIG): Likewise.
9005 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9006 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9007 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9008 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9009 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9010 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9011 (TEST_COND_long32): Likewise.
9012 (TEST_COND_long64): Likewise.
9013 (TEST_COND_before_rounding): Likewise.
9014 (TEST_COND_after_rounding): Likewise.
9015 (ulps_file_name): Likewise.
9016 (ulps_file): Likewise.
9017 (output_ulps): Likewise.
9018 (output_dir): Likewise.
9019 (noErrors): Likewise.
9020 (noTests): Likewise.
9021 (noExcTests): Likewise.
9022 (noErrnoTests): Likewise.
9023 (verbose): Likewise.
9024 (output_max_error): Likewise.
9025 (output_points): Likewise.
9026 (ignore_max_ulp): Likewise.
9027 (max_error): Likewise.
9028 (real_max_error): Likewise.
9029 (imag_max_error): Likewise.
9030 (prev_max_error): Likewise.
9031 (prev_real_max_error): Likewise.
9032 (prev_imag_max_error): Likewise.
9033 (max_valid_error): Likewise.
9034 (TYPE_DECIMAL_DIG): Likewise.
9035 (TYPE_HEX_DIG): Likewise.
9036 (fmt_ftostr): Likewise.
9037 (compare_ulp_data): Likewise.
9038 (find_ulps): Likewise.
9039 (init_max_error): Likewise.
9040 (set_max_error): Likewise.
9041 (print_float): Likewise.
9042 (print_screen): Likewise.
9043 (print_screen_max_error): Likewise.
9044 (update_stats): Likewise.
9045 (print_function_ulps): Likewise.
9046 (print_complex_function_ulps): Likewise.
9047 (fpstack_test): Likewise.
9048 (print_max_error): Likewise.
9049 (print_complex_max_error): Likewise.
9050 (test_single_exception): Likewise.
9051 (test_exceptions): Likewise.
9052 (test_single_errno): Likewise.
9053 (test_errno): Likewise.
9054 (ULPDIFF): Likewise.
9055 (ulp): Likewise.
9056 (check_float_internal): Likewise.
9057 (check_float): Likewise.
9058 (check_complex): Likewise.
9059 (check_int): Likewise.
9060 (check_long): Likewise.
9061 (check_bool): Likewise.
9062 (check_longlong): Likewise.
9063 (check_intmax_t): Likewise.
9064 (check_uintmax_t): Likewise.
9065 (enable_test): Likewise.
9066 (matherr): Likewise.
9067 (initialize): Likewise.
9068 (options): Likewise.
9069 (doc): Remove static.
9070 (argp): Likewise.
9071 (parse_opt): Remove.
9072 (check_ulp): Likewise.
9073 (libm_test_init): Likewise.
9074 (libm_test_finish): Likewise.
9075 * math/Makefile (libm-test-support): New variable.
9076 (test-extras): Add libm-test-support files.
9077 (extra-test-objs): Likewise.
9078 (CFLAGS-libm-test-support-float.c): New variable.
9079 (CFLAGS-libm-test-support-double.c): Likewise.
9080 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9081 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9082 libm-test-support objects.
9083
9084 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9085
9086 * math/Makefile (libm-calls): Move w_exp...
9087 (libm-compat-calls-auto): Here.
9088
9089 * math/w_expl.c: Add suffix "_compat" to filename.
9090 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9091 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9092 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9094 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9098
9099 * math/w_expl_compat.c: New file, copied from above.
9100 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9101 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9102 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9103 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9104 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9108
9109 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9110 to filename.
9111 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9112
9113 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9114 copied from above and adjusted for the new filenames.
9115 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9116
9117 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9118
9119 * math/Makefile (libm-calls): Move w_lgammaF...
9120 (libm-compat-calls-auto): Here.
9121
9122 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9123 * math/w_lgammaf.c: Likewise.
9124 * math/w_lgammal.c: Likewise.
9125
9126 * math/w_lgamma_compat2.c: New file, copied from above.
9127 * math/w_lgammaf_compat2.c: Likewise.
9128 * math/w_lgammal_compat2.c: Likewise.
9129
9130 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9131
9132 * math/Makefile (libm-calls): Move w_lgammaF_r...
9133 (libm-compat-calls-auto): Here.
9134
9135 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9136 * math/w_lgammaf_r.c: Likewise.
9137 * math/w_lgammal_r.c: Likewise.
9138 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9139 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9140 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9141
9142 * math/w_lgamma_r_compat.c: New file, copied from above.
9143 * math/w_lgammaf_r_compat.c: Likewise.
9144 * math/w_lgammal_r_compat.c: Likewise.
9145 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9146 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9147 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9148
9149 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9150 to filename.
9151 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9152
9153 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9154 copied from above and adjusted for the new filenames.
9155 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9156
9157 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9158
9159 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9160 calculation in SYSCALL_ERROR_HANDLER().
9161
9162 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9163
9164 * manual/contrib.texi: Fix typo.
9165
9166 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9167
9168 [BZ #21109]
9169 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9170 tunable_val_t as argument.
9171 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9172 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9173 argument.
9174 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9175
9176 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9177
9178 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9179 Add PTRACE_EVENT_STOP.
9180 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9184 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9185 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9186
9187 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9188
9189 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9190 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9191 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9192 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9193 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9194 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9195 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9196 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9197 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9198 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9199
9200 [BZ #21112]
9201 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9202 12 bits zero.
9203 (cp_l): Update for new value of cp_h.
9204 * math/auto-libm-test-in: Add another test of pow.
9205 * math/auto-libm-test-out-pow: Regenerated.
9206
9207 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9208
9209 * manual/contrib.texi: Fix typo.
9210
9211 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9212
9213 [BZ #15998]
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9215 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9217
9218 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9219
9220 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9221 STRCHR as __strchr_power8.
9222 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9223 strlen as __strlen_power8.
9224
9225 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9226
9227 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9228 unaligned load for shorter strings.
9229 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9230
9231 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9232
9233 * math/libm-test-driver.c (flag_test_errno): New variable.
9234 (flag_test_exceptions): Likewise.
9235 (flag_test_finite): Likewise.
9236 (flag_test_inline): Likewise.
9237 (flag_test_mathvec): Likewise.
9238 (test_msg): Likewise.
9239 (ulp_idx): Likewise.
9240 (qtype_str): Likewise.
9241 (ULP_IDX): Remove macro.
9242 (QTYPE_STR): Likewise.
9243 (find_ulps): Use ulp_idx not ULP_IDX.
9244 (print_function_ulps): Use qtype_str, printed with %s, not
9245 QTYPE_STR, printed with concatentation to format string.
9246 (print_complex_function_ulps): Likewise.
9247 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9248 (test_errno): Use flag_test_errno not TEST_ERRNO.
9249 (enable_test): Use flag_test_inline, flag_test_finite and
9250 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9251 TEST_MATHVEC.
9252 (libm_test_init): New function. Factored out of main.
9253 (libm_test_finish): Likewise.
9254 (main): Call libm_test_init and libm_test_finish and move most
9255 code to those functions.
9256
9257 * math/libm-test-driver.c (STRX): New macro.
9258 (STR): Likewise.
9259 (STR_FLOAT): Likewise.
9260 (STR_VEC_LEN): Likewise.
9261 (TEST_MSG): Likewise. Define here instead of expecting to be
9262 defined by including file.
9263 * math/test-double-finite.c (TEST_MSG): Remove macro.
9264 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9265 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9266 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9267 * math/test-double.c (TEST_MSG): Likewise.
9268 * math/test-float-finite.c (TEST_MSG): Likewise.
9269 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9270 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9271 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9272 * math/test-float.c (TEST_MSG): Likewise.
9273 * math/test-idouble.c (TEST_MSG): Likewise.
9274 * math/test-ifloat.c (TEST_MSG): Likewise.
9275 * math/test-ildouble.c (TEST_MSG): Likewise.
9276 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9277 * math/test-ldouble.c (TEST_MSG): Likewise.
9278
9279 * math/libm-test.inc: Move all tests of individual functions to
9280 libm-test-*.inc and #include libm-test-*.c files.
9281 (acos_test_data): Remove.
9282 (acos_test): Likewise.
9283 (acosh_test_data): Likewise.
9284 (acosh_test): Likewise.
9285 (asin_test_data): Likewise.
9286 (asin_test): Likewise.
9287 (asinh_test_data): Likewise.
9288 (asinh_test): Likewise.
9289 (atan_test_data): Likewise.
9290 (atan_test): Likewise.
9291 (atanh_test_data): Likewise.
9292 (atanh_test): Likewise.
9293 (atan2_test_data): Likewise.
9294 (atan2_test): Likewise.
9295 (cabs_test_data): Likewise.
9296 (cabs_test): Likewise.
9297 (cacos_test_data): Likewise.
9298 (cacos_test): Likewise.
9299 (cacosh_test_data): Likewise.
9300 (cacosh_test): Likewise.
9301 (canonicalize_test_data): Likewise.
9302 (canonicalize_test): Likewise.
9303 (carg_test_data): Likewise.
9304 (carg_test): Likewise.
9305 (casin_test_data): Likewise.
9306 (casin_test): Likewise.
9307 (casinh_test_data): Likewise.
9308 (casinh_test): Likewise.
9309 (catan_test_data): Likewise.
9310 (catan_test): Likewise.
9311 (catanh_test_data): Likewise.
9312 (catanh_test): Likewise.
9313 (cbrt_test_data): Likewise.
9314 (cbrt_test): Likewise.
9315 (ccos_test_data): Likewise.
9316 (ccos_test): Likewise.
9317 (ccosh_test_data): Likewise.
9318 (ccosh_test): Likewise.
9319 (ceil_test_data): Likewise.
9320 (ceil_test): Likewise.
9321 (cexp_test_data): Likewise.
9322 (cexp_test): Likewise.
9323 (cimag_test_data): Likewise.
9324 (cimag_test): Likewise.
9325 (clog_test_data): Likewise.
9326 (clog_test): Likewise.
9327 (clog10_test_data): Likewise.
9328 (clog10_test): Likewise.
9329 (conj_test_data): Likewise.
9330 (conj_test): Likewise.
9331 (copysign_test_data): Likewise.
9332 (copysign_test): Likewise.
9333 (cos_test_data): Likewise.
9334 (cos_test): Likewise.
9335 (cosh_test_data): Likewise.
9336 (cosh_test): Likewise.
9337 (cpow_test_data): Likewise.
9338 (cpow_test): Likewise.
9339 (cproj_test_data): Likewise.
9340 (cproj_test): Likewise.
9341 (creal_test_data): Likewise.
9342 (creal_test): Likewise.
9343 (csin_test_data): Likewise.
9344 (csin_test): Likewise.
9345 (csinh_test_data): Likewise.
9346 (csinh_test): Likewise.
9347 (csqrt_test_data): Likewise.
9348 (csqrt_test): Likewise.
9349 (ctan_test_data): Likewise.
9350 (ctan_test): Likewise.
9351 (ctanh_test_data): Likewise.
9352 (ctanh_test): Likewise.
9353 (erf_test_data): Likewise.
9354 (erf_test): Likewise.
9355 (erfc_test_data): Likewise.
9356 (erfc_test): Likewise.
9357 (exp_test_data): Likewise.
9358 (exp_test): Likewise.
9359 (exp10_test_data): Likewise.
9360 (exp10_test): Likewise.
9361 (pow10_test): Likewise.
9362 (exp2_test_data): Likewise.
9363 (exp2_test): Likewise.
9364 (expm1_test_data): Likewise.
9365 (expm1_test): Likewise.
9366 (fabs_test_data): Likewise.
9367 (fabs_test): Likewise.
9368 (fdim_test_data): Likewise.
9369 (fdim_test): Likewise.
9370 (floor_test_data): Likewise.
9371 (floor_test): Likewise.
9372 (fma_test_data): Likewise.
9373 (fma_test): Likewise.
9374 (fmax_test_data): Likewise.
9375 (fmax_test): Likewise.
9376 (fmaxmag_test_data): Likewise.
9377 (fmaxmag_test): Likewise.
9378 (fmin_test_data): Likewise.
9379 (fmin_test): Likewise.
9380 (fminmag_test_data): Likewise.
9381 (fminmag_test): Likewise.
9382 (fmod_test_data): Likewise.
9383 (fmod_test): Likewise.
9384 (fpclassify_test_data): Likewise.
9385 (fpclassify_test): Likewise.
9386 (frexp_test_data): Likewise.
9387 (frexp_test): Likewise.
9388 (fromfp_test_data): Likewise.
9389 (fromfp_test): Likewise.
9390 (fromfpx_test_data): Likewise.
9391 (fromfpx_test): Likewise.
9392 (getpayload_test_data): Likewise.
9393 (getpayload_test): Likewise.
9394 (hypot_test_data): Likewise.
9395 (hypot_test): Likewise.
9396 (ilogb_test_data): Likewise.
9397 (ilogb_test): Likewise.
9398 (iscanonical_test_data): Likewise.
9399 (iscanonical_test): Likewise.
9400 (iseqsig_test_data): Likewise.
9401 (iseqsig_test): Likewise.
9402 (isfinite_test_data): Likewise.
9403 (isfinite_test): Likewise.
9404 (finite_test): Likewise.
9405 (isgreater_test_data): Likewise.
9406 (isgreater_test): Likewise.
9407 (isgreaterequal_test_data): Likewise.
9408 (isgreaterequal_test): Likewise.
9409 (isinf_test_data): Likewise.
9410 (isinf_test): Likewise.
9411 (isless_test_data): Likewise.
9412 (isless_test): Likewise.
9413 (islessequal_test_data): Likewise.
9414 (islessequal_test): Likewise.
9415 (islessgreater_test_data): Likewise.
9416 (islessgreater_test): Likewise.
9417 (isnan_test_data): Likewise.
9418 (isnan_test): Likewise.
9419 (isnormal_test_data): Likewise.
9420 (isnormal_test): Likewise.
9421 (issignaling_test_data): Likewise.
9422 (issignaling_test): Likewise.
9423 (issubnormal_test_data): Likewise.
9424 (issubnormal_test): Likewise.
9425 (isunordered_test_data): Likewise.
9426 (isunordered_test): Likewise.
9427 (iszero_test_data): Likewise.
9428 (iszero_test): Likewise.
9429 (j0_test_data): Likewise.
9430 (j0_test): Likewise.
9431 (j1_test_data): Likewise.
9432 (j1_test): Likewise.
9433 (jn_test_data): Likewise.
9434 (jn_test): Likewise.
9435 (lgamma_test_data): Likewise.
9436 (lgamma_test): Likewise.
9437 (gamma_test): Likewise.
9438 (llogb_test_data): Likewise.
9439 (llogb_test): Likewise.
9440 (lrint_test_data): Likewise.
9441 (lrint_test): Likewise.
9442 (llrint_test_data): Likewise.
9443 (llrint_test): Likewise.
9444 (log_test_data): Likewise.
9445 (log_test): Likewise.
9446 (log10_test_data): Likewise.
9447 (log10_test): Likewise.
9448 (log1p_test_data): Likewise.
9449 (log1p_test): Likewise.
9450 (log2_test_data): Likewise.
9451 (log2_test): Likewise.
9452 (logb_test_data): Likewise.
9453 (logb_test): Likewise.
9454 (lround_test_data): Likewise.
9455 (lround_test): Likewise.
9456 (llround_test_data): Likewise.
9457 (llround_test): Likewise.
9458 (modf_test_data): Likewise.
9459 (modf_test): Likewise.
9460 (nearbyint_test_data): Likewise.
9461 (nearbyint_test): Likewise.
9462 (nextafter_test_data): Likewise.
9463 (nextafter_test): Likewise.
9464 (nextup_test_data): Likewise.
9465 (nextup_test): Likewise.
9466 (nextdown_test_data): Likewise.
9467 (nextdown_test): Likewise.
9468 (nexttoward_test_data): Likewise.
9469 (nexttoward_test): Likewise.
9470 (pow_test_data): Likewise.
9471 (pow_test): Likewise.
9472 (remainder_test_data): Likewise.
9473 (remainder_test): Likewise.
9474 (drem_test): Likewise.
9475 (remquo_test_data): Likewise.
9476 (remquo_test): Likewise.
9477 (rint_test_data): Likewise.
9478 (rint_test): Likewise.
9479 (round_test_data): Likewise.
9480 (round_test): Likewise.
9481 (roundeven_test_data): Likewise.
9482 (roundeven_test): Likewise.
9483 (scalb_test_data): Likewise.
9484 (scalb_test): Likewise.
9485 (scalbn_test_data): Likewise.
9486 (scalbn_test): Likewise.
9487 (ldexp_test): Likewise.
9488 (scalbln_test_data): Likewise.
9489 (scalbln_test): Likewise.
9490 (setpayload_test_data): Likewise.
9491 (setpayload_test): Likewise.
9492 (setpayloadsig_test_data): Likewise.
9493 (setpayloadsig_test): Likewise.
9494 (signbit_test_data): Likewise.
9495 (signbit_test): Likewise.
9496 (sin_test_data): Likewise.
9497 (sin_test): Likewise.
9498 (sincos_test_data): Likewise.
9499 (sincos_test): Likewise.
9500 (sinh_test_data): Likewise.
9501 (sinh_test): Likewise.
9502 (sqrt_test_data): Likewise.
9503 (sqrt_test): Likewise.
9504 (tan_test_data): Likewise.
9505 (tan_test): Likewise.
9506 (tanh_test_data): Likewise.
9507 (tanh_test): Likewise.
9508 (tgamma_test_data): Likewise.
9509 (tgamma_test): Likewise.
9510 (totalorder_test_data): Likewise.
9511 (totalorder_test): Likewise.
9512 (totalordermag_test_data): Likewise.
9513 (totalordermag_test): Likewise.
9514 (trunc_test_data): Likewise.
9515 (trunc_test): Likewise.
9516 (ufromfp_test_data): Likewise.
9517 (ufromfp_test): Likewise.
9518 (ufromfpx_test_data): Likewise.
9519 (ufromfpx_test): Likewise.
9520 (y0_test_data): Likewise.
9521 (y0_test): Likewise.
9522 (y1_test_data): Likewise.
9523 (y1_test): Likewise.
9524 (yn_test_data): Likewise.
9525 (yn_test): Likewise.
9526 (significand_test_data): Likewise.
9527 (significand_test): Likewise.
9528 * math/Makefile (auto-libm-test-out-files): Remove variable.
9529 (libm-test-funcs-noauto): New variable.
9530 (libm-test-funcs-all): Likewise.
9531 (libm-test-c-auto): Likewise.
9532 (libm-test-c-noauto): Likewise.
9533 (libm-tests-generated): Add $(libm-test-c-auto) and
9534 $(libm-test-c-noauto).
9535 (generated): Do not add auto-libm-test-out.
9536 (libm-test-c-auto-obj): New variable.
9537 (libm-test-c-noauto-obj): Likewise.
9538 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9539 ($(libm-test-c-noauto-obj)): New static pattern rule.
9540 ($(libm-test-c-auto-obj)): Likewise.
9541 (libm-test-incs): New variable.
9542 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9543 and pass it to gen-libm-have-vector-test.sh.
9544 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9545 be passed on command line.
9546 * math/libm-test-acos.inc: New file. Content from
9547 math/libm-test.inc.
9548 * math/libm-test-acosh.inc: Likewise.
9549 * math/libm-test-asin.inc: Likewise.
9550 * math/libm-test-asinh.inc: Likewise.
9551 * math/libm-test-atan.inc: Likewise.
9552 * math/libm-test-atan2.inc: Likewise.
9553 * math/libm-test-atanh.inc: Likewise.
9554 * math/libm-test-cabs.inc: Likewise.
9555 * math/libm-test-cacos.inc: Likewise.
9556 * math/libm-test-cacosh.inc: Likewise.
9557 * math/libm-test-canonicalize.inc: Likewise.
9558 * math/libm-test-carg.inc: Likewise.
9559 * math/libm-test-casin.inc: Likewise.
9560 * math/libm-test-casinh.inc: Likewise.
9561 * math/libm-test-catan.inc: Likewise.
9562 * math/libm-test-catanh.inc: Likewise.
9563 * math/libm-test-cbrt.inc: Likewise.
9564 * math/libm-test-ccos.inc: Likewise.
9565 * math/libm-test-ccosh.inc: Likewise.
9566 * math/libm-test-ceil.inc: Likewise.
9567 * math/libm-test-cexp.inc: Likewise.
9568 * math/libm-test-cimag.inc: Likewise.
9569 * math/libm-test-clog.inc: Likewise.
9570 * math/libm-test-clog10.inc: Likewise.
9571 * math/libm-test-conj.inc: Likewise.
9572 * math/libm-test-copysign.inc: Likewise.
9573 * math/libm-test-cos.inc: Likewise.
9574 * math/libm-test-cosh.inc: Likewise.
9575 * math/libm-test-cpow.inc: Likewise.
9576 * math/libm-test-cproj.inc: Likewise.
9577 * math/libm-test-creal.inc: Likewise.
9578 * math/libm-test-csin.inc: Likewise.
9579 * math/libm-test-csinh.inc: Likewise.
9580 * math/libm-test-csqrt.inc: Likewise.
9581 * math/libm-test-ctan.inc: Likewise.
9582 * math/libm-test-ctanh.inc: Likewise.
9583 * math/libm-test-erf.inc: Likewise.
9584 * math/libm-test-erfc.inc: Likewise.
9585 * math/libm-test-exp.inc: Likewise.
9586 * math/libm-test-exp10.inc: Likewise.
9587 * math/libm-test-exp2.inc: Likewise.
9588 * math/libm-test-expm1.inc: Likewise.
9589 * math/libm-test-fabs.inc: Likewise.
9590 * math/libm-test-fdim.inc: Likewise.
9591 * math/libm-test-floor.inc: Likewise.
9592 * math/libm-test-fma.inc: Likewise.
9593 * math/libm-test-fmax.inc: Likewise.
9594 * math/libm-test-fmaxmag.inc: Likewise.
9595 * math/libm-test-fmin.inc: Likewise.
9596 * math/libm-test-fminmag.inc: Likewise.
9597 * math/libm-test-fmod.inc: Likewise.
9598 * math/libm-test-fpclassify.inc: Likewise.
9599 * math/libm-test-frexp.inc: Likewise.
9600 * math/libm-test-fromfp.inc: Likewise.
9601 * math/libm-test-fromfpx.inc: Likewise.
9602 * math/libm-test-getpayload.inc: Likewise.
9603 * math/libm-test-hypot.inc: Likewise.
9604 * math/libm-test-ilogb.inc: Likewise.
9605 * math/libm-test-iscanonical.inc: Likewise.
9606 * math/libm-test-iseqsig.inc: Likewise.
9607 * math/libm-test-isfinite.inc: Likewise.
9608 * math/libm-test-isgreater.inc: Likewise.
9609 * math/libm-test-isgreaterequal.inc: Likewise.
9610 * math/libm-test-isinf.inc: Likewise.
9611 * math/libm-test-isless.inc: Likewise.
9612 * math/libm-test-islessequal.inc: Likewise.
9613 * math/libm-test-islessgreater.inc: Likewise.
9614 * math/libm-test-isnan.inc: Likewise.
9615 * math/libm-test-isnormal.inc: Likewise.
9616 * math/libm-test-issignaling.inc: Likewise.
9617 * math/libm-test-issubnormal.inc: Likewise.
9618 * math/libm-test-isunordered.inc: Likewise.
9619 * math/libm-test-iszero.inc: Likewise.
9620 * math/libm-test-j0.inc: Likewise.
9621 * math/libm-test-j1.inc: Likewise.
9622 * math/libm-test-jn.inc: Likewise.
9623 * math/libm-test-lgamma.inc: Likewise.
9624 * math/libm-test-llogb.inc: Likewise.
9625 * math/libm-test-llrint.inc: Likewise.
9626 * math/libm-test-llround.inc: Likewise.
9627 * math/libm-test-log.inc: Likewise.
9628 * math/libm-test-log10.inc: Likewise.
9629 * math/libm-test-log1p.inc: Likewise.
9630 * math/libm-test-log2.inc: Likewise.
9631 * math/libm-test-logb.inc: Likewise.
9632 * math/libm-test-lrint.inc: Likewise.
9633 * math/libm-test-lround.inc: Likewise.
9634 * math/libm-test-modf.inc: Likewise.
9635 * math/libm-test-nearbyint.inc: Likewise.
9636 * math/libm-test-nextafter.inc: Likewise.
9637 * math/libm-test-nextdown.inc: Likewise.
9638 * math/libm-test-nexttoward.inc: Likewise.
9639 * math/libm-test-nextup.inc: Likewise.
9640 * math/libm-test-pow.inc: Likewise.
9641 * math/libm-test-remainder.inc: Likewise.
9642 * math/libm-test-remquo.inc: Likewise.
9643 * math/libm-test-rint.inc: Likewise.
9644 * math/libm-test-round.inc: Likewise.
9645 * math/libm-test-roundeven.inc: Likewise.
9646 * math/libm-test-scalb.inc: Likewise.
9647 * math/libm-test-scalbln.inc: Likewise.
9648 * math/libm-test-scalbn.inc: Likewise.
9649 * math/libm-test-setpayload.inc: Likewise.
9650 * math/libm-test-setpayloadsig.inc: Likewise.
9651 * math/libm-test-signbit.inc: Likewise.
9652 * math/libm-test-significand.inc: Likewise.
9653 * math/libm-test-sin.inc: Likewise.
9654 * math/libm-test-sincos.inc: Likewise.
9655 * math/libm-test-sinh.inc: Likewise.
9656 * math/libm-test-sqrt.inc: Likewise.
9657 * math/libm-test-tan.inc: Likewise.
9658 * math/libm-test-tanh.inc: Likewise.
9659 * math/libm-test-tgamma.inc: Likewise.
9660 * math/libm-test-totalorder.inc: Likewise.
9661 * math/libm-test-totalordermag.inc: Likewise.
9662 * math/libm-test-trunc.inc: Likewise.
9663 * math/libm-test-ufromfp.inc: Likewise.
9664 * math/libm-test-ufromfpx.inc: Likewise.
9665 * math/libm-test-y0.inc: Likewise.
9666 * math/libm-test-y1.inc: Likewise.
9667 * math/libm-test-yn.inc: Likewise.
9668 * math/README.libm-test: Update.
9669
9670 * math/gen-auto-libm-tests.c: Update comment about use of program.
9671 (generate_output): Add argument FUNCTION.
9672 (main): Require extra argument. Pass function name to
9673 generate_output.
9674 * math/Makefile (generated): Add auto-libm-test-out.
9675 (libm-test-funcs-auto): New variable.
9676 (auto-libm-test-out-files): New variable.
9677 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9678 Concatenate those files to form $(objpfx)auto-libm-test-out and
9679 use it as input to gen-libm-test.pl.
9680 * math/README.libm-test: Update.
9681 * math/auto-libm-test-out: Remove.
9682 * math/auto-libm-test-out-acos: New generated file.
9683 * math/auto-libm-test-out-acosh: Likewise.
9684 * math/auto-libm-test-out-asin: Likewise.
9685 * math/auto-libm-test-out-asinh: Likewise.
9686 * math/auto-libm-test-out-atan: Likewise.
9687 * math/auto-libm-test-out-atan2: Likewise.
9688 * math/auto-libm-test-out-atanh: Likewise.
9689 * math/auto-libm-test-out-cabs: Likewise.
9690 * math/auto-libm-test-out-carg: Likewise.
9691 * math/auto-libm-test-out-cbrt: Likewise.
9692 * math/auto-libm-test-out-ccos: Likewise.
9693 * math/auto-libm-test-out-ccosh: Likewise.
9694 * math/auto-libm-test-out-cexp: Likewise.
9695 * math/auto-libm-test-out-clog: Likewise.
9696 * math/auto-libm-test-out-clog10: Likewise.
9697 * math/auto-libm-test-out-cos: Likewise.
9698 * math/auto-libm-test-out-cosh: Likewise.
9699 * math/auto-libm-test-out-cpow: Likewise.
9700 * math/auto-libm-test-out-csin: Likewise.
9701 * math/auto-libm-test-out-csinh: Likewise.
9702 * math/auto-libm-test-out-csqrt: Likewise.
9703 * math/auto-libm-test-out-ctan: Likewise.
9704 * math/auto-libm-test-out-ctanh: Likewise.
9705 * math/auto-libm-test-out-erf: Likewise.
9706 * math/auto-libm-test-out-erfc: Likewise.
9707 * math/auto-libm-test-out-exp: Likewise.
9708 * math/auto-libm-test-out-exp10: Likewise.
9709 * math/auto-libm-test-out-exp2: Likewise.
9710 * math/auto-libm-test-out-expm1: Likewise.
9711 * math/auto-libm-test-out-fma: Likewise.
9712 * math/auto-libm-test-out-hypot: Likewise.
9713 * math/auto-libm-test-out-j0: Likewise.
9714 * math/auto-libm-test-out-j1: Likewise.
9715 * math/auto-libm-test-out-jn: Likewise.
9716 * math/auto-libm-test-out-lgamma: Likewise.
9717 * math/auto-libm-test-out-log: Likewise.
9718 * math/auto-libm-test-out-log10: Likewise.
9719 * math/auto-libm-test-out-log1p: Likewise.
9720 * math/auto-libm-test-out-log2: Likewise.
9721 * math/auto-libm-test-out-pow: Likewise.
9722 * math/auto-libm-test-out-sin: Likewise.
9723 * math/auto-libm-test-out-sincos: Likewise.
9724 * math/auto-libm-test-out-sinh: Likewise.
9725 * math/auto-libm-test-out-sqrt: Likewise.
9726 * math/auto-libm-test-out-tan: Likewise.
9727 * math/auto-libm-test-out-tanh: Likewise.
9728 * math/auto-libm-test-out-tgamma: Likewise.
9729 * math/auto-libm-test-out-y0: Likewise.
9730 * math/auto-libm-test-out-y1: Likewise.
9731 * math/auto-libm-test-out-yn: Likewise.
9732
9733 * math/Makefile (generated): Do not include libm-test.stmp.
9734 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9735 on $(objpfx)libm-test.stmp.
9736 ($(objpfx)libm-test.stmp): Remove rule.
9737 ($(objpfx)libm-test-ulps.h): New rule.
9738 ($(objpfx)libm-test.c): Likewise.
9739 ($(objpfx)libm-have-vector-test.h): Likewise.
9740 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9741 individual generated files, not libm-test.stmp.
9742
9743 * math/gen-libm-test.pl ($output_dir): Remove variable.
9744 ($srcdir): Likewise.
9745 ($opt_a): New variable.
9746 ($opt_c): Likewise.
9747 ($opt_C): Likewise.
9748 ($opt_H): Likewise.
9749 (-n): Make option take argument and use it as NewUlps output.
9750 (-a): New option. Use its argument for auto-libm-test-out input.
9751 (-c): New option. Use its argument for libm-test.inc input.
9752 (-C): New option. Use its argument for libm-test.c output.
9753 (-H): New option. Use its argument for libm-test-ulps.h output.
9754 (top level): Only process inputs needed to generate outputs
9755 specified by command-line options. Only generate outputs
9756 specified by command-line options.
9757 * math/README.libm-test: Update example gen-libm-test.pl command.
9758 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9759 commands.
9760 (regen-ulps): Likewise.
9761
9762 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9763
9764 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9765 * include/string.h (index): Remove define.
9766 (rindex): Likewise.
9767 * misc/getttyent.c (__getttyent): Rename index to strchr.
9768 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9769 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9770
9771 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9772
9773 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9774 * math/libm-test.inc: Move all contents, other than tests of
9775 individual functions, to libm-test-driver.c.
9776 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9777 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9778 [!FE_UPWARD] (FE_UPWARD): Likewise.
9779 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9780 (NO_EXCEPTION): Likewise.
9781 (INVALID_EXCEPTION): Likewise.
9782 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9783 (OVERFLOW_EXCEPTION): Likewise.
9784 (UNDERFLOW_EXCEPTION): Likewise.
9785 (INEXACT_EXCEPTION): Likewise.
9786 (INVALID_EXCEPTION_OK): Likewise.
9787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9788 (OVERFLOW_EXCEPTION_OK): Likewise.
9789 (UNDERFLOW_EXCEPTION_OK): Likewise.
9790 (NO_INEXACT_EXCEPTION): Likewise.
9791 (EXCEPTIONS_OK): Likewise.
9792 (IGNORE_ZERO_INF_SIGN): Likewise.
9793 (TEST_NAN_SIGN): Likewise.
9794 (TEST_NAN_PAYLOAD): Likewise.
9795 (NO_TEST_INLINE): Likewise.
9796 (XFAIL_TEST): Likewise.
9797 (ERRNO_UNCHANGED): Likewise.
9798 (ERRNO_EDOM): Likewise.
9799 (ERRNO_ERANGE): Likewise.
9800 (IGNORE_RESULT): Likewise.
9801 (NON_FINITE): Likewise.
9802 (TEST_SNAN): Likewise.
9803 (NO_TEST_MATHVEC): Likewise.
9804 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9805 (__CONCATX): Likewise.
9806 (TYPE_MIN): Likewise.
9807 (TYPE_TRUE_MIN): Likewise.
9808 (TYPE_MAX): Likewise.
9809 (MIN_EXP): Likewise.
9810 (MAX_EXP): Likewise.
9811 (MANT_DIG): Likewise.
9812 (FSTR_MAX): Likewise.
9813 (ULP_IDX): Likewise.
9814 (QTYPE_STR): Likewise.
9815 (TEST_COND_binary32): Likewise.
9816 (TEST_COND_binary64): Likewise.
9817 (TEST_COND_binary128): Likewise.
9818 (TEST_COND_ibm128): Likewise.
9819 (TEST_COND_intel96): Likewise.
9820 (TEST_COND_m68k96): Likewise.
9821 (TEST_COND_ibm128_libgcc): Likewise.
9822 (XFAIL_IBM128_LIBGCC): Likewise.
9823 (PAYLOAD_DIG): Likewise.
9824 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9825 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9826 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9827 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9828 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9829 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9830 (TEST_COND_long32): Likewise.
9831 (TEST_COND_long64): Likewise.
9832 (TEST_COND_before_rounding): Likewise.
9833 (TEST_COND_after_rounding): Likewise.
9834 (lit_pi_3_m_4_d): Likewise.
9835 (lit_pi_3_m_4_ln10_m_d): Likewise.
9836 (lit_pi_2_ln10_m_d): Likewise.
9837 (lit_pi_4_ln10_m_d): Likewise.
9838 (lit_pi_ln10_d): Likewise.
9839 (lit_pi_2_d): Likewise.
9840 (lit_pi_4_d): Likewise.
9841 (lit_pi): Likewise.
9842 (lit_e): Likewise.
9843 (ulps_file_name): Likewise.
9844 (ulps_file): Likewise.
9845 (output_ulps): Likewise.
9846 (output_dir): Likewise.
9847 (noErrors): Likewise.
9848 (noTests): Likewise.
9849 (noExcTests): Likewise.
9850 (noErrnoTests): Likewise.
9851 (verbose): Likewise.
9852 (output_max_error): Likewise.
9853 (output_points): Likewise.
9854 (ignore_max_ulp): Likewise.
9855 (plus_zero): Likewise.
9856 (minus_zero): Likewise.
9857 (plus_infty): Likewise.
9858 (minus_infty): Likewise.
9859 (qnan_value_pl): Likewise.
9860 (qnan_value): Likewise.
9861 (snan_value_pl): Likewise.
9862 (snan_value): Likewise.
9863 (max_value): Likewise.
9864 (min_value): Likewise.
9865 (min_subnorm_value): Likewise.
9866 (snan_value_ld): Likewise.
9867 (max_error): Likewise.
9868 (real_max_error): Likewise.
9869 (imag_max_error): Likewise.
9870 (prev_max_error): Likewise.
9871 (prev_real_max_error): Likewise.
9872 (prev_imag_max_error): Likewise.
9873 (max_valid_error): Likewise.
9874 (TYPE_DECIMAL_DIG): Likewise.
9875 (TYPE_HEX_DIG): Likewise.
9876 (fmt_ftostr): Likewise.
9877 (compare_ulp_data): Likewise.
9878 (find_ulps): Likewise.
9879 (init_max_error): Likewise.
9880 (set_max_error): Likewise.
9881 (print_float): Likewise.
9882 (print_screen): Likewise.
9883 (print_screen_max_error): Likewise.
9884 (update_stats): Likewise.
9885 (print_function_ulps): Likewise.
9886 (print_complex_function_ulps): Likewise.
9887 (fpstack_test): Likewise.
9888 (print_max_error): Likewise.
9889 (print_complex_max_error): Likewise.
9890 (test_single_exception): Likewise.
9891 (test_exceptions): Likewise.
9892 (test_single_errno): Likewise.
9893 (test_errno): Likewise.
9894 (ULPDIFF): Likewise.
9895 (ulp): Likewise.
9896 (check_float_internal): Likewise.
9897 (check_float): Likewise.
9898 (check_complex): Likewise.
9899 (check_int): Likewise.
9900 (check_long): Likewise.
9901 (check_bool): Likewise.
9902 (check_longlong): Likewise.
9903 (check_intmax_t): Likewise.
9904 (check_uintmax_t): Likewise.
9905 (enable_test): Likewise.
9906 (struct test_f_f_data): Likewise.
9907 (struct test_ff_f_data): Likewise.
9908 (struct test_fj_f_data): Likewise.
9909 (struct test_fi_f_data): Likewise.
9910 (struct test_fl_f_data): Likewise.
9911 (struct test_if_f_data): Likewise.
9912 (struct test_fff_f_data): Likewise.
9913 (struct test_fiu_M_data): Likewise.
9914 (struct test_fiu_U_data): Likewise.
9915 (struct test_c_f_data): Likewise.
9916 (struct test_f_f1_data): Likewise.
9917 (struct test_fF_f1_data): Likewise.
9918 (struct test_ffI_f1_data): Likewise.
9919 (struct test_c_c_data): Likewise.
9920 (struct test_cc_c_data): Likewise.
9921 (struct test_f_i_data): Likewise.
9922 (struct test_ff_i_data): Likewise.
9923 (struct test_f_l_data): Likewise.
9924 (struct test_f_L_data): Likewise.
9925 (struct test_fFF_11_data): Likewise.
9926 (struct test_Ff_b1_data): Likewise.
9927 (IF_ROUND_INIT_): Likewise.
9928 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9929 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9930 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9931 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9932 (ROUND_RESTORE_): Likewise.
9933 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9934 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9935 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9936 (ROUND_RESTORE_FE_UPWARD): Likewise.
9937 (RM_): Likewise.
9938 (RM_FE_DOWNWARD): Likewise.
9939 (RM_FE_TONEAREST): Likewise.
9940 (RM_FE_TOWARDZERO): Likewise.
9941 (RM_FE_UPWARD): Likewise.
9942 (COMMON_TEST_SETUP): Likewise.
9943 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9944 (COMMON_TEST_CLEANUP): Likewise.
9945 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9946 (RUN_TEST_f_f): Likewise.
9947 (RUN_TEST_LOOP_f_f): Likewise.
9948 (RUN_TEST_fp_f): Likewise.
9949 (RUN_TEST_LOOP_fp_f): Likewise.
9950 (RUN_TEST_2_f): Likewise.
9951 (RUN_TEST_LOOP_2_f): Likewise.
9952 (RUN_TEST_ff_f): Likewise.
9953 (RUN_TEST_LOOP_ff_f): Likewise.
9954 (RUN_TEST_LOOP_fj_f): Likewise.
9955 (RUN_TEST_fi_f): Likewise.
9956 (RUN_TEST_LOOP_fi_f): Likewise.
9957 (RUN_TEST_fl_f): Likewise.
9958 (RUN_TEST_LOOP_fl_f): Likewise.
9959 (RUN_TEST_if_f): Likewise.
9960 (RUN_TEST_LOOP_if_f): Likewise.
9961 (RUN_TEST_fff_f): Likewise.
9962 (RUN_TEST_LOOP_fff_f): Likewise.
9963 (RUN_TEST_fiu_M): Likewise.
9964 (RUN_TEST_LOOP_fiu_M): Likewise.
9965 (RUN_TEST_fiu_U): Likewise.
9966 (RUN_TEST_LOOP_fiu_U): Likewise.
9967 (RUN_TEST_c_f): Likewise.
9968 (RUN_TEST_LOOP_c_f): Likewise.
9969 (RUN_TEST_f_f1): Likewise.
9970 (RUN_TEST_LOOP_f_f1): Likewise.
9971 (RUN_TEST_fF_f1): Likewise.
9972 (RUN_TEST_LOOP_fF_f1): Likewise.
9973 (RUN_TEST_fI_f1): Likewise.
9974 (RUN_TEST_LOOP_fI_f1): Likewise.
9975 (RUN_TEST_ffI_f1_mod8): Likewise.
9976 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9977 (RUN_TEST_Ff_b1): Likewise.
9978 (RUN_TEST_LOOP_Ff_b1): Likewise.
9979 (RUN_TEST_Ffp_b1): Likewise.
9980 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9981 (RUN_TEST_c_c): Likewise.
9982 (RUN_TEST_LOOP_c_c): Likewise.
9983 (RUN_TEST_cc_c): Likewise.
9984 (RUN_TEST_LOOP_cc_c): Likewise.
9985 (RUN_TEST_f_i): Likewise.
9986 (RUN_TEST_LOOP_f_i): Likewise.
9987 (RUN_TEST_f_i_tg): Likewise.
9988 (RUN_TEST_LOOP_f_i_tg): Likewise.
9989 (RUN_TEST_ff_b): Likewise.
9990 (RUN_TEST_LOOP_ff_b): Likewise.
9991 (RUN_TEST_ff_i_tg): Likewise.
9992 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9993 (RUN_TEST_f_b): Likewise.
9994 (RUN_TEST_LOOP_f_b): Likewise.
9995 (RUN_TEST_f_b_tg): Likewise.
9996 (RUN_TEST_LOOP_f_b_tg): Likewise.
9997 (RUN_TEST_f_l): Likewise.
9998 (RUN_TEST_LOOP_f_l): Likewise.
9999 (RUN_TEST_f_L): Likewise.
10000 (RUN_TEST_LOOP_f_L): Likewise.
10001 (RUN_TEST_fFF_11): Likewise.
10002 (RUN_TEST_LOOP_fFF_11): Likewise.
10003 (VEC_SUFF): Likewise.
10004 (STR_CONCAT): Likewise.
10005 (STR_CON3): Likewise.
10006 (HAVE_VECTOR): Likewise.
10007 (START): Likewise.
10008 (END): Likewise.
10009 (END_COMPLEX): Likewise.
10010 (ALL_RM_TEST): Likewise.
10011 (matherr): Likewise.
10012 (initialize): Likewise.
10013 (options): Likewise.
10014 (doc): Likewise.
10015 (parse_opt): Likewise.
10016 (argp): Likewise.
10017 (check_ulp): Likewise.
10018 (main): Likewise.
10019 (do_test): New function. Call tests of individual functions
10020 previously called from main.
10021
10022 * math/libm-test.inc: Remove comment listing functions tested and
10023 not tested.
10024
10025 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10026
10027 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10028 (allocate_stack): Remove COLORING_INCREMENT usage.
10029 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10030 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10031
10032 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10033
10034 * manual/libm-err-tab.pl (@all_functions): Change to
10035 %all_functions. Initialize as empty.
10036 (parse_ulps): Add to %all_functions based on functions found in
10037 ulps files. Ignore results for non-default rounding modes and
10038 vector functions.
10039 (print_platforms): Use %all_platforms.
10040 * manual/math.texi (Errors in Math Functions): Document omissions
10041 from the table.
10042
10043 * math/Makefile (before-compile): Remove.
10044
10045 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10046
10047 [BZ #21075]
10048 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10049 unused assignment.
10050 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10051
10052 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10053
10054 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10055 Add __glibc_unlikely hint.
10056
10057 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10058
10059 [BZ #16640]
10060 * sysdeps/i386/i686/strtok.S: Remove file.
10061 * sysdeps/i386/i686/strtok_r.S: Likewise.
10062 * sysdeps/i386/strtok.S: Likewise.
10063 * sysdeps/i386/strtok_r.S: Likewise.
10064 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10066 * sysdeps/x86_64/strtok.S: Likewise.
10067 * sysdeps/x86_64/strtok_r.S: Likewise.
10068
10069 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10070 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10071 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10072 (__ASSUME_FADVISE64_AS_64_64): Define.
10073 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10074 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10075 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10076 __ALIGNMENT_ARG usage.
10077 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10078 __NR_fadvise64_64 if it is not defined.
10079
10080 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10081
10082 * version.h (RELEASE): Set to "development"
10083 (VERSION): Set to 2.25.90.
10084 * NEWS: Add 2.26 section.
10085
10086 * version.h (RELEASE): Set to "stable"
10087 (VERSION): Set to 2.25.
10088 * include/features.h (__GLIBC_MINOR__): Set to 25.
10089
10090 * manual/contrib.texi: Add more contributors from this release
10091 and past releases.
10092
10093 * NEWS (2.25): Add list of bugs fixed.
10094
10095 * NEWS: Add missing news items.
10096
10097 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10098
10099 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10100 parent if child exited in that manner. Print WEXITSTATUS
10101 instead of the raw status.
10102 (do_test_prep): Rename to do_test.
10103 (do_test): Return the result of run_executable_sgid.
10104 (TEST_FUNCTION_ARGV): Adjust.
10105
10106 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10107 Florian Weimer <fweimer@redhat.com>
10108 Carlos O'Donell <carlos@redhat.com>
10109
10110 [BZ #20915]
10111 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10112 Do not initialize DTV.
10113 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10114
10115 2017-02-03 David S. Miller <davem@davemloft.net>
10116
10117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10126 (libm-sysdep_routines): Update.
10127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10132 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10133 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10134 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10135 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10137 Likewise.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10140 Likewise.
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10143 Likewise.
10144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10146 Likewise.
10147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10149 (libm-sysdep_routines): Update.
10150
10151 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10154 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10155 against unrelocated shared library.
10156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10157
10158 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10159
10160 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10161 * elf/tst-env-setuid-tunables.c
10162 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10163 GLIBC_TUNABLES is removed in a setgid process.
10164
10165 [BZ #21073]
10166 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10167 * elf/dl-tunables.c (tunables_strdup): Remove.
10168 (get_next_env): Also return the previous envp.
10169 (parse_tunables): Erase tunables of category
10170 TUNABLES_SECLEVEL_SXID_ERASE.
10171 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10172 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10173 (__tunables_init)[TUNABLES_FRONTEND ==
10174 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10175 after parsing.
10176 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10177 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10178 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10179 to security_level.
10180 * elf/dl-tunables.list: Add security_level annotations for all
10181 tunables.
10182 * scripts/gen-tunables.awk: Recognize and generate enum values
10183 for security_level.
10184 * elf/tst-env-setuid.c: New test case.
10185 * elf/tst-env-setuid-tunables: new test case.
10186 * elf/Makefile (tests-static): Add them.
10187
10188 2017-02-01 Richard Henderson <rth@twiddle.net>
10189
10190 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10191 adjusting the byte count.
10192
10193 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10194
10195 * conform/Makefile (linknamespace-libs): Define.
10196
10197 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10198 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10199 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10200 operands.
10201
10202 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10203
10204 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10205
10206 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10207
10208 [BZ #21081]
10209 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10210 (L(stosb)): Add VZEROUPPER before ret.
10211
10212 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10213 Alexey Makhalov <amakhalov@vmware.com>
10214 Florian Weimer <fweimer@redhat.com>
10215
10216 [BZ #20116]
10217 * nptl/pthread_create.c: Document concurrency notes.
10218 Enhance thread creation notes.
10219 (create_thread): Use bool *stopped_start.
10220 (START_THREAD_DEFN): Comment ownership of PD.
10221 (__pthread_create_2_1): Add local bool stopped_start and use
10222 that instead of pd->stopped_start where appropriate.
10223 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10224 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10225 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10226 * nptl/tst-create-detached.c: New file.
10227 * nptl/Makefile (tests): Add tst-create-detached.
10228 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10229 Reference the enhanced thread creation notes.
10230 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10231 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10232 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10233 (__pthread_current_priority): Likewise.
10234 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10235 xpthread_attr_init, xpthread_attr_setdetachstate, and
10236 xpthread_attr_setstacksize.
10237 * support/xpthread_attr_destroy.c: New file.
10238 * support/xpthread_attr_init.c: New file.
10239 * support/xpthread_attr_setdetachstate.c: New file.
10240 * support/xpthread_attr_setstacksize.c: New file.
10241 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10242 xpthread_attr_init, xpthread_attr_setdetachstate, and
10243 xpthread_attr_setstacksize.
10244
10245 2017-01-27 Florian Weimer <fweimer@redhat.com>
10246
10247 * nptl/Makefile (tests): Add tst-robust-fork.
10248 * nptl/tst-robust-fork.c: New file.
10249 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10250 xpthread_mutex_consistent, xpthread_mutex_destroy,
10251 xpthread_mutex_init, xpthread_mutexattr_destroy,
10252 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10253 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10254 xpthread_mutexattr_settype.
10255 * support/xmmap.c: New file.
10256 * support/xmunmap.c: Likewise.
10257 * support/xpthread_mutex_consistent.c: Likewise.
10258 * support/xpthread_mutex_destroy.c: Likewise.
10259 * support/xpthread_mutex_init.c: Likewise.
10260 * support/xpthread_mutexattr_destroy.c: Likewise.
10261 * support/xpthread_mutexattr_init.c: Likewise.
10262 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10263 * support/xpthread_mutexattr_setpshared.c: Likewise.
10264 * support/xpthread_mutexattr_setrobust.c: Likewise.
10265 * support/xpthread_mutexattr_settype.c: Likewise.
10266 * support/xthread.h (xpthread_mutexattr_destroy)
10267 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10268 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10269 (xpthread_mutexattr_settype, xpthread_mutex_init)
10270 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10271 * support/xunistd.h (xmmap, xmunmap): Likewise.
10272
10273 2017-01-25 Florian Weimer <fweimer@redhat.com>
10274
10275 * string/Makefile (xtests): Add comment.
10276 (LOCALES): Add en_GB.UTF-8.
10277 (tst-strcoll-overflow.out): Depend on generated locales.
10278 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10279 (SIZE, TIMEOUT): Update comments.
10280 (do_test): Define as static. Fail test if setlocale fails.
10281 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10282 messages.
10283 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10284 TIMEOUT at 300 seconds should be enough to run this test
10285 successfully.
10286
10287 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10288
10289 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10290 /* FALLTHRU */ comments.
10291
10292 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10293
10294 [BZ #21053]
10295 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10296 constants instead of the old R* ones.
10297 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10298 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10299 (NGREG): ... to this, to fit in with other architectures.
10300 (gpregset_t): Use new NGREG macro.
10301 [__USE_GNU]: Remove condition; all architectures other than tile
10302 are unconditional.
10303 (R*): Rename to REG_R*.
10304
10305 2017-01-20 DJ Delorie <dj@redhat.com>
10306
10307 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10308 (tunable_set_val_if_valid_range_signed) ... this, and ...
10309 (tunable_set_val_if_valid_range_unsigned) ... this.
10310 (tunable_initialize): Call the correct one of the above based on type.
10311
10312 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10313
10314 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10315 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10316 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10317 * sysdeps/microblaze/libm-test-ulps: Likewise.
10318 * sysdeps/sh/libm-test-ulps: Likewise.
10319
10320 * math/README.libm-test: Update list of characters for input and
10321 output types.
10322
10323 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10324
10325 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10326 (__lll_unlock_elision): Fix adapt_count decrement.
10327
10328 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10329
10330 * README.pretty-printers (Known issues): Warn about printers not
10331 always covering everything.
10332 * nptl/nptl-printers.py (MutexPrinter): Change output.
10333 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10334
10335 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10336
10337 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10338 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10339 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10340 (__lll_lock_elision): Do not test futex before starting a
10341 transaction. Use __glibc_likely instead of __builtin_expect.
10342 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10343 (__lll_trylock_elision): Do not test futex before starting a
10344 transaction. Use __glibc_likely instead of __builtin_expect.
10345
10346 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10347
10348 * po/Makefile (update-translations): New target.
10349
10350 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10351
10352 [BZ #21061]
10353 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10354
10355 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10356
10357 * elf/dl-tunables (get_next_env): Always advance envp.
10358 * stdlib/tst-empty-env.c: New test case.
10359 * stdlib/Makefile (tests): Use it.
10360
10361 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10362
10363 [BZ #21047]
10364 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10365 name for instruction.
10366 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10367
10368 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10369
10370 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10371 for make install.
10372
10373 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10374
10375 * po/bg.po: Merge from Translation Project.
10376 * po/fr.po: Likewise.
10377 * po/ko.po: Likewise.
10378 * po/nl.po: Likewise.
10379 * po/sv.po: Likewise.
10380
10381 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10382
10383 * manual/install.texi (Tools for Compilation): Update GCC version
10384 known to work to build glibc.
10385 * INSTALL: Regenerated.
10386
10387 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10388
10389 [BZ #21006]
10390 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10391
10392 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10393
10394 [BZ #21045]
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10396 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10397 to __sigprocmask.
10398
10399 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10400
10401 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10402 wrap-around.
10403 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10404
10405 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10406
10407 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10408
10409 * NEWS: Fix typo.
10410
10411 2016-01-13 Torvald Riegel <triegel@redhat.com>
10412
10413 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10414 barriers and comments.
10415 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10416 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10417 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10418
10419 2016-01-13 Torvald Riegel <triegel@redhat.com>
10420
10421 [BZ #19402]
10422 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10423 mutexes.
10424
10425 2016-01-13 Torvald Riegel <triegel@redhat.com>
10426
10427 [BZ #20985]
10428 * nptl/Makefile: Adapt.
10429 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10430 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10431 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10432 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10433 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10434 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10435 lll_robust* functions and adapt.
10436 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10437 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10438 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10439 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10440 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10441 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10443 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10444 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10445 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10446 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10447 * nptl/lowlevelrobustlock.c: Remove file.
10448 * nptl/lowlevelrobustlock.sym: Likewise.
10449 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10450 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10451
10452 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10453
10454 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10455
10456 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10457
10458 * po/cs.po: Merge translations from the Translation Project.
10459 * po/de.po: Likewise.
10460 * po/pl.po: Likewise.
10461 * po/ru.po: Likewise.
10462 * po/tr.po: Likewise.
10463 * po/uk.po: Likewise.
10464 * po/vi.po: Likewise.
10465 * po/zh_CN.po: Likewise.
10466
10467 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10468
10469 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10470
10471 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10472 object.
10473
10474 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #16458]
10477 * bits/uintn-identity.h: New file.
10478 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10479 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10480 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10481 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10482 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10483 * string/endian.h: Include <bits/uintn-identity.h>.
10484 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10485 __uint16_identity.
10486 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10487 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10488 __uint32_identity.
10489 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10490 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10491 __uint64_identity.
10492 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10493 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10494 __uint16_identity.
10495 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10496 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10497 __uint32_identity.
10498 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10499 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10500 __uint64_identity.
10501 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10502 * string/Makefile (headers): Add bits/uintn-identity.h.
10503 (tests): Add test-endian-types.
10504 * string/test-endian-types.c: New file.
10505 * inet/Makefile (tests): Add test-hnto-types.
10506 * inet/test-hnto-types.c: New file.
10507
10508 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10509
10510 * po/be.po: Update from Translation Project.
10511 * po/bg.po: Likewise.
10512 * po/ca.po: Likewise.
10513 * po/cs.po: Likewise.
10514 * po/da.po: Likewise.
10515 * po/de.po: Likewise.
10516 * po/el.po: Likewise.
10517 * po/eo.po: Likewise.
10518 * po/es.po: Likewise.
10519 * po/fi.po: Likewise.
10520 * po/fr.po: Likewise.
10521 * po/gl.po: Likewise.
10522 * po/hr.po: Likewise.
10523 * po/hu.po: Likewise.
10524 * po/ia.po: Likewise.
10525 * po/id.po: Likewise.
10526 * po/it.po: Likewise.
10527 * po/ja.po: Likewise.
10528 * po/ko.po: Likewise.
10529 * po/lt.po: Likewise.
10530 * po/nb.po: Likewise.
10531 * po/nl.po: Likewise.
10532 * po/pl.po: Likewise.
10533 * po/pt_BR.po: Likewise.
10534 * po/ru.po: Likewise.
10535 * po/rw.po: Likewise.
10536 * po/sk.po: Likewise.
10537 * po/sl.po: Likewise.
10538 * po/sv.po: Likewise.
10539 * po/tr.po: Likewise.
10540 * po/uk.po: Likewise.
10541 * po/vi.po: Likewise.
10542 * po/zh_CN.po: Likewise.
10543 * po/zh_TW.po: Likewise.
10544
10545 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10546
10547 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10548 -Wformat-truncation instead of -Wformat-length.
10549 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10550 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10551 GCC 7.
10552 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10553 (do_test): Ignore -Wformat-truncation for GCC 7.
10554
10555 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10556 buffer used to print long int value.
10557
10558 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10559 one byte. Print it with %ld, cast to long int.
10560
10561 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10562
10563 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10564 (re.fullmatch, subprocess.run): Likewise.
10565
10566 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10567
10568 * po/libc.pot: Regenerate.
10569
10570 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10571
10572 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10573 (min_strlen): Likewise.
10574 (disable_tunable): Likewise.
10575 (maybe_disable_malloc_check): Rename to
10576 maybe_enable_malloc_check.
10577 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10578 if /etc/suid-debug file exists.
10579 (__tunables_init): Update caller.
10580 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10581 secure.
10582
10583 2016-01-10 Torvald Riegel <triegel@redhat.com>
10584
10585 * nptl/DESIGN-rwlock.txt: Remove.
10586 * nptl/lowlevelrwlock.sym: Remove.
10587 * nptl/Makefile: Add new tests.
10588 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10589 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10590 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10591 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10592 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10593 PTHREAD_RWLOCK_FUTEX_USED): New.
10594 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10595 implementation.
10596 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10597 (__pthread_rwlock_rdlock): Adapt.
10598 * nptl/pthread_rwlock_timedrdlock.c
10599 (pthread_rwlock_timedrdlock): Adapt.
10600 * nptl/pthread_rwlock_timedwrlock.c
10601 (pthread_rwlock_timedwrlock): Adapt.
10602 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10603 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10604 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10605 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10606 (__pthread_rwlock_wrlock): Adapt.
10607 * nptl/tst-rwlock10.c: Adapt.
10608 * nptl/tst-rwlock11.c: Adapt.
10609 * nptl/tst-rwlock17.c: New file.
10610 * nptl/tst-rwlock18.c: New file.
10611 * nptl/tst-rwlock19.c: New file.
10612 * nptl/tst-rwlock2b.c: New file.
10613 * nptl/tst-rwlock8.c: Adapt.
10614 * nptl/tst-rwlock9.c: Adapt.
10615 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10616 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10617 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10618 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10619 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10620 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10621 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10622 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10623 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10624 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10625 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10626 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10627 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10628 (pthread_rwlock_t): Adapt.
10629 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10630 (pthread_rwlock_t): Adapt.
10631 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10632 * nptl/nptl-printers.py (): Adapt.
10633 * nptl/nptl_lock_constants.pysym: Adapt.
10634 * nptl/test-rwlock-printers.py: Adapt.
10635 * nptl/test-rwlockattr-printers.c: Adapt.
10636 * nptl/test-rwlockattr-printers.py: Adapt.
10637
10638 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10639
10640 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10641 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10642 (fma_test_data): Likewise.
10643 (hypot_test_data): Likewise.
10644 (log1p_test_data): Likewise.
10645 (modf_test_data): Likewise.
10646 (pow_test_data): Likewise.
10647 (remainder_test_data): Likewise.
10648 (remquo_test_data): Likewise.
10649 (scalb_test_data): Likewise.
10650 (scalbn_test_data): Likewise.
10651 (scalbln_test_data): Likewise.
10652 * math/gen-libm-test.pl (parse_args): Transform
10653 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10654 on the rounding mode.
10655
10656 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10657
10658 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10659 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10660 and those that can underflow to zero.
10661 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10662 add others.
10663 * math/auto-libm-test-out: Regenerated.
10664
10665 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10666 supported.
10667 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10668 modes support if not supported.
10669
10670 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10671 Add libc.so PLT entry.
10672 (__tls_get_addr): Make ld.so PLT entry optional.
10673
10674 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10675
10676 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10677 * string/bits/string3.h: ... here.
10678
10679 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10680
10681 [BZ #21028]
10682 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10683 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10684 if EXCEPTION_TESTS returns false.
10685
10686 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10687
10688 [BZ #20558]
10689 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10690 strings_fortified.h.
10691 [__USE_MISC] (bzero): Likewise.
10692 [__USE_MISC] (explicit_bzero): Likewise.
10693 * string/strings.h: Include strings_fortified.h.
10694 * string/Makefile (headers): Add strings_fortified.h.
10695 * string/bits/strings_fortified.h: New file.
10696 * include/bits/strings_fortified.h: Likewise.
10697
10698 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10699
10700 * elf/tst-tls13.c (TIMEOUT): Remove.
10701 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10702 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10703 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10704 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10705 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10706
10707 [BZ #21026]
10708 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10709 (readahead): New syscall entry.
10710
10711 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10712
10713 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10714 around tests of strncat with large sizes.
10715
10716 * malloc/tst-malloc.c: Include <libc-internal.h>.
10717 (do_test): Disable -Walloc-size-larger-than= around tests of
10718 malloc with negative sizes.
10719 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10720 (do_test): Disable -Walloc-size-larger-than= around tests of
10721 malloc and realloc with negative sizes.
10722 * malloc/tst-realloc.c: Include <libc-internal.h>.
10723 (do_test): Disable -Walloc-size-larger-than= around tests of
10724 realloc with negative sizes.
10725
10726 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10727 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10728 allowed to 16 ulps.
10729 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10730 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10731 * math/auto-libm-test-out: Regenerated.
10732
10733 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10734
10735 * math/Makefile (libm-calls): Move wrappers...
10736 (libm-compat-call-auto): Here.
10737 (libm-routines): Add items in libm-compat-calls-auto.
10738 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10739 the filenames of the wrappers that have been renamed.
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10742
10743 * math/w_acos.c: Add _compat suffix to filename.
10744 * math/w_acosf.c: Likewise.
10745 * math/w_acosh.c: Likewise.
10746 * math/w_acoshf.c: Likewise.
10747 * math/w_acoshl.c: Likewise.
10748 * math/w_acosl.c: Likewise.
10749 * math/w_asin.c: Likewise.
10750 * math/w_asinf.c: Likewise.
10751 * math/w_asinl.c: Likewise.
10752 * math/w_atan2.c: Likewise.
10753 * math/w_atan2f.c: Likewise.
10754 * math/w_atan2l.c: Likewise.
10755 * math/w_atanh.c: Likewise.
10756 * math/w_atanhf.c: Likewise.
10757 * math/w_atanhl.c: Likewise.
10758 * math/w_cosh.c: Likewise.
10759 * math/w_coshf.c: Likewise.
10760 * math/w_coshl.c: Likewise.
10761 * math/w_exp10.c: Likewise.
10762 * math/w_exp10f.c: Likewise.
10763 * math/w_exp10l.c: Likewise.
10764 * math/w_exp2.c: Likewise.
10765 * math/w_exp2f.c: Likewise.
10766 * math/w_exp2l.c: Likewise.
10767 * math/w_fmod.c: Likewise.
10768 * math/w_fmodf.c: Likewise.
10769 * math/w_fmodl.c: Likewise.
10770 * math/w_hypot.c: Likewise.
10771 * math/w_hypotf.c: Likewise.
10772 * math/w_hypotl.c: Likewise.
10773 * math/w_j0.c: Likewise.
10774 * math/w_j0f.c: Likewise.
10775 * math/w_j0l.c: Likewise.
10776 * math/w_j1.c: Likewise.
10777 * math/w_j1f.c: Likewise.
10778 * math/w_j1l.c: Likewise.
10779 * math/w_jn.c: Likewise.
10780 * math/w_jnf.c: Likewise.
10781 * math/w_jnl.c: Likewise.
10782 * math/w_log10.c: Likewise.
10783 * math/w_log10f.c: Likewise.
10784 * math/w_log10l.c: Likewise.
10785 * math/w_log2.c: Likewise.
10786 * math/w_log2f.c: Likewise.
10787 * math/w_log2l.c: Likewise.
10788 * math/w_log.c: Likewise.
10789 * math/w_logf.c: Likewise.
10790 * math/w_logl.c: Likewise.
10791 * math/w_pow.c: Likewise.
10792 * math/w_powf.c: Likewise.
10793 * math/w_powl.c: Likewise.
10794 * math/w_remainder.c: Likewise.
10795 * math/w_remainderf.c: Likewise.
10796 * math/w_remainderl.c: Likewise.
10797 * math/w_scalb.c: Likewise.
10798 * math/w_scalbf.c: Likewise.
10799 * math/w_scalbl.c: Likewise.
10800 * math/w_sinh.c: Likewise.
10801 * math/w_sinhf.c: Likewise.
10802 * math/w_sinhl.c: Likewise.
10803 * math/w_sqrt.c: Likewise.
10804 * math/w_sqrtf.c: Likewise.
10805 * math/w_sqrtl.c: Likewise.
10806 * math/w_tgamma.c: Likewise.
10807 * math/w_tgammaf.c: Likewise.
10808 * math/w_tgammal.c: Likewise.
10809
10810 * math/w_acos_compat.c: New file copied from above and
10811 adjusted for new #includes path
10812 * math/w_acosf_compat.c: Likewise.
10813 * math/w_acosh_compat.c: Likewise.
10814 * math/w_acoshf_compat.c: Likewise.
10815 * math/w_acoshl_compat.c: Likewise.
10816 * math/w_acosl_compat.c: Likewise.
10817 * math/w_asin_compat.c: Likewise.
10818 * math/w_asinf_compat.c: Likewise.
10819 * math/w_asinl_compat.c: Likewise.
10820 * math/w_atan2_compat.c: Likewise.
10821 * math/w_atan2f_compat.c: Likewise.
10822 * math/w_atan2l_compat.c: Likewise.
10823 * math/w_atanh_compat.c: Likewise.
10824 * math/w_atanhf_compat.c: Likewise.
10825 * math/w_atanhl_compat.c: Likewise.
10826 * math/w_cosh_compat.c: Likewise.
10827 * math/w_coshf_compat.c: Likewise.
10828 * math/w_coshl_compat.c: Likewise.
10829 * math/w_exp10_compat.c: Likewise.
10830 * math/w_exp10f_compat.c: Likewise.
10831 * math/w_exp10l_compat.c: Likewise.
10832 * math/w_exp2_compat.c: Likewise.
10833 * math/w_exp2f_compat.c: Likewise.
10834 * math/w_exp2l_compat.c: Likewise.
10835 * math/w_fmod_compat.c: Likewise.
10836 * math/w_fmodf_compat.c: Likewise.
10837 * math/w_fmodl_compat.c: Likewise.
10838 * math/w_hypot_compat.c: Likewise.
10839 * math/w_hypotf_compat.c: Likewise.
10840 * math/w_hypotl_compat.c: Likewise.
10841 * math/w_j0_compat.c: Likewise.
10842 * math/w_j0f_compat.c: Likewise.
10843 * math/w_j0l_compat.c: Likewise.
10844 * math/w_j1_compat.c: Likewise.
10845 * math/w_j1f_compat.c: Likewise.
10846 * math/w_j1l_compat.c: Likewise.
10847 * math/w_jn_compat.c: Likewise.
10848 * math/w_jnf_compat.c: Likewise.
10849 * math/w_jnl_compat.c: Likewise.
10850 * math/w_log10_compat.c: Likewise.
10851 * math/w_log10f_compat.c: Likewise.
10852 * math/w_log10l_compat.c: Likewise.
10853 * math/w_log2_compat.c: Likewise.
10854 * math/w_log2f_compat.c: Likewise.
10855 * math/w_log2l_compat.c: Likewise.
10856 * math/w_log_compat.c: Likewise.
10857 * math/w_logf_compat.c: Likewise.
10858 * math/w_logl_compat.c: Likewise.
10859 * math/w_pow_compat.c: Likewise.
10860 * math/w_powf_compat.c: Likewise.
10861 * math/w_powl_compat.c: Likewise.
10862 * math/w_remainder_compat.c: Likewise.
10863 * math/w_remainderf_compat.c: Likewise.
10864 * math/w_remainderl_compat.c: Likewise.
10865 * math/w_scalb_compat.c: Likewise.
10866 * math/w_scalbf_compat.c: Likewise.
10867 * math/w_scalbl_compat.c: Likewise.
10868 * math/w_sinh_compat.c: Likewise.
10869 * math/w_sinhf_compat.c: Likewise.
10870 * math/w_sinhl_compat.c: Likewise.
10871 * math/w_sqrt_compat.c: Likewise.
10872 * math/w_sqrtf_compat.c: Likewise.
10873 * math/w_sqrtl_compat.c: Likewise.
10874 * math/w_tgamma_compat.c: Likewise.
10875 * math/w_tgammaf_compat.c: Likewise.
10876 * math/w_tgammal_compat.c: Likewise.
10877
10878 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10879 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10880 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10881 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10882 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10883 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10884 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10885 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10886 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10887 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10888 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10889 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10890 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10891 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10892 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10893 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10894 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10895 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10896 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10897 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10898 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10899 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10900 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10901 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10902 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10903 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10904 * sysdeps/ia64/fpu/w_log.c: Likewise.
10905 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10906 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10907 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10908 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10909 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10910 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10911 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10912 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10913 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10914 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10915 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10916 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10917 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10918 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10919 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10920 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10921 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10922 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10923 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10924 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10925 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10926 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10927 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10928 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10929 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10930 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10931 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10932 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10933 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10934 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10935 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10936 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10937 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10938 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10941 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10943 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10944 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10945 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10947 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10949 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10950 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10951 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10953 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10955 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10956 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10957 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10958 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10959 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10961 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10962 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10963 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10964 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10965 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10967 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10969 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10971 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10973 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10975 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10977 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10979 Likewise.
10980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10981 Likewise.
10982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10984 Likewise.
10985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10986 Likewise.
10987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10988 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10990 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10991 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10992 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10993 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10998 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10999 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11000 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11001 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11002
11003 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11004 and adjusted for new #includes path
11005 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11006 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11007 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11008 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11009 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11010 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11011 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11012 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11013 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11014 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11015 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11016 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11017 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11018 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11019 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11020 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11021 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11022 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11023 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11024 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11025 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11026 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11027 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11028 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11029 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11030 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11031 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11032 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11033 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11034 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11035 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11036 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11037 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11038 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11039 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11040 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11041 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11042 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11043 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11044 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11045 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11046 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11047 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11048 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11049 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11050 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11051 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11052 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11053 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11054 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11055 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11056 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11057 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11058 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11059 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11060 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11061 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11062 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11063 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11064 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11065 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11066 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11067 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11068 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11069 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11070 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11071 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11072 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11073 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11074 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11075 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11076 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11077 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11078 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11079 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11080 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11081 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11082 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11083 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11084 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11085 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11086 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11087 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11088 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11089 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11090 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11091 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11092 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11093 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11094 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11095 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11096 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11097 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11098 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11099 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11100 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11101 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11102 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11103 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11105 Likewise.
11106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11107 Likewise.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11109 Likewise.
11110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11111 Likewise.
11112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11113 Likewise.
11114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11115 Likewise.
11116 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11117 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11118 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11119 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11120 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11121 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11123 Likewise.
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11125 Likewise.
11126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11127 Likewise.
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11129 Likewise.
11130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11132 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11133 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11134
11135 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11136
11137 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11138 __jmp_buf_internal_tag.
11139
11140 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11141 preserve NaN payload if [__mips_nan2008].
11142 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11143
11144 [BZ #21022]
11145 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11146
11147 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11148
11149 * sysdeps/i386/fpu/libm-test-ulps: Update.
11150
11151 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11152
11153 * sysdeps/ia64/strcat.c: Remove file.
11154 * sysdeps/powerpc/strcat.c: Likewise.
11155 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11156 C implementation.
11157 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11158 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11159
11160 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11161 Steven Munroe <sjmunroe@us.ibm.com>
11162 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11163
11164 [BZ #20822]
11165 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11166 (__lll_lock_elision): Access adapt_count via C11 atomics.
11167 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11168 (__lll_trylock_elision): Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11170 (__lll_unlock_elision): Update adapt_count variable inside the
11171 critical section using C11 atomics.
11172
11173 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11174
11175 * math/test-fenvinline.c (do_test): Disable tests of raised
11176 exceptions if !EXCEPTION_TESTS (FLOAT).
11177
11178 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11179
11180 [BZ #19390]
11181 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11182 maximum string size.
11183 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11184 in pointer addition.
11185 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11186 Likewise.
11187
11188 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11189
11190 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11191 passed to tst-ldconfig-X.sh.
11192
11193 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11194
11195 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11196
11197 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11198
11199 [BZ #21019]
11200 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11201 New syscall entry.
11202 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11203 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11204 lseek.
11205
11206 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11207 power4 glibc for powerpc-linux-gnu.
11208
11209 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11210
11211 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11212 semctl.
11213
11214 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11215
11216 * math/test-nearbyint-except.c: Include <stdbool.h>.
11217 (any_supported): New variable.
11218 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11219 set any_supported.
11220 (do_test): Return 77 if no floating-point type supported
11221 exceptions.
11222
11223 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11224 condition on [__mips_hard_float].
11225
11226 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11227
11228 [BZ #21014]
11229 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11230 in pointer addition.
11231 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11232
11233 2017-01-02 Torvald Riegel <triegel@redhat.com>
11234
11235 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11236 new condvar.
11237
11238 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11239
11240 * scripts/build-many-glibcs.py (Context.checkout): Default
11241 binutils version to 2.28 branch.
11242
11243 2017-01-01 Florian Weimer <fweimer@redhat.com>
11244
11245 * support/support_format_netent.c (support_format_netent): Work
11246 around alpha struct netent definition difference.
11247
11248 2017-01-01 Florian Weimer <fweimer@redhat.com>
11249
11250 * support/xwrite.c (xwrite): Use %td for pointer difference.
11251
11252 2017-01-01 Florian Weimer <fweimer@redhat.com>
11253
11254 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11255 have-tunables only.
11256 (tests-static): Add tst-malloc-usable-static-tunables for
11257 have-tunables only.
11258
11259 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11260
11261 * scripts/config.guess: Update to version 2017-01-01.
11262 * scripts/config.sub: Update to version 2017-01-01.
11263
11264 * NEWS: Update copyright dates.
11265 * catgets/gencat.c (print_version): Likewise.
11266 * csu/version.c (banner): Likewise.
11267 * debug/catchsegv.sh: Likewise.
11268 * debug/pcprofiledump.c (print_version): Likewise.
11269 * debug/xtrace.sh (do_version): Likewise.
11270 * elf/ldconfig.c (print_version): Likewise.
11271 * elf/ldd.bash.in: Likewise.
11272 * elf/pldd.c (print_version): Likewise.
11273 * elf/sotruss.sh: Likewise.
11274 * elf/sprof.c (print_version): Likewise.
11275 * iconv/iconv_prog.c (print_version): Likewise.
11276 * iconv/iconvconfig.c (print_version): Likewise.
11277 * locale/programs/locale.c (print_version): Likewise.
11278 * locale/programs/localedef.c (print_version): Likewise.
11279 * login/programs/pt_chown.c (print_version): Likewise.
11280 * malloc/memusage.sh (do_version): Likewise.
11281 * malloc/memusagestat.c (print_version): Likewise.
11282 * malloc/mtrace.pl: Likewise.
11283 * manual/libc.texinfo: Likewise.
11284 * nptl/version.c (banner): Likewise.
11285 * nscd/nscd.c (print_version): Likewise.
11286 * nss/getent.c (print_version): Likewise.
11287 * nss/makedb.c (print_version): Likewise.
11288 * posix/getconf.c (main): Likewise.
11289 * scripts/test-installation.pl: Likewise.
11290 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11291
11292 * All files with FSF copyright notices: Update copyright dates
11293 using scripts/update-copyrights.
11294 * intl/plural.c: Regenerated.
11295 * locale/programs/charmap-kw.h: Likewise.
11296 * locale/programs/locfile-kw.h: Likewise.
11297
11298 2016-12-31 Florian Weimer <fweimer@redhat.com>
11299
11300 [BZ #20593]
11301 Update DNS RR type definitions.
11302 * scripts/gen-rrtypes.py: New file.
11303 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11304 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11305 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11306 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11307 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11308 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11309 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11310 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11311 ns_t_ta, ns_t_dlv.
11312 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11313 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11314 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11315 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11316 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11317 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11318 Define.
11319 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11320 entry for ns_t_zxfr.
11321
11322 2016-12-31 Florian Weimer <fweimer@redhat.com>
11323
11324 [BZ #18784]
11325 CVE-2015-5180
11326 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11327 T_UNSPEC. Adjust value.
11328 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11329 * resolv/res_query.c (__libc_res_nquery): Likewise.
11330 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11331 QTYPEs.
11332 * resolv/tst-resolv-qtypes.c: New file.
11333 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11334 (tst-resolv-qtypes): Link against libresolv and libpthread.
11335
11336 2016-12-31 Florian Weimer <fweimer@redhat.com>
11337
11338 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11339
11340 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11341
11342 * manual/tunables.texi: New chapter.
11343 * manual/Makefile (chapters): Add it.
11344 * manual/probes.texi (@node): Point to the Tunables chapter.
11345
11346 * Makeconfig (have-tunables): Check for non-negative instead
11347 of positive.
11348 * configure.ac: Add 'valstring' as a valid value for
11349 --enable-tunables.
11350 * configure: Regenerate.
11351 * elf/Makefile (have-tunables): Check for non-negative instead
11352 of positive.
11353 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11354 dl-tunables.c.
11355 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11356 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11357 (tunables_strdup): Likewise.
11358 (disable_tunables): Likewise.
11359 (parse_tunables): Likewise.
11360 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11361 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11362 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11363 (TUNABLES_FRONTEND_yes): New macro, define as
11364 TUNABLES_FRONTEND_valstring by default.
11365 * manual/install.texi: Document new acceptable values for
11366 --enable-tunables.
11367 * INSTALL: Regenerate.
11368
11369 * config.make.in (have-loop-to-function): Define.
11370 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11371 -fno-tree-loop-distribute-patterns.
11372 * elf/dl-tunables.c: Include libc-internals.h.
11373 (GLIBC_TUNABLES): New macro.
11374 (tunables_strdup): New function.
11375 (parse_tunables): New function.
11376 (min_strlen): New function.
11377 (__tunables_init): Use the new functions and macro.
11378 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11379 * malloc/tst-malloc-usable-tunables.c: New test case.
11380 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11381 * malloc/Makefile (tests, tests-static): Add tests.
11382
11383 * manual/install.texi: Add --enable-tunables option.
11384 * INSTALL: Regenerate.
11385 * README.tunables: New file.
11386 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11387 (before-compile): Generate dl-tunable-list.h early.
11388 * config.h.in: Add HAVE_TUNABLES.
11389 * config.make.in: Add have-tunables.
11390 * configure.ac: Add --enable-tunables option.
11391 * configure: Regenerate.
11392 * csu/init-first.c (__libc_init_first): Move
11393 __libc_init_secure earlier...
11394 * csu/init-first.c (LIBC_START_MAIN):... to here.
11395 Include dl-tunables.h, libc-internal.h.
11396 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11397 binaries.
11398 * elf/Makefile (dl-routines): Add dl-tunables.
11399 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11400 namespace.
11401 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11402 only when !HAVE_TUNABLES.
11403 * elf/rtld.c (process_envvars): Likewise.
11404 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11405 (_dl_sysdep_start): Call __tunables_init.
11406 * elf/dl-tunable-types.h: New file.
11407 * elf/dl-tunables.c: New file.
11408 * elf/dl-tunables.h: New file.
11409 * elf/dl-tunables.list: New file.
11410 * malloc/tst-malloc-usable-static.c: New test case.
11411 * malloc/Makefile (tests-static): Add it.
11412 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11413 Define TUNABLE_NAMESPACE.
11414 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11415 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11416 callback functions.
11417 (ptmalloc_init): Set tunable values.
11418 * scripts/gen-tunables.awk: New file.
11419 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11420 (_dl_sysdep_start): Call __tunables_init.
11421
11422 2016-12-31 Florian Weimer <fweimer@redhat.com>
11423
11424 * resolv/resolv.h (RES_BLAST): Deprecate.
11425 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11426 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11427 to RES_BLAST.
11428
11429 2016-12-27 Florian Weimer <fweimer@redhat.com>
11430
11431 [BZ #19582]
11432 Deprecate RES_USE_INET6.
11433 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11434 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11435 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11436 RES_USE_INET6.
11437 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11438 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11439 (_nss_nisplus_gethostbyaddr_r): Likewise.
11440 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11441 of res_use_inet6.
11442 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11443 instead of RES_USE_INET6.
11444 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11445 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11446 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11447 Likewise.
11448 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11449 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11450 Likewise.
11451 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11452 (_nss_dns_gethostbyname_r): Likewise.
11453 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11454 alternate RES_USE_INET6 handling.
11455 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11456 instead of RES_USE_INET6.
11457 * resolv/res_init.c (res_setoptions): Likewise.
11458 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11459 * resolv/resolv-internal.h: New file.
11460 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11461 make the deprecation warning non-fatal.
11462 * resolv/README (Using the resolver in multi-threaded code): Drop
11463 reference to RES_USE_INET6.
11464 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11465 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11466
11467 2016-12-31 Florian Weimer <fweimer@redhat.com>
11468
11469 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11470 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11471 tst-resolv-search.
11472 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11473 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11474 with libresolv and libpthread.
11475 * resolv/tst-bug18665.c: New file.
11476 * resolv/tst-bug18665-tcp: Likewise.
11477 * resolv/tst-res_use_inet6: Likewise.
11478 * resolv/tst-resolv-basic: Likewise.
11479 * resolv/tst-resolv-network: Likewise.
11480 * resolv/tst-resolv-search: Likewise.
11481 * support/Makefile (libsupport-routines): Add check_addrinfo,
11482 check_dns_packet, check_hostent, check_netent, resolv_test,
11483 support_format_address_family, support_format_addrinfo,
11484 support_format_dns_packet, support_format_herrno,
11485 support_format_hostent, support_format_netent, support_run_diff,
11486 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11487 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11488 xstrdup, xwrite.
11489 * support/check_addrinfo.c: New file.
11490 * support/check_dns_packet.c: Likewise.
11491 * support/check_hostent.c: Likewise.
11492 * support/check_netent.c: Likewise.
11493 * support/check_nss.h: Likewise.
11494 * support/format_nss.h: Likewise.
11495 * support/resolv_test.c: Likewise.
11496 * support/resolv_test.h: Likewise.
11497 * support/run_diff.h: Likewise.
11498 * support/support_format_address_family.c: Likewise.
11499 * support/support_format_addrinfo.c: Likewise.
11500 * support/support_format_dns_packet.c: Likewise.
11501 * support/support_format_herrno.c: Likewise.
11502 * support/support_format_hostent.c: Likewise.
11503 * support/support_format_netent.c: Likewise.
11504 * support/support_run_diff.c: Likewise.
11505 * support/xaccept.c: Likewise.
11506 * support/xbind.c: Likewise.
11507 * support/xconnect.c: Likewise.
11508 * support/xfclose.c: Likewise.
11509 * support/xfopen.c: Likewise.
11510 * support/xgetsockname.c: Likewise.
11511 * support/xlisten.c: Likewise.
11512 * support/xmemstream.c: Likewise.
11513 * support/xmemstream.h: Likewise.
11514 * support/xpoll.c: Likewise.
11515 * support/xpthread_once.c: Likewise.
11516 * support/xrecvfrom.c: Likewise.
11517 * support/xsendto.c: Likewise.
11518 * support/xsetsockopt.c: Likewise.
11519 * support/xstdio.h: Likewise.
11520 * support/xstrdup.c: Likewise.
11521 * support/support.h (xstrdup): Declare.
11522 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11523 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11524 * support/xthread.h (xpthread_once): Likwise.
11525 * support/xunistd.h (xwrite): Declare.
11526
11527 2016-12-31 Florian Weimer <fweimer@redhat.com>
11528
11529 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11530 (test_verbose): Declare.
11531 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11532 * support/support_test_main.c (default_options): Likewise.
11533 (usage, support_test_main): Handle 'v'.
11534 (test_verbose): Define.
11535 * support/tst-support_record_failure.c (do_test): Use
11536 test_verbose.
11537 * support/tst-support_record_failure-2.sh (different_status): Add
11538 --verbose test.
11539
11540 2016-12-31 Florian Weimer <fweimer@redhat.com>
11541
11542 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11543 test failures are recorded.
11544 * support/check.c (support_print_failure_impl): Call
11545 support_record_failure.
11546 (support_exit_failure_impl): Call support_record_failure if status
11547 indicates failure.
11548 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11549 * support/xasprintf.c (xasprintf): Likewise.
11550 * support/xfork.c (xfork): Likewise.
11551 * support/xpthread_check_return.c (xpthread_check_return):
11552 Likewise.
11553 * support/xsocket.c (xsocket): Likeweise.
11554 * support/xwaitpid.c (xwaitpid): Likewise.
11555 * support/support_record_failure.c (struct test_failures): Adjust
11556 to coding style.
11557 * support/support_test_verify_impl.c (support_test_verify_impl):
11558 Adjust error messages.
11559 * support/tst-support_record_failure-2.sh (different_status):
11560 Adjust error messages.
11561
11562 2016-12-31 Florian Weimer <fweimer@redhat.com>
11563
11564 * support/namespace.h: New file.
11565 * support/support_become_root.c: Likewise.
11566 * support/support_enter_network_namespace.c: Likewise.
11567 * support/tst-support-namespace.c: Likewise.
11568 * support/xsocket.c: Likewise.
11569 * support/xsocket.h: Likewise.
11570 * support/Makefile (libsupport-routines): Add support_become_root,
11571 support_enter_network_namespace, xsocket.
11572 (tests): Add tst-support-namespace.
11573
11574 2016-12-31 Florian Weimer <fweimer@redhat.com>
11575
11576 [BZ #17252]
11577 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11578 __USE_GNU.
11579
11580 2016-12-31 Torvald Riegel <triegel@redhat.com>
11581
11582 [BZ #13165]
11583 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11584 use new algorithm.
11585 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11586 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11587 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11588 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11589 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11590 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11591 __condvar_cleanup_waiting, __condvar_dec_grefs,
11592 __pthread_cond_wait_common): New.
11593 (__condvar_cleanup): Remove.
11594 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11595 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11596 Likewise.
11597 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11598 Likewise.
11599 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11600 * nptl/tst-cond1.c: Add comment.
11601 * nptl/tst-cond20.c (do_test): Adapt.
11602 * nptl/tst-cond22.c (do_test): Likewise.
11603 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11604 structure.
11605 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11606 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11607 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11608 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11609 Likewise.
11610 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11611 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11612 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11613 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11614 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11615 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11616 Likewise.
11617 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11618 Likewise.
11619 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11620 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11621 (COND_CLOCK_BITS): Adapt.
11622 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11623 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11624 __PTHREAD_COND_SHARED_MASK): New.
11625 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11626 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11627 * nptl/nptl_lock_constants.pysym: Adapt.
11628 * nptl/test-cond-printers.py: Adapt.
11629 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11630 cond_compat_check_and_clear): Adapt.
11631 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11632 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11633 (__pthread_cond_timedwait): ... and move here.
11634 * nptl/DESIGN-condvar.txt: Remove file.
11635 * nptl/lowlevelcond.sym: Likewise.
11636 * nptl/pthread_cond_timedwait.c: Likewise.
11637 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11638 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11639 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11640 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11641 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11642 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11643 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11644 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11645 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11646 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11647 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11648 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11649 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11650 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11651 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11652 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11653
11654 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11655
11656 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11657 (fromfp): New declaration.
11658 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11659 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11660 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11661 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11662 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11663 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11664 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11665 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11666 * math/math.h: Include <bits/types.h>.
11667 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11668 constant and macro.
11669 (FP_INT_DOWNWARD): Likewise.
11670 (FP_INT_TOWARDZERO): Likewise.
11671 (FP_INT_TONEARESTFROMZERO): Likewise.
11672 (FP_INT_TONEAREST): Likewise.
11673 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11674 (fromfpf): Likewise.
11675 (fromfpl): Likewise.
11676 (ufromfp): Likewise.
11677 (ufromfpf): Likewise.
11678 (ufromfpl): Likewise.
11679 (fromfpx): Likewise.
11680 (fromfpxf): Likewise.
11681 (fromfpxl): Likewise.
11682 (ufromfpx): Likewise.
11683 (ufromfpxf): Likewise.
11684 (ufromfpxl): Likewise.
11685 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11686 s_fromfpxF and s_ufromfpxF.
11687 * math/gen-fromfp-tests.py: New file.
11688 * math/gen-fromfp-tests-inputs: Likewise.
11689 * math/libm-test.inc: Include <stdint.h>
11690 (check_intmax_t): New function.
11691 (check_uintmax_t): Likewise.
11692 (struct test_fiu_M_data): New type.
11693 (struct test_fiu_U_data): Likewise.
11694 (RUN_TEST_fiu_M): New macro.
11695 (RUN_TEST_LOOP_fiu_M): Likewise.
11696 (RUN_TEST_fiu_U): Likewise.
11697 (RUN_TEST_LOOP_fiu_U): Likewise.
11698 (fromfp_test_data): New array.
11699 (fromfp_test): New function.
11700 (fromfpx_test_data): New array.
11701 (fromfpx_test): New function.
11702 (ufromfp_test_data): New array.
11703 (ufromfp_test): New function.
11704 (ufromfpx_test_data): New array.
11705 (ufromfpx_test): New function.
11706 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11707 ufromfpx_test.
11708 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11709 characters.
11710 * math/test-tgmath-ret.c: Include <stdint.h>.
11711 (rm): New variable.
11712 (width): Likewise.
11713 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11714 called function.
11715 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11716 CHECK_RET_CONST_TYPE.
11717 (CHECK_RET_CONST_DOUBLE): Likewise.
11718 (CHECK_RET_CONST_LDOUBLE): Likewise.
11719 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11720 macros.
11721 (fromfp): New CHECK_RET_CONST call.
11722 (ufromfp): Likewise.
11723 (fromfpx): Likewise.
11724 (ufromfpx): Likewise.
11725 (do_test): Call check_return_fromfp, check_return_ufromfp,
11726 check_return_fromfpx and check_return_ufromfpx.
11727 * math/test-tgmath.c: Include <stdint.h>
11728 (NCALLS): Increase to 138.
11729 (F(compile_test)): Initialize i. Call fromfp functions.
11730 (F(fromfp)): New function.
11731 (F(fromfpx)): Likewise.
11732 (F(ufromfp)): Likewise.
11733 (F(ufromfpx)): Likewise.
11734 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11735 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11736 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11737 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11738 ufromfpxl.
11739 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11740 ufromfp and ufromfpx.
11741 * math/fromfp.h: New file.
11742 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11747 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11748 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11749 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11750 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11751 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11764 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11768 ufromfp, fromfpx and ufromfpx.
11769 (CFLAGS-nldbl-fromfp.c): New variable.
11770 (CFLAGS-nldbl-fromfpx.c): Likewise.
11771 (CFLAGS-nldbl-ufromfp.c): Likewise.
11772 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11773 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11774 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11775 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11776 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11777 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11778 * sysdeps/nacl/libm.abilist: Update.
11779 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11781 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11789 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11790 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11792 Likewise.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11794 Likewise.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11796 Likewise.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11798 Likewise.
11799 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11800 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11801 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11803 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11805 Likewise.
11806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11807 Likewise.
11808 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11811
11812 2016-12-30 Florian Weimer <fweimer@redhat.com>
11813
11814 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11815 compat-gethnamaddr.
11816 (CPPFLAGS): Remove.
11817 * resolv/gethnamaddr.c: Rename ...
11818 * resolv/compat-gethnamaddr.c: ... to this file.
11819 (_endhtent): Make static.
11820 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11821 symbol.
11822 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11823 compat symbol.
11824 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11825 symbol.
11826 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11827 Turn into compat symbol.
11828 * include/resolv.h (_endhtent): Remove declaration.
11829
11830 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11831
11832 * bits/types.h (__intmax_t): New typedef.
11833 (__uintmax_t): Likewise.
11834 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11835 (intmax_t): Define using __intmax_t.
11836 (uintmax_t): Define using __uintmax_t.
11837
11838 * support/Makefile (tests-special): Make definition conditional on
11839 [$(run-built-tests) = yes].
11840 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11841 on [$(run-built-tests) = yes].
11842
11843 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11844
11845 * Rules (tests): Add tests-printers-programs to tests to be
11846 built.
11847
11848 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11849
11850 * sysvipc/Makefile (tests): Add test-sysvshm.
11851 * sysvipc/test-sysvshm.c: New file.
11852
11853 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11854 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11855 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11856 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11857 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11858 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11859 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11860 Likewise.
11861 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11862 Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11864 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11865 is defined.
11866
11867 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11868 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11869 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11870 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11871 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11872 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11873 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11874 Likewise.
11875 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11876 Likewise.
11877 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11878 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11879 defined.
11880
11881 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11882 oldshmctl.
11883 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11884 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11885 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11886 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11887 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11888 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11889 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11890 Likewise.
11891 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11892 Likewise.
11893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11894 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11895 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11896 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11897 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11898 implementation.
11899 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11900 if it is defined.
11901
11902 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11903 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11904 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11905 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11906 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11907 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11908 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11909 Likewise.
11910 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11911 Likewise.
11912 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11913 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11914 Define to __NR_osf_shmat.
11915 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11916 defined.
11917
11918 * sysvipc/Makefile (tests): Add test-sysvsem.
11919 * sysvipc/test-sysvsem.c: New file.
11920
11921 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11922 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11923 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11924 Likewise.
11925 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11926 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11927 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11928 Likewise.
11929 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11930 Likewise.
11931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11932 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11933 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11934 add a comment about s390 syscall difference from default one.
11935 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11936 syscall if it is defined.
11937
11938 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11939 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11940 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11941 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11942 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11943 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11944 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11945 Likewise.
11946 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11947 Likewise.
11948 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11949 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11950 defined.
11951
11952 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11953 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11954 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11955 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11956 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11957 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11958 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11959 Likewise.
11960 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11961 Likewise.
11962 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11963 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11964 if it is defined.
11965
11966 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11967 oldsemctl.
11968 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11969 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11970 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11972 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11973 implementation.
11974 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11975 syscall if it is defined.
11976 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11977 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11978 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11979 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11980 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11981 Likewise.
11982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11983
11984 * sysvipc/Makefile (tests): Add test-sysvmsg.
11985 * sysvipc/test-sysvmsg.c: New file.
11986 * support/check.h (FAIL_UNSUPPORTED): New define.
11987
11988 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11989 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11990 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11991 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11992 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11993 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11994 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11995 Likewise.
11996 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11997 Likewise.
11998 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11999 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12000 define.
12001
12002 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12003 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12004 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12005 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12006 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12007 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12008 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12009 Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12011 Likewise.
12012 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12013 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12014 if defined.
12015
12016 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12017 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12018 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12019 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12020 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12021 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12022 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12023 Likewise.
12024 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12025 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12026 Likewise.
12027 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12028 if defined.
12029 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12030
12031 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12032 oldmsgctl.
12033 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12034 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12035 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12036 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12037 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12038 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12039 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12040 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12041 Likewise.
12042 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12043 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12044 implementation.
12045 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12046 if defined.
12047
12048 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12049 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12050 definition and define its own.
12051 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12052 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12053 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12054 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12055 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12056 definitions to common header.
12057 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12058 operation from ipc_ops.h.
12059
12060 * sysdeps/unix/sysv/linux/kernel-features.h
12061 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12062 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12063 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12064 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12065 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12066 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12067 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12069 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12070 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12071 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12072 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12073 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12074 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12075 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12076
12077 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12078
12079 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12080 overflow in pointer addition.
12081
12082 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12083
12084 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12085 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12087 (strchr): Add __strchr_power8 to list of strchr functions.
12088 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12089 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12090 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12092 (strchr): Add __strchr_power8 to ifunc list.
12093 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12094 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12095 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12096 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12097
12098 2016-12-28 Florian Weimer <fweimer@redhat.com>
12099
12100 * support/Makefile (libsupport-routines): Add
12101 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12102 (tests): Add tst-support_record_failure.
12103 (tests-special): tst-support_record_failure-2.
12104 (tst-support_record_failure-2.out): Depend on
12105 tst-support_record_failure-2.sh and tst-support_record_failure.
12106 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12107 (support_test_verify_impl, support_record_failure)
12108 (support_report_failure, support_report_failure_reset): Declare.
12109 * support/support_test_main.c (adjust_exit_status): New function.
12110 (support_test_main): Call it to incorporate record test failures.
12111 * support/support_test_verify_impl.c: New file.
12112 * support/support_record_failure.c: Likewise.
12113 * support/tst-support_record_failure.c: Likewise.
12114 * support/tst-support_record_failure-2.sh: Likewise.
12115 * support/xunistd.h: Likewise.
12116 * support/xfork.c: Likewise.
12117 * support/xwaitpid.c: Likewise.
12118
12119 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12120
12121 * scripts/check-c++-types.sh: Add comments.
12122
12123 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12124
12125 [BZ #19514]
12126 * resolv/res_send.c: Fix typo in comment.
12127 * sysdeps/i386/i386-mcount.S: Likewise.
12128 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12129 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12130 * sysdeps/sparc/sparc-mcount.S: Likewise.
12131
12132 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12133
12134 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12135 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12136 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12137 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12138 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12139 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12140 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12141 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12142
12143 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12144
12145 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12146
12147 2016-12-27 Florian Weimer <fweimer@redhat.com>
12148
12149 [BZ #17252]
12150 * posix/unistd.h (getentropy): Declare.
12151
12152 2016-12-27 Florian Weimer <fweimer@redhat.com>
12153
12154 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12155 Remove.
12156 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12157 (cmd): Remove spoof, nospoof, spoofalert.
12158 (parse_line): Ignore spoof-related lines.
12159 (do_init): Do not process RESOLV_SPOOF_CHECK.
12160
12161 2016-12-27 Florian Weimer <fweimer@redhat.com>
12162
12163 [BZ #20964]
12164 sunrpc: Always obtain AF_INET addresses from NSS.
12165 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12166 * sunrpc/rpc_gethostbyname.c: New file.
12167 * sunrpc/Makefile (routines): Add it.
12168 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12169 * sunrpc/clnt_simp.c (callrpc): Likewise.
12170 * sunrpc/getrpcport.c (getrpcport): Likewise.
12171
12172 2016-12-27 Florian Weimer <fweimer@redhat.com>
12173
12174 * sunrpc/rpcinfo.c: Remove.
12175 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12176
12177 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12178
12179 [BZ #19387]
12180 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12181 addition.
12182 * string/test-memchr.c (do_test): Remove alignment limitation.
12183 (test_main): Add test that trigger BZ #19387.
12184
12185 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12186
12187 [BZ #7065]
12188 Enable stack protectore if requested by ./configure.
12189 * Makeconfig (+stack-protector): New variable.
12190 (+cflags): Use it.
12191
12192 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12193
12194 [BZ #7065]
12195 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12196 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12197 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12198 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12199 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12200
12201 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12202
12203 [BZ #7065]
12204 * login/Makefile (pt_chown-cflags): Remove.
12205 * nscd/Makefile (CFLAGS-nscd): Likewise.
12206 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12207
12208 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12209
12210 [BZ #7065]
12211 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12212 non-libc-linking testcase.
12213
12214 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12215 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12216 Florian Weimer <fweimer@redhat.com>
12217
12218 [BZ #7065]
12219 PLT avoidance for __stack_chk_fail*.
12220 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12221 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12222 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12223 __stack_chk_fail_local alias.
12224 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12225 (__stack_chk_fail): Turn into hidden reference to
12226 __stack_chk_fail_local.
12227
12228 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12229
12230 [BZ #7065]
12231 * configure.ac: Add check for unsupported stack-protection level.
12232 (libc_cv_predef_stack_protector): Remove.
12233 (no_ssp): New variable.
12234 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12235 (stack_protector): Set to -fno-stack-protector similarly.
12236 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12237 (libc_cv_asm_set_directive): Likewise.
12238 (libc_cv_protected_data): Likewise.
12239 (libc_cv_z_combreloc): Likewise.
12240 (libc_cv_hashstyle): Likewise.
12241 (libc_cv_has_glob_dat): Likewise.
12242 (libc_cv_output_format): Likewise.
12243 (libc_cv_output_format): Likewise.
12244 (libc_cv_ehdr_start): Likewise.
12245 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12246 (LIBC_LINKER_FEATURE): Likewise.
12247 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12248
12249 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12250
12251 [BZ #7065]
12252 * elf/Makefile (dummy-stack-chk-fail): New.
12253 (librtld.map): Use it.
12254
12255 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12256
12257 [BZ #7065]
12258 Compile the dynamic linker without stack protection.
12259 * elf/Makefile (elide-stack-protector): New.
12260 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12261 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12262 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12263 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12264
12265 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12266
12267 [BZ #7065]
12268 * config.make.in (have-ssp, no-stack-protector): New.
12269 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12270 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12271 (CFLAGS-sbrk.op): Likewise.
12272 (CFLAGS-brk.o): Likewise.
12273 (CFLAGS-brk.op): Likewise.
12274 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12275 (CFLAGS-wordcopy.c): Likewise.
12276
12277 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12278
12279 [BZ #7065]
12280 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12281 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12282 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12283 (__ifunc_resolver): Use it.
12284 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12285 inhibit_stack_protector.
12286 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12287 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12288 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12289 (foo_protected_ifunc): Likewise.
12290 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12291 (foo_protected_ifunc): Likewise.
12292 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12293 * sysdeps/nacl/nacl_interface_query.c
12294 (nacl_interface_query_ifunc): Likewise.
12295 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12296 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12297 Likewise.
12298 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12299 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12300 the generated vDSO syscall resolver.
12301
12302 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12303 Florian Weimer <fweimer@redhat.com>
12304
12305 [BZ #7065]
12306 Initialize the stack guard earlier when linking statically.
12307 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12308 (__pthread_initialize_minimal): Declare.
12309 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12310 declaration.
12311 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12312 stack canary and apply_irel initialization up. Call
12313 __pthread_initialize_minimal only if linked in.
12314 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12315 constant values.
12316 (__pthread_initialize_minimal): Remove.
12317 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12318 (__pthread_initialize_minimal_internal): Do not call
12319 __libc_setup_tls.
12320
12321 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12322
12323 [BZ #7065]
12324 * configure.ac (libc_cv_ssp): Move up.
12325 (libc_cv_ssp_strong): Likewise.
12326 (libc_cv_ssp_all): New.
12327 (stack_protector): Augment, adding -fstack-protector-all.
12328 (no_stack_protector): New.
12329 (STACK_PROTECTOR_LEVEL): New.
12330 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12331 * manual/install.texi (--enable-stack-protector): Document it.
12332 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12333
12334 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12335
12336 * README.pretty-printers: Must specify CPPFLAGS-* also.
12337 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12338 (CPPFLAGS-test-mutex-printers.c): Define.
12339 (CPPFLAGS-test-condattr-printers.c): Define.
12340 (CPPFLAGS-test-cond-printers.c): Define.
12341 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12342 (CPPFLAGS-test-rwlock-printers.c): Define.
12343
12344 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12345 (tests): Add tst-cancel-getpwuid_r.
12346 * nss/tst-cancel-getpwuid_r.c: New file.
12347
12348 [BZ #11941]
12349 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12350 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12351 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12352 tst-nodelete-dlclose.
12353 (modules-names): Add tst-nodelete-dlclose-dso and
12354 tst-nodelete-dlclose-plugin.
12355 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12356 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12357 ($(objpfx)tst-nodelete-dlclose): Define.
12358 ($(objpfx)tst-nodelete-dlclose.out): Define.
12359
12360 2016-12-23 Florian Weimer <fweimer@redhat.com>
12361
12362 * scripts/test_printers_common.py: Log GDB output in case of
12363 Python detection failure.
12364
12365 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12366
12367 * configure.ac: Check for python3 or python.
12368 * configure: Regenerated.
12369 * config.make.in (PYTHON): New variable.
12370 * benchtests/Makefile: Don't define PYTHON.
12371 (bench): Define target only if PYTHON was defined.
12372 * Rules: Don't define PYTHON.
12373 Define pretty printer targets only if PYTHON was defined.
12374 (tests-printers): Add to tests-unsupported if PYTHON is not
12375 found.
12376 (python-flags, python-invoke): Remove.
12377 (tests-printers-out): Use PYTHON instead of python-invoke.
12378
12379 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12380
12381 [BZ #20978]
12382 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12383 Compare name == NULL, not name != NULL.
12384
12385 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12386 trailing whitespace removed.
12387 * scripts/config.guess: Update to version 2016-10-02.
12388 * scripts/config.sub: Update to version 2016-11-19.
12389 * scripts/install-sh: Update to version 2016-01-11.22.
12390 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12391 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12392
12393 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12394
12395 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12396 (do_one_test) Restore original string so iteration works.
12397 * string/string-inlines.c (do_test): Create better input strings.
12398 (test_main) Reduce number of testruns.
12399 * string/string-inlines.c (__old_strsep_1c): New function.
12400 (__old_strsep_2c): Likewise.
12401 (__old_strsep_3c): Likewise.
12402 * string/strsep.c (__strsep): Remove case of small delim string.
12403 Call strcspn directly rather than strpbrk.
12404 * string/bits/string2.h (__strsep): Remove define.
12405 (__strsep_1c): Remove.
12406 (__strsep_2c): Remove.
12407 (__strsep_3c): Remove.
12408 (strsep): Remove.
12409 * sysdeps/unix/sysv/linux/internal_statvfs.c
12410 (__statvfs_getflags): Rename to __strsep.
12411
12412 2016-12-21 Florian Weimer <fweimer@redhat.com>
12413
12414 * csu/libc-tls.c (_dl_tls_setup): Remove.
12415 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12416 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12417 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12418
12419 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12420
12421 [BZ #7065]
12422 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12423 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12424
12425 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12426 Florian Weimer <fweimer@redhat.com>
12427
12428 [BZ #7065]
12429 * csu/Makefile (tests): Empty assignment and document it.
12430 (tests-static): Remove.
12431 * csu/tst-empty.c: Move to...
12432 * misc/tst-empty.c: ... here. Switch to new test driver.
12433 * csu/tst-atomic.c: Move to...
12434 * misc/tst-atomic.c: ... here. Switch to new test driver.
12435 * csu/tst-atomic-long.c: Move to...
12436 * misc/tst-atomic-long.c: ... here.
12437 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12438 tst-atomic-long.
12439 (tests-static): Add tst-empty.
12440
12441 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12442
12443 * manual/nss.texi: Change incorrect @vtable to @table.
12444 * manual/arith.texi: Convert @tables of variables to @vtables
12445 and remove unnecessary indexing.
12446 * manual/filesys.texi: Likewise.
12447 * manual/llio.texi: Likewise.
12448 * manual/memory.texi: Likewise.
12449 * manual/process.texi: Likewise.
12450 * manual/resource.texi: Likewise.
12451 * manual/search.texi: Likewise.
12452 * manual/signal.texi: Likewise.
12453 * manual/socket.texi: Likewise.
12454 * manual/stdio.texi: Likewise.
12455 * manual/sysinfo.texi: Likewise.
12456 * manual/syslog.texi: Likewise.
12457 * manual/terminal.texi: Likewise.
12458 * manual/time.texi: Likewise.
12459 * manual/users.texi: Likewise.
12460
12461 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12462
12463 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12464 (roundeven): New declaration.
12465 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12466 macro.
12467 * math/Versions (roundeven): New libm symbol at version
12468 GLIBC_2.25.
12469 (roundevenf): Likewise.
12470 (roundevenl): Likewise.
12471 * math/Makefile (libm-calls): Add s_roundevenF.
12472 * math/libm-test.inc (roundeven_test_data): New array.
12473 (roundeven_test): New function.
12474 (main): Call roundeven_test.
12475 * math/test-tgmath.c (NCALLS): Increase to 134.
12476 (F(compile_test)): Call roundeven.
12477 (F(roundeven)): New function.
12478 * manual/arith.texi (Rounding Functions): Document roundeven,
12479 roundevenf and roundevenl.
12480 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12481 * include/math.h (roundeven): Use libm_hidden_proto.
12482 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12483 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12484 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12489 roundeven.
12490 (CFLAGS-nldbl-roundeven.c): New variable.
12491 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12492 * sysdeps/nacl/libm.abilist: Update.
12493 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12506 Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12508 Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12510 Likewise.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12512 Likewise.
12513 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12525
12526 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12527
12528 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12529 preprocessor indentation inside #if.
12530
12531 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12532
12533 * math/libm-test.inc (fmt_ftostr): New function.
12534 (print_float, check_float_internal): Replace some uses of
12535 FTOSTR with uses of fmt_ftostr.
12536 (print_max_error, print_complex_max_error, print_function_ulps)
12537 (print_complex_function_ulps): Remove uses of the macros
12538 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12539 * math/test-double.h (FTOSTR): Define to strfromd.
12540 (PRINTF_EXPR): Delete.
12541 (PRINTF_XEXPR): Likewise.
12542 (PRINTF_NEXPR): Likewise.
12543 * math/test-float.h (FTOSTR): Define to strfromf.
12544 (PRINTF_EXPR): Delete.
12545 (PRINTF_XEXPR): Likewise.
12546 (PRINTF_NEXPR): Likewise.
12547 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12548 (PRINTF_EXPR): Delete.
12549 (PRINTF_XEXPR): Likewise.
12550 (PRINTF_NEXPR): Likewise.
12551
12552 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12553
12554 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12555 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12556 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12557 (__lll_lock_elision): Decrement adapt_count while unlocking
12558 instead of before locking.
12559 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12560 (__lll_trylock_elision): Likewise.
12561 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12562 (__lll_unlock_elision): Likewise.
12563
12564 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12565
12566 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12567 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12568 Use __libc_tbegin_retry macro.
12569
12570 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12571
12572 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12573 Add -msoft-float.
12574 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12575 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12576 Use __libc_t* transaction macros instead of __builtin_t*.
12577 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12578 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12579
12580 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12581
12582 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12583 (__lll_lock_elision): Use atomics to load / store adapt_count.
12584 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12585 (__lll_trylock_elision): Likewise.
12586
12587 2016-12-20 Florian Weimer <fweimer@redhat.com>
12588
12589 Do not require memset elimination in explicit_bzero test.
12590 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12591 (enum test_expectation): Add NO_EXPECTATIONS.
12592 (subtests): NO_EXPECTATIONS for ordinary clear.
12593 (check_test_buffer): Handle NO_EXPECTATIONS.
12594 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12595
12596 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12597
12598 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12599 (fmaxmag): New declaration.
12600 (fminmag): Likewise.
12601 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12602 macro.
12603 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12604 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12605 (fmaxmagf): Likewise.
12606 (fmaxmagl): Likewise.
12607 (fminmag): Likewise.
12608 (fminmagf): Likewise.
12609 (fminmagl): Likewise.
12610 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12611 * math/s_fmaxmag_template.c: New file.
12612 * math/s_fminmag_template.c: Likewise.
12613 * math/libm-test.inc (fmaxmag_test_data): New array.
12614 (fmaxmag_test): New function.
12615 (fminmag_test_data): New array.
12616 (fminmag_test): New function.
12617 (main): Call fmaxmag_test and fminmag_test.
12618 * math/test-tgmath.c (NCALLS): Increase to 132.
12619 (F(compile_test)): Call fmaxmag and fminmag.
12620 (F(fminmag)): New function.
12621 (F(fmaxmag)): Likewise.
12622 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12623 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12624 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12625 fminmag.
12626 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12627 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12628 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12631 and fminmag.
12632 (CFLAGS-nldbl-fmaxmag.c): New variable.
12633 (CFLAGS-nldbl-fminmag.c): Likewise.
12634 * sysdeps/nacl/libm.abilist: Update.
12635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12648 Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12650 Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12652 Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12654 Likewise.
12655 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12661 Likewise.
12662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12663 Likewise.
12664 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12667
12668 2016-12-19 Torvald Riegel <triegel@redhat.com>
12669
12670 [BZ #20973]
12671 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12672 wake-up in robust mutexes.
12673 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12674
12675 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12676
12677 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12678 (CFLAGS-bench-fmaxf.c): New rule.
12679 (CFLAGS-bench-fminf.c): Likewise.
12680 * benchtests/fmaxf-inputs: New file.
12681 * benchtests/fminf-inputs: Likewise.
12682
12683 * benchtests/Makefile (bench-math): Add fmin and fmax.
12684 (CFLAGS-bench-fmax.c): New rule.
12685 (CFLAGS-bench-fmin.c): Likewise.
12686 * benchtests/fmax-inputs: New file.
12687 * benchtests/fmin-inputs: Likewise.
12688
12689 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12690 parenthesis.
12691 (CMDLINE_PROCESS): Define using function instead of macro.
12692 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12693 of test-skeleton.
12694 * benchtests/bench-memchr.c: Likewise.
12695 * benchtests/bench-memcmp.c: Likewise.
12696 * benchtests/bench-memcpy-large.c: Likewise.
12697 * benchtests/bench-memcpy.c: Likewise.
12698 * benchtests/bench-memmem.c: Likewise.
12699 * benchtests/bench-memmove-large.c: Likewise.
12700 * benchtests/bench-memmove.c: Likewise.
12701 * benchtests/bench-memset-large.c: Likewise.
12702 * benchtests/bench-memset.c: Likewise.
12703 * benchtests/bench-rawmemchr.c: Likewise.
12704 * benchtests/bench-strcasecmp.c: Likewise.
12705 * benchtests/bench-strcasestr.c: Likewise.
12706 * benchtests/bench-strcat.c: Likewise.
12707 * benchtests/bench-strchr.c: Likewise.
12708 * benchtests/bench-strcmp.c: Likewise.
12709 * benchtests/bench-strcpy.c: Likewise.
12710 * benchtests/bench-strcpy_chk.c: Likewise.
12711 * benchtests/bench-strlen.c: Likewise.
12712 * benchtests/bench-strncasecmp.c: Likewise.
12713 * benchtests/bench-strncmp.c: Likewise.
12714 * benchtests/bench-strncpy.c: Likewise.
12715 * benchtests/bench-strnlen.c: Likewise.
12716 * benchtests/bench-strpbrk.c: Likewise.
12717 * benchtests/bench-strrchr.c: Likewise.
12718 * benchtests/bench-strsep.c: Likewise.
12719 * benchtests/bench-strspn.c: Likewise.
12720 * benchtests/bench-strstr.c: Likewise.
12721 * benchtests/bench-strtok.c: Likewise.
12722
12723 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12724
12725 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12726 stepping identification.
12727 (init_cpu_features): Add handle of Haswell.
12728
12729 2016-11-25 Jim Meyering <meyering@fb.com>
12730
12731 [BZ #20386]
12732 Let gcc detect assert(a = 1) errors.
12733 * assert/assert.h (assert): Rewrite, retaining the old definintion
12734 when required, but otherwise putting the expression as-is in an "if"
12735 expression (hence, with no added parentheses) within a statement
12736 expression.
12737
12738 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12739
12740 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12741 DSO.
12742
12743 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12744
12745 * Rules (python-flags, python-invoke): New.
12746 ($(test-printers-out)): Use $(python-flags).
12747
12748 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12749
12750 * manual/arith.texi (Math Error Reporting): Document that sNaN
12751 arguments are not considered domain errors.
12752
12753 2016-12-16 Zack Weinberg <zackw@panix.com>
12754 Florian Weimer <fweimer@redhat.com>
12755 Nick Mathewson <nickm@torproject.org>
12756
12757 * string/explicit_bzero.c: New routine.
12758 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12759 * string/Makefile (routines, strop-tests, tests): Add them.
12760 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12761 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12762
12763 * debug/explicit_bzero_chk.c: New routine.
12764 * debug/Makefile (routines): Add it.
12765 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12766 * string/bits/string3.h: Fortify explicit_bzero.
12767
12768 * manual/string.texi: Document explicit_bzero.
12769 * NEWS: Mention addition of explicit_bzero.
12770
12771 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12772 data before returning, using explicit_bzero.
12773 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12774 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12775 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12776
12777 * include/string.h: Redirect internal uses of explicit_bzero
12778 to __explicit_bzero_chk[_internal].
12779 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12780 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12781 * sysdeps/arm/nacl/libc.abilist
12782 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12783 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12784 * sysdeps/unix/sysv/linux/arm/libc.abilist
12785 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12786 * sysdeps/unix/sysv/linux/i386/libc.abilist
12787 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12788 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12789 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12790 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12791 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12792 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12793 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12794 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12795 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12800 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12801 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12802 * sysdeps/unix/sysv/linux/sh/libc.abilist
12803 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12804 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12807 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12808 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12809 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12810 Add entries for explicit_bzero and __explicit_bzero_chk.
12811
12812 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12813
12814 * math/fenv.h
12815 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12816 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12817 * math/test-fe-snans-always-signal.c: New file.
12818 * math/Makefile (tests): Add test-fe-snans-always-signal.
12819 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12820 * manual/arith.texi (Infinity and NaN): Document
12821 FE_SNANS_ALWAYS_SIGNAL.
12822
12823 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12824
12825 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12826 bracket.
12827
12828 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12829
12830 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12831 before calling execv.
12832
12833 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12834
12835 [BZ #20971]
12836 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12837 overflow in pointer addition.
12838 * string/test-memchr.c (do_test): Add an argument to pass as
12839 the size on memchr.
12840 (test_main): Add check for SIZE_MAX.
12841
12842 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12843
12844 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12845 (libm-calls): Add w_scalblnF.
12846 * math/w_scalbln.c: Remove.
12847 * math/w_scalblnf.c: Likewise.
12848 * math/w_scalblnl.c: Likewise.
12849 * math/w_scalbln_template.c: New file with type-generic
12850 implementation based on math/w_scalbln.c.
12851 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12852 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12853
12854 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12855
12856 [BZ #20947]
12857 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12858 either is a signaling NaN.
12859 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12860 follow fmaxl more closely.
12861 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12862 when either is a signaling NaN.
12863 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12864 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12865 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12866 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12867 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12868 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12869 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12870 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12871 (fmin_test_data): Likewise.
12872
12873 2016-12-15 Andreas Schwab <schwab@suse.de>
12874
12875 * support/support_test_main.c (support_test_main): Don't shadow
12876 file-local variable test_pid.
12877
12878 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12879
12880 [BZ #20947]
12881 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12882 either is a signaling NaN.
12883 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12884
12885 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12886
12887 [BZ #20947]
12888 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12889 when either is a signaling NaN.
12890 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12891
12892 * bits/long-double.h: New file.
12893 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12894 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12895 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12896 * sysdeps/mips/bits/long-double.h: Likewise.
12897 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12898 * math/Makefile (headers): Add bits/long-double.h.
12899 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12900 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12901 <bits/wordsize.h>.
12902 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12903 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12904 * math/math.h: Do not include <bits/mathdef.h>.
12905 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12906 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12907 inclusion.
12908 * sysdeps/ia64/bits/mathdef.h: Remove file.
12909 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12910 * sysdeps/mips/bits/mathdef.h: Likewise.
12911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12912 * sysdeps/s390/bits/mathdef.h: Likewise.
12913 * sysdeps/sparc/bits/mathdef.h: Likewise.
12914 * sysdeps/x86/bits/mathdef.h: Likewise.
12915 * sysdeps/s390/s390-32/bits/wordsize.h
12916 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12917 conditional code.
12918 * sysdeps/s390/s390-64/bits/wordsize.h
12919 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12920 Likewise.
12921 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12922 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12923 Likewise.
12924 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12925 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12926 Likewise.
12927 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12928 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12929 Likewise.
12930
12931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12932 <linux/falloc.h>.
12933 (FALLOC_FL_KEEP_SIZE): Remove.
12934 (FALLOC_FL_PUNCH_HOLE): Likewise.
12935 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12936 (FALLOC_FL_ZERO_RANGE): Likewise.
12937
12938 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12939
12940 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12941
12942 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12943
12944 * sysdeps/unix/sysv/linux/renameat.c: New file.
12945 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12946
12947 * sysdeps/unix/sysv/linux/rename.c: New file.
12948 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12949
12950 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12951
12952 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12953 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12954 * string/strtok_r.c (__strtok_r): Optimize for performance.
12955 * string/string-inlines.c (__old_strtok_r_1c): New function.
12956 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12957
12958 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12959
12960 * math/Makefile (gen-libm-calls): Add w_log1pF.
12961 (libm-calls): Remove w_log1pF.
12962 * math/w_log1p.c: Remove.
12963 * math/w_log1pf.c: Likewise.
12964 * math/w_log1pl.c: Likewise.
12965 * math/w_log1p_template.c: New file with type-generic
12966 implementation based on math/w_log1p.c.
12967 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12968 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12969
12970 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12971
12972 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12973
12974 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12975
12976 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12977 kernel version to 4.9.
12978
12979 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12980
12981 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12982 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12983
12984 2016-12-13 Andreas Schwab <schwab@suse.de>
12985
12986 * sysdeps/powerpc/dl-procinfo.c: Don't define
12987 _dl_powerpc_platforms.
12988 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12989 constants instead of referencing _dl_powerpc_platforms.
12990 (_dl_platform_string): Remove.
12991
12992 2016-12-13 Florian Weimer <fweimer@redhat.com>
12993
12994 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12995
12996 2016-12-13 Florian Weimer <fweimer@redhat.com>
12997
12998 * Rules (binaries-shared-tests, binaries-pie-tests)
12999 (binaries-static-tests): Link with $(link-extra-libs-tests).
13000 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13001 Remove $(link-extra-libs-tests).
13002
13003 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13004
13005 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13006 (sysdep_routines): Add strncmp_power9.
13007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13008 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13010 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13011 (strncmp): Add __strncmp_power9 to ifunc list.
13012 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13013
13014 2016-12-12 Florian Weimer <fweimer@redhat.com>
13015
13016 [BZ #17252]
13017 Add getentropy, getrandom.
13018 * stdlib/sys/random.h: New file.
13019 (headers): Add it.
13020 * stdlib/Makefile (routines): Add getentropy, getrandom.
13021 (tests): Add tst-getrandom.
13022 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13023 * stdlib/getentropy.c: New file.
13024 * stdlib/getrandom.c: Likewise.
13025 * stdlib/tst-getrandom.c: Likewise.
13026 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13027 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13028 * manual/crypt.texi (Unpredictable Bytes): New section.
13029 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13030 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13031 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13046 Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13048 Likewise.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13061
13062 2016-12-10 Florian Weimer <fweimer@redhat.com>
13063
13064 [BZ #20956]
13065 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13066 as additional compiler barriers.
13067 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13068 (fn2, do_test): Declare with external linkage.
13069 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13070 (do_test): Declare with external linkage.
13071 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13072 (do_test): Declare with external linkage.
13073 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13074 (do_test): Declare with external linkage.
13075
13076 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13077
13078 * support/support_test_main.c (support_test_main): Use correct
13079 timeout.
13080
13081 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13082 Florian Weimer <fweimer@redhat.com>
13083
13084 [BZ #16421]
13085 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13086 and __u6_addr32 members.
13087 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13088 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13089 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13090 Use __u6_addr32.
13091 * inet/tst-checks.c: Use <support/test-driver.c>
13092 * inet/tst-checks-posix.c: New file.
13093 * inet/Makefile (tests): Add it.
13094 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13095
13096 2016-12-09 Florian Weimer <fweimer@redhat.com>
13097
13098 New subdirectory support for build and test infrastructure.
13099 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13100 setting install-lib.
13101 * Makeconfig (link-extra-libs-tests): Define.
13102 (+link-pie-tests, +link-static-tests, +link-tests): Use
13103 link-extra-libs-tests.
13104 (rpath-dirs, all-subdirs): Add support.
13105 (built-modules): Add libsupport.
13106 (libsupport): Define.
13107 * support: New directory.
13108 * support/Makefile: New file.
13109 * support/check.c: Likewise.
13110 * support/check.h: Likewise.
13111 * support/delayed_exit.c: Likewise.
13112 * support/ignore_stderr.c: Likewise.
13113 * support/oom_error.c: Likewise.
13114 * support/set_fortify_handler.c: Likewise.
13115 * support/support.h: Likewise.
13116 * support/temp_file-internal.h: Likewise.
13117 * support/temp_file.c: Likewise.
13118 * support/test-driver.c: Likewise.
13119 * support/test-driver.h: Likewise.
13120 * support/test_main.c: Likewise.
13121 * support/write_message.c: Likewise.
13122 * support/xasprintf.c: Likewise.
13123 * support/xcalloc.c: Likewise.
13124 * support/xmalloc.c: Likewise.
13125 * support/xpthread_barrier_destroy.c: Likewise.
13126 * support/xpthread_barrier_init.c: Likewise.
13127 * support/xpthread_barrier_wait.c: Likewise.
13128 * support/xpthread_cancel.c: Likewise.
13129 * support/xpthread_check_return.c: Likewise.
13130 * support/xpthread_cond_wait.c: Likewise.
13131 * support/xpthread_create.c: Likewise.
13132 * support/xpthread_detach.c: Likewise.
13133 * support/xpthread_join.c: Likewise.
13134 * support/xpthread_mutex_lock.c: Likewise.
13135 * support/xpthread_mutex_unlock.c: Likewise.
13136 * support/xpthread_sigmask.c: Likewise.
13137 * support/xpthread_spin_lock.c: Likewise.
13138 * support/xpthread_spin_unlock.c: Likewise.
13139 * support/xrealloc.c: Likewise.
13140 * support/xsignal.h: Likewise.
13141 * support/xthread.h: Likewise.
13142 * support_tempfile.h: Likewise.
13143 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13144 (TEST_DATA_LIMIT): Remove unused macro.
13145 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13146 <support/check.h>.
13147 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13148 (ignore_stderr, set_fortify_handler): Remove. Now in
13149 <support/support.h>.
13150 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13151 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13152 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13153 (xpthread_join): Remove. Now in <support/xthread.h>.
13154 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13155 Introduce legacy wrappers.
13156 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13157 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13158 (write_message): Remove.
13159 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13160 test-skeleton.c.
13161 * io/test-open-tmpfile: Likewise.
13162 * io/tst-posix_fallocate-common.c: Likewise.
13163 * libio/tst-fseek.c: Likewise.
13164 * malloc/tst-malloc-backtrace.c: Likewise.
13165 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13166 * malloc/tst-malloc-thread-exit.c: Likewise.
13167 * nptl/tst-cancel7.c: Likewise.
13168 * nptl/tst-cleanup0.c: Likewise.
13169 * posix/tst-posix_fadvise-common.c: Likewise.
13170 * rt/tst-shm.c: Likewise.
13171 * time/bug-getdate1.c: Likewise.
13172 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13173 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13174 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13175
13176 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13177
13178 * Rules [$(run-built-tests) != no] (tests-expected): Add
13179 $(tests-printers).
13180 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13181
13182 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13183
13184 [BZ #20539]
13185 * math/Makefile (install-lib-ldscripts): Add libm.a.
13186 (install_subdir): Remove.
13187 (install-others): Add.
13188 ($(inst_libdir)/libm.a): Add rule for installation as
13189 linker script.
13190 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13191
13192 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13193
13194 * INSTALL: Regenerated.
13195 * Makeconfig: Add comments and whitespace to make the control flow
13196 clearer.
13197 (+link-printers-tests, +link-pie-printers-tests,
13198 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13199 built-rtld-LDFLAGS, link-libc-rpath,
13200 link-libc-tests-after-rpath-link,
13201 link-libc-printers-tests): New.
13202 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13203 link-libc-tests): Use the new variables as required.
13204 * Makerules ($(py-const)): New rule.
13205 generated: Add $(py-const).
13206 * README.pretty-printers: New file.
13207 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13208 (others): Depend on $(py-const).
13209 (tests): Depend on $(tests-printers-programs) or
13210 $(tests-printers-out),
13211 as required. Pass $(tests-printers) to merge-test-results.sh.
13212 * manual/install.texi: Add requirements for testing the pretty
13213 printers.
13214 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13215 tests-printers, CFLAGS-test-mutexattr-printers.c
13216 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13217 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13218 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13219 * nptl/nptl-printers.py: New file.
13220 * nptl/nptl_lock_constants.pysym: Likewise.
13221 * nptl/test-cond-printers.c: Likewise.
13222 * nptl/test-cond-printers.py: Likewise.
13223 * nptl/test-condattr-printers.c: Likewise.
13224 * nptl/test-condattr-printers.py: Likewise.
13225 * nptl/test-mutex-printers.c: Likewise.
13226 * nptl/test-mutex-printers.py: Likewise.
13227 * nptl/test-mutexattr-printers.c: Likewise.
13228 * nptl/test-mutexattr-printers.py: Likewise.
13229 * nptl/test-rwlock-printers.c: Likewise.
13230 * nptl/test-rwlock-printers.py: Likewise.
13231 * nptl/test-rwlockattr-printers.c: Likewise.
13232 * nptl/test-rwlockattr-printers.py: Likewise.
13233 * scripts/gen-py-const.awk: Likewise.
13234 * scripts/test_printers_common.py: Likewise.
13235 * scripts/test_printers_exceptions.py: Likewise.
13236
13237 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13238
13239 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13240 argument.
13241 (Glibc.build_glibc): Strip installed shared libraries if
13242 requested.
13243 (get_parser): Add --strip option.
13244 (main): Update Context call.
13245
13246 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13247 Dominik Vogt <vogt@linux.vnet.ibm.com>
13248
13249 [BZ #20847]
13250 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13251 array bounds for else branch.
13252 (__execvpe): Style fixes.
13253 * posix/tst-vfork3.c (run_script): New function.
13254 (create_script): Likewise.
13255 (do_test): Use run_script internal function.
13256 (do_prepare): Use create_script internal function.
13257
13258 2016-12-07 Andreas Schwab <schwab@suse.de>
13259
13260 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13261 (__elision_available): Don't declare.
13262 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13263 (__elision_available): Don't define.
13264 (elision_init): Don't set __elision_available.
13265
13266 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13267
13268 [BZ #20940]
13269 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13270 return Inf for arguments Inf and sNaN.
13271 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13272 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13273 Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13275 Likewise.
13276 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13277 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13278 for arguments Inf and sNaN. When returning a NaN, compute it by
13279 arithmetic on the arguments.
13280 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13281 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13282 arguments.
13283
13284 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13285
13286 [BZ #20916]
13287 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13288 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13289 to compute result.
13290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13291 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13292
13293 2016-12-05 Torvald Riegel <triegel@redhat.com>
13294
13295 * include/atomic.h (__atomic_check_size_ls): New.
13296 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13297 atomic_store_release): Use it.
13298 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13299 (elision_adapt, ELIDE_LOCK): Use atomics.
13300 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13301 atomics and improve code comments.
13302 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13303 (__lll_trylock_elision): Likewise.
13304
13305 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13306
13307 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13308 programs.
13309
13310 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13311
13312 [BZ #20916]
13313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13314 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13315 arguments to compute result.
13316 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13317 1 for arguments (sNaN, 0) or (1, sNaN).
13318 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13320
13321 [BZ #20919]
13322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13323 NaN first argument when raised to power 0.
13324 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13325 raising to power zero.
13326 * math/w_powf.c (__powf): Likewise.
13327 * math/w_powl.c (__powl): Likewise.
13328 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13329 pow (0, 0) or pow (NaN, 0).
13330
13331 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13332
13333 [BZ #20918]
13334 * configure.ac: Test for static NSS cryptographic libraries and set
13335 libc_cv_static_nss_crypt.
13336 * configure: Regenerate.
13337 * config.make.in (static-nss-crypt): Define.
13338 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13339 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13340 (CFLAGS-tst-linkall-static.c): Define.
13341 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13342 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13343 ($(objpfx)tst-linkall-static): Define.
13344 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13345 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13346
13347 2016-12-02 Florian Weimer <fweimer@redhat.com>
13348
13349 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13350 (one-hundred, tst-tls-many-dynamic-modules): Define.
13351 (modules-names): Add $(tst-tls-many-dynamic-modules).
13352 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13353 macros.
13354 (tst-tls-manydynamic): Link against libdl, libpthread.
13355 (tst-tls-manydynamic.out): The test needs the test modules at run
13356 time.
13357 * elf/tst-tls-manydynamic.c: New file.
13358 * elf/tst-tls-manydynamic.h: Likewise.
13359 * elf/tst-tls-manydynamicmod.c: Likewise.
13360
13361 2016-12-02 Florian Weimer <fweimer@redhat.com>
13362
13363 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13364 (TLS_DTV_UNALLOCATED): Add.
13365 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13366 offsets.
13367
13368 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13369
13370 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13371
13372 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13373
13374 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13375 Add -fno-optimize-sibling-calls.
13376
13377 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13378
13379 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13380 New declaration.
13381 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13382 macro.
13383 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13384 New macro.
13385 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13386 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13387 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13388 (llogbf): Likewise.
13389 (llogbl): Likewise.
13390 * math/Makefile (gen-libm-calls): Add w_llogbF.
13391 (tests): Add test-fp-llogb-constants.
13392 * math/w_llogb_template.c: New file. Based on
13393 math/w_ilogb_template.c.
13394 * math/libm-test.inc (llogb_test_data): New array.
13395 (llogb_test): New function.
13396 (main): Call llogb_test.
13397 * math/test-fp-llogb-constants.c: New file. Based on
13398 math/test-fp-ilogb-constants.c.
13399 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13400 (do_test): Call check_return_llogb.
13401 * math/test-tgmath.c (NCALLS): Increase to 126.
13402 (F(compile_test)): Call llogb.
13403 (F(llogb)): New function.
13404 * manual/math.texi (Exponents and Logarithms): Document llogb,
13405 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13406 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13407 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13408 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13410 (CFLAGS-nldbl-llogb.c): New variable.
13411 * sysdeps/nacl/libm.abilist: Update.
13412 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13425 Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13427 Likewise.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13429 Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13431 Likewise.
13432 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13438 Likewise.
13439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13440 Likewise.
13441 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13444
13445 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13446
13447 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13448 _Float128 instead of long double.
13449 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13450
13451 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13452 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13453 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13454 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13455 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13456 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13457 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13458 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13459 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13460 Likewise.
13461
13462 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13463
13464 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13465 Remove redirection to __strrchr_ppc.
13466
13467 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13468
13469 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13470 (sysdep_routines): Add strcmp_power9.
13471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13472 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13473 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13474 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13475 (strcmp): Add __strcmp_power9 to ifunc list.
13476 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13477
13478 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13479
13480 * bits/fp-logb.h: New file.
13481 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13482 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13483 * sysdeps/x86/bits/fp-logb.h: Likewise.
13484 * math/Makefile (headers): Add bits/fp-logb.h.
13485 * math/math.h: Include <bits/fp-logb.h>.
13486 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13487 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13488 * bits/mathdef.h (FP_ILOGB0): Remove.
13489 (FP_ILOGBNAN): Likewise.
13490 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13491 (FP_ILOGBNAN): Likewise.
13492 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13493 (FP_ILOGBNAN): Likewise.
13494 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13495 (FP_ILOGBNAN): Likewise.
13496 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13497 (FP_ILOGBNAN): Likewise.
13498 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13499 (FP_ILOGBNAN): Likewise.
13500 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13501 (FP_ILOGBNAN): Likewise.
13502 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13503 (FP_ILOGBNAN): Likewise.
13504 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13505 (FP_ILOGBNAN): Likewise.
13506 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13507 (FP_ILOGBNAN): Likewise.
13508
13509 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13510 time module.
13511 (Context.__init__): Initialize self.logsdir_old.
13512 (Context.run_builds): Handle bot action.
13513 (Context.bot_cycle): Copy logs directory before running builds.
13514 (Context.bot_run_self): Take argument for whether to check
13515 subprocess result. Flush stdout before running subprocess.
13516 (Context.bot): New function.
13517 (get_parser): Allow bot action.
13518
13519 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13520
13521 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13522 Import email.mime.text, email.utils and smtplib modules.
13523 (Context.__init__): Initialize self.bot_config_json.
13524 (Context.run_builds): Handle bot-cycle action.
13525 (Context.load_bot_config_json): New function.
13526 (Context.part_build_old): Likewise.
13527 (Context.bot_cycle): Likewise.
13528 (Context.bot_build_mail): Likewise.
13529 (Context.bot_run_self): Likewise.
13530 (get_parser): Allow bot-cycle action.
13531
13532 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13533
13534 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13535 Remove redirection to __stpcpy_ppc.
13536
13537 2016-11-30 Florian Weimer <fweimer@redhat.com>
13538
13539 Remove __libc_memalign from ld.so because it is unused.
13540 * elf/dl-minimal.c: Update comment on the malloc implementation.
13541 (malloc): Renamed from __libc_memalign, replacing the original
13542 malloc implementation. Replace the align parameter with
13543 MALLOC_ALIGNMENT.
13544 * elf/Versions (ld): Update comment and remove __libc_memalign.
13545 * sysdeps/nacl/ld.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13572 * sysdeps/generic/localplt.data (ld.so): Likewise.
13573 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13574 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13575 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13576 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13577 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13578 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13579 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13580 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13581 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13583 (ld.so): Likewise.
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13585 (ld.so): Likewise.
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13587 Likewise.
13588 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13589 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13590 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13591 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13592 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13593
13594 2016-11-30 Florian Weimer <fweimer@redhat.com>
13595
13596 [BZ #16628]
13597 Implement _dl_catch_error, _dl_signal_error in libc.so.
13598 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13599 (catch_hook): Define as thread-local or regular variable,
13600 depending on DL_ERROR_BOOTSTRAP.
13601 (CATCH_HOOK): Remove.
13602 (dl_signal_error, _dl_catch_error): Use
13603 catch_hook. Add hidden definition for libc.
13604 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13605 for DL_ERROR_BOOTSTRAP only.
13606 * elf/dl-error.c: New file.
13607 * elf/dl-error-minimal.c: Likewise.
13608 * elf/tst-latepthread.c: Likewise.
13609 * elf/tst-latepthreadmod.c: Likewise.
13610 * elf/Makefile (routines): Add dl-error.
13611 (dl-routines): Remove dl-error.
13612 (rtld-routines): Add dl-error-minimal.
13613 [build-shared] (tests): Add tst-latepthread.
13614 (module-names): Add tst-latepthreadmod.
13615 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13616 symbol.
13617 (tst-latepthreadmod.so): Link against libpthread.
13618 (tst-latepthread): Link against libdbl.
13619 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13620 _dl_catch_error.
13621 [ld] (GLIBC_PRIVATE): Likewise.
13622 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13623 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13624 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13625 directly.
13626 * elf/dl-tsd.c: Remove file.
13627 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13628 _dl_catch_error, _dl_signal_error.
13629 (_dl_initial_error_catch_tsd): Remove definition.
13630 (do_preload): Remove initialization of dl_error_catch_tsd.
13631 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13632 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13633 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13634 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13635 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13636 set dl_error_catch_tsd.
13637 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13638 _dl_error_catch_tsd member.
13639 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13640 members.
13641 (_dl_initial_error_catch_tsd): Remove declaration.
13642 (_dl_dprintf): Provide definition for use outside of ld.so.
13643 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13644 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13645 prototype for libc.
13646 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13647 _dl_catch_error.
13648 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13649 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13650 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13651 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13652 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13653 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13654 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13655 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13656 Likewise.
13657 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13659 (ld.so): Likewise.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13661 (ld.so): Likewise.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13663 Likewise.
13664 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13665 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13666 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13667 Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13669 Likewise.
13670 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13671
13672 2016-11-30 Florian Weimer <fweimer@redhat.com>
13673
13674 [BZ #4099]
13675 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13676 _IO_BUFSIZ (8192).
13677
13678 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13679
13680 * PROJECTS: Remove file.
13681
13682 2016-11-29 Florian Weimer <fweimer@redhat.com>
13683
13684 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13685
13686 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13687 Steve Ellcey <sellcey@caviumnetworks.com>
13688
13689 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13690 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13691 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13692 fxstatat.
13693 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13694 lxstat.
13695 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13696 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13697 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13698 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13699 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13700 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13701 __xstat.
13702
13703 2016-11-29 Florian Weimer <fweimer@redhat.com>
13704
13705 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13706 Define.
13707 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13708 definition.
13709
13710 2016-11-29 Florian Weimer <fweimer@redhat.com>
13711
13712 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13713 version and turn into strong alias. Remove compat symbol.
13714
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13716 (__longjmp): Remove.
13717
13718 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13719
13720 * bits/fp-fast.h: New file.
13721 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13722 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13723 * math/Makefile (headers): Add bits/fp-fast.h.
13724 * math/math.h: Include <bits/fp-fast.h>.
13725 * bits/mathdef.h (FP_FAST_FMA): Remove.
13726 (FP_FAST_FMAF): Likewise.
13727 (FP_FAST_FMAL): Likewise.
13728 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13729 (FP_FAST_FMAF): Likewise.
13730 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13731 (FP_FAST_FMAF): Likewise.
13732 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13733 (FP_FAST_FMAF): Likewise.
13734 (FP_FAST_FMAL): Likewise.
13735 * sysdeps/arm/bits/mathdef.h: Remove file.
13736 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13737 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13738 * sysdeps/tile/bits/mathdef.h: Likewise.
13739
13740 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13741
13742 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13743 * math/w_ilogb.c: Remove.
13744 * math/w_ilogbf.c: Likewise.
13745 * math/w_ilogbl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13747 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13748 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13749 (libm-calls): Remove w_ilogbF.
13750 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13751 (LDOUBLE_ilogbl_libm_version): New macro.
13752
13753 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13754
13755 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13756 [!__STRICT_ANSI__ && !__cplusplus].
13757
13758 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13759
13760 [BZ #20750]
13761 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13762 of PIC.
13763
13764 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13765 Yury Norov <ynorov@caviumnetworks.com>
13766 Steve Ellcey <sellcey@caviumnetworks.com>
13767
13768 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13769 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13770 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13771 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13772 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13773 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13774 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13775 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13776 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13777 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13778 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13779 to get correct reg name for ILP32.
13780 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13781 (RELA_SIZE): New Macro.
13782 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13783 to support ILP32.
13784 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13785 cast for ILP32 mode.
13786 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13787 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13788 * sysdeps/aarch64/memset.S (__memset): Ditto.
13789 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13790 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13791 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13792 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13793 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13794 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13795 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13796 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13797 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13798 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13799 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13800 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13801 change PTR_MANGLE call to use register numbers instead of names.
13802 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13803 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13804 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13805 * sysdeps/aarch64/start.S (_start): Ditto.
13806 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13807 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13808 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13809 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13810 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13811 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13812 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13813 Make defined values dependent on __ILP32__.
13814 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13815 (sem_t): Change __align type.
13816 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13817 PTR_SIZE): New Macros.
13818 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13819 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13820 Set when in ILP32 mode.
13821 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13822 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13823 Set elf flags for ILP32.
13824 (add_system_dir): Set ILP32 library directories.
13825 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13826 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13827 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13828 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13829 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13830 New Macros.
13831 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13832
13833 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13834
13835 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13836 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13837 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13838
13839 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13840
13841 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13842 <asm/cachectl.h>.
13843
13844 2016-11-27 Zack Weinberg <zackw@panix.com>
13845
13846 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13847 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13848
13849 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13850
13851 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13852 error_t to fix usage in C++ programs.
13853
13854 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13855
13856 * scripts/build-many-glibcs.py: Import datetime module.
13857 (Context.__init__): Load JSON build state. Initialize list of
13858 status logs.
13859 (Context.run_builds): Update saved build state.
13860 (Context.add_makefile_cmdlist): Update list of status logs.
13861 (Context.load_build_state_json): New function.
13862 (Context.store_build_state_json): Likewise.
13863 (Context.clear_last_build_state): Likewise.
13864 (Context.update_build_state): Likewise.
13865 (CommandList.status_logs): Likewise.
13866
13867 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13868
13869 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13870 script being executed.
13871 (Context.get_script_text): New function.
13872 (Context.exec_self): Likewise.
13873 (Context.checkout): Re-exec script if changed by checkout process.
13874
13875 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13876
13877 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13878 (setpayloadsig): New declaration.
13879 * math/Versions (setpayloadsig): New libm symbol at version
13880 GLIBC_2.25.
13881 (setpayloadsigf): Likewise.
13882 (setpayloadsigl): Likewise.
13883 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13884 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13885 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13886 (setpayloadsig_test_data): New array.
13887 (setpayloadsig_test): New function.
13888 (main): Call setpayloadsig_test.
13889 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13890 setpayloadsigf and setpayloadsigl.
13891 * manual/libm-err-tab.pl: Update comment on interfaces without
13892 ulps tabulated.
13893 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13894 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13899 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13900 setpayloadsig.
13901 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13902 * sysdeps/nacl/libm.abilist: Update.
13903 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13916 Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13918 Likewise.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13920 Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13922 Likewise.
13923 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13929 Likewise.
13930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13931 Likewise.
13932 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13935
13936 * scripts/build-many-glibcs.py: Import json module.
13937 (Context.__init__): Take replace_sources argument. Load
13938 versions.json.
13939 (Context.load_versions_json): New function.
13940 (Context.store_json): Likewise.
13941 (Context.store_versions_json): Likewise.
13942 (Context.set_component_version): Likewise.
13943 (Context.checkout): Update versions.json. Check for and handle
13944 changes of version. Prefer previously explicitly specified
13945 version to default version.
13946 (Context.checkout_vcs): Return a revision identifier.
13947 (Context.git_checkout): Likewise.
13948 (Context.gcc_checkout): Likewise.
13949 (get_parser): Add --replace-sources option.
13950 (main): Pass replace_sources argument to Context call.
13951
13952 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13953
13954 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13955 * nptl/allocatestack.c (allocate_stack): Likewise.
13956 (__reclaim_stacks): Likewise.
13957 (setxid_signal_thread): Obtain pid through syscall.
13958 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13959 (sighandle_setxid): Likewise.
13960 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13961 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13962 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13963 Likewise.
13964 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13965 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13966 comment.
13967 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13968 * nptl/descr.h (struct pthread): Change comment about pid value.
13969 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13970 pid assert.
13971 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13972 Do not set pid value.
13973 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13974 pid cache check.
13975 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13976 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13977 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13978 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13979 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13980 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13981 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13982 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13983 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13984 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13985 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13986 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13987 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13988 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13989 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13990 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13991 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13992 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13993 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13994 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13995 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13996 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13997 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13998 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13999 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14003 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14004 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14007 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14009 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14010 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14011 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14012 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14013 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14014 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14015 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14016 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14017 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14020 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14021 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14022 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14023 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14025 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14027 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14028 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14029 struct access.
14030 (clone_test): Remove function.
14031 (do_test): Rewrite to take in consideration pid is not cached anymore.
14032
14033 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14034
14035 * bits/flt-eval-method.h: New file.
14036 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14037 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14038 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14039 * math/Makefile (headers): Add bits/flt-eval-method.h.
14040 * math/math.h: Include <bits/flt-eval-method.h>.
14041 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14042 [__USE_ISOC99] (double_t): Likewise.
14043 * bits/mathdef.h (float_t): Remove.
14044 (double_t): Likewise.
14045 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14046 (double_t): Likewise.
14047 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14048 (double_t): Likewise.
14049 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14050 (double_t): Likewise.
14051 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14052 (double_t): Likewise.
14053 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14054 (double_t): Likewise.
14055 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14056 (double_t): Likewise.
14057 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14058 (double_t): Likewise.
14059 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14060 (double_t): Likewise.
14061 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14062 (double_t): Likewise.
14063 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14064 (double_t): Likewise.
14065 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14066 (double_t): Likewise.
14067 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14068 (double_t): Likewise.
14069 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14070 (double_t): Likewise.
14071
14072 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14073
14074 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14075 instead of PIC.
14076
14077 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14078
14079 [BZ #20859]
14080 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14081 (-0x7fffffff) instead of 0x80000001.
14082 * math/test-fp-ilogb-constants.c: New file.
14083 * math/Makefile (tests): Add test-fp-ilogb-constants.
14084
14085 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14086
14087 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14088 (_init): Use it in place of hardcoded R_MIPS_JALR.
14089 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14090 (_init): Use it in place of hardcoded R_MIPS_JALR.
14091 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14092 (_init): Use it in place of hardcoded R_MIPS_JALR.
14093
14094 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14095
14096 [BZ #20787]
14097 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14098 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14099 (double_t): Do not define to double if [__x86_64__] when
14100 __FLT_EVAL_METHOD__ is nonzero.
14101 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14102 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14103 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14104 test-flt-eval-method-387 and test-flt-eval-method-sse.
14105 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14106 variable.
14107 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14108
14109 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14110
14111 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14112 use of -fno-isolate-erroneous-paths options for tilepro.
14113
14114 2016-11-23 Florian Weimer <fweimer@redhat.com>
14115
14116 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14117 structure initialization is no longer needed.
14118
14119 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14120
14121 [BZ #20855]
14122 * bits/mathdef.h (float_t): Define to float.
14123 * math/test-flt-eval-method.c: New file.
14124 * math/Makefile (tests): Add test-flt-eval-method.
14125 (CFLAGS-test-flt-eval-method.c): New variable.
14126
14127 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14128
14129 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14130 and __fstatfs. Make them aliases of __fstatfs64 if
14131 STATFS_IS_STATFS64 is set to non-zero.
14132 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14133 and __statfs64.
14134 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14135 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14136 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14137 for __statfs and statfs.
14138 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14139 to 0.
14140 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14141 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14142 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14143 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14144 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14145 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14148 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14150 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14151 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14152
14153 2016-11-22 Andreas Schwab <schwab@suse.de>
14154
14155 * misc/mkstemp.c: Include <fcntl.h>.
14156 * misc/mkstemps.c: Likewise.
14157 * misc/mkostemp.c: Likewise.
14158 * misc/mkostemps.c: Likewise.
14159
14160 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14161
14162 [BZ #20847]
14163 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14164 array bounds.
14165 (__execvpe): Likewise.
14166
14167 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14168
14169 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14170 -fno-isolate-erroneous-paths options for tilepro.
14171
14172 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14173
14174 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14175 to 0 when in 32 bit mode.
14176 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14177 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14178 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14179 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14182 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14183 XSTAT_IS_XSTAT64 test.
14184 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14185 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14186 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14187 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14188 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14189 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14190 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14191 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14192 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14193 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14194 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14195
14196 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14197
14198 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14199 (setpayload): New declaration.
14200 * math/Versions (setpayload): New libm symbol at version
14201 GLIBC_2.25.
14202 (setpayloadf): Likewise.
14203 (setpayloadl): Likewise.
14204 * math/Makefile (libm-calls): Add s_setpayloadF.
14205 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14206 test_Ff_b1_data.
14207 (RUN_TEST_Ff_b1): New macro.
14208 (RUN_TEST_LOOP_Ff_b1): Likewise.
14209 (canonicalize_test_data): Update type.
14210 (setpayload_test_data): New array.
14211 (setpayload_test): New function.
14212 (main): Call setpayload_test.
14213 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14214 setpayloadf and setpayloadl.
14215 * manual/libm-err-tab.pl: Update comment on interfaces without
14216 ulps tabulated.
14217 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14218 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14220 Likewise.
14221 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14229 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14230 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14231 setpayload.
14232 (CFLAGS-nldbl-setpayload.c): New variable.
14233 * sysdeps/nacl/libm.abilist: Update.
14234 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14247 Likewise.
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14249 Likewise.
14250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14251 Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14253 Likewise.
14254 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14260 Likewise.
14261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14262 Likewise.
14263 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14266
14267 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14268
14269 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14270 * include/unistd.h: Extend comment about __access_noerrno return
14271 semantics.
14272 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14273 (access_common): Correct typo for EACCES.
14274
14275 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14276
14277 * sysdeps/tile/math-tests.h: New file.
14278
14279 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14280 (__old_set_dataplane): Rename from set_dataplane and make a
14281 compatibility symbol.
14282 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14283 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14284 sys/dataplane.h.
14285
14286 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14287
14288 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14289 script quote words in command output to log suitably for input to
14290 the shell.
14291
14292 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14293 Maciej W. Rozycki <macro@imgtec.com>
14294
14295 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14296 `.Lno_weak_fn' label.
14297 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14298 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14299
14300 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14301 Yury Norov <ynorov@caviumnetworks.com>
14302
14303 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14304 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14305 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14306 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14307 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14309 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14311 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14313 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14314 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14315 (sysdep_routines): Remove oldgetrlimit64.
14316 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14317 (sysdep_routines): Likewise.
14318 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14319 (sysdep_routines): Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14321 [$(subdir) = resource] (sysdep_routines): Likewise.
14322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14323 [$(subdir) = resource] (sysdep_routines): Likewise.
14324 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14325 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14326 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14327 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14328 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14330 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14331 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14332 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14336 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14337 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14338 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14339 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14340 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14341 setrlimit and getrlimit.
14342 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14344 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14348 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14349 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14351 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14352 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14353 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14354 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14355 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14356 (__old_getrlimit64): Add compatibility symbol.
14357 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14358
14359 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14360
14361 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14362 newly built gmp, mpfr and mpc.
14363
14364 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14365
14366 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14367
14368 * conform/Makefile (linknamespace-libs): Rename to
14369 linknamespace-libs-thr.
14370 (linknamespace-libs-posix): New variable.
14371 (linknamespace-libs-xsi): Likewise.
14372 (linknamespace-libs-XPG3): Include libcrypt.a.
14373 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14374 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14375 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14376 (linknamespace-libs-XOPEN2K): Likewise.
14377 (linknamespace-libs-XOPEN2K8): Likewise.
14378 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14379
14380 [BZ #20829]
14381 * stdio-common/Versions (__snprintf): Add to version
14382 GLIBC_PRIVATE.
14383 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14384 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14385 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14386 of snprintf.
14387 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14388
14389 2016-11-16 Zack Weinberg <zackw@panix.com>
14390
14391 * string/string.h: Remove obsolete comment stating that
14392 strcoll_l and strxfrm_l have not yet been standardized.
14393
14394 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14395
14396 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14397 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14398 __access_noerrno.
14399 * io/access.c (__access_noerrno): New function.
14400 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14401 (hurd_fail_seterrno): Likewise.
14402 (access_common): Likewise.
14403 (__access_noerrno): Likewise.
14404 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14405 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14406 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14407 macro.
14408
14409 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14410
14411 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14412 Only declare fpregs if [__SH_FPU_ANY__].
14413
14414 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14415
14416 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14417 Make code unconditional.
14418 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14419
14420 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14421
14422 * manual/sysinfo.texi (S_APPEND): Delete.
14423 (S_IMMUTABLE): Likewise.
14424
14425 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14426 Magnus Granberg <zorry@gentoo.org>
14427 Mike Frysinger <vapier@gentoo.org>
14428
14429 [BZ #20662]
14430 * configure.ac (libc_cv_predef_stack_protector): Also check for
14431 __stack_chk_fail_local symbols.
14432 * configure: Regenerated.
14433
14434 2016-11-15 Florian Weimer <fweimer@redhat.com>
14435
14436 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14437 (libc_hidden_def): Remove redefinition.
14438 (__sigsetjmp): Add hidden definition.
14439 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14440 (libc_hidden_def): Remove redefinition.
14441 (__sigsetjmp): Add hidden definition.
14442
14443 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14444
14445 * scripts/build-many-glibcs.py (os.path): Do not import.
14446 (Context): Inherit explicitly from object. Remove blank line
14447 between class and docstring.
14448 (Config): Likewise.
14449 (Glibc): Likewise.
14450 (Command): Likewise.
14451 (CommandList): Likewise.
14452 (Context.write_files): Store chmod mode in a variable.
14453
14454 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14455 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14456 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14457
14458 2016-11-14 Zack Weinberg <zackw@panix.com>
14459
14460 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14461 creating or re-creating it.
14462
14463 * string/bits/string2.h: Fix typo in comment.
14464
14465 2016-11-14 Zack Weinberg <zackw@panix.com>
14466
14467 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14468 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14469 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14470 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14471 of redirected function names.
14472
14473 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14474 as well. Document that MESSAGE must be a single string literal.
14475
14476 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14477
14478 * scripts/build-many-glibcs.py: New file.
14479
14480 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14481 (do_test): Disable -Wmaybe-uninitialized around uses of
14482 except_mask.
14483
14484 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14485
14486 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14487
14488 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14489 (atomic_store_release): Provide tilepro-specific implementations.
14490
14491 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14492
14493 * math/math.h (__MATH_TG): New macro.
14494 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14495 [__USE_ISOC99] (signbit): Likewise.
14496 [__USE_ISOC99] (isfinite): Likewise.
14497 [__USE_ISOC99] (isnan): Likewise.
14498 [__USE_ISOC99] (isinf): Likewise.
14499 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14500 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14501 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14502 __MATH_TG and __MATH_EVAL_FMT2.
14503 * sysdeps/generic/math_private.h (fabs_tg): Define using
14504 __MATH_TG.
14505 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14506 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14507 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14508 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14509 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14510 macro.
14511 (__iscanonical): Likewise.
14512 (iscanonical): Define using __MATH_TG.
14513
14514 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14515
14516 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14517 guards.
14518
14519 * sysdeps/unix/sysv/linux/access.c: New file.
14520 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14521
14522 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14523
14524 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14525 and __WORDSIZE32_PTRDIFF_LONG.
14526
14527 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14528
14529 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14530
14531 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14532
14533 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14534 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14535 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14536 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14537 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14539 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14540 * sysdeps/unix/sysv/linux/truncate.c: New file.
14541 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14542 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14543 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14544 Remove.
14545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14546 Likewise.
14547
14548 * posix/tst-truncate-common.c: New file.
14549 * posix/tst-truncate.c: Use tst-truncate-common.c.
14550 * posix/tst-truncate64.c: Likewise and add LFS tests.
14551 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14552 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14553 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14554 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14555 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14557 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14558 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14559 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14560 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14561 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14562 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14563 Remove.
14564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14565 Likewise.
14566
14567 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14568
14569 [BZ #20790]
14570 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14571 to MAXLINESIZE.
14572 * sunrpc/bug20790.x: New file.
14573 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14574 variable.
14575 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14576 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14577
14578 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14579
14580 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14581
14582 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14583 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14584 calloc, realloc, free, memalign and __libc_memalign rather than
14585 making them optional.
14586
14587 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14588 for libc.so.
14589
14590 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14591
14592 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14593 ptw-lseek64.
14594 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14595 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14596 Likewise.
14597 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14598 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14599 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14600 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14601 * sysdeps/unix/sysv/linux/lseek.c: New file.
14602 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14603 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14604 __libc_lseek64 from auto-generation.
14605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14606 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14607
14608 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14609
14610 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14611 * nptl/tst-cleanup1.c (do_test): Likewise.
14612 * nptl/tst-cleanup3.c (do_test): Likewise.
14613 * nptl/tst-key1.c (do_test): Likewise.
14614 * nptl/tst-key2.c (tf, do_test): Likewise.
14615 * nptl/tst-key3.c (tf, do_test): Likewise.
14616 * nptl/tst-stdio1.c (do_test): Likewise.
14617 * nptl/tst-stdio2.c (do_test): Likewise.
14618
14619 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14620 * nptl/tst-kill6.c (handler): Likewise.
14621 * nptl/tst-tls2.c (CB): Likewise.
14622 * nptl/tst-tls3.c (CB): Likewise.
14623
14624 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14625
14626 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14627
14628 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14629 Steve Ellcey <sellcey@caviumnetworks.com>
14630
14631 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14632 __ASSUME_ST_INO_64_BIT as 0
14633 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14634 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14635 over the code where __ASSUME_ST_INO_64_BIT is used.
14636 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14637 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14638 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14639
14640 2016-11-07 Florian Weimer <fweimer@redhat.com>
14641
14642 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14643 Document ABI exposure of the __kind offset.
14644 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14645 Mention reason for the __kind offset exposure in the ABI.
14646 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14647 Likewise.
14648 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14649 Likewise.
14650 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14651 Likewise.
14652 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14653 (struct __pthread_mutex_s): Likewise.
14654 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14655 Likewise.
14656 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14657 Likewise.
14658 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14659 Likewise.
14660 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14661 Likewise.
14662 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14663 Likewise.
14664 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14665 Likewise.
14666 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14667 (struct __pthread_mutex_s): Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14669 (struct __pthread_mutex_s): Likewise.
14670 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14671 Likewise.
14672
14673 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14674
14675 * test-skeleton.c: Document do_test usage.
14676
14677 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14678
14679 * iconv/gconv.h (__gconv_info): Define __data element using a
14680 zero-length array.
14681
14682 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14683
14684 * math/test-tgmath2.c: Split up test function.
14685
14686 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14687
14688 * Rules (tests-expected): New variable, depending on
14689 $(run-built-tests).
14690 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14691 $(tests).
14692
14693 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14694 $(tests-unsupported).
14695
14696 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14697
14698 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14699 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14700
14701 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14702
14703 [BZ #20768]
14704 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14705 __fegetenv instead of fegetenv.
14706
14707 [BZ #14139]
14708 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14709 (find_files): Obtain platform name from libm-test-ulps-name and
14710 store in %pplatforms.
14711 (canonicalize_platform): Remove.
14712 (print_platforms): Use $pplatforms directly.
14713 (by_platforms): Do not allow for platforms missing from
14714 %pplatforms.
14715 * sysdeps/aarch64/libm-test-ulps-name: New file.
14716 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14717 * sysdeps/arm/libm-test-ulps-name: Likewise.
14718 * sysdeps/generic/libm-test-ulps-name: Likewise.
14719 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14720 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14721 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14722 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14723 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14724 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14725 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14726 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14727 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14728 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14729 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14730 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14731 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14732 * sysdeps/sh/libm-test-ulps-name: Likewise.
14733 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14734 * sysdeps/tile/libm-test-ulps-name: Likewise.
14735 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14736
14737 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14738
14739 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14740 (test-xfail-check-execstack): New variable.
14741
14742 * sysdeps/mips/localplt.data: New file.
14743
14744 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14745 Steve Ellcey <sellcey@caviumnetworks.com>
14746
14747 * bits/wordsize.h: Add documentation.
14748 * sysdeps/aarch64/bits/wordsize.h : New file
14749 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14750 definitions.
14751 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14752 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14753 with #if instead of #ifdef.
14754 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14755 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14756 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14757 Add or change defines.
14758 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14759 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14760 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14761 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14762 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14763 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14764 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14765 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14766 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14767 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14769 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14770 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14771 * sysdeps/x86/bits/wordsize.h: Likewise.
14772
14773 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14774 Kevin Petit <kevin.petit@arm.com>
14775
14776 * sysdeps/aarch64/memchr.S (__memchr): New file.
14777
14778 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14779
14780 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14781
14782 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14783
14784 [BZ #19398]
14785 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14786 $(linknamespace-symlists-tests).
14787
14788 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14789
14790 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14791
14792 2016-11-02 Florian Weimer <fweimer@redhat.com>
14793 Carlos O'Donell <carlos@redhat.com>
14794
14795 [Bug #20729]
14796 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14797 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14798 for -Os related change.
14799
14800 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14801
14802 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14803
14804 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14805
14806 [BZ #19673]
14807 * manual/math.texi (Exponents and Logarithms): Correct description
14808 of clog10.
14809
14810 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14811
14812 [Bz #20729]
14813 * locale/weight.h: Include libc-internal.h.
14814 * locale/weightwc.h: Likewise.
14815 * nptl/nptl_dbP.h: Likewise.
14816
14817 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14818
14819 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14820 when it is MACH_PORT_NULL.
14821
14822 2016-10-31 Andreas Schwab <schwab@suse.de>
14823
14824 [BZ #20707]
14825 * posix/glob.c (glob): Initialize pglob before checking for
14826 GLOB_BRACE. Don't call glob recursively if pattern contains no
14827 valid brace expression despite GLOB_BRACE.
14828 * posix/globtest.sh: Test it.
14829
14830 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14831
14832 [BZ #20729]
14833 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14834 Define.
14835 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14836 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14837 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14838 for seq2.back_us and seq1.back_us only for -Os compiles.
14839 * locale/weightwc.h (findix): Likewise.
14840 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14841 DB_GET_FIELD_ADDRESS only for -Os compiles.
14842 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14843 for slen only for -Os compiles.
14844 * string/strcoll_l.c (get_next_seq): Ignore
14845 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14846 for -Os compiles.
14847
14848 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14849 * include/crypt.h: New file.
14850
14851 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14852
14853 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14854 from test-skeleton.c.
14855 (statclass): Replace calls to write with calls to write_message.
14856
14857 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14858
14859 * math/math.h
14860 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14861 New macro.
14862 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14863 Likewise.
14864 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14865 Likewise.
14866 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14867 SNANL.
14868 * math/test-double.h (snan_value_MACRO): New macro.
14869 * math/test-float.h (snan_value_MACRO): Likewise.
14870 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14871 * math/libm-test.inc (issignaling_test_data): Add tests of
14872 snan_value_MACRO.
14873
14874 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14875
14876 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14877 behavior when eliding a lock not held by the current thread.
14878 * sysdeps/powerpc/nptl/elide.h: Likewise.
14879
14880 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14881
14882 [BZ #20728]
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14884 branch to _exit() by a function call.
14885
14886 2016-10-28 Florian Weimer <fweimer@redhat.com>
14887
14888 * malloc/malloc.c: Update chunk layout comments.
14889 (chunk_main_arena): Update comment.
14890
14891 2016-10-28 Florian Weimer <fweimer@redhat.com>
14892
14893 * crypt/sha256.c, crypt/sha256-block.c,
14894 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14895 sha256_process_block to __sha256_process_block.
14896 * crypt/sha512.c, crypt/sha512-block.c,
14897 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14898 sha512_process_block to __sha512_process_block.
14899
14900 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14901
14902 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14903
14904 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14905
14906 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 [BZ #20019]
14909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14910 definition in unrelocated shared library.
14911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14912
14913 2016-10-28 Florian Weimer <fweimer@redhat.com>
14914
14915 [BZ #20729]
14916 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14917 * sysdeps/unix/sysv/linux/i386/Makefile
14918 (uses-6-syscall-arguments): Define.
14919 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14920 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14921 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14922 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14923 Likewise.
14924 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14925 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14926 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14927 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14928 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14929 (CFLAGS-fallocate64.os): Likewise.
14930 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14931 (CFLAGS-pthread_rwlock_timedrdlock.os)
14932 (CFLAGS-pthread_rwlock_timedwrlock.o)
14933 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14934 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14935 (CFLAGS-sem_timedwait.os): Likewise.
14936
14937 2016-10-28 Florian Weimer <fweimer@redhat.com>
14938
14939 * elf/tst-linkall-static.c: New file.
14940 * elf/Makefile (tests-static): Add tst-linkall-static.
14941 (tst-linkall-static): Link against static libraries.
14942
14943 2016-10-27 Florian Weimer <fweimer@redhat.com>
14944
14945 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14946 mmaped chunks.
14947
14948 2016-10-28 Florian Weimer <fweimer@redhat.com>
14949
14950 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14951 members to mchunk_prev_size, mchunk_size.
14952 (chunk_main_arena): Reverse sense and rename from
14953 chunk_non_main_arena.
14954 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14955 mchunk_size instead of size.
14956 (set_non_main_arena): Define.
14957 (chunksize): Use chunksize_nomask instead of direct member access.
14958 (chunksize_nomask): Define.
14959 (next_chunk): Use chunksize instead of direct member access.
14960 (prev_size, set_prev_size): Define.
14961 (prev_chunk): Use prev_size instead of direct member access.
14962 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14963 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14964 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14965 (mchunk_prev_size, mchunk_size): Poison tokens.
14966 (unlink): Use chunksize_nomask, prev_size accessors.
14967 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14968 (do_check_free_chunk): Use prev_size accessor.
14969 (sysmalloc): Use set_prev_size, set_head accessors.
14970 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14971 (__libc_free): Use chunksize_nomask accessor.
14972 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14973 chunk_main_arena accessors.
14974 (_int_free): Use chunksize_nomask, prev_size accessors.
14975 (malloc_consolidate): Use chunksize, prev_size accessors.
14976 (_int_realloc): Use chunksize_nomask accessor.
14977 (_int_memalign): Use set_prev_size accessor.
14978 (__malloc_info): Use chunksize_nomask accessor.
14979 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14980 accessors.
14981 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14982 (heap_trim): Use chunksize_nomask, prev_size accessors.
14983
14984 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14985
14986 [BZ #19380]
14987 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14988 for inexact results.
14989 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14990 of inexact result where mpfr_subnormalize is the only inexact
14991 step.
14992 * stdlib/tst-strtod-round-data.h: Regenerated.
14993 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14994 Define to 0.
14995 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14996
14997 2016-10-27 David S. Miller <davem@davemloft.net>
14998
14999 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15000
15001 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15002
15003 * malloc/malloc.c (do_set_mallopt_check): New function.
15004 (do_set_mmap_threshold): Likewise.
15005 (do_set_mmaps_max): Likewise.
15006 (do_set_top_pad): Likewise.
15007 (do_set_perturb_byte): Likewise.
15008 (do_set_trim_threshold): Likewise.
15009 (do_set_arena_max): Likewise.
15010 (do_set_arena_test): Likewise.
15011 (__libc_mallopt): Use them.
15012
15013 2016-10-26 Joseph Myers <joseph@codesourcery.com>
15014
15015 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15016 (canonicalize): New declaration.
15017 * math/Versions (canonicalize): New libm symbol at version
15018 GLIBC_2.25.
15019 (canonicalizef): Likewise.
15020 (canonicalizel): Likewise.
15021 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15022 * math/s_canonicalize_template.c: New file.
15023 * math/libm-test.inc: Update comment on functions tested and
15024 testing of NaN payloads.
15025 (TEST_NAN_PAYLOAD): New macro.
15026 (NO_TEST_INLINE): Update value.
15027 (XFAIL_TEST): Likewise.
15028 (ERRNO_UNCHANGED): Likewise.
15029 (ERRNO_EDOM): Likewise.
15030 (ERRNO_ERANGE): Likewise.
15031 (IGNORE_RESULT): Likewise.
15032 (NON_FINITE): Likewise.
15033 (TEST_SNAN): Likewise.
15034 (NO_TEST_MATHVEC): Likewise.
15035 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15036 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15037 (struct test_Ffp_b1_data): New type.
15038 (RUN_TEST_Ffp_b1): New macro.
15039 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15040 (canonicalize_test_data): New array.
15041 (canonicalize_test): New function.
15042 (main): Call canonicalize_test.
15043 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15044 canonicalizef and canonicalizel.
15045 * manual/libm-err-tab.pl: Update comment on interfaces without
15046 ulps tabulated.
15047 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15048 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15049 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15050 canonicalize.
15051 (CFLAGS-nldbl-canonicalize.c): New variable.
15052 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15053 to ...
15054 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15055 ... here.
15056 (do_test): Also test canonicalizel.
15057 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15058 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15059 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15060 file.
15061 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15062 Use libm_hidden_def.
15063 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15064 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15065 (do_test): Also test canonicalizel.
15066 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15067 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15068 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15069 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15070 libm_hidden_def.
15071 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15072 macro.
15073 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15074 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15075 * sysdeps/nacl/libm.abilist: Update.
15076 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15089 Likewise.
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15091 Likewise.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15093 Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15095 Likewise.
15096 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15102 Likewise.
15103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15104 Likewise.
15105 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15108
15109 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15110 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15111 getpayload.
15112 (CFLAGS-nldbl-getpayload.c): New variable.
15113
15114 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15115
15116 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15117 integer from the format string.
15118
15119 2016-10-26 Florian Weimer <fweimer@redhat.com>
15120
15121 [BZ #19473]
15122 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15123 declarations.
15124 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15125 weak aliases.
15126 * malloc/hooks.c (__malloc_get_state): Remove definition.
15127 (malloc_get_state): New stub implementation as
15128 compatibility symbol.
15129 (malloc_set_state): Rename from __malloc_set_state. Turn into
15130 compat symbol.
15131 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15132 malloc_set_state.
15133 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15134
15135 2016-10-26 Florian Weimer <fweimer@redhat.com>
15136
15137 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15138 (names): Turn into concatenation of strings.
15139 (gconv_init): Adapt iteration over names.
15140
15141 2016-10-26 Florian Weimer <fweimer@redhat.com>
15142
15143 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15144 make const.
15145 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15146 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15147 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15148 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15149 character in sbconv.
15150 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15151 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15152 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15153
15154 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15155
15156 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15157
15158 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15159 (M_TRIM_THRESHOLD): Likewise.
15160
15161 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15162 (M_ARENA_MAX): Likewise.
15163 * malloc/malloc.c: Remove obsolete comment.
15164
15165 * manual/memory.texi: Add environment variable alternatives to
15166 setting mallopt parameters.
15167
15168 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15169
15170 * include/atomic.h
15171 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15172 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15173
15174 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15175
15176 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15177 * stdlib/tst-strfrom.h: New file.
15178 * stdlib/tst-strfrom.c: New file.
15179 * stdlib/tst-strfrom-locale.c: New file.
15180
15181 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15182 * stdlib/bug-strtod2.c: Likewise.
15183 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15184 * stdlib/tst-strtod6.c: Likewise.
15185 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15186
15187 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15188
15189 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15190 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15191 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15192 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15193 * stdlib/stdlib.h (strfromd): New declaration.
15194 (strfromf): Likewise.
15195 (strfroml): Likewise.
15196 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15197 strfrom.
15198 * stdlib/strfromd.c: New file.
15199 * stdlib/strfromf.c: Likewise.
15200 * stdlib/strfroml.c: Likewise.
15201 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15202 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15203 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15204 * sysdeps/arm/nacl/libc.abilist: Update.
15205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15233
15234 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15235
15236 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15237 instead of cmpli.
15238 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15239 instead of cmpli.
15240
15241 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15242
15243 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15244 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15245 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15246 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15247 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15248 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15249
15250 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15251
15252 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15253 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15254 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15255 SYSCALL_LL64_PRW.
15256 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15257 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15258 __ASSUME_PRW_DUMMY_ARG.
15259 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15260 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15261 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15262 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15263 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15264 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15265
15266 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15267
15268 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15269
15270 2016-10-22 Florian Weimer <fweimer@redhat.com>
15271
15272 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15273 "C++", to override a potential extern "C" directive around the
15274 header file inclusion.
15275
15276 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15277
15278 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15279
15280 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15281
15282 * sysdeps/powerpc/fpu/fenv_private.h:
15283 (_FPU_MASK_ALL): Rename to...
15284 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15285 XE FPSCR bits.
15286
15287 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15288
15289 (_FPU_MASK_ROUNDING): Rename to...
15290 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15291 NI bits.
15292
15293 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15294 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15295 bits and rounding bits.
15296
15297 (__libc_feholdbits_ppc): New inline function to mask, set,
15298 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15299 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15300 (libc_feholdexcept_setround_ppc): Likewise.
15301
15302 (__libc_femergeenv_ppc): New function to dynamically mask both
15303 old and new FP environments and merge.
15304 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15305 (libc_feresetround_ppc): Likewise.
15306 (libc_feupdateenv_test_ppc): Likewise.
15307 (libc_feupdateenv_ppc): Likewise.
15308
15309 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15310 of ISA RN bits, and update macro names.
15311 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15312 effectively the same as the previously mentioned function.
15313
15314 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15315 usage with fe_resetround_ppc.
15316
15317 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15318 to be used.
15319 (libc_feholdexcept_setround_ctxf): Likewise.
15320 (libc_feholdexcept_setround_ctxl): Likewise.
15321
15322 2016-10-21 Florian Weimer <fweimer@redhat.com>
15323
15324 [BZ #20715]
15325 * math/math.h [__cplusplus] (iszero): Define as function template.
15326 * math/Makefile [CXX] (tests): Add test-math-iszero.
15327 (CFLAGS-test-math-iszero.cc): Set.
15328 * math/test-math-iszero.cc: New file.
15329
15330 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #20660]
15333 * sysdeps/arm/e_sqrt.c: New file.
15334 * sysdeps/arm/e_sqrtf.c: Likewise.
15335
15336 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15337
15338 [BZ #20718]
15339 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15340 not use floating-point comparisons to test sign.
15341 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15342 Likewise.
15343
15344 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15345 (getpayload): New declaration.
15346 * math/Versions (getpayload): New libm symbol at version
15347 GLIBC_2.25.
15348 (getpayloadf): Likewise.
15349 (getpayloadl): Likewise.
15350 * math/Makefile (libm-calls): Add s_getpayloadF.
15351 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15352 (struct test_f_f_data): Add comment.
15353 (RUN_TEST_fp_f): New macro.
15354 (RUN_TEST_LOOP_fp_f): Likewise.
15355 (getpayload_test_data): New array.
15356 (getpayload_test): New function.
15357 (main): Call getpayload_test.
15358 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15359 descriptor.
15360 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15361 getpayloadf and getpayloadl.
15362 * manual/libm-err-tab.pl: Update comment on interfaces without
15363 ulps tabulated.
15364 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15365 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15366 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15370 * sysdeps/nacl/libm.abilist: Update.
15371 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15384 Likewise.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15386 Likewise.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15388 Likewise.
15389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15390 Likewise.
15391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15397 Likewise.
15398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15399 Likewise.
15400 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15403
15404 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15405
15406 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15407 tst-fallocate{64}.
15408 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15409 on syscall return.
15410
15411 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15412
15413 [BZ #20689]
15414 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15415 usable.
15416
15417 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15418
15419 * sysdeps/generic/nan-high-order-bit.h: New file.
15420 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15421 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15422 * sysdeps/hppa/math_private.h: Remove file.
15423 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15424 not define here.
15425 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15426 <nan-high-order-bit.h>.
15427 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15428 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15429 <nan-high-order-bit.h>.
15430 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15431 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15432 <nan-high-order-bit.h>.
15433 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15434 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15435 <nan-high-order-bit.h>.
15436 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15437 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15438 <nan-high-order-bit.h>.
15439 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15440 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15441 <nan-high-order-bit.h>.
15442 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15443 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15444 <nan-high-order-bit.h>.
15445 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15446 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15447 <nan-high-order-bit.h>.
15448 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15449 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15450 <nan-high-order-bit.h>.
15451 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15452 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15453 <nan-high-order-bit.h>.
15454 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15455 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15456 <nan-high-order-bit.h>.
15457 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15458 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15459 <nan-high-order-bit.h>.
15460 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15461 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15462 <nan-high-order-bit.h>.
15463 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15464 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15465 <nan-high-order-bit.h>.
15466 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15467 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15468 <nan-high-order-bit.h>.
15469 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15470 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15471 <nan-high-order-bit.h>.
15472 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15473 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15474 <nan-high-order-bit.h>.
15475 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15476 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15477 <nan-high-order-bit.h>.
15478 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15479
15480 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15481
15482 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15483
15484 2016-09-22 John David Anglin <dave.anglin@bell.net>
15485
15486 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15487 abort-instr.h.
15488 (EFAULT): Remove conditional define.
15489 (ENOSYS): Likewise.
15490 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15491 instead of conditional branch instructions.
15492
15493 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15494
15495 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15496 (totalordermag): New declaration.
15497 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15498 New macro.
15499 * math/Versions (totalordermag): New libm symbol at version
15500 GLIBC_2.25.
15501 (totalordermagf): Likewise.
15502 (totalordermagl): Likewise.
15503 * math/Makefile (libm-calls): Add s_totalordermagF.
15504 * math/libm-test.inc (totalordermag_test_data): New array.
15505 (totalordermag_test): New function.
15506 (main): Call totalordermag_test.
15507 * math/test-tgmath.c (NCALLS): Increase to 125.
15508 (F(compile_test)): Call totalordermag.
15509 (F(totalordermag)): New function.
15510 * manual/arith.texi (FP Comparison Functions): Document
15511 totalordermag, totalordermagf and totalordermagl.
15512 * manual/libm-err-tab.pl: Update comment on interfaces without
15513 ulps tabulated.
15514 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15515 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15516 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15521 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15522 totalordermag.
15523 (CFLAGS-nldbl-totalordermag.c): New variable.
15524 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15525 (do_test): Also test totalordermagl.
15526 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15527 Likewise.
15528 * sysdeps/nacl/libm.abilist: Update.
15529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15542 Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15544 Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15546 Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15548 Likewise.
15549 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15555 Likewise.
15556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15557 Likewise.
15558 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15561
15562 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15563
15564 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15565 boolean.
15566
15567 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15568
15569 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15570 raising FE_INVALID with feraisexcept in case where part of
15571 argument is infinite, subtract that part of argument from itself.
15572 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15573 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15574 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15575
15576 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15577
15578 * math/libm-test.inc (totalorder_test_data): Add more tests.
15579
15580 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15581
15582 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15583 Undefine weak_alias and add a comment why mips64 require
15584 versioning.
15585
15586 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15587
15588 [BZ #20647]
15589 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15590 maximum CPUID level is less than 2.
15591
15592 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15593
15594 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15595 (totalorder): New declaration.
15596 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15597 New macro.
15598 * math/Versions (totalorder): New libm symbol at version
15599 GLIBC_2.25.
15600 (totalorderf): Likewise.
15601 (totalorderl): Likewise.
15602 * math/Makefile (libm-calls): Add s_totalorderF.
15603 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15604 string.
15605 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15606 (qnan_value_pl): Likewise.
15607 (snan_value_pl): Likewise.
15608 (qnan_value): Define using qnan_value_pl.
15609 (snan_value): Define using snan_value_pl.
15610 (struct test_ff_i_data): Add comment about which tests use this
15611 structure.
15612 (RUN_TEST_ff_b): New macro.
15613 (RUN_TEST_LOOP_ff_b): Likewise.
15614 (totalorder_test_data): New array.
15615 (totalorder_test): New function.
15616 (main): Call totalorder_test.
15617 * math/test-tgmath.c (NCALLS): Increase to 122.
15618 (F(compile_test)): Call totalorder.
15619 (F(totalorder)): New function.
15620 * manual/arith.texi (FP Comparison Functions): Document
15621 totalorder, totalorderf and totalorderl.
15622 * manual/libm-err-tab.pl: Update comment on interfaces without
15623 ulps tabulated.
15624 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15625 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15627 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15631 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15632 totalorder.
15633 (CFLAGS-nldbl-totalorder.c): New variable.
15634 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15635 file.
15636 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15637 Add test-totalorderl-ldbl-128ibm.
15638 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15639 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15640 test-totalorderl-ldbl-96.
15641 * sysdeps/nacl/libm.abilist: Update.
15642 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15643 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15644 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15651 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15652 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15653 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15655 Likewise.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15657 Likewise.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15659 Likewise.
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15661 Likewise.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15668 Likewise.
15669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15670 Likewise.
15671 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15672 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15673 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15674
15675 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15676
15677 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15678 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15679 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15680 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15681 remove ENOSYS implementation.
15682 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15683 Consolidate all Linux implementations.
15684
15685 2016-10-11 Florian Weimer <fweimer@redhat.com>
15686
15687 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15688 * resolv/herror.c (herror): Cast away const-ness.
15689 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15690 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15691
15692 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15693
15694 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15695 instead of M_NAN + M_NAN.
15696 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15697
15698 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15699
15700 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15701 unused variable 'p'.
15702
15703 2016-10-09 Alan Modra <amodra@gmail.com>
15704 Andreas Schwab <schwab@linux-m68k.org>
15705
15706 [BZ #20554]
15707 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15708 [PIC && !SHARED]: Set up PIC register for PLT call.
15709
15710 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15711
15712 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15713 conditional on value of [__FLT_EVAL_METHOD__].
15714 * math/test-iseqsig-excess-precision.c: New file.
15715 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15716
15717 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15718
15719 * math/s_iseqsig_template.c: Include math-private.h.
15720
15721 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15722 * posix/tst-posix_fadvise.c: New file.
15723 * posix/tst-posix_fadvise64.c: Likewise.
15724 * posix/tst-posix_fadvise-common.c: Likewise.
15725 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15726 (__ASSUME_FADVISE64_64_6ARG): Define.
15727 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15728 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15729 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15730 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15731 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15732 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15733 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15734 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15735 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15736 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15737 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15738 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15741 Likewise.
15742 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15743 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15744 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15745 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15746 Alias to __posix_fadvise64_l32.
15747 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15748 Add compat definition to posix_fadvise64.
15749 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15750 Add versioned definition to posix_fadvise64.
15751 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15752 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15753 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15754 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15755 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15756
15757 * io/Makefile (tests): Add tst-posix_fallocate and
15758 tst-posix_fallocate64.
15759 * io/tst-posix_fallocate-common.c: New file.
15760 * io/tst-posix_fallocate.c: Likewise.
15761 * io/tst-posix_fallocate64.c: Likewise.
15762 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15763 file.
15764 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15765 Likewise.
15766 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15767 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15768 Likewise.
15769 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15770 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15771 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15772 SYSCALL_LL to pass both offset and len arguments.
15773 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15774 Likewise.
15775 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15776 __libc_pwrite64 alias used by posix_fallocate64.
15777
15778 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15779 tst-fallocate64.
15780 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15781 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15782 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15783 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15784 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15785 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15786 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15787 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15788 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15789 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15790 macro on offset argument.
15791 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15792 SYSCALL_LL64 on offset argument.
15793
15794 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15795 tst-fallocate64.
15796 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15797 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15798 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15799 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15800 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15801 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15802 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15803 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15804 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15805 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15806 macro on offset argument.
15807 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15808 SYSCALL_LL64 on offset argument.
15809 * test-skeleton.c (FAIL_RET): Add macro.
15810 (FAIL_EXIT): Likewise.
15811 (FAIL_EXIT1): Likewise.
15812 (_FAIL): Likewise.
15813
15814 2016-10-07 Florian Weimer <fweimer@redhat.com>
15815
15816 [BZ #20629]
15817 resolv: Remove RES_USEBSTRING and its implementation.
15818 * resolv/resolv.h (RES_USEBSTRING): Remove.
15819 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15820 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15821 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15822 (labellen): Remove extended label types support.
15823 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15824 * resolv/res_init.c (res_setoptions): Likewise.
15825 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15826
15827 2016-10-07 Florian Weimer <fweimer@redhat.com>
15828
15829 resolv: Remove RES_NOIP6DOTINT and its implementation.
15830 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15831 (RES_NOIP6DOTINT): Remove.
15832 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15833 handling.
15834 * resolv/res_debug.c (p_option): Likewise.
15835 * resolv/res_init.c (res_setoptions): Likewise.
15836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15837
15838 2016-10-07 Florian Weimer <fweimer@redhat.com>
15839
15840 resolv: Deprecate unimplemented flags.
15841 * misc/sys/cdefs.h (__glibc_macro_warning1)
15842 (__glibc_macro_warning): Define.
15843 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15844 (RES_KEEPTSIG): Mark as deprecated.
15845 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15846 RES_NOCHECKNAME, RES_KEEPTSIG.
15847 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15848
15849 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15850
15851 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15852 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15853 Use strong_alias to create symbols for glibc verison 2.19.
15854
15855 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15856
15857 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15858
15859 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15860
15861 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15862
15863 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15864
15865 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15866
15867 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15868
15869 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15870 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15871 in header for using it as type for ifunc function because __GI_* symbols
15872 for ppc32 do not target the ifunc symbols.
15873 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15874
15875 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15876
15877 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15878 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15879 libc_ifunc_hidden_def.
15880 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15881 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15882 Redirect ifunced function in header for using it as type of ifunc'ed
15883 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15884 function for __GI_* symbol.
15885 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15886 * include/libc-symbols.h
15887 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15888
15889 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15890
15891 [BZ #20478]
15892 * sysdeps/s390/multiarch/ifunc-resolve.h
15893 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15894 to create ifunc symbols.
15895 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15896 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15897 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15898 for using it as type for ifunc function.
15899 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15900 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15901 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15902 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15903 * sysdeps/s390/multiarch/strcat.c: Likewise.
15904 * sysdeps/s390/multiarch/strchr.c: Likewise.
15905 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15906 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15907 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15908 * sysdeps/s390/multiarch/strlen.c: Likewise.
15909 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15910 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15911 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15912 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15913 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15914 * sysdeps/s390/multiarch/strspn.c: Likewise.
15915 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15916 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15917 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15918 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15919 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15920 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15921 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15922 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15923 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15924 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15925 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15926 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15927
15928 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15929
15930 * include/libc-symbols.h (__ifunc_resolver):
15931 New macro is used by __ifunc* macros.
15932 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15933 depending on HAVE_GCC_IFUNC.
15934 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15935 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15937 Redirect ifunced function in header for using as type for ifunc function.
15938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15944 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15945 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15946 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15948 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15949 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15951 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15957 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15958 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15960 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15961 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15962 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15963 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15964 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15965 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15966 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15967 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15968 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15969 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15970 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15972 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15973 instead of libc_ifunc() macro.
15974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15975 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15976
15977 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15978
15979 * config.h.in (HAVE_GCC_IFUNC): New undef.
15980 * configure.ac: Add check if gcc supports attribute ifunc feature.
15981 * configure: Regenerated.
15982 * manual/install.texi: Add recommendation for gcc with
15983 indirect-function support.
15984 * INSTALL: Regenerated.
15985
15986 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15987
15988 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15989 macro.
15990 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15991 (__iseqsig): New declaration.
15992 * math/s_iseqsig_template.c: New file.
15993 * math/Versions (__iseqsigf): New libm symbol at version
15994 GLIBC_2.25.
15995 (__iseqsig): Likewise.
15996 (__iseqsigl): Likewise.
15997 * math/libm-test.inc (iseqsig_test_data): New array.
15998 (iseqsig_test): New function.
15999 (main): Call iseqsig_test.
16000 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16001 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16002 * manual/libm-err-tab.pl: Update comment on interfaces without
16003 ulps tabulated.
16004 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16005 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16006 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16007 * sysdeps/nacl/libm.abilist: Update.
16008 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16021 Likewise.
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16023 Likewise.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16025 Likewise.
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16027 Likewise.
16028 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16034 Likewise.
16035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16036 Likewise.
16037 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16040
16041 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16042
16043 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16044 do_sincos_2, sloww, sloww1): Update comments.
16045
16046 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16047 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16048
16049 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16050 K boolean and rename it.
16051 (__sin): Adjust.
16052 (__cos): Adjust.
16053
16054 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16055 Siddhesh Poyarekar <siddhesh@sourceware.org>
16056
16057 * manual/nss.texi: Fix typos in the manual.
16058
16059 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16060
16061 * manual/contrib.texi: Fix typos in the manual.
16062
16063 * manual/maint.texi: Fix typos in the manual.
16064
16065 * manual/install.texi: Fix typos in the manual.
16066 * INSTALL: Regenerated.
16067
16068 * manual/lang.texi: Fix typos in the manual.
16069
16070 * manual/probes.texi: Fix typos in the manual.
16071
16072 * manual/threads.texi: Fix typos in the manual.
16073
16074 * manual/debug.texi: Fix typos in the manual.
16075
16076 * manual/crypt.texi: Fix typos in the manual.
16077
16078 * manual/conf.texi: Fix typos in the manual.
16079
16080 * manual/sysinfo.texi: Fix typos in the manual.
16081
16082 * manual/users.texi: Fix typos in the manual.
16083
16084 * manual/job.texi: Fix typos in the manual.
16085
16086 * manual/process.texi: Fix typos in the manual.
16087
16088 * manual/argp.texi: Fix typos in the manual.
16089 * manual/getopt.texi: Likewise.
16090 * manual/startup.texi: Likewise.
16091
16092 * manual/signal.texi: Fix typos in the manual.
16093
16094 * manual/setjmp.texi: Fix typos in the manual.
16095
16096 * manual/resource.texi: Fix typos in the manual.
16097
16098 * manual/time.texi: Fix typos in the manual.
16099
16100 * manual/arith.texi: Fix typos in the manual.
16101
16102 * manual/math.texi: Fix typos in the manual.
16103
16104 * manual/syslog.texi: Fix typos in the manual.
16105
16106 * manual/terminal.texi: Fix typos in the manual.
16107
16108 * manual/socket.texi: Fix typos in the manual.
16109
16110 * manual/filesys.texi: Fix typos in the manual.
16111
16112 * manual/llio.texi: Fix typos in the manual.
16113
16114 * manual/stdio.text: Fix typos in the manual.
16115
16116 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16117
16118 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16119 instead of K1.
16120
16121 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16122 SHIFT_QUADRANT and make it bool.
16123 (do_sincos_2): Likewise.
16124 (sloww): Likewise.
16125 (sloww1): Likewise.
16126 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16127 (__cos): Likewise.
16128
16129 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16130
16131 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16132
16133 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16134
16135 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16136 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16137 0x7fffffffL].
16138 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16139
16140 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16141
16142 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16143 inline by __inline__.
16144 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16145 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16146 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16147 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16148 sigset_t from signal.h.
16149 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16150 which is already required.
16151
16152 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16153
16154 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16155
16156 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16157
16158 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16159 (struct tcp_repair_window): New type.
16160
16161 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16162
16163 * libio/tst-memstream3.c: Include string.h.
16164
16165 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16166
16167 [BZ #18241]
16168 [BZ #20181]
16169 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16170 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16171 write position is at the end the buffer.
16172 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16173 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16174 (_IO_str_seekoff): Set correct offset from negative displacement and
16175 set EINVAL for invalid ones.
16176 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16177 buffer length.
16178 (_IO_wstr_switch_to_get_mode): New function.
16179 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16180 set EINVAL for invalid ones.
16181 * libio/tst-memstream3.c: New file.
16182 * libio/tst-wmemstream3.c: Likewise.
16183 * manual/examples/memstrm.c: Remove warning when priting size_t.
16184
16185 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16186
16187 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16188 macro to use __builtin_fma.
16189 * sysdeps/x86_64/fpu/dla.h: Remove file.
16190
16191 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16192 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16193 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16194
16195 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16196
16197 [BZ #20292]
16198 * elf/Makefile (routines): Add dl-addr-obj.
16199 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16200 tst-_dl_addr_inside_object.
16201 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16202 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16203 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16204 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16205 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16206 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16207 * elf/dl-open.c: Likewise.
16208 * elf/dl-addr-obj.c: New file.
16209 * elf/tst-_dl_addr_inside_object.c: New file.
16210
16211 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16212
16213 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16214 <bits/iscanonical.h>.
16215 * bits/iscanonical.h: New file.
16216 * math/s_iscanonicall.c: Likewise.
16217 * math/Versions (__iscanonicall): New libm symbol at version
16218 GLIBC_2.25.
16219 * math/libm-test.inc (iscanonical_test_data): New array.
16220 (iscanonical_test): New function.
16221 (main): Call iscanonical_test.
16222 * math/Makefile (headers): Add bits/iscanonical.h.
16223 (type-ldouble-routines): Add s_iscanonicall.
16224 * manual/arith.texi (Floating Point Classes): Document
16225 iscanonical.
16226 * manual/libm-err-tab.pl: Update comment on interfaces without
16227 ulps tabulated.
16228 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16229 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16230 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16231 Likewise.
16232 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16233 test-iscanonical-ldbl-128ibm.
16234 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16235 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16236 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16237 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16242 Likewise.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16244 Likewise.
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16246 Likewise.
16247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16248 Likewise.
16249 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16251
16252 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16253
16254 * string/bits/string3.h: Remove C++ style comments.
16255
16256 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16257
16258 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16259 instead of ternary condition.
16260 (do_sincos_2): Likewise.
16261 (__sin): Likewise.
16262 (__cos): Likewise.
16263 (slow): Likewise.
16264 (sloww): Likewise.
16265 (sloww1): Likewise.
16266 (bsloww): Likewise.
16267 (bsloww1): Likewise.
16268
16269 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16270 instead of ternary condition.
16271 (do_sin_slow): Likewise.
16272 (do_sincos_1): Likewise.
16273 (do_sincos_2): Likewise.
16274 (__cos): Likewise.
16275 (sloww): Likewise.
16276 (sloww1): Likewise.
16277 (sloww2): Likewise.
16278 (bsloww): Likewise.
16279 (bsloww1): Likewise.
16280 (bsloww2): Likewise.
16281
16282 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16283 check from here...
16284 (slow2): ... and here...
16285 (__sin): ... to here.
16286
16287 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16288
16289 * math/math.h
16290 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16291 Cast argument to its own type.
16292 * math/test-iszero-excess-precision.c: New file.
16293 * math/Makefile (tests): Add test-iszero-excess-precision.
16294 (CFLAGS-test-iszero-excess-precision.c): New variable.
16295
16296 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16297
16298 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16299 field, add err field.
16300 (__spawni_child): Report error through err member instead of pipe.
16301 (__spawnix): Likewise.
16302
16303 2016-09-28 Zack Weinberg <zackw@panix.com>
16304
16305 * scripts/check-installed-headers.sh: Generalize treatment of
16306 sys/elf.h to all target architectures.
16307
16308 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16309 deleted typedef ucontext_t.
16310
16311 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16312
16313 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16314 (__INTERNAL_SYSCALL1): Likewise.
16315 (__INTERNAL_SYSCALL2): Likewise.
16316 (__INTERNAL_SYSCALL3): Likewise.
16317 (__INTERNAL_SYSCALL4): Likewise.
16318 (__INTERNAL_SYSCALL5): Likewise.
16319 (__INTERNAL_SYSCALL6): Likewise.
16320 (__INTERNAL_SYSCALL7): Likewise.
16321 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16322 (__INTERNAL_SYSCALL_NARGS): Likewise.
16323 (__INTERNAL_SYSCALL_DISP): Likewise.
16324 (INTERNAL_SYSCALL_CALL): Likewise.
16325 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16326 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16327 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16328 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16329 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16330 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16331 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16332 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16333 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16334 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16335 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16336 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16337 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16338
16339 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16340
16341 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16342 macro.
16343 * math/libm-test.inc (iszero_test_data): New array.
16344 (iszero_test): New function.
16345 (main): Call iszero_test.
16346 * manual/arith.texi (Floating Point Classes): Document iszero.
16347 * manual/libm-err-tab.pl: Update comment on interfaces without
16348 ulps tabulated.
16349
16350 2016-09-23 Zack Weinberg <zackw@panix.com>
16351
16352 * scripts/check-installed-headers.sh: New script.
16353 * Rules: In each directory that defines header files to be installed,
16354 run check-installed-headers.sh on them as a special test.
16355 * Makefile: Likewise for the headers installed at top level.
16356
16357 * include/aliases.h, include/alloca.h, include/argz.h
16358 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16359 * include/elf.h, include/envz.h, include/err.h
16360 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16361 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16362 * include/link.h, include/malloc.h, include/mcheck.h
16363 * include/mntent.h, include/netinet/ether.h
16364 * include/nss.h, include/obstack.h, include/printf.h
16365 * include/pty.h, include/resolv.h, include/rpc/auth.h
16366 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16367 * include/rpc/clnt.h, include/rpc/des_crypt.h
16368 * include/rpc/key_prot.h, include/rpc/netdb.h
16369 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16370 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16371 * include/rpc/rpc_msg.h, include/rpc/svc.h
16372 * include/rpc/svc_auth.h, include/rpc/xdr.h
16373 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16374 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16375 * include/rpcsvc/ypupd.h, include/shadow.h
16376 * include/stdio_ext.h, include/sys/epoll.h
16377 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16378 * include/sys/prctl.h, include/sys/profil.h
16379 * include/sys/statfs.h, include/sys/sysctl.h
16380 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16381 * sysdeps/arm/nacl/include/bits/setjmp.h
16382 * sysdeps/mips/include/sys/asm.h
16383 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16384 * sysdeps/unix/sysv/linux/include/sys/timex.h
16385 * sysdeps/x86/fpu/include/bits/fenv.h:
16386 Add #ifndef _ISOMAC guard around internal declarations.
16387 Add multiple-inclusion guard if not already present.
16388
16389 2016-09-23 Zack Weinberg <zackw@panix.com>
16390
16391 * sysdeps/generic/sys/ucontext.h
16392 * sysdeps/arm/sys/ucontext.h
16393 * sysdeps/i386/sys/ucontext.h
16394 * sysdeps/m68k/sys/ucontext.h
16395 * sysdeps/mips/sys/ucontext.h
16396 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16397 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16398 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16399 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16400 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16401 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16402 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16403 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16404 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16406 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16407 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16408 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16409 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16410 Include both bits/sigcontext.h and bits/sigstack.h.
16411 Fix grammar error in comment, if present.
16412
16413 * bits/sigstack.h
16414 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16415 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16416 * sysdeps/unix/sysv/linux/bits/sigstack.h
16417 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16418 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16419 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16420 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16421 * bits/sigcontext.h
16422 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16423 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16424 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16425 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16426 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16427 as well as signal.h, if this was not already allowed. Request
16428 definition of size_t if necessary. Minimize semantically-null
16429 differences across files.
16430
16431 2016-09-23 Zack Weinberg <zackw@panix.com>
16432
16433 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16434 Remove all logic conditional on __need macros. Move all the
16435 conditionally defined types to their own headers...
16436 * time/bits/types/clock_t.h: Define clock_t here.
16437 * time/bits/types/clockid_t.h: Define clockid_t here.
16438 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16439 * time/bits/types/struct_timespec.h: Define struct timespec here.
16440 * time/bits/types/struct_timeval.h: Define struct timeval here.
16441 * time/bits/types/struct_tm.h: Define struct tm here.
16442 * time/bits/types/time_t.h: Define time_t here.
16443 * time/bits/types/timer_t.h: Define timer_t here.
16444 * time/Makefile: Install the new headers.
16445
16446 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16447 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16448 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16449 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16450 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16451 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16452 * sysdeps/unix/sysv/linux/bits/resource.h
16453 * sysdeps/unix/sysv/linux/bits/timex.h
16454 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16455 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16456 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16457 * sysdeps/unix/sysv/linux/sys/acct.h
16458 * sysdeps/unix/sysv/linux/sys/timerfd.h
16459 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16460 * time/sys/time.h, time/sys/timeb.h
16461 Use the new bits/types headers.
16462
16463 * include/time.h: Remove __need logic.
16464 * include/bits/time.h
16465 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16466 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16467 * include/bits/types/struct_itimerspec.h
16468 * include/bits/types/struct_timespec.h
16469 * include/bits/types/struct_timeval.h
16470 * include/bits/types/struct_tm.h:
16471 New wrapper headers.
16472
16473 2016-09-23 Zack Weinberg <zackw@panix.com>
16474
16475 * sysdeps/mach/hurd/net/if_ppp.h
16476 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16477 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16478 if __USE_MISC is defined, to ensure struct ifreq is declared.
16479
16480 * inet/netinet/ether.h: Condition all function prototypes
16481 on __USE_MISC, to ensure struct ether_addr is declared.
16482
16483 * socket/bits/types/struct_osockaddr.h: New header.
16484 * include/bits/types/struct_osockaddr.h: New wrapper.
16485 * socket/Makefile: Install the new header.
16486 * socket/sys/socket.h, inet/protocols/talkd.h:
16487 Refer to bits/types/struct_osockaddr.h for the definition of
16488 struct osockaddr.
16489
16490 2016-09-23 Zack Weinberg <zackw@panix.com>
16491
16492 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16493 * inet/protocols/routed.h, inet/protocols/talkd.h
16494 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16495 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16496 * sysdeps/generic/netinet/if_ether.h
16497 * sysdeps/generic/netinet/in_systm.h
16498 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16499 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16500 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16501 * sysdeps/mach/hurd/net/if_arp.h
16502 * sysdeps/mach/hurd/net/if_ppp.h
16503 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16504 * sysdeps/unix/sysv/linux/bits/in.h
16505 * sysdeps/unix/sysv/linux/net/ethernet.h
16506 * sysdeps/unix/sysv/linux/net/if_arp.h
16507 * sysdeps/unix/sysv/linux/net/if_ppp.h
16508 * sysdeps/unix/sysv/linux/net/if_shaper.h
16509 * sysdeps/unix/sysv/linux/net/route.h
16510 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16511 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16512 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16513 * sysdeps/unix/sysv/linux/netipx/ipx.h
16514 * sysdeps/unix/sysv/linux/sys/acct.h
16515 * include/arpa/nameser.h, include/resolv.h:
16516 Change all uses of u_char to unsigned char,
16517 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16518 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16519 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16520 and u_int64_t and u_quad_t to uint64_t.
16521
16522 * mach/sys/reboot.h: Remove two casts of integer literals
16523 to the types they already have.
16524
16525 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16526 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16527 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16528 from referring to 'unsigned char' to 'uint8_t' for consistency with
16529 the macro definition below.
16530
16531 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16532 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16533 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16534 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16535 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16536 * sysdeps/unix/sysv/linux/sys/acct.h
16537 * include/arpa/nameser.h, include/resolv.h:
16538 Fix indentation disrupted by mechanical edits.
16539
16540 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16541 * sysdeps/generic/netinet/in_systm.h
16542 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16543 * sysdeps/gnu/netinet/udp.h
16544 * sysdeps/unix/sysv/linux/net/ethernet.h
16545 * sysdeps/unix/sysv/linux/net/if_arp.h
16546 * sysdeps/unix/sysv/linux/net/if_ppp.h
16547 * sysdeps/unix/sysv/linux/net/if_shaper.h
16548 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16549 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16550 * sysdeps/unix/sysv/linux/netipx/ipx.h
16551 * sysdeps/unix/sysv/linux/sys/acct.h
16552 Include stdint.h for uintNN_t definitions.
16553 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16554
16555 2016-09-23 Zack Weinberg <zackw@panix.com>
16556
16557 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16558 * sysdeps/unix/sysv/linux/netrose/rose.h:
16559 Include sys/socket.h and netax25/ax25.h.
16560
16561 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16562 * resolv/arpa/nameser_compat.h:
16563 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16564
16565 * sysdeps/unix/sysv/linux/sys/quota.h:
16566 Use __caddr_t instead of caddr_t.
16567 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16568 Use __clockid_t instead of clockid_t.
16569
16570 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16571
16572 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16573 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16574 expanding it.
16575
16576 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16577 Define __glibc_c99_flexarr_available to 1 when the compiler
16578 supports C99-compatible flexible array members, 0 otherwise.
16579 * sysdeps/unix/sysv/linux/bits/socket.h
16580 * sysdeps/mach/hurd/bits/socket.h
16581 * bits/socket.h: Use __glibc_c99_flexarr_available in
16582 definitions of struct cmsghdr and CMSG_DATA.
16583
16584 2016-09-23 Florian Weimer <fweimer@redhat.com>
16585
16586 * manual/nss.texi (NSS Modules Interface): Adjust function return
16587 type to enum nss_status. Document errnop argument. Clarify
16588 h_errnop semantics. Fix cross-reference formatting.
16589 (NSS Module Function Internals): Mention that *errnop needs to be
16590 set on failure, but not to zero.
16591
16592 2016-09-23 Florian Weimer <fweimer@redhat.com>
16593
16594 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16595 (get_random_name): New functions.
16596 (check_wrapper_flags_mode): Use linkat to give the new file a name
16597 determined by get_random_name.
16598 (do_test): Add calls to test open64 and openat64.
16599
16600 2016-09-23 Florian Weimer <fweimer@redhat.com>
16601
16602 * test-skeleton.c: Remove #include <stdarg.h>.
16603
16604 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16605
16606 [BZ #19826]
16607 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16608 initialization of static TLS entries.
16609 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16610 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16611
16612 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16613
16614 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16615 _hurd_malloc_fork_prepare.
16616 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16617 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16618 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16619 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16620 (_hurd_fork_child_hook): Drop malloc_fork_child.
16621 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16622 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16623 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16624 after locking locks (notably hurd_dtable_lock). Call
16625 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16626 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16627 __malloc_fork_unlock_child.
16628 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16629
16630 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16631
16632 * soft-fp/extendhftf2.c: New.
16633 * soft-fp/fixhfti.c: Likewise.
16634 * soft-fp/fixunshfti.c: Likewise.
16635 * soft-fp/floattihf.c: Likewise.
16636 * soft-fp/floatuntihf.c: Likewise.
16637 * soft-fp/half.h: Likewise.
16638 * soft-fp/trunctfhf2.c: Likewise.
16639
16640 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16641
16642 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16643 macro.
16644 * math/libm-test.inc (issubnormal_test_data): New array.
16645 (issubnormal_test): New function.
16646 * manual/arith.texi (Floating Point Classes): Document
16647 issubnormal.
16648 * manual/libm-err-tab.pl: Update comment on interfaces without
16649 ulps tabulated.
16650
16651 * sysdeps/generic/stdint.h: Define
16652 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16653 <bits/libc-header-start.h> instead of including <features.h>.
16654 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16655 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16656 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16657 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16658 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16659 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16660 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16661 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16662 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16663 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16664 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16665 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16666 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16667 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16668 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16669 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16670 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16671 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16672 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16673 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16674 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16675 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16676 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16677 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16678 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16679 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16680 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16681 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16682 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16683 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16684 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16685 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16686 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16687 * manual/arith.texi (Integers): Document these macros for types
16688 specified by width properties.
16689 * manual/lang.texi (Width of Type): Document these macros for
16690 other standard typedefs.
16691 * stdlib/tst-width-stdint.c: New file.
16692 * stdlib/Makefile (tests): Add tst-width-stdint.
16693
16694 2016-09-21 Florian Weimer <fweimer@redhat.com>
16695
16696 [BZ #20016]
16697 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16698 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16699 Move ...
16700 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16701 ... here, as compatibility symbols in a new file.
16702 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16703 * resolv/res_init.c (__res_vinit): Adjust member names.
16704 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16705 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16706 (res_send_rhook): Remove.
16707 (struct __res_state): Rename qhook, rhook members.
16708
16709 2016-09-21 Florian Weimer <fweimer@redhat.com>
16710
16711 malloc: Use __libc_lock wrappers.
16712 * malloc/arena.c (list_lock, free_list_lock): Define using
16713 __libc_lock_define_initialized.
16714 (arena_lock): Adjust formatting.
16715 * malloc/malloc.c (struct malloc_state): Define mutex using
16716 __libc_lock_define.
16717 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16718 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16719 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16720 (mutex_unlock, mutex_trylock): Remove.
16721 (__pthread_initialize): Remove unused macro.
16722 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16723 (mutex_unlock, mutex_trylock): Remove.
16724
16725 2016-09-21 Florian Weimer <fweimer@redhat.com>
16726
16727 [BZ #20592]
16728 Remove RR type classification macros.
16729 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16730 (ns_t_udp_p, ns_t_xfr_p): Remove.
16731
16732 2016-09-21 Florian Weimer <fweimer@redhat.com>
16733
16734 Remove misleading version information.
16735 * resolv/arpa/nameser.h (__NAMESER): Remove.
16736 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16737
16738 2016-09-21 Florian Weimer <fweimer@redhat.com>
16739
16740 Remove the always-defined BIND_4_COMPAT macro.
16741 * resolv/arpa/nameser.h: Unconditionally include
16742 <arpa/nameser_compat.h>.
16743 (BIND_4_COMPAT): Remove.
16744 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16745
16746 2016-09-21 Florian Weimer <fweimer@redhat.com>
16747
16748 [BZ #20591]
16749 Remove obsolete DNSSEC support.
16750 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16751 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16752 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16753 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16754 (ns_cert_types): Add comment.
16755 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16756 separately.
16757 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16758 (dst_s_dns_key_id): Remove.
16759 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16760 variables.
16761
16762 2016-09-21 Florian Weimer <fweimer@redhat.com>
16763
16764 [BZ #20524]
16765 * manual/string.texi (String/Array Comparison): Clarify the
16766 strverscmp behavior.
16767
16768 2016-09-21 Florian Weimer <fweimer@redhat.com>
16769
16770 * test-skeleton.c (xasprintf): Add function.
16771 * io/tst-open-tmpfile.c: New test.
16772 * io/Makefile (tests): Add it.
16773
16774 2016-09-21 Florian Weimer <fweimer@redhat.com>
16775
16776 Avoid running $(CXX) during build to obtain header file paths.
16777 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16778 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16779 * Makerules (cstdlib, cmath): Remove variables. Use
16780 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16781 * configure: Regenerate.
16782
16783 2016-09-21 Florian Weimer <fweimer@redhat.com>
16784
16785 * Makeconfig (all-object-suffixes): Include .op only if
16786 $(build-profile).
16787
16788 2016-09-21 Florian Weimer <fweimer@redhat.com>
16789
16790 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16791 conditionals. Do not define PATH_MAX.
16792
16793 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16794
16795 * posix/Makefile (tests): Add tst-spawn3.
16796 * posix/tst-spawn3.c: New file.
16797 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16798 if it is already opened for open action.
16799
16800 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16801 all signals when executing the clone vfork child.
16802 (SIGALL_SET): Remove macro.
16803
16804 * nptl/Makefile (tests): Add tst-exec5.
16805 * nptl/tst-exec5.c: New file.
16806 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16807 asynchronous cancellation.
16808
16809 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16810
16811 * hurd/exc2signal.c: #include <hurd/signal.h>
16812 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16813 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16814 accordingly.
16815 * mach/mach_error.c (mach_error): Fix old-style function definition.
16816 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16817
16818 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16819
16820 * math/Makefile (libm-calls): Remove s_nanF.
16821 (gen-libm-calls): Add s_nanF.
16822
16823 * math/s_nan.c: Refactor into ...
16824 * math/s_nan_template.c: New file.
16825
16826 * math/s_nanf.c: Removed.
16827 * math/s_nanl.c: Removed.
16828 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16829 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16830
16831 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16832 (LDOUBLE_nanl_libm_version): New macro.
16833
16834 * sysdeps/generic/math-type-macros-double.h:
16835 (M_STRTO_NAN): New macro.
16836 * sysdeps/generic/math-type-macros-float.h: Likewise.
16837 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16838
16839 * sysdeps/generic/math-type-macros.h: Document
16840 M_STRTO_NAN.
16841
16842 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16843
16844 * math/s_nanf.c: Remove __nanf undef.
16845 * math/s_nan.c: Remove __nan undef.
16846 * math/s_nanl.c: Remove __nanl undef.
16847
16848 * sysdeps/generic/math_private.h (__nan): Remove macro
16849 override.
16850 (__nanf): Likewise.
16851 (__nanl): Likewise.
16852
16853 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16854
16855 * math/Makefile (gen-all-calls): New variable.
16856 (generated): Replace gen-libm-calls with gen-all-calls.
16857 (gen-libm-templates.stmp): Likewise. Also, ensure
16858 the output directory exists or is created and add
16859 dependency on the Makefile.
16860 (calls): Move s_ldexpF into gen-calls.
16861 (gen-calls): New variable.
16862
16863 * math/s_ldexpf.c: Removed.
16864 * math/s_ldexpl.c: Removed.
16865 * math/s_ldexp.c: Refactored into ...
16866 * math/s_ldexp_template.c: New file.
16867
16868 * sysdeps/generic/math-type-macros-double.h: Remove
16869 redundant fall-through definition of declare_mgen_alias.
16870 (declare_mgen_alias_2): New macro.
16871
16872 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16873 New macro for function aliased to two exported symbols.
16874
16875 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16876 new template file.
16877 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16878
16879 2016-09-20 Florian Weimer <fweimer@redhat.com>
16880
16881 * Makeconfig (all-object-suffixes): Remove .og.
16882 * Makerules (elide-routines.og): Remove.
16883 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16884 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16885 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16886
16887 2016-09-20 Florian Weimer <fweimer@redhat.com>
16888
16889 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16890 .os objects.
16891
16892 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16893
16894 [BZ #20615]
16895 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16896 fpu directory by non-fpu.
16897 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16898 on non-fpu directory from a fpu directory.
16899
16900 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16901
16902 * include/limits.h: Define
16903 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16904 <bits/libc-header-start.h> instead of including <features.h>.
16905 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16906 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16907 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16908 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16909 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16910 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16911 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16912 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16913 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16914 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16915 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16916 * manual/lang.texi (Width of Type): Document these macros.
16917 * stdlib/tst-width.c: New file.
16918 * stdlib/Makefile (tests): Add tst-width.
16919
16920 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16921
16922 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16923 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16924
16925 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16926
16927 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16928 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16929 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16930
16931 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16932
16933 [BZ #18243]
16934 * rt/Makefile (test): Add tst-shm-cancel.
16935 * rt/tst-shm-cancel.c: New file.
16936 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16937
16938 [BZ #18243]
16939 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16940 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16941 definition.
16942 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16943 uncontended case.
16944 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16945 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16946 (tf): Fix check for uncontended case.
16947 (do_test): Likewise.
16948 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16949 (tf): Fix check for uncontended case.
16950 (do_test): Likewise.
16951 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16952 (tf): Fix check for uncontended case.
16953 (do_test): Likewise.
16954 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16955 (tf): Fix check for uncontended case.
16956 (do_test): Likewise.
16957
16958 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16959 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16960
16961 [BZ #15765]
16962 * nptl/Makefile (tests): Add tst-sem16.
16963 * nptl/tst-sem16.c: New file.
16964 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16965
16966 * nptl/sem_open.c (sem_open): Init pad value to 0.
16967 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16968 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16969
16970 2016-09-15 Florian Weimer <fweimer@redhat.com>
16971
16972 [BZ #20611]
16973 * inet/Makefile (routines): Add inet6_scopeid_pton.
16974 (tests): Add tst-inet6_scopeid_pton.
16975 * inet/inet6_scopeid_pton.c: New file.
16976 * inet/net-internal.h: Likewise.
16977 * inet/tst-inet6_scopeid_pton.c: New test.
16978 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16979 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16981
16982 2016-09-14 Florian Weimer <fweimer@redhat.com>
16983
16984 Remove support for compiling wrappers with PTW.
16985 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16986 * nptl/Makefile (pthread-compat-wrappers): Define.
16987 (libpthread-routines): Use pthread-compat-wrappers.
16988 * sysdeps/unix/sysv/linux/alpha/Makefile
16989 (libpthread-routines, libpthread-shared-only-routines): Remove
16990 ptw- prefix.
16991 * sysdeps/s390/nptl/Makefile
16992 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16993 * sysdeps/ia64/nptl/Makefile
16994 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16995 * sysdeps/nacl/Makefile (libpthread-routines): Use
16996 pthread-compat-wrappers to filter the routines list instead of the
16997 ptw- prefix.
16998
16999 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17000
17001 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17002 with L() and remove explicit suffix, convert real literals
17003 which can be equivalentally substituted with integers, and
17004 transform -L(x) to L(-x).
17005
17006 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17054 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17056
17057 2016-09-13 Florian Weimer <fweimer@redhat.com>
17058
17059 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17060
17061 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17062
17063 * malloc/Makefile (tests): Remove individual static test names
17064 and just add all of tests-static.
17065
17066 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17067
17068 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17069
17070 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17071 file.
17072
17073 * sysdeps/sparc/fpu/fegetmode.c: New file.
17074 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17075
17076 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17077 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17078
17079 * sysdeps/s390/fpu/fegetmode.c: New file.
17080 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17081
17082 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17083 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17084 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17085 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17086 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17087 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17088
17089 * sysdeps/mips/fpu/fegetmode.c: New file.
17090 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17091
17092 * sysdeps/m68k/fpu/fegetmode.c: New file.
17093 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17094
17095 * sysdeps/ia64/fpu/fegetmode.c: New file.
17096 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17097
17098 * sysdeps/hppa/fpu/fegetmode.c: New file.
17099 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17100
17101 * sysdeps/arm/fegetmode.c: New file.
17102 * sysdeps/arm/fesetmode.c: Likewise.
17103
17104 * sysdeps/alpha/fpu/fegetmode.c: New file.
17105 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17106
17107 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17108 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17109
17110 * math/fegetmode.c: New file.
17111 * math/fesetmode.c: Likewise.
17112 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17113 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17114 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17115 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17116 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17117 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17118 declaration.
17119 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17120 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17121 typedef.
17122 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17123 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17124 (femode_t): New typedef.
17125 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17126 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17127 (femode_t): New typedef.
17128 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17129 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17130 (femode_t): New typedef.
17131 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17132 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17133 (femode_t): New typedef.
17134 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17135 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17136 (femode_t): New typedef.
17137 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17138 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17139 (femode_t): New typedef.
17140 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17141 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17142 (femode_t): New typedef.
17143 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17144 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17145 (femode_t): New typedef.
17146 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17147 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17148 (femode_t): New typedef.
17149 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17150 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17151 (femode_t): New typedef.
17152 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17153 declaration.
17154 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17155 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17156 (femode_t): New typedef.
17157 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17158 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17159 (femode_t): New typedef.
17160 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17161 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17162 (femode_t): New typedef.
17163 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17164 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17165 (femode_t): New typedef.
17166 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17167 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17168 (femode_t): New typedef.
17169 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17170 * manual/arith.texi (FE_DFL_MODE): Document macro.
17171 (fegetmode): Document function.
17172 (fesetmode): Likewise.
17173 * math/Versions (fegetmode): New libm symbol at version
17174 GLIBC_2.25.
17175 (fesetmode): Likewise.
17176 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17177 (tests): Add test-femode and test-femode-traps.
17178 * math/test-femode-traps.c: New file.
17179 * math/test-femode.c: Likewise.
17180 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17181 alias for __fe_dfl_env.
17182 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17183 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17184 (__fe_dfl_mode): Likewise.
17185 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17186 version GLIBC_2.25.
17187 * sysdeps/nacl/libm.abilist: Update.
17188 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17198 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17199 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17201 Likewise.
17202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17203 Likewise.
17204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17205 Likewise.
17206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17207 Likewise.
17208 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17212 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17214 Likewise.
17215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17216 Likewise.
17217 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17220
17221 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17222
17223 [BZ #20495]
17224 [BZ #20508]
17225 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17226 processors, set Use_dl_runtime_resolve_slow and set
17227 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17228 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17229 New.
17230 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17231 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17232 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17233 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17234 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17235 if Use_dl_runtime_resolve_opt is set. Use
17236 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17237 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17238 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17239 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17240 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17241 New.
17242 (_dl_runtime_resolve_opt): Likewise.
17243 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17244 defined.
17245
17246 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17247
17248 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17249 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17250
17251 2016-09-06 Florian Weimer <fweimer@redhat.com>
17252
17253 Convert malloc to __libc_lock. Automated part, using this Perl
17254 s/// command:
17255 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17256 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17257 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17258 conversion.
17259
17260 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17261
17262 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17263 (linknamespace-symlists-tests): Likewise.
17264 (linknamespace-header-tests): Likewise.
17265
17266 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17267
17268 [BZ #19810]
17269 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17270 * elf/tst-noload.c: New test case.
17271 * elf/Makefile (tests): Add tst-noload.
17272
17273 2016-09-02 Roland McGrath <roland@hack.frob.com>
17274
17275 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17276
17277 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17278 not any more.
17279
17280 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17281
17282 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17283
17284 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17285 (do_cos_slow): Likewise.
17286 (do_sin): Likewise.
17287 (do_sin_slow): Likewise.
17288 (slow): Likewise.
17289 (slow1): Likewise.
17290 (slow2): Likewise.
17291 (sloww): Likewise.
17292 (sloww1): Likewise.
17293 (sloww2): Likewise.
17294 (bsloww): Likewise.
17295 (bsloww1): Likewise.
17296 (bsloww2): Likewise.
17297 (cslow2): Likewise.
17298
17299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17300
17301 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17302 arguments. Consolidate input partitioning from callers here.
17303 (do_cos_slow): Likewise.
17304 (do_sin): Likewise.
17305 (do_sin_slow): Likewise.
17306 (do_sincos_1): Remove the no longer necessary input partitioning.
17307 (do_sincos_2): Likewise.
17308 (__sin): Likewise.
17309 (__cos): Likewise.
17310 (slow1): Likewise.
17311 (slow2): Likewise.
17312 (sloww1): Likewise.
17313 (sloww2): Likewise.
17314 (bsloww1): Likewise.
17315 (bsloww2): Likewise.
17316 (cslow2): Likewise.
17317
17318 2016-09-02 Florian Weimer <fweimer@redhat.com>
17319
17320 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17321 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17322 outside of allocated array.
17323
17324 2016-09-02 Florian Weimer <fweimer@redhat.com>
17325
17326 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17327 instead of MB_CUR_MAX to avoid variable-length array.
17328
17329 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17330
17331 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17332 (type-double-routines): Add k_rem_pio2.
17333 (type-float-routines): Add k_rem_pio2f.
17334
17335 * sysdeps/generic/math_private.h:
17336 (__kernel_rem_pio2l): Removed.
17337
17338 * math/k_rem_pio2l.c: Removed.
17339 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17340 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17341 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17342 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17343
17344 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17345
17346 * math/Makefile (gen-libm-calls): Add s_fmin
17347 (libm-calls): Remove above.
17348
17349 * math/s_fmin.c: Refactor into ...
17350 * math/s_fmin_template.c: New file.
17351
17352 * math/s_fminf.c: Removed.
17353 * math/s_fminl.c: Removed.
17354 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17355 (LDOUBLE_fmin_libm_version): New macro.
17356
17357 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17358 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17359
17360 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17361
17362 * math/Makefile: (gen-libm-calls): Add s_fmax.
17363 (libm-calls): Remove above.
17364
17365 * math/s_fmax.c: Refactor into ...
17366 * math/s_fmax_template.c: New file.
17367 * math/s_fmaxf.c: Removed.
17368 * math/s_fmaxl.c: Removed.
17369
17370 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17371 (LDOUBLE_fmaxl_libm_version): New macro.
17372
17373 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17374 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17375
17376 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17377 s_fmin.c to pick the aarch64 version of the file.
17378 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17379 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17380
17381 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17382
17383 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17384 (libm-calls): Remove above.
17385
17386 * math/s_nextdown.c: Refactor into ...
17387 * math/s_nextdown_template.c: New file.
17388 * math/s_nextdownf.c: Removed.
17389 * math/s_nextdownl.c: Removed.
17390
17391 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17392
17393 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17394
17395 * math/Makefile (gen-libm-calls): Add s_fdim.
17396 (libm-calls): Move to above.
17397
17398 * math/s_fdim.c: Renamed and refactored into to ...
17399 * math/s_fdim_template.c: New file.
17400 * math/s_fdiml.c: Removed.
17401 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17402 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17403
17404 * sysdeps/generic/math-type-macros-double.h:
17405 (declare_mgen_alias): Don't declare if already declared.
17406 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17407 Likewise.
17408
17409 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17410 (declare_mgen_alias): Don't declare if already declared.
17411 (M_LIBM_NEED_COMPAT): Likewise.
17412 (declare_mgen_libm_compat): Likewise.
17413 (LDOUBLE_fdiml_libm_version): New macro.
17414
17415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17416 Include math/s_fdim.c now that ldbl-opt version is not needed.
17417 (declare_mgen_alias): New macro to disable aliasing.
17418
17419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17420 (declare_mgen_alias): Likewise.
17421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17422 (declare_mgen_alias): Likewise.
17423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17424 (declare_mgen_alias): Likewise.
17425 (M_LIBM_NEED_COMPAT): Likewise.
17426
17427 2016-09-01 Florian Weimer <fweimer@redhat.com>
17428
17429 [BZ #20525]
17430 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17431 Include <linux/quota.h>.
17432 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17433 and btodb.
17434 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17435 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17436 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17437 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17438 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17439 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17440 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17441 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17442 types.
17443 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17444 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17445
17446 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17447
17448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17449 (gammal_positive): Fix spacing.
17450 (__ieee754_gammal_r): Likewise.
17451
17452 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17453
17454 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17455 (_Float128): Define as long double, always.
17456 (L): Apply long double type suffix, always.
17457
17458 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17459 _Float128, excepting comments.
17460
17461 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17527 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17529
17530 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17531 _Float128, and include math_private.h.
17532 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17533
17534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17535 long double semantics.
17536 (_Float128): Likewise.
17537 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17541
17542 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17543
17544 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17545 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17546 * sysdeps/s390/configure: Regenerated.
17547 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17548 instruction for raising over-/underflow if z196 zarch is supported
17549 by default.
17550 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17551
17552 2016-08-30 Svante Signell <svante.signell@gmail.com>
17553
17554 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17555 it point to a dumb buffer for RPC to fill it.
17556
17557 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17558
17559 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17560 instead of if/else.
17561 (do_sin_slow): Likewise.
17562 (do_sincos_1): Use fabs instead of if/else.
17563 (do_sincos_2): Likewise.
17564 (__sin): Likewise.
17565 (__cos): Likewise.
17566 (slow2): Likewise.
17567 (sloww): Likewise.
17568 (sloww1): Likewise. Drop argument M.
17569 (sloww2): Use fabs instead of if/else.
17570 (bsloww): Likewise.
17571 (bsloww1): Likewise.
17572 (bsloww2): Likewise.
17573
17574 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17575 fall through comment.
17576 (do_sincos_1): Likewise.
17577
17578 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17579 Consolidate switch cases 0 and 2.
17580
17581 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17582
17583 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17584 (libm-calls): Remove the above.
17585
17586 * math/s_cexp_template.c: Update using type-generic macros.
17587 * math/s_clog10_template.c: Likewise.
17588 * math/s_cpow_template.c: Likewise.
17589 * math/s_clog_template.c: Likewise.
17590 * math/s_cproj_template.c: Likewise.
17591 * math/s_csqrt_template.c: Likewise.
17592
17593 * math/s_cexp.c: Removed.
17594 * math/s_cexpf.c: Removed.
17595 * math/s_cexpl.c: Removed.
17596 * math/s_clog10.c: Removed.
17597 * math/s_clog10f.c: Removed.
17598 * math/s_clog10l.c: Removed.
17599 * math/s_cpow.c: Removed.
17600 * math/s_cpowf.c: Removed.
17601 * math/s_cpowl.c: Removed.
17602 * math/s_clog.c: Removed.
17603 * math/s_clogf.c: Removed.
17604 * math/s_clogl.c: Removed.
17605 * math/s_cproj.c: Removed.
17606 * math/s_cprojf.c: Removed.
17607 * math/s_cprojl.c: Removed.
17608 * math/s_csqrt.c: Removed.
17609 * math/s_csqrtf.c: Removed.
17610 * math/s_csqrtl.c: Removed.
17611
17612 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17613 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17614 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17615 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17616 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17617 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17618
17619 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17620 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17621 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17622 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17623 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17624 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17625 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17626 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17627 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17628 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17629 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17630
17631 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17632 version.
17633
17634 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17635 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17636 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17637 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17638
17639 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17640
17641 * s_cexp_template.c: Copy of s_cexp.c.
17642 * s_clog_template.c: Copy of s_clog.c.
17643 * s_clog10_template.c: Copy of s_clog10.c.
17644 * s_cpow_template.c: Copy of s_cpow.c.
17645 * s_cproj_template.c: Copy of s_cproj.c.
17646 * s_csqrt_template.c: Copy of s_csqrt.c.
17647
17648 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17649
17650 [BZ #20517]
17651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17652 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17653 exported.
17654
17655 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17656
17657 * math/fetestexceptflag.c: New file.
17658 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17659 Stefan Liebler.
17660 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17661 (fetestexceptflag): New function declaration.
17662 * manual/arith.texi (fetestexceptflag): Document function.
17663 * math/Versions (fetestexceptflag): New libm symbol at version
17664 GLIBC_2.25.
17665 * math/Makefile (libm-support): Add fetestexceptflag.
17666 (tests): Add test-fetestexceptflag.
17667 * math/test-fetestexceptflag.c: New file.
17668 * sysdeps/nacl/libm.abilist: Update.
17669 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17672 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17673 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17674 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17677 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17678 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17679 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17682 Likewise.
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17684 Likewise.
17685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17686 Likewise.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17688 Likewise.
17689 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17695 Likewise.
17696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17697 Likewise.
17698 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17699 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17700 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17701
17702 2016-08-26 Florian Weimer <fweimer@redhat.com>
17703
17704 [BZ #20432]
17705 Avoid strong references to malloc-internal symbols when linking
17706 statically, to support statically interposed mallocs.
17707 * include/libc-symbols.h (call_function_static_weak): New macro.
17708 * malloc/Makefile (tests): Add tst-interpose-nothread,
17709 tst-interpose-thread, tst-interpose-static-nothread,
17710 tst-interpose-static-thread.
17711 (tests-static): Add tst-interpose-static-nothread,
17712 tst-interpose-static-thread.
17713 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17714 tst-interpose-aux-thread.o.
17715 (test-extras): Add tst-interpose-aux-nothread,
17716 tst-interpose-aux-thread.
17717 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17718 tst-interpose-aux-nothread.o.
17719 (tst-interpose-thread, tst-interpose-static-thread): Link with
17720 tst-interpose-aux-thread.o and libthread.
17721 * malloc/tst-interpose-aux-nothread.c: New file.
17722 * malloc/tst-interpose-aux-thread.c: Likewise.
17723 * malloc/tst-interpose-aux.c: Likewise.
17724 * malloc/tst-interpose-aux.h: Likewise.
17725 * malloc/tst-interpose-nothread.c: Likewise.
17726 * malloc/tst-interpose-skeleton.c: Likewise.
17727 * malloc/tst-interpose-static-nothread.c: Likewise.
17728 * malloc/tst-interpose-static-thread.c: Likewise.
17729 * malloc/tst-interpose-thread.c: Likewise.
17730 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17731 * sysdeps/mach/hurd/fork.c (__fork): Only call
17732 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17733 __malloc_fork_unlock_child if defined.
17734 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17735
17736 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17737
17738 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17739 timespec C99 designated initialization.
17740
17741 2016-08-26 Florian Weimer <fweimer@redhat.com>
17742
17743 [BZ #19946]
17744 Avoid expected SIGALRM signals.
17745 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17746 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17747 (xpthread_create, xpthread_detach, xpthread_join)
17748 (delayed_exit_thread, delayed_exit): New functions.
17749 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17750 (tf): Use xpthread_cond_wait.
17751 (do_test): Likewise. Replace alarm with delayed_exit.
17752 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17753 (do_test): Call delayed_exit. Report failure.
17754 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17755 (do_test): Call delayed_exit.
17756 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17757 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17758 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17759 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17760 error.
17761 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17762 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17763 error.
17764 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17765 (do_test): Call delayed_exit.
17766 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17767 (do_test): Call delayed_exit.
17768 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17769 (do_test): Call delayed_exit instead of alarm. Use
17770 xpthread_mutex_lock.
17771 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17772 (do_test): Call delayed_exit instead of alarm. Use
17773 xpthread_mutex_lock.
17774 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17775 (do_test): Call delayed_exit instead of alarm.
17776 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17777 (do_test): Call delayed_exit instead of alarm. Use
17778 xpthread_spin_lock.
17779 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17780 (do_test): Call delayed_exit instead of alarm. Use
17781 xpthread_join.
17782
17783 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17784
17785 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17786 adjust CFA when allocating register save area on re-aligned
17787 stack.
17788
17789 2016-08-26 Florian Weimer <fweimer@redhat.com>
17790
17791 * string/tst-cmp.c: New test.
17792 * string/Makefile (tests): Add it.
17793
17794 2016-08-25 Mark Wielaard <mark@klomp.org>
17795
17796 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17797 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17798 (check_tree_recurse): Use newly defined accessors.
17799 (check_tree): Likewise.
17800 (maybe_split_for_insert): Likewise.
17801 (__tfind): Likewise.
17802 (__tdelete): Likewise.
17803 (trecurse): Likewise.
17804 (tdestroy_recurse): Likewise.
17805 (__tsearch): Likewise. And add asserts for malloc alignment.
17806 (__twalk): Cast root to node in case CHECK_TREE is defined.
17807
17808 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17809
17810 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17811
17812 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17813
17814 * math/Makefile (libm-gen-calls): Add
17815 catan, catanh, ctan, ctanh.
17816 (libm-calls): Remove the above.
17817
17818 * math/s_catan_template.c: Update using type-generic macros.
17819 * math/s_catanh_template.c: Likewise.
17820 * math/s_ctan_template.c: Likewise.
17821 * math/s_ctanh_template.c: Likewise.
17822
17823 * math/s_catanf.c: Removed.
17824 * math/s_catan.c: Removed.
17825 * math/s_catanl.c: Removed.
17826 * math/s_catanhf.c: Removed.
17827 * math/s_catanh.c: Removed.
17828 * math/s_catanhl.c: Removed.
17829 * math/s_ctanf.c: Removed.
17830 * math/s_ctan.c: Removed.
17831 * math/s_ctanl.c: Removed.
17832 * math/s_ctanhf.c: Removed.
17833 * math/s_ctanh.c: Removed.
17834 * math/s_ctanhl.c: Removed.
17835
17836 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17837 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17838 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17839 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17840 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17841 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17842
17843 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17844 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17845 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17846 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17847
17848 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17849
17850 * s_catan_template.c: Copy of s_catan.c.
17851 * s_catanh_template.c: Copy of s_catanh.c.
17852 * s_ctan_template.c: Copy of s_ctan.c.
17853 * s_ctanh_template.c: Copy of s_ctanh.c.
17854
17855 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17856
17857 * math/Makefile (gen-libm-calls): Move
17858 casin, casinh, csin, csinh here.
17859 (libm-calls): Remove the above.
17860
17861 * math/s_casin_template.c: Update using type-generic macros.
17862 * math/s_casinh_template.c: Likewise.
17863 * math/s_csin_template.c: Likewise.
17864 * math/s_csinh_template.c: Likewise.
17865 * math/k_casinh_template.c: Likewise.
17866
17867 * math/s_casinf.c: Removed.
17868 * math/s_casin.c: Removed.
17869 * math/s_casinl.c: Removed.
17870 * math/s_casinh.c: Removed.
17871 * math/s_casinhf.c: Removed.
17872 * math/s_casinhl.c: Removed.
17873 * math/s_csin.c: Removed.
17874 * math/s_csinf.c: Removed.
17875 * math/s_csinl.c: Removed.
17876 * math/s_csinh.c: Removed.
17877 * math/s_csinhf.c: Removed.
17878 * math/s_csinhl.c: Removed.
17879 * math/k_casinh.c: Removed.
17880 * math/k_casinhf.c: Removed.
17881 * math/k_casinhl.c: Removed.
17882
17883 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17884 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17885 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17886 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17887
17888 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17889 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17890 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17891 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17892 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17893 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17894 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17895 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17896
17897 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17898 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17899 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17900 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17901
17902 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17903 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17904 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17905 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17906
17907 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17908
17909 * s_casin_template.c: Copy of s_casin.c.
17910 * s_casinh_template.c: Copy of s_casinh.c.
17911 * s_csin_template.c: Copy of s_csin.c.
17912 * s_csinh_template.c: Copy of s_csinh.c.
17913 * k_casinh_template.c: Copy of k_casinh.c.
17914
17915 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17916
17917 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17918
17919 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17920
17921 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17922 (mul_split) Remove, rename as mul_splitl, remove
17923 redundant float.h include, and include via mul_splitl.h
17924
17925 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17927 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17928 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17929 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17930
17931 * math/mul_splitl.h: New file.
17932
17933 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17934 Move into mul_split.h, and remove redundant float.h include.
17935
17936 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17940
17941 * math/mul_split.h: New file.
17942
17943 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17944
17945 * math/Makefile (libm-gen-calls): Move
17946 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17947 (libm-calls): Remove above.
17948
17949 * math/s_cacos_template.c: Update using type-generic macros.
17950 * math/s_cacosh_template.c: Likewise.
17951 * math/s_ccos_template.c: Likewise.
17952 * math/s_ccosh_template.c: Likewise.
17953
17954 * math/s_cacosf.c: Removed.
17955 * math/s_cacos.c: Removed.
17956 * math/s_cacosl.c: Removed.
17957 * math/s_cacoshf.c: Removed.
17958 * math/s_cacosh.c: Removed.
17959 * math/s_cacoshl.c: Removed.
17960 * math/s_ccosf.c: Removed.
17961 * math/s_ccos.c: Removed.
17962 * math/s_ccosl.c: Removed.
17963 * math/s_ccoshf.c: Removed.
17964 * math/s_ccosh.c: Removed.
17965 * math/s_ccoshl.c: Removed.
17966
17967 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17968 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17969 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17970 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17971 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17972 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17973
17974 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17975 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17976 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17977 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17978
17979 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17980 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17981 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17982 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17983
17984 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17985
17986 * s_cacos_template.c: Copy of s_cacos.c.
17987 * s_cacosh_template.c: Copy of s_cacosh.c.
17988 * s_ccos_template.c: Copy of s_ccos.c.
17989 * s_ccosh_template.c: Copy of s_ccosh.c.
17990
17991 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17992
17993 * stdlib/tst-strtod-round-skeleton.c:
17994 Refactored from tst-strtod-round.c.
17995
17996 (L_): New macro to apply literal modifier.
17997 (FNPFX): New macro to select str or wcs prefix.
17998 (CHAR): New macro to choose wchar_t or char.
17999 (STRM): New macro to choose printf for tested character type.
18000
18001 (STRTO): New macro to choose appropriate string -> real function.
18002 (FNPFXS): Stringitized version of FNPFX.
18003 (STR): Support for above macro.
18004 (STRX): Likewise.
18005
18006 (TEST): Update with above macros.
18007 (test): Likewise.
18008 (GEN_ONE_TEST): Likewise.
18009 (test_in_one_mode): Likewise.
18010
18011 * stdlib/tst-strtod-round.c: New file.
18012 * wcsmbs/tst-wcstod-round.c: New file.
18013
18014 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18015 (tst-wcstod-round): Add libm depencency for fesetround.
18016
18017 2016-08-19 Zack Weinberg <zackw@panix.com>
18018
18019 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18020
18021 2016-08-18 Torvald Riegel <triegel@redhat.com>
18022
18023 [BZ #20477]
18024 * resolv/res_hconf.c (do_init): Use atomic access.
18025 * resolv/res_hconf.h: Add comments.
18026 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18027 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18029
18030 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18031
18032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18033 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18034 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18035 Likewise.
18036
18037 2016-08-18 Florian Weimer <fweimer@redhat.com>
18038
18039 [BZ #16907]
18040 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18041 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18042 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18043 (__attribute__): Remove definition.
18044
18045 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18046
18047 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18048 Remove unused sqrtl declaration.
18049
18050 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18051
18052 * math/Makefile: (gen-libm-templates.stmp): New rule.
18053 (libm-calls): Move carg conj cimag and cabs into ...
18054 (gen-libm-calls): New variable.
18055 (generated): Inform Make objects from gen-libm-calls
18056 may be generated.
18057
18058 * sysdeps/generic/math-type-macros.h: New file.
18059 * sysdeps/generic/math-type-macros-float.h: Likewise.
18060 * sysdeps/generic/math-type-macros-double.h: Likewise.
18061 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18062 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18063 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18064
18065 * math/cabs.c: Refactor into
18066 * math/cabs_template.c: new file.
18067 * math/cabsf.c: Removed.
18068 * math/cabsl.c: Removed.
18069 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18070 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18071
18072 * math/carg.c: Refactor into
18073 * math/carg_template.c: new file.
18074 * math/cargf.c: Removed.
18075 * math/cargl.c: Removed.
18076 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18077 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18078
18079 * math/conj.c: Refactor into
18080 * math/conj_template.c: new file.
18081 * math/conjf.c: Removed.
18082 * math/conjl.c: Removed.
18083 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18084 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18085
18086 * math/cimag.c: Refactor into
18087 * math/cimag_template.c: new file.
18088 * math/cimagf.c: Removed.
18089 * math/cimagl.c: Removed.
18090 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18091 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18092
18093 * math/cimag.c: Refactor into
18094 * math/cimag_template.c: new file.
18095 * math/cimagf.c: Removed.
18096 * math/cimagl.c: Removed.
18097 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18098 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18099
18100 2016-08-17 Florian Weimer <fweimer@redhat.com>
18101
18102 Reduce time to expected nptl/tst-once5 failure.
18103 * nptl/tst-once5.cc (TIMEOUT): Define.
18104
18105 2016-08-17 Florian Weimer <fweimer@redhat.com>
18106
18107 [BZ #20452]
18108 Avoid additional copies of objects in libc.a in static libraries.
18109 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18110 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18111 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18112 rt-sysdep.
18113 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18114 Add nptl-sysdep.
18115 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18116 Add ptw-sysdep.
18117 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18118 rt-sysdep.
18119 * sysdeps/unix/sysv/linux/alpha/Makefile
18120 (libpthread-shared-only-routines): Add ptw-sysdep,
18121 ptw-sigprocmask, ptw-rt_sigaction.
18122 * sysdeps/unix/sysv/linux/ia64/Makefile
18123 (librt-shared-only-routines): Add rt-sysdep.
18124 * sysdeps/unix/sysv/linux/i386/Makefile
18125 (libpthread-shared-only-routines): Add libc-do-syscall.
18126 * sysdeps/unix/sysv/linux/microblaze/Makefile
18127 (libpthread-shared-only-routines): Add sysdep.
18128 * sysdeps/unix/sysv/linux/powerpc/Makefile
18129 (librt-shared-only-routines): Add rt-sysdep.
18130 (libpthread-shared-only-routines): Add sysdep.
18131 * sysdeps/unix/sysv/linux/s390/Makefile
18132 (librt-shared-only-routines): Add rt-sysdep.
18133 * sysdeps/unix/sysv/linux/sparc/Makefile
18134 (librt-shared-only-routines): Add rt-sysdep.
18135 (libpthread-shared-only-routines): Add sysdep.
18136 * sysdeps/unix/sysv/linux/tile/Makefile
18137 (libpthread-shared-only-routines): Likewise.
18138
18139 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18140
18141 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18142 Mask implicit bit out of unpacked value.
18143 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18146
18147 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18148
18149 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18150
18151 * sysdeps/s390/fpu/fesetexcept.c: New file.
18152
18153 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18154 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18155 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18156
18157 * sysdeps/mips/fpu/fesetexcept.c: New file.
18158
18159 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18160
18161 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18162
18163 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18164
18165 * sysdeps/arm/fesetexcept.c: New file.
18166
18167 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18168
18169 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18170
18171 * math/fesetexcept.c: New file.
18172 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18173 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18174 * math/fenv.h: Define
18175 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18176 <bits/libc-header-start.h> instead of including <features.h>.
18177 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18178 declaration.
18179 * manual/arith.texi (fesetexcept): Document function.
18180 * math/Versions (fesetexcept): New libm symbol at version
18181 GLIBC_2.25.
18182 * math/Makefile (libm-support): Add fesetexcept.
18183 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18184 * math/test-fesetexcept.c: New file.
18185 * math/test-fesetexcept-traps.c: Likewise.
18186 * sysdeps/nacl/libm.abilist: Update.
18187 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18200 Likewise.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18202 Likewise.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18204 Likewise.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18206 Likewise.
18207 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18213 Likewise.
18214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18215 Likewise.
18216 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18219
18220 2016-08-16 Florian Weimer <fweimer@redhat.com>
18221
18222 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18223 New.
18224 (do_test): Apply default_stack_size_in_mb if not set.
18225 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18226
18227 2016-08-15 Andreas Schwab <schwab@suse.de>
18228
18229 [BZ #20435]
18230 CVE-2016-6323
18231 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18232 as .cantunwind.
18233
18234 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18235
18236 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18237 comment from fraiseexcpt.c.
18238
18239 * math/test-fexcept.c (feraiseexcept_exact): New function.
18240 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18241 (test_except): Likewise.
18242
18243 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18244
18245 [BZ #20455]
18246 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18247 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18248 to be restored.
18249
18250 * math/test-fexcept-traps.c: New file.
18251 * math/test-fexcept.c: Likewise.
18252 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18253 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18254 macro.
18255 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18256 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18257
18258 2016-08-09 Torvald Riegel <triegel@redhat.com>
18259
18260 * include/atomic.h (atomic_fetch_and_relaxed,
18261 atomic_fetch_and_release, atomic_fetch_or_release,
18262 atomic_fetch_xor_release): New.
18263
18264 2016-08-06 Christian Seiler <christian@iwakd.de>
18265
18266 [BZ #20444]
18267 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18268 MACH_PORT_NULL.
18269
18270 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18271
18272 * math/s_fdim.c: Avoid alias renamed.
18273 * math/s_fdimf.c: Likewise.
18274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18275 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18276 Add s_fdimf-vis3, s_fdim-vis3.
18277 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18278 (CFLAGS-s_fdim-vis3.c): Likewise.
18279 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18280 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18281
18282 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18283
18284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18285 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18286 Remove s_fdimf-vis3, s_fdim-vis3.
18287 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18288 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18295 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18296 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18297
18298 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18299
18300 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18301 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18302 -Wa,-Av9a -mvis.
18303
18304 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18305
18306 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18307 LIT() to individual constants in simple expressions
18308 after splitting on spaces.
18309 (_apply_lit): Rename replaced version, and use it to
18310 apply to what appears to be a token.
18311
18312 * math/libm-test.inc: Fix many, many issues with
18313 spacing.
18314
18315 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18316
18317 * math/math.h: Move comment about <bits/mathdef.h> definitions
18318 above inclusion of <bits/mathdef.h>. Do not mention
18319 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18320
18321 2016-08-05 Torvald Riegel <triegel@redhat.com>
18322
18323 * include/atomic.h (atomic_exchange_relaxed): New.
18324
18325 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18326
18327 * math/e_scalb.c: Do not include <fenv.h>.
18328 (invalid_fn): Do calculation resulting in NaN instead of raising
18329 FE_INVALID and returning a NaN explicitly.
18330 * math/e_scalbf.c: Do not include <fenv.h>.
18331 (invalid_fn): Do calculation resulting in NaN instead of raising
18332 FE_INVALID and returning a NaN explicitly.
18333 * math/e_scalbl.c: Do not include <fenv.h>.
18334 (invalid_fn): Do calculation resulting in NaN instead of raising
18335 FE_INVALID and returning a NaN explicitly.
18336
18337 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18338
18339 * po/de.po: Updated from Translation Project.
18340 * po/fi.po: Likewise.
18341 * po/sv.po: Likewise.
18342
18343 2016-08-04 Florian Weimer <fweimer@redhat.com>
18344
18345 [BZ #20452]
18346 Use sysdep.o from libc.a in static libraries.
18347 * sysdeps/unix/sysv/linux/i386/Makefile
18348 (libpthread-shared-only-routines): Add sysdep.
18349 (librt-shared-only-routines): Likewise.
18350
18351 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18352
18353 * math/tgmath.h (nextdown): Define if
18354 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18355 (nextup): Likewise.
18356
18357 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18358 macro.
18359 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18360 Document.
18361 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18362 Document macro.
18363 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18364 (exp10f): Likewise.
18365 (exp10l): Likewise.
18366 * math/bits/mathcalls.h (exp10): Declare if
18367 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18368
18369 * manual/arith.texi (nextup): Fix typo in last change.
18370
18371 2016-08-03 Zack Weinberg <zackw@panix.com>
18372
18373 [BZ #19239]
18374 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18375 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18376 define major, minor, and makedev to issue deprecation warnings on use.
18377 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18378 previously-activated deprecation warnings for these macros and prevent
18379 subsequent inclusions of this header from having any effect.
18380 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18381 including <sys/sysmacros.h>, and undefine it again afterward.
18382
18383 2016-08-03 Zack Weinberg <zackw@panix.com>
18384
18385 * sysdeps/generic/sys/sysmacros.h: Delete file.
18386 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18387 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18388 * bits/sysmacros.h: ... here; this encoding is now the generic
18389 encoding. Now defines only the following macros:
18390 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18391 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18392 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18393
18394 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18395 bits/sysmacros.h and the above new macros to generate the
18396 public implementations of major, minor, and makedev.
18397 * misc/tst-makedev.c: New test.
18398 * include/sys/sysmacros.h: New wrapper.
18399
18400 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18401 (routines): Add makedev.
18402 (tests): Add tst-makedev.
18403 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18404 gnu_dev_makedev.
18405 * posix/Makefile (headers): Remove sys/sysmacros.h.
18406 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18407
18408 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18409 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18410 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18411 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18412 * sysdeps/unix/sysv/linux/arm/libc.abilist
18413 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18414 * sysdeps/unix/sysv/linux/i386/libc.abilist
18415 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18416 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18417 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18418 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18419 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18420 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18422 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18423 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18430 * sysdeps/unix/sysv/linux/sh/libc.abilist
18431 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18435 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18436 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18437 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18438 Add GLIBC_2.25.
18439
18440 * include/features.h (__glibc_clang_prereq): New macro.
18441 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18442 (__attribute_deprecated_msg__): New macros.
18443
18444 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18445
18446 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18447 macro.
18448 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18449 * manual/arith.texi (issignaling): Document as ISO from TS
18450 18661-1:2014.
18451 (nextup): Likewise.
18452 (nextupf): Likewise.
18453 (nextupl): Likewise.
18454 (nextdown): Likewise.
18455 (nextdownf): Likewise.
18456 (nextdownl): Likewise.
18457 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18458 macro.
18459 * math/math.h: Define
18460 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18461 <bits/libc-header-start.h> instead of including <features.h>.
18462 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18463 [__USE_GNU].
18464 * math/bits/mathcalls.h (nextdown): Declare if
18465 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18466 (nextup): Likewise.
18467 (__issignaling): Likewise.
18468
18469 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18470
18471 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18472 check, and remove __glibc_likely hint
18473 from FP_INFINITE check.
18474 * s_csinhf.c (__csinhf): Likewise.
18475
18476 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18477 hint from FP_INFINITE check.
18478 * s_csinhl.c (__csinhl): Likewise.
18479
18480 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18481
18482 * math/Makefile (libm-calls): Insert F placeholder into
18483 object names. Move w_lgamma_compat* routines into
18484 (libm-compat-calls): New variable.
18485 (libm-compat-calls-ldouble-yes): New variable.
18486 (calls): Insert F placeholder.
18487 (generated): Redefine using new type-foreach macro call.
18488 (routines): Likewise.
18489
18490 (types): New variable to hold a list of symbolic names
18491 for each type supported by the target machine.
18492 (libm-routines): Redefine using new types variable.
18493 (type-foreach): macro to replace fooF with the
18494 appropriately suffixed foo for each types.
18495
18496 (type-ldouble-suffix): New variable.
18497 (type-ldouble-routines): Likewise.
18498 (type-ldouble-yes): Likewise.
18499 (type-double-suffix): Likewise.
18500 (type-double-routines): Likewise.
18501 (type-float-suffix): Likewise.
18502 (type-float-routines): Likewise.
18503
18504 (dbl-only-routines): Remove.
18505 (long-c-yes): Likewise.
18506 (long-m-routines): Likewise.
18507 (long-m-support): Likewise.
18508 (long-m-yes): Likewise.
18509 (test-longdouble-yes): Likewise.
18510
18511 (test-float.o): Simplify by increasing the scope of the
18512 recipe which adds libm-test.stmp to the vector types.
18513 (test-ifloat.o): Likewise.
18514 (test-float-finite.o): Likewise.
18515 (test-double.o): Likewise
18516 (test-idouble.o): Likewise.
18517 (test-double-finite.o): Likewise.
18518 (test-ldouble.o): Likewise
18519 (test-ildoubl.o): Likewise.
18520 (test-ldouble-finite.o): Likewise.
18521
18522 (libm-tests): Redefine type tests using foreach and the
18523 list of types in types.
18524
18525 (CPPFLAGS-test-ildoubl.c): Rename to
18526 (CPPFLAGS-test-ildouble.c): New variable
18527
18528 * math/test-ildoubl.c: Rename to
18529 * math/test-ildouble.c: New file.
18530
18531 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18532
18533 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18534 Use fabsl instead of fabs.
18535 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18536 Likewise.
18537 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18538 Add long double suffix to constant to ensure proper
18539 promotion to long double.
18540
18541 2016-08-03 Tom Tromey <tom@tromey.com>
18542
18543 [BZ #20311]
18544 * nptl_db/Makefile (headers): Add proc_service.h.
18545 * nptl_db/proc_service.h: Add include guard. Use
18546 __BEGIN/__END_DECLS.
18547 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18548 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18549 arguments.
18550
18551
18552 2016-08-03 Florian Weimer <fweimer@redhat.com>
18553
18554 [BZ #17730]
18555 Avoid using memalign for TCB allocations.
18556 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18557 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18558 Avoid alignment gap in the TLS_DTV_AT_TP case.
18559 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18560 determine the pointer to free.
18561 * nptl/tst-tls3-malloc.c: New test.
18562 * nptl/Makefile (tests): Add it.
18563 (tst-tls3-malloc): Link with libdl, libpthread.
18564 (LDFLAGS-tst-tls3-malloc): Set.
18565 (tst-tls3-malloc.out): Depend on DSO used in test.
18566
18567 2016-08-03 Florian Weimer <fweimer@redhat.com>
18568
18569 [BZ #17730]
18570 Avoid using memalign for TLS allocations.
18571 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18572 is_static member with to_free member.
18573 (union dtv): Use struct dtv_pointer.
18574 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18575 dtv_pointer instead of is_static.
18576 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18577 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18578 instead of val.
18579 (allocate_dtv_entry): New function.
18580 (allocate_and_init): Return struct dtv_pointer. Call
18581 allocate_dtv_entry instead of __libc_memalign.
18582 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18583 instead of val.
18584 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18585 instead of is_static. Adjust call to allocate_and_init.
18586 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18587 struct dtv_pointer instead of val.
18588
18589 2016-08-03 Florian Weimer <fweimer@redhat.com>
18590
18591 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18592 (MALLOC_ALIGN_MASK): Move ...
18593 * malloc/malloc-internal.h: ... to here.
18594 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18595
18596 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18597
18598 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18599 (UDP_ENCAP_GTP1U): Likewise.
18600
18601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18602 (PF_MAX): Update value.
18603 (AF_QIPCRTR): New macro.
18604
18605 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18606
18607 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18608 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18609 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18611 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18612 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18613 s_truncf-vis3, s_trunc-vis3.
18614 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18615 (CFLAGS-s_ceil-vis3.c): Likewise.
18616 (CFLAGS-s_floorf-vis3.c): Likewise.
18617 (CFLAGS-s_floor-vis3.c): Likewise.
18618 (CFLAGS-s_truncf-vis3.c): Likewise.
18619 (CFLAGS-s_trunc-vis3.c): Likewise.
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18628 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18629 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18630 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18631 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18632
18633 2016-08-02 David S. Miller <davem@davemloft.net>
18634
18635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18636 (__nearbyint_vis3): Don't check for sNaN before float register is
18637 loaded with the incoming argument.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18639 (__nearbyintf_vis3): Likewise.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18641 Likewise.
18642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18643 Likewise.
18644
18645 * string/test-strncmp.c (do_test_limit): Make sure the test data
18646 stream is aligned as required for the type "CHAR".
18647 (do_test): Likewise.
18648
18649 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18650
18651 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18652 by beq instructions jumping to the end of the function.
18653 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18654 clobber list. Use "i" constraint instead of "X".
18655 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18656 of "X".
18657
18658 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18659
18660 * bits/libc-header-start.h: New file.
18661 * Makefile (headers): Add bits/libc-header-start.h.
18662 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18663 (__GLIBC_USE): New macro.
18664 * libio/stdio.h: Define
18665 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18666 <bits/libc-header-start.h> instead of including <features.h>.
18667 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18668 (open_memstream): Likewise.
18669 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18670 (__asprintf): Likewise.
18671 (asprintf): Likewise.
18672 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18673 (getdelim): Likewise.
18674 (getline): Likewise.
18675 * string/string.h: Define
18676 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18677 <bits/libc-header-start.h> instead of including <features.h>.
18678 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18679 (strndup): Likewise.
18680 * wcsmbs/wchar.h: Define
18681 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18682 <bits/libc-header-start.h> instead of including <features.h>.
18683 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18684 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18685
18686 2016-08-02 Florian Weimer <fweimer@redhat.com>
18687
18688 Support linking against compatibility symbols, for use in tests.
18689 * include/libc-symbols.h (symbol_version_reference): New macro.
18690 (symbol_version): Use it.
18691 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18692 (compat_symbol): Use compat_symbol_reference.
18693 (compat_symbol_1, compat_symbol_2): Remove.
18694 (compat_symbol_reference, compat_symbol_reference_1)
18695 (compat_symbol_reference_2): New macro. Use
18696 symbol_version_reference.
18697
18698 2016-08-02 Florian Weimer <fweimer@redhat.com>
18699
18700 [BZ #19469]
18701 * malloc/Makefile (CPPFLAGS): Compile tests with
18702 -DTEST_NO_MALLOPT.
18703 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18704
18705 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18706
18707 [BZ #20033]
18708 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18709 finite version.
18710 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18711 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18712 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18713 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18714 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18715 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18716 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18718 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18719 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18720 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18721 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18722 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18723 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18724 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18725 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18726 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18727 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18728 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18729 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18730 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18731 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18732 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18733 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18734 in zero power.
18735
18736 2016-08-02 Florian Weimer <fweimer@redhat.com>
18737
18738 [BZ #20370]
18739 * malloc/arena.c (get_free_list): Update comment. Assert that
18740 arenas on the free list have no attached threads.
18741 (remove_from_free_list): New function.
18742 (reused_arena): Call it.
18743
18744 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18745
18746 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18747 when it is a NaN.
18748 [_IEEE_FP_INEXACT] Remove.
18749 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18750 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18751 when it is a NaN.
18752 [_IEEE_FP_INEXACT] Remove.
18753 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18754 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18755 when it is a NaN.
18756 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18757 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18758 when its absolute value is greater than 0x1.0p52.
18759 [_IEEE_FP_INEXACT] Remove.
18760 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18761 when its absolute value is greater than 0x1.0p23.
18762 [_IEEE_FP_INEXACT] Remove.
18763
18764 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18765
18766 * version.h (RELEASE): Set to "development"
18767 (VERSION): Set to 2.24.90.
18768 * NEWS: Add 2.25 section.
18769
18770 * version.h (RELEASE): Set to "stable"
18771 (VERSION): Set to 2.24.
18772 * include/features.h (__GLIBC_MINOR__): Set to 24.
18773
18774 * NEWS: Add 2.24 fixed bugs.
18775 * po/libc.pot: Regenerate.
18776
18777 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18778
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18780 [$(subdir) = math] (libm-sysdep_routines): Remove.
18781 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18782 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18783 s_truncf-vis3, s_trunc-vis3.
18784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18786 file.
18787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18820 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18821 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18822 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18823 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18826 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18827 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18828 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18829 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18830
18831 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18832
18833 [BZ #20384]
18834 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18835 test-double-libmvec-sincos-avx-main.o,
18836 test-double-libmvec-sincos-avx2-main.o,
18837 test-double-libmvec-sincos-main.o,
18838 test-float-libmvec-sincosf-avx-main.o,
18839 test-float-libmvec-sincosf-avx2-main.o and
18840 test-float-libmvec-sincosf-main.o.
18841 test-float-libmvec-sincosf-avx512-main.o.
18842 ($(objpfx)test-double-libmvec-sincos): Also link with
18843 $(objpfx)test-double-libmvec-sincos-main.o.
18844 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18845 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18846 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18847 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18848 ($(objpfx)test-float-libmvec-sincosf): Also link with
18849 $(objpfx)test-float-libmvec-sincosf-main.o.
18850 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18851 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18852 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18853 test-double-libmvec-sincos-avx512-main.o and
18854 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18855 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18856 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18857 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18858 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18859 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18860 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18861 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18862 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18863 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18864 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18865 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18866 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18867 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18868 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18869 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18870 -DREQUIRE_AVX2.
18871 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18872 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18873 -DREQUIRE_AVX512F.
18874 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18875 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18876 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18877 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18878 file.
18879 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18880 Likewise.
18881 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18882 Likewise.
18883 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18884 Likewise.
18885 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18886 Likewise.
18887 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18888 Likewise.
18889 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18890 Likewise.
18891 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18892 Likewise.
18893
18894 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18895
18896 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18897
18898 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18899
18900 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18901 and typo in a comment about AT_HWCAP entry.
18902
18903 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18904
18905 * sysdeps/aarch64/libm-test-ulps: Updated.
18906
18907 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18908
18909 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18910 of r13 as it is not restored in mvcle case.
18911
18912 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18913
18914 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18915 Rename "ret" to "__ret".
18916 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18917 inline_syscall5, inline_syscall6): Likewise.
18918
18919 2016-07-19 Will Newton <will.newton@gmail.com>
18920
18921 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18922 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18923 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18924 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18925 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18926
18927 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18928
18929 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18930 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18931 -mfpmath=387 with $(rtld-CFLAGS).
18932 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18933 $(rtld-CFLAGS).
18934
18935 2016-07-18 Ross Burton <ross.burton@intel.com>
18936 Khem Raj <raj.khem@gmail.com>
18937
18938 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18939 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18940 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18941 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18942 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18943 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18944 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18945 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18946 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18947 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18948 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18949 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18950 R_METAG_TLS_DTPOFF): New.
18951
18952 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18953 Matt Clay <mclay@lycos.com>
18954
18955 [BZ #20357]
18956 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18957 to call __mpsin/__mpcos and to negate values.
18958 * math/auto-libm-test-in: Add test.
18959 * math/auto-libm-test-out: Regenerate.
18960
18961 2016-07-18 Zack Weinberg <zackw@panix.com>
18962
18963 * grp/Makefile: Don't install the internal header grp-merge.h.
18964
18965 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18966
18967 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18968
18969 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18970
18971 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18972
18973 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18974
18975 [BZ #15368]
18976 * sysdeps/unix/sysv/linux/nptl-signals.h
18977 (__nptl_clear_internal_signals): New function.
18978 (__libc_signal_block_all): Likewise.
18979 (__libc_signal_block_app): Likewise.
18980 (__libc_signal_restore_set): Likewise.
18981 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18982 implementation.
18983 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18984 the cached pid/tid value in pthread structure.
18985
18986 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18987
18988 [BZ #20347]
18989 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18990
18991 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18992
18993 [BZ #20348]
18994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18995 preadv64, pwrite64 and pwritev64.
18996
18997 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18998
18999 [BZ #20350]
19000 * posix/tst-preadwrite.c: Renamed to ...
19001 * posix/tst-preadwrite-common.c: This.
19002 (PREAD): Removed.
19003 (PWRITE): Likewise.
19004 (STRINGIFY): Likewise.
19005 (STRINGIFY2): Likewise.
19006 (do_prepare): Make it static and remove function arguments.
19007 (do_test): Likewise.
19008 (PREPARE): Updated.
19009 (TEST_FUNCTION): New.
19010 (name): Make it static.
19011 (fd): Likewise.
19012 (do_prepare): Use create_temp_file.
19013 (do_test): Renamed to ...
19014 (do_test_with_offset): This. Make it static and accept offset.
19015 Properly check return value of PWRITE and PREAD. Return bytes
19016 read. Don't close fd nor unlink name.
19017 * posix/tst-preadwrite.c: Rewrite.
19018 * posix/tst-preadwrite64.c: Likewise.
19019
19020 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19021
19022 [BZ #20309]
19023 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19024 -mtls-dialect=gnu2 works.
19025 * configure: Regenerated.
19026 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19027 (tests): Add tst-gnu2-tls1.
19028 (modules-names): Add tst-gnu2-tls1mod.
19029 ($(objpfx)tst-gnu2-tls1): New.
19030 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19031 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19032 * elf/tst-gnu2-tls1.c: New file.
19033 * elf/tst-gnu2-tls1mod.c: Likewise.
19034 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19035 bytes for push in the PLT entry to align the stack.
19036
19037 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19038
19039 [BZ #20349]
19040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19041
19042 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19043
19044 [BZ #18707]
19045 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19046 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19047
19048 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19049
19050 * sysdeps/unix/sysv/linux/sysdep.h
19051 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19052 guards.
19053 * misc/tst-preadvwritev-common.c: New file.
19054 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19055 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19056 a check for files larger than 2GB.
19057
19058 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19059 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19060 * sysdeps/unix/sysv/linux/pread.c
19061 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19062 __OFF_T_MATCHES_OFF64_T.
19063 * sysdeps/unix/sysv/linux/pread64.c
19064 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19065 * sysdeps/unix/sysv/linux/preadv.c
19066 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19067 * sysdeps/unix/sysv/linux/preadv64.c
19068 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19069 * sysdeps/unix/sysv/linux/pwrite.c
19070 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19071 * sysdeps/unix/sysv/linux/pwrite64.c
19072 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19073 * sysdeps/unix/sysv/linux/pwritev.c
19074 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19075 * sysdeps/unix/sysv/linux/pwritev64.c
19076 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19077
19078 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19079
19080 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19081 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19082
19083 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19084
19085 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19086
19087 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19088
19089 [BZ #20240]
19090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19091 (CFLAGS-s_modf-ppc32.c): New variable.
19092 (CFLAGS-s_modff-ppc32.c): Likewise.
19093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19094 (CFLAGS-s_modf-ppc64.c): Likewise.
19095 (CFLAGS-s_modff-ppc64.c): Likewise.
19096
19097 2016-07-07 Andreas Schwab <schwab@suse.de>
19098
19099 [BZ #20263]
19100 * nptl/tst-robust10.c: New test.
19101 * nptl/Makefile (tests): Add tst-robust10.
19102
19103 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19104
19105 [BZ #20263]
19106 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19107
19108 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19109
19110 * sysdeps/s390/linkmap.h (struct link_map_machine):
19111 Remove member gotplt and add member jmprel.
19112 * sysdeps/s390/s390-32/dl-machine.h
19113 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19114 instead of gotplt with &got[3].
19115 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19116 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19117
19118 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19119
19120 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19121
19122 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19123
19124 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19125 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19126 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19127 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19128 * libio/vtables.c (_IO_vtable_check)
19129 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19130 * libio/libioP.h (IO_set_accept_foreign_vtables)
19131 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19132
19133 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19134
19135 [BZ #20314]
19136 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19137 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19138 $(common-objpfx)cmath.
19139 ($(common-objpfx)cstdlib): New target.
19140 ($(common-objpfx)cmath): Likewise.
19141
19142 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19143
19144 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19145
19146 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19147
19148 [BZ #20327]
19149 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19150 are not part of the string.
19151
19152 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19153
19154 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19155 * nptl/tst-cancel4-common.h (fifoname): New variable.
19156 (fifofd): Likewise.
19157 (cl_fifo): New function.
19158 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19159 SIGINT.
19160 (tf_open): Add early cancel test.
19161
19162 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19163
19164 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19165
19166 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19167
19168 * sysdeps/generic/ldsodefs.h
19169 (dl_symbol_visibility_binds_local_p): New inline function.
19170 * elf/dl-addr.c (determine_info): Treat hidden and internal
19171 symbols as local.
19172 * elf/dl-lookup.c (do_lookup_x): Likewise.
19173 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19174
19175 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19176
19177 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19178 invalid exception for a sNaN input.
19179 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19180 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19181 (__nearbyint_vis3): Likewise
19182 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19183 (__nearbyintf_vis3): Likewise
19184 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19185 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19186 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19187 Likewise.
19188 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19189 Likewise.
19190
19191 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 [BZ #20139]
19194 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19195 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19196 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19197 2.24 or above.
19198 (HAVE_AVX512_ASM_SUPPORT): Removed.
19199 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19200 * sysdeps/x86_64/configure: Regenerated.
19201 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19202 check unconditional.
19203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19204 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19205 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19206 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19207 Likewise.
19208 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19209 Likewise.
19210 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19211 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19212 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19213 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19214 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19215 Likewise.
19216 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19217 Likewise.
19218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19220 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19221 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19222 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19223 Likewise.
19224 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19225 Likewise.
19226 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19227 Likewise.
19228 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19229 Likewise.
19230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19231 Likewise.
19232 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19233 Likewise.
19234 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19235 Likewise.
19236 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19237 Likewise.
19238 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19239 Likewise.
19240 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19241 Likewise.
19242 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19243 Likewise.
19244
19245 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19246
19247 [BZ #20024]
19248 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19249 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19250 of this implementation of vector function.
19251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19253 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19254 Likewise.
19255 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19256 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19257 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19258 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19259 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19260 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19261 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19262 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19263 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19264 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19265 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19266 for testing vector sincos with fixed ABI.
19267 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19268 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19269 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19270 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19271 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19272 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19273 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19274 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19275 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19276 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19277 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19278 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19279 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19280 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19281 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19282 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19283
19284 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19285
19286 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19287
19288 2016-06-30 Anton Blanchard <anton@samba.org>
19289
19290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19291 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19292 s_sinf-ppc64.
19293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19296 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19297
19298 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19299
19300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19302 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19303 e_expf-ppc64.
19304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19306 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19307 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19308
19309 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19310
19311 [BZ #20277]
19312 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19313 when SHARED is defined.
19314
19315 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19318 (index_arch_Prefer_ERMS): Likewise.
19319 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19320 __memcpy_erms for Prefer_ERMS.
19321 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19322 (__memmove_erms): Enabled for libc.a.
19323 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19324 __memmove_erms or Prefer_ERMS.
19325 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19326 __mempcpy_erms for Prefer_ERMS.
19327 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19328 __memset_erms for Prefer_ERMS.
19329
19330 2016-06-30 Andreas Schwab <schwab@suse.de>
19331
19332 [BZ #20262]
19333 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19334 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19335 of memory.
19336
19337 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 [BZ #18645]
19340 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19341 (test-extras): Add tst-cleanupx4aux.
19342 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19343 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19344 tst-cleanupx4aux.o.
19345 * nptl/tst-cleanupx4aux.c: New file.
19346
19347 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19348
19349 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19350
19351 2016-06-29 Andreas Schwab <schwab@suse.de>
19352
19353 [BZ #20260]
19354 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19355 address before the beginning of the string as an integer to avoid
19356 array-bounds warning.
19357
19358 2016-06-28 Richard Henderson <rth@redhat.com>
19359
19360 * elf/elf.h (EM_BPF): New.
19361 (EM_NUM): Update.
19362 (R_BPF_NONE, R_BPF_MAP_FD): New.
19363
19364 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19365 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19366 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19367 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19368 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19369 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19370 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19371 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19372 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19373 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19374 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19375 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19376 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19377 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19378 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19379 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19380 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19381 (EM_NUM): Update.
19382
19383 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19384
19385 [BZ #18960]
19386 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19387 Set _nl_current_LC_CATEGORY_used to two instead of one.
19388
19389 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19390
19391 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19392 (do_test): ... this.
19393 (TEST_FUNCTION): New macro.
19394 Include test-skeleton.c.
19395 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19396 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19397
19398 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19399
19400 [BZ #15479]
19401 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19402 floating-point environment rather than just control word.
19403 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19404 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19405 floating-point environment, with "invalid" exceptions merged in,
19406 rather than just control word.
19407 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19408 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19409 "inexact" exceptions.
19410
19411 [BZ #15479]
19412 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19413 floating-point environment rather than just control word.
19414 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19415 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19416 floating-point environment, with "invalid" exceptions merged in,
19417 rather than just control word.
19418 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19419 * math/libm-test.inc (floor_test_data): Do not allow spurious
19420 "inexact" exceptions.
19421
19422 [BZ #15479]
19423 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19424 floating-point environment rather than just control word.
19425 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19426 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19427 floating-point environment, with "invalid" exceptions merged in,
19428 rather than just control word.
19429 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19430 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19431 "inexact" exceptions.
19432
19433 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19434
19435 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19436 __libc_vfork.
19437 (__vfork) [IS_IN (libc)]: Remove alias.
19438 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19439 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19440 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19441
19442 2016-06-24 Torvald Riegel <triegel@redhat.com>
19443
19444 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19445 of atomic_compare_and_exchange_bool_rel.
19446 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19447 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19448 catomic_compare_and_exchange_bool_rel): Remove.
19449 * sysdeps/aarch64/atomic-machine.h
19450 (atomic_compare_and_exchange_bool_rel): Likewise.
19451 * sysdeps/alpha/atomic-machine.h
19452 (atomic_compare_and_exchange_bool_rel): Likewise.
19453 * sysdeps/arm/atomic-machine.h
19454 (atomic_compare_and_exchange_bool_rel): Likewise.
19455 * sysdeps/mips/atomic-machine.h
19456 (atomic_compare_and_exchange_bool_rel): Likewise.
19457 * sysdeps/microblaze/atomic-machine.h
19458 ( __arch_compare_and_exchange_bool_8_rel,
19459 __arch_compare_and_exchange_bool_16_rel): Likewise.
19460 * sysdeps/powerpc/atomic-machine.h
19461 ( __arch_compare_and_exchange_bool_8_rel,
19462 __arch_compare_and_exchange_bool_16_rel): Likewise.
19463 * sysdeps/powerpc/powerpc32/atomic-machine.h
19464 ( __arch_compare_and_exchange_bool_32_rel,
19465 __arch_compare_and_exchange_bool_64_rel): Likewise.
19466 * sysdeps/powerpc/powerpc64/atomic-machine.h
19467 ( __arch_compare_and_exchange_bool_32_rel,
19468 __arch_compare_and_exchange_bool_64_rel): Likewise.
19469 * sysdeps/tile/atomic-machine.h
19470 (atomic_compare_and_exchange_bool_rel): Likewise.
19471
19472 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19473
19474 [BZ #20296]
19475 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19476 when either argument is a NaN.
19477 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19478 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19479
19480 * math/libm-test.inc (snan_value_ld): New macro.
19481 (isgreater_test_data): Add sNaN tests.
19482 (isgreaterequal_test_data): Likewise.
19483 (isless_test_data): Likewise.
19484 (islessequal_test_data): Likewise.
19485 (islessgreater_test_data): Likewise.
19486 (isunordered_test_data): Likewise.
19487 (nextafter_test_data): Likewise.
19488 (nexttoward_test_data): Likewise.
19489 (remainder_test_data): Likewise.
19490 (remquo_test_data): Likewise.
19491 (significand_test_data): Likewise.
19492 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19493
19494 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19495
19496 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19497 environment macros are defined.
19498 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19499
19500 2016-06-23 Florian Weimer <fweimer@redhat.com>
19501
19502 [BZ #20191]
19503 Implement vtable verification in libio.
19504 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19505 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19506 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19507 _IO_new_file_init_internal instead of _IO_file_init.
19508 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19509 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19510 * libio/Makefile (routines): Add vtables.
19511 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19512 (_IO_init): Remove, not for internal use.
19513 (_IO_init_internal): Declare, internal replacement for _IO_init.
19514 (_IO_file_init): Remove, not for internal use.
19515 (_IO_new_file_init): Remove, not for internal use.
19516 (_IO_new_file_init_internal): Declare, internal replacement for
19517 _IO_new_file_init.
19518 (_IO_old_file_init): Remove, not for internal use.
19519 (_IO_old_file_init_internal): Declare, internal replacement for
19520 _IO_old_file_init.
19521 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19522 internal use.
19523 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19524 Declare.
19525 (libio_vtable): New macro.
19526 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19527 functions.
19528 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19529 _IO_new_file_init.
19530 (_IO_new_file_init): New externally visible wrapper which disables
19531 vtable verification.
19532 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19533 Define as vtables.
19534 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19535 (_IO_init): New externally visible wrapper which disables
19536 vtable verification.
19537 * libio/iofdopen.c (_IO_new_fdopen): Call
19538 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19539 comment.
19540 * libio/iofopen.c (__fopen_internal): Call
19541 _IO_new_file_init_internal instead of _IO_file_init.
19542 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19543 Define as vtables.
19544 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19545 _IO_new_file_init_internal instead of _IO_file_init.
19546 * libio/iopopen.c (_IO_new_popen): Likewise.
19547 (_IO_proc_jumps): Define as vtable.
19548 * libio/iovdprintf.c (_IO_vdprintf): Call
19549 _IO_new_file_init_internal instead of _IO_file_init.
19550 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19551 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19552 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19553 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19554 _IO_old_file_init.
19555 (_IO_old_file_init): New externally visible wrapper which disables
19556 vtable verification.
19557 (_IO_old_file_jumps): Define as vtable.
19558 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19559 _IO_old_file_init_internal instead of _IO_old_file_init.
19560 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19561 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19562 (_IO_old_proc_jumps): Define as vtable.
19563 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19564 Define as vtables.
19565 * libio/vtables.c: New file.
19566 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19567 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19568 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19569 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19570 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19571 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19572 instead of _IO_init.
19573
19574 2016-06-23 Florian Weimer <fweimer@redhat.com>
19575
19576 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19577
19578 2016-06-23 Florian Weimer <fweimer@redhat.com>
19579
19580 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19581 potentially unused.
19582
19583 2016-06-22 Florian Weimer <fweimer@redhat.com>
19584
19585 * test-skeleton.c (write_message): New function.
19586 * malloc/tst-mallocfork2.c (write_message): Remove.
19587 * debug/tst-longjmp_chk2.c (write_indented): New function.
19588 (write_message): Remove.
19589 (stackoverflow_handler): Call write_indented.
19590
19591 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19592
19593 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19594 "inexact" exceptions after fnstenv.
19595 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19596 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19597 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19598
19599 2015-06-22 Zack Weinberg <zackw@panix.com>
19600
19601 * sysdeps/generic/bits/hwcap.h: Moved to ...
19602 * bits/hwcap.h: Here.
19603
19604 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19605
19606 * sysdeps/aarch64/memcpy.S (memcpy):
19607 Further tuning for performance.
19608
19609 2016-06-21 Florian Weimer <fweimer@redhat.com>
19610
19611 [BZ #20284]
19612 * malloc/arena.c (reused_arena): Do not return NULL if we start
19613 out with a non-corrupted arena.
19614
19615 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19616
19617 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19618 * misc/tst-preadvwritev.c: New file.
19619 * misc/tst-preadvwritev64.c: Likewise.
19620 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19621 usage.
19622 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19623 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19624 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19625 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19626
19627 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19628
19629 [BZ #19654]
19630 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19631 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19632 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19633 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19634 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19635 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19636 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19637 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19638 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19639 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19640 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19641 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19642 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19643 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19644 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19645 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19646 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19647 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19648 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19649 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19650 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19651 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19652 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19653 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19654 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19655 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19656
19657 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19658
19659 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19660 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19661
19662 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19663
19664 * sysdeps/aarch64/memcpy.S (memcpy):
19665 Rewrite of optimized memcpy and memmove.
19666 * sysdeps/aarch64/memmove.S (memmove): Remove
19667 memmove code (merged into memcpy.S).
19668
19669 2016-06-20 Florian Weimer <fweimer@redhat.com>
19670
19671 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19672 * sysdeps/generic/dl-dtv.h: New file.
19673 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19674 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19675 (dtv_t): Remove.
19676 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19677 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19678 (dtv_t): Remove.
19679 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19680 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19681 (dtv_t): Remove.
19682 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19683 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19684 (dtv_t): Remove.
19685 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19686 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19687 (dtv_t): Remove.
19688 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19689 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19690 (dtv_t): Remove.
19691 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19692 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19693 (dtv_t): Remove.
19694 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19695 (dtv_t): Remove.
19696 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19697 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19698 (dtv_t): Remove.
19699 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19700 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19701 (dtv_t): Remove.
19702 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19703 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19704 (dtv_t): Remove.
19705 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19706 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19707 (dtv_t): Remove.
19708 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19709 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19710 (dtv_t): Remove.
19711 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19712 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19713 (dtv_t): Remove.
19714 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19715 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19716 (dtv_t): Remove.
19717 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19718 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19719 (dtv_t): Remove.
19720
19721 2016-06-20 Florian Weimer <fweimer@redhat.com>
19722
19723 Revert symbol poisoning of __malloc_initialize_hook.
19724 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19725 poisoning.
19726 * malloc/Makefile: Remove un-poisoning.
19727 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19728 instead of old__malloc_initialize_hook.
19729 * malloc/malloc-hooks.h: Likewise.
19730 * malloc/malloc.c: Likewise.
19731 * malloc/mcheck-init.c: Likewise.
19732
19733 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19734
19735 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19736
19737 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19738
19739 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19740 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19741 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19742 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19743
19744 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19745
19746 * NEWS: Mention addition of nextup and nextdown.
19747 * manual/arith.texi: Document nextup and nextdown.
19748 * manual/libm-err-tab.pl: Add nextup and nextdown.
19749 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19750 * math/Versions (libm): Add GLIBC_2.24.
19751 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19752 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19753 Add new test.
19754 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19755 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19756 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19757 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19758 (nextup_test_data): Likewise.
19759 (nextdown_test_data): Likewise.
19760 * math/s_nextdown.c: New file.
19761 * math/s_nextdownf.c: Likewise.
19762 * math/s_nextdownl.c: Likewise.
19763 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19764 F(nextup): New function.
19765 F(nextdown): Likewise.
19766 * math/tgmath.h: Add nextup and nextdown.
19767 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19768 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19773 Add nextup and nextdown.
19774 (CFLAGS-nldbl-nextup.c): New variable.
19775 (CFLAGS-nldbl-nextdown.c): Likewise.
19776 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19777 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19778 * sysdeps/nacl/libm.abilist: Update.
19779 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19780 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19781 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19783 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19784 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19785 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19786 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19787 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19788 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19789 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19790 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19793 Likewise.
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19796 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19797 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19798 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19799 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19803 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19804 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19805 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19807
19808 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19809
19810 * manual/pattern.texi: Fix typos & grammar errors.
19811
19812 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19813
19814 * manual/search.texi: Fix typos & grammar errors.
19815
19816 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19817
19818 * manual/message.texi: Fix typos & grammar errors.
19819
19820 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19821
19822 * manual/contrib.texi: Fix spelling typos.
19823 * manual/crypt.texi: Likewise.
19824 * manual/filesys.texi: Likewise.
19825 * manual/locale.texi: Likewise.
19826 * manual/message.texi: Likewise.
19827 * manual/nss.texi: Likewise.
19828 * manual/string.texi: Likewise.
19829
19830 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19831
19832 * manual/locale.texi: Fix typos & grammar errors.
19833
19834 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19835
19836 * manual/charset.texi: Fix typos & grammar errors.
19837
19838 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19839
19840 * manual/string.texi: Fix typos.
19841
19842 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19843
19844 * manual/ctype.texi: Fix typos.
19845
19846 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19847
19848 * manual/memory.texi: Fix various typos & grammar errors.
19849
19850 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19851
19852 [BZ #20255]
19853 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19854 * math/libm-test.inc (fdim_test_data): Add another test.
19855
19856 [BZ #6796]
19857 [BZ #20255]
19858 [BZ #20256]
19859 * math/s_fdim.c: Include <math_private.h>.
19860 (__fdim): Use math_narrow_eval on result.
19861 * math/s_fdimf.c: Include <math_private.h>.
19862 (__fdimf): Use math_narrow_eval on result.
19863 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19864 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19865 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19866 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19867 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19868 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19869 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19870 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19871 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19872 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19873 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19874 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19875 overflow. Add sNaN tests.
19876
19877 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19878 fpclassify.
19879 * math/s_fdimf.c (__fdimf): Likewise.
19880 * math/s_fdiml.c (__fdiml): Likewise.
19881
19882 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19883
19884 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19885 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19887 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19888 ifunc'ed strcasecmp/strncasecmp.
19889 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19890 [EALIGN]: Removed.
19891 [END]: Likewise.
19892 [__strcasecmp]: Define instead of the above to control symbol name.
19893 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19894 for __strcasecmp_power8.
19895 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19896 for __strncasecmp_power8.
19897 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19898 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19899 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19900 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19901 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19902 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19903
19904 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19905
19906 [BZ #20252]
19907 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19908 arguments when second argument is a NaN.
19909 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19910 qNaN tests.
19911
19912 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19913 (conj_test_data): Likewise.
19914 (copysign_test_data): Likewise.
19915 (creal_test_data): Likewise.
19916 (fma_test_data): Likewise.
19917 (fmod_test_data): Likewise.
19918
19919 [BZ #20250]
19920 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19921 itself.
19922 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19923 zero input to itself.
19924 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19925 Likewise.
19926 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19927 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19929 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19930 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19931
19932 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19933
19934 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19935 * nptl/tst-cancel4-common.c: New file.
19936 * nptl/tst-cancel4-common.h: Likewise.
19937 * nptl/tst-cancel4.c: Move common definitions to
19938 tst-cancel4-common.{c,h} file.
19939 * nptl/tst-cancel4_1.c: New test.
19940 * nptl/tst-cancel4_2.c: New test.
19941
19942 2016-06-13 Florian Weimer <fweimer@redhat.com>
19943
19944 [BZ #20248]
19945 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19946 (write_message): New function.
19947 (stackoverflow_handler): Call it instead of printf, to avoid
19948 excessive stack usage by printf.
19949 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19950
19951 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19952
19953 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19954 (prio_inherit_missing): Remove define.
19955 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19956 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19958 Likewise.
19959 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19960 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19961 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19962 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19963 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19964 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19965
19966 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19967
19968 [BZ #19670]
19969 [BZ #19672]
19970
19971 * io/test-lfs.c (do_prepare): Use xmalloc.
19972 * io/tst-fcntl.c (do_prepare): Likewise.
19973 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19974 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19975 * login/tst-utmp.c (do_prepare): Likewise.
19976 * posix/tst-exec.c (do_prepare): Likewise.
19977 * posix/tst-pathconf.c (prepare): Likewise.
19978 * posix/tst-spawn.c (do_prepare): Likewise.
19979 * posix/tst-truncate.c (do_prepare): Likewise.
19980 * rt/tst-aio.c (do_prepare): Likewise.
19981 * rt/tst-aio64.c (do_prepare): Likewise.
19982
19983 2016-06-11 Florian Weimer <fweimer@redhat.com>
19984
19985 [BZ #20237]
19986 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19987 (get*ent): Set entidx to NULL during initialization. If entidx is
19988 NULL, start iteration from the beginning.
19989
19990 2016-06-11 Florian Weimer <fweimer@redhat.com>
19991
19992 * malloc/malloc.c (musable): Return correct size for dumped fake
19993 mmapped chunk.
19994
19995 2016-06-11 Florian Weimer <fweimer@redhat.com>
19996
19997 [BZ #20222]
19998 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19999 (_IO_cookie_write): Likewise.
20000 (_IO_cookie_seek): Likewise.
20001 (_IO_cookie_close): Likewise.
20002 (_IO_old_cookie_seek): Likewise.
20003 (set_callbacks): New function.
20004 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20005
20006 2016-06-11 Marko Myllynen <myllynen@redhat.com>
20007
20008 * locale/programs/localedef.c (oldstyle_tables): Remove.
20009 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20010
20011 2016-06-10 Joseph Myers <joseph@codesourcery.com>
20012
20013 [BZ #20240]
20014 * math/Makefile (CFLAGS-s_modf.c): New variable.
20015 (CFLAGS-s_modff.c): Likewise.
20016 (CFLAGS-s_modfl.c): Likewise.
20017 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20018
20019 2016-06-09 Carlos O'Donell <carlos@redhat.com>
20020
20021 [BZ #20215]
20022 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20023 [!__GNUC_PREREQ (3,2)]: Likewise.
20024
20025 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20026
20027 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20028 (msghdr.msg_controllen): Likewise.
20029 (cmsghdr.cmsg_len): Likewise.
20030 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20031 ptw-oldsendmsg.
20032 (CFLAGS-oldrecvmsg.c): Remove rule.
20033 (CFLAGS-oldsendmsg.c): Likewise.
20034 (CFLAGS-recvmsg.c): Add rule.
20035 (CFLAGS-sendmsg.c): Likewise.
20036 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20037 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20038 (CFLAGS-recvmsg.c): Remove rule.
20039 (CFLAGS-sendmsg.c): Likewise.
20040 (CFLAGS-oldrecvmsg.c): Likewise.
20041 (CFLAGS-oldsendmsg.c): Likewise.
20042 (CFLAGS-recvmmsg.c): Likewise.
20043 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20044 to kernel defined interfaces.
20045 (msghdr.msg_controllen): Likewise.
20046 (cmsghdr.cmsg_len): Likewise.
20047 (msghdr.__glibc_reserved1): Remove member.
20048 (msghdr.__glibc_reserved2): Likewise.
20049 (cmsghdr.__glibc_reserved1): Likewise.
20050 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20051 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20052 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20053 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20054 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20055 version.
20056 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20057 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20058 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20059 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20060 Remove recvmsg and sendmsg.
20061 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20062 Likewise.
20063 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20064 Likewise.
20065 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20066 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20067 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20068 Likewise.
20069 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20070 Likewise.
20071 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20072 [libc] (GLIBC_2.24): Likewise.
20073 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20074 Likewise.
20075 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20076 Likewise.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20078 [libc] (GLIBC_2.24): Likewise.
20079 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20080 Likewise.
20081 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20082 Likewise.
20083 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20084 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20085 Likewise.
20086 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20087 Likewise.
20088 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20089 Likewise.
20090 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20091 Likewise.
20092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20093 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20094 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20095 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20096 version for {recv,send,recm,sendm}msg.
20097 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20099 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20100 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20101 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20102 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20103 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20104 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20105 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20106 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20107 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20110 Likewise.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20112 Likewise.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20116 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20117 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20118 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20120 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20123 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20124 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20126
20127 2016-06-10 Florian Weimer <fweimer@redhat.com>
20128
20129 [BZ #19564]
20130 Remove __malloc_initialize_hook from the API.
20131 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20132 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20133 #pragma GCC poison.
20134 * malloc/malloc-hooks.h: New file.
20135 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20136 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20137 (old__malloc_initialize_hook): Rename from
20138 __malloc_initialize_hook to evade poisoning. Turn into compat
20139 symbol.
20140 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20141 __malloc_initialize_hook.
20142 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20143 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20144 * manual/memory.texi (Hooks for Malloc): Remove
20145 __malloc_initialize_hook. Adjust hook example.
20146
20147 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20148
20149 [BZ #20235]
20150 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20151 itself.
20152 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20153 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20154
20155 [BZ #20234]
20156 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20157 infinity or NaN input to itself.
20158
20159 [BZ #20233]
20160 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20161 to itself.
20162
20163 [BZ #20232]
20164 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20165 itself.
20166
20167 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20168
20169 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20170 __libc_start_main via GOT.
20171
20172 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20173
20174 * sysdeps/x86_64/memcopy.h: New file.
20175 * sysdeps/x86_64/wordcopy.c: Likewise.
20176
20177 2016-06-09 Florian Weimer <fweimer@redhat.com>
20178
20179 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20180 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20181 <cstdlib>.
20182 (optimization_barrier): New.
20183 (do_test): Use it. Call quick_exit in the global namespace.
20184 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20185 instead of <cstdlib>, <thread>.
20186 (optimization_barrier): New.
20187 (non_main_thread): Adjust declaration. Call optimization_barrier.
20188 Call quick_exit in the global namespace.
20189 (do_test): Call optimization_barrier. Use pthread_create,
20190 pthread_join instead of std::thread.
20191
20192 2016-06-09 Andreas Schwab <schwab@suse.de>
20193
20194 [BZ #19755]
20195 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20196 new entries in auto-propagate mode.
20197 * nscd/grpcache.c (cache_addgr): Likewise.
20198
20199 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20200
20201 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20202 New functions.
20203 (add_temp_file): Use them.
20204
20205 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20206
20207 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20208
20209 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20210
20211 [BZ #20229]
20212 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20213 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20214 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20215
20216 [BZ #20228]
20217 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20218 itself.
20219 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20220 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20221
20222 [BZ #20227]
20223 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20224 itself.
20225 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20226 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20227 * math/libm-test.inc (log_test_data): Add sNaN tests.
20228
20229 [BZ #20226]
20230 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20231 itself.
20232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20233 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20234 (exp10_test_data): Likewise.
20235 (expm1_test_data): Likewise.
20236
20237 [BZ #20225]
20238 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20239 itself.
20240 * math/s_ldexpf.c (__ldexpf): Likewise.
20241 * math/s_ldexpl.c (__ldexpl): Likewise.
20242 * math/w_scalbln.c (__w_scalbln): Likewise.
20243 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20244 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20245 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20246 (scalbln_test_data): Likewise.
20247
20248 [BZ #20224]
20249 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20250 argument to itself.
20251 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20252
20253 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20254
20255 [BZ #19776]
20256 * sysdeps/x86_64/memcpy.S: Make it dummy.
20257 * sysdeps/x86_64/mempcpy.S: Likewise.
20258 * sysdeps/x86_64/memmove.S: New file.
20259 * sysdeps/x86_64/memmove_chk.S: Likewise.
20260 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20261 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20262 * sysdeps/x86_64/memmove.c: Removed.
20263 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20264 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20265 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20266 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20267 Likewise.
20268 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20271 memcpy-sse2-unaligned, memmove-avx-unaligned,
20272 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20274 (__libc_ifunc_impl_list): Replace
20275 __memmove_chk_avx512_unaligned_2 with
20276 __memmove_chk_avx512_unaligned. Remove
20277 __memmove_chk_avx_unaligned_2. Replace
20278 __memmove_chk_sse2_unaligned_2 with
20279 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20280 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20281 with __memmove_avx512_unaligned. Replace
20282 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20283 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20284 with __memcpy_chk_avx512_unaligned. Remove
20285 __memcpy_chk_avx_unaligned_2. Replace
20286 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20287 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20288 Replace __memcpy_avx512_unaligned_2 with
20289 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20290 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20291 with __mempcpy_chk_avx512_unaligned. Remove
20292 __mempcpy_chk_avx_unaligned_2. Replace
20293 __mempcpy_chk_sse2_unaligned_2 with
20294 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20295 Replace __mempcpy_avx512_unaligned_2 with
20296 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20297 Replace __mempcpy_sse2_unaligned_2 with
20298 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20299 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20300 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20301 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20302 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20303 (ENTRY): Removed.
20304 (END): Likewise.
20305 (ENTRY_CHK): Likewise.
20306 (libc_hidden_builtin_def): Likewise.
20307 Don't include ../memcpy.S.
20308 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20309 __memcpy_chk_avx512_unaligned_erms and
20310 __memcpy_chk_avx512_unaligned. Use
20311 __memcpy_chk_avx_unaligned_erms and
20312 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20313 Default to __memcpy_chk_sse2_unaligned.
20314 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20315 Change function suffix from unaligned_2 to unaligned.
20316 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20317 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20318 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20319 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20320 (ENTRY): Removed.
20321 (END): Likewise.
20322 (ENTRY_CHK): Likewise.
20323 (libc_hidden_builtin_def): Likewise.
20324 Don't include ../mempcpy.S.
20325 (mempcpy): New. Add a weak alias.
20326 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20327 __mempcpy_chk_avx512_unaligned_erms and
20328 __mempcpy_chk_avx512_unaligned. Use
20329 __mempcpy_chk_avx_unaligned_erms and
20330 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20331 Default to __mempcpy_chk_sse2_unaligned.
20332
20333 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20334
20335 [BZ #19881]
20336 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20337 into ...
20338 * sysdeps/x86_64/memset.S: This.
20339 (__bzero): Removed.
20340 (__memset_tail): Likewise.
20341 (__memset_chk): Likewise.
20342 (memset): Likewise.
20343 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20344 defined.
20345 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20346 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20347 (__memset_zero_constant_len_parameter): Check SHARED instead of
20348 PIC.
20349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20350 memset-avx2 and memset-sse2-unaligned-erms.
20351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20352 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20353 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20354 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20355 (__bzero): Enabled.
20356 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20357 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20358 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20359 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20360 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20361 (memset): Removed.
20362 (__memset_chk): Likewise.
20363 (MEMSET_SYMBOL): New.
20364 (libc_hidden_builtin_def): Replace __memset_sse2 with
20365 __memset_sse2_unaligned.
20366 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20367 __memset_chk_sse2 and __memset_chk_avx2 with
20368 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20369 Use __memset_chk_sse2_unaligned_erms or
20370 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20371 __memset_chk_avx512_unaligned_erms and
20372 __memset_chk_avx512_unaligned.
20373
20374 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20375
20376 * math/gen-auto-libm-test.c (fp_format_desc): remove
20377 suffix member.
20378 (output_generic_value): Remove usage of suffix member,
20379 and the resulting unuse of the fp_format argument.
20380 (output_for_one_input_case): Remove unused fp_format
20381 parameter.
20382
20383 * math/auto-libm-test-out: Regenerate.
20384
20385 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20386 usage with TEST_COND_ibm128.
20387 (TEST_COND_flt_32): Remove.
20388 (TEST_COND_dbl_64): Remove.
20389 (TEST_COND_ldbl_96_intel): Remove.
20390 (TEST_COND_ldbl_96_m68k): Remove.
20391 (TEST_COND_ldbl_128): Remove.
20392
20393 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20394
20395 * auto-libm-test-in:
20396 Replace flt-32 usage with binary32.
20397 Replace dbl-64 usage with binary64.
20398 Replace ldbl-intel-96 usage with intel96.
20399 Replace ldbl-m68k-96 usage with m68k96.
20400 Replace ldbl-128ibm usage with ibm128.
20401 Replace ldbl-128 usage with binary128.
20402
20403 * auto-libm-test-out: Regenerate.
20404
20405 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20406
20407 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20408 (parse_ulps): Dynamically generate type name matching
20409 string from all_floats.
20410 (get_ulps): Generate the ulps as an array instead.
20411 (output_ulps): Dynamically compose the type based
20412 on the number of supported formats, and print
20413 the indices as type specific helper macros.
20414
20415 * math/libm-test.inc: Remove comment about CHOOSE.
20416 (ulp_data): Generate the type in libm-test-ulps.h.
20417 (ULP_IDX): New macro.
20418 (find_ulps): Update usage of max_ulp.
20419
20420 * math/test-double-vlen2.h (CHOOSE): Remove.
20421 * math/test-double-vlen4.h (CHOOSE): Likewise.
20422 * math/test-double-vlen8.h (CHOOSE): Likewise.
20423 * math/test-float.c (CHOOSE): Likewise.
20424 * math/test-float-finite.c (CHOOSE): Likewise.
20425 * math/test-double.c (CHOOSE): Likewise.
20426 * math/test-double-finite.c (CHOOSE): Likewise.
20427 * math/test-idouble.c (CHOOSE): Likewise.
20428 * math/test-ifloat.c (CHOOSE): Likewise.
20429 * math/test-ildoubl.c (CHOOSE): Likewise.
20430 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20431 * math/test-ldouble.c (CHOOSE): Likewise.
20432
20433 * math/test-float.h (TEST_FLOAT): Remove.
20434 * math/test-double.h (TEST_DOUBLE): Likewise.
20435 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20436
20437 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20438
20439 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20440 (parse_args): Strip C suffix from floating point literals
20441 typed with 'f' and wrap them with LIT().
20442
20443 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20444 (test_ff_f_data_nexttoward): Rename to
20445 (test_fj_f_data): New struct.
20446 (nexttoward_test_data): Relabel tests as
20447 TEST_fj_f instead of TEST_ff_f.
20448
20449 2016-06-08 Florian Weimer <fweimer@redhat.com>
20450
20451 Emacs bug 23726.
20452 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20453 (__libc_realloc): Correct size computation for dumped fake mmapped
20454 chunks.
20455
20456 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20457
20458 [BZ #20219]
20459 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20460 to itself.
20461 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20462
20463 [BZ #20218]
20464 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20465 to itself.
20466 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20467
20468 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20469
20470 [BZ #20195]
20471 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20472 check to ...
20473 (init_cpu_features): Here.
20474
20475 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20476
20477 [BZ #20214]
20478 * sysdeps/unix/sysv/linux/bits/in.h
20479 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20480 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20481 Define to 1.
20482 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20483 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20484 Define to 0.
20485 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20486 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20487
20488 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20489
20490 [BZ #20198]
20491 * stdlib/Makefile (tests): Add tst-quick_exit, and
20492 tst-thread-quick_exit.
20493 [ifeq ($(have-cxx-thread_local),yes)]
20494 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20495 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20496 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20497 (LDLIBS-tst-thread-quick_exit): Likewise.
20498 [ifneq ($(have-cxx-thread_local),yes)]
20499 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20500 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20501 If run_dtors is true call __call_tls_dtors.
20502 (exit): Call __run_exit_handlers with run_dtors set to true.
20503 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20504 definition.
20505 * stdlib/quick_exit.c (quick_exit): Remove function.
20506 (__new_quick_exit): New function.
20507 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20508 function.
20509 * stdlib/tst-quick_exit.cc: New file.
20510 * stdlib/tst-thread-quick_exit.cc: New file.
20511 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20512 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20513 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20514 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20515 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20516 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20517 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20518 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20519 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20520 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20521 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20522 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20523 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20524 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20525 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20526 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20531 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20532 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20533 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20534 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20535 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20538 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20539 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20540 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20541
20542 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20543
20544 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20545 a typo in comments.
20546
20547 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20548
20549 [BZ #20213]
20550 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20551 argument to itself.
20552 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20553
20554 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20555
20556 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20557 required flags.
20558 (CFLAGS-pwritev64.c): Likewise.
20559 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20560 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20561 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20562 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20563 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20564 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20565 syscall from auto-generation.
20566 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20567 [WORDSIZE == 64] (pwritev64): Remove macro.
20568 [!PWRITEV] (PWRITEV): Likewise.
20569 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20570 [!PWRITEV] (PWRITE): Likewise.
20571 [!PWRITEV] (OFF_T): Likewise.
20572 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20573 (LO_HI_LONG): Remove macro.
20574 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20575 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20576 (PWRITEV): Remove macro.
20577 (PWRITEV_REPLACEMENTE): Likewise.
20578 (PWRITE): Likewise.
20579 (OFF_T): Likewise.
20580 (pwritev64): New function.
20581 * nptl/tst-cancel4.c (tf_writev): Add test.
20582
20583 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20584 required flags.
20585 (CFLAGS-preadv64.c): Likewise.
20586 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20587 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20588 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20589 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20590 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20591 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20592 syscall from auto-generation.
20593 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20594 [WORDSIZE == 64] (preadv64): Remove macro.
20595 [!PREADV] (PREADV): Likewise.
20596 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20597 [!PREADV] (PREAD): Likewise.
20598 [!PREADV] (OFF_T): Likewise.
20599 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20600 (LO_HI_LONG): Remove macro.
20601 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20602 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20603 (PREADV): Remove macro.
20604 (PREADV_REPLACEMENTE): Likewise.
20605 (PREAD): Likewise.
20606 (OFF_T): Likewise.
20607 (preadv64): New function.
20608 * nptl/tst-cancel4.c (tf_preadv): Add test.
20609
20610 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #20212]
20613 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20614 argument to itself.
20615 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20616
20617 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20618
20619 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20620 New symbol defined as libc_hidden_def.
20621 (strcasestr): Became a weak alias to __strcasestr.
20622 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20623 according to multi-arch support. Move __stpncpy hidden
20624 definition from here to...
20625 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20626 symbol stpncpy.
20627 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20628 libc_hidden_builtin_def.
20629 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20630 memset symbol to use when multi-arch support is available.
20631
20632 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20633
20634 * dlfcn/tst-rec-dlopen.c: Include string.h.
20635
20636 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20637
20638 * manual/install.texi: Remove mention of --without-tls
20639 * INSTALL: Regenerate.
20640
20641 2016-06-05 Florian Weimer <fweimer@redhat.com>
20642
20643 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20644 Remove.
20645 (call_function, interposed_malloc_called): New variables.
20646 (malloc): New function.
20647 (do_test): Do not change malloc hooks. Initialize malloc. Set
20648 and clear call_function as needed.
20649
20650 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20651
20652 * include/wchar.h (__wmemset): Use __typeof.
20653
20654 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20655
20656 * include/wchar.h (__wmemset): Declare function without typeof.
20657
20658 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20659
20660 [BZ #20205]
20661 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20662 exponent when incrementing negative subnormal with low mantissa
20663 word zero.
20664 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20665 Add another test.
20666
20667 2016-06-03 Florian Weimer <fweimer@redhat.com>
20668
20669 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20670 __wmemset instead of wmemset.
20671
20672 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20673
20674 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20675 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20676 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20677 __USE_KERNEL_IPV6_DEFS to 0.
20678 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20679 Update comment.
20680
20681 2016-06-01 Florian Weimer <fweimer@redhat.com>
20682
20683 [BZ #19861]
20684 Do not use IFUNC resolver with potentially unrelocated symbol.
20685 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20686 (DEFINE_FORK): Remove macro and inline definition.
20687 (fork_alias): Renamed from fork_ifunc.
20688 (__fork_alias): Renamed from __fork_ifunc.
20689
20690 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20691
20692 [BZ 19653]
20693 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20694 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20695
20696 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20697
20698 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20699 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20700 i386-linux-gnu).
20701 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20702 Set to no.
20703 * sysdeps/mach/hurd/configure: Refresh.
20704
20705 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20706
20707 [BZ #20178]
20708 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20709 on failure instead of exit.
20710
20711 2016-05-30 Roland McGrath <roland@hack.frob.com>
20712
20713 [BZ #3629]
20714 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20715 of POSIX.1-2008.
20716
20717 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20718
20719 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20720 Use PLT entry for calling _hurd_self_sigstate.
20721
20722 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20725 available logical processors with SMT level type sharing L2
20726 cache for Intel processors.
20727
20728 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20729
20730 [BZ #20160]
20731 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20732 argument to itself before returning the result.
20733 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20734 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20735 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20737 Likewise.
20738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20739 Likewise.
20740 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20741 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20742 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20743 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20744 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20745 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20746
20747 [BZ #20160]
20748 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20749 argument to itself before returning the result.
20750 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20751 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20752 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20754 Likewise.
20755 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20756 Likewise.
20757 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20758 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20759 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20760 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20761 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20762 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20763
20764 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20765
20766 * libm-test.inc: Replace usage of M_El with
20767 (lit_e): New macro.
20768
20769 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20770
20771 * libm-test.inc: Replace usage of M_PI_4l with
20772 (lit_pi_4_d): New macro.
20773
20774 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20775
20776 * libm-test.inc: Replace usage of M_PIl with
20777 (lit_pi): New macro.
20778
20779 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20780
20781 * libm-test.inc: Replace usage of M_PI2l with
20782 (lit_pi_2_d): New macro.
20783
20784 * math/test-double.h (LITM): New macro.
20785 * math/test-float.h (LITM): Likewise.
20786 * math/test-ldouble.h (LITM): Likewise.
20787
20788 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20789
20790 * libm-test.inc (M_PI_34l): Rename to
20791 (lit_pi_3_m_4_d): New Macro.
20792 (M_PI_34_LOG10El): Rename to
20793 (lit_pi_3_m_4_ln10_m_d): New Macro.
20794 (M_PI2_LOG10El): Rename to
20795 (lit_pi_2_ln10_m_d): New Macro.
20796 (M_PI4_LOG10El): Rename to
20797 (lit_pi_4_ln10_m_d): New Macro.
20798 (M_PI_LOG10El): Rename to
20799 (lit_pi_ln10_d): New Macro.
20800
20801 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20802
20803 [BZ #20157]
20804 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20805 determine whether to negate low half if [_ARCH_PPCGR], and integer
20806 comparison otherwise.
20807 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20808 determine whether to negate low half.
20809
20810 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20811 (NO_TEST_INLINE_DOUBLE): Likewise.
20812 (TEST_COND_x86_64): Likewise.
20813 (TEST_COND_x86): Likewise.
20814 (M_PI_6l): Likewise.
20815
20816 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20817
20818 * math/libm-test.inc:
20819 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20820 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20821 (TEST_LDOUBLE): Update usage to evaluate as true if
20822 the guarded tests match the property being tested.
20823 (LDBL_MAX_EXP): Change to MAX_EXP.
20824 (LDBL_MIN_EXP): Change to MIN_EXP.
20825 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20826 nexttoward tests.
20827
20828 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20829
20830 * math/libm-test.inc:
20831 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20832 (TYPE_MIN): Likewise.
20833 (TYPE_TRUE_MIN): Likewise.
20834 (TYPE_MAX): Likewise.
20835 (MIN_EXP): Likewise.
20836 (MAX_EXP): Likewise.
20837 (MANT_DIG): Likewise.
20838
20839 (FSTR_MAX): New macro.
20840 (__CONCATX): Likewise.
20841 (QTYPE_STR): Likewise.
20842 (TEST_COND_binary32): Likewise.
20843 (TEST_COND_binary64): Likewise.
20844 (TEST_COND_binary128): Likewise.
20845 (TEST_COND_ibm128): Likewise.
20846 (TEST_COND_intel96): Likewise.
20847 (TEST_COND_m68k96): Likewise.
20848
20849 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20850 (TEST_COND_dbl_64): Likewise.
20851 (TEST_COND_ldbl_96_intel): Likewise.
20852 (TEST_COND_ldbl_96_m68k): Likewise.
20853 (TEST_COND_ldbl_128): Likewise.
20854 (TEST_COND_ldbl_128ibm): Likewise.
20855
20856 (plus_zero): Redefine using LIT macro.
20857 (minus_zero): Likewise.
20858 (plus_infty): Redefine as (INF).
20859 (minux_infty): Redefine as (-INF).
20860 (max_value): Redefine as TYPE_MAX.
20861 (min_value): Redefine as TYPE_MIN.
20862 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20863
20864 (print_float): Refactor to use snprintf to convert FLOAT values
20865 to string. This brings it closer to dropin replacement of strtof
20866 for the TS 18661 defined types.
20867 (update_stats): Likewise.
20868 (print_complex_function_ulps): Likewise.
20869 (print_max_error): Likewise.
20870 (print_complex_max_error): Likewise.
20871 (check_float_internal): Likewise.
20872
20873 * math/test-float.h (PREFIX): New macro.
20874 (LIT): Likewise.
20875 (TYPE_STR): Likewise.
20876 (FTOSTR): Likewise.
20877
20878 * math/test-double.h (PREFIX): New macro.
20879 (LIT): Likewise.
20880 (TYPE_STR): Likewise.
20881 (FTOSTR): Likewise.
20882
20883 * math/test-ldouble.h (PREFIX): New macro.
20884 (LIT): Likewise.
20885 (TYPE_STR): Likewise.
20886 (FTOSTR): Likewise.
20887
20888 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20889
20890 [BZ #20156]
20891 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20892 to itself when zero or not finite.
20893 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20894 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20895 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20896 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20897
20898 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20899
20900 [BZ #20153]
20901 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20902 x * x + x for infinities and NaNs.
20903
20904 [BZ #20151]
20905 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20906 argument to itself before returning result.
20907 (__ieee754_y0l): Likewise.
20908 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20909 (__ieee754_y1l).
20910
20911 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20912 (atan_test_data): Likewise.
20913 (ceil_test_data): Likewise.
20914 (cos_test_data): Likewise.
20915 (cosh_test_data): Likewise.
20916 (erf_test_data): Likewise.
20917 (exp2_test_data): Likewise.
20918 (fabs_test_data): Likewise.
20919 (floor_test_data): Likewise.
20920 (ilogb_test_data): Likewise.
20921 (j0_test_data): Likewise.
20922 (j1_test_data): Likewise.
20923 (jn_test_data): Likewise.
20924 (lgamma_test_data): Likewise.
20925 (lrint_test_data): Likewise.
20926 (llrint_test_data): Likewise.
20927 (logb_test_data): Likewise.
20928 (lround_test_data): Likewise.
20929 (llround_test_data): Likewise.
20930 (nearbyint_test_data): Likewise.
20931 (rint_test_data): Likewise.
20932 (round_test_data): Likewise.
20933 (sin_test_data): Likewise.
20934 (sincos_test_data): Likewise.
20935 (sinh_test_data): Likewise.
20936 (sqrt_test_data): Likewise.
20937 (tan_test_data): Likewise.
20938 (tanh_test_data): Likewise.
20939 (tgamma_test_data): Likewise.
20940 (trunc_test_data): Likewise.
20941 (y0_test_data): Likewise.
20942 (y1_test_data): Likewise.
20943 (yn_test_data): Likewise.
20944
20945 * math/libm-test.inc: Update comment about NaN testing.
20946 (TEST_SNAN): New macro.
20947 (snan_value): Likewise.
20948 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20949 (fpclassify_test_data): Add sNaN tests.
20950 (isfinite_test_data): Likewise.
20951 (isinf_test_data): Likewise.
20952 (isnan_test_data): Likewise.
20953 (isnormal_test_data): Likewise.
20954 (issignaling_test_data): Likewise.
20955 (signbit_test_data): Likewise.
20956 * math/gen-libm-test.pl (%beautify): Add snan_value.
20957 (show_exceptions): Add argument $test_snan.
20958 (parse_args): Handle snan_value as non-finite. Update call to
20959 show_exceptions.
20960 * math/Makefile (libm-test-no-inline-cflags): Add
20961 -fsignaling-nans.
20962
20963 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20964
20965 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20966 (CFLAGS-oldsendmsg.c): Add rule.
20967 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20968 Correct recvmsg symbol name.
20969 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20970 Likewise.
20971
20972 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20973
20974 * sysdeps/unix/sysv/linux/Makefile
20975 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20976 oldsendmmsg.
20977 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20978 sendmmsg.
20979 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20980 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20981 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20982 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20985 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20987 Likewise.
20988 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20989 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20990 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20991 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20992 iovlen and controllen fields to adjust to POSIX specification.
20993 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20994
20995 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20996 and change to correct expected type.
20997 (msghdr.msg_controllen): Likewise.
20998 (cmsghdr.cmsg_len): Likewise.
20999 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21000 expected POSIX assumption about the size.
21001 (msghdr.msg_controllen): Likewise.
21002 (msghdr.__glibc_reserved1): Likewise.
21003 (msghdr.__glibc_reserved2): Likewise.
21004 (cmsghdr.cmsg_len): Likewise.
21005 (cmsghdr.__glibc_reserved1): Likewise.
21006 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21007 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21008 (CFLAGS-sendmsg.c): Remove rule.
21009 (CFLAGS-recvmsg.c): Likewise.
21010 (CFLAGS-oldsendmsg.c): Add rule.
21011 (CFLAGS-oldrecvmsg.c): Likewise.
21012 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21013 recvmsg and sendmsg.
21014 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21015 Likewise.
21016 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21017 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21018 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21019 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21020 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21021 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21022 Likewise.
21023 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21024 Likewise.
21025 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21026 Likewise.
21027 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21028 Likewise.
21029 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21030 Likewise.
21031 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21032 Likewise.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21034 (GLIBC_2.24): Likewise.
21035 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21036 Likewise.
21037 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21038 Likewise.
21039 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21040 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21041 Likewise.
21042 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21043 Likewise.
21044 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21045 Likewise.
21046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21047 (GLIBC_2.24): Likewise.
21048 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21049 Likewise.
21050 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21051 Likewise.
21052 * sysdeps/unix/sysv/linux/Makefile
21053 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21054 (CFLAGS-sendmsg.c): Add rule.
21055 (CFLAGS-recvmsg.c): Likewise.
21056 (CFLAGS-oldsendmsg.c): Likewise.
21057 (CFLAGS-oldrecvmsg.c): Likewise.
21058 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21059 initialization.
21060 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21061 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21062 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21063 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21064 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21065 iovlen and controllen fields to adjust to POSIX specification.
21066 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21067 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21068 added recvmsg and sendmsg.
21069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21075 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21076 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21077 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21080 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21082 Likewise.
21083 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21085 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21086 Likewise.
21087 Likewise.
21088 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21089 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21090 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21091 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21092 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21093 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21095 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21097 Likewise.
21098 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21099 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21100
21101 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21102 from auto-generation.
21103 (sendmsg): Likewise.
21104 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21105 (sendmsg): Likewise.
21106 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21107 (sendmsg): Likewise.
21108 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21109 (sendmsg): Likewise.
21110 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21111 (sendmsg): Likewise.
21112 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21113 (sendmsg): Likewise.
21114 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21115 Likewise.
21116 (sendmsg): Likewise.
21117 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21118 (sendmsg): Likewise.
21119 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21120 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21121 Remove.
21122 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21123 Likewise.
21124 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21125 Undefine.
21126 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21127 Likewise.
21128 * sysdeps/unix/sysv/linux/kernel-features.h
21129 (__ASSUME_SENDMSG_SYSCALL): Define.
21130 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21131 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21132 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21133 Remove.
21134 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21135 Likewise.
21136 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21137 Undefine.
21138 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21139 Likewise.
21140 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21141 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21142 Remove.
21143 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21144 Likewise.
21145 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21146 Undefine.
21147 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21148 Likewise.
21149 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21150 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21151 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21152 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21153 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21154 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21155 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21156 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21157 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21158
21159 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21160
21161 * stdlib/gen-tst-strtod-round.c: Add backslash to
21162 compile command in comment.
21163 (printfp): Remove the literal suffix, and define an infinite
21164 value as INF to avoid expansion clash with INFINITY.
21165 (round_str): Remove the literal suffix.
21166 (round_for_all): Likewise, remove the now duplicate ldbl-64
21167 entry, and remove some magic constants.
21168
21169 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21170 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21171 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21172 (_CONCAT): New macro.
21173 (CONCAT): Likewise.
21174 (CHOOSE_ld): Likewise.
21175 (CHOOSE_f): Likewise.
21176 (CHOOSE_d): Likewise.
21177 (FTYPE_MEMBER): Likewise.
21178 (BOOL_MEMBER): Likewise.
21179 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21180 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21181 (_XNTRY): Likewise.
21182 (XNTRY): Likewise.
21183 (_ENTRY): Likewise.
21184 (ENTRY): Likewise.
21185 (test_exactness): Generate members via macro.
21186 (test_results): Likewise.
21187 (test): Update members.
21188 (TEST): Redefine using new macros.
21189 (INF): New macro.
21190 (fetestmodes): New structure.
21191 (do_test): Refactor to be type generic.
21192 (test_in_one_mode): Refactor duplicate code into
21193 (GEN_ONE_TEST): New macro.
21194
21195 * stdlib/tst-strtod-round-data.h: Regenerate.
21196
21197 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21198 Extend to pass additional arbitrary parameters to
21199 generators.
21200
21201 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21202
21203 [BZ #15479]
21204 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21205 floating-point state after first floating-point operation on
21206 input. Restore full floating-point state instead of just rounding
21207 mode.
21208 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21209 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21210 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21211 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21212 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21213
21214 [BZ #15479]
21215 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21216 floating-point state after first floating-point operation on
21217 input. Restore full floating-point state instead of just rounding
21218 mode.
21219 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21220 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21221 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21222 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21223 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21224
21225 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21226
21227 [BZ #19727]
21228 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21229 valid high surrogate.
21230 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21231 of an utf16 surrogate.
21232 * iconv/gconv_simple.c (BODY): Likewise.
21233 * iconvdata/bug-iconv12.c: New file.
21234 * iconvdata/Makefile (tests): Add bug-iconv12.
21235
21236 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21237
21238 [BZ #19726]
21239 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21240 outptrp in case of an illegal input.
21241 * iconv/tst-iconv6.c: New file.
21242 * iconv/Makefile (tests): Add tst-iconv6.
21243
21244 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21245
21246 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21247 an error in case of a value in range of an utf16 low surrogate.
21248
21249 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21250
21251 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21252 an error in case of a value in range of an utf16 low surrogate.
21253
21254 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21255
21256 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21257 Move to ...
21258 * sysdeps/s390/Makefile: ... here.
21259 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21260 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21261 (BRANCH_ON_COUNT): New define.
21262 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21263 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21264 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21265 run on s390-32, too.
21266 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21267 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21268 run on s390-32, too.
21269 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21270 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21271 run on s390-32, too.
21272
21273 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21274
21275 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21276 etf3eh or new vector loop-variant.
21277
21278 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21279
21280 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21281 etf3eh or new vector loop-variant.
21282
21283 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21284
21285 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21286 or new vector loop-variant.
21287
21288 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21289
21290 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21291 Rename to TR_LOOP and usage of tr instead of troo instruction.
21292
21293 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21294
21295 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21296 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21297
21298 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21299
21300 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21301 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21302 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21303 New override define.
21304 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21305
21306 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21307
21308 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21309 * sysdeps/s390/configure.ac: Add test for S390 vector register
21310 support in gcc.
21311 * sysdeps/s390/configure: Regenerated.
21312
21313 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21314
21315 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21316 Install file from $(objpfx)gconv-modules.
21317 ($(objpfx)gconv-modules): Concatenate architecture specific file
21318 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21319 * sysdeps/s390/gconv-modules: New file.
21320 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21321 Deleted.
21322 ($(objpfx)gconv-modules-s390): Deleted.
21323 (sysdeps-gconv-modules): New variable.
21324
21325 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21326
21327 [BZ #15479]
21328 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21329 of immediate operand to rounding instruction.
21330 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21331 Likewise.
21332 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21333 Likewise.
21334 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21335 Likewise.
21336
21337 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21338
21339 * math/libm-test.inc (MIN_EXP): Directly define as
21340 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21341
21342 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21343
21344 * math/libm-test.inc (MANT_DIG): Directly define as
21345 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21346
21347 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21348
21349 * stdlib/gen-tst-strtod-round.c (main):
21350 Change usage to more closely match the generated
21351 output. Add usage and compilation instructions.
21352 (string_to_fp): Add and use FILE* parameter as
21353 output target.
21354 (print_fp): Likewise.
21355 (round_str): Likewise.
21356 (round_for_all): Likewise.
21357 * stdlib/tst-strtod-round.c (tests): Move into
21358 * stdlib/tst-strtod-round-data.h: New file.
21359
21360 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21361
21362 [BZ #15479]
21363 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21364 (__round): Do not force "inexact" exception.
21365 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21366 variable.
21367 (__round): Do not force "inexact" exception.
21368 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21369 (__roundf): Do not force "inexact" exception.
21370 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21371 (__roundl): Do not force "inexact" exception.
21372 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21373 (__roundl): Do not force "inexact" exception.
21374 * math/libm-test.inc (round_test_data): Do not allow spurious
21375 "inexact" exceptions.
21376
21377 [BZ #15479]
21378 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21379 exception in comment.
21380 (huge): Remove variable.
21381 (__floor): Do not force "inexact" exception.
21382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21383 "inexact" exception in comment.
21384 (huge): Remove variable.
21385 (__floor): Do not force "inexact" exception.
21386 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21387 exception in comment.
21388 (huge): Remove variable.
21389 (__floorf): Do not force "inexact" exception.
21390 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21391 exception in comment.
21392 (huge): Remove variable.
21393 (__floorl): Do not force "inexact" exception.
21394
21395 [BZ #15479]
21396 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21397 exception in comment.
21398 (huge): Remove variable.
21399 (__ceil): Do not force "inexact" exception.
21400 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21401 "inexact" exception in comment.
21402 (huge): Remove variable.
21403 (__ceil): Do not force "inexact" exception.
21404 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21405 (__ceilf): Do not force "inexact" exception.
21406 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21407 exception in comment.
21408 (huge): Remove variable.
21409 (__ceill): Do not force "inexact" exception.
21410
21411 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21412
21413 * config.h.in (BIND_NOW): New.
21414 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21415 * configure: Regenerated.
21416 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21417 indirect branch via the GOT slot.
21418
21419 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21420
21421 [BZ #19765]
21422 * sysdeps/s390/mempcpy.S: New File.
21423 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21424 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21425 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21426 Add mempcpy variants.
21427 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21428 (memcpy): Adjust to be usable from mempcpy entry point.
21429 (__memcpy_mvcle): Likewise.
21430 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21431 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21432 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21433 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21434 (__memcpy_z10): Likewise.
21435 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21436
21437 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21438
21439 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21440 Remove __GI_ symbol.
21441 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21442 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21443 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21444 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21445 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21446 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21447
21448 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21449
21450 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21451 Use cghi instead of chi to compare 64bit value.
21452
21453 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21454
21455 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21456 Jump to 1MB check before executing mvc-loop.
21457
21458 2016-05-24 Florian Weimer <fweimer@redhat.com>
21459
21460 [BZ #6527]
21461 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21462 unconditionally.
21463 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21464
21465 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21466
21467 * stdlib/tst-strtod6.c (do_test): Use new type generic
21468 invocation of the test function.
21469 (test): Refactor into ...
21470 (TEST_STRTOD): New macro base function.
21471
21472 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21473
21474 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21475 (TEST_STRTOD): New macro.
21476 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21477
21478 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21479
21480 * stdlib/tst-strtod6.c (do_test): Use new type generic
21481 invocation of the test function.
21482 (test): Refactor into ...
21483 (TEST_STRTOD): New macro base function.
21484
21485 2016-05-23 Florian Weimer <fweimer@redhat.com>
21486
21487 CVE-2016-4429
21488 [BZ #20112]
21489 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21490 payload.
21491
21492 2016-05-23 Florian Weimer <fweimer@redhat.com>
21493
21494 [BZ #20111]
21495 * bits/sockaddr.h (_SS_SIZE): Define.
21496 * bits/socket.h (_SS_SIZE): Remove.
21497 (_SS_PADSIZE): Adjust to account for all padding.
21498 (struct sockaddr_storage): Update comment. Avoid implicit
21499 padding.
21500 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21501 (_SS_PADSIZE): Adjust to account for all padding.
21502 (struct sockaddr_storage): Update comment. Avoid implicit
21503 padding.
21504 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21505 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21506 (_SS_PADSIZE): Adjust to account for all padding.
21507 (struct sockaddr_storage): Update comment. Avoid implicit
21508 padding.
21509 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21510 __SS_SIZE is 126 in this version.
21511 * inet/tst-sockaddr.c: New file.
21512 * inet/Makefile (tests): Add tst-sockaddr.c
21513 (tst-sockaddr.c): Compile with non-strict aliasing.
21514
21515 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21516
21517 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21518 [XPG3 || XPG4].
21519 (NL_ARGMAX): Also expect for [XPG3].
21520 (NL_LANGMAX): Likewise.
21521 (NL_MSGMAX): Likewise.
21522 (NL_NMAX): Likewise.
21523 (NL_SETMAX): Likewise.
21524 (NL_TEXTMAX): Likewise.
21525 (NZERO): Likewise.
21526 (TMP_MAX): Likewise.
21527 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21528 variable.
21529
21530 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21531 (PF_MAX): Update value.
21532 (AF_KCM): New macro.
21533 (SOL_NETBEUI): Likewise.
21534 (SOL_LLC): Likewise.
21535 (SOL_DCCP): Likewise.
21536 (SOL_NETLINK): Likewise.
21537 (SOL_TIPC): Likewise.
21538 (SOL_RXRPC): Likewise.
21539 (SOL_PPPOL2TP): Likewise.
21540 (SOL_BLUETOOTH): Likewise.
21541 (SOL_PNPIPE): Likewise.
21542 (SOL_RDS): Likewise.
21543 (SOL_IUCV): Likewise.
21544 (SOL_CAIF): Likewise.
21545 (SOL_ALG): Likewise.
21546 (SOL_NFC): Likewise.
21547 (SOL_KCM): Likewise.
21548 (MSG_BATCH): New enum value and macro.
21549
21550 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21551
21552 [BZ #18185]
21553 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21554 sharing L2 cache to 2 for Knights Landing.
21555
21556 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21557
21558 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21559 (FTW_DP): Do not expect for [XPG3 || XPG4].
21560 (FTW_SL): Do not expect for [XPG3].
21561 (FTW_SLN): Likewise.
21562 (FTW_PHYS): Likewise.
21563 (FTW_MOUNT): Likewise.
21564 (FTW_DEPTH): Likewise.
21565 (FTW_CHDIR): Likewise.
21566 (nftw): Likewise.
21567 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21568 variable.
21569
21570 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21571
21572 * manual/errno.texi: Fix various typos & grammar errors.
21573
21574 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21575
21576 * manual/intro.texi: Fix duplicated typo.
21577
21578 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21579
21580 [BZ #13304]
21581 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21582 <float.h>, <math_private.h> and <stdlib.h>.
21583 (add_split): New function.
21584 (mul_split): Likewise.
21585 (ext_val): New typedef.
21586 (store_ext_val): New function.
21587 (mul_ext_val): New function.
21588 (compare): New function.
21589 (add_split_ext): New function.
21590 (__fmal): After checking for Inf, NaN and zero, compute result as
21591 an exact sum of scaled double values in round-to-nearest before
21592 adding those up and adjusting for other rounding modes.
21593 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21594 tests of fma.
21595 * math/auto-libm-test-out: Regenerated.
21596
21597 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 [BZ #20119]
21600 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21601 processor level type mask for CPUID with EAX == 11.
21602
21603 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21604
21605 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21606 logical threads if the HTT bit is 0.
21607 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21608 (index_cpu_HTT): Likewise.
21609 (reg_HTT): Likewise.
21610
21611 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21612
21613 [BZ #20115]
21614 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21615 Remove alignments on jump targets.
21616
21617 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21618
21619 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21620 (getpwent): Likewise.
21621 (setpwent): Likewise.
21622 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21623 variable.
21624
21625 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21626 (remque): Likewise.
21627 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21628 variable.
21629
21630 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21631
21632 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21633 not being tested.
21634
21635 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21636
21637 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21638 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21639 call.
21640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21641 (__condvar_cleanup1): Likewise.
21642
21643 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21644
21645 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21646 New
21647 (__pthread_unwind): Renamed to ...
21648 (PTHREAD_UNWIND): This.
21649 (__pthread_enable_asynccancel): Replace
21650 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21651
21652 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21653
21654 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21655 (CLONE_NEWCGROUP): New macro.
21656
21657 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21658 (Q_GETNEXTQUOTA): New macro.
21659
21660 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21661
21662 [BZ #19907]
21663 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21664 buffer updated by the previous run.
21665 * string/test-memcpy.c (do_one_test): Likewise.
21666 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21667 * string/test-memmove.c (do_one_test): Likewise.
21668
21669 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21670
21671 [BZ #20094]
21672 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21673 not [__USE_XOPEN].
21674 (unlockpt): Likewise.
21675 (ptsname): Likewise.
21676 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21677 variable.
21678
21679 [BZ #20076]
21680 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21681 instead of [__USE_UNIX98].
21682 (S_ISSOCK): Likewise.
21683 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21684 variable.
21685
21686 [BZ #20074]
21687 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21688 [__USE_POSIX].
21689 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21690 variable.
21691
21692 [BZ #20051]
21693 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21694 (ttyslot): Do not declare.
21695 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21696 (ttyslot): New prototype.
21697 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21698 variable.
21699 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21700
21701 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21702
21703 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21704
21705 2016-05-13 Florian Weimer <fweimer@redhat.com>
21706
21707 Fix race condition in tst-mallocfork2, use fewer resources.
21708 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21709 to current process group.
21710 (signal_sender): Yield in the non-sleeping case.
21711
21712 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21713
21714 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21715 (ecvt): Likewise.
21716 (fcvt): Likewise.
21717 (gcvt): Likewise.
21718 (getsubopt): Likewise.
21719 (grantpt): Likewise.
21720 (initstate): Likewise.
21721 (l64a): Likewise.
21722 (mktemp): Likewise.
21723 (mkstemp): Likewise.
21724 (ptsname): Likewise.
21725 (random): Likewise.
21726 (realpath): Likewise.
21727 (setstate): Likewise.
21728 (srandom): Likewise.
21729 (ttyslot): Likewise.
21730 (unlockpt): Likewise.
21731 (valloc): Likewise.
21732
21733 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21734 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21735 variable.
21736
21737 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21738
21739 [BZ #20072]
21740 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21741 init_cpu_features only if SHARED is defined.
21742 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21743
21744 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21745
21746 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21747 non-inclusive caches on Intel processors.
21748
21749 2016-05-13 Florian Weimer <fweimer@redhat.com>
21750
21751 * malloc/malloc.c (dumped_main_arena_start)
21752 (dumped_main_arena_end): New variables.
21753 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21754 (do_check_chunk): Skip dumped fake mmapped chunks.
21755 (munmap_chunk): Likewise.
21756 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21757 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21758 mmapped chunks.
21759 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21760 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21761 and dumped_main_arena_end to cover the dumped heap.
21762
21763 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21764
21765 * conform/data/time.h-data (getdate_err): Do not expect for
21766 [XPG3].
21767 (getdate): Likewise.
21768 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21769 variable.
21770
21771 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21772 (F_ULOCK): Likewise.
21773 (F_TEST): Likewise.
21774 (F_TLOCK): Likewise.
21775 (useconds_t): Likewise.
21776 (intptr_t): Do not expect for [XPG3] or [XPG4].
21777 (brk): Do not expect for [XPG3]
21778 (fchown): Likewise.
21779 (fchdir): Likewise.
21780 (ftruncate): Likewise.
21781 (getdtablesize): Likewise.
21782 (gethostid): Likewise.
21783 (getpagesize): Likewise.
21784 (getpgid): Likewise.
21785 (getsid): Likewise.
21786 (getwd): Likewise.
21787 (lchown): Likewise.
21788 (lockf): Likewise.
21789 (readlink): Likewise.
21790 (sbrk): Likewise.
21791 (setpgrp): Likewise.
21792 (setregid): Likewise.
21793 (setreuid): Likewise.
21794 (symlink): Likewise.
21795 (sync): Likewise.
21796 (truncate): Likewise.
21797 (ualarm): Likewise.
21798 (usleep): Likewise.
21799 (vfork): Likewise.
21800 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21801 variable.
21802
21803 [BZ #20054]
21804 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21805 not [__USE_UNIX98].
21806 * conform/data/unistd.h-data (gethostname): Do not expect for
21807 [XPG3].
21808
21809 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21810 [!POSIX] (S_IFBLK): Likewise.
21811 [!POSIX] (S_IFCHR): Likewise.
21812 [!POSIX] (S_IFIFO): Likewise.
21813 [!POSIX] (S_IFREG): Likewise.
21814 [!POSIX] (S_IFDIR): Likewise.
21815 [!POSIX] (S_IFLNK): Likewise.
21816 [!POSIX] (S_IFSOCK): Likewise.
21817 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21818 variable.
21819 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21820
21821 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21822
21823 * sysdeps/aarch64/memset.S (__memset):
21824 Rewrite of optimized memset.
21825
21826 2016-05-12 Florian Weimer <fweimer@redhat.com>
21827
21828 [BZ #19703]
21829 Partially async-signal-safe fork for single-threaded processes.
21830 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21831 variable. Do not acquire and reset/release malloc and libio locks
21832 in single-threaded processes.
21833 * malloc/tst-mallocfork2.c: New file.
21834 * malloc/Makefile (tests): Add it.
21835
21836 2016-05-12 Florian Weimer <fweimer@redhat.com>
21837
21838 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21839 argument. Use scratch buffer instead of extend_alloca.
21840 (gethosts): Use scratch buffer instead of extend_alloca.
21841 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21842 extend_alloca.
21843 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21844
21845 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21846
21847 [BZ #20055]
21848 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21849 instead of [__USE_UNIX98].
21850 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21851 [__USE_UNIX98].
21852 * conform/data/termios.h-data (tcgetsid): Do not expect for
21853 [XPG3].
21854 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21855 variable.
21856 (test-xfail-XPG4/termios.h/conform): Likewise.
21857
21858 2016-05-11 Florian Weimer <fweimer@redhat.com>
21859
21860 Do not use mcheck in localedef.
21861 * locale/programs/localedef.c (turn_on_mcheck)
21862 (__malloc_initialize_hook): Remove.
21863
21864 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21865
21866 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21867 * sysdeps/s390/s390-64/Makefile: Likewise.
21868
21869 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21870
21871 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21872 Remove ifunc-defines.sym.
21873 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21874 Likewise.
21875 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21876 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21877 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21878 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21879 rtld-global-offsets.sym.
21880 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21881 * sysdeps/x86/cpu-features-offsets.sym: This.
21882 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21883 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21884
21885 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21886
21887 [BZ #20073]
21888 * io/sys/stat.h (fchmod): Declare for
21889 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21890 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21891 variable.
21892
21893 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21894 [XPG3] (S_IFSOCK): Likewise.
21895 [XPG3] (S_ISVTX): Likewise.
21896 [XPG3] (S_ISLNK): Likewise.
21897 [XPG3] (S_ISSOCK): Likewise.
21898 [XPG3] (fchmod): Likewise.
21899 [XPG3] (lstat): Likewise.
21900 [XPG3] (mknod): Likewise.
21901
21902 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21903 [XPG3]. Expect type long and XFAIL for [XPG4].
21904 (st_blocks): Likewise.
21905
21906 [BZ #20044]
21907 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21908 (pthread_atfork): New prototype.
21909 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21910 variable.
21911
21912 [BZ #20043]
21913 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21914 prototype.
21915
21916 2016-05-10 Florian Weimer <fweimer@redhat.com>
21917
21918 [BZ #20017]
21919 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21920 gmtime.
21921
21922 2016-05-10 Florian Weimer <fweimer@redhat.com>
21923
21924 [BZ #19994]
21925 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21926 flag in _res.options.
21927
21928 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21929
21930 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21931 [XPG3 || XPG4].
21932 (blksize_t): Likewise.
21933 (clockid_t): Likewise.
21934 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21935 variable.
21936 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21937
21938 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21939
21940 * sysdeps/unix/sysv/linux/s390/init-first.c:
21941 Add VDSO_SYMBOL(getcpu).
21942 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21943 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21944 Add VDSO_SYMBOL(getcpu).
21945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21946 New define HAVE_GETCPU_VSYSCALL.
21947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21948
21949 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21952 instead of <sysdeps/x86_64/cacheinfo.c>.
21953 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21954 * sysdeps/x86/cacheinfo.c: Here.
21955
21956 2016-05-04 Florian Weimer <fweimer@redhat.com>
21957
21958 * malloc/malloc-internal.h: Adjust header file guard.
21959
21960 2016-05-04 Florian Weimer <fweimer@redhat.com>
21961
21962 [BZ #19787]
21963 * inet/getnameinfo.c (check_sprintf_result): New function.
21964 (CHECKED_SNPRINTF): New macro.
21965 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21966 to the host buffer.
21967 (gni_host_local): Use checked_copy to copy the host name.
21968 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21969 (gni_serv_local): Use checked_copy to copy the service name.
21970 (getnameinfo): Remove unnecessary truncation of result buffers.
21971
21972 2016-05-04 Florian Weimer <fweimer@redhat.com>
21973
21974 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21975 in case of inet_ntop failure.
21976
21977 2016-05-04 Florian Weimer <fweimer@redhat.com>
21978
21979 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21980 avoid long lines.
21981 (gni_host_inet_numeric): Likewise. Reduce scope of local
21982 variables.
21983 (gni_host_inet, gni_host_local): Add comment.
21984 (gni_host): Add comment. Use temporary to avoid long lines.
21985
21986 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21987
21988 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21989 registers specifiers where general purpose registers specifiers should
21990 have been used.
21991
21992 2016-05-04 Florian Weimer <fweimer@redhat.com>
21993
21994 [BZ #19779]
21995 CVE-2016-1234
21996 Avoid copying names of directory entries.
21997 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21998 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21999 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22000 (struct readdir_result): New type.
22001 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22002 (GL_READDIR): New macros.
22003 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22004 (convert_dirent, convert_dirent64): New functions.
22005 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22006 convert_dirent64. Adjust references to the readdir result.
22007 * sysdeps/unix/sysv/linux/i386/glob64.c:
22008 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22009 * posix/bug-glob2.c (LONG_NAME): Define.
22010 (filesystem): Add LONG_NAME.
22011 (my_DIR): Increase the size of room_for_dirent.
22012
22013 2016-05-03 Joseph Myers <joseph@codesourcery.com>
22014
22015 [BZ #20041]
22016 * misc/sys/select.h (__need_timespec): Only define if
22017 [__USE_XOPEN2K].
22018 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22019 variable.
22020 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22021 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22022 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22023
22024 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22025 Segher Boessenkool <segher@gcc.gnu.org>
22026
22027 [BZ #20004]
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22029 (__novec_swapcontext): Add missing load.
22030
22031 2016-05-02 Joseph Myers <joseph@codesourcery.com>
22032
22033 [BZ #20023]
22034 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22035 <time.h>.
22036 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22037 variable.
22038 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22039
22040 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22041
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22043 flags CLONE_VM compare.
22044
22045 2016-05-02 Florian Weimer <fweimer@redhat.com>
22046
22047 [BZ #20031]
22048 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22049 completely empty.
22050
22051 2016-05-02 Florian Weimer <fweimer@redhat.com>
22052
22053 [BZ #19573]
22054 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22055 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22056 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22057 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22058 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22059 (hesiod_free_list): Mark as hidden.
22060 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22061 res_set, res_get.
22062 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22063 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22064 (hesiod_init): Remove obsolete res_ninit call.
22065 (hesiod_end): Do not free resolver state. Do not invoke callback.
22066 (hesiod_bind): Do not call init.
22067 (get_txt_records): Use res_mkquery, res_send instead of
22068 res_nmkquery, res_nsend.
22069 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22070 instead of _nss_hesiod_init.
22071 (_nss_hesiod_initgroups_dyn): Likewise.
22072 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22073 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22074 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22075
22076 2016-05-02 Florian Weimer <fweimer@redhat.com>
22077
22078 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22079 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22080
22081 2016-05-02 Florian Weimer <fweimer@redhat.com>
22082
22083 * hesiod/hesiod.h: Remove RCS keyword.
22084 * hesiod/hesiod_p.h: Likewise.
22085
22086 * hesiod/hesiod.c: Likewise.
22087
22088 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22089
22090 [BZ #12450]
22091 * locale/iso-639.def: Add Samogitian/sgs.
22092
22093 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22094
22095 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22096
22097 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22098
22099 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22100 Carlos O'Donell <carlos@redhat.com>
22101
22102 [BZ #19072]
22103 * grp/Makefile (headers): Add grp-merge.h
22104 (routines): Add grp-merge.
22105 * grp/getgrgid_r.c: Include grp-merge.h.
22106 (DEEPCOPY_FN): Define.
22107 (MERGE_FN): Define.
22108 * grp/getgrname_r.c: Include grp-merge.h.
22109 (DEEPCOPY_FN): Define.
22110 (MERGE_FN): Define.
22111 * grp/grp-merge.c: New file.
22112 * grp/grp-merge.h: New file.
22113 * include/grp-merge.h: New file.
22114 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22115 __copy_grp@GLIBC_PRIVATE.
22116 * manual/nss.texi (Actions in the NSS configuration): Describe
22117 return, continue, and merge.
22118 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22119 (DEEPCOPY_FN): Define.
22120 (MERGE_FN): Define.
22121 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22122 (DEEPCOPY_FN): Define.
22123 (MERGE_FN): Define.
22124 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22125 [!MERGE_FN]: Define __merge_einval.
22126 (CHECK_MERGE): Define.
22127 (REENTRANT_NAME): Process merge if do_merge is true.
22128 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22129 (__nss_getent_r): Likewise.
22130 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22131 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22132
22133 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22134
22135 [BZ #20012]
22136 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22137 length to calculate the buffer to read.
22138 (fmemopen_write): Set the buffer position based on bytes written.
22139 (fmemopen_seek): Return EINVAL for invalid whence modes.
22140
22141 [BZ #19957]
22142 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22143 tst-getpid2.
22144 (test): Add tst-clone2.
22145 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22146 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22147 pid/tid fields for CLONE_VM.
22148 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22149 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22150 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22151 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22152 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22153 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22154 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22155 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22157 Likewise.
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22159 Likewise.
22160 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22161 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22162 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22163 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22164 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22165 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22166 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22167 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22168
22169 2016-04-29 Florian Weimer <fweimer@redhat.com>
22170
22171 [BZ #19642]
22172 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22173 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22174 (gni_serv_local, gni_serv): New functions extracted from
22175 getnameinfo.
22176 (getnameinfo): Call gni_host and gni_serv to perform the
22177 processing. Always free scratch buffer.
22178
22179 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22180
22181 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22182 remaining bytes in the dest string, with zeros.
22183
22184 2016-04-29 Florian Weimer <fweimer@redhat.com>
22185
22186 [BZ #20010]
22187 CVE-2016-3706
22188 * sysdeps/posix/getaddrinfo.c
22189 (convert_hostent_to_gaih_addrtuple): New function.
22190 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22191 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22192 AF_INET data.
22193
22194 2016-04-29 Florian Weimer <fweimer@redhat.com>
22195
22196 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22197 callback function gl_readdir.
22198 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22199 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22200 (glob_in_dir): Remove len. Use strdup instead of malloc and
22201 memcpy to copy the name.
22202 * manual/pattern.texi (Calling Glob): Document requirements for
22203 implementations of the gl_readdir callback function.
22204 * manual/examples/mkdirent.c: New example.
22205 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22206 per the manual guidance.
22207 * posix/tst-gnuglob.c (my_readdir): Likewise.
22208
22209 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22210
22211 [BZ #20014]
22212 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22213 not [__USE_POSIX].
22214 (getchar_unlocked): Likewise.
22215 (putc_unlocked): Likewise.
22216 (putchar_unlocked): Likewise.
22217 (flockfile): Likewise.
22218 (ftrylockfile): Likewise.
22219 (funlockfile): Likewise.
22220 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22221 variable.
22222 (test-xfail-XPG4/stdio.h/conform): Likewise.
22223
22224 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22225 Expect constant.
22226 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22227 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22228 variable.
22229 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22230 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22231
22232 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22233 [__USE_LARGEFILE64] (off64_t): Likewise.
22234 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22235 variable.
22236
22237 2016-04-28 Florian Weimer <fweimer@redhat.com>
22238
22239 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22240
22241 2016-04-28 Florian Weimer <fweimer@redhat.com>
22242
22243 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22244 * resolv/res_init.c: Likewise.
22245 * resolv/res_mkquery.c: Likewise.
22246
22247 2016-04-28 Florian Weimer <fweimer@redhat.com>
22248
22249 * resolv/res_init.c (isascii): Do not define. Use definition in
22250 <ctype.h>.
22251 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22252 (LOG_AUTH): Remove.
22253 (SPRINTF): Remove, adjust caller.
22254 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22255
22256 2016-04-28 Florian Weimer <fweimer@redhat.com>
22257
22258 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22259 SUNSECURITY conditional.
22260 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22261
22262 2016-04-28 Florian Weimer <fweimer@redhat.com>
22263
22264 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22265 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22266 Remove BSD-related preprocessor conditionals.
22267 * conf/portability.h: Remove.
22268
22269 2016-04-28 Florian Weimer <fweimer@redhat.com>
22270
22271 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22272 * resolv/res_data.c: Likewise.
22273
22274 2016-04-28 Florian Weimer <fweimer@redhat.com>
22275
22276 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22277 * resolv/res_data.c: Remove code conditional on ultrix.
22278
22279 2016-04-28 Florian Weimer <fweimer@redhat.com>
22280
22281 * resolv/res_init.c (RFC1535): Do not define. Remove
22282 RFC1535 preprocessor conditionals.
22283 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22284 because there configuration options which make the resolver
22285 behavior different.
22286
22287 2016-04-28 Florian Weimer <fweimer@redhat.com>
22288
22289 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22290 RESOLVSORT preprocessor conditionals.
22291 * resolv/nss_dns/dns-host.c: Likewise.
22292 * resolv/res_init.c: Likewise.
22293
22294 2016-04-28 Florian Weimer <fweimer@redhat.com>
22295
22296 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22297 is never defined.
22298
22299 2016-04-28 Florian Weimer <fweimer@redhat.com>
22300
22301 * inet/inet_lnaof.c: Remove SCSS keyword.
22302 * inet/inet_mkadr.c: Likewise.
22303 * inet/inet_net.c: Likewise.
22304 * inet/inet_netof.c: Likewise.
22305 * inet/rcmd.c: Likewise.
22306 * inet/rexec.c: Likewise.
22307 * inet/ruserpass.c: Likewise.
22308
22309 2016-04-28 Florian Weimer <fweimer@redhat.com>
22310
22311 * resolv/inet_addr.c: Remove _LIBC conditionals.
22312 * resolv/res_data.c: Likewise.
22313 * resolv/res_init.c: Likewise.
22314 * resolv/res_mkquery.c: Likewise.
22315 * resolv/res_libc.c: Update comment.
22316 * resolv/README: Update.
22317
22318 2016-04-28 Florian Weimer <fweimer@redhat.com>
22319
22320 * resolv/gethnamaddr.c: Remove SCSS keyword.
22321 * resolv/herror.c: Likewise.
22322 * resolv/inet_addr.c: Likewise.
22323 * resolv/inet_net_ntop.c: Likewise.
22324 * resolv/inet_net_pton.c: Likewise.
22325 * resolv/inet_neta.c: Likewise.
22326 * resolv/inet_ntop.c: Likewise.
22327 * resolv/inet_pton.c: Likewise.
22328 * resolv/ns_date.c: Remove RCS keyword.
22329 * resolv/ns_name.c: Likewise.
22330 * resolv/ns_netint.c: Likewise.
22331 * resolv/ns_parse.c: Likewise.
22332 * resolv/ns_print.c: Likewise.
22333 * resolv/ns_samedomain.c: Likewise.
22334 * resolv/ns_ttl.c: Likewise.
22335 * resolv/nsap_addr.c: Likewise.
22336 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22337 * resolv/res_data.c: Remove RCS keyword.
22338 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22339 * resolv/res_init.c: Likewise.
22340 * resolv/res_mkquery.c: Likewise.
22341 * resolv/res_query.c: Likewise.
22342 * resolv/res_send.c: Likewise.
22343
22344 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22345
22346 * conform/data/stdio.h-data (fdopen): Expect also for
22347 [XPG3 || XPG4].
22348
22349 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22350 (fseeko): Likewise.
22351 (ftello): Likewise.
22352 (ftrylockfile): Likewise.
22353 (funlockfile): Likewise.
22354 (getc_unlocked): Likewise.
22355 (getchar_unlocked): Likewise.
22356 (putc_unlocked): Likewise.
22357 (putchar_unlocked): Likewise.
22358
22359 2016-04-27 Florian Weimer <fweimer@redhat.com>
22360
22361 [BZ #19868]
22362 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22363 DNS packet syntax checks (which were not needed before). Skip
22364 over non-PTR records.
22365
22366 2016-04-27 Florian Weimer <fweimer@redhat.com>
22367
22368 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22369 definition. Include <stddef.h> instead.
22370
22371 2016-04-27 Florian Weimer <fweimer@redhat.com>
22372
22373 [BZ #19831]
22374 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22375 function.
22376 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22377 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22378
22379 2016-04-27 Florian Weimer <fweimer@redhat.com>
22380
22381 [BZ #19862]
22382 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22383 (getanswer_r): Do not call syslog.
22384 (gaih_getanswer_slice): Likewise.
22385 * resolv/gethnamaddr.c (AskedForGot): Remove.
22386 (getanswer): Do not call syslog.
22387 (gethostbyaddr): Likewise.
22388
22389 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22390
22391 * conform/data/signal.h-data (union sigval): Expect also if
22392 [XOPEN2K].
22393 (struct sigevent): Likewise.
22394 (SIGEV_NONE): Likewise.
22395 (SIGEV_SIGNAL): Likewise.
22396 (SIGEV_THREAD): Likewise.
22397 (SIGRTMIN): Likewise.
22398 (SIGRTMAX): Likewise.
22399 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22400 variable.
22401 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22402
22403 2016-04-27 Florian Weimer <fweimer@redhat.com>
22404
22405 [BZ #19830]
22406 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22407 (gaih_getanswer_slice): Likewise.
22408 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22409 Also check for availability of RR metadata.
22410
22411 2016-04-27 Florian Weimer <fweimer@redhat.com>
22412
22413 [BZ #19825]
22414 * resolv/res_send.c (send_vc): Remove early *resplen2
22415 initialization. Set *resplen2 on socket error. Call
22416 close_and_return_error for other errors.
22417
22418 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22419
22420 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22421 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22422 (SCM_IUCV_TRGCLS): New define.
22423
22424 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22425
22426 [BZ #20005]
22427 * libio/fmemopen.c (fmemopen_write): Update internal position after
22428 write.
22429 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22430 * stdio-common/tst-fmemopen4.c: New file..
22431
22432 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22433
22434 [BZ #19996]
22435 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22436 not [__USE_XOPEN2K].
22437 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22438 variable.
22439
22440 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22441 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22442 variable.
22443
22444 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22445 [__USE_XOPEN2K8].
22446 [__USE_LARGEFILE64] (off64_t): Likewise.
22447 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22448 variable.
22449
22450 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22451
22452 [BZ #19989]
22453 * libio/stdio.h (cuserid): Do not declare if
22454 [__USE_XOPEN2K && !__USE_GNU].
22455 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22456 variable.
22457
22458 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22459
22460 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22461 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22463 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22464 ifunc'ed strcspn.
22465 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22466 [EALIGN]: Removed.
22467 [END]: Likewise
22468 [STRSPN]: Define instead of the above to control symbol name.
22469 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22470 New file.
22471 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22472 Likewise.
22473 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22474 Likewise.
22475 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22476 Likewise.
22477 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22478 [INITIAL_MASK]: New macro.
22479 [STRCSPN]: Likewise.
22480 [UPDATE_MASK]: Likewise.
22481 [USE_AS_STRCSPN]: Likewise.
22482
22483 2016-04-25 Florian Weimer <fweimer@redhat.com>
22484
22485 [BZ #19931]
22486 * stdio-common/tst-vfprintf-width-prec.c: New file.
22487 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22488 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22489 (generated): Add mtrace-related files.
22490 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22491 (tst-%-mem.out): New pattern rule, replaces
22492 tst-printf-bz18872-mem.out.
22493 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22494 specifier, deallocate any previously allocated work buffer.
22495
22496 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22497
22498 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22499 Add nop before __startcontext, add explaining comments.
22500
22501 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22502
22503 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22504 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22505 completely different API.
22506
22507 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22508 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22509 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22510 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22511 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22512 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22513 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22514 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22515 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22516 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22517
22518 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22519
22520 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22521
22522 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22523
22524 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22525 when it is the default of 0.
22526
22527 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22528
22529 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22530 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22531 (sysdep_routines): Add new strcasestr targets.
22532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22533 (__libc_ifunc_impl_list): Likewise.
22534 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22535 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22536 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22537 * sysdeps/powerpc/powerpc64/power8/Makefile:
22538 New file to add strcasestr-ppc64 to sysdep_routines.
22539 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22540 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22541
22542 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22543
22544 * benchtests/Makefile (wcsmbs-benchset): Include only for
22545 native builds and runs.
22546 (LOCALES): Likewise.
22547 (bench-build): Build timing-type here instead of the bench
22548 target. Generate locale only for native builds.
22549 * benchtests/README: Add note for cross-building.
22550
22551 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22552
22553 * benchtests/README: Update README to include instructions on
22554 using bench-build.
22555
22556 * Makefile.in (bench-build): New target.
22557 * Rules (PHONY): Add bench-build target.
22558 * benchtests/Makefile (bench): Depend on bench-build.
22559 (bench-build): New target.
22560
22561 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22562
22563 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22564 profil_reply_port.
22565 (profile_waiter): Do not initialize profil_reply_port.
22566 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22567 frequency instead of tick length in us.
22568
22569 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22570
22571 [BZ #18712]
22572 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22573 (__old_mempcpy_small): Likewise.
22574 (__old_strcpy_small): Likewise.
22575 (__old_stpcpy_small): Likewise.
22576 (__old_strpbrk_c2): Fix compat symbol name.
22577 (__old_strpbrk_c3): Likewise.
22578 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22579 (__mempcpy_small): Remove.
22580 (__strcpy_small): Remove.
22581 (__stpcpy_small): Remove.
22582
22583 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22584
22585 [BZ #19400]
22586 * locale/iso-639.def: Add the Talossan/tzl language.
22587
22588 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22589
22590 [BZ #16983]
22591 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22592 comment. Add "ln" to strchr check on postal_fmt.
22593
22594 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22595
22596 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22597 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22598 tel_dom_fmt.
22599
22600 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22601
22602 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22603 (sysdep_routines): Added __strlen_power8.
22604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22605 __strlen_power8 entry.
22606 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22607 Implementation for POWER8.
22608 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22609 for __strlen_power8.
22610 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22611 Implementation for POWER8.
22612
22613 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22614
22615 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22616
22617 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22618
22619 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22620 Goldmont and Airmont processors.
22621
22622 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22623
22624 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22625 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22626 (__STRING2_SMALL_GET32): Remove.
22627 (memset): Remove.
22628 (__memset_1): Remove.
22629 (__memset_gc): Remove.
22630 (__mempcpy): Remove.
22631 (mempcpy): Remove.
22632 (__mempcpy_args): Remove.
22633 (strchr): Remove.
22634 (strcpy): Remove.
22635 (strcpy_args): Remove.
22636 (__stpcpy_args): Remove.
22637 (__strcmp_cc): Remove.
22638 (__strcmp_gc): Remove.
22639 (strstr): Remove.
22640
22641 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22642
22643 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22644 * nis/nis_call.c (nis_server_cache_add): Likewise.
22645
22646 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22647
22648 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22649
22650 2016-04-14 Florian Weimer <fweimer@redhat.com>
22651
22652 * malloc/arena.c (__malloc_fork_lock_parent)
22653 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22654 internal_function attribute.
22655
22656 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22657
22658 * stdio-common/printf_fp.c (__printf_fp_l):
22659 Rename ___printf_fp_l to __printf_fp_l and
22660 remove strong alias. Use libc_hidden_def instead
22661 of ldbl_hidden_def macro.
22662
22663 2016-04-14 Florian Weimer <fweimer@redhat.com>
22664
22665 Remove malloc hooks from fork handler. They are no longer needed
22666 because malloc runs right before fork, and no malloc calls from
22667 other fork handlers are not possible anymore.
22668 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22669 declarations.
22670 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22671 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22672 (atfork_recursive_cntr): Remove.
22673 (__malloc_fork_lock_parent): Do not override malloc hooks and
22674 thread_arena.
22675 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22676 thread_arena.
22677 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22678 thread_arena instead of save_arena.
22679
22680 2016-04-14 Florian Weimer <fweimer@redhat.com>
22681
22682 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22683 (thread_atfork, thread_atfork_static): Remove.
22684 * sysdeps/mach/hurd/malloc-machine.h:
22685 (thread_atfork, thread_atfork_static): Remove.
22686
22687 2016-04-14 Florian Weimer <fweimer@redhat.com>
22688
22689 [BZ #19431]
22690 Run the malloc fork handler as late as possible to avoid deadlocks.
22691 * malloc/malloc-internal.h: New file.
22692 * malloc/malloc.c: Include it.
22693 * malloc/arena.c (ATFORK_MEM): Remove.
22694 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22695 Update comment.
22696 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22697 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22698 Remove outdated comment.
22699 (ptmalloc_init): Do not call thread_atfork. Remove
22700 thread_atfork_static.
22701 * malloc/tst-malloc-fork-deadlock.c: New file.
22702 * Makefile (tests): Add tst-malloc-fork-deadlock.
22703 (tst-malloc-fork-deadlock): Link against libpthread.
22704 * manual/memory.texi (Aligned Memory Blocks): Update safety
22705 annotation comments.
22706 * sysdeps/nptl/fork.c (__libc_fork): Call
22707 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22708 __malloc_fork_unlock_child.
22709 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22710
22711 2016-04-14 Florian Weimer <fweimer@redhat.com>
22712
22713 [BZ #19613]
22714 Remove union wait.
22715 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22716 (w_stopsig, w_stopval): Remove.
22717 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22718 stat_loc argument.
22719 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22720 (__WAIT_STATUS_DEFN): Remove.
22721 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22722 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22723 (wait, wait3, wait4): Use int * for the stat_loc argument.
22724 * posix/wait.c (__wait): Likewise.
22725 * posix/wait3.c (__wait3): Likewise.
22726 * posix/wait4.c (__wait4): Likewise.
22727 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22728 (__WAIT_STATUS_DEFN): Remove.
22729 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22730 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22731 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22732 argument.
22733 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22734 * sysdeps/posix/wait3.c (__wait3): Likewise.
22735 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22736 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22737 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22738 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22739 stat_loc argument.
22740 * manual/process.texi (BSD Wait Functions): Remove union wait.
22741
22742 2016-04-13 Andreas Schwab <schwab@suse.de>
22743
22744 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22745 (test-extras): Add tst-tlsalign-vars.
22746 * math/Makefile: Wrap long lines.
22747 (libm-vec-test-wrappers): Define.
22748 (test-extras): Add $(libm-vec-test-wrappers).
22749 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22750 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22751 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22752 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22753 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22754 (extra-test-objs): Add corresponding objects.
22755
22756 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22757
22758 [BZ #19928]
22759 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22760 New.
22761 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22762 times of shared cache size.
22763 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22764 (VMOVNT): New.
22765 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22766 (VMOVNT): Likewise.
22767 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22768 (VMOVNT): Likewise.
22769 (VMOVU): Changed to movups for smaller code sizes.
22770 (VMOVA): Changed to movaps for smaller code sizes.
22771 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22772 comments.
22773 (PREFETCH): New.
22774 (PREFETCH_SIZE): Likewise.
22775 (PREFETCHED_LOAD_SIZE): Likewise.
22776 (PREFETCH_ONE_SET): Likewise.
22777 Rewrite to use forward and backward loops, which move 4 vector
22778 registers at a time, to support overlapping addresses and use
22779 non temporal store if size is above the threshold and there is
22780 no overlap between destination and source.
22781
22782 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22783
22784 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22785 Include dl-vdso.
22786 * sysdeps/unix/sysv/linux/mips/Versions: Add
22787 __vdso_clock_gettime.
22788 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22789 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22790 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22791 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22792 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22793 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22794 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22795 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22796 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22797
22798 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22799
22800 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22801 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22802 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22803 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22804 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22805 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22808 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22809 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22810 syscalls generation.
22811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22812 [__NR_pwrite64] (__NR_write): Remove define.
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22814 [__NR_pwrite64] (__NR_write): Remove define.
22815 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22816 Remove define.
22817 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22818 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22819 Remove define.
22820 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22821 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22822 Linux implementation as base.
22823 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22824
22825 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22826 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22827 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22828 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22831 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22833 syscall generation.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22835 [__NR_pread64] (__NR_pread): Remove define.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22837 [__NR_pread64] (__NR_pread): Likewise.
22838 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22839 define.
22840 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22841 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22842 Remove define.
22843 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22844 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22845 Linux implementation as base.
22846 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22847 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22848 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22849
22850 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22851 definition.
22852 (__ALIGNMENT_COUNT): Likewise.
22853 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22854 (__ALIGNMENT_COUNT): Likewise.
22855 (SYSCALL_LL): New define.
22856 (SYSCALL_LL64): Likewise.
22857 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22858 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22859 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22860 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22861
22862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22863 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22865 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22866 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22867 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22868
22869 2016-04-11 Florian Weimer <fweimer@redhat.com>
22870
22871 [BZ #19865]
22872 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22873 original buffer before retry.
22874
22875 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22876
22877 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22878 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22879 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22880 GLRO(dl_auxv) list.
22881 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22882 including <ldsodefs.h>.
22883 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22884
22885 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22886
22887 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22888 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22889 $(CPPFLAGS).
22890
22891 2016-04-09 Khem Raj <raj.khem@gmail.com>
22892
22893 [BZ #17950]
22894 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22895 Add -mfpmath=387.
22896
22897 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22898
22899 * sysdeps/i386/configure.ac: Change == to = when calling test.
22900 * sysdeps/x86_64/configure.ac: Likewise.
22901 * sysdeps/i386/configure: Regenerated.
22902 * sysdeps/x86_64/configure: Likewise.
22903
22904 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22905
22906 [BZ #16137]
22907 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22908 * benchtests/bench-strcoll.c (input_files): Likewise.
22909 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22910 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22911 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22912
22913 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22914
22915 [BZ #19929]
22916 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22917 [__USE_XOPEN2K8 && !__USE_GNU].
22918 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22919 variable.
22920
22921 [BZ #19925]
22922 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22923 define if [!__USE_MISC && __USE_XOPEN2K].
22924 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22925 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22926 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22927 Likewise.
22928 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22929 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22930 variable.
22931 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22932
22933 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22934
22935 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22936 (sysdep_routines): Add new strspn targets.
22937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22938 (__libc_ifunc_impl_list): Add strspn.
22939 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22940 New file.
22941 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22942 Likewise.
22943 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22944 Likewise.
22945 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22946 Likewise.
22947
22948 2016-04-07 Florian Weimer <fweimer@redhat.com>
22949
22950 * misc/hsearch_r.c: Include <limits.h>.
22951
22952 2016-04-07 Florian Weimer <fweimer@redhat.com>
22953
22954 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22955
22956 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22957
22958 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22959 (MEMCPY_SYMBOL): New.
22960 (MEMPCPY_SYMBOL): Likewise.
22961 (MEMMOVE_CHK_SYMBOL): Likewise.
22962 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22963 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22964 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22965 Provide alias for memcpy in libc.a and ld.so.
22966
22967 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22968
22969 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22970 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22971 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22972 Disabled fro now.
22973 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22974 symbols. Properly check USE_MULTIARCH on __memset symbols.
22975
22976 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22977
22978 * benchtests/Makefile (string-benchset): Add memcpy-large,
22979 memmove-large and memset-large.
22980 * benchtests/bench-memcpy-large.c: New file.
22981 * benchtests/bench-memmove-large.c: Likewise.
22982 * benchtests/bench-memmove-large.c: Likewise.
22983 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22984
22985 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22986
22987 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22988 32-bit displacement to avoid long nop between instructions.
22989
22990 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22991
22992 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22993 a comment on VMOVU and VMOVA.
22994
22995 2016-04-04 Florian Weimer <fweimer@redhat.com>
22996
22997 [BZ #19633]
22998 Use specified locale for number formatting in strfmon_l.
22999 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23000 (__nl_lookup_word): New inline functions.
23001 * include/printf.h (__print_fp_l): Declare.
23002 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23003 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23004 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23005 (___printf_fp): New function.
23006 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23007 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23008 * stdlib/tst-strfmon_l.c (do_test): New test.
23009 * stdlib/Makefile (tests): Add kt.
23010 (LOCALES): Build additional locales.
23011 (tst-strfmon_l.out): Require locales.
23012
23013 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23014
23015 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23016 if not in libc.
23017 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23018 Likewise.
23019 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23020 Likewise.
23021 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23022 Likewise.
23023
23024 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23025
23026 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23027 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23028 with unaligned_erms.
23029 (__memmove_erms): Skip if source == destination.
23030 (__memmove_unaligned_erms): Don't check source == destination
23031 first.
23032
23033 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23034
23035 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23036 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23037
23038 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23039
23040 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23041 * string/strspn.c (strspn): Likewise.
23042
23043 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23044
23045 * benchtests/bench-memset.c (do_test): Support 64-byte
23046 alignment.
23047 (test_main): Test 64-byte alignment.
23048
23049 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23050
23051 * benchtests/bench-memmove.c (test_main): Test 64-byte
23052 alignment.
23053
23054 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23055
23056 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23057
23058 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23059
23060 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23061 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23062 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23063
23064 * string/strpbrk.c (strpbrk): Rewrite function.
23065 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23066 (__strpbrk_c2): Likewise.
23067 (__strpbrk_c3): Likewise.
23068 * string/string-inlines.c
23069 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23070 Likewise.
23071 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23072 Likewise.
23073
23074 * string/strspn.c (strcspn): Rewrite function.
23075 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23076 (__strspn_c1): Remove inline function.
23077 (__strspn_c2): Likewise.
23078 (__strspn_c3): Likewise.
23079 * string/string-inlines.c
23080 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23081 compatibility symbol.
23082 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23083 Likewise.
23084 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23085 Likewise.
23086 * string/string-inlines.c: Include generic version.
23087
23088 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23089 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23090
23091 * string/Version (libc): Add GLIBC_2.24.
23092 * string/strcspn.c (strcspn): Rewrite function.
23093 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23094 (__strcspn_c1): Remove inline function.
23095 (__strcspn_c2): Likewise.
23096 (__strcspn_c3): Likewise.
23097 * string/string-inline.c
23098 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23099 compatibility symbol.
23100 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23101 Likewise.
23102 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23103 Likewise.
23104 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23105
23106 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23107
23108 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23109 Use ahi instead of aghi to adjust stack pointer.
23110
23111 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23112
23113 [BZ #19853]
23114 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23115 TEST to take significant digits as second parameter.
23116 [TEST]: Redefine in terms of TEST_N taking 30
23117 significant digits.
23118 (do_test): Add test case to demonstrate precision
23119 failure in the ldbl-128ibm printf.
23120 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23121 (__mpn_extract_long_double): Carry 7 extra intermediate
23122 bits of precision to aide computing difference when
23123 signs differ.
23124
23125 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23126
23127 [BZ #19881]
23128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23129 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23130 memset-avx512-unaligned-erms.
23131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23132 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23133 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23134 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23135 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23136 __memset_sse2_unaligned_erms, __memset_erms,
23137 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23138 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23139 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23140 file.
23141 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23142 Likewise.
23143 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23144 Likewise.
23145 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23146 Likewise.
23147
23148 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 [BZ #19776]
23151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23152 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23153 memmove-avx512-unaligned-erms.
23154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23155 (__libc_ifunc_impl_list): Test
23156 __memmove_chk_avx512_unaligned_2,
23157 __memmove_chk_avx512_unaligned_erms,
23158 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23159 __memmove_chk_sse2_unaligned_2,
23160 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23161 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23162 __memmove_avx512_unaligned_erms, __memmove_erms,
23163 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23164 __memcpy_chk_avx512_unaligned_2,
23165 __memcpy_chk_avx512_unaligned_erms,
23166 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23167 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23168 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23169 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23170 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23171 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23172 __mempcpy_chk_avx512_unaligned_erms,
23173 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23174 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23175 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23176 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23177 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23178 __mempcpy_erms.
23179 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23180 file.
23181 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23182 Likewise.
23183 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23184 Likewise.
23185 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23186 Likewise.
23187
23188 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23189
23190 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23191 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23192 (La_s390_64_regs): Likewise.
23193 (La_s390_32_retval): Append vector register lrv_v24.
23194 (La_s390_64_retval): Likeweise.
23195 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23196 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23197 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23198 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23199
23200 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23201
23202 [BZ #19916]
23203 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23204 to create a non-vector/vector version for _dl_runtime_resolve and
23205 _dl_runtime_profile. Move implementation to ...
23206 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23207 (_dl_runtime_resolve) Save and restore fpr/vrs.
23208 (_dl_runtime_profile) Save and restore vrs and fix some issues
23209 if _dl_call_pltexit is called.
23210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23211 Choose the correct resolver function if running on a machine with vx.
23212 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23213 to create a non-vector/vector version for _dl_runtime_resolve and
23214 _dl_runtime_profile. Move implementation to ...
23215 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23216 (_dl_runtime_resolve) Save and restore fpr/vrs.
23217 (_dl_runtime_profile) Save and restore vrs and fix some issues
23218 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23219 Choose the correct resolver function if running on a machine with vx.
23220
23221 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23222
23223 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23224
23225 2016-03-31 Florian Weimer <fweimer@redhat.com>
23226
23227 [BZ #19509]
23228 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23229 skip_map != NULL.
23230 * elf/tst-dlsym-error.c: New file.
23231 * elf/Makefile (tests): Add tst-dlsym-error.
23232 (tst-dlsym-error): Link against libdl.
23233
23234 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23235
23236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23237 (__ASSUME_FUTIMESAT): Remove macro.
23238 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23239
23240 2016-03-29 Florian Weimer <fweimer@redhat.com>
23241
23242 [BZ #19879]
23243 CVE-2016-3075
23244 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23245 copy name.
23246
23247 2016-03-29 Florian Weimer <fweimer@redhat.com>
23248
23249 [BZ #19837]
23250 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23251 error if parse_line fails.
23252
23253 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23254
23255 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23256 (index_cpu_ERMS): Likewise.
23257 (reg_ERMS): Likewise.
23258
23259 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23260
23261 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23262 PER_LINUX_FDPIC): Add.
23263
23264 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23265
23266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23267 memcpy-avx512-no-vzeroupper.
23268 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23269 to ...
23270 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23271 (MEMCPY): Don't define.
23272 (MEMCPY_CHK): Likewise.
23273 (MEMPCPY): Likewise.
23274 (MEMPCPY_CHK): Likewise.
23275 (MEMPCPY_CHK): Renamed to ...
23276 (__mempcpy_chk_avx512_no_vzeroupper): This.
23277 (MEMPCPY_CHK): Renamed to ...
23278 (__mempcpy_chk_avx512_no_vzeroupper): This.
23279 (MEMCPY_CHK): Renamed to ...
23280 (__memmove_chk_avx512_no_vzeroupper): This.
23281 (MEMCPY): Renamed to ...
23282 (__memmove_avx512_no_vzeroupper): This.
23283 (__memcpy_avx512_no_vzeroupper): New alias.
23284 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23285
23286 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23287
23288 [BZ #18858]
23289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23290 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23291 and mempcpy-avx512-no-vzeroupper.
23292 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23293 New.
23294 (MEMPCPY): Likewise.
23295 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23296 (MEMPCPY_CHK): New.
23297 (MEMPCPY): Likewise.
23298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23299 (MEMPCPY): Likewise.
23300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23301 (MEMPCPY): Likewise.
23302 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23303 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23304 Likewise.
23305 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23306 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23307
23308 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23309 Amit Pawar <Amit.Pawar@amd.com>
23310
23311 [BZ #19583]
23312 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23313 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23314 processors. Set Fast_Copy_Backward for AMD Excavator
23315 processors.
23316 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23317 New.
23318 (index_arch_Fast_Unaligned_Copy): Likewise.
23319 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23320 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23321
23322 2016-03-25 Florian Weimer <fweimer@redhat.com>
23323
23324 [BZ #19791]
23325 * resolv/res_send.c (close_and_return_error): New function.
23326 (send_dg): Initialize *resplen2 after reopen failure. Call
23327 close_and_return_error for error returns. On error paths without
23328 __res_iclose, initialze *resplen2 explicitly. Update comment for
23329 successful return.
23330
23331 2016-03-25 Florian Weimer <fweimer@redhat.com>
23332
23333 [BZ #19860]
23334 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23335 zero if the compiler does not provide the AVX512F bit.
23336
23337 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23338
23339 [BZ #19848]
23340 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23341 from 8 to 4.
23342 (__ieee754_powl): Compare integer exponent against 4 not 8.
23343 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23344 from 8 to 4.
23345 (__ieee754_powl): Compare integer exponent against 4 not 8.
23346 * math/auto-libm-test-in: Add more tests of pow.
23347 * math/auto-libm-test-out: Regenerated.
23348 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350
23351 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23352
23353 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23354 Make code unconditional.
23355 [!__NR_utimensat]: Remove conditional code.
23356 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23357 Make code unconditional.
23358 [!__NR_utimensat]: Remove conditional code.
23359 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23360 Make code unconditional.
23361 [!__NR_utimensat]: Remove conditional code.
23362
23363 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23364
23365 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23366 Make code unconditional.
23367
23368 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23369
23370 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23371 call-clobbered %eax on retry path.
23372 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23373
23374 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23375
23376 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23377 Don't set %rcx twice before "rep movsb".
23378
23379 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23380
23381 [BZ #19583]
23382 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23383 inline. Check family before setting family, model and
23384 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23385 bits here.
23386 (init_cpu_features): Replace HAS_CPU_FEATURE and
23387 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23388 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23389 for Intel processors with usable AVX2. Call get_common_indeces
23390 for other processors with family == NULL.
23391 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23392 (CPU_FEATURES_ARCH_P): Likewise.
23393 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23394 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23395
23396 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23397
23398 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23399 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23400 $(shared-thread-library) instead of hardcoding the path to libpthread.
23401
23402 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23403
23404 * sysdeps/unix/sysv/linux/kernel-features.h
23405 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23406 * sysdeps/unix/sysv/linux/getdents.c
23407 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23408 [!have_no_getdents64_defined]: Likewise.
23409 (__GETDENTS): Remove __have_no_getdents64 conditional.
23410
23411 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23412
23413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23414 Remove macro.
23415 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23416 <kernel-features.h>.
23417 (signalfd) [__NR_signalfd4]: Make code unconditional.
23418 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23419
23420 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23421
23422 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23423 style.
23424
23425 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23426
23427 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23428 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23429 __pthread_unwind.
23430 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23431 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23432 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23433 (__condvar_cleanup1): Likewise.
23434
23435 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23436
23437 [BZ #19822]
23438 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23439 move it to the final $@ location.
23440
23441 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23442
23443 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23444 access where posix_spawn success and pid argument is null.
23445 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23446 success case.
23447
23448 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23449
23450 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23451
23452 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23453
23454 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23455 and __fcntl.
23456 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23457 __fcntl only.
23458 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23459 adding attribute_hidden to __open and __fcntl.
23460
23461 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23462 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23463 depend on libc-modules.h,
23464 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23465
23466 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23467
23468 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23469 Remove macro.
23470 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23471 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23472 entry.
23473
23474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23475 Remove macro.
23476 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23477 include <kernel-features.h>.
23478 [!__ASSUME_FALLOCATE]: Remove conditional code.
23479 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23480
23481 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23482
23483 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23484 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23486 (_ZGVdN4v_cos_avx2): Likewise.
23487 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23488 (_ZGVdN4v_cos): Likewise.
23489 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23490 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23491 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23492 (_ZGVdN4v_exp_avx2): Likewise.
23493 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23494 (_ZGVdN4v_exp): Likewise.
23495 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23496 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23497 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23498 (_ZGVdN4v_log_avx2): Likewise.
23499 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23500 (_ZGVdN4v_log): Likewise.
23501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23502 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23503 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23504 (_ZGVdN4vv_pow_avx2): Likewise.
23505 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23506 (_ZGVdN4vv_pow): Likewise.
23507 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23508 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23510 (_ZGVdN4v_sin_avx2): Likewise.
23511 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23512 (_ZGVdN4v_sin): Likewise.
23513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23514 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23515 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23516 (_ZGVdN4vvv_sincos_avx2): Likewise.
23517 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23518 (_ZGVdN4vvv_sincos): Likewise.
23519 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23520 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23521 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23522 (_ZGVbN4v_cosf_sse4): Likewise.
23523 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23524 (_ZGVdN8v_cosf_avx2): Likewise.
23525 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23526 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23527 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23528 (_ZGVbN4v_expf_sse4): Likewise.
23529 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23530 (_ZGVdN8v_expf_avx2): Likewise.
23531 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23532 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23533 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23534 (_ZGVbN4v_logf_sse4): Likewise.
23535 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23536 (_ZGVdN8v_logf_avx2): Likewise.
23537 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23538 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23539 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23540 (_ZGVbN4vv_powf_sse4): Likewise.
23541 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23542 (_ZGVdN8vv_powf_avx2): Likewise.
23543 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23544 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23545 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23546 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23547 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23548 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23549 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23550 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23551 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23552 (_ZGVbN4v_sinf_sse4): Likewise.
23553 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23554 (_ZGVdN8v_sinf_avx2): Likewise.
23555 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23556 Use JUMPTARGET to call callee.
23557 (WRAPPER_IMPL_SSE2_ff): Likewise.
23558 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23559 (WRAPPER_IMPL_AVX): Likewise.
23560 (WRAPPER_IMPL_AVX_ff): Likewise.
23561 (WRAPPER_IMPL_AVX_fFF): Likewise.
23562 (WRAPPER_IMPL_AVX512): Likewise.
23563 (WRAPPER_IMPL_AVX512_ff): Likewise.
23564 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23565 Likewise.
23566 (WRAPPER_IMPL_SSE2_ff): Likewise.
23567 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23568 (WRAPPER_IMPL_AVX): Likewise.
23569 (WRAPPER_IMPL_AVX_ff): Likewise.
23570 (WRAPPER_IMPL_AVX_fFF): Likewise.
23571 (WRAPPER_IMPL_AVX512): Likewise.
23572 (WRAPPER_IMPL_AVX512_ff): Likewise.
23573 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23574
23575 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23576
23577 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23578 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23579 qualifier.
23580 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23581 internal_function qualifiers.
23582
23583 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23584
23585 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23586 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23587 * math/atest-exp.c (exp_mpn): Mark chk unused.
23588 * math/atest-exp2.c (exp_mpn): Likewise.
23589 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23590 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23591
23592 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23593
23594 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23595 Remove macro.
23596 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23597 <kernel-features.h>.
23598 [__NR_ppoll]: Make code unconditional.
23599 [!__ASSUME_PPOLL]: Remove conditional code.
23600
23601 * sysdeps/unix/sysv/linux/kernel-features.h
23602 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23603 (__ASSUME_ACCEPT4): Likewise.
23604 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23605 Define.
23606 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23607 Likewise.
23608 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23609 Likewise.
23610 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23611 Likewise.
23612 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23613 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23614 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23615 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23616 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23617 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23619 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23620 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23621 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23622 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23623 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23624 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23625 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23626 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23627 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23628 Likewise.
23629 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23630 Likewise.
23631 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23632 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23633 0x040300].
23634 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23635 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23636 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23637 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23638 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23639 0x030300].
23640 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23641 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23642 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23643 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23644 0x040300].
23645 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23646 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23647 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23648 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23649 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23650 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23651 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23652 0x030300].
23653 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23654 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23655 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23656 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23657 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23658 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23659 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23660 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23661 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23662 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23663 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23664 0x040300].
23665 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23666 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23667 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23668 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23669 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23670 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23671 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23672 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23673 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23674 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23676 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23677 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23678 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23679 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23680 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23681 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23682 Likewise.
23683 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23684 Likewise.
23685
23686 2016-03-15 Andreas Schwab <schwab@suse.de>
23687
23688 [BZ #19257]
23689 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23690 statp->_u._ext.nscount as loop count.
23691
23692 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23693
23694 * math/test-signgam-finite-c99.c: Also #undef
23695 __LIBC_INTERNAL_MATH_INLINES.
23696 * math/test-signgam-main.c: Likewise.
23697
23698 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23699
23700 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23701 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23702 (MADV_FREE): Likewise.
23703 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23704 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23705 EPOLLEXCLUSIVE.
23706
23707 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23708
23709 * timezone/README: Remove mention of checktab.awk. Mention wiki
23710 SharedSourceFiles.
23711
23712 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23713
23714 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23715 WUNTRACED.
23716
23717 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23718
23719 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23720 order to match the type of p when calling atomic_exchange_acq().
23721
23722 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23723
23724 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23725 cfi_offset calls.
23726 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23727 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23728 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23729 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23730 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23731
23732 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23733
23734 * timezone/checktab.awk: Removed.
23735
23736 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23737
23738 * manual/math.texi (Errors in Math Functions): Document relaxed
23739 accuracy goals for IBM long double.
23740 * math/libm-test.inc (test_exceptions): Always allow spurious
23741 "underflow" and "inexact" exceptions for IBM long double.
23742
23743 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23744
23745 [BZ #19762]
23746 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23747 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23748 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23749 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23750 (bit_arch_*): This for feature array.
23751 (bit_*): Renamed to ...
23752 (bit_cpu_*): This for cpu array.
23753 (index_*): Renamed to ...
23754 (index_arch_*): This for feature array.
23755 (index_*): Renamed to ...
23756 (index_cpu_*): This for cpu array.
23757 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23758 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23759 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23760 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23761 bit_##name with index_cpu_##name and bit_cpu_##name.
23762 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23763 bit_##name with index_arch_##name and bit_arch_##name.
23764
23765 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23766
23767 [BZ #19792]
23768 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23769 Terminate FDE before return label.
23770
23771 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23772
23773 [BZ #19790]
23774 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23775 (rintl): Define as macro.
23776 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23777 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23778 of fesetround. Ensure results are evaluated before end of scope.
23779 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23780 USE_AS_NEARBYINTL and include s_rintl.c.
23781 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23782 Disable exception traps in new environment.
23783 (libc_feholdsetround_ppc_ctx): Likewise.
23784
23785 2016-03-08 Roland McGrath <roland@hack.frob.com>
23786
23787 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23788 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23789 (tst_audit10_aux) [__AVX512F__]: ... here.
23790
23791 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23792
23793 * include/sys/auxv.h: New file.
23794
23795 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23796
23797 [BZ #19759]
23798 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23799
23800 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23801
23802 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23803 operand modifier.
23804 (feclearexcept): Likewise.
23805
23806 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23807
23808 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23809 to reflect the entire 32-bit HWCAP.
23810 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23811 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23812
23813 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23814
23815 [BZ #19783]
23816 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23817 $(test-via-rtld-prefix).
23818 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23819
23820 2016-03-08 Florian Weimer <fweimer@redhat.com>
23821
23822 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23823 union wait. Report any non-zero exit status as error.
23824
23825 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23826
23827 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23828 configured with --enable-hardcoded-path-in-tests.
23829
23830 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23831
23832 [BZ #19677]
23833 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23834 (__ieee754_remainderl): Put zero low parts in canonical form.
23835 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23836 file. Based on
23837 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23838 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23839 with wrapper round test-fmodrem-ldbl-128ibm.c.
23840 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23841 file.
23842 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23843 Likewise.
23844 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23845 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23846
23847 2016-03-07 Florian Weimer <fweimer@redhat.com>
23848
23849 [BZ #19610]
23850 * elf/ldconfig.c (opt_link): Update comment.
23851 (options): Update help string for option -X.
23852 (search_dir): Unlink stale symbolic link only if updating symbolic
23853 links.
23854 * elf/tst-ldconfig-X.sh: New file.
23855 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23856 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23857
23858 2016-03-07 Andreas Schwab <schwab@suse.de>
23859
23860 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23861 needed arguments.
23862
23863 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23864
23865 [BZ #15333]
23866 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23867 to lstat64.
23868
23869 2016-03-07 Florian Weimer <fweimer@redhat.com>
23870
23871 * libio/filedoalloc.c (isatty): Remove.
23872 (local_isatty): Add comment. Call __isatty directly.
23873 (_IO_file_doallocate): Update comment. Assume _LIBC.
23874 * libio/wfiledoalloc.c (isatty): Remove.
23875 (_IO_wfile_doallocate): Update comment.
23876
23877 2016-03-07 Florian Weimer <fweimer@redhat.com>
23878
23879 [BZ #19269]
23880 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23881 tst-audit4-aux.o.
23882 (tst-audit10): Depend on tst-audit10-aux.o.
23883 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23884 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23885 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23886 instead of inline AVX code.
23887 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23888 instead of inline AVX512 code.
23889 * sysdeps/x86_64/tst-audit4-aux.c: New file
23890 * sysdeps/x86_64/tst-audit10-aux.c: New file
23891
23892 [BZ #19648]
23893 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23894
23895 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23896
23897 [BZ #14750]
23898 [BZ #10354]
23899 [BZ #18433]
23900 * include/sched.h (__clone): Add hidden prototype.
23901 (__clone2): Likewise.
23902 * include/unistd.h (__dup): Likewise.
23903 * posix/Makefile (tests): Add tst-spawn2.
23904 * posix/tst-spawn2.c: New file.
23905 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23906 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23907 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23908 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23909 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23910 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23911 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23912 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23913 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23914 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23915 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23917 Likewise.
23918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23919 Likewise.
23920 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23921 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23922 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23924 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23925 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23926 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23927 * sysdeps/unix/sysv/linux/nptl-signals.h
23928 (____nptl_is_internal_signal): New function.
23929 * sysdeps/unix/sysv/linux/spawni.c: New file.
23930
23931 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23932 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23933 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23934 * posix/tst-execvp2.c (do_test): Likewise.
23935 * posix/tst-execvp3.c (do_test): Likewise.
23936 * posix/tst-execvp4.c (do_test): Likewise.
23937 * posix/tst-execvpe1.c: New file.
23938 * posix/tst-execvpe2.c: Likewise.
23939 * posix/tst-execvpe3.c: Likewise.
23940 * posix/tst-execvpe4.c: Likewise.
23941 * posix/tst-execvpe5.c: Likewise.
23942 * posix/tst-execvpe6.c: Likewise.
23943
23944 [BZ #19534]
23945 * posix/execl.c (execl): Remove dynamic memory allocation.
23946 * posix/execle.c (execle): Likewise.
23947 * posix/execlp.c (execlp): Likewise.
23948
23949 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23950
23951 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23952 Replace .text with .text.avx512.
23953 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23954 Likewise.
23955
23956 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23957
23958 * sysdeps/generic/libnsl.abilist: New file.
23959 * sysdeps/generic/libutil.abilist: New file.
23960
23961 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23962
23963 [BZ #19762]
23964 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23965 HAS_ARCH_FEATURE with Fast_Rep_String.
23966 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23967 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23968 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23969 Likewise.
23970 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23971 Likewise.
23972 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23974 Likewise.
23975 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23976 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23977 Likewise.
23978
23979 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23980
23981 [BZ #19745]
23982 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23983 with *%rax in call.
23984
23985 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23986
23987 [BZ #19745]
23988 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23989 with *__libc_start_main@GOTPCREL(%rip) in call.
23990
23991 2016-03-04 Roland McGrath <roland@hack.frob.com>
23992
23993 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23994 inside conditional for nonempty $(CXX).
23995
23996 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23997 nonempty.
23998
23999 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24000 to test for empty $(CXX) rather than $(CXX) of "no".
24001
24002 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24003
24004 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24005
24006 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24007 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 [BZ #18880]
24010 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24011 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24012 enable __memcpy_ssse3_back.
24013
24014 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24015
24016 [BZ #19758]
24017 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24018 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24019
24020 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24021
24022 [BZ #19490]
24023 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24024 (__fentry__): Likewise.
24025
24026 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24029 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24030
24031 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24032
24033 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24034 __mcount_internal directly.
24035 (C_LABEL(__fentry__)): Likewise.
24036 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24037 directly.
24038
24039 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24042 (__start_context): Call __setcontext directly.
24043
24044 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24045
24046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24047 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24048 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24049 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24050 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24051 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24052 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24053 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24054 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24055 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24056 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24057 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24058 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24059 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24060 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24061 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24062 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24064 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24065 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24066 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24067 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24068 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24069 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24070 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24071 Remove conditional code.
24072 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24073 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24074 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24075 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24076 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24077 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24078 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24079 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24080 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24081 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24082 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24083 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24084
24085 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24086
24087 * NEWS (2.23): Fix typo in bug 19048 text.
24088
24089 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24090
24091 [BZ #14259]
24092 * Makeconfig: Rename msgcatdir to localedir.
24093 Rename inst_msgcatdir to inst_localedir.
24094 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24095 * config.make.in: Add localedir.
24096 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24097 (ldd-rewrite): Likewise.
24098 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24099 (install-others): Use inst_localedir.
24100 (CPPFLAGS): Use localedir.
24101 * locale/Makefile (locale-CPPFLAGS): Likewise.
24102 * po/Makefile (mo-installed): Use inst_localedir.
24103
24104 [BZ #19575]
24105 * localedata/charmaps/GB18030: Update comments regarding PAU to
24106 non-PUA mappings.
24107
24108 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24109
24110 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24111 test for header.
24112 * sysdeps/unix/sysv/linux/configure: Regenerated.
24113 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24114 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24115 Remove conditional code.
24116 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24117
24118 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24119 Define to 3.2.0.
24120 (arch_minimum_kernel): Likewise.
24121 * sysdeps/unix/sysv/linux/configure: Regenerated.
24122 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24123 Define to 2.6.32.
24124 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24125 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24126 (arch_minimum_kernel): Define to 2.6.32.
24127 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24128 * README: Document Linux 3.2 requirement.
24129 * manual/install.texi (Linux): Document Linux 3.2 headers
24130 requirement.
24131 * INSTALL: Regenerated.
24132
24133 2016-02-24 Andreas Schwab <schwab@suse.de>
24134
24135 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24136 if !NO_LONG_DOUBLE.
24137
24138 2016-02-22 Roland McGrath <roland@hack.frob.com>
24139
24140 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24141 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24142
24143 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24144
24145 [BZ #19512]
24146 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24147
24148 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24149
24150 * posix/tst-dir.c: Include libc-internal.h.
24151
24152 2016-02-20 Florian Weimer <fweimer@redhat.com>
24153
24154 [BZ #19056]
24155 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24156 * manual/filesys.texi (Reading/Closing Directory): Mention
24157 deprecaion.
24158 * posix/tst-dir.c (main): Disable deprecation warning in test.
24159
24160 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24161
24162 [BZ #19679]
24163 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24164 Renamed to ...
24165 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24166 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24167 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24168 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24169 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24170 * sysdeps/x86_64/dl-trampoline.h
24171 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24172 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24173
24174 2016-02-19 Mark Wielaard <mjw@redhat.com>
24175
24176 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24177
24178 2016-02-19 Mark Wielaard <mjw@redhat.com>
24179
24180 * elf/elf.h (R_386_GOT32X): New.
24181 (R_386_NUM): Update.
24182 (R_X86_64_GOTPCRELX: New.
24183 (R_X86_64_REX_GOTPCRELX): New.
24184 (R_X86_64_NUM): Update.
24185
24186 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24187
24188 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24189
24190 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24191
24192 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24193 assign attr->stackaddr to it, and adjust it down when
24194 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24195 [_STACK_GROWS_UP]: Delete assert.
24196 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24197 Implement stack grows up logic.
24198 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24199 stack grows up logic.
24200
24201 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24202
24203 * NEWS: Update with 2.24 template.
24204
24205 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24206
24207 [BZ #19678]
24208 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24209 Ensure +0.0 is returned when taking the next value below the least
24210 positive value.
24211
24212 2016-02-19 Florian Weimer <fweimer@redhat.com>
24213
24214 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24215 available. Do not define NO_THREADS.
24216 * malloc/malloc.c: Do not check NO_THREADS.
24217 * malloc/arena.c: Likewise.
24218
24219 2016-02-19 Florian Weimer <fweimer@redhat.com>
24220
24221 * malloc/malloc.c (__libc_mallinfo): Update comment.
24222 (struct malloc_par): Remove max_total_mem member, it was always 0.
24223 (int_mallinfo): Store 0 into usmblks (no functional change).
24224 * malloc/hooks.c (struct malloc_state): Document that
24225 max_total_mem is always 0.
24226 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24227 always 0.
24228 * manual/memory.texi (Statistics of Malloc): Likewise.
24229
24230 2016-02-19 Florian Weimer <fweimer@redhat.com>
24231
24232 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24233 * malloc/arena.c (arena_max): Remove.
24234 (heap_trim, _int_new_arena): Do not update arena_max.
24235
24236 2016-02-19 Florian Weimer <fweimer@redhat.com>
24237
24238 * resolv/res_init.c (res_ninit): Update comment.
24239
24240 2016-02-19 Florian Weimer <fweimer@redhat.com>
24241
24242 [BZ #19505]
24243 * posix/spawn_int.h: Add headers and include guard.
24244 (__spawn_valid_fd): New function.
24245 * posix/spawn_faction_addopen.c
24246 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24247 * posix/spawn_faction_addclose.c
24248 (posix_spawn_file_actions_addclose): Likewise.
24249 * posix/spawn_faction_adddup2.c
24250 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24251 second file descriptor.
24252 * posix/spawn_valid_fd.c: New file.
24253 * posix/tst-posix_spawn-fd.c: New file.
24254 * posix/Makefile (routines): Add spawn_valid_fd.
24255 (tests): Add tst-posix_spawn-fd.
24256
24257 2016-02-19 Florian Weimer <fweimer@redhat.com>
24258
24259 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24260 (do_test): Limit the number of arenas, so that we can use fewer
24261 outer threads. Limit timeout to 3 seconds, in preparation for a
24262 larger TIMEOUT value.
24263
24264 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24265
24266 [BZ #19674]
24267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24268 sign in overflowing and underflowing results when overflow or
24269 underflow is detected early. Include sign in result before rather
24270 than after scaling.
24271
24272 [BZ #19603]
24273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24274 (__ieee754_remainderl): Adjust sign of integer version of low part
24275 when taking absolute value of high part.
24276 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24277 * math/libm-test.inc (remainder_test_data): Add another test.
24278 (remquo_test_data): Likewise.
24279
24280 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24281
24282 [BZ #19602]
24283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24284 equal high parts and both low parts zero specially.
24285 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24286 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24287 Add test-fmodl-ldbl-128ibm.
24288
24289 [BZ #19595]
24290 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24291 common logic for all cases of shifting subnormal results. Do not
24292 insert sign bit in shifted mantissa. Always pass -1023 as biased
24293 exponent to ldbl_insert_mantissa in subnormal case.
24294
24295 [BZ #19594]
24296 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24297 on high and low parts then adjust result and use
24298 ldbl_canonicalize_int if needed.
24299
24300 [BZ #19593]
24301 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24302 on high part and __floor or __ceil on low part then use
24303 ldbl_canonicalize_int if needed.
24304
24305 [BZ #19592]
24306 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24307 high and low parts then use ldbl_canonicalize_int if needed.
24308
24309 [BZ #17899]
24310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24311 New function.
24312 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24313 on high and low parts then use ldbl_canonicalize_int if needed.
24314
24315 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24316
24317 * configure: Regenerated.
24318
24319 * po/libc.pot: Regenerated.
24320
24321 * po/be.po: Updated translation.
24322 * po/bg.po: Likewise.
24323 * po/ca.po: Likewise.
24324 * po/cs.po: Likewise.
24325 * po/da.po: Likewise.
24326 * po/el.po: Likewise.
24327 * po/eo.po: Likewise.
24328 * po/es.po: Likewise.
24329 * po/fi.po: Likewise.
24330 * po/fr.po: Likewise.
24331 * po/gl.po: Likewise.
24332 * po/hr.po: Likewise.
24333 * po/hu.po: Likewise.
24334 * po/ia.po: Likewise.
24335 * po/id.po: Likewise.
24336 * po/it.po: Likewise.
24337 * po/ja.po: Likewise.
24338 * po/lt.po: Likewise.
24339 * po/nb.po: Likewise.
24340 * po/nl.po: Likewise.
24341 * po/pt_BR.po: Likewise.
24342 * po/rw.po: Likewise.
24343 * po/sk.po: Likewise.
24344 * po/sl.po: Likewise.
24345 * po/sv.po: Likewise.
24346 * po/tr.po: Likewise.
24347 * po/zh_CN.po: Likewise.
24348 * po/zh_TW.po: Likewise.
24349
24350 * version.h (RELEAES): Set to "development".
24351 (VERSION): Set to 2.23.90.
24352
24353 * version.h (RELEASE): Set to "stable".
24354 (VERSION): Set to 2.23.
24355 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24356
24357 * NEWS: Updated fixed bugs.
24358
24359 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24360 Wilco Dijkstra <wdijkstr@arm.com>
24361
24362 [BZ #19462]
24363 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24364 (_STRING_INLINE_unaligned): This.
24365 * include/string.h: Include <string_private.h>.
24366 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24367 _STRING_INLINE_unaligned.
24368 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24369 (_STRING_INLINE_unaligned): New.
24370 * sysdeps/aarch64/string_private.h: New file.
24371 * sysdeps/generic/string_private.h: Likewise.
24372 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24373 * sysdeps/s390/string_private.h: Likewise.
24374 * sysdeps/x86/string_private.h: Likewise.
24375 * sysdeps/m68k/m680x0/m68020/bits/string.h
24376 (_STRING_ARCH_unaligned): Renamed to ...
24377 (_STRING_INLINE_unaligned): This.
24378 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24379 to ...
24380 (_STRING_INLINE_unaligned): This.
24381 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24382 to ...
24383 (_STRING_INLINE_unaligned): This.
24384 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24385 to ...
24386 (_STRING_INLINE_unaligned): This.
24387
24388 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24389 H.J. Lu <hongjiu.lu@intel.com>
24390
24391 [BZ #19590]
24392 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24393 relocation.
24394
24395 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24396
24397 [BZ #18665]
24398 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24399 *herrno_p.
24400 (gaih_getanswer): Document functional behviour. Return tryagain
24401 if any result is tryagain.
24402 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24403 when freed.
24404 * resolv/res_send.c: Add copyright text.
24405 (__libc_res_nsend): Document that MAXPACKET is expected.
24406 (send_vc): Document. Remove buffer reuse.
24407 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24408 size of the buffer. Add Dprint for truncated UDP buffer.
24409
24410 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24411
24412 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24413 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24414 * INSTALL: Regenerate.
24415
24416 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24417 Jonathan Wakely <jwakely@redhat.com>
24418 Carlos O'Donell <carlos@redhat.com>
24419
24420 [BZ 19439]
24421 * math/Makefile (tests): Add test-math-isinff.
24422 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24423 * math/bits/mathcalls.h [__USE_MISC]: Use
24424 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24425 functions not in C++11 and which don't conflict e.g. isinff,
24426 isinfl etc.
24427 * math/test-math-isinff.cc: New file.
24428
24429 2016-02-12 Florian Weimer <fweimer@redhat.com>
24430
24431 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24432
24433 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24434
24435 [BZ #19529]
24436 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24437
24438 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24439
24440 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24441
24442 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24443
24444 [BZ #19550]
24445 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24446 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24447 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24448 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24449 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24450 New syscall entry.
24451 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24452 New syscall entry.
24453 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24454 syscall entry.
24455
24456 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24457
24458 [BZ #18240]
24459 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24460 unsigned int wraparound.
24461
24462 2016-01-27 Florian Weimer <fweimer@redhat.com>
24463
24464 [BZ #18240]
24465 * misc/bug18240.c: New test.
24466 * misc/Makefile (tests): Add it.
24467
24468 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24469 Joseph Myers <joseph@codesourcery.com>
24470
24471 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24472 load in branch delay slot when less than a word of input left.
24473
24474 2016-01-27 Andreas Schwab <schwab@suse.de>
24475
24476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24477 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24478 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24479 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24480
24481 2016-01-26 David S. Miller <davem@davemloft.net>
24482
24483 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24484
24485 2016-01-25 David S. Miller <davem@davemloft.net>
24486
24487 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24488 __sqrtl_finite.
24489 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24490 instead using versioned_symbol.
24491 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24492 of entries.
24493
24494 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24495 __sqrtl_finite to GLIBC_2.23
24496
24497 2016-01-25 Ricchard Henderson <rth@redhat.com>
24498
24499 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24500
24501 2016-01-25 Andreas Schwab <schwab@suse.de>
24502
24503 [BZ #17514]
24504 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24505 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24506 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24507 * nptl/tst-mutex-errorcheck.c: New file.
24508
24509 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24510
24511 [BZ #18560]
24512 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24513 (IPCOP_semop): Likewise.
24514 (IPCOP_semget): Likewise.
24515 (IPCOP_semctl): Likewise.
24516 (IPCOP_msgsnd): Likewise.
24517 (IPCOP_msgrcv): Likewise.
24518 (IPCOP_msgget): Likewise.
24519 (IPCOP_msgctl): Likewise.
24520 (IPCOP_shmat): Likewise.
24521 (IPCOP_shmdt): Likewise.
24522 (IPCOP_shmget): Likewise.
24523 (IPCOP_shmctl): Likewise.
24524
24525 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24526
24527 * string/tst-endian.c: Include <libc-internal.h>.
24528 (do_test): Ignore tautological-compare warnings around
24529 "htobeXX (beXXtoh (i)) != i" and
24530 "htoleXX (leXXtoh (i)) != i" if-statements.
24531
24532 2016-01-24 David S. Miller <davem@davemloft.net>
24533
24534 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24535 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24536 alias.
24537 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24538 __sqrtl_finite.
24539
24540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24541
24542 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24543
24544 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24545 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24546 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24547
24548 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24549
24550 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24551 (thread_func): Use new function to simplify barrier check.
24552 (do_test): Use new function to simplify checking barrier exit
24553 code, and actually join the child thread.
24554
24555 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24556
24557 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24558 semicolon.
24559 (__libc_tend): Likewise.
24560 (__libc_tabort): Likewise.
24561
24562 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24563
24564 * sysdeps/nios2/libm-test-ulps: Update.
24565 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24566 (__gtsf2): Likewise.
24567 (__unorddf2): Likewise.
24568 (__unordsf2): Likewise.
24569 (__ledf2): Likewise.
24570
24571 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24572
24573 * nis/nis_table.c (__follow_path): Disable diagnostic for
24574 uninitialized variable that is a false positive for gcc 4.7.
24575 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24576
24577 2016-01-20 Roland McGrath <roland@hack.frob.com>
24578
24579 * sysdeps/nacl/lowlevellock-futex.h
24580 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24581 Always evaluate PRIVATE argument.
24582
24583 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24584
24585 [BZ #19490]
24586 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24587 (pthread_cond_broadcast): Use ENTRY/END
24588 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24589 (pthread_cond_signal): Likewise.
24590 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24591 Likewise.
24592 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24593 Likewise.
24594 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24595 Likewise.
24596
24597 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24598
24599 * sysdeps/ieee754/dbl-64/s_finite.c
24600 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24601 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24602 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24603 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24604 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24605
24606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24607 (__gtsf2): Add as optional for libc.so.
24608 (__unordsf2): Likewise.
24609 (__signbit): Remove for libc.so.
24610 (__signbitl): Likewise.
24611
24612 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24613
24614 * iconvdata/bug-iconv11.c (test_ibm93x):
24615 Use %zu printf format specifier for size_t argument.
24616
24617 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24618
24619 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24620 already-recorded ulps.
24621 * sysdeps/arm/libm-test-ulps: Regenerated.
24622 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24623 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24624 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24625
24626 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24627 Paul Pluzhnikov <ppluzhnikov@google.com>
24628
24629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24630 assembler not supporting AVX-512.
24631
24632 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24633
24634 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24635
24636 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24637
24638 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24639 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24640
24641 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24642
24643 * sysdeps/arm/libm-test-ulps: Regenerated.
24644
24645 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24646
24647 [BZ #19451]
24648 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24649
24650 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24651
24652 [BZ #19486]
24653 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24654 * sysdeps/generic/fix-fp-int-convert-overflow.h
24655 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24656 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24657 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24658 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24659 Likewise.
24660 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24661 Avoid conversions to long int where inexact exceptions
24662 could be raised.
24663 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24664 Likewise.
24665 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24666 Avoid conversions to long long int where inexact exceptions
24667 could be raised.
24668 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24669 Likewise.
24670
24671 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24672
24673 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24674 * configure: Regenerated.
24675
24676 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24677
24678 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24679
24680 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24681
24682 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24683 outside of comment.
24684
24685 2016-01-15 Torvald Riegel <triegel@redhat.com>
24686
24687 * nptl/tst-barrier1.c: Add description on first line.
24688 * nptl/tst-barrier2.c: Likewise.
24689 * nptl/tst-barrier3.c: Likewise.
24690 * nptl/tst-barrier4.c: Likewise.
24691 * nptl/tst-barrier5.c: Likewise.
24692
24693 2016-01-15 Torvald Riegel <triegel@redhat.com>
24694
24695 [BZ #18868]
24696 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24697
24698 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24699
24700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24702 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24703 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24704 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24705 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24706 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24707 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24708 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24709 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24710 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24711
24712 2016-01-15 Torvald Riegel <triegel@redhat.com>
24713
24714 [BZ #13065]
24715 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24716 new implementation.
24717 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24718 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24719 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24720 (BARRIER_IN_THRESHOLD): New macro.
24721 * nptl/pthread_barrierattr_setpshared.c
24722 (pthread_barrierattr_setpshared): Clean up.
24723 * nptl/tst-barrier4.c: Correct comment.
24724 * nptl/tst-barrier5.c: New file.
24725 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24726 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24727 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24728 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24729 * nptl/lowlevelbarrier.sym: Remove.
24730 * nptl/DESIGN-barrier.txt: Remove.
24731 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24732 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24733 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24734 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24735 error.
24736 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24737 implementation.
24738
24739 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24740
24741 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24742 (do_child): Mask SIGRTMIN while thr is running.
24743
24744 2016-01-15 Martin Sebor <msebor@redhat.com>
24745
24746 [BZ #19432]
24747 * iconvdata/Makefile: Add bug-iconv11.
24748 * iconvdata/bug-iconv11.c: New test.
24749 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24750 * iconvdata/ibm933.c: Same.
24751 * iconvdata/ibm935.c: Same.
24752 * iconvdata/ibm937.c: Same.
24753 * iconvdata/ibm939.c: Same.
24754
24755 2016-01-15 Martin Sebor <msebor@redhat.com>
24756
24757 [BZ #19443]
24758 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24759 [DEBUG] (_ufc_set_bits): Declare used.
24760 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24761 [DEBUG] (print_all): Declare used.
24762 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24763 operands of the ternary ?: expression to target type.
24764 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24765 calling the undeclared abort.
24766 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24767
24768 2016-01-15 Martin Sebor <msebor@redhat.com>
24769
24770 [BZ #18755]
24771 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24772 warnings.
24773 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24774 (__gai_create_helper_thread): Same.
24775 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24776 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24777 to suppress -Wmaybe-uninitialized warnings.
24778
24779 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24780
24781 [BZ #19465]
24782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24783 inside if.
24784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24785 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24787
24788 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24789
24790 [BZ #19466]
24791 * time/tst-mktime2.c (time_t_max): Removed.
24792 (time_t_min): Likewise.
24793 (TYPE_SIGNED): New.
24794 (TYPE_MINIMUM): Likewise.
24795 (TYPE_MAXIMUM): Likewise.
24796 (TIME_T_MIN): Likewise.
24797 (TIME_T_MAX): Likewise.
24798 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24799 and TIME_T_MIN.
24800 (do_test): Likewise.
24801
24802 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24803
24804 [BZ #19467]
24805 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24806 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24807
24808 2016-01-02 Marcin Koƛcielnicki <koriakin@0x04.net>
24809
24810 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24811
24812 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24813
24814 * benchtests/Makefile (PYTHON): Define.
24815 (bench-func): Use $(PYTHON) to run python scripts.
24816 ($(objpfx)bench-%.c): Likewise.
24817
24818 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24819
24820 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24821 leading slash when `file_name' is "/".
24822
24823 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24824
24825 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24826 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24827 Likewise.
24828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24829 Likewise.
24830 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24831 Likewise.
24832 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24833 enum constant and macro.
24834 (PTRACE_SETSIGMASK): Likewise.
24835 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24836 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24837 (PTRACE_GETSIGMASK): Likewise.
24838 (PTRACE_SETSIGMASK): Likewise.
24839 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24841 Likewise.
24842 (PTRACE_SETSIGMASK): Likewise.
24843 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24845 (PTRACE_GETSIGMASK): Likewise.
24846 (PTRACE_SETSIGMASK): Likewise.
24847 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24849 Likewise.
24850 (PTRACE_SETSIGMASK): Likewise.
24851 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24852 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24853 Likewise.
24854 (PTRACE_SETSIGMASK): Likewise.
24855 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24856 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24857 Likewise.
24858 (PTRACE_SETSIGMASK): Likewise.
24859 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24860
24861 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24862 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24863
24864 [BZ #19439]
24865 * math/bits/mathcalls.h
24866 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24867 prototype.
24868 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24869
24870 2016-01-11 Andreas Schwab <schwab@suse.de>
24871
24872 [BZ #19253]
24873 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24874 cache when TZDEFRULES was used.
24875 * time/tst-tzname.c: New file.
24876 * time/Makefile (test): Add tst-tzname.
24877 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24878 * timezone/Makefile (test-zones): Add $(posixrules-file).
24879 ($(testdata)/$(posixrules-file)): New rule.
24880
24881 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24882
24883 Fix doc quoting problems with Texinfo 5
24884 Without this change, in the info file output, Texinfo 5 quotes code
24885 in text with undirected single quotes 'like this' and generates
24886 code examples that with many PDF readers cannot be cut out of PDFs
24887 and pasted into code.
24888 * manual/libc.texinfo: Configure the libc manual like the GNU
24889 Emacs manual, by using @documentencoding and setting
24890 txicodequoteundirected and txicodequotebacktick. This way,
24891 Texinfo 5 quotes code in text with directed single quotes ‘like
24892 this’ and produces examples that can be cut out of PDFs. This
24893 change causes Texinfo 5 to generate info files that contain UTF-8
24894 characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
24895 '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
24896
24897 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24898
24899 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24900 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24901 barriers to their respective compiler built-ins.
24902 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24903 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24904 * sysdeps/powerpc/sysdep.h: Likewise.
24905 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24906 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24907 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24908
24909 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24910
24911 * scripts/config.guess: Revert previous shebang change.
24912 * scripts/config.sub: Likewise.
24913 * scripts/mkinstalldirs: Likewise.
24914
24915 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24916
24917 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24918 PPC_FEATURE2_HAS_IEEE128.
24919 * sysdeps/powerpc/dl-procinfo.c:
24920 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24921
24922 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24923
24924 [BZ #19415]
24925 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24926 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24927 (_dl_lookup_address): Rewrite using function resolver trampoline.
24928 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24929 two bits in address.
24930
24931 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24932
24933 * longlong.h: Change !__SHMEDIA__ to
24934 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24935 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24936
24937 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24938 Joseph Myers <joseph@codesourcery.com>
24939 Mark Shinwell <shinwell@codesourcery.com>
24940 Andrew Stubbs <ams@codesourcery.com>
24941 Rich Felker <dalias@libc.org>
24942
24943 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24944
24945 2016-01-07 Richard Henderson <rth@redhat.com>
24946
24947 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24948
24949 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24950
24951 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24952 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24953 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24954 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24955 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24956
24957 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24958 Joseph Myers <joseph@codesourcery.com>
24959
24960 * timezone/private.h: Update from tzcode 2015g.
24961 * timezone/tzfile.h: Likewise.
24962 * timezone/tzselect.ksh: Likewise.
24963 * timezone/zdump.c: Likewise.
24964 * timezone/zic.c: Likewise.
24965 * timezone/ialloc.c: Remove file.
24966 * timezone/scheck.c: Likewise.
24967 * timezone/Makefile (extra-objs): Remove variable.
24968 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24969 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24970 -Wno-maybe-uninitialized.
24971 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24972 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24973 (CFLAGS-ialloc.c): Remove variable.
24974 (CFLAGS-scheck.c): Likewise.
24975 * timezone/README: Update list of files from tzcode.
24976
24977 2016-01-07 Khem Raj <raj.khem@gmail.com>
24978
24979 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24980 instead of __fxprintf when _LIBC is undefined.
24981
24982 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24983
24984 * catgets/test-gencat.sh: Remove space after shebang.
24985 * conform/GlibcConform.pm: Likewise.
24986 * conform/check-header-lists.sh: Likewise.
24987 * conform/conformtest.pl: Likewise.
24988 * conform/linknamespace.pl: Likewise.
24989 * conform/list-header-symbols.pl: Likewise.
24990 * debug/catchsegv.sh: Likewise.
24991 * elf/genrtldtbl.awk: Likewise.
24992 * elf/tst-pathopt.sh: Likewise.
24993 * elf/tst-rtld-load-self.sh: Likewise.
24994 * grp/tst_fgetgrent.sh: Likewise.
24995 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24996 * iconvdata/gen-8bit-gap.sh: Likewise.
24997 * iconvdata/gen-8bit.sh: Likewise.
24998 * iconvdata/run-iconv-test.sh: Likewise.
24999 * intl/tst-gettext.sh: Likewise.
25000 * intl/tst-gettext2.sh: Likewise.
25001 * intl/tst-gettext4.sh: Likewise.
25002 * intl/tst-gettext6.sh: Likewise.
25003 * intl/tst-translit.sh: Likewise.
25004 * io/ftwtest-sh: Likewise.
25005 * libio/test-freopen.sh: Likewise.
25006 * locale/gen-translit.pl: Likewise.
25007 * malloc/tst-mtrace.sh: Likewise.
25008 * manual/check-safety.sh: Likewise.
25009 * manual/libc-texinfo.sh: Likewise.
25010 * manual/tsort.awk: Likewise.
25011 * manual/xtract-typefun.awk: Likewise.
25012 * nptl/tst-cancel-wrappers.sh: Likewise.
25013 * nptl/tst-tls6.sh: Likewise.
25014 * posix/globtest.sh: Likewise.
25015 * posix/tst-getconf.sh: Likewise.
25016 * posix/wordexp-tst.sh: Likewise.
25017 * scripts/check-c++-types.sh: Likewise.
25018 * scripts/check-local-headers.sh: Likewise.
25019 * scripts/config.guess: Likewise.
25020 * scripts/config.sub: Likewise.
25021 * scripts/cpp: Likewise.
25022 * scripts/cross-test-ssh.sh: Likewise.
25023 * scripts/documented.sh: Likewise.
25024 * scripts/evaluate-test.sh: Likewise.
25025 * scripts/gen-libc-abis: Likewise.
25026 * scripts/gen-sorted.awk: Likewise.
25027 * scripts/list-fixed-bugs.py: Likewise.
25028 * scripts/merge-test-results.sh: Likewise.
25029 * scripts/mkinstalldirs: Likewise.
25030 * scripts/rellns-sh: Likewise.
25031 * scripts/test-installation.pl: Likewise.
25032 * scripts/update-copyrights: Likewise.
25033 * stdio-common/tst-printf.sh: Likewise.
25034 * stdio-common/tst-unbputc.sh: Likewise.
25035 * stdlib/tst-fmtmsg.sh: Likewise.
25036 * stdlib/tst-setcontext3.sh: Likewise.
25037 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25038 * sysdeps/unix/make-syscalls.sh: Likewise.
25039
25040 2016-01-06 John David Anglin <dave.anglin@bell.net>
25041
25042 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25043 asm stw with atomic_exchange_rel. Add explanatory comment.
25044 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25045 Likewise.
25046
25047 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25048
25049 [BZ #19122]
25050 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25051 * sysdeps/generic/dl-unistd.h: New file.
25052 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25053
25054 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25055
25056 [BZ #19122]
25057 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25058 * sysdeps/generic/dl-mman.h: New file.
25059 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25060
25061 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25062
25063 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25064 trailing whitespace removed.
25065 * scripts/config.guess: Update to version 2016-01-01.
25066 * scripts/config.sub: Update to version 2016-01-01.
25067 * scripts/move-if-change: Update from gnulib.
25068
25069 2016-01-04 Anton Blanchard <anton@samba.org>
25070
25071 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25072 for array indices.
25073 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25074
25075 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25076
25077 * NEWS: Update copyright dates.
25078 * catgets/gencat.c (print_version): Likewise.
25079 * csu/version.c (banner): Likewise.
25080 * debug/catchsegv.sh: Likewise.
25081 * debug/pcprofiledump.c (print_version): Likewise.
25082 * debug/xtrace.sh (do_version): Likewise.
25083 * elf/ldconfig.c (print_version): Likewise.
25084 * elf/ldd.bash.in: Likewise.
25085 * elf/pldd.c (print_version): Likewise.
25086 * elf/sotruss.sh: Likewise.
25087 * elf/sprof.c (print_version): Likewise.
25088 * iconv/iconv_prog.c (print_version): Likewise.
25089 * iconv/iconvconfig.c (print_version): Likewise.
25090 * locale/programs/locale.c (print_version): Likewise.
25091 * locale/programs/localedef.c (print_version): Likewise.
25092 * login/programs/pt_chown.c (print_version): Likewise.
25093 * malloc/memusage.sh (do_version): Likewise.
25094 * malloc/memusagestat.c (print_version): Likewise.
25095 * malloc/mtrace.pl: Likewise.
25096 * manual/libc.texinfo: Likewise.
25097 * nptl/version.c (banner): Likewise.
25098 * nscd/nscd.c (print_version): Likewise.
25099 * nss/getent.c (print_version): Likewise.
25100 * nss/makedb.c (print_version): Likewise.
25101 * posix/getconf.c (main): Likewise.
25102 * scripts/test-installation.pl: Likewise.
25103 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25104
25105 * All files with FSF copyright notices: Update copyright dates
25106 using scripts/update-copyrights.
25107 * intl/plural.c: Regenerated.
25108 * locale/programs/charmap-kw.h: Likewise.
25109 * locale/programs/locfile-kw.h: Likewise.
25110
25111 2016-01-02 Helge Deller <deller@gmx.de>
25112
25113 [BZ #19285]
25114 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25115 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25116 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25117 (MADV_xxK_PAGES): Remove.
25118
25119 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25120
25121 [BZ #15421]
25122 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25123 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25124 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25125 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25126
25127 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25128
25129 [BZ #19408]
25130 * sysdeps/unix/sysv/linux/personality.c: New file.
25131 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25132 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25133 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25134 (sysdep_routines): Add personality.
25135 (tests): Add tst-personality.
25136 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25138 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25139 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25140 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25141 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25142 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25143 Likewise.
25144 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25145 Likewise.
25146 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25147 Likewise.
25148 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25149 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25150 Likewise.
25151
25152 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25153
25154 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25155 (PATH_ARM_SYSTYPE): Remove.
25156 (PATH_CPUINFO): Likewise.
25157 (IO_BASE_FOOTBRIDGE): Likewise.
25158 (IO_SHIFT_FOOTBRIDGE): Likewise.
25159 (struct platform): Likewise.
25160 (init_iosys): Remove compatibility code for 2.4 kernels.
25161 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25162
25163 2015-12-29 Florian Weimer <fweimer@redhat.com>
25164
25165 * malloc/tst-malloc-thread-fail.c: New file.
25166 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25167 (tst-malloc-thread-fail): Link against libpthread.
25168
25169 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25170
25171 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25172 (get_parser): New function.
25173 (main): New function.
25174
25175 2015-12-29 Rob Wu <rob@robwu.nl>
25176
25177 [BZ #19369]
25178 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25179
25180 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25181
25182 [BZ #19270]
25183 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25184
25185 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25186
25187 [BZ #15421]
25188 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25189
25190 2015-12-23 Torvald Riegel <triegel@redhat.com>
25191
25192 [BZ #13690]
25193 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25194 after releasing it.
25195 (__lll_robust_unlock): Likewise.
25196 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25198 (lll_robust_unlock): Likewise.
25199 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25200 Prevent warnings in callers.
25201
25202 2015-12-23 Florian Weimer <fweimer@redhat.com>
25203
25204 * malloc/arena.c (list_lock): Update comment.
25205
25206 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25207
25208 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25209 __parse_hwcap_and_convert_at_platform to libc.a.
25210
25211 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25212
25213 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25214 platform and feature support for POWER9.
25215 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25216 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25217 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25218 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25219 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25220 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25221 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25222 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25223
25224 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25225
25226 Harmonize generic stdio-lock support with nptl
25227
25228 This fixes build when _IO_funlockfile is a macro, fixes build where
25229 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25230 stack unwind.
25231
25232 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25233 _IO_release_lock ): Use cleanup attribute on new
25234 _IO_acquire_lock_file variable instead of assuming that
25235 _IO_release_lock will be called.
25236 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25237 _IO_acquire_lock_needs_exceptions_enabled.
25238 (_IO_acquire_lock_clear_flags2): New macro.
25239
25240 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25241
25242 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25243
25244 2015-12-21 Florian Weimer <fweimer@redhat.com>
25245
25246 [BZ #19182]
25247 * malloc/arena.c (list_lock): Document lock ordering requirements.
25248 (free_list_lock): New lock.
25249 (ptmalloc_lock_all): Comment on free_list_lock.
25250 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25251 (detach_arena): Update comment. free_list_lock is now needed.
25252 (_int_new_arena): Use free_list_lock around detach_arena call.
25253 Acquire arena lock after list_lock. Add comment, including FIXME
25254 about incorrect synchronization.
25255 (get_free_list): Switch to free_list_lock.
25256 (reused_arena): Acquire free_list_lock around detach_arena call
25257 and attached threads counter update. Add two FIXMEs about
25258 incorrect synchronization.
25259 (arena_thread_freeres): Switch to free_list_lock.
25260 * malloc/malloc.c (struct malloc_state): Update comments to
25261 mention free_list_lock.
25262
25263 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25264
25265 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25266 Remove functions.
25267 (sloww, sloww1): Accept argument to offset quadrant.
25268 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25269 quadrant.
25270 (__sin, __cos): Consolidate common code into new functions.
25271 (reduce_sincos_1, do_sincos_1): New functions.
25272 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25273
25274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25275 code to new functions.
25276 (reduce_sincos_2, do_sincos_2): New functions.
25277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25278
25279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25280 common code for sincos.
25281 (__cos) [!IN_SINCOS]: Likewise.
25282 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25283 New function.
25284 (__sincos): Use it.
25285
25286 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25287
25288 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25289 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25290 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25291
25292 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25293
25294 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25297 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25298 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25299 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25300 index_Prefer_No_VZEROUPPER): New feature.
25301 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25302 Prefer_No_VZEROUPPER for Knights Landing.
25303
25304 015-12-18 Torvald Riegel <triegel@redhat.com>
25305
25306 * math/atest-exp2.c (mp_exp_m1): Remove.
25307
25308 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25309
25310 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25311 syscalls.
25312 (__SYSCALL0): New macro.
25313 (__SYSCALL1): Likewise.
25314 (__SYSCALL2): Likewise.
25315 (__SYSCALL3): Likewise.
25316 (__SYSCALL4): Likewise.
25317 (__SYSCALL5): Likewise.
25318 (__SYSCALL6): Likewise.
25319 (__SYSCALL_CONCAT_X): Likewise.
25320 (__SYSCALL_CONCAT): Likewise.
25321 (__SYSCALL_DIST): Likewise.
25322 (__SYSCALL_CALL): Likewise.
25323
25324 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25325
25326 [BZ #19363]
25327 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25328
25329 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25330
25331 [BZ #19375]
25332 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25333 negative subnormals.
25334
25335 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25336
25337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25338 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25339 (INTERNAL_SYSCALL_NCS): Use it.
25340 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25341
25342 2015-12-16 Florian Weimer <fweimer@redhat.com>
25343
25344 [BZ #19243]
25345 * malloc/arena.c (get_free_list): Remove assert and adjust
25346 reference count handling. Add comment about reused_arena
25347 interaction.
25348 (reused_arena): Add comments abount get_free_list interaction.
25349 * malloc/tst-malloc-thread-exit.c: New file.
25350 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25351 (tst-malloc-thread-exit): Link against libpthread.
25352
25353 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25354
25355 [BZ #19367]
25356 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25357 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25358 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25359 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25360 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25361
25362 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25365 Silvermont optimizations for Knights Landing.
25366
25367 2015-12-15 Andreas Schwab <schwab@suse.de>
25368
25369 [BZ #17197]
25370 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25371 immediately after emitting SI.
25372 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25373 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25374 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25375 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25376 * iconvdata/bug-iconv10.c: New file.
25377 * iconvdata/Makefile (tests): Add bug-iconv10.
25378 ($(objpfx)bug-iconv10.out): New rule.
25379
25380 2015-12-15 Florian Weimer <fweimer@redhat.com>
25381
25382 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25383 aliasing violation.
25384
25385 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25386
25387 [BZ #18472]
25388 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25389 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25390 conditionals for them.
25391 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25392 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25394 sys/kdaemon.h.
25395 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25396 compat-only syscall, obsoleted in glibc 2.23.
25397 (create_module): Likewise.
25398 (get_kernel_syms): Likewise.
25399 (query_module): Likewise.
25400 (uselib): Likewise.
25401 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25402
25403 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25404
25405 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25406 <linux/version.h>.
25407 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25408 conditional code.
25409 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25410 and ioshift_name initialization.
25411
25412 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25413
25414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25415 Fix indentation.
25416
25417 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25418
25419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25420
25421 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25422
25423 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25424
25425 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25426 Jakub Wilk <jwilk@debian.org>
25427
25428 [BZ #19347]
25429 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25430 to change the group of the device to the tty group.
25431
25432 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25433
25434 Split large string section; add truncation advice
25435 * manual/examples/strncat.c: Remove.
25436 This example was misleading, as the code would have undefined
25437 behavior if "hello" was longer than SIZE. Anyway, the manual
25438 shouldn't encourage strncpy+strncat for this sort of thing.
25439 * manual/string.texi (Copying Strings and Arrays): Split into
25440 three sections Copying Strings and Arrays, Concatenating Strings,
25441 and Truncating Strings, as this section was way too long. All
25442 cross-referenced changed. Add advice about string-truncation
25443 functions. Remove misleading strncat example.
25444
25445 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25446
25447 * manual/nss.texi (NSS Modules Interface): Document
25448 NSS_STATUS_NOTFOUND and SUCCESS.
25449
25450 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25451
25452 [BZ 18568]
25453 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25454 201505L, for Unicode 8.
25455
25456 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25457
25458 * locale/C-translit.h: Regenerate.
25459
25460 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25461
25462 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25463 and U+0153.
25464
25465 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25466
25467 [BZ #19351]
25468 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25469 expanding log(1+z), compare z rather than its square with epsilon
25470 to determine when to avoid evaluating the expansion.
25471
25472 [BZ #19350]
25473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25474 Increase overflow threshold.
25475
25476 [BZ #19349]
25477 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25478 when small.
25479
25480 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25481 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25482 New macro.
25483 [__LINUX_KERNEL_VERSION >= 0x040300]
25484 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25485 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25486 Likewise.
25487 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25488 Likewise.
25489 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25490 Likewise.
25491 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25492 Likewise.
25493 [__LINUX_KERNEL_VERSION >= 0x040300]
25494 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25495 [__LINUX_KERNEL_VERSION >= 0x040300]
25496 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25497 [__LINUX_KERNEL_VERSION >= 0x040300]
25498 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25499 [__LINUX_KERNEL_VERSION >= 0x040300]
25500 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25501 [__LINUX_KERNEL_VERSION >= 0x040300]
25502 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25503 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25504 Likewise.
25505 [__LINUX_KERNEL_VERSION >= 0x040300]
25506 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25507 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25508 Likewise.
25509 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25510 Likewise.
25511 [__LINUX_KERNEL_VERSION >= 0x040300]
25512 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25513 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25514 Likewise.
25515 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25516 Likewise.
25517 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25518 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25519 Likewise.
25520 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25521 Likewise.
25522 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25523 Likewise.
25524 [__LINUX_KERNEL_VERSION >= 0x040300]
25525 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25526 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25527 Likewise.
25528 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25529 Likewise.
25530 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25531 Likewise.
25532 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25533 Likewise.
25534 [__LINUX_KERNEL_VERSION >= 0x040300]
25535 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25536 [__LINUX_KERNEL_VERSION >= 0x040300]
25537 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25538 [__LINUX_KERNEL_VERSION >= 0x040300]
25539 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25540 [__LINUX_KERNEL_VERSION >= 0x040300]
25541 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25542 [__LINUX_KERNEL_VERSION >= 0x040300]
25543 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25544 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25545 Likewise.
25546 [__LINUX_KERNEL_VERSION >= 0x040300]
25547 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25548 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25549 Likewise.
25550 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25551 Likewise.
25552 [__LINUX_KERNEL_VERSION >= 0x040300]
25553 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25554 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25555 Likewise.
25556 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25557 Likewise.
25558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25559 (__ASSUME_SOCKET_SYSCALL): Likewise.
25560 (__ASSUME_BIND_SYSCALL): Likewise.
25561 (__ASSUME_CONNECT_SYSCALL): Likewise.
25562 (__ASSUME_LISTEN_SYSCALL): Likewise.
25563 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25564 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25565 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25566 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25567 (__ASSUME_SEND_SYSCALL): Likewise.
25568 (__ASSUME_SENDTO_SYSCALL): Likewise.
25569 (__ASSUME_RECV_SYSCALL): Likewise.
25570 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25571 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25572 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25573 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25574 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25575 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25576 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25577 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25578 Likewise.
25579 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25580 Likewise.
25581 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25582 Likewise.
25583 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25584 Likewise.
25585 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25586 Likewise.
25587 [__LINUX_KERNEL_VERSION >= 0x020625]
25588 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25589 [__LINUX_KERNEL_VERSION >= 0x020625]
25590 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25591 [__LINUX_KERNEL_VERSION >= 0x020625]
25592 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25593 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25594 Likewise.
25595 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25596 Likewise.
25597 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25598 Likewise.
25599 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25600 Likewise.
25601 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25602 Likewise.
25603 [__LINUX_KERNEL_VERSION >= 0x020625]
25604 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25605 [__LINUX_KERNEL_VERSION >= 0x020625]
25606 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25607 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25608 Likewise.
25609 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25610 Likewise.
25611
25612 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25613
25614 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25615 record the current if the current ABI and CPU support the FP64
25616 extension.
25617 (has-modd-spreg): Define to record the current if the current ABI and
25618 CPU support 32-bit floating point values in odd FPU registers.
25619 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25620 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25621 $(has-modd-spreg) equals yes.
25622 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25623 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25624 $(has-modd-spreg) equal yes.
25625
25626 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25627
25628 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25629 basename.
25630
25631 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25632
25633 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25634 (bench-string): ... here.
25635 (bench): Add bench-string.
25636 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25637 to *-benchset to reflect what they are.
25638 (benchset): Adjust.
25639
25640 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25641 cos-inputs.
25642
25643 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25644
25645 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25646 __attribute__ ((__simd__)) for vector math function declarations.
25647
25648 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25649
25650 Fix typo in strncat, wcsncat manual entries
25651 * manual/string.texi (Copying and Concatenation): Fix typos in
25652 sample implementations of strncat and wcsncat, by having them use
25653 the old value of the destination length, not the new one.
25654
25655 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25656
25657 [BZ #16961]
25658 [BZ #16962]
25659 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25660 string on the stack for strtod.
25661 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25662 a string on the stack for strtof.
25663 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25664 constructing a string on the stack for strtold.
25665 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25666 __strtold_nan to GLIBC_PRIVATE.
25667 * math/test-nan-overflow.c: New file.
25668 * math/test-nan-payload.c: Likewise.
25669 * math/Makefile (tests): Add test-nan-overflow and
25670 test-nan-payload.
25671
25672 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25673
25674 Consistency about byte vs character in string.texi
25675 * manual/string.texi (String and Array Utilities):
25676 Distinguish more carefully among bytes, multibyte characters,
25677 and wide characters. Use "byte" when talking about C 'char',
25678 to distinguish it more clearly from multibyte characters.
25679 Say "wide character" or "multibyte character" instead of
25680 "character", when a wide or multibyte character is intended.
25681 Similarly for "multibyte string" versus "string".
25682 Define these terms more carefully.
25683
25684 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25685
25686 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25687 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25688 Likewise.
25689 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25690 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25691 * sysdeps/sh/math_private.h: New file.
25692 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25693 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25694 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25695 long double function name.
25696 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25698 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25702 Remove __finitel, __isinfl, and __isnanl.
25703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25704 Likewise.
25705 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25707 Remove __finitel.
25708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25709 Likewise.
25710 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25711
25712 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25713
25714 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25715 installed libmvec_nonshared.a.
25716
25717 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25718
25719 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25720 (sysdep_routines): Likewise.
25721 (sysdep-rtld-routines): Likewise.
25722 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25723 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25724 * sysdeps/powerpc/Versions: Added new
25725 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25726 * sysdeps/powerpc/hwcapinfo.c: New file.
25727 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25728 and parse hwcap, hwcap2 and platform number information.
25729 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25730 to store HWCAP+HWCAP2 and platform number.
25731 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25732 for HWCAP+HWCAP2 and platform number in the TCB.
25733 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25734 the HWCAP, HWCAP2 and platform number in the TCB.
25735 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25736 (TLS_INIT_TP): Included calls to add the hwcap and
25737 at_platform values in the TCB in TP initialization.
25738 (TLS_DEFINE_INIT_TP): Likewise.
25739 (THREAD_GET_HWCAP): New macro.
25740 (THREAD_SET_HWCAP): Likewise.
25741 (THREAD_GET_AT_PLATFORM): Likewise.
25742 (THREAD_SET_AT_PLATFORM): Likewise.
25743 * sysdeps/powerpc/powerpc32/dl-machine.h:
25744 (dl_platform_init): New function that calls
25745 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25746 powerpc32.
25747 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25748 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25749 this functionality, static linking case.
25750 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25751 linking case.
25752 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25753 __parse_hwcap_and_convert_at_platform for the static linking case.
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25755 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25756 ABI list for GLIBC 2.23.
25757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25758 Likewise.
25759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25760 Likewise.
25761
25762 2015-12-02 Ludovic CourtĂšs <ludo@gnu.org>
25763
25764 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25765 * configure: Regenerate.
25766 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25767 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25768
25769 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25770
25771 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25772 * iconvdata/ibm933.c: Likewise.
25773 * iconvdata/ibm935.c: Likewise.
25774 * iconvdata/ibm937.c: Likewise.
25775 * iconvdata/ibm939.c: Likewise.
25776
25777 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25778
25779 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25780 pthread_join.
25781 * nptl/tst-cancel21.c (tf): Likewise.
25782
25783 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 [BZ #19313]
25786 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25787 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25788 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25789 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25790 Likewise.
25791 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25792 Likewise.
25793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25794 Likewise.
25795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25796 Likewise.
25797 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25798 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25799 unsigned long int with __CPU_MASK_TYPE.
25800
25801 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25802
25803 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25804
25805 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25806
25807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25808 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25809 t512.x.
25810 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25811
25812 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25813
25814 [BZ #19214]
25815 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25816 argument to return extended model. Update family and model
25817 with extended family and model when family == 0x0f.
25818 (init_cpu_features): Updated.
25819
25820 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25821
25822 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25823 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25824
25825 * sysdeps/mach/hurd/mmap64.c: New file.
25826
25827 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25828
25829 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25830 rights for its main user thread in NEWTASK.
25831
25832 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25833
25834 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25835 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25836
25837 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25838
25839 [BZ #14259]
25840 * Makeconfig: Rename localedir to complocaledir.
25841 Rename inst_localedir to inst_complocaledir.
25842 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25843 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25844 * configure.ac: Use libc_cv_complocaledir.
25845 * configure: Regenerate.
25846 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25847 -DCOMPLOCALEDIR.
25848 * locale/findlocale.c: Use COMPLOCALEDIR.
25849 * locale/loadarchive.c: Likewise.
25850 * locale/programs/locale.c: Likewise.
25851 * locale/programs/localedef.c: Likewise.
25852 * locale/programs/locarchive.c: Likewise.
25853 * localedata/Makefile: Use inst_complocaledir.
25854 * sysdeps/gnu/configure: Regenerate.
25855 * sysdeps/hppa/configure: Regenerate.
25856 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25857 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25859 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25860 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25861 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25862 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25863
25864 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25865
25866 [BZ #19058]
25867 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25868 AS_NEEDED.
25869 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25870 workaround.
25871 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25872 libmvec-static-only-routines): Added new file.
25873 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25874
25875 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25876
25877 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25878 of interrupted RPC instead of restoring it.
25879
25880 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25881 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25882 libc_hidden_def.
25883 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25884 into initialized data instead of common. Define rtld_hidden_data_def.
25885 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25886 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25887 libc_hidden_def.
25888 (if_freenameindex): Add libc_hidden_weak.
25889 (if_nameindex): Add libc_hidden_weak.
25890 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25891 __open64.
25892 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25893 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25894 * sysdeps/mach/nanosleep.c: Include <time.h>
25895 (__nanosleep): Rename to __libc_nanosleep.
25896 (__nanosleep): Add weak_alias.
25897 (nanosleep): Update alias.
25898
25899 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25900
25901 * stdlib/strtod_nan.c: New file.
25902 * stdlib/strtod_nan_double.h: Likewise.
25903 * stdlib/strtod_nan_float.h: Likewise.
25904 * stdlib/strtod_nan_main.c: Likewise.
25905 * stdlib/strtod_nan_narrow.h: Likewise.
25906 * stdlib/strtod_nan_wide.h: Likewise.
25907 * stdlib/strtof_nan.c: Likewise.
25908 * stdlib/strtold_nan.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25910 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25911 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25912 * wcsmbs/wcstod_nan.c: Likewise.
25913 * wcsmbs/wcstof_nan.c: Likewise.
25914 * wcsmbs/wcstold_nan.c: Likewise.
25915 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25916 strtold_nan.
25917 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25918 wcstof_nan.
25919 * include/stdlib.h (__strtof_nan): Declare and use
25920 libc_hidden_proto.
25921 (__strtod_nan): Likewise.
25922 (__strtold_nan): Likewise.
25923 (__wcstof_nan): Likewise.
25924 (__wcstod_nan): Likewise.
25925 (__wcstold_nan): Likewise.
25926 * include/wchar.h (____wcstoull_l_internal): Declare.
25927 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25928 (____strtoull_l_internal): Remove declaration.
25929 (STRTOF_NAN): Define macro.
25930 (SET_MANTISSA): Remove macro.
25931 (STRTOULL): Likewise.
25932 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25933 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25934 (STRTOF_NAN): Define macro.
25935 (SET_MANTISSA): Remove macro.
25936 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25937 (SET_MANTISSA): Remove macro.
25938 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25939 macro.
25940 (SET_MANTISSA): Remove macro.
25941 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25942 macro.
25943 (SET_MANTISSA): Remove macro.
25944 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25945 (SET_MANTISSA): Remove macro.
25946 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25947 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25948 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25949
25950 [BZ #19266]
25951 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25952 upper case and lower case letters inside NAN(), not using TOLOWER.
25953 * stdlib/tst-strtod-nan-locale-main.c: New file.
25954 * stdlib/tst-strtod-nan-locale.c: Likewise.
25955 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25956 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25957 Depend on $(gen-locales).
25958 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25959 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25960 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25961 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25962 Depend on $(gen-locales).
25963 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25964
25965 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25966
25967 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25968
25969 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25971 __finitel, __isinfl, and __isnanl.
25972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25973 Likewise.
25974 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25976 __finitel.
25977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25978 Likewise.
25979 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25980
25981 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25982
25983 * malloc/memusage.c (me): Remove redundant getenv call.
25984
25985 2015-10-24 Florian Weimer <fweimer@redhat.com>
25986
25987 [BZ #19143]
25988 [BZ #19164]
25989 * nptl/check-cpuset.h: Remove.
25990 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25991 Remove CPU set size check.
25992 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25993 Likewise.
25994 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25995 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25996 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25997 (__pthread_setaffinity_new): Remove CPU set size check.
25998 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25999 (__kernel_cpumask_size): Remove.
26000 (__sched_setaffinity_new): Remove CPU set size check.
26001 * manual/threads.texi (Default Thread Attributes): Remove stale
26002 reference to check_cpuset_attr, determine_cpumask_size in comment.
26003 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26004 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26005 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26006 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26007 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26008 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26009 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26010 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26011 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26012 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26013 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26014 skeleton test file.
26015 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26016 tst-affinity-pid.
26017
26018 2015-11-24 Florian Weimer <fweimer@redhat.com>
26019
26020 * scripts/update-abilist.sh: New file.
26021 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26022 * Makerules (update-all-abi-%, update-all-abi)
26023 (subdir_update-all-abi): New targets.
26024 * elf/Makefile (update-all-abi): New target.
26025
26026 2015-11-24 Florian Weimer <fweimer@redhat.com>
26027
26028 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26029 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26030 (__libc_lock_define_initialized): Use it.
26031 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26032 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26033 * malloc/malloc.c (main_arena): Likewise.
26034 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26035 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26036
26037 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26038
26039 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26040 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26041 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26042 (PTRACE_O_MASK): Update value.
26043 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26044 New value in enum __ptrace_setoptions.
26045 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26046 (PTRACE_O_MASK): Update value.
26047 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26048 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26049 (PTRACE_O_MASK): Update value.
26050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26051 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26052 (PTRACE_O_MASK): Update value.
26053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26054 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26055 (PTRACE_O_MASK): Update value.
26056 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26057 New value in enum __ptrace_setoptions.
26058 (PTRACE_O_MASK): Update value.
26059 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26060 New value in enum __ptrace_setoptions.
26061 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26062 (PTRACE_O_MASK): Update value.
26063
26064 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26065 New macro.
26066 (PACKET_AUXDATA): Likewise.
26067 (PACKET_ORIGDEV): Likewise.
26068 (PACKET_VERSION): Likewise.
26069 (PACKET_HDRLEN): Likewise.
26070 (PACKET_RESERVE): Likewise.
26071 (PACKET_TX_RING): Likewise.
26072 (PACKET_LOSS): Likewise.
26073 (PACKET_VNET_HDR): Likewise.
26074 (PACKET_TX_TIMESTAMP): Likewise.
26075 (PACKET_TIMESTAMP): Likewise.
26076 (PACKET_FANOUT): Likewise.
26077 (PACKET_TX_HAS_OFF): Likewise.
26078 (PACKET_QDISC_BYPASS): Likewise.
26079 (PACKET_ROLLOVER_STATS): Likewise.
26080 (PACKET_FANOUT_DATA): Likewise.
26081 (PACKET_MR_UNICAST): Likewise.
26082
26083 [BZ #19242]
26084 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26085 (TOUPPER): Likewise.
26086 * stdlib/tst-strtol-locale-main.c: New file.
26087 * stdlib/tst-strtol-locale.c: Likewise.
26088 * stdlib/Makefile (tests): Add tst-strtol-locale.
26089 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26090 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26091 Depend on $(gen-locales).
26092 * wcsmbs/tst-wcstol-locale.c: New file.
26093 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26094 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26095 tr_TR.ISO-8859-9.
26096 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26097 Depend on $(gen-locales).
26098
26099 2015-11-20 Roland McGrath <roland@hack.frob.com>
26100
26101 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26102 __glibc_likely instead of __builtin_expect. After falling back to
26103 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26104 system interface to register the code pages as occupied.
26105
26106 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26107
26108 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26109 [!ARM_MATH_PRIVATE_H].
26110 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26111 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26112 [!HPPA_MATH_PRIVATE_H].
26113 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26114 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26115 to [!I386_MATH_PRIVATE_H].
26116 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26117 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26118 Change guard to [!M68K_MATH_PRIVATE_H].
26119 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26120 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26121 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26122 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26123 macro.
26124 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26125 [!MIPS_MATH_PRIVATE_H].
26126 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26127 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26128 [!NIO2_MATH_PRIVATE_H].
26129 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26130 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26131 [!TILE_MATH_PRIVATE_H].
26132 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26133
26134 [BZ #15421]
26135 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26136 initialize with 0 and define as weak alias of __signgam.
26137 * include/math.h [!_ISOMAC] (__signgam): Declare.
26138 * math/Makefile (libm-calls): Add w_lgamma_compat.
26139 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26140 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26141 test-signgam-ullong-init.
26142 (tests-static): Add test-signgam-uchar-static,
26143 test-signgam-uchar-init-static, test-signgam-uint-static,
26144 test-signgam-uint-init-static, test-signgam-ullong-static and
26145 test-signgam-ullong-init-static.
26146 (CFLAGS-test-signgam-uchar.c): New variable.
26147 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26148 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26149 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26150 (CFLAGS-test-signgam-uint.c): Likewise.
26151 (CFLAGS-test-signgam-uint-init.c): Likewise.
26152 (CFLAGS-test-signgam-uint-static.c): Likewise.
26153 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26154 (CFLAGS-test-signgam-ullong.c): Likewise.
26155 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26156 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26157 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26158 * math/Versions (libm): Add GLIBC_2.23.
26159 * math/lgamma-compat.h: New file.
26160 * math/test-signgam-main.c: Likewise.
26161 * math/test-signgam-uchar-init-static.c: Likewise.
26162 * math/test-signgam-uchar-init.c: Likewise.
26163 * math/test-signgam-uchar-static.c: Likewise.
26164 * math/test-signgam-uchar.c: Likewise.
26165 * math/test-signgam-uint-init-static.c: Likewise.
26166 * math/test-signgam-uint-init.c: Likewise.
26167 * math/test-signgam-uint-static.c: Likewise.
26168 * math/test-signgam-uint.c: Likewise.
26169 * math/test-signgam-ullong-init-static.c: Likewise.
26170 * math/test-signgam-ullong-init.c: Likewise.
26171 * math/test-signgam-ullong-static.c: Likewise.
26172 * math/test-signgam-ullong.c: Likewise.
26173 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26174 wrapper of w_lgamma_main.c.
26175 * math/w_lgamma_compat.c: New file.
26176 * math/w_lgamma_compatf.c: Likewise.
26177 * math/w_lgamma_compatl.c: Likewise.
26178 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26179 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26180 defining compatibility symbols.
26181 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26182 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26183 wrapper of w_lgammaf_main.c.
26184 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26185 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26186 defining compatibility symbols.
26187 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26188 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26189 wrapper of w_lgammal_main.c.
26190 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26191 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26192 defining compatibility symbols.
26193 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26194 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26195 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26196 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26197 <lgamma-compat.h>.
26198 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26199 (__ieee754_gamma): Define as alias.
26200 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26201 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26202 <lgamma-compat.h>.
26203 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26204 (__ieee754_gammaf): Define as alias.
26205 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26206 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26207 <lgamma-compat.h>.
26208 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26209 (__ieee754_gammal): Define as alias.
26210 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26211 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26212 <math/w_lgamma_compat.c>.
26213 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26214 Define as alias of __lgamma_compat and use in defining lgammal.
26215 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26216 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26217 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26218 (USE_AS_COMPAT): New macro.
26219 (LGAMMA_OLD_VER): Undefine and redefine.
26220 (lgammal): Do not define here.
26221 (gammal): Only define here if [GAMMA_ALIAS].
26222 * conform/linknamespace.pl (@whitelist): Remove signgam.
26223 * sysdeps/nacl/libm.abilist: Update.
26224 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26225 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26228 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26232 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26235 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26237 Likewise.
26238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26239 Likewise.
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26241 Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26243 Likewise.
26244 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26246 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26250 Likewise.
26251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26252 Likewise.
26253 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26254 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26255 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26256
26257 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26258
26259 [BZ #16364]
26260 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26261 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26262
26263 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26264
26265 * sysdeps/s390/fpu/bits/mathinline.h:
26266 Use __asm__ [__volatile__] instead of asm [volatile].
26267 * sysdeps/s390/abort-instr.h: Likewise.
26268 * sysdeps/s390/atomic-machine.h: Likewise.
26269 * sysdeps/s390/bits/string.h: Likewise.
26270 * sysdeps/s390/dl-tls.h: Likewise.
26271 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26272 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26273 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26274 * sysdeps/s390/fpu/fesetround.c: Likewise.
26275 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26276 * sysdeps/s390/fpu/s_fma.c: Likewise.
26277 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26278 * sysdeps/s390/memusage.h: Likewise.
26279 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26280 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26281 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26282 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26283 * sysdeps/s390/nptl/tls.h: Likewise.
26284 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26285 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26286 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26287 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26288 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26289 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26290 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26291 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26292 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26293 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26294 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26295 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26296 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26297 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26298 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26299 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26300 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26301 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26302 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26304 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26306 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26307
26308 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26309 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26310
26311 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26312 Add lwarx hint, and use macro for acquire instruction.
26313 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26314 Likewise.
26315 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26316 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26317 update to use new atomic macros.
26318
26319 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26320
26321 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26322 (__lll_trylock_elision): Fix setting of adapt_count.
26323 * sysdeps/unix/sysv/linux/powerpc/htm.h
26324 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26325 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26326 (_ABORT_SYSCALL): Renumber, and clarify definition.
26327 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26328
26329 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26330
26331 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26332 after system headers to prevent MIN/MAX redefinition. Define
26333 HAVE_ALLOCA to preserve builtin alloca usage.
26334
26335 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26336
26337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26338 static and don't set or restore rounding.
26339 (__cos)[IN_SINCOS]: Likewise.
26340 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26341 (__sincos): Set and restore rounding mode. Remove check for infinite
26342 or NaN input.
26343
26344 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26345
26346 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26347 as used.
26348
26349 2015-11-16 Florian Weimer <fweimer@redhat.com>
26350
26351 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26352
26353 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26354
26355 * config.make.in (have-glob-dat-reloc): New.
26356 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26357 target supports GLOB_DAT relocaton. AC_SUBST.
26358 * configure: Regenerated.
26359 * elf/Makefile (tests): Add tst-prelink.
26360 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26361 (tst-prelink-ENV): New.
26362 ($(objpfx)tst-prelink-conflict.out): Likewise.
26363 ($(objpfx)tst-prelink-cmp.out): Likewise.
26364 * sysdeps/x86/tst-prelink.c: Moved to ...
26365 * elf/tst-prelink.c: Here.
26366 * sysdeps/x86/tst-prelink.exp: Moved to ...
26367 * elf/tst-prelink.exp: Here.
26368 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26369 (tst-prelink-ENV): Removed.
26370 ($(objpfx)tst-prelink-conflict.out): Likewise.
26371 ($(objpfx)tst-prelink-cmp.out): Likewise.
26372 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26373
26374 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26375
26376 [BZ #14551]
26377 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26378 (__mpn_construct_long_double): If high part overflows to infinity,
26379 set errno and recompute overflowed result of the correct sign.
26380 * sysdeps/ieee754/ldbl-128ibm/Makefile
26381 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26382 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26383 $(libm).
26384 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26385
26386 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26387
26388 [BZ #15479]
26389 [BZ #19238]
26390 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26391 floating-point state after first operation on input. Restore full
26392 state rather than just rounding mode.
26393 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26394 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26395 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26396
26397 [BZ #19235]
26398 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26399 add 0.5 to integer arguments.
26400 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26401 Likewise.
26402 (.LC2): New object.
26403
26404 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26405
26406 * scripts/pylintrc (reports): Set to no.
26407
26408 2015-11-10 Roland McGrath <roland@hack.frob.com>
26409
26410 * elf/dl-load.c (open_verify): Take new argument FD.
26411 Skip __open call if passed FD is not -1.
26412 (_dl_map_object, open_path): Update callers.
26413 * elf/dl-sysdep-open.h: New file.
26414 * elf/dl-load.c: Include it.
26415 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26416 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26417 * sysdeps/nacl/dl-sysdep-open.h: New file.
26418 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26419 from libc to rtld.
26420
26421 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26422
26423 [BZ #19228]
26424 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26425 and restore full floating-point state.
26426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26427 Likewise.
26428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26429 Likewise.
26430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26431 Likewise.
26432 * math/test-nearbyint-except-2.c: New file.
26433 * math/Makefile (tests): Add test-nearbyint-except-2.
26434
26435 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 [BZ #19178]
26438 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26439 (tst-prelink-ENV): New.
26440 ($(objpfx)tst-prelink-conflict.out): Likewise.
26441 ($(objpfx)tst-prelink-cmp.out): Likewise.
26442 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26443 * sysdeps/x86/tst-prelink.c: New file.
26444 * sysdeps/x86/tst-prelink.exp: Likewise.
26445
26446 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26447
26448 * math/auto-libm-test-in: Add another test of pow.
26449 * math/auto-libm-test-out: Regenerated.
26450 * math/libm-test.inc (pow_test_data): Add another test.
26451
26452 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26453
26454 [BZ #19219]
26455 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26456 weak_alias to nearbyintl.
26457
26458 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26459
26460 * sysdeps/aarch64/bits/string.h: New file.
26461 (_STRING_ARCH_unaligned): Define.
26462
26463 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26464
26465 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26466 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26467 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26468 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26470
26471 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26472
26473 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26474 for original name of the DSO. Add it to the name list of the DSO
26475 if it is actually given.
26476 (_dl_map_object): Keep track of whether an audit module rewrote
26477 the file name. If yes, pass the original name to
26478 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26479 debugging is enabled, log the change of the file name.
26480 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26481 _dl_map_object_from_fd.
26482 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26483 * elf/tst-audit11.c: New file
26484 * elf/tst-auditmod11.c: New file.
26485 * elf/tst-audit11mod1.c: New file.
26486 * elf/tst-audit11mod2.c: New file.
26487 * elf/tst-audit11mod2.map: New file.
26488 * elf/tst-audit12.c: New file
26489 * elf/tst-auditmod12.c: New file.
26490 * elf/tst-audit12mod1.c: New file.
26491 * elf/tst-audit12mod2.c: New file.
26492 * elf/tst-audit12mod2.map: New file.
26493 * elf/tst-audit12mod3.c: New file.
26494
26495 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26496
26497 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26498 Don't create weak aliases,
26499 because versioned symbols are created later.
26500 * sysdeps/s390/s390-32/setjmp.S
26501 (setjmp, _setjmp): Remove weak and rename to an unique name
26502 in SHARED case due to existing versioned symbols.
26503 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26504 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26505 (getcontext): Create weak alias only in non SHARED case.
26506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26507
26508 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26509
26510 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26511 (__ASSUME_*_SYSCALL) Define new macros.
26512 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26513 Remove socketcall syscalls.
26514 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26515 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26516 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26517 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26518 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26519 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26520
26521 2015-11-09 Florian Weimer <fweimer@redhat.com>
26522
26523 [BZ #12926]
26524 Terminate process on invalid netlink response.
26525 * sysdeps/unix/sysv/linux/netlinkaccess.h
26526 (__netlink_assert_response): Declare.
26527 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26528 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26529 (sysdep_routines): Add netlink_assert_response.
26530 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26531 __netlink_assert_response.
26532 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26533 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26534 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26535 __netlink_assert_response.
26536
26537 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26538
26539 [BZ #19178]
26540 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26541 (RTYPE_CLASS_PLT): Likewise.
26542 (RTYPE_CLASS_COPY): Likewise.
26543 (RTYPE_CLASS_TLS): Likewise.
26544 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26545 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26546 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26547 DL_DEBUG_PRELINK.
26548
26549 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26550
26551 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26552 calls with argument -0.5.
26553 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26554
26555 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26556 (libc_cv_z_nodlopen): Likewise.
26557 (libc_cv_z_initfirst): Likewise.
26558 * configure: Regenerated.
26559
26560 2015-11-06 Florian Weimer <fweimer@redhat.com>
26561
26562 Simplify abilist format to be line-based.
26563 * scripts/abilist.awk: Collect descriptors in the descs variable.
26564 (emit): Write descs variable and sort it
26565 externally, with sort.
26566 * sysdeps/**/*.abilist: Convert to new format.
26567
26568 2015-11-06 Mark Wielaard <mjw@redhat.com>
26569
26570 [BZ #11460]
26571 * io/Makefile (routines): Add fts64.
26572 (tests): Add tst-fts and tst-fts-lfs.
26573 (CFLAGS-fts64.c): New.
26574 * io/Versions (GLIBC_2.23): New.
26575 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26576 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26577 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26578 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26579 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26580 (FTSENT64): Likewise.
26581 (fts64_children): Likewise.
26582 (fts64_close): Likewise.
26583 (fts64_open): Likewise.
26584 (fts64_read): Likewise.
26585 (fts64_set): Likewise.
26586 * io/fts64.c: New file.
26587 * io/tst-fts.c: New test.
26588 * io/tst-fts-lfs.c: Likewise.
26589 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26590 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26591 fts64_set.
26592 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26593 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26597 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26598 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26599 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26604 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26606 Likewise.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26608 Likewise.
26609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26613 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26621 * sysdeps/wordsize-64/fts.c: New file.
26622 * sysdeps/wordsize-64/fts64.c: Likewise.
26623 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26624 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26625 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26626 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26627
26628 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26629
26630 * math/libm-test.inc (NON_FINITE): New macro.
26631 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26632 * math/gen-libm-test.pl (show_exceptions): Add argument
26633 $non_finite.
26634 (parse_args): Update call to show_exceptions.
26635 * math/test-math-finite.h: New file.
26636 * math/test-math-no-finite.h: Likewise.
26637 * math/test-double-finite.c: Likewise.
26638 * math/test-float-finite.c: Likewise.
26639 * math/test-ldouble-finite.c: Likewise.
26640 * math/test-double.c: Include "test-math-no-finite.h".
26641 * math/test-float.c: Include "test-math-no-finite.h".
26642 * math/test-ldouble.c: Include "test-math-no-finite.h".
26643 * math/test-math-inline.h (TEST_FINITE): New macro.
26644 * math/test-math-vector.h (TEST_FINITE): Likewise.
26645 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26646 (libm-tests): Add test-float-finite and test-double-finite.
26647 ($(objpfx)test-float-finite.o): New dependency on
26648 $(objpfx)libm-test.stmp.
26649 ($(objpfx)test-double-finite.o): Likewise.
26650 ($(objpfx)test-ldouble-finite.o): Likewise.
26651 (libm-test-no-inline-cflags): New variable.
26652 (libm-test-finite-cflags): Likewise.
26653 (CFLAGS-test-float-finite.c): Likewise.
26654 (CFLAGS-test-double-finite.c): Likewise.
26655 (CFLAGS-test-ldouble-finite.c): Likewise.
26656 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26657 (CFLAGS-test-double.c): Likewise.
26658 (CFLAGS-test-ldouble.c): Likewise.
26659
26660 2015-11-05 Roland McGrath <roland@hack.frob.com>
26661
26662 * io/fcntl.c (__fcntl): Add ... to prototype.
26663 * misc/ioctl.c (__ioctl): Likewise.
26664 * misc/syscall.c (syscall): Likewise.
26665
26666 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26667
26668 * scripts/list-fixed-bugs.py: New file.
26669
26670 [BZ #19213]
26671 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26672 returned for argument 1.
26673 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26674 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26675 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26676 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26677 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26678 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26679
26680 [BZ #19211]
26681 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26682 __USE_XOPEN], not if [!__USE_ISOC99].
26683 (lgammaf): Likewise.
26684 (lgammal): Likewise.
26685 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26686 (gammaf): Likewise.
26687 (gammal): Likewise.
26688 * math/test-signgam-finite-c11.c: New file.
26689 * math/test-signgam-finite-c99.c: Likewise.
26690 * math/test-signgam-finite.c: Likewise.
26691 * math/Makefile (tests): Add test-signgam-finite,
26692 test-signgam-finite-c99 and test-signgam-finite-c11.
26693 (CFLAGS-test-signgam-finite.c): New variable.
26694 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26695 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26696
26697 [BZ #19212]
26698 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26699 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26700 500].
26701 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26702 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26703 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26704 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26705 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26706 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26707 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26708 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26709 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26710 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26711
26712 [BZ #19209]
26713 * math/bits/math-finite.h (ldexp): Remove declaration.
26714 (ldexpf): Likewise.
26715 (ldexpl): Likewise.
26716
26717 [BZ #19205]
26718 * math/bits/math-finite.h (acosf): Condition declaration on
26719 [__USE_ISOC99].
26720 (acosl): Likewise.
26721 (acoshf): Likewise.
26722 (acoshl): Likewise.
26723 (asinf): Likewise.
26724 (asinl): Likewise.
26725 (atan2f): Likewise.
26726 (atan2l): Likewise.
26727 (atanhf): Likewise.
26728 (atanhl): Likewise.
26729 (coshf): Likewise.
26730 (coshl): Likewise.
26731 (expf): Likewise.
26732 (expl): Likewise.
26733 (fmodf): Likewise.
26734 (fmodl): Likewise.
26735 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26736 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26737 (j0l): Likewise.
26738 (y0f): Likewise.
26739 (y0l): Likewise.
26740 (j1f): Likewise.
26741 (j1l): Likewise.
26742 (y1f): Likewise.
26743 (y1l): Likewise.
26744 (jnf): Likewise.
26745 (jnl): Likewise.
26746 (ynf): Likewise.
26747 (ynl): Likewise.
26748 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26749 (lgammal_r): Likewise.
26750 (__lgamma_r_finite): New declaration.
26751 (__lgammaf_r_finite): Likewise.
26752 (__lgammal_r_finite): Likewise.
26753 (lgamma): Use __lgamma_r_finite.
26754 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26755 __lgammaf_r_finite.
26756 (lgammal): Condition definition on [__USE_ISOC99]. Use
26757 __lgammal_r_finite.
26758 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26759 __lgamma_r_finite.
26760 (gammaf): Condition definition on [__USE_ISOC99]. Use
26761 __lgammaf_r_finite.
26762 (gammal): Condition definition on [__USE_ISOC99]. Use
26763 __lgammal_r_finite.
26764 (logf): Condition declaration on [__USE_ISOC99].
26765 (logl): Likewise.
26766 (log10f): Likewise.
26767 (log10l): Likewise.
26768 (ldexpf): Likewise.
26769 (ldexpl): Likewise.
26770 (powf): Likewise.
26771 (powl): Likewise.
26772 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26773 __USE_ISOC99].
26774 (remainderf): Condition declaration on [__USE_ISOC99].
26775 (remainderl): Likewise.
26776 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26777 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26778 (scalbl): Likewise.
26779 (sinhf): Condition declaration on [__USE_ISOC99].
26780 (sinhl): Likewise.
26781 (sqrtf): Likewise.
26782 (sqrtl): Likewise.
26783
26784 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26785
26786 * sysdeps/arm/atomic-machine.h
26787 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26788 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26789 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26790 Remove conditional code.
26791 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26792 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26793 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26794 Change conditional to [__ASSEMBLER__].
26795 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26796 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26797 [!__ASSEMBLER__].
26798 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26799 code.
26800 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26801 conditional macro definitions.
26802 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26803 (__arch_compare_and_exchange_val_16_acq): Likewise.
26804 (__arch_compare_and_exchange_val_32_acq): Likewise.
26805 (atomic_exchange_and_add): Likewise.
26806 (atomic_add): Likewise.
26807 (atomic_add_negative): Likewise.
26808 (atomic_add_zero): Likewise.
26809 (atomic_bit_set): Likewise.
26810 (atomic_bit_test_set): Likewise.
26811 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26812 code unconditional.
26813 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26814
26815 * math/test-math-errno.h: New file.
26816 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26817 empty.
26818 (TEST_ERRNO): New macro.
26819 (TEST_EXCEPTIONS): Likewise.
26820 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26821 (TEST_EXCEPTIONS): Likewise.
26822 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26823 * math/test-double.c: Include "test-math-errno.h".
26824 * math/test-float.c: Likewise.
26825 * math/test-ldouble.c: Likewise.
26826 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26827 code unconditional.
26828 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26829 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26830 unconditional.
26831 (test_errno): Only run code if TEST_ERRNO.
26832 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26833
26834 2015-11-04 Florian Weimer <fweimer@redhat.com>
26835
26836 * nptl/tst-once5.cc: Remove attribution.
26837
26838 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26839
26840 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26841 sqrt, tan, tanh, y0, y1 and yn.
26842 * math/auto-libm-test-out: Regenerated.
26843 * math/libm-test.inc (scalb_test_data): Add more tests.
26844 (scalbn_test_data): Likewise.
26845 (scalbln_test_data): Likewise.
26846 (signbit_test_data): Likewise.
26847 (sin_test_data): Likewise.
26848 (sincos_test_data): Likewise.
26849 (sinh_test_data): Likewise.
26850 (sqrt_test_data): Likewise.
26851 (tan_test_data): Likewise.
26852 (tanh_test_data): Likewise.
26853 (tgamma_test_data): Likewise.
26854 (y0_test_data): Likewise.
26855 (y1_test_data): Likewise.
26856 (yn_test_data): Likewise.
26857 (significand_test_data): Likewise.
26858 * sysdeps/i386/fpu/libm-test-ulps: Update.
26859
26860 2015-11-03 David Kastrup <dak@gnu.org>
26861
26862 [BZ #18604]
26863 * assert/assert.h (assert): Don't macro-expand failed assertion
26864 expression in error message.
26865 * malloc/malloc.c (assert): Likewise.
26866
26867 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26868
26869 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26870 test.
26871 * configure: Regenerated.
26872
26873 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26874
26875 * math/libm-test.inc (modf_test_data): Add more tests.
26876 (nearbyint_test_data): Likewise.
26877 (nextafter_test_data): Likewise.
26878 (nexttoward_test_data): Likewise.
26879 (pow_test_data): Likewise.
26880 (remainder_test_data): Likewise.
26881 (remquo_test_data): Likewise.
26882 (rint_test_data): Likewise.
26883
26884 [BZ #19201]
26885 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26886 Check for zero remainder in case of large exponents and ensure
26887 correct sign of result in that case.
26888 * math/libm-test.inc (remainder_test_data): Add more tests.
26889
26890 [BZ #6799]
26891 * math/s_nextafter.c: Include <errno.h>.
26892 (__nextafter): Set errno on overflow and underflow.
26893 * math/s_nexttowardf.c: Include <errno.h>.
26894 (__nexttowardf): Set errno on overflow and underflow.
26895 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26896 (__nextafterl): Set errno on overflow and underflow.
26897 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26898 (__nexttoward): Set errno on overflow and underflow.
26899 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26900 (__nexttowardf): Set errno on overflow and underflow.
26901 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26902 (__nextafterf): Set errno on overflow and underflow.
26903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26904 (__nextafterl): Set errno on overflow and underflow.
26905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26906 (__nexttoward): Set errno on overflow and underflow.
26907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26908 (__nexttowardf): Set errno on overflow and underflow.
26909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26910 (__nextafterl): Set errno on overflow and underflow.
26911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26912 (__nexttoward): Set errno on overflow and underflow.
26913 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26914 (__nexttowardf): Set errno on overflow and underflow.
26915 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26916 (__nexttoward): Set errno on overflow and underflow.
26917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26918 (__nexttowardf): Set errno on overflow and underflow.
26919 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26920 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26921 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26922 (__nextafterl): Set errno on overflow and underflow.
26923 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26924 setting to be missing on overflow. Add more tests.
26925 (nexttoward_test_data): Likewise.
26926
26927 * configure.ac (libc_cv_initfini_array): Remove configure test.
26928 * configure: Regenerated.
26929
26930 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26931
26932 [BZ #19189]
26933 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26934 non-finite argument handle arguments with negative sign.
26935
26936 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26937 result from infinite argument.
26938 (j1_test_data): Likewise.
26939 (jn_test_data): Likewise.
26940 (y0_test_data): Likewise.
26941 (y1_test_data): Likewise.
26942 (yn_test_data): Likewise.
26943
26944 [BZ #16171]
26945 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26946 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26947 * math/w_remainderf.c (dremf): Define as weak alias of
26948 __remainderf.
26949 * math/w_remainderl.c (dreml): Define as weak alias of
26950 __remainderl.
26951 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26952 __remainder.
26953 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26954 __remainderf.
26955 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26956 __remainderl.
26957 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26958 weak alias of remainderl.
26959 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26960 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26961 alias of __remainder.
26962 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26963 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26964 strong alias of __remainderl.
26965 (dreml): Use long_double_symbol.
26966 * math/Makefile (libm-calls): Remove w_drem.
26967 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26968 (CFLAGS-nldbl-drem.c): Remove variable.
26969 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26970 * math/w_drem.c: Remove file.
26971 * math/w_dremf.c: Likewise.
26972 * math/w_dreml.c: Likewise.
26973 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26974 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26975 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26976
26977 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26978 * sysdeps/i386/configure: Regenerated.
26979 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26980 * sysdeps/x86_64/configure: Regenerated.
26981
26982 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26983 test.
26984 (libc_cv_visibility_attribute): Likewise.
26985 (libc_cv_protected_data): Test unconditionally.
26986 (libc_cv_broken_visibility_attribute): Remove configure test.
26987 (libc_cv_have_sdata_section): Test unconditionally.
26988 * configure: Regenerated.
26989
26990 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26991 * include/scratch_buffer.h: Include <stddef.h> instead of
26992 <libc-internal.h>.
26993 (struct scratch_buffer): Use max_align_t instead of
26994 libc_max_align_t.
26995
26996 2015-10-29 Florian Weimer <fweimer@redhat.com>
26997
26998 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26999 instead of extend_alloca. Change control flow to avoid a goto.
27000 Remove assert which is trivially always true.
27001
27002 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27003
27004 [BZ #16068]
27005 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27006 (FE_ALL_EXCEPT_X86): New macro.
27007 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27008 FE_ALL_EXCEPT. Ensure precision control is included in
27009 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27010 handle "denormal operand exception" and clear FZ and DAZ bits.
27011 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27012 (FE_ALL_EXCEPT_X86): New macro.
27013 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27014 FE_ALL_EXCEPT. Ensure precision control is included in
27015 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27016 handle "denormal operand exception" and clear FZ and DAZ bits.
27017 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27018 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27019 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27020 test-fenv-x87 and test-fenv-sse-2.
27021 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27022
27023 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27024 * math/test-double.h (BUILD_COMPLEX): New macro.
27025 * math/test-float.h (BUILD_COMPLEX): Likewise.
27026 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27027
27028 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27029 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27030 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27032 instead of DBL_DENORM_MIN in comment.
27033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27034 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27035 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27036 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27037 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27038 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27039
27040 2015-10-28 Florian Weimer <fweimer@redhat.com>
27041
27042 [BZ #19048]
27043 * malloc/malloc.c (struct malloc_state): Update comment. Add
27044 attached_threads member.
27045 (main_arena): Initialize attached_threads.
27046 * malloc/arena.c (list_lock): Update comment.
27047 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27048 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27049 (deattach_arena): New function.
27050 (_int_new_arena): Initialize arena reference count and deattach
27051 replaced arena.
27052 (get_free_list, reused_arena): Update reference count and deattach
27053 replaced arena.
27054 (arena_thread_freeres): Update arena reference count and only put
27055 unreferenced arenas on the free list.
27056
27057 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27058
27059 [BZ #19181]
27060 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27061 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27062 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27063 * math/test-fenv-clear-main.c: New file.
27064 * math/test-fenv-clear.c: Likewise.
27065 * math/Makefile (tests): Add test-fenv-clear.
27066 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27067 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27068 test-fenv-clear-sse.
27069 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27070
27071 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27072 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27073 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27074
27075 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27076
27077 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27078 static libc.
27079
27080 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27081
27082 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27083 test.
27084 * sysdeps/i386/configure: Regenerated.
27085 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27086 test.
27087 * sysdeps/x86_64/configure: Regenerated.
27088 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27090 memset-avx2 unconditionally instead of conditionally on
27091 [$(config-cflags-avx2) = yes].
27092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27093 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27094 unconditional.
27095 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27096 * sysdeps/x86_64/multiarch/memset_chk.S
27097 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27098 to [IS_IN (libc) && SHARED].
27099
27100 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27101
27102 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27103 configure test.
27104 * sysdeps/arm/configure: Regenerated.
27105 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27106 Define variable if not already defined.
27107
27108 [BZ #17404]
27109 * sysdeps/mips/atomic-machine.h
27110 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27111 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27112 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27113
27114 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27115 unconditional.
27116 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27117 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27118 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27119 unconditional.
27120 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27121 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27122 unconditional.
27123 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27124 * stdlib/setenv.c
27125 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27126 code unconditional.
27127 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27128 Remove conditional code.
27129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27130 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27131 unconditional.
27132 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27133 code.
27134 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27135 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27136 unconditional.
27137 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27138 code.
27139 * sysdeps/ieee754/ldbl-128/k_tanl.c
27140 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27141 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27142 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27143 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27144 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27145 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27146 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27147 unconditional.
27148 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27149 code.
27150 * sysdeps/ieee754/ldbl-96/k_tanl.c
27151 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27152 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27153
27154 * nptl/tst-initializers1-c11.c: New file.
27155 * nptl/tst-initializers1-gnu11.c: Likewise.
27156 * nptl/Makefile (tests): Add these new tests.
27157 (CFLAGS-tst-initializers1-c11.c): New variable.
27158 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27159
27160 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27161 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27162 instead of -std=gnu99.
27163 * configure.ac (systemtap): Test with -std=gnu11 instead of
27164 -std=gnu99.
27165 * configure: Regenerated.
27166 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27167 in compilation command in comment.
27168
27169 * sysdeps/nptl/configure.ac: Remove file.
27170 * sysdeps/nptl/configure: Remove generated file.
27171 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27172 * configure: Regenerated.
27173 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27174 * config.make.in (have-forced-unwind): Remove variable.
27175 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27176 unconditional.
27177 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27178 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27179 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27180 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27181 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27182 unconditional.
27183
27184 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27185
27186 [BZ #19174]
27187 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27188 .skip_lock_out_of_tbegin_retries.
27189 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27190 (__lll_lock_elision): Likewise, and respect a value of
27191 try_tbegin <= 0.
27192
27193 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27194
27195 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27196 statement.
27197
27198 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27199
27200 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27201 variable.
27202 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27203 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27204
27205 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27206 of -std=c1x -D_ISOC11_SOURCE.
27207
27208 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27209 * configure: Regenerated.
27210 * manual/install.texi (Tools for Compilation): Document
27211 requirement for GCC 4.7 or later.
27212 * INSTALL: Regenerated.
27213
27214 2015-10-27 Ludovic CourtĂšs <ludo@gnu.org>
27215
27216 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27217 on CNT to a conditional jump to 'puntdata'.
27218
27219 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27220
27221 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27222 (libc_cv_gcc_tls_model_attr): Likewise.
27223 * configure: Regenerated.
27224
27225 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27226 * configure: Regenerated.
27227 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27228
27229 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27230
27231 * configure.ac (old_glibc_headers): Remove configure test.
27232 * configure: Regenerated.
27233 * config.make.in (old-glibc-headers): Remove variable.
27234 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27235 (install): Remove dependency on remove-old-headers.
27236 (headers2_0): Remove variable.
27237 (remove-old-headers): Remove rule.
27238
27239 * configure.ac (libc_cv_dot_text): Remove configure test.
27240 (libc_cv_asm_set_directive): Use .text instead of
27241 ${libc_cv_dot_text} in configure test.
27242 * configure: Regenerated.
27243
27244 2015-10-26 Florian Weimer <fweimer@redhat.com>
27245
27246 [BZ #19168]
27247 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27248
27249 2015-10-26 Florian Weimer <fweimer@redhat.com>
27250
27251 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27252 not support static linking.
27253 * configure: Regenerate.
27254
27255 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27256
27257 * math/libm-test.inc (check_float_internal): Do not special-case
27258 errors up to 0.5 ulp.
27259
27260 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27261 log2.
27262 * math/auto-libm-test-out: Regenerated.
27263 * math/libm-test.inc (MAX_EXP): New macro.
27264 (ilogb_test_data): Add more tests.
27265 (isfinite_test_data): Likewise.
27266 (isgreater_test_data): Likewise.
27267 (isgreaterequal_test_data): Likewise.
27268 (isinf_test_data): Likewise.
27269 (isless_test_data): Likewise.
27270 (islessequal_test_data): Likewise.
27271 (islessgreater_test_data): Likewise.
27272 (isnan_test_data): Likewise.
27273 (isnormal_test_data): Likewise.
27274 (issignaling_test_data): Likewise.
27275 (isunordered_test_data): Likewise.
27276 (j0_test_data): Likewise.
27277 (j1_test_data): Likewise.
27278 (jn_test_data): Likewise.
27279 (lgamma_test_data): Likewise.
27280 (log_test_data): Likewise.
27281 (log10_test_data): Likewise.
27282 (log1p_test_data): Likewise.
27283 (log2_test_data): Likewise.
27284 (logb_test_data): Likewise.
27285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27286
27287 [BZ #18611]
27288 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27289 avoid excess range and precision on underflow.
27290 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27291 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27292 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27294 underflow.
27295 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27297 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27299 * math/auto-libm-test-in: Do not allow missing errno setting for
27300 tests of j1 and jn.
27301 * math/auto-libm-test-out: Regenerated.
27302
27303 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27304
27305 [BZ #15491]
27306 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27307 floating-point environment instead of clearing all exceptions.
27308 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27309 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27310 merging in "invalid" exceptions from frndint.
27311 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27312 * math/test-nearbyint-except.c: New file.
27313 * math/Makefile (tests): Add test-nearbyint-except.
27314
27315 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27316
27317 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27318
27319 * sysdeps/tile/libm-test-ulps: Regenerated.
27320
27321 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27322
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27324 (__NR_sync_file_range2): Assume it is always defined.
27325 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27326 (__NR_sync_file_range): Assume it is always defined.
27327
27328 2015-10-22 Andreas Schwab <schwab@suse.de>
27329
27330 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27331 INTERNAL_SYSCALL_ERRNO.
27332 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27333 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27334 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27335 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27336 Likewise.
27337 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27338
27339 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27340
27341 * io/tst-fcntl.c (fd): New static variable.
27342 (do_prepare): Open temporary file here....
27343 (do_test): ...not here.
27344
27345 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27346
27347 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27350 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27351 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27352 Moved before "#ifdef __ASSEMBLER__".
27353
27354 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27355
27356 [BZ #19156]
27357 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27358 arguments very close to 0.
27359
27360 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27361
27362 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27363 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27364
27365 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27366
27367 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27368 New. Defined for GCC 5 and above when not compiling for
27369 profiling.
27370 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27371
27372 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27373 Renamed to ...
27374 (CFLAGS-epoll_pwait.o): This.
27375 (CFLAGS-mmap.c): Renamed to ...
27376 (CFLAGS-mmap.o): This.
27377 (CFLAGS-mmap64.c): Renamed to ...
27378 (CFLAGS-mmap64.o): This.
27379 (CFLAGS-epoll_pwait.os): New.
27380 (CFLAGS-mmap.os): Likewise.
27381 (CFLAGS-mmap64.os): Likewise.
27382 (CFLAGS-semtimedop.os): Likewise.
27383 (CFLAGS-semtimedop.c): Renamed to ...
27384 (CFLAGS-semtimedop.o): This.
27385
27386 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27387
27388 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27389 warning message.
27390
27391 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27392
27393 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27394 * Makefile ($(objpfx)c++-types-check.out): Filter out
27395 $(+gccwarn-c) instead of -Wstrict-prototypes.
27396
27397 * io/fts.c (fts_open): Convert to prototype-style function
27398 definition.
27399 * malloc/mcheck.c (mcheck): Likewise.
27400 (mcheck_pedantic): Likewise.
27401 * posix/regexec.c (re_search_2_stub): Likewise. Use
27402 internal_function.
27403 (re_search_internal): Likewise.
27404 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27405 prototype-style function definition.
27406 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27407 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27408 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27409 (xdr_utmpptr): Likewise.
27410 (xdr_utmparr): Likewise.
27411 (xdr_utmpidle): Likewise.
27412 (xdr_utmpidleptr): Likewise.
27413 (xdr_utmpidlearr): Likewise.
27414
27415 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27416 log, log10 and log2.
27417 * math/auto-libm-test-out: Regenerated.
27418 * math/libm-test.inc (fmod_test_data): Add more tests.
27419 (fpclassify_test_data): Likewise.
27420 (frexp_test_data): Likewise.
27421 (hypot_test_data): Likewise.
27422 (ilogb_test_data): Likewise.
27423
27424 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27425
27426 * debug/fortify_fail.c (__fortify_fail): Convert to
27427 prototype-style function definition. Use internal_function.
27428 * libio/genops.c (save_for_backup): Convert to prototype-style
27429 function definition.
27430 * libio/wgenops.c (save_for_wbackup): Likewise.
27431 * login/grantpt.c (grantpt): Likewise.
27432 * login/ptsname.c (ptsname): Likewise.
27433 (__ptsname_r): Likewise.
27434 * login/unlockpt.c (unlockpt): Likewise.
27435 * mach/msgserver.c (__mach_msg_server): Likewise.
27436 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27437 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27438 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27439 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27440 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27441 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27442 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27443 Likewise.
27444 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27445 internal_function.
27446 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27447 prototype-style function definition.
27448 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27449 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27450 (__pthread_create_2_0): Likewise.
27451 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27452 * nptl/register-atfork.c (__register_atfork): Likewise.
27453 * posix/glob.c (glob): Likewise.
27454 * posix/regcomp.c (re_comp): Likewise.
27455 * posix/regexec.c (re_exec): Likewise.
27456 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27457 [!__STDC__]: Remove conditional code.
27458 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27459 [!__STDC__]: Remove conditional code.
27460 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27461 [!__STDC__]: Remove conditional code.
27462 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27463 [!__STDC__]: Remove conditional code.
27464 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27465 [!__STDC__]: Remove conditional code.
27466 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27467 [!__STDC__]: Remove conditional code.
27468 * stdlib/mul.c [__STDC__]: Make code unconditional.
27469 [!__STDC__]: Remove conditional code.
27470 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27471 [!__STDC__]: Remove conditional code.
27472 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27473 [!__STDC__]: Remove conditional code.
27474 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27475 function definition.
27476 (STRTOF): Likewise.
27477 * stdlib/strtod_l.c (__STRTOF): Likewise.
27478 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27479 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27480 (__strtol_l): Likewise.
27481 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27482 [!__STDC__]: Remove conditional code.
27483 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27484 definition.
27485 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27486 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27487 type.
27488 (__strcasecmp): Convert to prototype-style function definition.
27489 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27490 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27491 type.
27492 (__strncasecmp): Convert to prototype-style function definition.
27493 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27494 * sunrpc/xdr.c (xdr_union): Likewise.
27495 * sunrpc/xdr_array.c (xdr_array): Likewise.
27496 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27497 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27498 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27499 Likewise.
27500 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27501 Likewise.
27502 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27503 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27504 Likewise.
27505 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27506 (LOCALE_PARAM_PROTO): Likewise.
27507 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27508 argument type.
27509 (ut_argument_spec): Remove macro.
27510 (ut_argument_spec_iso): Rename to ut_argument_spec.
27511 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27512 prototype-style function definition.
27513 (memcpy_uppcase): Likewise.
27514 (__strftime_internal): Likewise.
27515 (my_strftime): Likewise.
27516 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27517 (LOCALE_PARAM_DECL): Likewise.
27518 [_LIBC] (LOCALE_PARAM): Include argument type.
27519 (__strptime_internal): Convert to prototype-style function
27520 definition.
27521 (strptime): Likewise.
27522 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27523 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27524 type.
27525 (__wcscasecmp): Convert to prototype-style function definition.
27526 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27527 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27528 type.
27529 (__wcsncasecmp): Convert to prototype-style function definition.
27530
27531 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27532 function definition.
27533 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27534 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27535 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27536 * elf/dl-minimal.c (_itoa): Likewise.
27537 * hurd/hurdmalloc.c (malloc): Likewise.
27538 (free): Likewise.
27539 (realloc): Likewise.
27540 * inet/inet6_option.c (inet6_option_space): Likewise.
27541 (inet6_option_init): Likewise.
27542 (inet6_option_append): Likewise.
27543 (inet6_option_alloc): Likewise.
27544 (inet6_option_next): Likewise.
27545 (inet6_option_find): Likewise.
27546 * io/ftw.c (FTW_NAME): Likewise.
27547 (NFTW_NAME): Likewise.
27548 (NFTW_NEW_NAME): Likewise.
27549 (NFTW_OLD_NAME): Likewise.
27550 * libio/iofwide.c (_IO_fwide): Likewise.
27551 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27552 (_IO_str_init_static): Likewise.
27553 (_IO_str_init_readonly): Likewise.
27554 (_IO_str_overflow): Likewise.
27555 (_IO_str_underflow): Likewise.
27556 (_IO_str_count): Likewise.
27557 (_IO_str_seekoff): Likewise.
27558 (_IO_str_pbackfail): Likewise.
27559 (_IO_str_finish): Likewise.
27560 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27561 (_IO_wstr_overflow): Likewise.
27562 (_IO_wstr_underflow): Likewise.
27563 (_IO_wstr_count): Likewise.
27564 (_IO_wstr_seekoff): Likewise.
27565 (_IO_wstr_pbackfail): Likewise.
27566 (_IO_wstr_finish): Likewise.
27567 * locale/programs/localedef.c (normalize_codeset): Likewise.
27568 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27569 (add_locales_to_archive): Likewise.
27570 (delete_locales_from_archive): Likewise.
27571 * malloc/malloc.c (__libc_mallinfo): Likewise.
27572 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27573 * misc/tsearch.c (__tfind): Likewise.
27574 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27575 * nptl/pthread_attr_getdetachstate.c
27576 (__pthread_attr_getdetachstate): Likewise.
27577 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27578 Likewise.
27579 * nptl/pthread_attr_getinheritsched.c
27580 (__pthread_attr_getinheritsched): Likewise.
27581 * nptl/pthread_attr_getschedparam.c
27582 (__pthread_attr_getschedparam): Likewise.
27583 * nptl/pthread_attr_getschedpolicy.c
27584 (__pthread_attr_getschedpolicy): Likewise.
27585 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27586 Likewise.
27587 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27588 Likewise.
27589 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27590 Likewise.
27591 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27592 Likewise.
27593 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27594 (__pthread_attr_init_2_0): Likewise.
27595 * nptl/pthread_attr_setdetachstate.c
27596 (__pthread_attr_setdetachstate): Likewise.
27597 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27598 Likewise.
27599 * nptl/pthread_attr_setinheritsched.c
27600 (__pthread_attr_setinheritsched): Likewise.
27601 * nptl/pthread_attr_setschedparam.c
27602 (__pthread_attr_setschedparam): Likewise.
27603 * nptl/pthread_attr_setschedpolicy.c
27604 (__pthread_attr_setschedpolicy): Likewise.
27605 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27606 Likewise.
27607 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27608 Likewise.
27609 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27610 Likewise.
27611 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27612 Likewise.
27613 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27614 Likewise.
27615 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27616 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27617 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27618 use internal_function.
27619 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27620 prototype-style function definition.
27621 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27622 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27623 internal_function.
27624 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27625 Convert to prototype-style function definition.
27626 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27627 Likewise.
27628 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27629 Likewise.
27630 (__pthread_mutex_unlock): Likewise.
27631 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27632 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27633 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27634 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27635 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27636 * nss/makedb.c (process_input): Likewise.
27637 * posix/fnmatch.c (__strchrnul): Likewise.
27638 (__wcschrnul): Likewise.
27639 (fnmatch): Likewise.
27640 * posix/fnmatch_loop.c (FCT): Likewise.
27641 * posix/glob.c (globfree): Likewise.
27642 (__glob_pattern_type): Likewise.
27643 (__glob_pattern_p): Likewise.
27644 * posix/regcomp.c (re_compile_pattern): Likewise.
27645 (re_set_syntax): Likewise.
27646 (re_compile_fastmap): Likewise.
27647 (regcomp): Likewise.
27648 (regerror): Likewise.
27649 (regfree): Likewise.
27650 * posix/regexec.c (regexec): Likewise.
27651 (re_match): Likewise.
27652 (re_search): Likewise.
27653 (re_match_2): Likewise.
27654 (re_search_2): Likewise.
27655 (re_search_stub): Likewise. Use internal_function
27656 (re_copy_regs): Likewise.
27657 (re_set_registers): Convert to prototype-style function
27658 definition.
27659 (prune_impossible_nodes): Likewise. Use internal_function.
27660 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27661 prototype-style function definition.
27662 (inet_net_pton_ipv4): Likewise.
27663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27664 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27665 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27666 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27667 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27668 Make variadic.
27669 * time/strptime_l.c (localtime_r): Convert to prototype-style
27670 function definition.
27671 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27672 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27673 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27674 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27675
27676 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27677 definition.
27678 (_ufc_doit_r): Likewise.
27679 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27680 (_ufc_output_conversion_r): Likewise.
27681 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27682 * inet/rcmd.c (rcmd_af): Likewise.
27683 (rcmd): Likewise.
27684 (ruserok_af): Likewise.
27685 (ruserok): Likewise.
27686 (ruserok2_sa): Likewise.
27687 (ruserok_sa): Likewise.
27688 (iruserok_af): Likewise.
27689 (iruserok): Likewise.
27690 (__ivaliduser): Likewise.
27691 (__validuser2_sa): Likewise.
27692 * inet/rexec.c (rexec_af): Likewise.
27693 (rexec): Likewise.
27694 * inet/ruserpass.c (ruserpass): Likewise.
27695 * locale/programs/xmalloc.c (xcalloc): Likewise.
27696 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27697 * math/w_drem.c (__drem): Likewise.
27698 * math/w_dremf.c (__dremf): Likewise.
27699 * math/w_dreml.c (__dreml): Likewise.
27700 * misc/daemon.c (daemon): Likewise.
27701 * resolv/res_debug.c (p_fqnname): Likewise.
27702 * stdlib/div.c (div): Likewise.
27703 * string/memcmp.c (memcmp_bytes): Likewise.
27704 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27705 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27706
27707 * crypt/cert.c (main): Convert to prototype-style function
27708 definition.
27709 * io/pipe.c (__pipe): Likewise.
27710 * io/pipe2.c (__pipe2): Likewise.
27711 * misc/futimesat.c (futimesat): Likewise.
27712 * misc/utimes.c (__utimes): Likewise.
27713 * posix/execve.c (__execve): Likewise.
27714 * posix/execvp.c (execvp): Likewise.
27715 * posix/execvpe.c (__execvpe): Likewise.
27716 * posix/fexecve.c (fexecve): Likewise.
27717 * socket/socketpair.c (socketpair): Likewise.
27718 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27719 * stdlib/erand48.c (erand48): Likewise.
27720 * stdlib/erand48_r.c (__erand48_r): Likewise.
27721 * stdlib/jrand48.c (jrand48): Likewise.
27722 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27723 * stdlib/lcong48.c (lcong48): Likewise.
27724 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27725 * stdlib/nrand48.c (nrand48): Likewise.
27726 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27727 * stdlib/seed48.c (seed48): Likewise.
27728 * stdlib/seed48_r.c (__seed48_r): Likewise.
27729 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27730 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27731 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27732
27733 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27734
27735 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27736 * configure: Regenerated.
27737 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27738 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27739 unconditional.
27740 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27741 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27742 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27743 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27744 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27745 unconditional.
27746 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27747
27748 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27749 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27750
27751 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27752 function definition.
27753 * crypt/crypt_util.c (__encrypt_r): Likewise.
27754 * libio/genops.c (_IO_no_init): Likewise.
27755 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27756 (_IO_old_fopencookie): Likewise.
27757 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27758 * libio/iogetline.c (_IO_getline): Likewise.
27759 (_IO_getline_info): Likewise.
27760 * libio/iogetwline.c (_IO_getwline): Likewise.
27761 (_IO_getwline_info): Likewise.
27762 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27763 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27764 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27765 (find_entry): Likewise.
27766 (iterate_table): Likewise.
27767 (lookup): Likewise.
27768 * login/forkpty.c (forkpty): Likewise.
27769 * misc/hsearch_r.c (__hsearch_r): Likewise.
27770 * misc/select.c (__select): Likewise.
27771 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27772 Likewise.
27773 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27774 Likewise.
27775 * nptl/old_pthread_cond_timedwait.c
27776 (__pthread_cond_timedwait_2_0): Likewise.
27777 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27778 * nptl/pthread_barrierattr_getpshared.c
27779 (pthread_barrierattr_getpshared): Likewise.
27780 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27781 Likewise.
27782 * nptl/pthread_mutex_setprioceiling.c
27783 (pthread_mutex_setprioceiling): Likewise.
27784 * nptl/pthread_mutexattr_getprioceiling.c
27785 (pthread_mutexattr_getprioceiling): Likewise.
27786 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27787 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27788 Likewise.
27789 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27790 Likewise.
27791 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27792 Likewise.
27793 * socket/recvfrom.c (__recvfrom): Likewise.
27794 * socket/sendto.c (__sendto): Likewise.
27795 * socket/setsockopt.c (__setsockopt): Likewise.
27796 * stdio-common/_itoa.c (_itoa): Likewise.
27797 * stdio-common/_itowa.c (_itowa): Likewise.
27798 * stdio-common/reg-printf.c (__register_printf_specifier):
27799 Likewise.
27800 (__register_printf_function): Likewise.
27801 * stdio-common/tempname.c (__path_search): Likewise.
27802 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27803 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27804 * stdlib/random_r.c (__initstate_r): Likewise.
27805 * stdlib/setenv.c (__add_to_environ): Likewise.
27806 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27807 * streams/getpmsg.c (getpmsg): Likewise.
27808 * streams/putmsg.c (putmsg): Likewise.
27809 * streams/putpmsg.c (putpmsg): Likewise.
27810 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27811 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27812 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27813 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27814 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27815 * sunrpc/svc_udp.c (cache_get): Likewise.
27816 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27817 * sysdeps/mach/hurd/getcwd.c
27818 (__canonicalize_directory_name_internal): Likewise.
27819 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27820 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27821 * sysdeps/mach/hurd/select.c (__select): Likewise.
27822 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27823 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27824 * sysdeps/sparc/nptl/pthread_barrier_init.c
27825 (__pthread_barrier_init): Likewise.
27826 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27827 (__pthread_cond_timedwait): Likewise.
27828 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27829 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27830 Likewise.
27831 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27832 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27833 Likewise.
27834 * sysvipc/semtimedop.c (semtimedop): Likewise.
27835 * time/setitimer.c (__setitimer): Likewise.
27836 * time/strftime_l.c (emacs_strftime): Likewise.
27837
27838 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27839
27840 * config.make.in (have-ssp): Delete.
27841 (stack-protector): New variable.
27842 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27843 cache test for -fstack-protector-strong. Export stack_protector to
27844 the best ssp flag.
27845 * configure: Regenerated.
27846 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27847 * nscd/Makefile (CFLAGS-nscd): Likewise.
27848 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27849
27850 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27851
27852 [BZ #19122]
27853 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27854 attribute_hidden.
27855
27856 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27857
27858 [BZ #18743]
27859 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27860 code to...
27861 (ELIDE_LOCK): ...here.
27862 (__get_new_count): New function with part of the code from
27863 __elide_lock that updates the value of adapt_count after a
27864 transaction abort.
27865 (__elided_trylock): Moved this code to...
27866 (ELIDE_TRYLOCK): ...here.
27867
27868 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27869
27870 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27871 * configure: Regenerate.
27872 * INSTALL: Regenerate.
27873 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27874 and tweak grammar.
27875
27876 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27877
27878 * login/programs/pt_chown.c: Include signal.h
27879 (main): Clear any signal mask from the parent process.
27880
27881 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27882
27883 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27884 * configure: Regenerated.
27885 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27886 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27887 $(gnu89-inline-CFLAGS).
27888
27889 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27890 test.
27891 (libc_cv_asm_weakext_directive): Likewise.
27892 * configure: Regenerated.
27893 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27894 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27895 * include/libc-symbols.h
27896 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27897 #error.
27898 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27899 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27900
27901 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27902 prototype-style function definition.
27903 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27904 * sysdeps/i386/ffs.c (__ffs): Likewise.
27905 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27906 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27907 Likewise.
27908 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27909 Likewise.
27910 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27912 Likewise.
27913 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27914 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27915 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27916 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27917 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27918 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27919 * sysdeps/mach/hurd/access.c (__access): Likewise.
27920 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27921 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27922 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27923 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27924 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27925 (cthread_getspecific): Likewise.
27926 (cthread_setspecific): Likewise.
27927 (__libc_getspecific): Likewise.
27928 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27929 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27930 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27931 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27932 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27933 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27934 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27935 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27936 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27937 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27938 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27939 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27940 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27941 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27942 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27943 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27944 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27945 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27946 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27947 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27948 * sysdeps/mach/hurd/link.c (__link): Likewise.
27949 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27950 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27951 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27952 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27953 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27954 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27955 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27956 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27957 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27958 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27959 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27960 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27961 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27962 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27963 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27964 * sysdeps/mach/hurd/send.c (__send): Likewise.
27965 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27966 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27967 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27968 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27969 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27970 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27971 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27972 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27973 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27974 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27975 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27976 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27977 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27978 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27979 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27980 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27981 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27982 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27983 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27984 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27985 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27986 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27987 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27988 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27989 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27990 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27991 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27992 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27993 * sysdeps/posix/alarm.c (alarm): Likewise.
27994 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27995 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27996 * sysdeps/posix/dup.c (__dup): Likewise.
27997 * sysdeps/posix/dup2.c (__dup2): Likewise.
27998 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27999 (main): Likewise.
28000 * sysdeps/posix/flock.c (__flock): Likewise.
28001 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28002 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28003 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28004 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28005 * sysdeps/posix/isatty.c (__isatty): Likewise.
28006 * sysdeps/posix/killpg.c (killpg): Likewise.
28007 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28008 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28009 * sysdeps/posix/raise.c (raise): Likewise.
28010 * sysdeps/posix/remove.c (remove): Likewise.
28011 * sysdeps/posix/rename.c (rename): Likewise.
28012 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28013 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28014 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28015 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28016 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28017 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28018 * sysdeps/posix/sigset.c (sigset): Likewise.
28019 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28020 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28021 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28022 * sysdeps/posix/time.c (time): Likewise.
28023 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28024 (ttyname): Likewise.
28025 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28026 * sysdeps/posix/utime.c (utime): Likewise.
28027 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28028 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28029 Likewise.
28030 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28031 (pthread_spin_trylock): Likewise.
28032 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28033 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28034 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28035 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28036 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28037 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28038 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28039 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28040 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28041 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28042 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28043 * sysdeps/s390/ffs.c (__ffs): Likewise.
28044 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28045 Likewise.
28046 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28047 Likewise.
28048 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28049 Likewise.
28050 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28051 (pthread_barrier_destroy): Likewise.
28052 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28053 (__pthread_barrier_wait): Likewise.
28054 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28055 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28056 (__pthread_barrier_wait): Likewise.
28057 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28058 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28059 (memcmp_not_common_alignment): Likewise.
28060 (MEMCMP): Likewise.
28061 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28062 (_wordcopy_fwd_dest_aligned): Likewise.
28063 (_wordcopy_bwd_aligned): Likewise.
28064 (_wordcopy_bwd_dest_aligned): Likewise.
28065 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28066 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28067 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28068 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28069 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28070 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28071 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28072 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28073 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28074 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28075 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28076 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28077 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28078 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28079 * sysdeps/unix/stime.c (stime): Likewise.
28080 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28081 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28082 Likewise. Use internal_function.
28083 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28084 Convert to prototype-style function definition.
28085 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28086 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28088 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28089 Likewise. Use internal_function.
28090 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28091 prototype-style function definition
28092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28093 Likewise.
28094 (__getlogin_r): Likewise.
28095 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28096 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28097 (__pthread_cond_broadcast): Likewise.
28098 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28099 (__pthread_cond_destroy): Likewise.
28100 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28101 (__pthread_cond_init): Likewise.
28102 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28103 (__pthread_cond_signal): Likewise.
28104 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28105 (__pthread_cond_wait): Likewise.
28106 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28107 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28108 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28109 Likewise.
28110 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28111 Likewise.
28112 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28113 Likewise.
28114 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28115 Likewise.
28116 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28118 (__ftruncate64): Likewise.
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28120 (truncate64): Likewise.
28121 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28122 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28123 (pthread_getcpuclockid): Likewise.
28124 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28125 Likewise.
28126 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28127 Likewise.
28128 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28129 Likewise.
28130 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28131 Likewise.
28132 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28133 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28134 (__libc_sigaction): Likewise.
28135 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28136 Likewise.
28137 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28138 (__sigprocmask): Likewise.
28139 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28140 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28141 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28142 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28143 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28144 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28145 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28146 Likewise.
28147 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28148 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28149 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28150 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28152 Likewise.
28153 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28154 (__sigprocmask): Likewise.
28155 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28156 (cfgetispeed): Likewise.
28157 (cfsetospeed): Likewise.
28158 (cfsetispeed): Likewise.
28159 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28160 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28161 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28162 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28163 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28164 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28165 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28166 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28167 Likewise.
28168 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28169 Likewise.
28170 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28171 Likewise.
28172 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28173 Likewise.
28174 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28175
28176 2015-10-17 Florian Weimer <fweimer@redhat.com>
28177
28178 sunrpc: Rewrite with explicit TLS access using __thread.
28179 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28180 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28181 directly.
28182 (__rpc_thread_variables): Access thread_rpc_vars directly.
28183 Eliminate redundant assignment of the tvp variable.
28184
28185 2015-10-17 Florian Weimer <fweimer@redhat.com>
28186
28187 malloc: Rewrite with explicit TLS access using __thread.
28188 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28189 (tsd_setspecific, tsd_getspecific): Remove.
28190 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28191 (tsd_setspecific, tsd_getspecific): Likewise.
28192 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28193 (tsd_setspecific, tsd_getspecific): Likewise.
28194 * malloc/arena.c (thread_arena): New TLS variable.
28195 (arena_key): Remove variable.
28196 (arena_get): Use thread_arena.
28197 (arena_lookup): Remove macro.
28198 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28199 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28200 (_int_new_arena, get_free_list, reused_arena)
28201 (arena_thread_freeres): Use thread_arena.
28202 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28203 tsd_getspecific, tsd_setspecific from safety annotations.
28204 (Allocating Cleared Space): Remove arena_lookup from safety
28205 annotations.
28206
28207 2015-10-17 Florian Weimer <fweimer@redhat.com>
28208
28209 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28210 struct scratch_buffer instead of extend_alloca.
28211
28212 2015-10-17 Florian Weimer <fweimer@redhat.com>
28213
28214 * sysdeps/unix/sysv/linux/kernel-features.h
28215 (__ASSUME_SOCK_CLOEXEC): Remove.
28216 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28217 (__have_paccept): Remove unused macro.
28218 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28219 * misc/syslog.c (openlog_internal): Remove fallback code for
28220 !__ASSUME_SOCK_CLOEXEC.
28221 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28222 missing SOCK_CLOEXEC.
28223 * nscd/connections.c (have_sock_cloexec): Remove definition.
28224 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28225 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28226 !__ASSUME_SOCK_CLOEXEC.
28227 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28228 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28229 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28230 definition.
28231 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28232 code for !__ASSUME_SOCK_CLOEXEC.
28233
28234 2015-10-17 Florian Weimer <fweimer@redhat.com>
28235
28236 [BZ #18982]
28237 * manual/stdio.texi (Variable Arguments Output): Add portability
28238 note, explaining that vfprintf clobbers the va_list pointer.
28239
28240 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28241
28242 * math/libm-test.inc (fabs_test_data): Add more tests.
28243 (fdim_test_data): Likewise.
28244 (fma_test_data): Likewise.
28245 (fmax_test_data): Likewise.
28246 (fmin_test_data): Likewise.
28247 (fmod_test_data): Likewise.
28248
28249 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28250
28251 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28252 data.
28253
28254 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28255
28256 * math/libm-test.inc (ceil_test_data): Add more tests and more
28257 expectations for "inexact".
28258 (floor_test_data): Add more tests.
28259 (round_test_data): Likewise.
28260 (trunc_test_data): Likewise.
28261
28262 * crypt/cert.c (good_bye): Convert to prototype-style function
28263 definition.
28264 (get8): Likewise.
28265 (put8): Likewise.
28266 * crypt/crypt-entry.c (crypt): Likewise.
28267 (__fcrypt): Likewise.
28268 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28269 (_ufc_set_bits): Likewise.
28270 (_ufc_clearmem): Likewise.
28271 (__init_des_r): Likewise.
28272 (shuffle_sb): Likewise.
28273 (shuffle_sb): Likewise.
28274 (_ufc_setup_salt_r): Likewise.
28275 (_ufc_mk_keytab_r): Likewise.
28276 (_ufc_dofinalperm_r): Likewise.
28277 (encrypt): Likewise.
28278 (__setkey_r): Likewise.
28279 (setkey): Likewise.
28280 * crypt/md5.c (md5_init_ctx): Likewise.
28281 (md5_read_ctx): Likewise.
28282 (md5_finish_ctx): Likewise.
28283 (md5_stream): Likewise.
28284 (md5_buffer): Likewise.
28285 (md5_process_bytes): Likewise.
28286 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28287 (__sha256_finish_ctx): Likewise.
28288 (__sha256_process_bytes): Likewise.
28289 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28290 (__sha512_finish_ctx): Likewise.
28291 (__sha512_process_bytes): Likewise.
28292 * ctype/isctype.c (__isctype): Likewise.
28293 * debug/backtrace.c (__backtrace): Likewise.
28294 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28295 * debug/fgets_chk.c (__fgets_chk): Likewise.
28296 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28297 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28298 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28299 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28300 * debug/memset_chk.c (__memset_chk): Likewise.
28301 * debug/strcat_chk.c (__strcat_chk): Likewise.
28302 * debug/strncat_chk.c (__strncat_chk): Likewise.
28303 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28304 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28305 * dirent/dirfd.c (dirfd): Likewise.
28306 * dirent/getdents.c (__getdirentries): Likewise.
28307 * dirent/getdents64.c (getdirentries64): Likewise.
28308 * dirent/rewinddir.c (__rewinddir): Likewise.
28309 * dirent/seekdir.c (seekdir): Likewise.
28310 * dirent/telldir.c (telldir): Likewise.
28311 * elf/sln.c (makesymlinks): Likewise.
28312 (makesymlink): Likewise.
28313 * gmon/gmon.c (__moncontrol): Likewise.
28314 (__monstartup): Likewise.
28315 (write_hist): Likewise.
28316 (write_call_graph): Likewise.
28317 (write_bb_counts): Likewise.
28318 * grp/setgroups.c (setgroups): Likewise.
28319 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28320 * inet/inet_net.c (inet_network): Likewise.
28321 * inet/inet_netof.c (inet_netof): Likewise.
28322 * inet/rcmd.c (rresvport_af): Likewise.
28323 (rresvport): Likewise.
28324 * io/access.c (__access): Likewise.
28325 * io/chdir.c (__chdir): Likewise.
28326 * io/chmod.c (__chmod): Likewise.
28327 * io/chown.c (__chown): Likewise.
28328 * io/close.c (__close): Likewise.
28329 * io/creat.c (creat): Likewise.
28330 * io/creat64.c (creat64): Likewise.
28331 * io/dup.c (__dup): Likewise.
28332 * io/dup2.c (__dup2): Likewise.
28333 * io/dup3.c (__dup3): Likewise.
28334 * io/euidaccess.c (__euidaccess): Likewise.
28335 * io/faccessat.c (faccessat): Likewise.
28336 * io/fchmod.c (__fchmod): Likewise.
28337 * io/fchmodat.c (fchmodat): Likewise.
28338 * io/fchown.c (__fchown): Likewise.
28339 * io/fchownat.c (fchownat): Likewise.
28340 * io/fcntl.c (__fcntl): Likewise.
28341 * io/flock.c (__flock): Likewise.
28342 * io/fts.c (fts_load): Likewise.
28343 (fts_close): Likewise.
28344 (fts_read): Likewise.
28345 (fts_set): Likewise.
28346 (fts_children): Likewise.
28347 (fts_build): Likewise.
28348 (fts_stat): Likewise.
28349 (fts_sort): Likewise.
28350 (fts_alloc): Likewise.
28351 (fts_lfree): Likewise.
28352 (fts_palloc): Likewise.
28353 (fts_padjust): Likewise.
28354 (fts_maxarglen): Likewise.
28355 (fts_safe_changedir): Likewise.
28356 * io/getwd.c (getwd): Likewise.
28357 * io/isatty.c (__isatty): Likewise.
28358 * io/lchown.c (__lchown): Likewise.
28359 * io/link.c (__link): Likewise.
28360 * io/linkat.c (linkat): Likewise.
28361 * io/lseek.c (__libc_lseek): Likewise.
28362 * io/mkdir.c (__mkdir): Likewise.
28363 * io/mkdirat.c (mkdirat): Likewise.
28364 * io/mkfifo.c (mkfifo): Likewise.
28365 * io/mkfifoat.c (mkfifoat): Likewise.
28366 * io/open.c (__libc_open): Likewise.
28367 * io/open64.c (__libc_open64): Likewise.
28368 * io/readlink.c (__readlink): Likewise.
28369 * io/readlinkat.c (readlinkat): Likewise.
28370 * io/rmdir.c (__rmdir): Likewise.
28371 * io/symlink.c (__symlink): Likewise.
28372 * io/symlinkat.c (symlinkat): Likewise.
28373 * io/ttyname.c (ttyname): Likewise.
28374 * io/ttyname_r.c (__ttyname_r): Likewise.
28375 * io/umask.c (__umask): Likewise.
28376 * io/unlink.c (__unlink): Likewise.
28377 * io/unlinkat.c (unlinkat): Likewise.
28378 * io/utime.c (utime): Likewise.
28379 * libio/clearerr.c (clearerr): Likewise.
28380 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28381 * libio/feof.c (_IO_feof): Likewise.
28382 * libio/feof_u.c (feof_unlocked): Likewise.
28383 * libio/ferror.c (_IO_ferror): Likewise.
28384 * libio/ferror_u.c (ferror_unlocked): Likewise.
28385 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28386 * libio/fileno.c (__fileno): Likewise.
28387 * libio/fputc.c (fputc): Likewise.
28388 * libio/fputc_u.c (fputc_unlocked): Likewise.
28389 * libio/fputwc.c (fputwc): Likewise.
28390 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28391 * libio/freopen.c (freopen): Likewise.
28392 * libio/freopen64.c (freopen64): Likewise.
28393 * libio/fseek.c (fseek): Likewise.
28394 * libio/fseeko.c (fseeko): Likewise.
28395 * libio/fseeko64.c (fseeko64): Likewise.
28396 * libio/ftello.c (__ftello): Likewise.
28397 * libio/ftello64.c (ftello64): Likewise.
28398 * libio/fwide.c (fwide): Likewise.
28399 * libio/genops.c (_IO_un_link): Likewise.
28400 (_IO_link_in): Likewise.
28401 (_IO_least_marker): Likewise.
28402 (_IO_switch_to_main_get_area): Likewise.
28403 (_IO_switch_to_backup_area): Likewise.
28404 (_IO_switch_to_get_mode): Likewise.
28405 (_IO_free_backup_area): Likewise.
28406 (_IO_switch_to_put_mode): Likewise.
28407 (__overflow): Likewise.
28408 (__underflow): Likewise.
28409 (__uflow): Likewise.
28410 (_IO_setb): Likewise.
28411 (_IO_doallocbuf): Likewise.
28412 (_IO_default_underflow): Likewise.
28413 (_IO_default_uflow): Likewise.
28414 (_IO_default_xsputn): Likewise.
28415 (_IO_sgetn): Likewise.
28416 (_IO_default_xsgetn): Likewise.
28417 (_IO_sync): Likewise.
28418 (_IO_default_setbuf): Likewise.
28419 (_IO_default_seekpos): Likewise.
28420 (_IO_default_doallocate): Likewise.
28421 (_IO_init): Likewise.
28422 (_IO_old_init): Likewise.
28423 (_IO_default_sync): Likewise.
28424 (_IO_default_finish): Likewise.
28425 (_IO_default_seekoff): Likewise.
28426 (_IO_sputbackc): Likewise.
28427 (_IO_sungetc): Likewise.
28428 (_IO_set_column): Likewise.
28429 (_IO_set_column): Likewise.
28430 (_IO_adjust_column): Likewise.
28431 (_IO_get_column): Likewise.
28432 (_IO_init_marker): Likewise.
28433 (_IO_remove_marker): Likewise.
28434 (_IO_marker_difference): Likewise.
28435 (_IO_marker_delta): Likewise.
28436 (_IO_seekmark): Likewise.
28437 (_IO_unsave_markers): Likewise.
28438 (_IO_nobackup_pbackfail): Likewise.
28439 (_IO_default_pbackfail): Likewise.
28440 (_IO_default_seek): Likewise.
28441 (_IO_default_stat): Likewise.
28442 (_IO_default_read): Likewise.
28443 (_IO_default_write): Likewise.
28444 (_IO_default_showmanyc): Likewise.
28445 (_IO_default_imbue): Likewise.
28446 (_IO_iter_next): Likewise.
28447 (_IO_iter_file): Likewise.
28448 * libio/getc.c (_IO_getc): Likewise.
28449 * libio/getwc.c (_IO_getwc): Likewise.
28450 * libio/iofclose.c (_IO_new_fclose): Likewise.
28451 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28452 * libio/iofflush.c (_IO_fflush): Likewise.
28453 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28454 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28455 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28456 * libio/iofgets.c (_IO_fgets): Likewise.
28457 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28458 * libio/iofgetws.c (fgetws): Likewise.
28459 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28460 * libio/iofopen64.c (_IO_fopen64): Likewise.
28461 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28462 (_IO_cookie_write): Likewise.
28463 (_IO_cookie_seek): Likewise.
28464 (_IO_cookie_close): Likewise.
28465 (_IO_cookie_seekoff): Likewise.
28466 (_IO_old_cookie_seek): Likewise.
28467 * libio/iofputs.c (_IO_fputs): Likewise.
28468 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28469 * libio/iofputws.c (fputws): Likewise.
28470 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28471 * libio/iofread.c (_IO_fread): Likewise.
28472 * libio/iofread_u.c (__fread_unlocked): Likewise.
28473 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28474 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28475 * libio/ioftell.c (_IO_ftell): Likewise.
28476 * libio/iofwrite.c (_IO_fwrite): Likewise.
28477 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28478 * libio/iogets.c (_IO_gets): Likewise.
28479 * libio/iopadn.c (_IO_padn): Likewise.
28480 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28481 (_IO_new_popen): Likewise.
28482 (_IO_new_proc_close): Likewise.
28483 * libio/ioputs.c (_IO_puts): Likewise.
28484 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28485 (_IO_seekoff): Likewise.
28486 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28487 (_IO_seekpos): Likewise.
28488 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28489 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28490 * libio/ioungetc.c (_IO_ungetc): Likewise.
28491 * libio/ioungetwc.c (ungetwc): Likewise.
28492 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28493 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28494 * libio/iowpadn.c (_IO_wpadn): Likewise.
28495 * libio/libc_fatal.c (__libc_fatal): Likewise.
28496 * libio/memstream.c (__open_memstream): Likewise.
28497 (_IO_mem_sync): Likewise.
28498 (_IO_mem_finish): Likewise.
28499 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28500 (_IO_old_file_close_it): Likewise.
28501 (_IO_old_file_finish): Likewise.
28502 (_IO_old_file_fopen): Likewise.
28503 (_IO_old_file_attach): Likewise.
28504 (_IO_old_file_setbuf): Likewise.
28505 (_IO_old_do_write): Likewise.
28506 (old_do_write): Likewise.
28507 (_IO_old_file_underflow): Likewise.
28508 (_IO_old_file_overflow): Likewise.
28509 (_IO_old_file_sync): Likewise.
28510 (_IO_old_file_seekoff): Likewise.
28511 (_IO_old_file_write): Likewise.
28512 (_IO_old_file_xsputn): Likewise.
28513 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28514 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28515 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28516 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28517 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28518 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28519 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28520 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28521 (_IO_old_popen): Likewise.
28522 (_IO_old_proc_close): Likewise.
28523 * libio/oldpclose.c (__old_pclose): Likewise.
28524 * libio/pclose.c (__new_pclose): Likewise.
28525 * libio/peekc.c (_IO_peekc_locked): Likewise.
28526 * libio/putc.c (_IO_putc): Likewise.
28527 * libio/putc_u.c (putc_unlocked): Likewise.
28528 * libio/putchar.c (putchar): Likewise.
28529 * libio/putchar_u.c (putchar_unlocked): Likewise.
28530 * libio/putwc.c (putwc): Likewise.
28531 * libio/putwc_u.c (putwc_unlocked): Likewise.
28532 * libio/putwchar.c (putwchar): Likewise.
28533 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28534 * libio/rewind.c (rewind): Likewise.
28535 * libio/setbuf.c (setbuf): Likewise.
28536 * libio/setlinebuf.c (setlinebuf): Likewise.
28537 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28538 * libio/vscanf.c (_IO_vscanf): Likewise.
28539 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28540 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28541 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28542 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28543 (_IO_switch_to_main_wget_area): Likewise.
28544 (_IO_switch_to_wbackup_area): Likewise.
28545 (_IO_wsetb): Likewise.
28546 (_IO_wdefault_pbackfail): Likewise.
28547 (_IO_wdefault_finish): Likewise.
28548 (_IO_wdefault_uflow): Likewise.
28549 (__woverflow): Likewise.
28550 (__wuflow): Likewise.
28551 (__wunderflow): Likewise.
28552 (_IO_wdefault_xsputn): Likewise.
28553 (_IO_wdefault_xsgetn): Likewise.
28554 (_IO_wdoallocbuf): Likewise.
28555 (_IO_wdefault_doallocate): Likewise.
28556 (_IO_switch_to_wget_mode): Likewise.
28557 (_IO_free_wbackup_area): Likewise.
28558 (_IO_switch_to_wput_mode): Likewise.
28559 (_IO_sputbackwc): Likewise.
28560 (_IO_sungetwc): Likewise.
28561 (_IO_adjust_wcolumn): Likewise.
28562 (_IO_init_wmarker): Likewise.
28563 (_IO_wmarker_delta): Likewise.
28564 (_IO_seekwmark): Likewise.
28565 (_IO_unsave_wmarkers): Likewise.
28566 * libio/wmemstream.c (open_wmemstream): Likewise.
28567 (_IO_wmem_sync): Likewise.
28568 (_IO_wmem_finish): Likewise.
28569 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28570 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28571 * locale/programs/simple-hash.c (init_hash): Likewise.
28572 (delete_hash): Likewise.
28573 (insert_entry): Likewise.
28574 (set_entry): Likewise.
28575 (next_prime): Likewise.
28576 (is_prime): Likewise.
28577 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28578 (xmalloc): Likewise.
28579 (xrealloc): Likewise.
28580 * locale/programs/xstrdup.c (xstrdup): Likewise.
28581 * localedata/collate-test.c (xstrcoll): Likewise.
28582 * localedata/xfrm-test.c (xstrcmp): Likewise.
28583 * login/getlogin_r.c (__getlogin_r): Likewise.
28584 * login/getpt.c (__posix_openpt): Likewise.
28585 * login/login_tty.c (login_tty): Likewise.
28586 * login/setlogin.c (setlogin): Likewise.
28587 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28588 (mach_msg_destroy_port): Likewise.
28589 (mach_msg_destroy_memory): Likewise.
28590 * malloc/mcheck.c (flood): Likewise.
28591 * misc/acct.c (acct): Likewise.
28592 * misc/brk.c (__brk): Likewise.
28593 * misc/chflags.c (chflags): Likewise.
28594 * misc/chroot.c (chroot): Likewise.
28595 * misc/fchflags.c (fchflags): Likewise.
28596 * misc/fstab.c (getfsspec): Likewise.
28597 (getfsfile): Likewise.
28598 * misc/fsync.c (fsync): Likewise.
28599 * misc/ftruncate.c (__ftruncate): Likewise.
28600 * misc/ftruncate64.c (__ftruncate64): Likewise.
28601 * misc/getdomain.c (getdomainname): Likewise.
28602 (getdomainname): Likewise.
28603 * misc/gethostname.c (__gethostname): Likewise.
28604 * misc/getpass.c (getpass): Likewise.
28605 * misc/getttyent.c (skip): Likewise.
28606 (value): Likewise.
28607 * misc/gtty.c (gtty): Likewise.
28608 * misc/hsearch.c (hsearch): Likewise.
28609 (hcreate): Likewise.
28610 * misc/hsearch_r.c (__hcreate_r): Likewise.
28611 (__hdestroy_r): Likewise.
28612 * misc/ioctl.c (__ioctl): Likewise.
28613 * misc/mkdtemp.c (mkdtemp): Likewise.
28614 * misc/mkostemp.c (mkostemp): Likewise.
28615 * misc/mkostemp64.c (mkostemp64): Likewise.
28616 * misc/mkostemps.c (mkostemps): Likewise.
28617 * misc/mkostemps64.c (mkostemps64): Likewise.
28618 * misc/mkstemp.c (mkstemp): Likewise.
28619 * misc/mkstemp64.c (mkstemp64): Likewise.
28620 * misc/mkstemps.c (mkstemps): Likewise.
28621 * misc/mkstemps64.c (mkstemps64): Likewise.
28622 * misc/mktemp.c (__mktemp): Likewise.
28623 * misc/preadv.c (preadv): Likewise.
28624 * misc/preadv64.c (preadv64): Likewise.
28625 * misc/pwritev.c (pwritev): Likewise.
28626 * misc/pwritev64.c (pwritev64): Likewise.
28627 * misc/readv.c (__readv): Likewise.
28628 * misc/revoke.c (revoke): Likewise.
28629 * misc/setdomain.c (setdomainname): Likewise.
28630 * misc/setegid.c (setegid): Likewise.
28631 * misc/seteuid.c (seteuid): Likewise.
28632 * misc/sethostid.c (sethostid): Likewise.
28633 * misc/sethostname.c (sethostname): Likewise.
28634 * misc/setregid.c (__setregid): Likewise.
28635 * misc/setreuid.c (__setreuid): Likewise.
28636 * misc/sstk.c (sstk): Likewise.
28637 * misc/stty.c (stty): Likewise.
28638 * misc/syscall.c (syscall): Likewise.
28639 * misc/syslog.c (setlogmask): Likewise.
28640 * misc/truncate.c (__truncate): Likewise.
28641 * misc/truncate64.c (truncate64): Likewise.
28642 * misc/ualarm.c (ualarm): Likewise.
28643 * misc/usleep.c (usleep): Likewise.
28644 * misc/ustat.c (ustat): Likewise.
28645 * misc/writev.c (__writev): Likewise.
28646 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28647 * nptl/old_pthread_cond_broadcast.c
28648 (__pthread_cond_broadcast_2_0): Likewise.
28649 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28650 Likewise.
28651 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28652 Likewise.
28653 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28654 Likewise.
28655 * nptl/pt-raise.c (raise): Likewise.
28656 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28657 Likewise.
28658 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28659 * nptl/pthread_barrierattr_destroy.c
28660 (pthread_barrierattr_destroy): Likewise.
28661 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28662 Likewise.
28663 * nptl/pthread_barrierattr_setpshared.c
28664 (pthread_barrierattr_setpshared): Likewise.
28665 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28666 Likewise.
28667 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28668 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28669 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28670 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28671 Likewise.
28672 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28673 Likewise.
28674 * nptl/pthread_condattr_getpshared.c
28675 (pthread_condattr_getpshared): Likewise.
28676 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28677 Likewise.
28678 * nptl/pthread_condattr_setpshared.c
28679 (pthread_condattr_setpshared): Likewise.
28680 * nptl/pthread_detach.c (pthread_detach): Likewise.
28681 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28682 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28683 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28684 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28685 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28686 Likewise.
28687 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28688 Likewise.
28689 * nptl/pthread_mutex_getprioceiling.c
28690 (pthread_mutex_getprioceiling): Likewise.
28691 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28692 Likewise.
28693 * nptl/pthread_mutexattr_getprotocol.c
28694 (pthread_mutexattr_getprotocol): Likewise.
28695 * nptl/pthread_mutexattr_getpshared.c
28696 (pthread_mutexattr_getpshared): Likewise.
28697 * nptl/pthread_mutexattr_getrobust.c
28698 (pthread_mutexattr_getrobust): Likewise.
28699 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28700 Likewise.
28701 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28702 Likewise.
28703 * nptl/pthread_mutexattr_setprioceiling.c
28704 (pthread_mutexattr_setprioceiling): Likewise.
28705 * nptl/pthread_mutexattr_setprotocol.c
28706 (pthread_mutexattr_setprotocol): Likewise.
28707 * nptl/pthread_mutexattr_setpshared.c
28708 (pthread_mutexattr_setpshared): Likewise.
28709 * nptl/pthread_mutexattr_setrobust.c
28710 (pthread_mutexattr_setrobust): Likewise.
28711 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28712 Likewise.
28713 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28714 Likewise.
28715 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28716 Likewise.
28717 * nptl/pthread_rwlockattr_getkind_np.c
28718 (pthread_rwlockattr_getkind_np): Likewise.
28719 * nptl/pthread_rwlockattr_getpshared.c
28720 (pthread_rwlockattr_getpshared): Likewise.
28721 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28722 Likewise.
28723 * nptl/pthread_rwlockattr_setkind_np.c
28724 (pthread_rwlockattr_setkind_np): Likewise.
28725 * nptl/pthread_rwlockattr_setpshared.c
28726 (pthread_rwlockattr_setpshared): Likewise.
28727 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28728 Likewise.
28729 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28730 Likewise.
28731 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28732 Likewise.
28733 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28734 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28735 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28736 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28737 * nptl/sem_close.c (sem_close): Likewise.
28738 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28739 * nptl/sem_init.c (__old_sem_init): Likewise.
28740 * nptl/sigaction.c (__sigaction): Likewise.
28741 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28742 * posix/_exit.c (_exit): Likewise.
28743 * posix/alarm.c (alarm): Likewise.
28744 * posix/confstr.c (confstr): Likewise.
28745 * posix/fpathconf.c (__fpathconf): Likewise.
28746 * posix/getgroups.c (__getgroups): Likewise.
28747 * posix/getpgid.c (__getpgid): Likewise.
28748 * posix/group_member.c (__group_member): Likewise.
28749 * posix/pathconf.c (__pathconf): Likewise.
28750 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28751 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28752 * posix/setgid.c (__setgid): Likewise.
28753 * posix/setpgid.c (__setpgid): Likewise.
28754 * posix/setuid.c (__setuid): Likewise.
28755 * posix/sleep.c (__sleep): Likewise.
28756 * posix/sysconf.c (__sysconf): Likewise.
28757 * posix/times.c (__times): Likewise.
28758 * posix/uname.c (__uname): Likewise.
28759 * posix/waitid.c (__waitid): Likewise.
28760 * pwd/getpw.c (__getpw): Likewise.
28761 * resolv/base64.c (b64_pton): Likewise.
28762 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28763 * resolv/gethnamaddr.c (Dprintf): Likewise.
28764 (gethostbyname): Likewise.
28765 (gethostbyname2): Likewise.
28766 (gethostbyaddr): Likewise.
28767 (_sethtent): Likewise.
28768 (_gethtbyname): Likewise.
28769 (_gethtbyname2): Likewise.
28770 (_gethtbyaddr): Likewise.
28771 (map_v4v6_address): Likewise.
28772 (map_v4v6_hostent): Likewise.
28773 (addrsort): Likewise.
28774 (ht_sethostent): Likewise.
28775 (ht_gethostbyname): Likewise.
28776 (ht_gethostbyaddr): Likewise.
28777 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28778 (inet_net_ntop_ipv4): Likewise.
28779 * resolv/inet_neta.c (inet_neta): Likewise.
28780 * resolv/inet_ntop.c (inet_ntop): Likewise.
28781 (inet_ntop4): Likewise.
28782 (inet_ntop6): Likewise.
28783 * resolv/inet_pton.c (__inet_pton): Likewise.
28784 (inet_pton4): Likewise.
28785 (inet_pton6): Likewise.
28786 * resolv/res_debug.c (loc_aton): Likewise.
28787 (loc_ntoa): Likewise.
28788 * resource/getpriority.c (__getpriority): Likewise.
28789 * resource/getrusage.c (__getrusage): Likewise.
28790 * resource/nice.c (nice): Likewise.
28791 * resource/setpriority.c (__setpriority): Likewise.
28792 * resource/setrlimit64.c (setrlimit64): Likewise.
28793 * resource/vlimit.c (vlimit): Likewise.
28794 * resource/vtimes.c (vtimes): Likewise.
28795 * rt/aio_error.c (aio_error): Likewise.
28796 * rt/aio_return.c (aio_return): Likewise.
28797 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28798 * signal/kill.c (__kill): Likewise.
28799 * signal/killpg.c (killpg): Likewise.
28800 * signal/raise.c (raise): Likewise.
28801 * signal/sigaction.c (__sigaction): Likewise.
28802 * signal/sigaddset.c (sigaddset): Likewise.
28803 * signal/sigaltstack.c (sigaltstack): Likewise.
28804 * signal/sigandset.c (sigandset): Likewise.
28805 * signal/sigblock.c (__sigblock): Likewise.
28806 * signal/sigdelset.c (sigdelset): Likewise.
28807 * signal/sigempty.c (sigemptyset): Likewise.
28808 * signal/sigfillset.c (sigfillset): Likewise.
28809 * signal/sighold.c (sighold): Likewise.
28810 * signal/sigignore.c (sigignore): Likewise.
28811 * signal/sigintr.c (siginterrupt): Likewise.
28812 * signal/sigisempty.c (sigisemptyset): Likewise.
28813 * signal/sigismem.c (sigismember): Likewise.
28814 * signal/signal.c (signal): Likewise.
28815 * signal/sigorset.c (sigorset): Likewise.
28816 * signal/sigpause.c (__sigpause): Likewise.
28817 * signal/sigpending.c (sigpending): Likewise.
28818 * signal/sigprocmask.c (__sigprocmask): Likewise.
28819 * signal/sigrelse.c (sigrelse): Likewise.
28820 * signal/sigreturn.c (__sigreturn): Likewise.
28821 * signal/sigset.c (sigset): Likewise.
28822 * signal/sigsetmask.c (__sigsetmask): Likewise.
28823 * signal/sigstack.c (sigstack): Likewise.
28824 * signal/sigsuspend.c (__sigsuspend): Likewise.
28825 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28826 * signal/sysv_signal.c (__sysv_signal): Likewise.
28827 * socket/accept.c (accept): Likewise.
28828 * socket/accept4.c (__libc_accept4): Likewise.
28829 * socket/bind.c (__bind): Likewise.
28830 * socket/connect.c (__connect): Likewise.
28831 * socket/getpeername.c (getpeername): Likewise.
28832 * socket/getsockname.c (__getsockname): Likewise.
28833 * socket/getsockopt.c (getsockopt): Likewise.
28834 * socket/listen.c (__listen): Likewise.
28835 * socket/recv.c (__recv): Likewise.
28836 * socket/recvmsg.c (__recvmsg): Likewise.
28837 * socket/send.c (__send): Likewise.
28838 * socket/sendmsg.c (__sendmsg): Likewise.
28839 * socket/shutdown.c (shutdown): Likewise.
28840 * socket/sockatmark.c (sockatmark): Likewise.
28841 * socket/socket.c (__socket): Likewise.
28842 * stdio-common/ctermid.c (ctermid): Likewise.
28843 * stdio-common/cuserid.c (cuserid): Likewise.
28844 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28845 * stdio-common/remove.c (remove): Likewise.
28846 * stdio-common/rename.c (rename): Likewise.
28847 * stdio-common/renameat.c (renameat): Likewise.
28848 * stdio-common/tempname.c (__gen_tempname): Likewise.
28849 * stdio-common/xbug.c (InitBuffer): Likewise.
28850 (AppendToBuffer): Likewise.
28851 (ReadFile): Likewise.
28852 * stdlib/a64l.c (a64l): Likewise.
28853 * stdlib/drand48_r.c (drand48_r): Likewise.
28854 * stdlib/getcontext.c (getcontext): Likewise.
28855 * stdlib/getenv.c (getenv): Likewise.
28856 * stdlib/l64a.c (l64a): Likewise.
28857 * stdlib/llabs.c (llabs): Likewise.
28858 * stdlib/lldiv.c (lldiv): Likewise.
28859 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28860 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28861 * stdlib/putenv.c (putenv): Likewise.
28862 * stdlib/random.c (__srandom): Likewise.
28863 (__initstate): Likewise.
28864 (__setstate): Likewise.
28865 * stdlib/random_r.c (__srandom_r): Likewise.
28866 (__setstate_r): Likewise.
28867 (__random_r): Likewise.
28868 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28869 * stdlib/setcontext.c (setcontext): Likewise.
28870 * stdlib/setenv.c (setenv): Likewise.
28871 (unsetenv): Likewise.
28872 * stdlib/srand48.c (srand48): Likewise.
28873 * stdlib/srand48_r.c (__srand48_r): Likewise.
28874 * stdlib/swapcontext.c (swapcontext): Likewise.
28875 * stdlib/system.c (__libc_system): Likewise.
28876 * stdlib/tst-strtod.c (expand): Likewise.
28877 * stdlib/tst-strtol.c (expand): Likewise.
28878 * stdlib/tst-strtoll.c (expand): Likewise.
28879 * streams/fattach.c (fattach): Likewise.
28880 * streams/fdetach.c (fdetach): Likewise.
28881 * streams/getmsg.c (getmsg): Likewise.
28882 * streams/isastream.c (isastream): Likewise.
28883 * string/ffs.c (__ffs): Likewise.
28884 * string/ffsll.c (ffsll): Likewise.
28885 * string/memcmp.c (memcmp_common_alignment): Likewise.
28886 (memcmp_not_common_alignment): Likewise.
28887 (MEMCMP): Likewise.
28888 * string/memcpy.c (memcpy): Likewise.
28889 * string/memmove.c (MEMMOVE): Likewise.
28890 * string/memset.c (memset): Likewise.
28891 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28892 * string/strchrnul.c (STRCHRNUL): Likewise.
28893 * string/strerror.c (strerror): Likewise.
28894 * string/strndup.c (__strndup): Likewise.
28895 * string/strverscmp.c (__strverscmp): Likewise.
28896 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28897 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28898 (clnttcp_freeres): Likewise.
28899 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28900 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28901 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28902 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28903 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28904 (xdr_callhdr): Likewise.
28905 * sunrpc/rpcinfo.c (udpping): Likewise.
28906 (tcpping): Likewise.
28907 (pstatus): Likewise.
28908 (pmapdump): Likewise.
28909 (brdcst): Likewise.
28910 (deletereg): Likewise.
28911 (getprognum): Likewise.
28912 (getvers): Likewise.
28913 (get_inet_address): Likewise.
28914 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28915 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28916 (svcudp_stat): Likewise.
28917 (svcudp_recv): Likewise.
28918 (svcudp_reply): Likewise.
28919 (svcudp_getargs): Likewise.
28920 (svcudp_freeargs): Likewise.
28921 (svcudp_destroy): Likewise.
28922 * sunrpc/xdr.c (xdr_bytes): Likewise.
28923 (xdr_netobj): Likewise.
28924 (xdr_string): Likewise.
28925 (xdr_wrapstring): Likewise.
28926 * sunrpc/xdr_float.c (xdr_float): Likewise.
28927 (xdr_double): Likewise.
28928 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28929 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28930 * sysvipc/ftok.c (ftok): Likewise.
28931 * sysvipc/msgctl.c (msgctl): Likewise.
28932 * sysvipc/msgget.c (msgget): Likewise.
28933 * sysvipc/msgrcv.c (msgrcv): Likewise.
28934 * sysvipc/msgsnd.c (msgsnd): Likewise.
28935 * sysvipc/semget.c (semget): Likewise.
28936 * sysvipc/semop.c (semop): Likewise.
28937 * sysvipc/shmat.c (shmat): Likewise.
28938 * sysvipc/shmctl.c (shmctl): Likewise.
28939 * sysvipc/shmdt.c (shmdt): Likewise.
28940 * sysvipc/shmget.c (shmget): Likewise.
28941 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28942 * termios/speed.c (cfgetospeed): Likewise.
28943 (cfgetispeed): Likewise.
28944 (cfsetospeed): Likewise.
28945 (cfsetispeed): Likewise.
28946 * termios/tcflow.c (tcflow): Likewise.
28947 * termios/tcflush.c (tcflush): Likewise.
28948 * termios/tcgetattr.c (__tcgetattr): Likewise.
28949 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28950 * termios/tcgetsid.c (tcgetsid): Likewise.
28951 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28952 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28953 * time/adjtime.c (__adjtime): Likewise.
28954 * time/dysize.c (dysize): Likewise.
28955 * time/ftime.c (ftime): Likewise.
28956 * time/getitimer.c (__getitimer): Likewise.
28957 * time/gettimeofday.c (__gettimeofday): Likewise.
28958 * time/gmtime.c (__gmtime_r): Likewise.
28959 (gmtime): Likewise.
28960 * time/localtime.c (__localtime_r): Likewise.
28961 (localtime): Likewise.
28962 * time/offtime.c (__offtime): Likewise.
28963 * time/settimeofday.c (__settimeofday): Likewise.
28964 * time/stime.c (stime): Likewise.
28965 * time/strftime_l.c (tm_diff): Likewise.
28966 (iso_week_days): Likewise.
28967 * time/strptime.c (strptime): Likewise.
28968 * time/time.c (time): Likewise.
28969 * time/timespec_get.c (timespec_get): Likewise.
28970 * time/tzset.c (tzset_internal): Likewise.
28971 (compute_change): Likewise.
28972 (__tz_compute): Likewise.
28973 * wcsmbs/btowc.c (__btowc): Likewise.
28974 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28975 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28976 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28977 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28978 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28979 * wcsmbs/wcscat.c (__wcscat): Likewise.
28980 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28981 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28982 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28983 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28984 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28985 * wcsmbs/wcslen.c (__wcslen): Likewise.
28986 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28987 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28988 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28989 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28990 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28991 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28992 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28993 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28994 * wcsmbs/wcstok.c (wcstok): Likewise.
28995 * wcsmbs/wctob.c (wctob): Likewise.
28996 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28997 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28998 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28999 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29000 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29001 * wcsmbs/wmemset.c (__wmemset): Likewise.
29002 * wctype/wcfuncs.c (__towlower): Likewise.
29003 (__towupper): Likewise.
29004
29005 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29006 (lll_unlock_elision): Add adapt_count parameter.
29007
29008 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29009
29010 * sysdeps/nptl/configure.ac: Do not give errors based on the
29011 results of top-level configure tests.
29012 * sysdeps/nptl/configure: Regenerated.
29013
29014 * configure.ac (libc_cv_Bgroup): Remove configure test.
29015 * configure: Regenerated.
29016 * config.make.in (have-Bgroup): Remove variable.
29017
29018 * configure.ac (sizeof_long_double): Remove configure test.
29019 * configure: Regenerated.
29020 * config.make.in (sizeof-long-double): Remove variable.
29021
29022 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29023 * configure: Regenerated.
29024 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29025 variable.
29026 (exceptions): Likewise.
29027 * sysdeps/arm/configure: Regenerated.
29028 * config.make.in (exceptions): Remove variable.
29029 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29030 $(exceptions).
29031 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29032 (CFLAGS-vdprintf_chk.c): Likewise.
29033 (CFLAGS-printf_chk.c): Likewise.
29034 (CFLAGS-fprintf_chk.c): Likewise.
29035 (CFLAGS-vprintf_chk.c): Likewise.
29036 (CFLAGS-vfprintf_chk.c): Likewise.
29037 (CFLAGS-gets_chk.c): Likewise.
29038 (CFLAGS-fgets_chk.c): Likewise.
29039 (CFLAGS-fgets_u_chk.c): Likewise.
29040 (CFLAGS-fread_chk.c): Likewise.
29041 (CFLAGS-fread_u_chk.c): Likewise.
29042 (CFLAGS-wprintf_chk.c): Likewise.
29043 (CFLAGS-fwprintf_chk.c): Likewise.
29044 (CFLAGS-vwprintf_chk.c): Likewise.
29045 (CFLAGS-vfwprintf_chk.c): Likewise.
29046 (CFLAGS-fgetws_chk.c): Likewise.
29047 (CFLAGS-fgetws_u_chk.c): Likewise.
29048 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29049 (CFLAGS-fputc.c): Likewise.
29050 (CFLAGS-fputwc.c): Likewise.
29051 (CFLAGS-freopen64.c): Likewise.
29052 (CFLAGS-freopen.c): Likewise.
29053 (CFLAGS-fseek.c): Likewise.
29054 (CFLAGS-fseeko64.c): Likewise.
29055 (CFLAGS-fseeko.c): Likewise.
29056 (CFLAGS-ftello64.c): Likewise.
29057 (CFLAGS-ftello.c): Likewise.
29058 (CFLAGS-fwide.c): Likewise.
29059 (CFLAGS-genops.c): Likewise.
29060 (CFLAGS-getc.c): Likewise.
29061 (CFLAGS-getchar.c): Likewise.
29062 (CFLAGS-getwc.c): Likewise.
29063 (CFLAGS-getwchar.c): Likewise.
29064 (CFLAGS-iofclose.c): Likewise.
29065 (CFLAGS-iofflush.c): Likewise.
29066 (CFLAGS-iofgetpos64.c): Likewise.
29067 (CFLAGS-iofgetpos.c): Likewise.
29068 (CFLAGS-iofgets.c): Likewise.
29069 (CFLAGS-iofgetws.c): Likewise.
29070 (CFLAGS-iofputs.c): Likewise.
29071 (CFLAGS-iofputws.c): Likewise.
29072 (CFLAGS-iofread.c): Likewise.
29073 (CFLAGS-iofsetpos64.c): Likewise.
29074 (CFLAGS-iofsetpos.c): Likewise.
29075 (CFLAGS-ioftell.c): Likewise.
29076 (CFLAGS-iofwrite.c): Likewise.
29077 (CFLAGS-iogetdelim.c): Likewise.
29078 (CFLAGS-iogetline.c): Likewise.
29079 (CFLAGS-iogets.c): Likewise.
29080 (CFLAGS-iogetwline.c): Likewise.
29081 (CFLAGS-ioputs.c): Likewise.
29082 (CFLAGS-ioseekoff.c): Likewise.
29083 (CFLAGS-ioseekpos.c): Likewise.
29084 (CFLAGS-iosetbuffer.c): Likewise.
29085 (CFLAGS-iosetvbuf.c): Likewise.
29086 (CFLAGS-ioungetc.c): Likewise.
29087 (CFLAGS-ioungetwc.c): Likewise.
29088 (CFLAGS-oldfileops.c): Likewise.
29089 (CFLAGS-oldiofclose.c): Likewise.
29090 (CFLAGS-oldiofgetpos64.c): Likewise.
29091 (CFLAGS-oldiofgetpos.c): Likewise.
29092 (CFLAGS-oldiofsetpos64.c): Likewise.
29093 (CFLAGS-oldiofsetpos.c): Likewise.
29094 (CFLAGS-peekc.c): Likewise.
29095 (CFLAGS-putc.c): Likewise.
29096 (CFLAGS-putchar.c): Likewise.
29097 (CFLAGS-putwc.c): Likewise.
29098 (CFLAGS-putwchar.c): Likewise.
29099 (CFLAGS-rewind.c): Likewise.
29100 (CFLAGS-wfileops.c): Likewise.
29101 (CFLAGS-wgenops.c): Likewise.
29102 (CFLAGS-oldiofopen.c): Likewise.
29103 (CFLAGS-iofopen.c): Likewise.
29104 (CFLAGS-iofopen64.c): Likewise.
29105 (CFLAGS-oldtmpfile.c): Likewise.
29106 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29107 (CFLAGS-fprintf.c): Likewise.
29108 (CFLAGS-printf.c): Likewise.
29109 (CFLAGS-vfwprintf.c): Likewise.
29110 (CFLAGS-vfscanf.c): Likewise.
29111 (CFLAGS-vfwscanf.c): Likewise.
29112 (CFLAGS-fscanf.c): Likewise.
29113 (CFLAGS-scanf.c): Likewise.
29114 (CFLAGS-isoc99_vfscanf.c): Likewise.
29115 (CFLAGS-isoc99_vscanf.c): Likewise.
29116 (CFLAGS-isoc99_fscanf.c): Likewise.
29117 (CFLAGS-isoc99_scanf.c): Likewise.
29118 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29119 (CFLAGS-isoc99_fwscanf.c): Likewise.
29120 (CFLAGS-isoc99_vwscanf.c): Likewise.
29121 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29122
29123 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29124 after mkstemp64.
29125 * login/tst-utmp.c (do_prepare): Likewise.
29126 * rt/tst-aio.c (do_prepare): Likewise.
29127 * rt/tst-aio64.c (do_prepare): Likewise.
29128
29129 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29130
29131 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29132 (__lll_lock_elision): Remove adapt_count decrement...
29133 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29134 (__lll_trylock_elision): Likewise.
29135 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29136 (__lll_unlock_elision): ... to here. And utilize
29137 new adapt_count parameter.
29138 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29139 (__lll_unlock_elision): Update to include adapt_count
29140 parameter.
29141 (lll_unlock_elision): Pass pointer to adapt_count
29142 variable.
29143
29144 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29145
29146 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29147 Add elision adapt_count parameter to list of arguments.
29148 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29149 (lll_unlock_elision): Update with new parameter list
29150 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29151 (lll_unlock_elision): Likewise.
29152 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29153 (lll_unlock_elision): Likewise.
29154
29155 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29156
29157 [BZ #19122]
29158 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29159 attribute_hidden.
29160
29161 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29162 attribute_hidden.
29163 [IS_IN (rtld)] (__strdup): Likewise.
29164 [IS_IN (rtld)] (__strerror_r): Likewise.
29165 [IS_IN (rtld)] (__strsep_g): Likewise.
29166 [IS_IN (rtld)] (memchr): Likewise.
29167 [IS_IN (rtld)] (memcmp): Likewise.
29168 [IS_IN (rtld)] (memcpy): Likewise.
29169 [IS_IN (rtld)] (memmove): Likewise.
29170 [IS_IN (rtld)] (memset): Likewise.
29171 [IS_IN (rtld)] (rawmemchr): Likewise.
29172 [IS_IN (rtld)] (stpcpy): Likewise.
29173 [IS_IN (rtld)] (strchr): Likewise.
29174 [IS_IN (rtld)] (strcmp): Likewise.
29175 [IS_IN (rtld)] (strlen): Likewise.
29176 [IS_IN (rtld)] (strnlen): Likewise.
29177 [IS_IN (rtld)] (strsep): Likewise.
29178
29179 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29180 attribute_hidden.
29181 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29182
29183 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29184 attribute_hidden.
29185 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29186
29187 * include/setjmp.h (__longjmp): Add attribute_hidden.
29188 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29189
29190 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29191 Add attribute_hidden.
29192
29193 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29194 [IS_IN (rtld)] (__open): Likewise.
29195 [IS_IN (rtld)] (__fcntl): Likewise.
29196
29197 * include/dirent.h (__opendirat): Add attribute_hidden.
29198 (__getdents): Likewise.
29199 (__getdents64): Likewise.
29200 (__alloc_dir): Likewise.
29201 [IS_IN (rtld)] (__closedir): Likewise.
29202 [IS_IN (rtld)] (__fdopendir): Likewise.
29203 [IS_IN (rtld)] (__readdir): Likewise.
29204 [IS_IN (rtld)] (__readdir64): Likewise.
29205 [IS_IN (rtld)] (__rewinddir): Likewise.
29206
29207 * include/dlfcn.h (_dl_catch_error): Moved to ...
29208 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29209 attribute_hidden.
29210
29211 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29212 (_itoa_word): Likewise.
29213
29214 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29215 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29216 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29217 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29218 (_dl_higher_prime_number): Likewise.
29219 (_dl_debug_printf_c): Likewise.
29220 (_dl_signal_cerror): Likewise.
29221 (_dl_receive_error): Likewise.
29222 (_dl_reloc_bad_type): Likewise.
29223 (_dl_resolve_conflicts): Likewise.
29224 (_dl_check_all_versions): Likewise.
29225 (_dl_check_map_versions): Likewise.
29226 (_dl_sort_fini): Likewise.
29227 (_dl_debug_initialize): Likewise.
29228 (_dl_init_paths): Likewise.
29229 (_dl_show_auxv): Likewise.
29230 (_dl_next_ld_env_entry): Likewise.
29231 (_dl_important_hwcaps): Likewise.
29232 (_dl_load_cache_lookup): Likewise.
29233 (_dl_update_slotinfo): Likewise.
29234 (_dl_show_scope): Likewise.
29235
29236 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29237 attribute_hidden.
29238 (_wordcopy_fwd_dest_aligned): Likewise.
29239 (_wordcopy_bwd_aligned): Likewise.
29240 (_wordcopy_bwd_dest_aligned): Likewise.
29241
29242 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29243 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29244 Likewise.
29245 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29246 Likewise.
29247 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29248
29249 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29250
29251 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29252 GCC 5 requirement.
29253
29254 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29255
29256 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29257 test.
29258 * sysdeps/i386/configure: Regenerated.
29259 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29260 code unconditional.
29261
29262 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29263 test.
29264 (libc_cv_asm_popsection_directive): Likewise.
29265 * configure: Regenerated.
29266 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29267 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29268 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29269 (__make_section_unallocated): Make definition unconditional.
29270 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29271 Remove conditional definition.
29272 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29273 (__make_section_unallocated): Likewise.
29274
29275 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29276 * configure: Regenerated.
29277 * config.make.in (static-libgcc): Remove variable.
29278 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29279 $(static-libgcc).
29280 (build-module-helper): Likewise.
29281
29282 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29283 * configure: Regenerated.
29284
29285 2015-10-15 Florian Weimer <fweimer@redhat.com>
29286
29287 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29288 (struct char_buffer): New type.
29289 (char_buffer_start, char_buffer_size, char_buffer_error)
29290 (char_buffer_rewind, char_buffer_add): New functions.
29291 (ADDW): Remove macro, replaced by the char_buffer_add function.
29292 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29293 of extend_alloca. Make control flow more explicit.
29294
29295 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29296
29297 [BZ #19137]
29298 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29299 Add -fomit-frame-pointer.
29300 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29301
29302 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29303
29304 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29305 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29306 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29307 only if !__GNUC_PREREQ (5,0).
29308 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29309 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29310 (INTERNAL_SYSCALL_NCS): Likewise.
29311 (LOADREGS_0): New macro for GCC 5.
29312 (ASMARGS_0): Likewise.
29313 (LOADREGS_1): Likewise.
29314 (ASMARGS_1): Likewise.
29315 (LOADREGS_2): Likewise.
29316 (ASMARGS_2): Likewise.
29317 (LOADREGS_3): Likewise.
29318 (ASMARGS_3): Likewise.
29319 (LOADREGS_4): Likewise.
29320 (ASMARGS_4): Likewise.
29321 (LOADREGS_5): Likewise.
29322 (ASMARGS_5): Likewise.
29323 (LOADREGS_6): Likewise.
29324 (ASMARGS_6): Likewise.
29325
29326 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29327
29328 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29329 -fomit-frame-pointer.
29330 (CFLAGS-mmap64.c): Likewise.
29331 (CFLAGS-semtimedop.c): Likewise.
29332 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29333 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29334 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29335 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29336
29337 2015-10-15 Florian Weimer <fweimer@redhat.com>
29338
29339 [BZ #18928]
29340 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29341 _dl_pointer_guard member.
29342 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29343 initializer.
29344 (security_init): Always set up pointer guard.
29345 (process_envvars): Do not process LD_POINTER_GUARD.
29346
29347 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #19134]
29350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29351 (.LC2): Likewise.
29352 (.LC3): Likewise.
29353 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29354
29355 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29356
29357 [BZ #19129]
29358 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29359 r0 and r1.
29360
29361 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29362
29363 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29364
29365 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29366
29367 * include/stap-probe.h: Fix macro definition formatting.
29368
29369 2015-10-14 Florian Weimer <fweimer@redhat.com>
29370
29371 [BZ #19074]
29372 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29373 load and store num_ifs.
29374
29375 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29376
29377 [BZ #18822]
29378 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29379 (__sched_getaffinity_new): Add libc_hidden_proto and
29380 libc_hidden_def.
29381
29382 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29383
29384 [BZ #19007]
29385 * scripts/localplt.awk: Also allow GOT references.
29386 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29387 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29388 with "+ REL R_386_GLOB_DAT".
29389 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29390 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29391
29392 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29393
29394 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29395 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29396 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29397 Likewise.
29398 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29399 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29400 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29401 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29402 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29403 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29404 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29405 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29406 Likewise.
29407 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29408
29409 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29410
29411 [BZ #19125]
29412 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29413 <math_private.h> and <stdint.h>.
29414 (__llround): Avoid conversions to and from long long int, and
29415 subtractions, where those might raise spurious exceptions.
29416 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29417 <math_private.h> and <stdint.h>.
29418 (__llroundf): Avoid conversions to and from long long int, and
29419 subtractions, where those might raise spurious exceptions.
29420
29421 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29422
29423 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29424 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29425 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29426 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29428 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29429 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29430 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29431 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29432 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29433 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29434 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29435 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29436 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29437 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29439 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29440 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29441 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29442 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29444 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29445 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29446 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29447 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29448 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29449 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29450 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29451 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29452 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29453 (__xstat64_conv): Likewise.
29454 (__xstat32_conv): Likewise.
29455
29456 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29457
29458 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29459 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29460 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29461 <sysdeps/unix/sysv/linux/sysdep.h>.
29462 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29463 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29464 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29465 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29466 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29467 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29468 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29469 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29470 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29475 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29476 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29478 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29479 (sysdep-dl-routines): Add sysdep.
29480 [$(subdir) == nptl] (libpthread-routines): Likewise.
29481 [$(subdir) == rt] (librt-routines): Likewise.
29482 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29483 PIC when branching to SYSCALL_ERROR_LABEL.
29484 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29485 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29486 <sysdeps/unix/sysv/linux/sysdep.h>.
29487 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29488 (SYSCALL_ERROR_ERRNO): Removed.
29489 (SYSCALL_ERROR_HANDLER): Changed to empty.
29490 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29491 (__syscall_error): New prototype.
29492 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29493 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29494
29495 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29496
29497 [BZ #19124]
29498 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29499 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29500 _dl_runtime_resolve_avx.
29501 (_dl_runtime_profile_avx512): Make it a hidden alias of
29502 _dl_runtime_profile_avx.
29503
29504 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29505
29506 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29507 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29508 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29509 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29510
29511 [BZ #16422]
29512 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29513 New configure test.
29514 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29515 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29516 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29517 <math_private.h> and <stdint.h>.
29518 (__llrint): Avoid conversions to long long int where those might
29519 raise spurious exceptions.
29520 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29521 <math_private.h> and <stdint.h>.
29522 (__llrintf): Avoid conversions to long long int where those might
29523 raise spurious exceptions.
29524
29525 2015-10-12 Andreas Schwab <schwab@suse.de>
29526
29527 [BZ #18969]
29528 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29529 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29530 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29531 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29532 $(gen-locales).
29533 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29534 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29535 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29536 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29537 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29538 $(gen-locales).
29539 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29540 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29541 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29542 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29543 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29544 ($(objpfx)tst-ftell-active-handler.out)
29545 ($(objpfx)tst-ftell-append.out)
29546 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29547 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29548 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29549 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29550 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29551 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29552 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29553 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29554 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29555 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29556 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29557 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29558 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29559 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29560 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29561 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29562 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29563 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29564 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29565 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29566 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29567 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29568 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29569 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29570 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29571 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29572 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29573 $(gen-locales).
29574 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29575 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29576 $(gen-locales).
29577 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29578 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29579 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29580 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29581 $(gen-locales).
29582 * libio/tst_wprintf2.c (main): Use explicit locale.
29583 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29584
29585 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29586
29587 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29588 __msg_sig_post.
29589 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29590
29591 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29592
29593 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29594 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29595
29596 * sysdeps/arm/libm-test-ulps: Regenerated.
29597
29598 [BZ #15470]
29599 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29600
29601 [BZ #16399]
29602 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29603 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29604 and <fix-fp-int-convert-overflow.h>.
29605 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29606 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29607 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29608 and <fix-fp-int-convert-overflow.h>.
29609 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29610 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29611 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29612 <fix-fp-int-convert-overflow.h>.
29613 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29614 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29615 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29616 <fix-fp-int-convert-overflow.h>.
29617 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29618 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29619 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29620 and <fix-fp-int-convert-overflow.h>.
29621 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29622 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29623 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29624 <limits.h> and <fix-fp-int-convert-overflow.h>.
29625 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29626 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29627 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29628 and <fix-fp-int-convert-overflow.h>.
29629 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29630 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29631 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29632 and <fix-fp-int-convert-overflow.h>.
29633 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29634 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29635 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29636
29637 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29638
29639 [BZ #18589]
29640 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29641 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29642 $(gen-locales).
29643
29644 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29645 Phil Blundell <pb@pbcl.net>
29646
29647 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29648 * nptl/tst-cancel26.c: New file.
29649 * nptl/tst-cancel27.c: Likewise.
29650
29651 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29652
29653 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29654 __ILP32__ isn't defined.
29655 (lrint): Likewise.
29656 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29657 (lrintf): Likewise.
29658 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29659 (lrintl): Likewise.
29660 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29661 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29662 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29663
29664 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29665
29666 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29668
29669 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29670 file.
29671 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29672 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29673
29674 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29675
29676 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29677 configure test.
29678 * sysdeps/i386/configure: Regenerated.
29679 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29680 configure test.
29681 * sysdeps/x86_64/configure: Regenerated.
29682 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29683 Make code unconditional.
29684
29685 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29686 test.
29687 * sysdeps/i386/configure: Regenerated.
29688 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29689 test.
29690 * sysdeps/x86_64/configure: Regenerated.
29691 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29692 Make code unconditional.
29693 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29694 Likewise.
29695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29696 Likewise.
29697 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29698 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29699 code unconditional.
29700 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29701 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29702 code unconditional.
29703 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29704 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29705 code unconditional.
29706 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29707 code unconditional.
29708 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29709 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29710 code unconditional.
29711 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29712 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29713 code unconditional.
29714 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29715 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29716 code unconditional.
29717 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29718 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29719 code unconditional.
29720 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29721 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29722
29723 [BZ #19095]
29724 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29725 mantissa to long int before shifting left.
29726
29727 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29728
29729 [BZ #19094]
29730 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29731 <limits.h>.
29732 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29733 when result overflows but exception would not result from cast.
29734 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29735 <limits.h>.
29736 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29737 when result overflows but exception would not result from cast.
29738 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29739 <limits.h>.
29740 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29741 when result overflows but exception would not result from cast.
29742 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29743 <limits.h>.
29744 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29745 when result overflows but exception would not result from cast.
29746 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29747 <limits.h>.
29748 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29749 when result overflows but exception would not result from cast.
29750 * math/libm-test.inc (lrint_test_data): Add more tests.
29751 (llrint_test_data): Likewise.
29752
29753 2015-10-08 Roland McGrath <roland@hack.frob.com>
29754
29755 [BZ #18872]
29756 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29757 Move out from under [$(run-built-tests) = yes] conditional.
29758 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29759 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29760
29761 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29762
29763 [BZ #18589]
29764 * string/Makefile (tests): Add bug-strcoll2.
29765 (LOCALES): Add cs_CZ.UTF-8.
29766 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29767
29768 [BZ #18589]
29769 * string/bug-strcoll2.c: New file.
29770 * locale/categories.def: Revert commit
29771 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29772 * locale/langinfo.h: Likewise.
29773 * locale/localeinfo.h: Likewise.
29774 * locale/C-collate.c: Likewise.
29775 * locale/programs/ld-collate.c (collate_output): Likewise.
29776 * string/strcoll_l.c (STRDIFF): Likewise.
29777 (STRCOLL): Likewise.
29778 * wcsmbs/wcscoll_l.c: Likewise.
29779
29780 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29781
29782 * math/libm-test.inc (lround_test_data): Do not expect the absence
29783 of "inexact" for some tests with non-integer arguments.
29784 (llround_test_data): Likewise.
29785
29786 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29787 test.
29788 (libc_cv_cc_sse2avx): Likewise.
29789 * sysdeps/i386/configure: Regenerated.
29790 * sysdeps/i386/i686/multiarch/Makefile
29791 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29792 [$(subdir) = math].
29793 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29794 code unconditional.
29795 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29796 Likewise.
29797 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29798 Likewise.
29799 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29800 Likewise.
29801 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29802 test.
29803 (libc_cv_cc_sse2avx): Likewise.
29804 * sysdeps/x86_64/configure: Regenerated.
29805 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29806 unconditional.
29807 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29808 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29809 unconditional.
29810 (_dl_runtime_profile)
29811 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29812 conditional code.
29813 * sysdeps/x86_64/fpu/multiarch/Makefile
29814 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29815 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29816 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29817 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29818 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29819 * sysdeps/x86_64/fpu/multiarch/e_log.c
29820 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29821 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29822 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29823 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29824 Likewise.
29825 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29826 Likewise.
29827 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29828 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29829 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29830 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29831 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29832 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29833 (HAVE_SSE2AVX_SUPPORT): Likewise.
29834
29835 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29836
29837 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29838 instead of #pragma optimize.
29839
29840 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29841
29842 [BZ #17195]
29843 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29844 as is similarly done in systrim and _int_free already.
29845
29846 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29847
29848 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29849
29850 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29851
29852 [BZ #19088]
29853 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29854 <limits.h>.
29855 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29856 overflows but exception would not result from cast.
29857 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29858 and <limits.h>.
29859 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29860 overflows but exception would not result from cast.
29861 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29862 <limits.h>.
29863 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29864 overflows but exception would not result from cast.
29865 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29866 <limits.h>.
29867 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29868 overflows but exception would not result from cast.
29869 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29870 <limits.h>.
29871 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29872 overflows but exception would not result from cast.
29873 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29874 <limits.h>.
29875 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29876 overflows but exception would not result from cast.
29877 * math/libm-test.inc (lround_test_data): Add more tests.
29878 (llround_test_data): Likewise.
29879
29880 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29881
29882 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29883 (CFLAGS-ialloc.c): Ditto.
29884 (CFLAGS-scheck.c): Ditto.
29885
29886 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29887
29888 [BZ #19086]
29889 * manual/filesys.texi (Storage Allocation): Fix argument order for
29890 posix_fallocate64.
29891
29892 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29893
29894 [BZ #19085]
29895 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29896 exponent below 48 inside case for non-overflowing exponent.
29897 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29898
29899 2015-10-07 Florian Weimer <fweimer@redhat.com>
29900
29901 * iconvdata/cp737.h (from_idx): Add const.
29902 * iconvdata/cp775.h (from_idx): Likewise.
29903
29904 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29905
29906 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29907 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29908 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29909
29910 [BZ #19079]
29911 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29912 file, conditioned on [!_LP64].
29913 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29914 [!_LP64] (__lround): Do not define as function or alias.
29915 [!_LP64] (lround): Likewise.
29916 [!_LP64] (__lroundl): Likewise.
29917 [!_LP64] (lroundl): Likewise.
29918 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29919 macro.
29920 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29921 Likewise.
29922
29923 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29924
29925 * math/libm-test.inc (lrint_test_data): Add more tests.
29926 (llrint_test_data): Likewise.
29927 (lround_test_data): Likewise.
29928 (llround_test_data): Likewise.
29929
29930 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29931 (llrint_test_data): Add tests used for lrint.
29932
29933 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29934 test.
29935 * sysdeps/i386/configure: Regenerated.
29936 * sysdeps/i386/i686/multiarch/Makefile
29937 [$(config-cflags-sse4) = yes]: Make code unconditional.
29938 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29939 Likewise.
29940 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29941 Likewise.
29942 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29943 test.
29944 * sysdeps/x86_64/configure: Regenerated.
29945 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29946 Make code unconditional.
29947 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29948 Likewise.
29949 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29950 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29951
29952 * scripts/rpm2dynsym.sh: Remove file.
29953
29954 2015-10-06 Florian Weimer <fweimer@redhat.com>
29955
29956 * configure.ac (libc_cv_cxx_thread_local): Define.
29957 * configure: Regenerate.
29958 * config.make.in (have-cxx-thread_local): Define.
29959 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29960 (LDLIBS-tst-thread_local1): Define.
29961 (tests): Add tst-thread_local1.
29962 [have-cxx-thread_local != yes] (tests-unsupported): Add
29963 tst-thread_local1.
29964 * nptl/tst-thread_local1.cc: New file.
29965
29966 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29967
29968 [BZ #19078]
29969 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29970 (u_thres): Likewise.
29971 (__expl): Determine whether to call __kernel_standard_l based on
29972 value of result, not argument.
29973
29974 * math/libm-test.inc (scalb_test_data): Add more expectations for
29975 the "inexact" exception.
29976
29977 [BZ #19077]
29978 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29979 0.0L for argument 1.0L.
29980
29981 [BZ #19076]
29982 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29983 constant 0.0L when computing infinite result.
29984
29985 2015-10-06 Florian Weimer <fweimer@redhat.com>
29986
29987 [BZ #10432]
29988 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29989 malloc_usable_size.
29990
29991 2015-10-06 Florian Weimer <fweimer@redhat.com>
29992
29993 [BZ #19018]
29994 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29995 Mangle function pointer before storing it.
29996 (__call_tls_dtors): Demangle function pointer before calling it.
29997
29998 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29999
30000 [BZ #19012]
30001 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30002 Clean up on failure.
30003
30004 2015-10-05 Joseph Myers <joseph@codesourcery.com>
30005
30006 [BZ #19071]
30007 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30008 long int variable to store possibly incremented high part of
30009 mantissa.
30010 * math/libm-test.inc (lround_test_data): Add tests used for
30011 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30012 for tests requiring 64-bit long. Do not condition tests on
30013 [TEST_FLOAT] unnecessarily.
30014 (llround_test_data): Add tests used for lround. Add another
30015 expectation for the "inexact" exception. Do not condition tests
30016 on [TEST_FLOAT] unnecessarily.
30017
30018 [BZ #887]
30019 [BZ #19049]
30020 [BZ #19050]
30021 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30022 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30023 <fix-int-fp-convert-zero.h>.
30024 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30025 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30026 <fix-int-fp-convert-zero.h>.
30027 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30028 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30029 <fix-int-fp-convert-zero.h>.
30030 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30031 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30032 <fix-int-fp-convert-zero.h>.
30033 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30034 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30035 <fix-int-fp-convert-zero.h>.
30036 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30037 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30038 <fix-int-fp-convert-zero.h>.
30039 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30040 * sysdeps/ieee754/flt-32/s_erff.c: Include
30041 <fix-int-fp-convert-zero.h>.
30042 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30043 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30044 <fix-int-fp-convert-zero.h>.
30045 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30046 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30047 <fix-int-fp-convert-zero.h>.
30048 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30050 <fix-int-fp-convert-zero.h>.
30051 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30052 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30053 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30054 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30055 file.
30056 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30057
30058 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30059
30060 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30061
30062 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30063
30064 [BZ #19059]
30065 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30066 overflowing computation.
30067 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30068 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30069 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30070 Likewise.
30071 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30072 Likewise.
30073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30074 Likewise.
30075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30076 Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30078 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30079 Likewise.
30080 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30081 Likewise.
30082 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30083
30084 * nss/rewrite_field.c (__nss_rewrite_field): Use
30085 internal_function.
30086 * nss/valid_field.c (__nss_valid_field): Likewise.
30087 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30088
30089 2015-10-02 Florian Weimer <fweimer@redhat.com>
30090
30091 [BZ #18724]
30092 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30093 (__nss_invalid_field_characters, __nss_valid_field)
30094 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30095 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30096 tst-field.c: New file.
30097 * nss/Makefile (routines): Add valid_field, rewrite_field.
30098 (tests-static): Define unconditionally.
30099 (tests): Include tests-static.
30100 [build-static-nss] (tests-static): Use append.
30101 [build-static-nss] (tests): Remove modification.
30102 * nss/getent.c (print_group): Call putgrent. Report error.
30103 (print_gshadow): Call putsgent. Report error.
30104 (print_passwd): Call putpwent. Report error.
30105 (print_shadow): Call putspent. Report error.
30106 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30107 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30108 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30109 name, password, directory, shell fields for valid syntax. Rewrite
30110 GECOS field to match syntax.
30111 * pwd/Makefile (tests): Add tst-putpwent.
30112 * pwd/tst-putpwent.c: New file.
30113 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30114 Check grName, grpasswd, gr_mem fields for valid syntax.
30115 Change loop variable i to size_t.
30116 * grp/Makefile (tests): Add tst-putgrent.
30117 * grp/tst-putgrent.c: New file.
30118 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30119 valid syntax.
30120 * shadow/Makefile (tests): Add tst-putspent.
30121 * shadow/tst-putspent.c: New file.
30122 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30123 sg_mem fields for valid syntax.
30124 * gshadow/Makefile (tests): Add tst-putsgent.
30125 * gshadow/tst-putsgent.c: New file.
30126
30127 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30128
30129 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30130 assembly instructions.
30131
30132 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30133
30134 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30135 prefix from operands.
30136
30137 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30138
30139 [BZ #16347]
30140 [BZ #19046]
30141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30142 <libc-internal.h>.
30143 (MAXLGM): Do not use diagnostic control macros.
30144 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30145 threshold for ldbl-128ibm.
30146 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30147 instead of multiplying by log then subtracting.
30148 * math/auto-libm-test-in: Add more tests of lgamma.
30149 * math/auto-libm-test-out: Regenerated.
30150
30151 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30152 (TYPE_HEX_DIG): Likewise.
30153 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30154 precisions when printing floating-point numbers.
30155 (check_float_internal): Likewise.
30156
30157 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30158
30159 [BZ #16620]
30160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30161 of log (10) rounded downward to 48 bits.
30162 (log10_low): Use corresponding low part of log (10).
30163
30164 [BZ #19032]
30165 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30166 compute result as (x - x) / (x - x) not as 0 / 0.
30167 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30168 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30169
30170 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30171 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30172 and expm1.
30173 * math/auto-libm-test-out: Regenerated.
30174 * math/libm-test.inc (acos_test_data): Add more tests.
30175 (asin_test_data): Likewise.
30176 (asinh_test_data): Likewise.
30177 (atan_test_data): Likewise.
30178 (atanh_test_data): Likewise.
30179 (atan2_test_data): Likewise.
30180 (cbrt_test_data): Likewise.
30181 (ceil_test_data): Likewise.
30182 (copysign_test_data): Likewise.
30183 (cos_test_data): Likewise.
30184 (cosh_test_data): Likewise.
30185 (erf_test_data): Likewise.
30186 (erfc_test_data): Likewise.
30187 (exp_test_data): Likewise.
30188 (exp10_test_data): Likewise.
30189 (exp2_test_data): Likewise.
30190 (expm1_test_data): Likewise.
30191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30192
30193 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 [BZ #19006]
30196 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30197 to ...
30198 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30199 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30200 to ...
30201 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30202 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30203 to ...
30204 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30205 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30206 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30207 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30208 to ...
30209 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30210 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30211 Moved to ...
30212 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30213 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30214 Moved to ...
30215 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30216 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30217 to ...
30218 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30219 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30220 Moved to ...
30221 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30222 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30223 to ...
30224 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30225 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30226 Removed.
30227 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30228 Likewise.
30229 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30230 Likewise.
30231 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30232 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30233 Likewise.
30234 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30235 Likewise.
30236 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30237 Likewise.
30238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30239 Likewise.
30240 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30241 Likewise.
30242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30243 Likewise.
30244 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30245 Likewise.
30246 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30247 Likewise.
30248 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30249 Likewise.
30250 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30251 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30252 Likewise.
30253 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30254 Likewise.
30255 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30256 Likewise.
30257 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30258 Likewise.
30259 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30260 Likewise.
30261 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30262 Replace ../i486/pthread_cond_timedwait.S with
30263 ../pthread_cond_timedwait.S.
30264
30265 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30266
30267 * math/libm-test.inc (acos_test_data): Refine expectations for
30268 errno and "inexact" exceptions.
30269 (acosh_test_data): Likewise.
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 (cosh_test_data): Likewise.
30279 (erf_test_data): Likewise.
30280 (erfc_test_data): Likewise.
30281 (exp_test_data): Likewise.
30282 (exp10_test_data): Likewise.
30283 (exp2_test_data): Likewise.
30284 (expm1_test_data): Likewise.
30285 (fabs_test_data): Likewise.
30286 (floor_test_data): Likewise.
30287 (fma_test_data): Likewise.
30288 (fmax_test_data): Likewise.
30289 (fmin_test_data): Likewise.
30290 (fmod_test_data): Likewise.
30291 (fpclassify_test_data): Likewise.
30292 (frexp_test_data): Likewise.
30293 (hypot_test_data): Likewise.
30294 (ilogb_test_data): Likewise.
30295 (isgreater_test_data): Likewise.
30296 (isgreaterequal_test_data): Likewise.
30297 (isinf_test_data): Likewise.
30298 (isless_test_data): Likewise.
30299 (islessequal_test_data): Likewise.
30300 (islessgreater_test_data): Likewise.
30301 (isnan_test_data): Likewise.
30302 (isnormal_test_data): Likewise.
30303 (issignaling_test_data): Likewise.
30304 (isunordered_test_data): Likewise.
30305 (j0_test_data): Likewise.
30306 (j1_test_data): Likewise.
30307 (jn_test_data): Likewise.
30308 (lgamma_test_data): Likewise.
30309 (lrint_test_data): Likewise.
30310 (llrint_test_data): Likewise.
30311 (log_test_data): Likewise.
30312 (log10_test_data): Likewise.
30313 (log1p_test_data): Likewise.
30314 (log2_test_data): Likewise.
30315 (logb_test_data): Likewise.
30316 (lround_test_data): Likewise.
30317 (llround_test_data): Likewise.
30318 (modf_test_data): Likewise.
30319 (nearbyint_test_data): Likewise.
30320 (nextafter_test_data): Likewise.
30321 (nexttoward_test_data): Likewise.
30322 (pow_test_data): Likewise.
30323 (remainder_test_data): Likewise.
30324 (remquo_test_data): Likewise.
30325 (rint_test_data): Likewise.
30326 (round_test_data): Likewise.
30327 (signbit_test_data): Likewise.
30328 (sinh_test_data): Likewise.
30329 (sqrt_test_data): Likewise.
30330 (tanh_test_data): Likewise.
30331 (tgamma_test_data): Likewise.
30332 (trunc_test_data): Likewise.
30333 (y0_test_data): Likewise.
30334 (y1_test_data): Likewise.
30335 (yn_test_data): Likewise.
30336 (significand_test_data): Likewise.
30337
30338 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30339
30340 * manual/filesys.texi (Storage Allocation): Document that
30341 posix_fallocate emulation fails when fd is open with O_WRONLY.
30342
30343 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30344
30345 [BZ #19016]
30346 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30347 allow more cases with X^2 + Y^2 >= 0.5.
30348 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30349 normal element in sum instead of special-casing based on values of
30350 arguments.
30351 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30352 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30353 -1 as normal element in sum instead of special-casing based on
30354 values of arguments.
30355 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30356 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30357 (__x2y2m1): Update comment.
30358 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30359 as normal element in sum instead of special-casing based on values
30360 of arguments.
30361 * math/s_clog.c (__clog): Handle more cases using log1p without
30362 hypot.
30363 * math/s_clog10.c (__clog10): Likewise.
30364 * math/s_clog10f.c (__clog10f): Likewise.
30365 * math/s_clog10l.c (__clog10l): Likewise.
30366 * math/s_clogf.c (__clogf): Likewise.
30367 * math/s_clogl.c (__clogl): Likewise.
30368 * math/auto-libm-test-in: Add more tests of clog and clog10.
30369 * math/auto-libm-test-out: Regenerated.
30370 * sysdeps/i386/fpu/libm-test-ulps: Update.
30371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30372
30373 2015-09-28 Martin Sebor <msebor@redhat.com>
30374
30375 [BZ #18969]
30376 * string/Makefile (LOCALES): Define.
30377 (gen-locales.mk): Include.
30378 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30379 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30380 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30381 on setlocale failure.
30382
30383 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30384
30385 [BZ #18985]
30386 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30387 (__strftime_internal): Likewise.
30388 * time/tst-strftime.c (do_bz18985): New test.
30389 (do_test): Call it.
30390
30391 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30392
30393 [BZ #18956]
30394 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30395 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30396 extracting high part.
30397 * math/auto-libm-test-in: Add another test of pow.
30398 * math/auto-libm-test-out: Regenerated.
30399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30400
30401 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30402
30403 [BZ #18825]
30404 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30405 New macro.
30406 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30407 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30408 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30409 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30410 DBL_NARROW_EVAL, reloading the PIC register as needed.
30411 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30412 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30413 FLT_NARROW_EVAL. Use separate return path for case when first
30414 argument is NaN.
30415 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30416 DEFINE_LDBL_MIN.
30417 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30418 PIC register.
30419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30420 math_check_force_underflow_nonneg.
30421 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30422 underflow for subnormal result.
30423 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30424 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30425 math_check_force_underflow_nonneg.
30426 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30427 math_check_force_underflow.
30428 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30429 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30430 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30431 DEFINE_LDBL_MIN.
30432 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30433 * math/auto-libm-test-in: Add more tests of pow.
30434 * math/auto-libm-test-out: Regenerated.
30435
30436 2015-09-25 Florian Weimer <fweimer@redhat.com>
30437
30438 * nss/bug17079.c (init_test_items): Add diagnostic for
30439 inconsistent entries.
30440 (test_buffer_size): Skip inconsistent entries.
30441
30442 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30443
30444 [BZ #13304]
30445 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30446 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30447 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30448
30449 [BZ #13304]
30450 * sysdeps/microblaze/s_fma.c: New file.
30451 * sysdeps/microblaze/s_fmaf.c: Likewise.
30452 * sysdeps/microblaze/sfp-machine.h: Likewise.
30453
30454 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30455
30456 [BZ #17250]
30457 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30458 member.
30459
30460 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30461
30462 [BZ #18803]
30463 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30464 (MO): New macro.
30465 (__ieee754_hypot) [PIC]: Load PIC register.
30466 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30467 DBL_NARROW_EVAL.
30468 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30469 math_check_force_underflow_nonneg in case where result might be
30470 tiny.
30471 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30472 Likewise.
30473 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30474 Likewise.
30475 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30476 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30477 * math/auto-libm-test-in: Add more tests of hypot.
30478 * math/auto-libm-test-out: Regenerated.
30479
30480 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30481
30482 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30483
30484 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30485
30486 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30487 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30488 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30489 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30490 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30491 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30492 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30493
30494 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30495 LOAD_PIC_REG.
30496
30497 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30498 (FLT_CHECK_FORCE_UFLOW): Likewise.
30499 (DBL_CHECK_FORCE_UFLOW): Likewise.
30500 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30501 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30502 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30503 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30504 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30505 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30506 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30507 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30508 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30509 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30510 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30511 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30512 (flt_min): Replace with use of DEFINE_FLT_MIN.
30513 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30514 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30515 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30516 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30517 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30518 (flt_min): Replace with use of DEFINE_FLT_MIN.
30519 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30520 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30521 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30522 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30523 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30524 (flt_min): Replace with use of DEFINE_FLT_MIN.
30525 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30526 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30527 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30528 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30529 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30530 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30531 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30532 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30533 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30534 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30535 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30536 (flt_min): Replace with use of DEFINE_FLT_MIN.
30537 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30538 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30539 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30540 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30541 main computation.
30542 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30543 (flt_min): Replace with use of DEFINE_FLT_MIN.
30544 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30545 main computation.
30546 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30547 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30548 (MO): New macro.
30549 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30550 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30551 (flt_min): Replace with use of DEFINE_FLT_MIN.
30552 (MO): New macro.
30553 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30554 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30555 (__log1pl): Use MO.
30556
30557 [BZ #19003]
30558 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30559 $(config-cflags-nofma).
30560
30561 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30562
30563 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30564
30565 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30566
30567 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30568 (TWO127): Likewise.
30569
30570 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30571 (min_of_type): Likewise.
30572 (math_check_force_underflow): Likewise.
30573 (math_check_force_underflow_nonneg): Likewise.
30574 (math_check_force_underflow_complex): Likewise.
30575 * math/e_exp2l.c (__ieee754_exp2l): Use
30576 math_check_force_underflow_nonneg.
30577 * math/k_casinh.c (__kernel_casinh): Likewise.
30578 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30579 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30580 * math/s_catan.c (__catan): Use
30581 math_check_force_underflow_complex.
30582 * math/s_catanf.c (__catanf): Likewise.
30583 * math/s_catanh.c (__catanh): Likewise.
30584 * math/s_catanhf.c (__catanhf): Likewise.
30585 * math/s_catanhl.c (__catanhl): Likewise.
30586 * math/s_catanl.c (__catanl): Likewise.
30587 * math/s_ccosh.c (__ccosh): Likewise.
30588 * math/s_ccoshf.c (__ccoshf): Likewise.
30589 * math/s_ccoshl.c (__ccoshl): Likewise.
30590 * math/s_cexp.c (__cexp): Likewise.
30591 * math/s_cexpf.c (__cexpf): Likewise.
30592 * math/s_cexpl.c (__cexpl): Likewise.
30593 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30594 * math/s_clog10.c (__clog10): Likewise.
30595 * math/s_clog10f.c (__clog10f): Likewise.
30596 * math/s_clog10l.c (__clog10l): Likewise.
30597 * math/s_clogf.c (__clogf): Likewise.
30598 * math/s_clogl.c (__clogl): Likewise.
30599 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30600 * math/s_csinf.c (__csinf): Likewise.
30601 * math/s_csinh.c (__csinh): Likewise.
30602 * math/s_csinhf.c (__csinhf): Likewise.
30603 * math/s_csinhl.c (__csinhl): Likewise.
30604 * math/s_csinl.c (__csinl): Likewise.
30605 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30606 * math/s_csqrtf.c (__csqrtf): Likewise.
30607 * math/s_csqrtl.c (__csqrtl): Likewise.
30608 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30609 * math/s_ctanf.c (__ctanf): Likewise.
30610 * math/s_ctanh.c (__ctanh): Likewise.
30611 * math/s_ctanhf.c (__ctanhf): Likewise.
30612 * math/s_ctanhl.c (__ctanhl): Likewise.
30613 * math/s_ctanl.c (__ctanl): Likewise.
30614 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30615 instead of volatile.
30616 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30617 math_check_force_underflow.
30618 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30620 volatile when forcing underflow.
30621 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30622 math_check_force_underflow_nonneg.
30623 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30624 Likewise.
30625 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30626 math_check_force_underflow.
30627 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30628 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30629 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30630 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30631 math_check_force_underflow_nonneg.
30632 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30633 math_check_force_underflow.
30634 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30636 instead of volatile.
30637 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30638 math_check_force_underflow.
30639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30641 math_check_force_underflow_nonneg.
30642 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30643 math_check_force_underflow.
30644 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30645 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30646 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30647 math_check_force_underflow_nonneg.
30648 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30649 Likewise.
30650 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30651 math_check_force_underflow.
30652 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30653 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30654 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30655 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30656 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30657 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30658 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30659 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30660 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30661 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30662 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30664 Likewise.
30665 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30666 math_check_force_underflow_nonneg.
30667 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30668 Likewise.
30669 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30670 math_check_force_underflow.
30671 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30672 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30673 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30674 Likewise.
30675 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30676 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30682 instead of volatile.
30683 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30684 math_check_force_underflow.
30685 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30687 math_check_force_underflow.
30688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30689 Likewise.
30690 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30691 Use math_check_force_underflow_nonneg.
30692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30693 math_check_force_underflow.
30694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30695 Likewise.
30696 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30697 Likewise.
30698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30703 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30704 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30705 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30707 math_check_force_underflow_nonneg.
30708 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30709 math_check_force_underflow.
30710 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30711 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30712 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30713 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30714 math_check_force_underflow_nonneg.
30715 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30716 math_check_force_underflow.
30717 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30719 instead of volatile.
30720 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30721 math_check_force_underflow.
30722
30723 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30724 * stdlib/strtod_l.c: Include <math_private.h>.
30725 (overflow_value): Use math_narrow_eval.
30726 (underflow_value): Likewise.
30727 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30728 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30729 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30730 (__ieee754_gamma_r): Likewise.
30731 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30732 Likewise.
30733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30734 Likewise.
30735 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30736 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30737 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30738 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30739 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30740 (__ieee754_gammaf_r): Likewise.
30741 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30742 Likewise.
30743 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30744 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30745 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30746 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30747 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30748 volatile.
30749 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30751 math_narrow_eval.
30752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30753 Likewise.
30754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30755 Likewise.
30756 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30757 Likewise.
30758 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30759 volatile.
30760 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30761 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30762 math_narrow_eval.
30763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30764 Likewise.
30765 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30766 Likewise.
30767
30768 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30769
30770 * nptl/Versions: Remove ignored symbols.
30771
30772 2015-09-22 Florian Weimer <fweimer@redhat.com>
30773
30774 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30775 * nss/Makefile (tests): Update.
30776
30777 2015-09-22 Florian Weimer <fweimer@redhat.com>
30778
30779 * nss/bug18287.c: New file.
30780 * nss/Makefile (tests): Add bug18287.
30781
30782 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30783
30784 * mach/Versions (__mach_host_self_): Add symbol.
30785
30786 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30787
30788 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30789 vm_page_size.
30790
30791 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30792
30793 Really fix sysdeps/i386/fpu/s_scalbn.S build
30794
30795 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30796 (libc: GLIBC_2_22): Remove unused version set.
30797
30798 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30799
30800 * config.make.in (enable-timezone-tools): New variable.
30801 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30802 (enable_timezone_tools): Export to generated files.
30803 * configure: Regenerate.
30804 * INSTALL: Regenerate.
30805 * manual/install.texi (--disable-timezone-tools): Document new flag.
30806 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30807 ifeq ($(enable-timezone-tools),yes) check.
30808
30809 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30810
30811 * timezone/Makefile: Revert previous change.
30812
30813 [BZ #18980]
30814 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30815 (DEFINE_DBL_MIN): Likewise.
30816 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30817 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30818 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30819 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30820 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30821 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30822 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30823 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30824 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30825 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30826 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30827 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30828 (flt_min): Replace with use of DEFINE_FLT_MIN.
30829 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30830 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30831 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30832 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30833 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30834 (flt_min): Replace with use of DEFINE_FLT_MIN.
30835 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30836 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30837 (flt_min): Replace with use of DEFINE_FLT_MIN.
30838 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30839 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30840 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30841 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30842 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30843 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30844 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30845 (__ieee754_pow): Use DBL_NARROW_EVAL.
30846 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30847 (__ieee754_powf): Use FLT_NARROW_EVAL.
30848 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30849 (__ieee754_expf_sse2): Convert double-precision result to single
30850 precision.
30851 * sysdeps/i386/fpu/libm-test-ulps: Update.
30852
30853 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30854
30855 * timezone/Makefile: Ignore unused variable errors due to private.h
30856 (time_t_min) and (time_t_max).
30857 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30858 Likewise.
30859
30860 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30861
30862 [BZ #18981]
30863 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30864 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30865 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30866 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30867 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30868 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30869 (__scalbn): Use DBL_NARROW_EVAL.
30870 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30871 (__scalbnf): Use FLT_NARROW_EVAL.
30872
30873 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30874
30875 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30876 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30877 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30878 * stdio-common/printf_fp.c (___printf_fp):
30879 Use signbit to get the sign. Use isinf macro to allow inlining.
30880 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30881 * stdio-common/printf_size.c (__printf_size): Likewise.
30882
30883 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30884
30885 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30886
30887 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30888
30889 [BZ #18980]
30890 * sysdeps/generic/math_private.h: Include <float.h>.
30891 (math_narrow_eval): New macro.
30892 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30893 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30894 math_narrow_eval on overflowing return value.
30895 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30896 Likewise.
30897 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30898 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30899 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30900 Likewise.
30901 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30902
30903 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30904
30905 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30906 * math/Makefile: Remove isinf_ns.c.
30907 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30908 * math/multc3.c (__multc3): Likewise.
30909 * math/s_casin.c (__casin): Likewise.
30910 * math/s_casinf.c (__casinf): Likewise.
30911 * math/s_casinl.c (__casinl): Likewise.
30912 * math/s_cproj.c (__cproj): Likewise.
30913 * math/s_cprojf.c (__cprojf): Likewise.
30914 * math/s_cprojl.c (__cprofl): Likewise.
30915 * math/s_ctan.c (__ctan): Likewise.
30916 * math/s_ctanf.c (__ctanf): Likewise.
30917 * math/s_ctanh.c (__ctanh): Likewise.
30918 * math/s_ctanhf.c (__ctanhf): Likewise.
30919 * math/s_ctanhl.c (__ctanhl): Likewise.
30920 * math/s_ctanl.c (__ctanl): Likewise.
30921 * math/w_fmod.c (__fmod): Likewise.
30922 * math/w_fmodf.c (__fmodf): Likewise.
30923 * math/w_fmodl.c (_fmodl): Likewise.
30924 * math/w_remainder.c (__remainder): Likewise.
30925 * math/w_remainderf.c (__remainderf): Likewise.
30926 * math/w_remainderl.c (__remainderl): Likewise.
30927 * math/w_scalb.c (__scalb): Likewise.
30928 * math/w_scalbf.c (__scalbf): Likewise.
30929 * math/w_scalbl.c (__scalbl): Likewise.
30930 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30931 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30932 with isinf.
30933 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30935 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30936 __isinf_nsf with isinf.
30937 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30938 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30939 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30940 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30941 with isinf.
30942 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30943 __isinf_nsl with isinf.
30944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30945 with isinf.
30946 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30947 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30948 __isinf_nsl with isinf.
30949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30950 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30951 with isinf.
30952
30953 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30954
30955 * resolv/base64.c (rcsid): Remove unused static.
30956 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30957 static. (tqpi1): Likewise.
30958 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30959 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30960 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30961 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30962 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30963 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30964 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30965 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30966 Likewise.
30967
30968 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30969
30970 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30971 <nptl/pthreadP.h>.
30972 (_longjmp_unwind): Use __libc_ptf_call.
30973 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30974
30975 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30976
30977 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30978 * sysdeps/arm/__longjmp.S: Likewise.
30979
30980 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30981
30982 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30983 Use __builtin_signbit.
30984 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30985 Use __builtin_signbitf.
30986 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30987 Use __builtin_signbitl.
30988 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30989 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30990
30991 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30992
30993 [BZ #15367]
30994 [BZ #17441]
30995
30996 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30997 * math/math.h (fpclassify): Use __builtin_fpclassify when
30998 available. (signbit): Use __builtin_signbit(f/l).
30999 (isfinite): Use__builtin_isfinite. (isnormal): Use
31000 __builtin_isnormal. (isnan): Use __builtin_isnan.
31001 (isinf): Use __builtin_isinf_sign.
31002
31003 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31004
31005 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31006 * benchtests/bench-math-inlines.c: New benchmark.
31007 * benchtests/bench-util.h: New file.
31008 * benchtests/bench-util.c: New file.
31009 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31010
31011 2015-09-18 Carlos O'Donell <carlos@redhat.com>
31012
31013 * elf/tst-dlmopen1.c: Define TEST_SO.
31014 (do_test): Use TEST_SO.
31015
31016 * elf/dl-load.c: Include libc-internal.h.
31017 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31018
31019 2015-09-18 Vincent Bernat <vincent@bernat.im>
31020
31021 [BZ #17887]
31022 * time/strptime_l.c (__strptime_internal): Make %z accept
31023 [+-]HH:MM time zones.
31024
31025 2015-09-18 Vincent Bernat <vincent@bernat.im>
31026
31027 [BZ #17886]
31028 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31029 valid time zone.
31030
31031 2015-09-17 Mike Frysinger <vapier@gentoo.org>
31032
31033 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31034 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31035 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31036 (__ASSUME_FDATASYNC): Delete.
31037
31038 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31039
31040 * conform/linknamespace.pl: Require weak undefined symbols to be
31041 in the standard namespace.
31042 (%strong_syms): Rename to %seen_syms.
31043 (%strong_seen): Rename to %seen_where.
31044
31045 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31046
31047 [BZ #18970]
31048 * misc/error.c (error): Replace pthread_setcancelstate with
31049 __pthread_setcancelstate.
31050 (error_at_line): Likewise.
31051 * posix/wordexp.c (parse_comm): Likewise.
31052 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31053 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31054 (__pthread_setcancelstate): This.
31055 (pthread_setcancelstate): Add an alias.
31056 * nptl/nptl-init.c (pthread_functions): Replace
31057 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31058 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31059 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31060 hidden_proto.
31061 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31062 it with hidden_def.
31063 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31064 (pthread_setcancelstate): Renamed to ...
31065 (__pthread_setcancelstate): This.
31066 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31067 __libc_ptf_call with __pthread_setcancelstate.
31068
31069 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31070 Andreas Schwab <schwab@suse.de>
31071
31072 [BZ #17118]
31073 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31074 result when imaginary part of argument is infinite using sine and
31075 cosine.
31076 * math/s_ctanf.c (__ctanf): Likewise.
31077 * math/s_ctanl.c (__ctanl): Likewise.
31078 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31079 of result when real part of argument is infinite using sine and
31080 cosine.
31081 * math/s_ctanhf.c (__ctanhf): Likewise.
31082 * math/s_ctanhl.c (__ctanhl): Likewise.
31083 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31084 (ctanh_test_data): Add more tests of ctanh.
31085
31086 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31087
31088 [BZ #15384]
31089 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31090 bit-mask as in subtraction.
31091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31092 Likewise.
31093 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31094 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31095 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31096
31097 [BZ #18951]
31098 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31099 underflow exception for small results.
31100 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31101 Likewise.
31102 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31103 Likewise.
31104 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31105 Likewise.
31106 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31107 Likewise.
31108 * math/auto-libm-test-in: Add more tests of tgamma.
31109 * math/auto-libm-test-out: Regenerated.
31110
31111 2015-09-17 Andreas Schwab <schwab@suse.de>
31112
31113 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31114
31115 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31116
31117 [BZ #18977]
31118 * math/bits/mathcalls.h
31119 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31120 not declare.
31121 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31122 Likewise.
31123 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31124 Likewise.
31125 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31126 Likewise.
31127 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31128 Likewise.
31129 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31130 Likewise.
31131 * conform/data/math.h-data
31132 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31133 function.
31134 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31135 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31136 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31137 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31138 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31139 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31140 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31141 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31142 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31143 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31144 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31145
31146 [BZ #6803]
31147 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31148 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31149 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31150 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31151 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31152 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31153 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31154 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31155 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31157 Likewise.
31158 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31159 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31160 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31162 long_double_symbol calls.
31163 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31164 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31165 strong alias of __ldexpl.
31166 (scalbnl): Define using long_double_symbol.
31167 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31168 Remove alias.
31169 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31170 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31171 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31172 (scalbln_test_data): Add more errno expectations.
31173
31174 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31175
31176 Cache the host port like we cache the task port. This way we do not
31177 need to call the kernel just to get the port. Furthermore, we no
31178 longer increase the reference count on every invocation of
31179 `mach_host_self'.
31180
31181 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31182 Protect declarations against the macro expansion.
31183 * mach/mach_init.c (__mach_host_self_): New variable.
31184 (mach_init): Initialize `__mach_host_self_'.
31185 * mach/mach_init.h (__mach_host_self_): New declaration.
31186 (__mach_host_self, mach_host_self): New macros.
31187 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31188 Release reference.
31189
31190 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31191
31192 [BZ #4404]
31193 * po/de.po: Update from Translation Project.
31194
31195 [BZ #16415]
31196 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31197 (__expm1l): Remove code to handle positive infinity and overflow.
31198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31199 variable.
31200 (__expm1l): Remove code to handle positive infinity and overflow.
31201
31202 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31203 Paul Pluzhnikov <ppluzhnikov@google.com>
31204
31205 [BZ #18872]
31206 * stdio-common/Makefile (tst-printf-bz18872): New test.
31207 (tst-printf-bz18872-mem.out): Likewise.
31208 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31209 * stdio-common/vfprintf.c: Fix memory leaks.
31210
31211 2015-09-16 Andreas Schwab <schwab@suse.de>
31212
31213 [BZ #17244]
31214 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31215 Remove extra va_start/va_end calls.
31216
31217 [BZ #17243]
31218 * posix/execl.c (execl): Add missing va_end.
31219 * posix/execle.c (execle): Likewise.
31220 * posix/execlp.c (execlp): Likewise.
31221
31222 2015-09-15 Roland McGrath <roland@hack.frob.com>
31223
31224 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31225 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31226
31227 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31228
31229 [BZ #18967]
31230 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31231 undefine around includes of <bits/mathcalls.h>.
31232 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31233 not declare function.
31234 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31235 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31236 (scalb): Likewise.
31237 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31238 not define macro.
31239 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31240 variable.
31241 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31242 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31243 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31244
31245 [BZ #18857]
31246 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31247 return non-finite argument without doing ordered comparisons on
31248 it.
31249
31250 [BZ #16296]
31251 * math/fenv.h (fegetround): Use __attribute_pure__.
31252 * include/fenv.h (__fegetround): Likewise.
31253
31254 [BZ #18595]
31255 * math/s_ctan.c (__ctan): Force underflow exception for results
31256 whose real or imaginary part has small absolute value.
31257 * math/s_ctanf.c (__ctanf): Likewise.
31258 * math/s_ctanh.c (__ctanh): Likewise.
31259 * math/s_ctanhf.c (__ctanhf): Likewise.
31260 * math/s_ctanhl.c (__ctanhl): Likewise.
31261 * math/s_ctanl.c (__ctanl): Likewise.
31262 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31263 and ctanh. Add more tests of ctan and ctanh.
31264
31265 [BZ #15918]
31266 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31267 handling of cases where one argument is an infinity.
31268
31269 [BZ #18875]
31270 [BZ #18966]
31271 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31272 (MO): New macro.
31273 (__ieee754_exp10): For small results, force underflow exception
31274 and remove excess range and precision from return value.
31275 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31276 (MO): New macro.
31277 (__ieee754_exp10f): For small results, force underflow exception
31278 and remove excess range and precision from return value.
31279 * math/auto-libm-test-in: Add more tests of exp10.
31280 * math/auto-libm-test-out: Regenerated.
31281
31282 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31283
31284 [BZ #18875]
31285 [BZ #18961]
31286 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31287 (MO): New macro.
31288 (__ieee754_exp): For small results, force underflow exception and
31289 remove excess range and precision from return value.
31290 (__exp_finite): Likewise.
31291 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31292 (MO): New macro.
31293 (__ieee754_expf): For small results, force underflow exception and
31294 remove excess range and precision from return value.
31295 (__expf_finite): Likewise.
31296 * math/auto-libm-test-in: Add more tests of exp.
31297 * math/auto-libm-test-out: Regenerated.
31298
31299 [BZ #16521]
31300 [BZ #18875]
31301 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31302 small results.
31303 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31304 (MO): New macro.
31305 (__ieee754_exp2): For small results, force underflow exception and
31306 remove excess range and precision from return value.
31307 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31308 (MO): New macro.
31309 (__ieee754_exp2f): For small results, force underflow exception
31310 and remove excess range and precision from return value.
31311 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31312 (MO): New macro.
31313 (__ieee754_exp2l): Force underflow exception for small results.
31314 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31315 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31316 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31317 (MO): New macro.
31318 (__ieee754_exp2l): Force underflow exception for small results.
31319 * math/auto-libm-test-in: Add more tests or exp2.
31320 * math/auto-libm-test-out: Regenerated.
31321
31322 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31323
31324 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31325
31326 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31327 /dev/null.
31328
31329 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31330
31331 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31332 io fs process)): Drop spurious backslash.
31333
31334 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31335
31336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31337 Use sysinfo system call instead of parsing /proc/meminfo.
31338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31339 Likewise.
31340
31341 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31342
31343 [BZ #16985]
31344 * programs/localedef.c (main): Display argv[remaining] when
31345 output_path is NULL.
31346
31347 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31348
31349 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31350 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31351 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31352 tanh.
31353 * math/auto-libm-test-out: Regenerated.
31354 * sysdeps/i386/fpu/libm-test-ulps: Update.
31355 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31356 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31358
31359 2015-09-11 Roland McGrath <roland@hack.frob.com>
31360
31361 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31362 Use 'override' keyword to freeze the value here, preventing
31363 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31364
31365 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31366
31367 [BZ #14912]
31368 * sysdeps/aarch64/bits/atomic.h: Move to ...
31369 * sysdeps/aarch64/atomic-machine.h: ...here.
31370 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31371 _AARCH64_ATOMIC_MACHINE_H.
31372 * sysdeps/alpha/bits/atomic.h: Move to ...
31373 * sysdeps/alpha/atomic-machine.h: ...here.
31374 * sysdeps/arm/bits/atomic.h: Move to ...
31375 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31376 * bits/atomic.h: Move to ...
31377 * sysdeps/generic/atomic-machine.h: ...here.
31378 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31379 * sysdeps/i386/bits/atomic.h: Move to ...
31380 * sysdeps/i386/atomic-machine.h: ...here.
31381 * sysdeps/ia64/bits/atomic.h: Move to ...
31382 * sysdeps/ia64/atomic-machine.h: ...here.
31383 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31384 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31385 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31386 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31387 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31388 * sysdeps/microblaze/bits/atomic.h: Move to ...
31389 * sysdeps/microblaze/atomic-machine.h: ...here.
31390 * sysdeps/mips/bits/atomic.h: Move to ...
31391 * sysdeps/mips/atomic-machine.h: ...here.
31392 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31393 * sysdeps/powerpc/bits/atomic.h: Move to ...
31394 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31395 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31396 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31397 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31398 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31399 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31400 <atomic-machine.h> instead of <bits/atomic.h>.
31401 * sysdeps/s390/bits/atomic.h: Move to ...
31402 * sysdeps/s390/atomic-machine.h: ...here.
31403 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31404 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31405 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31406 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31407 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31408 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31409 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31410 * sysdeps/tile/bits/atomic.h: Move to ...
31411 * sysdeps/tile/atomic-machine.h: ...here.
31412 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31413 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31414 <sysdeps/tile/atomic-machine.h> instead of
31415 <sysdeps/tile/bits/atomic.h>.
31416 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31417 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31418 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31419 <sysdeps/tile/atomic-machine.h> instead of
31420 <sysdeps/tile/bits/atomic.h>.
31421 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31422 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31423 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31424 <sysdeps/arm/atomic-machine.h> instead of
31425 <sysdeps/arm/bits/atomic.h>.
31426 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31427 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31428 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31429 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31430 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31431 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31432 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31433 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31434 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31435 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31436 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31437 * sysdeps/x86_64/bits/atomic.h: Move to ...
31438 * sysdeps/x86_64/atomic-machine.h: ...here.
31439 * include/atomic.h: Include <atomic-machine.h> instead of
31440 <bits/atomic.h>.
31441
31442 * sysdeps/mips/mips32/libm-test-ulps: Update.
31443 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31444
31445 [BZ #18952]
31446 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31447 not convert non-integer negative arguments to int to determine the
31448 value of signgam.
31449 * math/auto-libm-test-in: Add more tests of lgamma.
31450 * math/auto-libm-test-out: Regenerated.
31451
31452 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31453 cosh, csqrt, erfc, expm1 and lgamma.
31454 * math/auto-libm-test-out: Regenerated.
31455 * sysdeps/i386/fpu/libm-test-ulps: Update.
31456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31457
31458 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31459
31460 [BZ #2542]
31461 [BZ #2543]
31462 [BZ #2558]
31463 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31464 __lgamma_neg for arguments from -28.0 to -2.0.
31465 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31466 __lgamma_negf for arguments from -15.0 to -2.0.
31467 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31468 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31469 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31470 Call __lgamma_negl for arguments from -33.0 to -2.0.
31471 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31472 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31473 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31474 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31475 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31479 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31481 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31482 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31483 (__lgamma_neg): Likewise.
31484 (__lgamma_negl): Likewise.
31485 (__lgamma_product): Likewise.
31486 (__lgamma_productl): Likewise.
31487 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31488 * math/auto-libm-test-in: Add more tests of lgamma.
31489 * math/auto-libm-test-out: Regenerated.
31490 * sysdeps/i386/fpu/libm-test-ulps: Update.
31491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31492
31493 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31494
31495 [BZ #18675]
31496 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31497
31498 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31499
31500 [BZ #14912]
31501 * bits/libc-lock.h: Move to ...
31502 * sysdeps/generic/libc-lock.h: ...here.
31503 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31504 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31505 * sysdeps/mach/hurd/libc-lock.h: ...here.
31506 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31507 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31508 * sysdeps/mach/bits/libc-lock.h: Move to ...
31509 * sysdeps/mach/libc-lock.h: ...here.
31510 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31511 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31512 * sysdeps/nptl/libc-lock.h: ...here.
31513 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31514 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31515 * sysdeps/nptl/libc-lockP.h: ...here.
31516 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31517 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31518 <bits/libc-lock.h>.
31519 * dirent/scandir-tail.c: Likewise.
31520 * dlfcn/dlerror.c: Likewise.
31521 * elf/dl-close.c: Likewise.
31522 * elf/dl-iteratephdr.c: Likewise.
31523 * elf/dl-lookup.c: Likewise.
31524 * elf/dl-open.c: Likewise.
31525 * elf/dl-support.c: Likewise.
31526 * elf/dl-writev.h: Likewise.
31527 * elf/rtld.c: Likewise.
31528 * grp/fgetgrent.c: Likewise.
31529 * gshadow/fgetsgent.c: Likewise.
31530 * gshadow/sgetsgent.c: Likewise.
31531 * iconv/gconv_conf.c: Likewise.
31532 * iconv/gconv_db.c: Likewise.
31533 * iconv/gconv_dl.c: Likewise.
31534 * iconv/gconv_int.h: Likewise.
31535 * iconv/gconv_trans.c: Likewise.
31536 * include/link.h: Likewise.
31537 * inet/getnameinfo.c: Likewise.
31538 * inet/getnetgrent.c: Likewise.
31539 * inet/getnetgrent_r.c: Likewise.
31540 * intl/bindtextdom.c: Likewise.
31541 * intl/dcigettext.c: Likewise.
31542 * intl/finddomain.c: Likewise.
31543 * intl/gettextP.h: Likewise.
31544 * intl/loadmsgcat.c: Likewise.
31545 * intl/localealias.c: Likewise.
31546 * intl/textdomain.c: Likewise.
31547 * libidn/idn-stub.c: Likewise.
31548 * libio/libioP.h: Likewise.
31549 * locale/duplocale.c: Likewise.
31550 * locale/freelocale.c: Likewise.
31551 * locale/newlocale.c: Likewise.
31552 * locale/setlocale.c: Likewise.
31553 * login/getutent_r.c: Likewise.
31554 * login/getutid_r.c: Likewise.
31555 * login/getutline_r.c: Likewise.
31556 * login/utmp-private.h: Likewise.
31557 * login/utmpname.c: Likewise.
31558 * malloc/mtrace.c: Likewise.
31559 * misc/efgcvt.c: Likewise.
31560 * misc/error.c: Likewise.
31561 * misc/fstab.c: Likewise.
31562 * misc/getpass.c: Likewise.
31563 * misc/mntent.c: Likewise.
31564 * misc/syslog.c: Likewise.
31565 * nis/nis_call.c: Likewise.
31566 * nis/nis_callback.c: Likewise.
31567 * nis/nss-default.c: Likewise.
31568 * nis/nss_compat/compat-grp.c: Likewise.
31569 * nis/nss_compat/compat-initgroups.c: Likewise.
31570 * nis/nss_compat/compat-pwd.c: Likewise.
31571 * nis/nss_compat/compat-spwd.c: Likewise.
31572 * nis/nss_nis/nis-alias.c: Likewise.
31573 * nis/nss_nis/nis-ethers.c: Likewise.
31574 * nis/nss_nis/nis-grp.c: Likewise.
31575 * nis/nss_nis/nis-hosts.c: Likewise.
31576 * nis/nss_nis/nis-network.c: Likewise.
31577 * nis/nss_nis/nis-proto.c: Likewise.
31578 * nis/nss_nis/nis-pwd.c: Likewise.
31579 * nis/nss_nis/nis-rpc.c: Likewise.
31580 * nis/nss_nis/nis-service.c: Likewise.
31581 * nis/nss_nis/nis-spwd.c: Likewise.
31582 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31583 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31584 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31585 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31586 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31587 * nis/nss_nisplus/nisplus-network.c: Likewise.
31588 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31589 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31590 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31591 * nis/nss_nisplus/nisplus-service.c: Likewise.
31592 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31593 * nis/ypclnt.c: Likewise.
31594 * nptl/libc_pthread_init.c: Likewise.
31595 * nss/getXXbyYY.c: Likewise.
31596 * nss/getXXent.c: Likewise.
31597 * nss/getXXent_r.c: Likewise.
31598 * nss/nss_db/db-XXX.c: Likewise.
31599 * nss/nss_db/db-netgrp.c: Likewise.
31600 * nss/nss_db/nss_db.h: Likewise.
31601 * nss/nss_files/files-XXX.c: Likewise.
31602 * nss/nss_files/files-alias.c: Likewise.
31603 * nss/nsswitch.c: Likewise.
31604 * posix/regex_internal.h: Likewise.
31605 * posix/wordexp.c: Likewise.
31606 * pwd/fgetpwent.c: Likewise.
31607 * resolv/res_hconf.c: Likewise.
31608 * resolv/res_libc.c: Likewise.
31609 * shadow/fgetspent.c: Likewise.
31610 * shadow/lckpwdf.c: Likewise.
31611 * shadow/sgetspent.c: Likewise.
31612 * socket/opensock.c: Likewise.
31613 * stdio-common/reg-modifier.c: Likewise.
31614 * stdio-common/reg-printf.c: Likewise.
31615 * stdio-common/reg-type.c: Likewise.
31616 * stdio-common/vfprintf.c: Likewise.
31617 * stdio-common/vfscanf.c: Likewise.
31618 * stdlib/abort.c: Likewise.
31619 * stdlib/cxa_atexit.c: Likewise.
31620 * stdlib/fmtmsg.c: Likewise.
31621 * stdlib/random.c: Likewise.
31622 * stdlib/setenv.c: Likewise.
31623 * string/strsignal.c: Likewise.
31624 * sunrpc/auth_none.c: Likewise.
31625 * sunrpc/bindrsvprt.c: Likewise.
31626 * sunrpc/create_xid.c: Likewise.
31627 * sunrpc/key_call.c: Likewise.
31628 * sunrpc/rpc_thread.c: Likewise.
31629 * sysdeps/arm/backtrace.c: Likewise.
31630 * sysdeps/generic/ldsodefs.h: Likewise.
31631 * sysdeps/generic/stdio-lock.h: Likewise.
31632 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31633 * sysdeps/i386/backtrace.c: Likewise.
31634 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31635 * sysdeps/m68k/backtrace.c: Likewise.
31636 * sysdeps/mach/hurd/cthreads.c: Likewise.
31637 * sysdeps/mach/hurd/dirstream.h: Likewise.
31638 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31639 * sysdeps/nptl/malloc-machine.h: Likewise.
31640 * sysdeps/nptl/stdio-lock.h: Likewise.
31641 * sysdeps/posix/dirstream.h: Likewise.
31642 * sysdeps/posix/getaddrinfo.c: Likewise.
31643 * sysdeps/posix/system.c: Likewise.
31644 * sysdeps/pthread/aio_suspend.c: Likewise.
31645 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31646 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31647 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31648 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31649 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31650 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31651 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31652 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31653 * sysdeps/unix/sysv/linux/system.c: Likewise.
31654 * sysdeps/x86_64/backtrace.c: Likewise.
31655 * time/alt_digit.c: Likewise.
31656 * time/era.c: Likewise.
31657 * time/tzset.c: Likewise.
31658 * wcsmbs/wcsmbsload.c: Likewise.
31659 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31660 instead of <bits/libc-lock.h> in comment.
31661
31662 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31663
31664 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31665 Only use .set mips2 if the current ISA is below mips2.
31666 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31667 Likewise.
31668 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31669 mips32r2 if the current ISA is below mips32r2.
31670 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31671 (TLS_IE): Updated to use the TLD_RDHWR macro.
31672 (TLS_LE): Likewise.
31673 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31674 __ASSEMBLER__ condition.
31675
31676 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31677
31678 Fix parallel build of before-compile targets.
31679
31680 * sysdeps/mach/Makefile ($(patsubst
31681 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31682 mach-before-compile target.
31683 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31684 io fs process)): Move rule to dedicated hurd-before-compile target.
31685
31686 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31687
31688 Fix rules generating headers in hurd/ and mach/ when initial make call
31689 has subdir= explicitly set.
31690
31691 * sysdeps/mach/Makefile ($(patsubst
31692 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31693 calling $(MAKE).
31694 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31695 io fs process)): Force subdir to hurd when calling $(MAKE).
31696 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31697 subdir to mach when calling $(MAKE).
31698
31699 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31700
31701 Check sysheaders when looking for Mach and Hurd headers
31702
31703 * sysdeps/mach/configure.ac: Add sysheaders check.
31704 * sysdeps/mach/configure: Regenerate.
31705 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31706 * sysdeps/mach/hurd/configure: Regenerate.
31707
31708 2015-09-04 Roland McGrath <roland@hack.frob.com>
31709
31710 [BZ #18921]
31711 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31712 Fix inverted sense of test of 'o_directory_works' value.
31713 Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31714 Bernhard Voelker <mail@bernhard-voelker.de>.
31715
31716 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31717
31718 [BZ #14912]
31719 * bits/linkmap.h: Move to ...
31720 * sysdeps/generic/linkmap.h: ...here.
31721 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31722 * sysdeps/aarch64/linkmap.h: ...here.
31723 * sysdeps/arm/bits/linkmap.h: Move to ...
31724 * sysdeps/arm/linkmap.h: ...here.
31725 * sysdeps/hppa/bits/linkmap.h: Move to ...
31726 * sysdeps/hppa/linkmap.h: ...here.
31727 * sysdeps/ia64/bits/linkmap.h: Move to ...
31728 * sysdeps/ia64/linkmap.h: ...here.
31729 * sysdeps/mips/bits/linkmap.h: Move to ...
31730 * sysdeps/mips/linkmap.h: ...here.
31731 * sysdeps/s390/bits/linkmap.h: Move to ...
31732 * sysdeps/s390/linkmap.h: ...here.
31733 * sysdeps/sh/bits/linkmap.h: Move to ...
31734 * sysdeps/sh/linkmap.h: ...here.
31735 * sysdeps/x86/bits/linkmap.h: Move to ...
31736 * sysdeps/x86/linkmap.h: ...here.
31737 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31738
31739 2015-09-04 Andreas Schwab <schwab@suse.de>
31740
31741 [BZ #18635]
31742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31743 (__makecontext): Terminate FDE before return label.
31744 (__novec_makecontext): Likewise.
31745
31746 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31747
31748 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31749 first member of struct sv in syscall macro.
31750
31751 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31752
31753 [BZ #14912]
31754 * bits/stdio-lock.h: Move to ...
31755 * sysdeps/generic/stdio-lock.h: ...here.
31756 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31757 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31758 * sysdeps/nptl/stdio-lock.h: ...here.
31759 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31760 * include/libio.h: Include <stdio-lock.h> instead of
31761 <bits/stdio-lock.h>.
31762 * sysdeps/nptl/fork.c: Likewise.
31763 * sysdeps/pthread/flockfile.c: Likewise.
31764 * sysdeps/pthread/ftrylockfile.c: Likewise.
31765 * sysdeps/pthread/funlockfile.c: Likewise.
31766
31767 [BZ #14912]
31768 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31769 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31770 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31771 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31772 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31773 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31774 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31775
31776 2015-09-03 Roland McGrath <roland@hack.frob.com>
31777
31778 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31779 (test-xfail-tst-protected1b): New variable.
31780
31781 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31782
31783 [BZ #14912]
31784 * bits/libc-tsd.h: Move to ...
31785 * sysdeps/generic/libc-tsd.h: ...here.
31786 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31787 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31788 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31789 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31790 * include/ctype.h: Include <libc-tsd.h> instead of
31791 <bits/libc-tsd.h>.
31792 * include/rpc/rpc.h: Likewise.
31793 * locale/localeinfo.h: Likewise.
31794 * sunrpc/rpc_thread.c: Likewise.
31795 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31796 * sysdeps/nptl/malloc-machine.h: Likewise.
31797
31798 * Makefile (headers): Remove bits/libc-lock.h.
31799 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31800
31801 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31802 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31803 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31804 <bits/stdio-lock.h>.
31805 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31806 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31807
31808 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31809
31810 [BZ #18757]
31811 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31812 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31813 BZ #18757.
31814
31815 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31816
31817 * malloc/mtrace.pl: Filter out NULL entries.
31818
31819 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31820
31821 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31822 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31823 macro.
31824
31825 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31826 (TCP_CC_INFO): Likewise.
31827 (TCP_SAVE_SYN): Likewise.
31828 (TCP_SAVED_SYN): Likewise.
31829
31830 2015-08-31 Brett Neumeier <brett@neumeier.us>
31831
31832 [BZ #18870]
31833 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31834
31835 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31836
31837 [BZ #18873]
31838 Fix broken overflow check in posix_fallocate
31839 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31840 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31841 Fix parenthesization typo.
31842
31843 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31844
31845 [BZ #18887]
31846 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31847 tst-mntent-blank-passno.
31848 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31849 * misc/tst-mntent-blank-corrupt.c: New test.
31850 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31851 * misc/tst-mntent.c (do_test): ... here.
31852
31853 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31854
31855 [BZ #4404]
31856 * po/de.po: Fix SIGALRM typo.
31857
31858 2015-08-28 James Perkins <james@loowit.net>
31859
31860 * time/tst-strptime2.c (tests): Replace short list of test
31861 strings for strptime %z specifier with code which exhaustively
31862 tests every combination of sign and 0 to 5 digits. Tests for
31863 rejection of invalid strings.
31864
31865 2015-08-28 James Perkins <james@loowit.net>
31866
31867 [BZ #16141]
31868 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31869 calculation, removing incorrect decimal time rounding, so that
31870 all minute values result in a valid seconds value.
31871 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31872 offset range limits to UTC-99:59 through UTC+99:59 to parse
31873 current and historical use cases.
31874 * time/tst-strptime2.c (tests): Modify and add tests for the
31875 strptime %z input field descriptor, specifically conversion of
31876 minutes to seconds and validating an offset range of -9959 to
31877 +9959.
31878
31879 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31880 Dmitry V. Levin <ldv@altlinux.org>
31881
31882 [BZ #18877]
31883 * posix/Makefile (tests): Add tst-mmap-offset.
31884 * posix/tst-mmap.c: New file.
31885 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31886 offset calculation for negative values.
31887
31888 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31889
31890 * sysdeps/i386/init-arch.h: New file.
31891 * sysdeps/i386/i586/init-arch.h: Likewise.
31892 * sysdeps/i386/i686/init-arch.h: Likewise.
31893 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31894 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31895 * sysdeps/x86/cpu-features.h (bit_I586): New.
31896 (bit_I686): Likewise.
31897 (bit_CX8): Likewise.
31898 (bit_CMOV): Likewise.
31899 (index_CX8): Likewise.
31900 (index_CMOV): Likewise.
31901 (index_I586): Likewise.
31902 (index_I686): Likewise.
31903 (reg_CX8): Likewise.
31904 (reg_CMOV): Likewise.
31905 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31906 available at compile-time.
31907 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31908 available at compile-time.
31909 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31910 (USE_I686): Likewise.
31911
31912 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31913
31914 * sysdeps/i386/bcopy.S: New file.
31915 * sysdeps/i386/bzero.S: Likewise.
31916 * sysdeps/i386/memcpy.S: Likewise.
31917 * sysdeps/i386/memmove.S: Likewise.
31918 * sysdeps/i386/mempcpy.S: Likewise.
31919 * sysdeps/i386/memset.S: Likewise.
31920 * sysdeps/i386/bzero.c: Removed.
31921 * sysdeps/i386/memset.c: Likewise.
31922 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31923 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31924 * sysdeps/i386/i586/memset_chk.S: Likewise.
31925 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31926 * sysdeps/i386/memcpy_chk.S: Here.
31927 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31928 * sysdeps/i386/memmove_chk.S: Here.
31929 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31930 * sysdeps/i386/mempcpy_chk.S: Likewise.
31931 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31932 * sysdeps/i386/memset_chk.S: Likewise.
31933
31934 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31935
31936 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31937 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31938 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31939 * soft-fp/fmadf4.c: Ditto.
31940 * soft-fp/fmatf4.c: Ditto.
31941
31942 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/i386/i586/Implies: Removed.
31945 * sysdeps/i386/i686/Implies: Likewise.
31946
31947 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31948
31949 * sysdeps/i386/i486/strlen.S: Moved to ...
31950 * sysdeps/i386/strlen.S: Here.
31951
31952 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31953
31954 * sysdeps/i386/i486/strcat.S: Moved to ...
31955 * sysdeps/i386/strcat.S: Here.
31956
31957 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31960 * sysdeps/i386/pthread_spin_trylock.S: Here.
31961 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31962 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31963
31964 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31965
31966 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31967 * sysdeps/i386/string-inlines.c: Here.
31968
31969 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31970
31971 * sysdeps/i386/i486/htonl.S: Moved ...
31972 * sysdeps/i386/htonl.S: here.
31973
31974 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31975
31976 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31977 * sysdeps/i386/bits/atomic.h: Here.
31978
31979 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31980
31981 * sysdeps/i386/i486/Versions: Removed.
31982
31983 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31984
31985 [BZ #2898]
31986 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31987 Based on patch by Aurelien Jarno.
31988
31989 2015-08-26 Stan Shebs <stanshebs@google.com>
31990
31991 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31992 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31993
31994 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31995
31996 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31997 * sysdeps/powerpc/dl-procinfo.c:
31998 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31999 feature so it shows when LD_SHOW_AUXV=1.
32000
32001 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32002
32003 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32004 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32005 definition. ISA 2.07B no longer requires full sync.
32006
32007 2015-08-26 Mike Frysinger <vapier@gentoo.org>
32008
32009 [BZ #18863]
32010 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32011 (si_call_addr): Define.
32012 (si_syscall): Define.
32013 (si_arch): Define.
32014
32015 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32016
32017 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32018 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32019 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32020 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32021 (__memset_zero_constant_len_parameter): New.
32022 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32023 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32024 (__memset_zero_constant_len_parameter): Don't define if
32025 __memset_chk or USE_AS_BZERO are defined.
32026
32027 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32028 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32029 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32030
32031 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32032 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32033 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32034 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32035 comments.
32036 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32037 -mno-mmx for $(all-rtld-routines).
32038 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32039 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32040 i386.
32041
32042 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32043
32044 * sysdeps/generic/unwind.h
32045 (_Unwind_Word): Use __mode__(__unwind_word__)
32046 instead of __mode__(__word__).
32047 (_Unwind_Sword): Likewise.
32048
32049 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32050 (MAX_NEEDED_INPUT): New define.
32051 (MAX_NEEDED_OUTPUT): New define.
32052
32053 * NEWS: New item for IBM z13 string optimizations.
32054
32055 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32056 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32057 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32058 * sysdeps/s390/multiarch/Makefile
32059 (sysdep_routines): Add memrchr functions.
32060 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32061 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32062
32063 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32064 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32065 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32066 * sysdeps/s390/multiarch/Makefile
32067 (sysdep_routines): Add wmemcmp functions.
32068 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32069 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32070 * benchtests/bench-wmemcmp.c: New File.
32071 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32072
32073 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32074 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32075 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32076 * sysdeps/s390/multiarch/Makefile
32077 (sysdep_routines): Add wmemset functions.
32078 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32079 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32080 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32081 * string/test-memset.c: Add wmemset support.
32082 * wcsmbs/test-wmemset.c: New File.
32083 * wcsmbs/Makefile (strop-tests): Add wmemset.
32084 * benchtests/bench-memset.c: Add wmemset support.
32085 * benchtests/bench-wmemset.c: New File.
32086 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32087
32088 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32089 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32090 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32091 * sysdeps/s390/multiarch/Makefile
32092 (sysdep_routines): Add memccpy functions.
32093 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32094 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32095 * string/memccpy.c: Use MEMCCPY if defined.
32096
32097 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32098 * sysdeps/s390/multiarch/memchr.c: Likewise.
32099 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32100 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32101 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32102 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32103 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32104 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32105 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32106 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32108 and rawmemchr functions.
32109 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32110 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32111 and wmemchr.
32112 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32113 * string/test-memchr.c: Add wmemchr support.
32114 * wcsmbs/test-wmemchr.c: New File.
32115 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32116 * benchtests/bench-memchr.c: Add wmemchr support.
32117 * benchtests/bench-wmemchr.c: New File.
32118 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32119
32120 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32121 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32122 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32123 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32124 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32125 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32126 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32127 wcscspn functions.
32128 * sysdeps/s390/multiarch/ifunc-impl-list.c
32129 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32130 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32131 * string/test-strcspn.c: Add wcscspn support.
32132 * wcsmbs/test-wcscspn.c: New File.
32133 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32134 * benchtests/bench-strcspn.c: Add wcscspn support.
32135 * benchtests/bench-wcscspn.c: New File.
32136 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32137
32138 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32139 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32140 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32141 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32142 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32143 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32144 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32145 wcspbrk functions.
32146 * sysdeps/s390/multiarch/ifunc-impl-list.c
32147 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32148 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32149 * string/test-strpbrk.c: Add wcspbrk support.
32150 * wcsmbs/test-wcspbrk.c: New File.
32151 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32152 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32153 * benchtests/bench-wcspbrk.c: New File.
32154 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32155
32156 * sysdeps/s390/multiarch/strspn-c.c: New File.
32157 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32158 * sysdeps/s390/multiarch/strspn.c: Likewise.
32159 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32160 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32161 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32162 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32163 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32164 wcsspn functions.
32165 * sysdeps/s390/multiarch/ifunc-impl-list.c
32166 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32167 * string/test-strspn.c: Add wcsspn support.
32168 * wcsmbs/test-wcsspn.c: New File.
32169 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32170 * benchtests/bench-strspn.c: Add wcsspn support.
32171 * benchtests/bench-wcsspn.c: New File.
32172 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32173
32174 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32175 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32176 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32177 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32178 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32179 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32180 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32181 wcsrchr functions.
32182 * sysdeps/s390/multiarch/ifunc-impl-list.c
32183 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32184 * benchtests/bench-wcsrchr.c: New File.
32185 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32186
32187 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32188 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32189 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32190 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32191 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32192 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32193 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32194 wcschrnul functions.
32195 * sysdeps/s390/multiarch/ifunc-impl-list.c
32196 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32197 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32198 * string/test-strchr.c: Add wcschrnul support.
32199 * wcsmbs/test-wcschrnul.c: New File.
32200 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32201 * benchtests/bench-strchr.c: Add wcschrnul support.
32202 * benchtests/bench-wcschrnul.c: New File.
32203 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32204
32205 * sysdeps/s390/multiarch/strchr-c.c: New File.
32206 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32207 * sysdeps/s390/multiarch/strchr.c: Likewise.
32208 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32209 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32210 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32211 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32212 wcschr functions.
32213 * sysdeps/s390/multiarch/ifunc-impl-list.c
32214 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32215 * string/strchr.c (STRCHR): Define and use macro.
32216 * benchtests/bench-wcschr.c: New File.
32217 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32218
32219 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32220 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32221 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32222 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32223 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32224 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32225 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32226 wcsncmp functions.
32227 * sysdeps/s390/multiarch/ifunc-impl-list.c
32228 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32229 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32230 * benchtests/bench-strncmp.c: Add wcsncmp support.
32231 * benchtests/bench-wcsncmp.c: New File.
32232 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32233
32234 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32235 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32236 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32237 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32238 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32239 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32240 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32241 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32242 wcscmp functions.
32243 * sysdeps/s390/multiarch/ifunc-impl-list.c
32244 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32245 * string/strcmp.c (STRCMP): Define and use macro.
32246 * benchtests/bench-wcscmp.c: New File.
32247 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32248 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32249 instead of _HAVE_STRING_ARCH_memchr.
32250
32251 * sysdeps/s390/multiarch/strncat-c.c: New File.
32252 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32253 * sysdeps/s390/multiarch/strncat.c: Likewise.
32254 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32255 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32256 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32257 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32258 wcsncat functions.
32259 * sysdeps/s390/multiarch/ifunc-impl-list.c
32260 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32261 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32262 * string/test-strncat.c: Add wcsncat support.
32263 * wcsmbs/test-wcsncat.c: New File.
32264 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32265 * benchtests/bench-strncat.c: Add wcsncat support.
32266 * benchtests/bench-wcsncat.c: New File.
32267 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32268
32269 * sysdeps/s390/multiarch/strcat-c.c: New File.
32270 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32271 * sysdeps/s390/multiarch/strcat.c: Likewise.
32272 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32273 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32274 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32275 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32276 wcscat functions.
32277 * sysdeps/s390/multiarch/ifunc-impl-list.c
32278 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32279 * string/strcat.c (STRCAT): Define and use macro.
32280 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32281 * string/test-strcat.c: Add wcscat support.
32282 * wcsmbs/test-wcscat.c: New File.
32283 * wcsmbs/Makefile (strop-tests): Add wcscat.
32284 * benchtests/bench-strcat.c: Add wcscat support.
32285 * benchtests/bench-wcscat.c: New File.
32286 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32287
32288 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32289 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32290 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32291 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32292 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32293 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32294 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32295 wcpncpy functions.
32296 * sysdeps/s390/multiarch/ifunc-impl-list.c
32297 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32298 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32299 * string/test-stpncpy.c: Add wcpncpy support.
32300 * wcsmbs/test-wcpncpy.c: New File.
32301 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32302 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32303 * benchtests/bench-wcpncpy.c: New File.
32304 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32305
32306 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32307 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32308 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32309 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32310 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32311 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32312 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32313 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32314 wcsncpy functions.
32315 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32316 * sysdeps/s390/multiarch/ifunc-impl-list.c
32317 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32318 * string/test-strncpy.c: Add wcsncpy support.
32319 * wcsmbs/test-wcsncpy.c: New File.
32320 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32321 * benchtests/bench-strncpy.c: Add wcsncpy support.
32322 * benchtests/bench-wcsncpy.c: New File.
32323 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32324
32325 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32326 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32327 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32328 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32329 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32330 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32331 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32332 wcpcpy functions.
32333 * string/stpcpy.c: Use STPCPY if defined.
32334 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32335 * sysdeps/s390/multiarch/ifunc-impl-list.c
32336 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32337 * string/test-stpcpy.c: Add wcpcpy support.
32338 * wcsmbs/test-wcpcpy.c: New File.
32339 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32340 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32341 * benchtests/bench-wcpcpy.c: New File.
32342 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32343
32344 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32345 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32346 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32347 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32348 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32349 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32350 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32351 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32352 wcscpy functions.
32353 * sysdeps/s390/multiarch/ifunc-impl-list.c
32354 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32355 * benchtests/bench-wcscpy.c: New File.
32356 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32357
32358 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32359 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32360 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32361 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32362 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32363 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32364 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32365 wcsnlen functions.
32366 * sysdeps/s390/multiarch/ifunc-impl-list.c
32367 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32368 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32369 * string/test-strnlen.c: Add wcsnlen support.
32370 * wcsmbs/test-wcsnlen.c: New File.
32371 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32372 * benchtests/bench-strnlen.c: Add wcsnlen support.
32373 * benchtests/bench-wcsnlen.c: New File.
32374 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32375
32376 * sysdeps/s390/multiarch/Makefile: New File.
32377 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32378 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32379 * sysdeps/s390/multiarch/strlen.c: Likewise.
32380 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32381 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32382 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32383 * string/strlen.c (STRLEN): Define and use macro.
32384 * sysdeps/s390/multiarch/ifunc-impl-list.c
32385 (IFUNC_VX_IMPL): New macro function.
32386 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32387 * benchtests/Makefile (wcsmbs-bench): New variable.
32388 (string-bench-all): Added wcsmbs-bench.
32389 * benchtests/bench-wcslen.c: New File.
32390
32391 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32392 s390_vx_libc_ifunc2): New macro function.
32393
32394 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32395 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32396 assembler support.
32397 * sysdeps/s390/configure: Regenerated.
32398
32399 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32400 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32401
32402 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32403 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32404 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32405
32406 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32407 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32409 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32410 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32411 (memcmp, bcmp): Use __memcmp_default as alias source.
32412 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32413 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32414 Rename to __memcmp_default.
32415 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32416 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32417 (memcpy): Use __memcpy_default as alias source.
32418 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32419 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32420 Rename to __memcpy_default.
32421 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32422 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32423 (memset): Use __memset_default as alias source.
32424 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32425 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32426 Rename to __memset_default.
32427 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32428 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32429 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32430 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32431 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32432 (memcmp, bcmp): Use __memcmp_default as alias source.
32433 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32434 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32435 Rename to __memcmp_default.
32436 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32437 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32438 (memcpy): Use __memcpy_default as alias source.
32439 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32440 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32441 Rename to __memcpy_default.
32442 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32443 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32444 (memset): Use __memset_default as alias source.
32445 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32446 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32447 Rename to __memset_default.
32448 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32449 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32450
32451 [BZ #18610]
32452 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32453 __ieee_instruction_pointer to __unused.
32454 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32455 __ieee_instruction_pointer.
32456 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32457 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32458 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32459 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32460 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32461 Mark dxc-field as reserved.
32462
32463 2015-08-25 Roland McGrath <roland@hack.frob.com>
32464
32465 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32466 if the weak reference is not null.
32467
32468 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32469
32470 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32471
32472 [BZ #11214]
32473 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32474
32475 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32476
32477 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32478 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32479 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32480 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32481 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32482 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32483 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32484 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32485 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32486 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32487 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32488 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32489 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32490 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32491 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32492 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32493 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32494 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32495
32496 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32497
32498 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32499 register other than r0 for tabort, it has special meaning.
32500 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32501 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32502 transaction before starting syscall.
32503
32504 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32505
32506 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32507
32508 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32509
32510 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32511
32512 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32513 * sysdeps/x86_64/rtld-memset.S: Likewise.
32514 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32515 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32516 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32517 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32518
32519 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32520
32521 2015-08-25 Ondƙej Bílka <neleai@seznam.cz>
32522
32523 * debug/strcpy_chk.c: Improve performance.
32524 * debug/stpcpy_chk.c: Likewise.
32525 * sysdeps/x86_64/strcpy_chk.S: Remove.
32526 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32527
32528 [BZ #18240]
32529 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32530
32531 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32532
32533 [BZ #15128]
32534 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32535 ifuncmain8.
32536 (modules-names): Add ifuncmod8.
32537 ($(objpfx)ifuncmain8): New rule.
32538 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32539 <cpuid.h>.
32540 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32541 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32542 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32543 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32544 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32545 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32546 * sysdeps/x86_64/ifuncmain8.c: New file.
32547 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32548 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32549 Removed.
32550 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32551 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32552 Change rtld_savespace_sse to __glibc_unused2.
32553 (RTLD_CHECK_FOREIGN_CALL): Removed.
32554 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32555 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32556 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32557
32558 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32559
32560 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32561
32562 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32563
32564 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32565 Unconditionally set __fpcr to avoid uninialized warning.
32566 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32567
32568 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32569
32570 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32571 is corrupt.
32572
32573 * malloc/arena.c (arena_get2): Drop unused argument.
32574 (arena_lock): Adjust.
32575 (arena_get_retry): Likewise.
32576
32577 2015-08-24 Andreas Schwab <schwab@suse.de>
32578
32579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32580 Don't define.
32581 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32582 (__ASSUME_IPC64): Don't undef.
32583 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32584 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32585 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32586 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32587 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32588 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32589 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32590 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32591 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32592 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32593 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32594 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32595 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32596 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32597 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32598 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32599 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32600 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32601 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32602 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32603 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32604
32605 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32606
32607 * manual/Makefile (install): Only build manual when perl is available.
32608
32609 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32610
32611 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32612 '#undef memcpy' by '#undef memchr'.
32613
32614 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32615
32616 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32617 memchr not point to the internal __GI_memchr implementation.
32618
32619 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32620
32621 * timezone/Makefile (CFLAGS-zdump.c): Remove
32622 -Wno-strict-prototypes.
32623 (CFLAGS-zic.c): Likewise.
32624 (CFLAGS-ialloc.c): Likewise.
32625 (CFLAGS-scheck.c): Likewise.
32626
32627 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32628 -Wno-error=undef.
32629
32630 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * i386/i686/multiarch/strcasestr-c.c: Removed.
32633 * x86_64/multiarch/strcasestr.c: Likewise.
32634 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32635 Remove strcasestr.
32636
32637 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32638
32639 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32640
32641 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32642 variables for high and low parts before possibly modifying them.
32643
32644 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32647 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32648 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32649 of "multiarch/init-arch.h".
32650 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32651 * sysdeps/x86/init-arch.h: This.
32652
32653 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32654
32655 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32656 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32657
32658 2015-08-20 Ondƙej Bílka <neleai@seznam.cz>
32659
32660 [BZ #17787]
32661 * manual/macros.texi: Add twoexp macro.
32662 * manual/filesys.texi: Fix exponents.
32663 * manual/llio.texi: Likewise.
32664 * manual/stdio.texi: Likewise.
32665
32666 2015-08-20 Florian Weimer <fweimer@redhat.com>
32667
32668 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32669 incorrect use.
32670
32671 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32672
32673 [BZ #18370]
32674 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32675 whose real or imaginary part has small absolute value.
32676 * math/s_csqrtf.c (__csqrtf): Likewise.
32677 * math/s_csqrtl.c (__csqrtl): Likewise.
32678 * math/auto-libm-test-in: Add more tests of csqrt.
32679 * math/auto-libm-test-out: Regenerated.
32680 * sysdeps/i386/fpu/libm-test-ulps: Update.
32681
32682 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32683
32684 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32685 __ppc_set_ppr_very_low): New functions.
32686 * manual/platform.texi: Add documentation about
32687 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32688
32689 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32690
32691 * string/stpncpy.c (stpncpy): Improve performance using
32692 __strnlen/memcpy/memset.
32693
32694 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32695
32696 [BZ #18796]
32697 * scripts/test-installation.pl: Don't add -lmvec to build options if
32698 libmvec wasn't built.
32699
32700 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32701
32702 [BZ #14341]
32703 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32704 case when there is a gap between DT_REL and DT_JMPREL sections.
32705 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32706 (LDFLAGS-tst-split-dynreloc): New.
32707 (tst-split-dynreloc-ENV): Likewise.
32708 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32709 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32710
32711 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32712
32713 [BZ #18822]
32714 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32715 attribute_hidden.
32716 (__xstat64_conv): Likewise.
32717 (__xstat32_conv): Likewise.
32718
32719 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32720
32721 [BZ #18822]
32722 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32723 Don't load %ebx when calling __setcontext. Call __setcontext
32724 with HIDDEN_JUMPTARGET.
32725 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32726 libc_hidden_def.
32727
32728 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32729
32730 * sysdeps/i386/i686/Makefile
32731 [$(subdir) == string] (sysdep_routines): Moved to ...
32732 * sysdeps/i386/Makefile: Here.
32733 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32734 * sysdeps/i386/cacheinfo.c: Here.
32735 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32736 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32737 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32738 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32739
32740 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32743 __i586__ is defined.
32744 (HAS_I686): Defined to 1 if __i686__ is defined.
32745
32746 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32747
32748 * elf/Makefile [$(have-z-execstack) = yes]
32749 (CPPFLAGS-tst-execstack.c): New variable.
32750
32751 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32752 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32753 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32754 UTMPX || _HAVE_UT_TV].
32755 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32756 UTMPX || _HAVE_UT_TV - 0].
32757
32758 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32759
32760 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32761 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32762 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32763
32764 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32765
32766 * sysdeps/powerpc/dl-procinfo.c:
32767 (_dl_powerpc_cap_flags): Added missing strings for some
32768 hwcap features.
32769 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32770
32771 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32772
32773 Port the 0x7efe...feff pattern to GCC 6.
32774 See Steve Ellcey's bug report in:
32775 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32776 * string/memrchr.c (MEMRCHR):
32777 * string/rawmemchr.c (RAWMEMCHR):
32778 * string/strchr.c (strchr):
32779 * string/strchrnul.c (STRCHRNUL):
32780 Rewrite code to avoid issues with signed shift overflow.
32781
32782 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32783
32784 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32785 whether cpuid is available only if HAS_CPUID is 0.
32786 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32787 (HAS_I586): Likewise.
32788 (HAS_I686): Likewise.
32789
32790 2015-08-18 Zack Weinberg <zackw@panix.com>
32791
32792 * misc/Versions (libc): Add GLIBC_2.23.
32793
32794 2015-08-18 Alan Modra <amodra@gmail.com>
32795
32796 [BZ #18421]
32797 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32798 .Lp__global.
32799 (_start): Load %dp via .Lp__global.
32800 [!SHARED]: Use .section .rodata.
32801
32802 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32803
32804 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32805 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32806
32807 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32808
32809 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32810 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32811
32812 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32813
32814 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32815 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32816
32817 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32818
32819 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32820 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32821
32822 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32823
32824 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32825 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32826
32827 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32828
32829 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32830 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32831
32832 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32833
32834 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32835
32836 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32837
32838 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32839 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32840 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32841 (__ASSUME_LWS_CAS): Delete.
32842
32843 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32844
32845 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32846 * sysdeps/hppa/configure: Regenerated.
32847 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32848 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32849 * sysdeps/hppa/nptl/tls.h: Likewise.
32850
32851 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32852
32853 [BZ #18823]
32854 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32855 for scaling up small arguments.
32856 * math/s_csqrtf.c (__csqrtf): Likewise.
32857 * math/s_csqrtl.c (__csqrtl): Likewise.
32858 * math/auto-libm-test-in: Add more tests of csqrt.
32859 * math/auto-libm-test-out: Regenerated.
32860
32861 2015-08-17 Andreas Schwab <schwab@suse.de>
32862
32863 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32864 version set GLIBC_2.19.
32865
32866 2015-08-16 Zack Weinberg <zackw@panix.com>
32867
32868 [BZ #18681]
32869 * misc/regexp.h: This interface is no longer supported.
32870 Remove all contents, leaving only an #error directive.
32871 * misc/regexp.c (loc1, loc2, locs, step, advance):
32872 Demote to compatibility symbols.
32873
32874 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32875
32876 [BZ #18084]
32877 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32878 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32879 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32880 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32881 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32882 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32883 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32884 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32885 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32886
32887 2015-08-15 Zack Weinberg <zackw@panix.com>
32888
32889 [BZ #18795]
32890 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32891 buffer length is known to be too large, not if it's known to be
32892 small enough.
32893 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32894 overflow at runtime, involving a length parameter, twice: once
32895 with a compile-time constant length parameter, once without.
32896
32897 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32898
32899 [BZ #18824]
32900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32901 scaling x * y up instead of down.
32902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32904 * math/auto-libm-test-in: Add more tests of fma.
32905 * math/auto-libm-test-out: Regenerated.
32906
32907 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32908
32909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32910
32911 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32912
32913 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32914 unnecessary movq.
32915 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32916 Likewise.
32917
32918 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32919
32920 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32921 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32922 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32923 and tgamma.
32924 * math/auto-libm-test-out: Regenerated.
32925 * sysdeps/i386/fpu/libm-test-ulps: Update.
32926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32927
32928 [BZ #16520]
32929 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32930 (__tanh): Force underflow exception for arguments with small
32931 absolute value.
32932 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32933 (__tanhf): Force underflow exception for arguments with small
32934 absolute value.
32935 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32936 (__tanhl): Force underflow exception for arguments with small
32937 absolute value.
32938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32939 (__tanhl): Force underflow exception for arguments with small
32940 absolute value.
32941 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32942 (__tanhl): Force underflow exception for arguments with small
32943 absolute value.
32944 * math/auto-libm-test-in: Add more tests of tanh.
32945 * math/auto-libm-test-out: Regenerated.
32946 * sysdeps/i386/fpu/libm-test-ulps: Update.
32947
32948 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32949
32950 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32951 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32952
32953 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32954
32955 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32956 <cpuid.h>.
32957
32958 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32959
32960 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32961 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32962
32963 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32964
32965 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32966 Remove $(objpfx)init-arch.o.
32967 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32968 init-arch.
32969 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32970 (INIT_ARCH_EXT): Defined as empty.
32971 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32972 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32973 __init_cpu_features call. Replace HAS_XXX with
32974 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32975 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32976 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32977 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32984 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32986 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32987 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32988 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32992 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32993 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32994 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32995 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32996 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32997 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32998 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32999 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33000 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33001 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33002 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33003 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33004 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33005 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33006 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33007 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33008 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33009 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33010
33011 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33014 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33015 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33016 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33017 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33018 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33019 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33020 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33021 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33022 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33023 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33024 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33025 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33028 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33047 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33056
33057 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33058
33059 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33060 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33064 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33068 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33069 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33071 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33072 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33078 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33080 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33081 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33082 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33083 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33084 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33085 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33086 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33087 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33088 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33089 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33090 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33091 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33092 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33093 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33094 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33095 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33096 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33097 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33098 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33099 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33100 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33101 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33102
33103 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33104
33105 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33106 (dl_platform_init): Call init_cpu_features.
33107 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33108 * sysdeps/i386/i686/cacheinfo.c
33109 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33110 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33111 * sysdeps/i386/i686/multiarch/Versions: Removed.
33112 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33113 Removed.
33114 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33115 * sysdeps/unix/sysv/linux/x86/Makefile
33116 (libpthread-sysdep_routines): Remove init-arch.
33117 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33118 <sysdeps/x86_64/dl-procinfo.c> instead of
33119 sysdeps/generic/dl-procinfo.c>.
33120 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33121 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33122 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33123 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33124 [$(subdir) == elf] (tests-static): Add
33125 tst-get-cpu-features-static.
33126 * sysdeps/x86/Versions: New file.
33127 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33128 * sysdeps/x86/cpu-features.c: Likewise.
33129 * sysdeps/x86/cpu-features.h: Likewise.
33130 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33131 * sysdeps/x86/libc-start.c: Likewise.
33132 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33133 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33134 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33135 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33136 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33137 Assume USE_MULTIARCH is defined and don't check it.
33138 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33139 (is_amd): Likewise.
33140 (max_cpuid): Likewise.
33141 (intel_check_word): Likewise.
33142 (__cache_sysconf): Don't call __init_cpu_features.
33143 (__x86_preferred_memory_instruction): Removed.
33144 (init_cacheinfo): Don't call __init_cpu_features. Replace
33145 __cpu_features with GLRO(dl_x86_cpu_features).
33146 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33147 (dl_platform_init): Call init_cpu_features.
33148 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33149 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33150 * sysdeps/x86_64/multiarch/Versions: Removed.
33151 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33152 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33153 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33154 Removed.
33155 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33156
33157 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33158
33159 [BZ #18820]
33160 * libio/Makefile (test-fmemopen-mem): New test.
33161 * libio/test-fmemopen.c (do_bz18820): New test.
33162 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33163 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33164
33165 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33166
33167 [BZ #16734]
33168 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33169 (FREE_BUF): Delete.
33170 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33171 * libio/genops.c (_IO_setb): Use malloc and free directly.
33172 (_IO_default_doallocate, _IO_default_finish): Likewise.
33173 ( _IO_unbuffer_all): Likewise.
33174 ( libc_freeres_fn): Likewise.
33175 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33176 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33177 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33178 (_IO_wdefault_doallocate): Likewise.
33179
33180 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33181
33182 [BZ #18086]
33183 * sysdeps/posix/nice.c (nice): Restore old errno.
33184 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33185
33186 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33187
33188 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33189
33190 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33191
33192 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33193 __bcopy and add a weak_alias to bcopy.
33194 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33195 for static build.
33196
33197 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33198 cleanup macro usage.
33199 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33200 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33201 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33202 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33203 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33204 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33205 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33206 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33207 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33208 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33210 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33212 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33214 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33215 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33216 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33217 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33218
33219 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33220 libc_hidden_def.
33221 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33222
33223 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33224 (sysdep_routines): Add strstr-ppc64.
33225 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33226
33227 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33228
33229 [BZ #18778]
33230 * elf/Makefile (tests): Add Add tst-nodelete2.
33231 (modules-names): Add tst-nodelete2mod.
33232 (tst-nodelete2mod.so-no-z-defs): New.
33233 ($(objpfx)tst-nodelete2): Likewise.
33234 ($(objpfx)tst-nodelete2.out): Likewise.
33235 (LDFLAGS-tst-nodelete2): Likewise.
33236 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33237 out of loop through all loaded libraries.
33238 * elf/tst-nodelete2.c: New file.
33239 * elf/tst-nodelete2mod.c: Likewise.
33240 * elf/tst-znodelete-zlib.cc: Delete.
33241
33242 2015-08-11 Andreas Schwab <schwab@suse.de>
33243
33244 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33245 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33246 (__openat64_nocancel): Likewise.
33247
33248 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33249
33250 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33251 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33252 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33253 * math/auto-libm-test-out: Regenerated.
33254 * sysdeps/i386/fpu/libm-test-ulps: Update.
33255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33256
33257 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33258
33259 [BZ #18790]
33260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33261 threshold for returning +/- 1.
33262 * math/auto-libm-test-in: Add more tests of tanh.
33263 * math/auto-libm-test-out: Regenerated.
33264 * sysdeps/i386/fpu/libm-test-ulps: Update.
33265
33266 2015-08-10 Andreas Schwab <schwab@suse.de>
33267
33268 [BZ #18781]
33269 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33270 MORE_OFLAGS to oflag.
33271 * io/test-lfs.c (do_test): Test openat64.
33272
33273 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33274
33275 [BZ #18789]
33276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33277 smaller threshold for returning the argument.
33278 * math/auto-libm-test-in: Add more tests of sinh.
33279 * math/auto-libm-test-out: Regenerated.
33280 * sysdeps/i386/fpu/libm-test-ulps: Update.
33281
33282 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 [BZ #18674]
33285 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33286 break.
33287
33288 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33289
33290 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33291 (generated): Don't add $(addprefix z.,$(tzfiles)).
33292
33293 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33294
33295 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33296 * scripts/sysd-rules.awk: Likewise.
33297
33298 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33299
33300 * iconvdata/tst-tables.sh: Change echo -n to printf.
33301 * nss/db-Makefile: Likewise.
33302 * posix/tst-getconf.sh: Likewise.
33303 * stdio-common/tst-unbputc.sh: Likewise.
33304
33305 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33306
33307 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33308 MADV_*_PAGES defines behind this feature check.
33309
33310 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33311
33312 [BZ #18480]
33313 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33314 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33315 Define.
33316 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33317 LOAD_REGS_5, LOAD_REGS_6): Update.
33318 (INTERNAL_SYSCALL): Update using new LOAD defines.
33319 (INTERNAL_SYSCALL_NCS): Likewise.
33320 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33321
33322 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33323
33324 [BZ #16734]
33325 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33326
33327 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33328
33329 [BZ #17905]
33330 * catgets/Makefile (tst-catgets-mem): New test.
33331 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33332 * catgets/open_catalog.c (__open_catalog): Likewise.
33333 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33334
33335 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33336
33337 [BZ #18787]
33338 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33339 clobber registers.
33340 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33341 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33342 Cast return to __typeof (oldval).
33343
33344 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33345
33346 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33347 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33348 and delete sys/syscall.h include.
33349
33350 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33351
33352 [BZ #16517]
33353 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33354 (tan): Force underflow exception for arguments with small absolute
33355 value.
33356 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33357 (__kernel_tanf): Force underflow exception for arguments with
33358 small absolute value.
33359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33360 (__kernel_tanl): Force underflow exception for arguments with
33361 small absolute value.
33362 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33363 (__kernel_tanl): Force underflow exception for arguments with
33364 small absolute value.
33365 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33366 (__kernel_tanl): Force underflow exception for arguments with
33367 small absolute value.
33368 * math/auto-libm-test-in: Add more tests of tan.
33369 * math/auto-libm-test-out: Regenerated.
33370
33371 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33372
33373 Fix sysdeps/i386/fpu/s_scalbn.S build
33374
33375 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33376
33377 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33378
33379 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33380
33381 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33382
33383 Fix gcrt0.o compilation
33384
33385 When static-start-installed-name is different from
33386 start-installed-name, we must not use the shared objects.
33387
33388 * csu/Makefile
33389 (extra-objs): Add gmon-start.o when building shared library and
33390 $(static-start-installed-name) is different from
33391 $(start-installed-name).
33392 $(objpfx)g$(static-start-installed-name): When building shared
33393 library and $(static-start-installed-name) is different from
33394 $(static-start-installed-name), revert to non-shared rule,
33395 i.e. using $(objpfx)% and gmon-start.o.
33396
33397 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33398
33399 [BZ #16519]
33400 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33401 (__ieee754_sinh): Force underflow exception for arguments with
33402 small absolute value.
33403 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33404 (__ieee754_sinhf): Force underflow exception for arguments with
33405 small absolute value.
33406 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33407 (__ieee754_sinhl): Force underflow exception for arguments with
33408 small absolute value.
33409 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33410 (__ieee754_sinhl): Force underflow exception for arguments with
33411 small absolute value.
33412 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33413 (__ieee754_sinhl): Force underflow exception for arguments with
33414 small absolute value.
33415 * math/auto-libm-test-in: Add more tests of sinh.
33416 * math/auto-libm-test-out: Regenerated.
33417 * sysdeps/i386/fpu/libm-test-ulps: Update.
33418
33419 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33420
33421 * libio/oldfileops.c: Include unistd.h.
33422
33423 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33424
33425 * stdlib/isomac.c: Include ctype.h.
33426
33427 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33428
33429 * dirent/tst-seekdir.c (main): Converted to ...
33430 (do_test): ... this.
33431 (TEST_FUNCTION): New macro.
33432 Include test-skeleton.c.
33433 * elf/tst-dlmodcount.c (main): Converted to ...
33434 (do_test): ... this.
33435 (TEST_FUNCTION): New macro.
33436 Include test-skeleton.c.
33437 * elf/tst-order-main.c (main): Converted to ...
33438 (do_test): ... this.
33439 (TEST_FUNCTION): New macro.
33440 Include test-skeleton.c.
33441 * elf/tst-pie2.c (main): Converted to ...
33442 (do_test): ... this.
33443 (TEST_FUNCTION): New macro.
33444 Include test-skeleton.c.
33445 * inet/tst-ether_aton.c (main): Converted to ...
33446 (do_test): ... this.
33447 (TEST_FUNCTION): New macro.
33448 Include test-skeleton.c.
33449 * misc/tst-mntent.c (main): Converted to ...
33450 (do_test): ... this.
33451 (TEST_FUNCTION): New macro.
33452 Include test-skeleton.c.
33453 * misc/tst-tsearch.c (main): Converted to ...
33454 (do_test): ... this.
33455 (TEST_FUNCTION): New macro.
33456 Include test-skeleton.c.
33457 * posix/tst-regexloc.c (main): Converted to ...
33458 (do_test): ... this.
33459 (TEST_FUNCTION): New macro.
33460 Include test-skeleton.c.
33461 * resolv/tst-aton.c (main): Converted to ...
33462 (do_test): ... this.
33463 (TEST_FUNCTION): New macro.
33464 Include test-skeleton.c.
33465 * stdio-common/test-fwrite.c (main): Converted to ...
33466 (do_test): ... this.
33467 (TEST_FUNCTION): New macro.
33468 Include test-skeleton.c.
33469 * stdio-common/tst-ferror.c (main): Converted to ...
33470 (do_test): ... this.
33471 (TEST_FUNCTION): New macro.
33472 Include test-skeleton.c.
33473 * stdio-common/tst-printf.c (main): Converted to ...
33474 (do_test): ... this.
33475 (TEST_FUNCTION): New macro.
33476 Include test-skeleton.c.
33477 * stdio-common/tst-printfsz.c (main): Converted to ...
33478 (do_test): ... this.
33479 (TEST_FUNCTION): New macro.
33480 Include test-skeleton.c.
33481 * stdlib/tst-strtod.c (main): Converted to ...
33482 (do_test): ... this.
33483 (TEST_FUNCTION): New macro.
33484 Include test-skeleton.c.
33485 * string/tst-strlen.c (main): Converted to ...
33486 (do_test): ... this.
33487 (TEST_FUNCTION): New macro.
33488 Include test-skeleton.c.
33489 * string/tst-svc.c (main): Converted to ...
33490 (do_test): ... this.
33491 (TEST_FUNCTION): New macro.
33492 Include test-skeleton.c.
33493 * time/tst-strptime.c (main): Converted to ...
33494 (do_test): ... this.
33495 (TEST_FUNCTION): New macro.
33496 Include test-skeleton.c.
33497 * timezone/tst-timezone.c (main): Converted to ...
33498 (do_test): ... this.
33499 (TEST_FUNCTION): New macro.
33500 Include test-skeleton.c.
33501
33502 2015-08-05 Zack Weinberg <zackw@panix.com>
33503
33504 * misc/regexp.h: Update comments.
33505
33506 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33507
33508 [BZ #18635]
33509 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33510 before return label.
33511
33512 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33513
33514 [BZ #18661]
33515 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33516 when calling __errno_location.
33517 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33518 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33519
33520 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33521
33522 [BZ #18661]
33523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33524 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33525 __gettimeofday.
33526
33527 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33528
33529 [BZ #18661]
33530 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33531 (__start_context): Don't use pop to restore %rdi so that stack
33532 is aligned to 16 bytes when calling __setcontext.
33533
33534 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33535
33536 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33537 only for libc.
33538 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33539
33540 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33541
33542 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33543 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33544 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33545
33546 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33547
33548 * string/memccpy.c (memccpy):
33549 Improve performance by using memchr/memcpy/__mempcpy.
33550
33551 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33552
33553 * string/strncpy.c (strncpy):
33554 Improve performance by using __strnlen/memcpy.
33555
33556 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33557
33558 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33559 Optimize to avoid an unnecessary FPCR read.
33560
33561 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33562
33563 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33564 Optimize to reduce FPCR/FPSR accesses.
33565
33566 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33567
33568 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33569 dead->data[category] != NULL.
33570
33571 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33572
33573 [BZ #18647]
33574 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33575 and |x| close to 1, use absolute value of x when computing log.
33576 * math/auto-libm-test-in: Add more tests of pow.
33577 * math/auto-libm-test-out: Regenerated.
33578
33579 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33580
33581 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33582 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33583 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33584
33585 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33586
33587 [BZ #18525]
33588 * locales/km_KH: Remove timezone definition.
33589 * locales/lo_LA: Likewise.
33590 * locales/my_MM: Likewise.
33591 * locales/nan_TW@latin: Likewise.
33592 * locales/th_TH: Likewise.
33593 * locales/uk_UA: Likewise.
33594
33595 2015-08-05 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
33596
33597 [BZ #18265]
33598 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33599 (wcsncat): Likewise.
33600 (wcscmp): Likewise.
33601 (wcsncmp): Likewise.
33602
33603 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33604
33605 * test-skeleton.c (usage): New function.
33606 (main): Call usage when opt is '?'.
33607
33608 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33609
33610 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33611 before first use.
33612
33613 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33614
33615 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33616 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33617 in there too.
33618
33619 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33620
33621 * version.h (RELEASE): Set to "development".
33622 (VERSION): Set to "2.22.90"
33623
33624 * version.h (RELEASE): Set to "stable".
33625 (VERSION): Set to "2.22"
33626 * include/features.h (__GLIBC_MINOR__): Set to 22.
33627
33628 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33629
33630 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33631 Restructure macro to avoid "value computed is not used" warning.
33632 (atomic_compare_and_exchange_val_acq): Likewise.
33633
33634 2015-08-04 Andreas Schwab <schwab@suse.de>
33635
33636 [BZ #18635]
33637 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33638 ret.
33639 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33640
33641 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33642
33643 * po/pl.po: Updated translation.
33644 * po/uk.po: Likewise.
33645 * po/fi.po: Likewise.
33646 * po/ko.po: Likewise.
33647 * po/ru.po: Likewise.
33648 * po/vi.po: Likewise.
33649
33650 2015-07-31 Zack Weinberg <zackw@panix.com>
33651
33652 [BZ #18681]
33653 * regexp.h: Add unconditional #warning stating that this header
33654 will be removed soon. Revise banner comment to match.
33655 (compile): Consistently use ERROR instead of RETURN to report
33656 errors (partial fix for BZ #18681).
33657 * regexp.c: Don't include regexp.h. Remove some unnecessary
33658 declarations.
33659
33660 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33661
33662 * po/libc.pot: Regenerated.
33663
33664 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33665
33666 [BZ #18740]
33667 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33668 float-vlen4-arch-ext-cflags): Removed.
33669 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33670 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33671
33672 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33673
33674 [BZ #14113]
33675 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33676 aligned to __aligned__.
33677 (pthread_cond_t, pthread_rwlock_t): Likewise.
33678
33679 2015-07-30 Torvald Riegel <triegel@redhat.com>
33680
33681 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33682
33683 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33684
33685 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33686 (struct sigaction): Change sa_flags from a long to an int, and add
33687 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33688
33689 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33690
33691 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33692 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33693 sysdeps/generic/sysdep.h include.
33694 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33695 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33696 sysdeps/hppa/sysdep.h.
33697 (ENTRY, PSEUDO): Undefine before defining.
33698
33699 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33700
33701 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33702 from scratch to use INTERNAL_SYSCALL.
33703
33704 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33705
33706 [BZ #18078]
33707 * scripts/check-localplt.awk: Support alternate relocations.
33708 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33709 sections.
33710 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33711 malloc entries with + REL R_386_GLOB_DAT.
33712 * sysdeps/x86_64/localplt.data: New file.
33713
33714 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33715
33716 [BZ #18731]
33717 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33718 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33719 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33720
33721 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33722
33723 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33724
33725 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33726
33727 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33728 directly in terms of __sync_fetch_and_add and delete (int) cast.
33729
33730 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33731
33732 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33733 the -D_ASM_IA64_CURRENT_H flag.
33734
33735 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33736
33737 [BZ #18641]
33738 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33739
33740 2015-07-27 Andreas Schwab <schwab@suse.de>
33741
33742 * conform/conformtest.pl (checknamespace): Filter out string
33743 literals while tokenizing.
33744
33745 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33746
33747 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33748 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33749 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33750
33751 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33752
33753 * nptl/tst-join7mod.c: Add #include <string.h>.
33754
33755 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33756
33757 * sysdeps/nios2/libm-test-ulps: Update.
33758
33759 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33760
33761 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33762 Fix order of arguments to the rt_sigprocmask syscall.
33763 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33764 Likewise.
33765
33766 2015-07-24 Roland McGrath <roland@hack.frob.com>
33767
33768 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33769
33770 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33771
33772 [BZ #18457]
33773 * nptl/Makefile (tests): New test case tst-join7.
33774 (modules-names): New test case module tst-join7mod.
33775 * nptl/tst-join7.c: New file.
33776 * nptl/tst-join7mod.c: New file.
33777 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33778 all translation units in libc.so, libpthread.so and rtld.
33779
33780 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33781
33782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33783
33784 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33785
33786 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33787 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33788 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33789 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33790 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33791 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33792 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33793 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33794 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33795 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33796 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33797 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33798 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33799 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33800 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33801 implementation.
33802
33803 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33804
33805 [BZ #17711]
33806 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33807 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33808 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33809 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33810 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33811 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33812
33813 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33814
33815 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33816 instead of just saying load lock in the comments.
33817
33818 2015-07-23 Roland McGrath <roland@hack.frob.com>
33819
33820 * sysdeps/unix/Subdirs: Moved ...
33821 * sysdeps/posix/Subdirs: ... here.
33822 * login/pty.h (struct termios, struct winsize): Add forward decls.
33823 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33824 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33825 * sysdeps/arm/nacl/libc.abilist: Updated.
33826 * sysdeps/nacl/libutil.abilist: New file.
33827
33828 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33829 (SIGWINCH): New macro.
33830
33831 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33832 * sysdeps/arm/nacl/libc.abilist: Add it.
33833
33834 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33835
33836 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33837
33838 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33839
33840 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33841 Swap __glibc_reserved0 and sa_flags order.
33842
33843 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33844
33845 [BZ #18657]
33846 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33847 are pending TLS destructor calls.
33848 * include/link.h (struct link_map): Add concurrency note for
33849 L_TLS_DTOR_COUNT.
33850 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33851 Don't touch the link map flag. Atomically increment
33852 l_tls_dtor_count.
33853 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33854 Avoid taking the load lock and don't touch the link map flag.
33855 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33856 * stdlib/Makefile (tests): Use it.
33857 * stdlib/tst-tls-atexit.c (do_test): dlopen
33858 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33859 to allow tst-tls-atexit-nodelete test case to use it.
33860
33861 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33862
33863 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33864 to bits/types.h.
33865 (msgqnum_t): New typedef.
33866 (msglen_t): Likewise.
33867 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33868 and msg_qbytes type to msglen_t.
33869
33870 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33871
33872 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33873 pad0 to __glibc_reserved0.
33874 (struct stat64): Likewise.
33875
33876 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33877
33878 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33879 Change sa_flags from a long to an int and add __glibc_reserved0 before
33880 it for padding.
33881
33882 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33883
33884 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33885 anonymous by deleting "siginfo" name.
33886
33887 2015-07-21 Roland McGrath <roland@hack.frob.com>
33888
33889 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33890 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33891 rather than __nacl_irt_filename.
33892 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33893
33894 * NEWS: New item for arm-nacl port.
33895 * sysdeps/arm/nacl/libc.abilist: New file.
33896 * sysdeps/nacl/ld.abilist: New file.
33897 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33898 * sysdeps/nacl/libanl.abilist: New file.
33899 * sysdeps/nacl/libcrypt.abilist: New file.
33900 * sysdeps/nacl/libdl.abilist: New file.
33901 * sysdeps/nacl/libm.abilist: New file.
33902 * sysdeps/nacl/libpthread.abilist: New file.
33903 * sysdeps/nacl/libresolv.abilist: New file.
33904 * sysdeps/nacl/librt.abilist: New file.
33905
33906 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33907
33908 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33909 __startcontext to initialize the new context.
33910 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33911 up CFI directive to forbid further backtracing.
33912
33913 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33914
33915 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33916 reference.
33917 * charmaps/ANSI_X3.4-1968: Likewise.
33918 * charmaps/BS_4730: Likewise.
33919 * charmaps/BS_VIEWDATA: Likewise.
33920 * charmaps/CP1250: Likewise.
33921 * charmaps/CP1251: Likewise.
33922 * charmaps/CP1252: Likewise.
33923 * charmaps/CP1253: Likewise.
33924 * charmaps/CP1254: Likewise.
33925 * charmaps/CP1255: Likewise.
33926 * charmaps/CP1256: Likewise.
33927 * charmaps/CSN_369103: Likewise.
33928 * charmaps/EBCDIC-DK-NO: Likewise.
33929 * charmaps/GB_1988-80: Likewise.
33930 * charmaps/GREEK-CCITT: Likewise.
33931 * charmaps/GREEK7: Likewise.
33932 * charmaps/INIS-8: Likewise.
33933 * charmaps/ISIRI-3342: Likewise.
33934 * charmaps/ISO_2033-1983: Likewise.
33935 * charmaps/ISO_5427-EXT: Likewise.
33936 * locales/POSIX: Likewise.
33937 * locales/ar_SA: Likewise.
33938 * locales/be_BY: Likewise.
33939 * locales/be_BY@latin: Likewise.
33940 * locales/ca_ES: Likewise.
33941 * locales/cs_CZ: Likewise.
33942 * locales/da_DK: Likewise.
33943 * locales/de_BE: Likewise.
33944 * locales/de_CH: Likewise.
33945 * locales/de_LU: Likewise.
33946 * locales/en_AU: Likewise.
33947 * locales/en_BW: Likewise.
33948 * locales/en_CA: Likewise.
33949 * locales/en_DK: Likewise.
33950 * locales/en_GB: Likewise.
33951 * locales/en_IE: Likewise.
33952 * locales/en_NZ: Likewise.
33953 * locales/en_ZA: Likewise.
33954 * locales/en_ZW: Likewise.
33955 * locales/es_AR: Likewise.
33956 * locales/es_BO: Likewise.
33957 * locales/es_CL: Likewise.
33958 * locales/es_CO: Likewise.
33959 * locales/es_DO: Likewise.
33960 * locales/es_EC: Likewise.
33961 * locales/es_ES: Likewise.
33962 * locales/es_HN: Likewise.
33963 * locales/es_MX: Likewise.
33964 * locales/es_PA: Likewise.
33965 * locales/es_PE: Likewise.
33966 * locales/es_PY: Likewise.
33967 * locales/es_SV: Likewise.
33968 * locales/es_US: Likewise.
33969 * locales/es_UY: Likewise.
33970 * locales/es_VE: Likewise.
33971 * locales/et_EE: Likewise.
33972 * locales/fa_IR: Likewise.
33973 * locales/fo_FO: Likewise.
33974 * locales/fr_CA: Likewise.
33975 * locales/fr_CH: Likewise.
33976 * locales/gv_GB: Likewise.
33977 * locales/he_IL: Likewise.
33978 * locales/hr_HR: Likewise.
33979 * locales/id_ID: Likewise.
33980 * locales/is_IS: Likewise.
33981 * locales/it_CH: Likewise.
33982 * locales/iw_IL: Likewise.
33983 * locales/kl_GL: Likewise.
33984 * locales/ko_KR: Likewise.
33985 * locales/kw_GB: Likewise.
33986 * locales/lg_UG: Likewise.
33987 * locales/lt_LT: Likewise.
33988 * locales/lv_LV: Likewise.
33989 * locales/mi_NZ: Likewise.
33990 * locales/nhn_MX: Likewise.
33991 * locales/nl_BE: Likewise.
33992 * locales/pl_PL: Likewise.
33993 * locales/sk_SK: Likewise.
33994 * locales/sl_SI: Likewise.
33995 * locales/sv_FI: Likewise.
33996 * locales/tl_PH: Likewise.
33997 * locales/tr_TR: Likewise.
33998 * locales/vi_VN: Likewise.
33999
34000 2015-07-21 Khem Raj <raj.khem@gmail.com>
34001
34002 [BZ #17475]
34003 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34004 of tu_IN and bh_IN.
34005
34006 2015-07-21 Mike Frysinger <vapier@gentoo.org>
34007
34008 [BZ #18694]
34009 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34010 bits/wordsize.h.
34011 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34012
34013 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34014
34015 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34016 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34017 (spawn_thread): New function.
34018 (load): Rename to reg_dtor_and_close. Move dlopen to...
34019 (do_test): ... here. Use IS_LOADED to test for its
34020 availability.
34021
34022 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34023
34024 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34025
34026 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34027
34028 [BZ #18696]
34029 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34030 si_addr_bnd.
34031 (si_lower): New.
34032 (si_upper): Likewise.
34033
34034 2015-07-16 David S. Miller <davem@davemloft.net>
34035
34036 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34037
34038 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34039
34040 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34041 buffer.
34042 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34043 fail output information.
34044
34045 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34046
34047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34048 and strstr-ppc64..
34049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34050 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34051 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34052 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34053 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34054
34055 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34056
34057 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34058 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34059 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34060 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34061
34062 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34063
34064 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34065 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34066 rtld_hidden_proto.
34067 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34068
34069 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34070
34071 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34072 the test can fail.
34073
34074 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34075
34076 [BZ #18676]
34077 * elf/tst-nodelete-opened.c: New test case.
34078 * elf/tst-nodelete-opened-lib.c: New test case module.
34079 * elf/Makefile (tests, modules-names): Use them.
34080 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34081 early.
34082
34083 2015-07-15 David S. Miller <davem@davemloft.net>
34084
34085 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34086 futex-intenal.h
34087 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34088 * sysdeps/sparc/sparc64/Makefile: Likewise.
34089 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34090 Remove space from macro define.
34091 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34092
34093 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34094
34095 [BZ #17475]
34096 * locale/iso-639.def: Update Bhili and Tulu language codes as
34097 per iso639-3.
34098
34099 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34100
34101 * elf/tst-leaks1.c (main): Converted to ...
34102 (do_test): ... this.
34103 (TEST_FUNCTION): New macro.
34104 Include test-skeleton.c.
34105 * localedata/tst-langinfo.c (main): Converted to ...
34106 (do_test): ... this.
34107 (TEST_FUNCTION): New macro.
34108 Include test-skeleton.c.
34109 * math/test-fpucw.c (main): Converted to ...
34110 (do_test): ... this.
34111 (TEST_FUNCTION): New macro.
34112 Include test-skeleton.c.
34113 * math/test-tgmath.c (main): Converted to ...
34114 (do_test): ... this.
34115 (TEST_FUNCTION): New macro.
34116 Include test-skeleton.c.
34117 * math/test-tgmath2.c (main): Converted to ...
34118 (do_test): ... this.
34119 (TEST_FUNCTION): New macro.
34120 Include test-skeleton.c.
34121 * setjmp/tst-setjmp.c (main): Converted to ...
34122 (do_test): ... this.
34123 (TEST_FUNCTION): New macro.
34124 Include test-skeleton.c.
34125 * stdio-common/tst-sscanf.c (main): Converted to ...
34126 (do_test): ... this.
34127 (TEST_FUNCTION): New macro.
34128 Include test-skeleton.c.
34129 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34130 (do_test): ... this.
34131 (TEST_FUNCTION): New macro.
34132 Include test-skeleton.c.
34133
34134 * elf/tst-audit9.c (main): Converted to ...
34135 (do_test): ... this.
34136 (TEST_FUNCTION): New macro.
34137 Include test-skeleton.c.
34138
34139 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34140
34141 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34142
34143 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34144
34145 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34146 New variable.
34147
34148 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34149
34150 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34151
34152 2015-07-14 Roland McGrath <roland@hack.frob.com>
34153
34154 * sysdeps/generic/dl-fileid.h: New file.
34155 * sysdeps/posix/dl-fileid.h: New file.
34156 * sysdeps/nacl/dl-fileid.h: New file.
34157 * include/link.h: Include <dl-fileid.h>.
34158 (struct link_map): Replace l_dev and l_ino with l_file_id.
34159 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34160 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34161 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34162
34163 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34164
34165 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34166
34167 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34168
34169 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34170 Add iff $CXX is set.
34171 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34172 Likewise.
34173 (tst-nodelete-zmodiff): Likewise.
34174 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34175
34176 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34177
34178 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34179
34180 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34181
34182 * sysdeps/aarch64/fpu/math_private.h
34183 (define math_opt_barrier): Add AArch64 version.
34184 (math_force_eval): Likewise.
34185
34186 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34187
34188 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34189
34190 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34191
34192 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34193 %ld with %jd and cast to intmax_t.
34194 (do_test_length_zero): Likewise.
34195
34196 2015-07-10 Roland McGrath <roland@hack.frob.com>
34197
34198 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34199
34200 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34201
34202 * sysdeps/tile/libm-test-ulps: Regenerated.
34203
34204 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34205 Comment out the whole function, not just its body.
34206
34207 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34208
34209 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34210 locks.
34211
34212 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34213
34214 2015-07-10 Torvald Riegel <triegel@redhat.com>
34215
34216 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34217 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34218
34219 2015-07-10 Torvald Riegel <triegel@redhat.com>
34220
34221 * sysdeps/nptl/futex-internal.h: New file.
34222 * sysdeps/nacl/futex-internal.h: New file.
34223 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34224 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34225 error checking.
34226 (setxid_unmark_thread): Likewise.
34227 (__nptl_setxid): Likewise.
34228 (__wait_lookup_done): Likewise.
34229 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34230 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34231 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34232 * nptl/pthread_once.c (clear_once_control): Likewise.
34233 (__pthread_once_slow): Likewise.
34234 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34235 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34236 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34237 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34238 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34239 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34240 Likewise.
34241 (__pthread_rwlock_rdlock): Likewise.
34242 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34243 Likewise.
34244 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34245 Likewise.
34246 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34247 Likewise.
34248 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34249 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34250 Likewise.
34251 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34252 __ASSUME_PRIVATE_FUTEX check.
34253 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34254 Check that shared futexes are supported.
34255 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34256 wrappers with error checking.
34257 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34258 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34259 * nptl/pthread_barrierattr_setpshared.c
34260 (pthread_barrierattr_setpshared): Check that shared futexes are
34261 supported.
34262 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34263 Likewise.
34264 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34265 Likewise.
34266 * nptl/sem_init.c (futex_private_if_supported): Remove.
34267 (__new_sem_init): Adapt and check that shared futexes are supported.
34268 * nptl/sem_open.c (sem_open): Likewise.
34269 * nptl/sem_post.c (futex_wake): Remove.
34270 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34271 (do_futex_wait): Use futex wrappers with error checking.
34272 * nptl/sem_wait.c: Include lowlevellock.h.
34273 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34274 Use futex_supports_pshared.
34275 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34276 Use futex wrappers with error checking.
34277 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34278 Likewise.
34279 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34280 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34281 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34282 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34283 (futex_wake): Likewise.
34284 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34285 (do_futex_wait): Use futex wrappers with error checking.
34286 (__new_sem_wait_slow): Update EINTR handling.
34287 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34288
34289 2015-07-09 Martin Sebor <msebor@redhat.com>
34290
34291 [BZ #18435]
34292 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34293 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34294 * nptl/Makefile (test-xfail-tst-once5): Define.
34295
34296 2015-07-09 Roland McGrath <roland@hack.frob.com>
34297
34298 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34299 * elf/dl-minimal.c: For readability, reorder some definitions and
34300 introduce more page breaks. Include <stdio.h>.
34301 (__libc_fatal): New function.
34302
34303 * include/unistd.h: Add rtld_hidden_proto for _exit.
34304 * posix/_exit.c: Add rtld_hidden_def.
34305 * sysdeps/mach/hurd/_exit.c: Likewise.
34306 * sysdeps/nacl/_exit.c: Likewise.
34307 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34308 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34309
34310 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34311
34312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34313 bndmov encoding with zero displacement.
34314
34315 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34316 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 [BZ #18134]
34319 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34320 * sysdeps/i386/configure: Regenerated.
34321 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34322 (_dl_runtime_profile): Save and restore Intel MPX return bound
34323 registers when calling _dl_call_pltexit. Add
34324 PRESERVE_BND_REGS_PREFIX before return.
34325 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34326 (LRV_BND1_OFFSET): Likewise.
34327 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34328 lrv_bnd1.
34329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34330 typo in bndmov encoding.
34331 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34332 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34333 branch instructions to preserve bounds.
34334
34335 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34336
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34338 [GLIBC_2.22]: Add fmemopen.
34339
34340 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34341
34342 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34343 returns an error, also try to use host port from __mach_host_self for
34344 the __vm_wire call.
34345 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34346
34347 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34348
34349 [BZ #18400]
34350 [BZ #18648]
34351 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34352 Fix pr_uid and pr_gid members.
34353 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34354 definition to elf_greg_t.
34355
34356 2015-07-08 Roland McGrath <roland@hack.frob.com>
34357
34358 [BZ #18383]
34359 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34360 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34361 * sysdeps/arm/configure: Regenerated.
34362 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34363 (test-xfail-tst-tlsalign-static): Variable removed.
34364
34365 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34366 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34367 rather than explicit 'ln -s'.
34368
34369 * resolv/rpc/netdb.h: New file.
34370 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34371
34372 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34373
34374 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34375 length buffers.
34376 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34377 test-skeleton.c.
34378
34379 [BZ #6544]
34380 [BZ #11216]
34381 [BZ #12836]
34382 [BZ #13151]
34383 [BZ #13152]
34384 [BZ #14292]
34385 * include/stdio.h (fmemopen): Remove hidden prototype.
34386 (__fmemopen): Add new hidden prototype.
34387 * libio/Makefile: Add oldfmemopen object.
34388 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34389 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34390 compliance.
34391 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34392 symbol compatibility.
34393 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34394 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34395 fmemopen.
34396 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34397 on append and read mode.
34398 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34399 fmemopen.
34400 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34401 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34402 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34403 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34404 Likewise.
34405 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34406 [GLIBC_2.22]: Likewise.
34407 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34408 Likewise.
34409 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34410 Likewise.
34411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34412 [GLIBC_2.22]: Likewise.
34413 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34414 [GLIBC_2.22]: Likewise.
34415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34416 [GLIBC_2.22]: Likewise.
34417 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34418 [GLIBC_2.22]: Likewise.
34419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34420 [GLIBC_2.22]: Likewise.
34421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34422 [GLIBC_2.22]: Likewise.
34423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34424 [GLIBC_2.22]: Likewise.
34425 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34426 Likewise.
34427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34428 Likewise.
34429 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34431 [GLIBC_2.22]: Likewise.
34432 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34433 [GLIBC_2.22]: Likewise.
34434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34435 [GLIBC_2.22]: Likewise.
34436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34437 [GLIBC_2.22]: Likewise.
34438 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34439 Likewise.
34440 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34441 Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34443 Likewise.
34444 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34445 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34446
34447 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34448
34449 [BZ #18643]
34450 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34451 IPV6_PATHMTU, and IPV6_DONTFRAG.
34452
34453 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34454
34455 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34456 and _IO_UNBUFFERED.
34457 * libio/oldfileops.c: Likewise.
34458 * libio/wfileops.c: Likewise.
34459
34460 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34461
34462 * nscd/selinux.c: Delete selinux/flask.h include.
34463
34464 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34465
34466 [BZ #18641]
34467 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34468 (putpwent): Likewise.
34469 (getpwnam): Likewise.
34470 (getpwent_r): Likewise.
34471 (getpwuid_r): Likewise.
34472 (getpwnam_r): Likewise.
34473 (fgetpwent_r): Likewise.
34474
34475 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34476
34477 [BZ #18557]
34478 * inet/rcmd.c (__validuser2_sa): Check user first to
34479 short-circuit host check.
34480
34481 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34482 Mikhail Ilin <m.ilin@samsung.com>
34483
34484 [BZ #17833]
34485 * elf/Makefile (tests): Add tst-nodelete.
34486 (modules-names): Add tst-nodelete-uniquemod.
34487 (tst-nodelete-uniquemod.so-no-z-defs): New.
34488 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34489 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34490 ($(objpfx)tst-nodelete): Likewise.
34491 ($(objpfx)tst-nodelete.out): Likewise.
34492 (LDFLAGS-tst-nodelete): Likewise.
34493 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34494 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34495 implement forced object deletion.
34496 (_dl_close): Pass false to _dl_close_worker.
34497 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34498 * elf/tst-nodelete.cc: New file.
34499 * elf/tst-nodeletelib.cc: Likewise.
34500 * elf/tst-znodeletelib.cc: Likewise.
34501 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34502
34503 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34504
34505 [BZ #18508]
34506 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34507 Depend on $(libdl).
34508 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34509 is not called infinitely times.
34510 (backtrace_helper): New function.
34511 (trace_arg): New struct.
34512 (st1): Enlarge stack size.
34513 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34514 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34515 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34516 Likewise.
34517
34518 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34519
34520 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34521
34522 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34523
34524 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34525 Include sys/types.h instead of bits/types.h.
34526 Remove inclusion of bits/wordsize.h.
34527
34528 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34529
34530 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34531 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34532 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34533 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34534 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34535 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34536
34537 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34538
34539 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34540 link-defines.sym.
34541 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34542 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34543 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34544 and LR_SIZE.
34545 * sysdeps/i386/link-defines.sym: New file.
34546
34547 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34548
34549 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34550 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34551 ($(objpfx)tst-audit3): New rule.
34552 ($(objpfx)tst-audit3.out): Likewise.
34553 * sysdeps/i386/tst-audit3.c: New file.
34554 * sysdeps/i386/tst-audit3.h: Likewise.
34555 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34556 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34557
34558 2015-07-07 Torvald Riegel <triegel@redhat.com>
34559
34560 [BZ #18633]
34561 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34562 pointer in C code.
34563 (__strcat_c): Likewise.
34564 (__strcat_g): Likewise.
34565
34566 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34567
34568 [BZ #18592]
34569 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34570
34571 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34572
34573 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34574 New function. (__ieee754_sqrtf): New function.
34575 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34576 New function.
34577 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34578 New function.
34579
34580 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34581
34582 * sysdeps/ieee754/support.c: Remove unused file.
34583
34584 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34585
34586 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34587 registers instead of d ones so the layout is kernel abi compatible.
34588 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34589 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34590 Likewise.
34591
34592 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34593
34594 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34595
34596 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34597
34598 [BZ #18619]
34599 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34600 and return argument in case of subnormal argument.
34601
34602 2015-07-01 Martin Sebor <msebor@redhat.com>
34603
34604 [BZ #18435]
34605 * nptl/Makefile: Add tst-once5.cc.
34606 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34607 Remove macro redefinitions.
34608 * nptl/tst-once5.cc: New test.
34609
34610 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34611
34612 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34613
34614 * sysdeps/arm/libm-test-ulps: Regenerated.
34615
34616 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34617 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34618
34619 2015-06-30 Torvald Riegel <triegel@redhat.com>
34620
34621 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34622 lll_lock_wait_private and lll_futex_wake probes.
34623
34624 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34625 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34626 Likewise.
34627 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34628 atomic_spin_nop.
34629 * sysdeps/x86_64/bits/atomic.h: Likewise.
34630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34631 to atomic_spin_nop and move ...
34632 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34633 ... here and ...
34634 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34635 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34636 atomic_spin_nop instead of BUSY_WAIT_NOP.
34637 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34638 Likewise.
34639 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34640 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34641 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34642 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34643 instead of atomic_delay.
34644
34645 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34646
34647 [BZ #18613]
34648 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34649 X_ADJ not X when adjusting exponent.
34650 (__ieee754_gamma_r): Do intermediate computations in
34651 round-to-nearest then adjust overflowing and underflowing results
34652 as needed.
34653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34654 of X_ADJ not X when adjusting exponent.
34655 (__ieee754_gammaf_r): Do intermediate computations in
34656 round-to-nearest then adjust overflowing and underflowing results
34657 as needed.
34658 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34659 log of X_ADJ not X when adjusting exponent.
34660 (__ieee754_gammal_r): Do intermediate computations in
34661 round-to-nearest then adjust overflowing and underflowing results
34662 as needed. Use 1.0L not 1.0f as numerator of division.
34663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34664 log of X_ADJ not X when adjusting exponent.
34665 (__ieee754_gammal_r): Do intermediate computations in
34666 round-to-nearest then adjust overflowing and underflowing results
34667 as needed. Use 1.0L not 1.0f as numerator of division.
34668 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34669 of X_ADJ not X when adjusting exponent.
34670 (__ieee754_gammal_r): Do intermediate computations in
34671 round-to-nearest then adjust overflowing and underflowing results
34672 as needed. Use 1.0L not 1.0f as numerator of division.
34673 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34674 to auto-libm-test-in.
34675 (tgamma_test): Use ALL_RM_TEST.
34676 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34677 tests of tgamma with spurious-overflow.
34678 * math/auto-libm-test-out: Regenerated.
34679 * math/gen-libm-have-vector-test.sh: Do not check for START.
34680 * sysdeps/i386/fpu/libm-test-ulps: Update.
34681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34682
34683 [BZ #18612]
34684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34685 arguments, just return 0.5 times the argument, with underflow
34686 forced as needed.
34687 * math/auto-libm-test-in: Add more tests of j1.
34688 * math/auto-libm-test-out: Regenerated.
34689
34690 [BZ #16559]
34691 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34692 (__ieee754_j1): Force underflow exception for small results.
34693 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34694 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34695 (__ieee754_j1f): Force underflow exception for small results.
34696 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34697 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34699 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34700 (__ieee754_j1l): Force underflow exception for small results.
34701 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34702 * math/auto-libm-test-in: Add more tests of j1 and jn.
34703 * math/auto-libm-test-out: Regenerated.
34704
34705 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34707 (PF_MPLS): Likewise.
34708 (AF_IB): Likewise.
34709 (AF_MPLS): Likewise.
34710 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34711 value and macro.
34712 (MS_RMT_MASK): Include MS_LAZYTIME.
34713
34714 2015-06-26 Mel Gorman <mgorman@suse.de>
34715
34716 [BZ #18502]
34717 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34718 already minimal.
34719
34720 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34721
34722 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34723 (DT_MIPS_NUM): Update.
34724 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34725 DT_MIPS_RLD_MAP_REL.
34726
34727 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34728
34729 [BZ #16559]
34730 [BZ #18602]
34731 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34732 round-to-nearest internally then recompute results that
34733 underflowed to zero in the original rounding mode.
34734 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34735 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34738 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34739 * sysdeps/i386/fpu/libm-test-ulps: Update.
34740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34741
34742 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34743
34744 * NEWS: Fixed description of link with vector math library.
34745
34746 2015-06-25 Andreas Schwab <schwab@suse.de>
34747
34748 [BZ #18549]
34749 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34750 * libio/test-fmemopen.c (do_test): Add test for it.
34751
34752 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34753
34754 [BZ #17841]
34755 * Makeconfig (no-pie-ldflag): New.
34756 (+link): Set to $(+link-pie) if default to PIE.
34757 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34758 * config.make.in (build-pie-default): New.
34759 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34760 is default. AC_SUBST.
34761 * configure: Regenerated.
34762 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34763
34764 2015-06-24 Roland McGrath <roland@hack.frob.com>
34765
34766 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34767 to 'unsigned int'.
34768
34769 * resolv/gai_misc.h (struct waitlist): Change type of field
34770 counterp to 'volatile unsigned int *'.
34771 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34772 FUTEXADDR and OLDVAL.
34773 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34774 Give local variable TOTAL type 'volatile unsigned int'.
34775 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34776 * resolv/gai_suspend.c (gai_suspend):
34777 Give local variable CNTR type 'unsigned int'.
34778
34779 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34780 counterp to 'volatile unsigned int *'.
34781 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34782 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34783 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34784 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34785 Give local variable TOTAL type 'volatile unsigned int'.
34786 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34787
34788 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34789
34790 [BZ #18383]
34791 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34792 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34793 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34794 comment for i386/x86-64.
34795 (test-xfail-tst-tlsalign-extern-static): Removed.
34796
34797 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34798
34799 * math/test-double.h: New file.
34800 * math/test-float.h: Likewise.
34801 * math/test-ldouble.h: Likewise.
34802 * math/test-math-inline.h: Likewise.
34803 * math/test-math-no-inline.h: Likewise.
34804 * math/test-math-scalar.h: Likewise.
34805 * math/test-math-vector.h: Likewise.
34806 * math/test-vec-loop.h: Remove file. Contents moved into
34807 test-math-vector.h.
34808 * math/libm-test.inc (MATHCONST): Do not document macro.
34809 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34810 and test-math-scalar.h.
34811 (FUNC): Remove macro.
34812 (FUNC_TEST): Likewise.
34813 (FLOAT): Likewise.
34814 (MATHCONST): Likewise.
34815 (PRINTF_EXPR): Likewise.
34816 (PRINTF_XEXPR): Likewise.
34817 (PRINTF_NEXPR): Likewise.
34818 (TEST_DOUBLE): Likewise.
34819 (TEST_MATHVEC): Likewise.
34820 (__NO_MATH_INLINES): Likewise.
34821 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34822 and test-math-scalar.h.
34823 (FUNC): Remove macro.
34824 (FUNC_TEST): Likewise.
34825 (FLOAT): Likewise.
34826 (MATHCONST): Likewise.
34827 (PRINTF_EXPR): Likewise.
34828 (PRINTF_XEXPR): Likewise.
34829 (PRINTF_NEXPR): Likewise.
34830 (TEST_FLOAT): Likewise.
34831 (TEST_MATHVEC): Likewise.
34832 (__NO_MATH_INLINES): Likewise.
34833 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34834 and test-math-scalar.h.
34835 (FUNC): Remove macro.
34836 (FUNC_TEST): Likewise.
34837 (FLOAT): Likewise.
34838 (MATHCONST): Likewise.
34839 (PRINTF_EXPR): Likewise.
34840 (PRINTF_XEXPR): Likewise.
34841 (PRINTF_NEXPR): Likewise.
34842 (TEST_DOUBLE): Likewise.
34843 (TEST_MATHVEC): Likewise.
34844 (TEST_INLINE): Likewise.
34845 (__NO_MATH_INLINES): Likewise.
34846 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34847 test-math-scalar.h.
34848 (FUNC): Remove macro.
34849 (FUNC_TEST): Likewise.
34850 (FLOAT): Likewise.
34851 (MATHCONST): Likewise.
34852 (PRINTF_EXPR): Likewise.
34853 (PRINTF_XEXPR): Likewise.
34854 (PRINTF_NEXPR): Likewise.
34855 (TEST_FLOAT): Likewise.
34856 (TEST_MATHVEC): Likewise.
34857 (TEST_INLINE): Likewise.
34858 (__NO_MATH_INLINES): Likewise.
34859 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34860 and test-math-scalar.h.
34861 (FUNC): Remove macro.
34862 (FUNC_TEST): Likewise.
34863 (FLOAT): Likewise.
34864 (MATHCONST): Likewise.
34865 (PRINTF_EXPR): Likewise.
34866 (PRINTF_XEXPR): Likewise.
34867 (PRINTF_NEXPR): Likewise.
34868 (TEST_LDOUBLE): Likewise.
34869 (TEST_MATHVEC): Likewise.
34870 (TEST_INLINE): Likewise.
34871 (__NO_MATH_INLINES): Likewise.
34872 * math/test-ldouble.c: Include test-ldouble.h,
34873 test-math-no-inline.h and test-math-scalar.h.
34874 (FUNC): Remove macro.
34875 (FUNC_TEST): Likewise.
34876 (FLOAT): Likewise.
34877 (MATHCONST): Likewise.
34878 (PRINTF_EXPR): Likewise.
34879 (PRINTF_XEXPR): Likewise.
34880 (PRINTF_NEXPR): Likewise.
34881 (TEST_LDOUBLE): Likewise.
34882 (TEST_MATHVEC): Likewise.
34883 (__NO_MATH_INLINES): Likewise.
34884 * math/test-double-vlen2.h: Include test-double.h,
34885 test-math-no-inline.h and test-math-vector.h.
34886 (FLOAT): Remove macro.
34887 (FUNC): Likewise.
34888 (MATHCONST): Likewise.
34889 (PRINTF_EXPR): Likewise.
34890 (PRINTF_XEXPR): Likewise.
34891 (PRINTF_NEXPR): Likewise.
34892 (TEST_DOUBLE): Likewise.
34893 (TEST_MATHVEC): Likewise.
34894 (__NO_MATH_INLINES): Likewise.
34895 (CNCT): Likewise.
34896 (CONCAT): Likewise.
34897 (WRAPPER_NAME): Likewise.
34898 (WRAPPER_DECL): Likewise.
34899 (WRAPPER_DECL_ff): Likewise.
34900 (WRAPPER_DECL_fFF): Likewise.
34901 (VECTOR_WRAPPER): Likewise.
34902 (VECTOR_WRAPPER_ff): Likewise.
34903 (VECTOR_WRAPPER_fFF): Likewise.
34904 (VEC_LEN): New macro.
34905 * math/test-double-vlen4.h: Include test-double.h,
34906 test-math-no-inline.h and test-math-vector.h.
34907 (FLOAT): Remove macro.
34908 (FUNC): 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 (CNCT): Likewise.
34917 (CONCAT): Likewise.
34918 (WRAPPER_NAME): Likewise.
34919 (WRAPPER_DECL): Likewise.
34920 (WRAPPER_DECL_ff): Likewise.
34921 (WRAPPER_DECL_fFF): Likewise.
34922 (VECTOR_WRAPPER): Likewise.
34923 (VECTOR_WRAPPER_ff): Likewise.
34924 (VECTOR_WRAPPER_fFF): Likewise.
34925 (VEC_LEN): New macro.
34926 * math/test-double-vlen8.h: Include test-double.h,
34927 test-math-no-inline.h and test-math-vector.h.
34928 (FLOAT): Remove macro.
34929 (FUNC): Likewise.
34930 (MATHCONST): Likewise.
34931 (PRINTF_EXPR): Likewise.
34932 (PRINTF_XEXPR): Likewise.
34933 (PRINTF_NEXPR): Likewise.
34934 (TEST_DOUBLE): Likewise.
34935 (TEST_MATHVEC): Likewise.
34936 (__NO_MATH_INLINES): Likewise.
34937 (CNCT): Likewise.
34938 (CONCAT): Likewise.
34939 (WRAPPER_NAME): Likewise.
34940 (WRAPPER_DECL): Likewise.
34941 (WRAPPER_DECL_ff): Likewise.
34942 (WRAPPER_DECL_fFF): Likewise.
34943 (VECTOR_WRAPPER): Likewise.
34944 (VECTOR_WRAPPER_ff): Likewise.
34945 (VECTOR_WRAPPER_fFF): Likewise.
34946 (VEC_LEN): New macro.
34947 * math/test-float-vlen4.h: Include test-float.h,
34948 test-math-no-inline.h and test-math-vector.h.
34949 (FLOAT): Remove macro.
34950 (FUNC): Likewise.
34951 (MATHCONST): Likewise.
34952 (PRINTF_EXPR): Likewise.
34953 (PRINTF_XEXPR): Likewise.
34954 (PRINTF_NEXPR): Likewise.
34955 (TEST_FLOAT): Likewise.
34956 (TEST_MATHVEC): Likewise.
34957 (__NO_MATH_INLINES): Likewise.
34958 (CNCT): Likewise.
34959 (CONCAT): Likewise.
34960 (WRAPPER_NAME): Likewise.
34961 (WRAPPER_DECL): Likewise.
34962 (WRAPPER_DECL_ff): Likewise.
34963 (WRAPPER_DECL_fFF): Likewise.
34964 (VECTOR_WRAPPER): Likewise.
34965 (VECTOR_WRAPPER_ff): Likewise.
34966 (VECTOR_WRAPPER_fFF): Likewise.
34967 (VEC_LEN): New macro.
34968 * math/test-float-vlen8.h: Include test-float.h,
34969 test-math-no-inline.h and test-math-vector.h.
34970 (FLOAT): Remove macro.
34971 (FUNC): Likewise.
34972 (MATHCONST): Likewise.
34973 (PRINTF_EXPR): Likewise.
34974 (PRINTF_XEXPR): Likewise.
34975 (PRINTF_NEXPR): Likewise.
34976 (TEST_FLOAT): Likewise.
34977 (TEST_MATHVEC): Likewise.
34978 (__NO_MATH_INLINES): Likewise.
34979 (CNCT): Likewise.
34980 (CONCAT): Likewise.
34981 (WRAPPER_NAME): Likewise.
34982 (WRAPPER_DECL): Likewise.
34983 (WRAPPER_DECL_ff): Likewise.
34984 (WRAPPER_DECL_fFF): Likewise.
34985 (VECTOR_WRAPPER): Likewise.
34986 (VECTOR_WRAPPER_ff): Likewise.
34987 (VECTOR_WRAPPER_fFF): Likewise.
34988 (VEC_LEN): New macro.
34989 * math/test-float-vlen16.h: Include test-float.h,
34990 test-math-no-inline.h and test-math-vector.h.
34991 (FLOAT): Remove macro.
34992 (FUNC): Likewise.
34993 (MATHCONST): Likewise.
34994 (PRINTF_EXPR): Likewise.
34995 (PRINTF_XEXPR): Likewise.
34996 (PRINTF_NEXPR): Likewise.
34997 (TEST_FLOAT): Likewise.
34998 (TEST_MATHVEC): Likewise.
34999 (__NO_MATH_INLINES): Likewise.
35000 (CNCT): Likewise.
35001 (CONCAT): Likewise.
35002 (WRAPPER_NAME): Likewise.
35003 (WRAPPER_DECL): Likewise.
35004 (WRAPPER_DECL_ff): Likewise.
35005 (WRAPPER_DECL_fFF): Likewise.
35006 (VECTOR_WRAPPER): Likewise.
35007 (VECTOR_WRAPPER_ff): Likewise.
35008 (VECTOR_WRAPPER_fFF): Likewise.
35009 (VEC_LEN): New macro.
35010 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35011 test-vec-loop.h.
35012 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35013 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35014 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35015 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35016 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35017 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35018 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35019
35020 2015-06-24 Roland McGrath <roland@hack.frob.com>
35021
35022 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35023 (__getlogin_r): ... this.
35024
35025 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35026
35027 [BZ #18594]
35028 * math/s_ccosh.c (__ccosh): Compare with least normal value
35029 instead of comparing class with FP_SUBNORMAL.
35030 * math/s_ccoshf.c (__ccoshf): Likewise.
35031 * math/s_ccoshl.c (__ccoshl): Likewise.
35032 * math/s_cexp.c (__cexp): Likewise.
35033 * math/s_cexpf.c (__cexpf): Likewise.
35034 * math/s_cexpl.c (__cexpl): Likewise.
35035 * math/s_csin.c (__csin): Likewise.
35036 * math/s_csinf.c (__csinf): Likewise.
35037 * math/s_csinh.c (__csinh): Likewise.
35038 * math/s_csinhf.c (__csinhf): Likewise.
35039 * math/s_csinhl.c (__csinhl): Likewise.
35040 * math/s_csinl.c (__csinl): Likewise.
35041 * math/s_ctan.c (__ctan): Likewise.
35042 * math/s_ctanf.c (__ctanf): Likewise.
35043 * math/s_ctanh.c (__ctanh): Likewise.
35044 * math/s_ctanhf.c (__ctanhf): Likewise.
35045 * math/s_ctanhl.c (__ctanhl): Likewise.
35046 * math/s_ctanl.c (__ctanl): Likewise.
35047 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35048 csin, csinh, ctan and ctanh.
35049 * math/auto-libm-test-out: Regenerated.
35050 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35051 * sysdeps/i386/fpu/libm-test-ulps: Update.
35052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35053
35054 2015-06-24 Roland McGrath <roland@hack.frob.com>
35055
35056 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35057 return value is wrong, print the expected value too.
35058
35059 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35060
35061 [BZ #18585]
35062 * elf/readlib.c (is_gdb_python_file): New.
35063 (process_file): Don't issue errors on filenames with -gdb.py
35064 suffix.
35065
35066 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35067
35068 * math/auto-libm-test-in: Add more tests of csin and csinh.
35069 * math/auto-libm-test-out: Regenerated.
35070 * math/libm-test.inc (csin_test_data): Remove tests moved to
35071 auto-libm-test-in.
35072 (csinh_test_data): Likewise.
35073
35074 [BZ #18593]
35075 * math/s_csin.c (__csin): Negate before rather than after possibly
35076 overflowing multiplication.
35077 * math/s_csinf.c (__csinf): Likewise.
35078 * math/s_csinh.c (__csinh): Likewise.
35079 * math/s_csinhf.c (__csinhf): Likewise.
35080 * math/s_csinhl.c (__csinhl): Likewise.
35081 * math/s_csinl.c (__csinl): Likewise.
35082 * math/auto-libm-test-in: Add some tests of csin and csinh.
35083 * math/auto-libm-test-out: Regenerated.
35084 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35085 (csinh_test_data): Likewise.
35086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35087
35088 [BZ #18586]
35089 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35090 underflow exception for small results.
35091
35092 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35093
35094 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35095 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35096 variable and included header.
35097 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35098 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35099 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35100 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35101 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35102 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35104 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35105 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35106 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35107 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35108 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35109 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35110 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35111 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35112 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35113
35114 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35115
35116 [BZ #16526]
35117 [BZ #16538]
35118 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35119 (__sin): Force underflow exception for arguments with small
35120 absolute value.
35121 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35122 (__kernel_sinf): Force underflow exception for arguments with
35123 small absolute value.
35124 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35125 (__kernel_sincosl): Force underflow exception for arguments with
35126 small absolute value.
35127 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35128 (__kernel_sinl): Force underflow exception for arguments with
35129 small absolute value.
35130 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35131 (__kernel_sincosl): Force underflow exception for arguments with
35132 small absolute value.
35133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35134 (__kernel_sinl): Force underflow exception for arguments with
35135 small absolute value.
35136 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35137 (__kernel_sinl): Force underflow exception for arguments with
35138 small absolute value.
35139 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35140 (__kernel_sinf): Force underflow exception for arguments with
35141 small absolute value.
35142 * math/auto-libm-test-in: Add more tests of sin and sincos.
35143 * math/auto-libm-test-out: Regenerated.
35144
35145 [BZ #18245]
35146 [BZ #18583]
35147 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35148 (__kernel_standard_l): Use feholdexcept and fesetenv around
35149 conversion to double instead of special-casing overflow and
35150 underflow.
35151 * math/libm-test.inc (fmod_test_data): Add more tests.
35152 (remainder_test_data): Likewise.
35153 (sqrt_test_data): Likewise.
35154
35155 2015-06-23 Torvald Riegel <triegel@redhat.com>
35156
35157 [BZ #17403]
35158 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35159 atomic_read_barrier, atomic_write_barrier): Define.
35160 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35161 atomic_read_barrier, atomic_write_barrier): Define.
35162
35163 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35164
35165 * math/Makefile [$(PERL) != no]
35166 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35167 dependency on libm-test.stmp below the inclusion of Rules.
35168
35169 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35170
35171 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35172 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35173 and included header.
35174 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35175 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35176 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35177 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35178 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35180 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35181 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35182 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35183 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35184 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35185 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35186 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35187 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35188 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35189 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35190 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35191 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35192 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35193
35194 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35195
35196 [BZ #18371]
35197 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35198 intermediate but not final result might underflow.
35199 * math/s_csqrtf.c (__csqrtf): Likewise.
35200 * math/s_csqrtl.c (__csqrtl): Likewise.
35201 * math/auto-libm-test-in: Add more tests of csqrt.
35202 * math/auto-libm-test-out: Regenerated.
35203 * sysdeps/i386/fpu/libm-test-ulps: Update.
35204
35205 [BZ #18219]
35206 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35207 threshold on absolute value of exponent for which scaling is used.
35208 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35209 * math/auto-libm-test-in: Add more tests of exp2.
35210 * math/auto-libm-test-out: Regenerated.
35211
35212 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35213
35214 [BZ #17977]
35215 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35216 when initializing interface list, based on the bug analysis
35217 and the patch proposed by Eric Newton.
35218 * resolv/tst-res_hconf_reorder.c: New test.
35219 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35220 tst-res_hconf_reorder.
35221 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35222 and $(shared-thread-library).
35223 (tst-res_hconf_reorder-ENV): New variable.
35224
35225 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35226 in comment.
35227
35228 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35229
35230 [BZ #16353]
35231 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35232 (__expm1): Force underflow exception for arguments with small
35233 absolute value.
35234 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35235 (__expm1f): Force underflow exception for arguments with small
35236 absolute value.
35237 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35238 (__expm1): Force underflow exception for arguments with small
35239 absolute value.
35240 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35241 (__expm1f): Force underflow exception for arguments with small
35242 absolute value.
35243 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35244 Check for small arguments before calling __expm1.
35245 * math/auto-libm-test-in: Do not mark underflow exceptions as
35246 possibly missing for bug 16353.
35247 * math/auto-libm-test-out: Regenerated.
35248
35249 2015-06-22 Andreas Schwab <schwab@suse.de>
35250
35251 [BZ #18513]
35252 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35253 PTR queries.
35254
35255 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35256
35257 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35258
35259 * string/strcoll_l.c: Remove unused struct element idxnow.
35260
35261 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35262
35263 [BZ #18569]
35264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35265 underflow and return argument in case of subnormal argument.
35266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35267 Likewise.
35268 * math/auto-libm-test-in: Add more tests of expm1.
35269 * math/auto-libm-test-out: Regenerated.
35270
35271 [BZ #16361]
35272 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35273 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35274 tiny results.
35275 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35276 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35277 tiny results.
35278 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35279 mark underflow exceptions as possibly missing for bug 16361.
35280 * math/auto-libm-test-out: Regenerated.
35281
35282 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35283
35284 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35285 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35286 Remove variable.
35287 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35288 (test-xfail-XOPEN2K8/utmpx.h/conform).
35289
35290 * conform/conformtest.pl ($xerrors): New variable.
35291 (note_error): New function.
35292 (compiletest): New argument $xfail. Use not_error.
35293 (runtest): Likewise.
35294 (top level): Handle xfail- lines. Update calls to compiletest and
35295 runtest. Handle xfail- and optional- in headers listed with
35296 allow-header.
35297 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35298 (O_EXEC): Likewise.
35299 (O_SEARCH): Likewise.
35300 * conform/data/stropts.h-data (ioctl): Likewise.
35301 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35302 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35303 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35304 (msghdr.msg_controllen): Likewise.
35305 (cmsghdr.cmsg_len): Likewise.
35306 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35307 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35308 variable.
35309 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35310 (test-xfail-XPG4/stropts.h/conform): Likewise.
35311 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35312 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35313 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35314 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35315 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35316 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35317 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35318 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35319 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35320 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35321 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35322 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35323 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35324 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35325 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35326 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35327 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35328 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35329 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35330
35331 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35332
35333 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35334 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35335 definitions for proper unfolding of __MATHDECL_VEC.
35336
35337 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35338
35339 * benchtests/bench-strcoll.c:
35340 Include string.h.
35341 (main): Remove unused variable res.
35342
35343 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35344
35345 * timezone/Makefile (%/UTC %/Universal):
35346 Generate test-result files for UTC and Universal.
35347
35348 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35349
35350 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35351
35352 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35353
35354 [BZ #16350]
35355 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35356 for arguments with small absolute value.
35357 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35358 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35359 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35360 (__asinh): Force underflow exception for arguments with small
35361 absolute value.
35362 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35363 (__asinhf): Force underflow exception for arguments with small
35364 absolute value.
35365 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35366 (__asinhl): Force underflow exception for arguments with small
35367 absolute value.
35368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35369 (__asinhl): Force underflow exception for arguments with small
35370 absolute value.
35371 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35372 (__asinhl): Force underflow exception for arguments with small
35373 absolute value.
35374 * math/auto-libm-test-in: Do not mark underflow exceptions as
35375 possibly missing for bug 16350.
35376 * math/auto-libm-test-out: Regenerated.
35377
35378 * include/bits/ipc.h: Remove file.
35379 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35380 variable.
35381 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35382 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35383 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35384 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35385 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35386 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35387 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35388 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35389 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35390
35391 * math/auto-libm-test-in: Remove spurious underflow allowance for
35392 tests of cexp.
35393 * math/auto-libm-test-out: Regenerated.
35394
35395 [BZ #18558]
35396 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35397 unconditional definition.
35398 (MCAST_BLOCK_SOURCE): Likewise.
35399 (MCAST_UNBLOCK_SOURCE): Likewise.
35400 (MCAST_LEAVE_GROUP): Likewise.
35401 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35402 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35403 (MCAST_MSFILTER): Likewise.
35404 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35405 Remove variable.
35406 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35407 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35408 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35409 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35410 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35411
35412 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35413
35414 * NEWS: Mention addition of x86_64 vector sincosf.
35415 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35416 * math/test-float-vlen4.h: Likewise.
35417 * math/test-float-vlen8.h: Likewise.
35418 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35419 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35420 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35421 * sysdeps/x86_64/fpu/Versions: New versions added.
35422 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35423 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35424 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35425 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35426 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35427 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35428 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35429 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35430 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35431 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35432 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35433 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35434 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35435 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35436 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35437 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35438 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35439 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35440 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35441 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35442 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35443 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35444 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35445 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35446
35447 * NEWS: Mention addition of x86_64 vector sincos.
35448 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35449 * math/math.h (__MATHDECL_VEC): New macro.
35450 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35451 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35452 declaration under condition.
35453 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35454 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35455 TEST_VEC_LOOP change.
35456 * math/test-double-vlen4.h: Likewise.
35457 * math/test-double-vlen8.h: Likewise.
35458 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35459 * math/test-float-vlen4.h: Likewise.
35460 * math/test-float-vlen8.h: Likewise.
35461 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35462 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35463 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35464 * sysdeps/x86_64/fpu/Versions: New versions added.
35465 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35466 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35467 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35472 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35473 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35474 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35475 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35476 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35477 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35478 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35479 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35480 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35481 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35482 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35483 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35484 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35485 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35486 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35487 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35488 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35489
35490 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35491 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35492 redirections for powf.
35493 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35494 * sysdeps/x86_64/fpu/Versions: New versions added.
35495 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35496 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35497 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35498 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35499 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35500 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35501 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35502 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35503 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35504 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35505 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35506 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35507 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35508 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35509 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35510 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35511 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35512 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35513 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35514 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35515 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35516 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35517 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35518 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35519 * math/test-float-vlen16.h: Fixed 2 argument macro.
35520 * math/test-float-vlen4.h: Likewise.
35521 * math/test-float-vlen8.h: Likewise.
35522 * NEWS: Mention addition of x86_64 vector powf.
35523
35524 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35525
35526 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35527 and redefine.
35528 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35529 and redefine.
35530 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35531 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35533
35534 [BZ #18553]
35535 * resource/getpriority.c (getpriority): Rename to __getpriority
35536 and define as weak alias of __getpriority.
35537 * resource/setpriority.c (setpriority): Rename to __setpriority
35538 and define as weak alias of __setpriority.
35539 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35540 __getpriority and define as weak alias of __getpriority.
35541 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35542 __setpriority and define as weak alias of __setpriority.
35543 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35544 strong name.
35545 (setpriority): Use __setpriority as strong name.
35546 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35547 __getpriority and define as weak alias of __getpriority.
35548 * include/sys/resource.h (__getpriority): Declare. Use
35549 libc_hidden_proto.
35550 (__setpriority): Likewise.
35551 (getpriority): Don't use libc_hidden_proto.
35552 (setpriority): Likewise.
35553 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35554 getpriority. Call __setpriority instead of setpriority.
35555 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35556 Remove variable.
35557
35558 [BZ #18547]
35559 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35560 as weak alias of __getttynam. Use prototype function definition.
35561 Call __setttyent, __getttyent and __endttyent instead of
35562 setttyent, getttyent and endttyent.
35563 (getttyent): Rename to __getttyent and define as weak alias of
35564 __getttyent. Call __setttyent instead of setttyent. Call
35565 __fgets_unlocked instead of fgets_unlocked.
35566 (setttyent): Rename to __setttyent and define as weak alias of
35567 __setttyent.
35568 (endttyent): Rename to __endttyent and define as weak alias of
35569 __endttyent.
35570 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35571 (__setttyent): Likewise.
35572 (__endttyent): Likewise.
35573 (getttyent): Don't use libc_hidden_proto.
35574 (setttyent): Likewise.
35575 (endttyent): Likewise.
35576 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35577 __endttyent instead of setttyent, getttyent and endttyent.
35578 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35579 Remove variable.
35580
35581 [BZ #18546]
35582 * socket/recv.c (__recv): Use libc_hidden_def.
35583 * socket/socket.c (__socket): Likewise.
35584 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35585 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35586 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35587 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35588 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35589 libc_hidden_def.
35590 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35591 libc_hidden_weak.
35592 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35593 Use libc_hidden_proto.
35594 (__recv): Likewise.
35595 * socket/Versions (libc): Export __recv and __socket at version
35596 GLIBC_PRIVATE.
35597 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35598 instead of recv.
35599 (init_mq_netlink): Call __socket instead of socket.
35600 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35601 Remove variable.
35602
35603 [BZ #18545]
35604 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35605 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35606 hidden_weak.
35607 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35608 define as alias of __mq_timedsend. Use hidden_weak.
35609 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35610 __mq_timedsend as strong name.
35611 (mq_timedreceive): Use __mq_timedreceive as strong name.
35612 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35613 (__mq_timedreceive): Likewise.
35614 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35615 __mq_timedreceive instead of mq_timedreceive.
35616 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35617 instead of mq_timedsend.
35618 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35619 Remove variable.
35620
35621 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35622 hidden_def and hidden_weak instead of libc_hidden_def and
35623 libc_hidden_weak.
35624 (top level): Refer to hidden_def in comment.
35625 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35626 macro. Use it instead of libc_hidden_def.
35627 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35628 specify __GI_* name explicitly.
35629 (mq_timedreceive): Likewise.
35630 (mq_setattr): Likewise.
35631
35632 [BZ #18544]
35633 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35634 __pthread_barrier_init and define as weak alias of
35635 __pthread_barrier_init.
35636 * sysdeps/sparc/nptl/pthread_barrier_init.c
35637 (pthread_barrier_init): Likewise.
35638 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35639 __pthread_barrier_wait and define as weak alias of
35640 __pthread_barrier_wait.
35641 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35642 (pthread_barrier_wait): Likewise.
35643 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35644 (pthread_barrier_wait): Likewise.
35645 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35646 (pthread_barrier_wait): Likewise.
35647 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35648 (pthread_barrier_wait): Likewise.
35649 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35650 __pthread_barrier_wait at version GLIBC_PRIVATE.
35651 * include/pthread.h (__pthread_barrier_init): Declare.
35652 (__pthread_barrier_wait): Likewise.
35653 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35654 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35655 (helper_thread): Likewise.
35656 (init_mq_netlink): Call __pthread_barrier_init instead of
35657 pthread_barrier_init.
35658
35659 [BZ #18542]
35660 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35661 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35662 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35663 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35664 vswscanf.
35665 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35666 Remove variable.
35667
35668 [BZ #18540]
35669 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35670 strong alias of _IO_fflush. Use libc_hidden_def.
35671 * libio/iofflush_u.c (fflush_unlocked): Rename to
35672 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35673 Use libc_hidden_weak.
35674 * include/stdio.h (__fflush_unlocked): Declare. Use
35675 libc_hidden_proto.
35676 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35677 fflush_unlocked.
35678 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35679 Remove variable.
35680
35681 [BZ #18539]
35682 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35683 define as weak alias of __addseverity.
35684 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35685 Remove variable.
35686 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35687 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35688 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35689
35690 [BZ #18536]
35691 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35692 (__tfind): Likewise.
35693 (__tdelete): Likewise.
35694 (__twalk): Likewise.
35695 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35696 __twalk to GLIBC_PRIVATE.
35697 * include/search.h (__tsearch): Use libc_hidden_proto.
35698 (__tfind): Likewise.
35699 (__tdelete): Likewise.
35700 (__twalk): Likewise.
35701 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35702 Call __tdelete instead of tdelete.
35703 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35704 tfind. Call __tsearch instead of tsearch.
35705 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35706 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35707 Remove variable.
35708 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35709
35710 [BZ #18534]
35711 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35712 (dprintf): Define as a weak alias of __dprintf, not a strong
35713 alias.
35714 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35715 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35716 dprintf.
35717 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35718 Remove variable.
35719 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35720 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35721
35722 [BZ #18533]
35723 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35724 not a strong alias.
35725 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35726 Remove variable.
35727
35728 [BZ #18532]
35729 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35730 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35731 (in6addr_loopback): Rename to __in6addr_loopback and define as
35732 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35733 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35734 libc_hidden_proto.
35735 (__in6addr_any): Likewise.
35736 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35737 in6addr_any.
35738 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35739 variable.
35740 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35741
35742 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35743
35744 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35745 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35746 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35747 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35748 redirections for pow.
35749 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35750 * sysdeps/x86_64/fpu/Versions: New versions added.
35751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35752 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35753 build of SSE, AVX2 and AVX512 IFUNC versions.
35754 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35756 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35757 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35758 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35759 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35760 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35761 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35762 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35763 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35764 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35765 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35766 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35767 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35768 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35769 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35770 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35771 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35772 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35773 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35774 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35775 * NEWS: Mention addition of x86_64 vector pow.
35776
35777 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35778 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35779 redirections for expf.
35780 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35781 * sysdeps/x86_64/fpu/Versions: New versions added.
35782 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35783 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35784 build of SSE, AVX2 and AVX512 IFUNC versions.
35785 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35786 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35787 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35788 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35789 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35790 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35791 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35792 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35793 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35794 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35795 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35796 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35797 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35798 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35799 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35800 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35801 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35802 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35803 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35804 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35805 * NEWS: Mention addition of x86_64 vector expf.
35806
35807 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35808 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35809 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35810 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35811 redirections for exp.
35812 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35813 * sysdeps/x86_64/fpu/Versions: New versions added.
35814 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35815 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35816 build of SSE, AVX2 and AVX512 IFUNC versions.
35817 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35818 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35819 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35820 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35821 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35822 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35823 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35824 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35825 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35826 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35827 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35828 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35829 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35830 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35831 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35832 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35833 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35834 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35835 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35836 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35837 * NEWS: Mention addition of x86_64 vector exp.
35838
35839 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35840 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35841 redirections for logf.
35842 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35843 * sysdeps/x86_64/fpu/Versions: New versions added.
35844 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35845 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35846 build of SSE, AVX2 and AVX512 IFUNC versions.
35847 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35848 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35849 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35850 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35851 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35852 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35853 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35854 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35855 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35856 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35857 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35858 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35859 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35860 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35861 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35862 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35863 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35864 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35865 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35866 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35867 * NEWS: Mention addition of x86_64 vector logf.
35868
35869 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35870 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35871 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35872 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35873 redirections for log.
35874 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35875 * sysdeps/x86_64/fpu/Versions: New versions added.
35876 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35877 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35878 build of SSE, AVX2 and AVX512 IFUNC versions.
35879 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35880 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35881 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35882 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35883 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35884 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35885 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35886 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35887 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35888 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35889 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35890 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35891 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35892 test.
35893 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35894 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35895 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35896 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35897 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35898 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35899 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35900 * NEWS: Mention addition of x86_64 vector log.
35901
35902 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35903
35904 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35905 cfi_adjust_cfa_offset argument.
35906 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35907 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35908
35909 [BZ #18034]
35910 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35911 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35912 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35913 ordering using ldar.
35914 (_dl_tlsdesc_dynamic): Likewise.
35915 (_dl_tlsdesc_return_lazy): Likewise.
35916 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35917 relaxed atomics instead of volatile and synchronize with release store.
35918 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35919 volatile.
35920 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35921
35922 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35923
35924 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35925 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35926 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35927 * sysdeps/x86_64/fpu/Versions: New versions added.
35928 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35929 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35930 build of SSE, AVX2 and AVX512 IFUNC versions.
35931 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35932 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35933 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35934 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35935 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35936 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35937 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35938 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35939 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35940 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35941 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35942 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35943 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35944 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35945 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35946 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35947 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35948 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35949 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35950 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35951 * NEWS: Mention addition of x86_64 vector sinf.
35952
35953 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35954
35955 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35956 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35957 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35958 Remove variable.
35959 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35960 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35961
35962 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35963
35964 [BZ #18530]
35965 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35966 strong alias of _IO_fputs. Use libc_hidden_def.
35967 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35968 and define as weak alias of __fputs_unlocked. Use
35969 libc_hidden_weak.
35970 * include/stdio.h (__fputs_unlocked): Declare. Use
35971 libc_hidden_proto.
35972 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35973 fputs_unlocked.
35974
35975 [BZ #18529]
35976 * resolv/netdb.h [__USE_POSIX]: Change condition to
35977 [__USE_XOPEN2K].
35978 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35979 not expect.
35980 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35981 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35982 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35983 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35984 [XPG4 || UNIX98] (AI_ALL): Likewise.
35985 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35986 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35987 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35988 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35989 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35990 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35991 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35992 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35993 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35994 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35995 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35996 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35997 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35998 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35999 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36000 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36001 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36002 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36003 [XPG4 || UNIX98] (gai_strerror): Likewise.
36004 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36005 [XPG4 || UNIX98] (getnameinfo): Likewise.
36006
36007 [BZ #18528]
36008 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36009 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36010 __USE_XOPEN2K8].
36011 (getgrent): Likewise.
36012 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36013 expect.
36014 [XPG3 || POSIX2008] (endgrent): Likewise.
36015 [XPG3] (setgrent): Likewise.
36016 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36017 variable.
36018 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36019
36020 [BZ #18527]
36021 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36022 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36023 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36024 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36025 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36026 * include/unistd.h (__getlogin_r): Declare. Use
36027 libc_hidden_proto.
36028 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36029 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36030 variable.
36031 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36032 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36033 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36034
36035 2015-06-12 Martin Sebor <msebor@redhat.com>
36036
36037 [BZ #18512]
36038 * Makerules (check-install-supported): New target.
36039 (install): Add check-install-supported as a dependency.
36040 * manual/install.texi (Installing the C Library): Document
36041 that overriding prefix and exec_prefix is not supported.
36042 Mention DESTDIR.
36043 * INSTALL: Regenerate from the above.
36044
36045 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36046
36047 [BZ #18519]
36048 * posix/Versions (libc): Export __libc_pread at version
36049 GLIBC_PRIVATE.
36050 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36051 instead of pread.
36052 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36053 variable.
36054
36055 [BZ #18522]
36056 * misc/efgcvt_r.c
36057 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36058 (cvt_symbol): Use weak_alias instead of strong_alias.
36059 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36060 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36061 Remove variable.
36062 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36063 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36064
36065 [BZ #18520]
36066 * inet/herrno.c (h_errno): Rename to __h_errno.
36067 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36068 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36069 to __h_errno instead of h_errno.
36070 * nptl/herrno.c (h_errno): Rename to __h_errno.
36071 (__h_errno_location): Refer to __h_errno not h_errno.
36072 * resolv/Versions (h_errno): Rename to __h_errno.
36073 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36074 Remove variable.
36075 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36076
36077 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36078
36079 * configure.ac: More strict check for AVX512 assembler support.
36080 * configure: Regenerated.
36081
36082 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36083 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36084 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36085 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36086 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36087 * sysdeps/x86_64/fpu/Versions: New versions added.
36088 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36089 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36090 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36091 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36092 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36093 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36094 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36095 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36096 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36097 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36098 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36099 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36100 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36101 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36102 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36103 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36104 test.
36105 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36106 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36107 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36108 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36109 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36110 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36111 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36112 * NEWS: Mention addition of x86_64 vector sin.
36113
36114 2015-06-11 Florian Weimer <fweimer@redhat.com>
36115
36116 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36117 comment.
36118
36119 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36120
36121 [BZ #18479]
36122 * nptl/pt-interp.c: New file.
36123 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36124 Add pt-interp.
36125 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36126 $(common-objpfx)runtime-linker.h.
36127
36128 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36129
36130 * Makeconfig (+interp): Remove unused variable.
36131 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36132 only. Depend on $(common-objpfx)runtime-linker.h instead of
36133 $(elf-objpfx)runtime-linker.h.
36134 ($(elf-objpfx)runtime-linker.h): Rename to
36135 $(common-objpfx)runtime-linker.h and move ...
36136 * Makerules [$(build-shared) = yes]: ... here.
36137 * elf/interp.c: Include <runtime-linker.h> instead of
36138 <elf/runtime-linker.h>.
36139
36140 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36141
36142 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36143 (__gettimeofday_syscall): Remove vsyscall fallback.
36144 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36145 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36146 Add syscall fallback function.
36147 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36148 if vDSO is not present.
36149 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36150 fallback function.
36151 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36152 present.
36153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36154 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36155
36156 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36157
36158 [BZ #18497]
36159 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36160 of wcscmp.
36161 (wcscmp): Define as weak alias of WCSCMP.
36162 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36163 wcscoll.
36164 (USE_HIDDEN_DEF): Define.
36165 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36166 __wcscoll. Don't use libc_hidden_weak.
36167 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36168 wcscmp.
36169 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36170 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36171 __GI_wcscmp.
36172 (weak_alias): Undefine and redefine.
36173 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36174 __wcscmp and define as weak alias of __wcscmp.
36175 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36176 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36177 (__wcscoll): Likewise.
36178 (wcscmp): Don't use libc_hidden_proto.
36179 (wcscoll): Likewise.
36180 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36181 wcscoll.
36182 * posix/regexec.c (check_node_accept_bytes): Likewise.
36183 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36184 variable.
36185 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36186 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36187
36188 [BZ #18507]
36189 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36190 __fstatvfs and define as weak alias of __fstatvfs. Use
36191 libc_hidden_weak.
36192 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36193 and define as weak alias of __statvfs. Use libc_hidden_weak.
36194 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36195 Define as alias of __fstatvfs, not fstatvfs.
36196 (fstatvfs64): Likewise.
36197 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36198 Define as alias of __statvfs, not statvfs.
36199 (statvfs64): Likewise.
36200 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36201 Remove variable.
36202
36203 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36204
36205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36206 (HAVE_GETCPU_VSYSCALL): Define.
36207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36208 (HAVE_GETCPU_VSYSCALL): Likewise.
36209 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36210 * sysdeps/unix/sysv/linux/sched_getcpu.c
36211 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36212 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36213 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36214 prototype.
36215 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36216 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36217 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36219 Define.
36220 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36221 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36222 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36223 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36224
36225 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36226
36227 * sysdeps/x86_64/fpu/Makefile: New file.
36228 * sysdeps/x86_64/fpu/Versions: New file.
36229 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36230 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36231 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36232 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36233 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36234 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36235 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36237 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36238 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36239 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36240 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36241 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36242 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36243 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36244 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36245 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36246 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36247 * sysdeps/x86_64/configure: Regenerated.
36248 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36249 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36250 * manual/install.texi (Configuring and compiling): Document
36251 --disable-mathvec.
36252 * INSTALL: Regenerated.
36253 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36254
36255 * math/Makefile: Added rules for vector tests.
36256 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36257 declaration under condition.
36258 * math/test-double-vlen2.h: New file.
36259 * math/test-double-vlen4.h: New file.
36260 * math/test-double-vlen8.h: New file.
36261 * math/test-vec-loop.h: Added initialization macro.
36262 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36263 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36264 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36265 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36266 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36267 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36268 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36269 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36270 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36271 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36272 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36273
36274 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36275 * sysdeps/x86_64/fpu/Versions: New versions added.
36276 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36277 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36278 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36279 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36280 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36281 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36282 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36283 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36284 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36285 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36286 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36287 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36288 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36289 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36290 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36291 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36292 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36293 * NEWS: Mention addition of x86_64 vector cosf.
36294
36295 * math/Makefile: Added CFLAGS for new tests.
36296 * math/test-float-vlen16.h: New file.
36297 * math/test-float-vlen4.h: New file.
36298 * math/test-float-vlen8.h: New file.
36299 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36300 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36301 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36302 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36303 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36304 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36305 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36306 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36307 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36308 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36309 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36310
36311 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36312
36313 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36314 * locale/programs/ld-ctype.c: Likewise.
36315
36316 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36317
36318 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36319 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36320 bit_ZMM16_31_state): New macro.
36321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36322 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36323
36324 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36325
36326 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36327
36328 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36329
36330 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36331
36332 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36333
36334 [BZ #18498]
36335 * libio/memstream.c (open_memstream): Rename to __open_memstream
36336 and define as weak alias of __open_memstream.
36337 * include/stdio.h (__open_memstream): Declare. Use
36338 libc_hidden_proto.
36339 (open_memstream): Don't use libc_hidden_proto.
36340 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36341 open_memstream.
36342 * posix/getopt.c (_getopt_internal_r): Likewise.
36343 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36344 variable.
36345 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36346 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36347 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36348
36349 [BZ #18496]
36350 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36351 instead of wcrtomb.
36352
36353 [BZ #18483]
36354 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36355 [__USE_XOPEN2K8]. Remove redundant #endif.
36356 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36357 Remove redundant #if.
36358 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36359 Remove variable.
36360 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36361 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36362
36363 [BZ #18495]
36364 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36365 (__iswlower): Likewise.
36366 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36367 (__iswlower): Likewise.
36368 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36369 instead of towlower.
36370 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36371 instead of iswlower. Call __towupper instead of towupper.
36372 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36373 instead of iswalnum.
36374
36375 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36376
36377 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36378 errors to stderr.
36379
36380 2015-06-05 Florian Weimer <fweimer@redhat.com>
36381
36382 [BZ #15661]
36383 [BZ #17322]
36384 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36385 Check for overflow properly. Check for O_APPEND. Ignore large
36386 file system block sizes. Add comments about problems.
36387 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36388 * manual/filesys.texi (Storage Allocation): New node.
36389
36390 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36391
36392 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36393 cancellable syscalls.
36394 (SYS_ify): Add guard to no redefine it.
36395 (INLINE_SYSCALL): Likewise.
36396 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36397 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36398 SYSCALL_CANCEL instead.
36399 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36400 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36401 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36402 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36403 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36404 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36405 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36406 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36407 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36408 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36409 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36410 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36411 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36412 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36413 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36414 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36415 Likewise.
36416 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36417 (__libc_pread64): Likewise.
36418 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36419 (__libc_preadv): Likewise.
36420 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36421 (__libc_readv64): Likewise.
36422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36423 (__libc_pwrite): Likewise.
36424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36425 (__libc_pwrite64): Likewise.
36426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36427 (__libc_pwritev): Likewise.
36428 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36429 (__libc_pwritev64): Likewise.
36430 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36431 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36432 (sync_file_range): Likewise.
36433 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36434 Likewise.
36435 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36436 Likewise.
36437 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36438 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36439 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36440 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36441 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36442 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36443 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36444 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36446 Likewise.
36447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36448 (__libc_read64): Likewise.
36449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36450 Likewise.
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36452 Likewise.
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36454 Likewise.
36455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36456 Likewise.
36457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36458 (__libc_pread64): Likewise.
36459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36460 Likewise.
36461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36462 (__libc_pwrite64): Likewise.
36463 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36464 (sync_file_range): Likewise.
36465 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36466 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36467 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36468 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36469 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36470 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36471 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36472 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36473 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36474 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36475 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36476 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36477 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36478 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36479 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36480 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36481 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36482 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36483 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36484 Likewise.
36485 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36486 Likewise.
36487 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36488 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36489 Likewise.
36490 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36491 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36492 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36493 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36494 Likewise.
36495 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36496 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36497 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36498 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36499 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36500
36501 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36502
36503 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36504 Include dl-vdso.
36505 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36506 Use VDSO routines for gettimeofday, clock_gettime if
36507 available.
36508 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36509 Declare VDSO symbols.
36510 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36511 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36512 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36513 * sysdeps/unix/sysv/linux/arm/Versions: Add
36514 __vdso_clock_gettime.
36515
36516 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36517
36518 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36519 be an inline implementation regardless of library is built within.
36520 (open_not_cancel_2): Likewise.
36521 (__read_nocancel): Likewise.
36522 (__write_nocancel): Likewise.
36523 (openat_not_cancel): Likewise.
36524 (openat_not_cancel_3): Likewise.
36525 (openat64_not_cancel): Likewise.
36526 (openat64_not_cancel_3): Likewise.
36527 (__close_nocancel): Likewise.
36528 (pause_not_cancel): Likewise.
36529 (nanosleep_not_cancel): Likewise.
36530 (sigsuspend_not_cancel): Likewise.
36531
36532 2015-06-04 Torvald Riegel <triegel@redhat.com>
36533
36534 [BZ #14958]
36535 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36536 wake-up.
36537 (__pthread_rwlock_rdlock_slow): Likewise.
36538 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36539 Likewise.
36540 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36541 Likewise.
36542 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36543 * nptl/tst-rwlock16.c: New file.
36544 * nptl/Makefile (tests): Add new test.
36545
36546 2015-06-04 Torvald Riegel <triegel@redhat.com>
36547
36548 [BZ #18324]
36549 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36550 missing wake-up of readers.
36551 * nptl/tst-rwlock15.c: New file.
36552 * nptl/Makefile (tests): Add new test.
36553
36554 2015-06-03 Roland McGrath <roland@hack.frob.com>
36555
36556 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36557 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36558 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36559 and __nacl_supply_interface_rtld.
36560 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36561 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36562 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36563 Add __nacl_supply_interface_rtld.
36564 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36565
36566 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36567
36568 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36569 isfinite.
36570 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36571 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36572
36573 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36574
36575 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36576 __signbit* with standard C99 macros.
36577 * math/e_exp10l.c: Likewise.
36578 * math/e_exp2l.c: Likewise.
36579 * math/e_scalb.c: Likewise.
36580 * math/e_scalbf.c: Likewise.
36581 * math/e_scalbl.c: Likewise.
36582 * math/s_ldexp.c: Likewise.
36583 * math/s_ldexpf.c: Likewise.
36584 * math/s_ldexpl.c: Likewise.
36585 * math/w_atan2.c: Likewise.
36586 * math/w_atan2f.c: Likewise.
36587 * math/w_atan2l.c: Likewise.
36588 * math/w_cosh.c: Likewise.
36589 * math/w_coshf.c: Likewise.
36590 * math/w_coshl.c: Likewise.
36591 * math/w_exp10.c: Likewise.
36592 * math/w_exp10f.c: Likewise.
36593 * math/w_exp10l.c: Likewise.
36594 * math/w_exp2.c: Likewise.
36595 * math/w_exp2f.c: Likewise.
36596 * math/w_exp2l.c: Likewise.
36597 * math/w_fmod.c: Likewise.
36598 * math/w_fmodf.c: Likewise.
36599 * math/w_fmodl.c: Likewise.
36600 * math/w_hypot.c: Likewise.
36601 * math/w_hypotf.c: Likewise.
36602 * math/w_hypotl.c: Likewise.
36603 * math/w_jnl.c: Likewise.
36604 * math/w_lgamma.c: Likewise.
36605 * math/w_lgamma_r.c: Likewise.
36606 * math/w_lgammaf.c: Likewise.
36607 * math/w_lgammaf_r.c: Likewise.
36608 * math/w_lgammal.c: Likewise.
36609 * math/w_lgammal_r.c: Likewise.
36610 * math/w_pow.c: Likewise.
36611 * math/w_powf.c: Likewise.
36612 * math/w_powl.c: Likewise.
36613 * math/w_remainder.c: Likewise.
36614 * math/w_remainderf.c: Likewise.
36615 * math/w_remainderl.c: Likewise.
36616 * math/w_scalb.c: Likewise.
36617 * math/w_scalbf.c: Likewise.
36618 * math/w_scalbl.c: Likewise.
36619 * math/w_scalbln.c: Likewise.
36620 * math/w_scalblnf.c: Likewise.
36621 * math/w_scalblnl.c: Likewise.
36622 * math/w_sinh.c: Likewise.
36623 * math/w_sinhf.c: Likewise.
36624 * math/w_sinhl.c: Likewise.
36625 * math/w_tgamma.c: Likewise.
36626 * math/w_tgammaf.c: Likewise.
36627 * math/w_tgammal.c: Likewise.
36628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36629 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36630 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36634 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36636 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36637 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36638 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36639 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36656 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36659 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36660 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36661 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36662 * stdio-common/printf_fp.c: Likewise.
36663 * stdio-common/printf_fphex.c: Likewise.
36664 * stdio-common/printf_size.c: Likewise.
36665
36666 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36667
36668 [BZ #18470]
36669 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36670 strnlen.
36671 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36672 Remove variable.
36673 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36674 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36675 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36676 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36677 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36678 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36679 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36680 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36681 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36682 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36683
36684 [BZ #18468]
36685 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36686 weak alias of __wmemchr. Use libc_hidden_weak.
36687 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36688 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36689 instead of wmemchr.
36690
36691 2015-06-02 Roland McGrath <roland@hack.frob.com>
36692
36693 [BZ #18383]
36694 * elf/tst-tlsalign-extern.c: New file.
36695 * elf/tst-tlsalign-extern-static.c: New file.
36696 * elf/tst-tlsalign-vars.c: New file.
36697 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36698 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36699 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36700 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36701 (test-xfail-tst-tlsalign-extern-static): New variable.
36702
36703 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36704
36705 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36706 Use variable name _sc_err instead of err.
36707 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36708 instead of ret.
36709 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36710 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36711 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36712 (INLINE_SYSCALL): Likewise.
36713
36714 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36715 * include/string.h (__strnlen): Use libc_hidden_proto.
36716 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36717 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36718 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36719 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36720 (libc_hidden_def): Undefine and redefine.
36721 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36722 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36723 __GI_strnlen.
36724 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36725 libc_hidden_def.
36726 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36727
36728 [BZ #18469]
36729 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36730 weak alias of __towlower. Use libc_hidden_weak.
36731 (towupper): Rename to __towupper and define as weak alias of
36732 __towupper. Use libc_hidden_weak.
36733 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36734 (__towupper): Likewise.
36735 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36736 __towlower instead of towlower.
36737
36738 2015-06-02 Roland McGrath <roland@hack.frob.com>
36739
36740 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36741 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36742
36743 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36744
36745 * sysdeps/aarch64/libm-test-ulps: Update.
36746
36747 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36748
36749 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36750 Define.
36751 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36753 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36754 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36755 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36756 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36757 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36758
36759 2015-06-01 Martin Sebor <msebor@redhat.com>
36760
36761 [BZ #18116]
36762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36763 (__setcontext): Use extended four-operand version of mtsf whenever
36764 possible.
36765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36766 (__novec_swapcontext): Likewise.
36767
36768 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36769
36770 * benchtests/scripts/compare_bench.py: New file.
36771 * benchtests/scripts/import_bench.py (mean): New function.
36772 (split_list): Likewise.
36773 (do_for_all_timings): Likewise.
36774 (compress_timings): Likewise.
36775
36776 * benchtests/scripts/import_bench.py: New file.
36777 * benchtests/scripts/validate_benchout.py: Import import_bench
36778 instead of jsonschema.
36779 (validate_bench): Remove function.
36780 (main): Use import_bench.
36781
36782 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36783
36784 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36785 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36786
36787 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36788
36789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36790
36791 2015-05-28 Roland McGrath <roland@hack.frob.com>
36792
36793 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36794 set THREAD_SELF->tid to a magic value and futex-wake it.
36795 Pass its address to the thread_exit system call.
36796 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36797 bit is clear.
36798 * sysdeps/nacl/lowlevellock.h: New file.
36799 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36800
36801 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36802 Add TIMEOUT to current time, don't subtract it.
36803
36804 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36805
36806 [BZ #2981]
36807 [BZ #18422]
36808 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36809 ($(objpfx)tst-audit2.out): Also depend on
36810 $(objpfx)tst-auditmod9b.so.
36811 * elf/tst-audit2.c: Include <dlfcn.h>.
36812 (calloc_called): New.
36813 (calloc): Allow to be called more than once.
36814 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36815
36816 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36817
36818 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36819 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36820
36821 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36822
36823 * stdlib/monetary.h: Fix comment.
36824
36825 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36826
36827 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36828 Avoid using variables in #defines that might cause shadowing.
36829 (INTERNAL_VSYSCALL_CALL): Likewise.
36830
36831 2015-05-26 Roland McGrath <roland@hack.frob.com>
36832
36833 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36834
36835 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36836 * nptl/lll_timedlock_wait.c: ... to this new file.
36837 * nptl/Makefile (libpthread-routines): Add it.
36838 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36839 * nptl/lll_timedwait_tid.c: ... to this new file.
36840 * nptl/Makefile (libpthread-routines): Add it.
36841 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36842 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36843 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36844 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36845 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36846 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36847 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36848 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36849 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36850 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36851
36852 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36853
36854 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36855 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36856 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36858 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36860 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36862 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36863 * sysdeps/unix/sysv/linux/tile/sysdep.h
36864 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36865 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36866 using vDSO syscall macro.
36867
36868 2015-05-26 Andriy Rysin <arysin@gmail.com>
36869
36870 [BZ #17293]
36871 * uk_UA: Fix sorting order for Ukrainian locale
36872
36873 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36874
36875 * stdlib/monetary.h: Fix comment.
36876
36877 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36878
36879 [BZ #18234]
36880 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36881 st_mtim and st_ctim members.
36882 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36883 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36884 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36885 (struct stat64): Likewise.
36886 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36887 (struct stat64): Likewise.
36888 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36889 (struct stat64): Likewise.
36890
36891 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36892
36893 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36894 Define and include sysdep-vdso.h.
36895 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36896 Likewise.
36897 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36898 Likewise.
36899 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36900 Define with VDSO_SYMBOL and use PTR_MANGLE.
36901 (__vdso_clock_gettime): Likewise.
36902 (__vdso_clock_getres): Likewise.
36903 (_libc_vdso_platform_setup): Likewise.
36904 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36905 Likewise.
36906 (_libc_vdso_platform_setup): Likewise.
36907 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36908 Likewise.
36909 (__vdso_clock_gettime): Likewise.
36910 (__vdso_clock_getres): Likewise.
36911 (__vdso_get_tbfreq): Likewise.
36912 (__vdso_getcpu): Likewise.
36913 (__vdso_time): Likewise.
36914 (__vdso_sigtramp_rt64): Likewise.
36915 (__vdso_signtramp32): Likewise.
36916 (__vdso_sigtramp_rt32): Likewise.
36917 (_libc_vdso_platform_setup): Likewise.
36918 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36919 Likewise.
36920 (__vdso_clock_gettime): Likewise.
36921 (__vdso_clock_getres): Likewise.
36922 (_libc_vdso_platform_setup): Likewise.
36923 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36924 Likewise.
36925 (__vdso_clock_gettime): Likewise.
36926 (_libc_vdso_platform_setup): Likewise.
36927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36928 Likewise.
36929 (__vdso_getcpu): Likewise.
36930 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36931 Use VDSO_SYMBOL macro to define.
36932 (__vdso_clock_gettime): Likewise.
36933 (__vdso_clock_getres): Likewise.
36934 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36935 Likewise.
36936 (__vdso_clock_gettime): Likewise.
36937 (__vdso_clock_getres): Likewise.
36938 (__vdso_get_tbfreq): Likewise.
36939 (__vdso_getcpu): Likewise.
36940 (__vdso_time): Likewise.
36941 (__vdso_sigtramp_rt64): Likewise.
36942 (__vdso_signtramp32): Likewise.
36943 (__vdso_sigtramp_rt32): Likewise.
36944 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36945 Likewise.
36946 (__vdso_clock_gettime): Likewise.
36947 (__vdso_clock_getres): Likewise.
36948 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36949 Likewise.
36950 (__vdso_clock_gettime): Likewise.
36951 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36952 Likewise.
36953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36954 macro.
36955 (INTERNAL_VSYSCALL): Likewise.
36956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36957 Remove macro.
36958 (INTERNAL_VSYSCALL): Likewise.
36959 (INTERNAL_VSYSCALL_NCS): Likewise.
36960 (INTERNAL_VSYSCALL_CALL): New macro.
36961 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36963 Likewise.
36964 (INTERNAL_VSYSCALL): Likewise.
36965 (INTERNAL_VSYSCALL_NCS): Likewise.
36966 (INTERNAL_VSYSCALL_CALL): New macro.
36967 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36969 (INLINE_VSYSCALL): Remove macro.
36970 (INTERNAL_VSYSCALL): Remove macro.
36971 (INTERNAL_VSYSCALL_NCS): Remove macro.
36972 (INTERNAL_VSYSCALL_CALL): New macro.
36973 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36974 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36975 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36976 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36977 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36979 (INLINE_VSYSCALL): Remove macro.
36980 (INTERNAL_VSYSCALL): Likewise.
36981 (INTERNAL_VSYSCALL_NCS): Likewise.
36982 (INTERNAL_VSYSCALL_CALL): New macro.
36983 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36984 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36985 PTR_DEMANGLE on vDSO pointer.
36986 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36987 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36988 macro.
36989 (INTERNAL_SYSCALL): Likewise.
36990 (INTERNAL_VSYSCALL_NCS): Remove macro.
36991 (INTERNAL_VSYSCALL_CALL): New macro.
36992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36993 Remove macro.
36994 (INTERNAL_VSYSCALL): Likewise.
36995 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36996 sysdep-vdso.h instead of libc-vdso.h.
36997 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36998 definition.
36999 (INLINE_VSYSCALL): Likewise.
37000 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37001 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37002 definition.
37003 (INLINE_VSYSCALL): Likewise.
37004 (INTERNAL_VSYSCALL): Likewise.
37005 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37006 * sysdeps/unix/sysv/linux/timespec_get.c
37007 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37008 (timespec_get): Use ANSI prototype.
37009 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37010 and definition for Linux.
37011
37012 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37013
37014 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37015 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37016
37017 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37018
37019 [BZ #2981]
37020 [BZ #18410]
37021 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37022 for missing DT_PLTRELSZ.
37023
37024 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37025
37026 Remove obsolete aliases that broke 'locale -a'
37027 [BZ #18412]
37028 * intl/locale.alias: Remove obsolete aliases "bokmÄl" and "français"
37029 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37030 breaking some applications that use 'locale -a' output.
37031 Change the encoding of this file from Latin-1 to ASCII to avoid
37032 other potential problems with people grepping this file.
37033
37034 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37035
37036 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37037 -fasynchronous-unwind-tables.
37038 (CFLAGS-sendto.c): Likewise.
37039 (CFLAGS-sendmsg.c): Likewise.
37040 (CFLAGS-connect.c): Likewise.
37041 (CFLAGS-recvmsg.c): Likewise.
37042 (CFLAGS-recvfrom.c): Likewise.
37043 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37044 (SOCKETCALL): New macro: non-cancellable socketcall.
37045 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37046 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37047 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37048 * sysdeps/unix/sysv/linux/accept.c: New file.
37049 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37050 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37051 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37052 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37053 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37054 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37055 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37056 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37057 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37058 * sysdeps/unix/sysv/linux/send.c: Likewise.
37059 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37060 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37061 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37062 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37063 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37064 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37065 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37066 prototype.
37067 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37068 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37069 instead of __internal_xxx function.
37070 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37071 prototype.
37072 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37073 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37074 instead of __internal_xxx function.
37075 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37076 prototype.
37077 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37078 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37079 instead of __internal_xxx function.
37080 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37081 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37082 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37083 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37084 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37085 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37086 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37087 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37088 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37089 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37090 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37091 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37092 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37093 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37094 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37095 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37096 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37097 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37098 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37099 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37102 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37103 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37104 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37105 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37106 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37107 * sysdeps/unix/sysv/linux/send.S: Likewise.
37108 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37109 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37110 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37111 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37112 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37113 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37114 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37115 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37116 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37117 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37118 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37119 socketcall is implemented in GLIBC.
37120
37121 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37122
37123 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37124 (__fma): Ignore uninitialized warnings around packing.
37125 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37126 (__fmaf): Ignore uninitialized warnings around packing.
37127 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37128 (__fmal): Ignore uninitialized warnings around packing.
37129
37130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37131 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37132 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37133 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37134
37135 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37136 switch statement into default case.
37137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37138
37139 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37140 a conditional in forcing "inexact".
37141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37142 Likewise.
37143
37144 2015-05-22 Roland McGrath <roland@hack.frob.com>
37145
37146 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37147 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37148 for each INTERNAL_SYSCALL use.
37149
37150 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37151
37152 [BZ #438]
37153 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37154 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37155 variable.
37156
37157 [BZ #18444]
37158 * string/basename.c (basename): Rename to __basename and define as
37159 weak alias of __basename. Use libc_hidden_weak.
37160 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37161 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37162 __basename instead of basename.
37163 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37164 Remove variable.
37165 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37166
37167 2015-05-18 Florian Weimer <fweimer@redhat.com>
37168
37169 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37170 (_IO_JUMPS_FILE_plus): New.
37171 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37172 _IO_CAST_FIELD_ACCESS.
37173 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37174 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37175 * libio/freopen.c (freopen): Likewise.
37176 * libio/freopen64.c (freopen64): Likewise.
37177 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37178 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37179 * libio/iofwide.c (_IO_fwide): Likewise.
37180 * libio/memstream.c (open_memstream): Likewise.
37181 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37182 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37183 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37184
37185 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37186
37187 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37188 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37189 NADJ.
37190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37191 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37192 NADJ.
37193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37194 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37195 NADJ.
37196
37197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37198 (p == 4) case.
37199
37200 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37201 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37202 Remove variable.
37203 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37204 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37205 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37206
37207 2015-05-21 Florian Weimer <fweimer@redhat.com>
37208
37209 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37210 Adjust jump table label generation macros.
37211
37212 2015-05-21 Florian Weimer <fweimer@redhat.com>
37213
37214 * stdio-common/vfprintf.c (vfprintf): Move local variables
37215 args_malloced, specs, specs_malloced, and the code after
37216 do_positional to the printf_positional function.
37217 (printf_positional): New function.
37218
37219 2015-05-21 Florian Weimer <fweimer@redhat.com>
37220
37221 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37222 function.
37223 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37224 STEP4_TABLE, process_arg): Move macro definitions
37225 out of the vfprintf function. (Cosmetic change only.)
37226
37227 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37228
37229 * benchtests/Makefile (stdio-common-bench): Define.
37230 (benchset): Add stdio-common-bench.
37231 * sprintf-inputs: New file.
37232 * sprintf-source.c: New file.
37233
37234 2015-05-21 Andreas Schwab <schwab@suse.de>
37235
37236 [BZ #13028]
37237 [BZ #17053]
37238 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37239 of struct __res_state.
37240 * resolv/res_send.c (__libc_res_nsend): Likewise.
37241 (get_nsaddr): New function.
37242 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37243 statp directly.
37244
37245 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37246
37247 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37248 -D_POSIX_C_SOURCE=199506L.
37249
37250 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37251
37252 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37253 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37254 Do not mention otherwise.
37255 [POSIX] (_XOPEN_VERSION): Do not expect.
37256 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37257 [POSIX] (_POSIX2_C_BIND): Likewise.
37258 [POSIX] (_POSIX2_VERSION): Likewise.
37259 [POSIX] (_XOPEN_XPG2): Likewise.
37260 [POSIX] (_XOPEN_XPG3): Likewise.
37261 [POSIX] (_XOPEN_XPG4): Likewise.
37262 [POSIX] (_XOPEN_UNIX): Likewise.
37263 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37264 [POSIX] (_POSIX_BARRIERS): Likewise.
37265 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37266 [POSIX] (_POSIX_CPUTIME): Likewise.
37267 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37268 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37269 [POSIX] (_POSIX_SHELL): Likewise.
37270 [POSIX] (_POSIX_SPAWN): Likewise.
37271 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37272 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37273 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37274 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37275 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37276 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37277 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37278 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37279 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37280 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37281 [POSIX] (_POSIX2_PBS): Likewise.
37282 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37283 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37284 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37285 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37286 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37287 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37288 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37289 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37290 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37291 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37292 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37293 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37294 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37295 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37296 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37297 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37298 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37299 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37300 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37301 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37302 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37303 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37304 [POSIX] (_SC_2_C_BIND): Likewise.
37305 [POSIX] (_SC_2_C_VERSION): Likewise.
37306 [POSIX] (_SC_2_PBS): Likewise.
37307 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37308 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37309 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37310 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37311 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37312 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37313 [POSIX] (_SC_BARRIERS): Likewise.
37314 [POSIX] (_SC_BASE): Likewise.
37315 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37316 [POSIX] (_SC_DEVICE_IO): Likewise.
37317 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37318 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37319 [POSIX] (_SC_FD_MGMT): Likewise.
37320 [POSIX] (_SC_FIFO): Likewise.
37321 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37322 [POSIX] (_SC_FILE_LOCKING): Likewise.
37323 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37324 [POSIX] (_SC_IOV_MAX): Likewise.
37325 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37326 [POSIX] (_SC_NETWORKING): Likewise.
37327 [POSIX] (_SC_PAGE_SIZE): Likewise.
37328 [POSIX] (_SC_PASS_MAX): Likewise.
37329 [POSIX] (_SC_PIPE): Likewise.
37330 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37331 [POSIX] (_SC_REGEXP): Likewise.
37332 [POSIX] (_SC_SHELL): Likewise.
37333 [POSIX] (_SC_SIGNALS): Likewise.
37334 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37335 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37336 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37337 [POSIX] (_SC_USER_GROUPS): Likewise.
37338 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37339 [POSIX] (_SC_STREAMS): Likewise.
37340 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37341 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37342 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37343 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37344 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37345 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37346 [POSIX] (_PC_FILESIZEBITS): Likewise.
37347 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37348 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37349 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37350 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37351 [POSIX] (uid_t): Likewise.
37352 [POSIX] (gid_t): Likewise.
37353 [POSIX] (off_t): Likewise.
37354 [POSIX] (pid_t): Likewise.
37355 [POSIX] (cuserid): Allow.
37356 (_SC_2_CHAR_TERM): Require constant.
37357 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37358 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37359 variable.
37360
37361 2015-05-20 Roland McGrath <roland@hack.frob.com>
37362
37363 * sysdeps/nacl/pthread-pids.h: New file.
37364 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37365 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37366
37367 * nptl/pthread-pids.h: New file.
37368 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37369 * nptl/nptl-init.c: Include <pthread-pids.h>.
37370 (__pthread_initialize_minimal_internal):
37371 Call __pthread_initialize_pids instead of set_tid_address syscall.
37372
37373 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37374 * sysdeps/posix/usleep.c: ... here.
37375
37376 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37377
37378 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37379 call_pselect6 object.
37380 [$(subdir) = io]: Remove call_sync_file_range object.
37381 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37382 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37383 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37384 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37385
37386 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37387
37388 * math/s_cproj.c: Add include "math_private.h".
37389 * math/s_cprojf.c: Likewise.
37390 * math/s_cprojl.c: Likewise.
37391
37392 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37393
37394 [BZ #18244]
37395 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37396 high mantissa bit when testing whether P is a NaN.
37397 * math/libm-test.inc (remainder_test_data): Add more tests.
37398 (remquo_test_data): Likewise.
37399
37400 [BZ #18049]
37401 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37402 below -32, return the argument, with underflow if subnormal.
37403 * math/auto-libm-test-in: Add more tests of atanh.
37404 * math/auto-libm-test-out: Regenerated.
37405
37406 2015-05-19 Roland McGrath <roland@hack.frob.com>
37407
37408 [BZ #18434]
37409 * nptl/tst-sem15.c: New file.
37410 * nptl/Makefile (tests): Add it.
37411 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37412 s/<</>>/ to fix typo in EOVERFLOW check.
37413 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37414
37415 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37416
37417 * manual/strings.texi (envz_remove): Fix typo in safety
37418 annotations.
37419
37420 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37421 Steve Ellcey <sellcey@imgtec.com>
37422
37423 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37424 in order to avoid strict alias warnings.
37425 (iruserok_af): Ditto for ra.
37426
37427 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37428
37429 [BZ #17581]
37430 * malloc/hooks.c
37431 (magicbyte): Convert to a function and avoid returning 0x01.
37432 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37433 (mem2chunk_check): Fix unsigned comparisons to zero.
37434 Hoist defs of sz and magic.
37435
37436 2015-05-19 Richard Henderson <rth@redhat.com>
37437
37438 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37439
37440 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37441
37442 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37443
37444 [BZ #16159]
37445 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37446 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37447 (reused_arena): Find a non-corrupt arena.
37448 (heap_trim): Pass arena to unlink.
37449 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37450 malloc_printerr.
37451 (top_check): Likewise.
37452 (free_check): Likewise.
37453 (realloc_check): Likewise.
37454 * malloc/malloc.c (malloc_printerr): Add arena argument.
37455 (unlink): Likewise.
37456 (munmap_chunk): Adjust.
37457 (ARENA_CORRUPTION_BIT): New macro.
37458 (arena_is_corrupt): Likewise.
37459 (set_arena_corrupt): Likewise.
37460 (sysmalloc): Use mmap if there are no usable arenas.
37461 (_int_malloc): Likewise.
37462 (__libc_malloc): Don't fail if arena_get returns NULL.
37463 (_mid_memalign): Likewise.
37464 (__libc_calloc): Likewise.
37465 (__libc_realloc): Adjust for additional argument to
37466 malloc_printerr.
37467 (_int_free): Likewise.
37468 (malloc_consolidate): Likewise.
37469 (_int_realloc): Likewise.
37470 (_int_memalign): Don't touch corrupt arenas.
37471 * malloc/tst-malloc-backtrace.c: New test case.
37472
37473 * Makefile (summarize-tests): Fix return value on success.
37474
37475 * manual/string.texi (Envz Functions): Add envz_remove.
37476
37477 2015-05-18 Roland McGrath <roland@hack.frob.com>
37478
37479 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37480 (invalid_name): New function, broken out of ...
37481 (__opendirat): ... here. Call it.
37482 (need_isdir_precheck): New function, broken out of ...
37483 (__opendirat): ... here. Call it.
37484 Use __fxstatat64, not __xstatat64.
37485 (opendir_oflags): New function, broken out of ...
37486 (__opendirat): ... here. Call it.
37487 (opendir_tail): New function, broken out of ...
37488 (__opendirat): ... here. Call it.
37489 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37490 opendir_tail, rather than punting to __opendirat.
37491 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37492
37493 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37494
37495 * .gitignore: Ignore generated *.pyc.
37496
37497 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37498
37499 * include/stdio.h: Define __need_wint_t.
37500 * test-skeleton.c: Avoid `for' loop initial declaration.
37501 * nptl/tst-initializers1.c: Use test-skeleton.c.
37502
37503 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37504
37505 [BZ #18418]
37506 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37507
37508 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37509
37510 [BZ #16352]
37511 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37512 (__ieee754_atanh): Force underflow exception for results with
37513 small absolute value.
37514 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37515 (__ieee754_atanhf): Force underflow exception for results with
37516 small absolute value.
37517 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37518 (__ieee754_atanh): Force underflow exception for results with
37519 small absolute value.
37520 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37521 (__ieee754_atanhf): Force underflow exception for results with
37522 small absolute value.
37523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37524 (__ieee754_atanhl): Force underflow exception for results with
37525 small absolute value.
37526 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37527 (__ieee754_atanhl): Force underflow exception for results with
37528 small absolute value.
37529 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37530 (__ieee754_atanhl): Force underflow exception for results with
37531 small absolute value.
37532 * math/auto-libm-test-in: Do not allow missing underflow
37533 exceptions from atanh.
37534 * math/auto-libm-test-out: Regenerated.
37535
37536 [BZ #18221]
37537 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37538 2**-28 as threshold for returning x or +/- 1/x.
37539 * math/auto-libm-test-in: Add more tests of tan.
37540 * math/auto-libm-test-out: Regenerated.
37541
37542 [BZ #18220]
37543 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37544 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37545 * math/auto-libm-test-in: Add another test of lgamma.
37546 * math/auto-libm-test-out: Regenerated.
37547
37548 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37549
37550 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37551 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37552 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37553 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37554 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37555 (ADD2A): Use fabs. (SUB2A): Use fabs.
37556 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37559 (log1): Use fabs. (my_log2): Use fabs.
37560 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37561 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37562 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37563 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37565 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37566 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37567 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37568 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37569 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37570 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37571
37572 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37573
37574 [BZ #18217]
37575 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37576 as threshold for returning 1 - x.
37577 * math/auto-libm-test-in: Add more tests of erfc.
37578 * math/auto-libm-test-out: Regenerated.
37579
37580 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37581
37582 [BZ #18196]
37583 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37584 threshold for large arguments.
37585 * math/auto-libm-test-in: Add another test of atan.
37586 * math/auto-libm-test-out: Regenerated.
37587
37588 [BZ #16339]
37589 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37590 (__log1p): Force underflow exception for results with small
37591 absolute value.
37592 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37593 (__log1pf): Force underflow exception for results with small
37594 absolute value.
37595 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37596 (__log1p): Force underflow exception for results with small
37597 absolute value.
37598 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37599 (__log1pf): Force underflow exception for results with small
37600 absolute value.
37601 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37602 (__log1pl): Force underflow exception for results with small
37603 absolute value.
37604 * math/auto-libm-test-in: Do not allow missing underflow
37605 exceptions from log1p.
37606 * math/auto-libm-test-out: Regenerated.
37607
37608 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37609 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37610
37611 [BZ #16704]
37612 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37613
37614 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37615
37616 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37617 (libmvec): New variable.
37618 * configure.ac: Added option for mathvec build.
37619 * configure: Regenerated.
37620 * mathvec/Depend: New file.
37621 * mathvec/Makefile: New file.
37622 * shlib-versions: Added libmvec.
37623 * math/Makefile: Added rule for libm.so installation.
37624
37625 * bits/math-vector.h: New file.
37626 * bits/libm-simd-decl-stubs.h: New header.
37627 * math/Makefile (headers): Added new header
37628 libm-simd-decl-stubs.h.
37629 * math/math.h (__MATHCALL_VEC): New macro.
37630
37631 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37632 for conditions in testing functions.
37633 * math/Makefile: Added call of libm-have-vector-test.sh.
37634 * math/libm-test.inc (HAVE_VECTOR): New macros.
37635
37636 * math/libm-test.inc: START refactored.
37637 * math/test-double.c (TEST_MATHVEC): Add define.
37638 * math/test-float.c: Likewise.
37639 * math/test-idouble.c: Likewise.
37640 * math/test-ifloat.c: Likewise.
37641 * math/test-ildoubl.c: Likewise.
37642 * math/test-ldouble.c: Likewise.
37643 * sysdeps/generic/math-tests-arch.h
37644 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37645 architecture check.
37646
37647 * math/test-double.c (FUNC_TEST): New macro.
37648 * math/test-float.c: Likewise.
37649 * math/test-idouble.c: Likewise.
37650 * math/test-ifloat.c: Likewise.
37651 * math/test-ildoubl.c: Likewise.
37652 * math/test-ldouble.c: Likewise.
37653 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37654
37655 2015-05-13 Roland McGrath <roland@hack.frob.com>
37656
37657 * sysdeps/nacl/fdopendir.c: New file.
37658
37659 * dirent/scandir-tail.c: New file.
37660 * dirent/scandir64-tail.c: New file.
37661 * dirent/Makefile (routines): Add them.
37662 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37663 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37664 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37665 [!SCANDIR] (SCANDIR_TAIL): New macro.
37666 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37667 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37668 (SCANDIRAT): Macro removed.
37669 (SCANDIR_TAIL): New macro.
37670 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37671 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37672 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37673 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37674 (READDIR): Macro removed.
37675 (SCANDIR_TAIL): New macro.
37676 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37677 (SCANDIR_TAIL): New macro.
37678
37679 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37680 * dirent/scandir-cancel.c: ... to this new file.
37681 * dirent/Makefile (routines): Add it.
37682 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37683 * sysdeps/unix/sysv/linux/i386/scandir64.c
37684 (SKIP_SCANDIR_CANCEL): Macro removed.
37685 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37686
37687 * dirent/tst-scandir.c: New file.
37688 * dirent/tst-scandir64.c: New file.
37689 * dirent/Makefile (tests): Add them.
37690
37691 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37692
37693 [BZ #18409]
37694 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37695
37696 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37697
37698 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37699 list.
37700
37701 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37702
37703 * benchtests/bench-strcoll.c: New benchmark.
37704 * benchtests/Makefile: Generate locales and run benchmark.
37705 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37706 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37707 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37708 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37709 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37710 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37711 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37712 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37713 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37714 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37715 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37716 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37717 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37718 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37719 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37720 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37721 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37722 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37723 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37724 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37725 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37726 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37727 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37728 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37729
37730 2015-05-12 Ondƙej Bílka <neleai@seznam.cz>
37731
37732 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37733 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37734
37735 2015-05-12 Roland McGrath <roland@hack.frob.com>
37736
37737 * posix/uname-values.h: New file.
37738 * posix/uname.c: Include that instead of <config-name.h>.
37739 * sysdeps/nacl/uname-values.h: New file.
37740 * sysdeps/arm/nacl/uname-values.h: New file.
37741
37742 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37743
37744 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37745 splitting into fields.
37746
37747 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37748
37749 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37750 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37751 * locale/localeinfo.h: Add enum collation_encoding_type.
37752 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37753 * programs/ld-collate.c (collate_output): Add encoding type info.
37754 * string/strcoll_l.c (STRDIFF): New function.
37755 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37756 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37757
37758 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37759
37760 [BZ #18397]
37761 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37762 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37763 <fpu_control.h> instead of <math/fpu_control.c>.
37764 * sysdeps/mips/mips32/fpu/Makefile: New file.
37765
37766 2015-05-11 Andreas Schwab <schwab@suse.de>
37767
37768 [BZ #18007]
37769 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37770 nss_endgrent.
37771 (_nss_compat_endgrent): Call nss_endgrent.
37772 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37773 nss_endpwent.
37774 (_nss_compat_endpwent): Call nss_endpwent.
37775 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37776 needent, call nss_setspent only if non-zero.
37777 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37778 (internal_endspent): Don't call nss_endspent.
37779 (_nss_compat_endspent): Call nss_endspent.
37780 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37781 Remove. All uses removed.
37782 (internal_setent): Remove parameter stayopen, add parameter
37783 stream. Use it instead of global variable.
37784 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37785 (internal_endent, internal_getent): Add parameter stream. Use it
37786 instead of global variable.
37787 (CONCAT(_nss_files_end,ENTNAME))
37788 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37789 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37790 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37791 uses removed.
37792 (internal_setent, internal_endent): Add parameter stream. Use it
37793 instead of global variable.
37794 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37795 stream.
37796 (get_next_alias): Add parameter stream.
37797 (_nss_files_getaliasent_r): Pass global stream.
37798 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37799 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37800 (_nss_files_gethostbyname4_r): Pass local stream to
37801 internal_setent, internal_getent and internal_endent. Remove
37802 locking.
37803
37804 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37805
37806 * tst-strfmon1.c (tests): Update expected currency symbol.
37807
37808 2015-05-08 Roland McGrath <roland@hack.frob.com>
37809
37810 * sysdeps/nacl/gethostname.c: New file.
37811
37812 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37813
37814 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37815 and sinh.
37816 * math/auto-libm-test-out: Regenerated.
37817 * sysdeps/i386/fpu/libm-test-ulps: Update.
37818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37819
37820 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37821
37822 [BZ #18125]
37823 * stdlib/tst-setcontext3.c: New file.
37824 * stdlib/tst-setcontext3.sh: New file.
37825 * stdlib/Makefile (tests): Add tst-setcontext3.
37826 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37827 to verify test program created output file.
37828 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37829 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37830 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37831 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37832
37833 2015-05-06 Roland McGrath <roland@hack.frob.com>
37834
37835 [BZ #18383]
37836 * elf/tst-tlsalign.c: New file.
37837 * elf/tst-tlsalign-static.c: New file.
37838 * elf/tst-tlsalign-lib.c: New file.
37839 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37840 (tests-static): Add tst-tlsalign-static.
37841 (modules-names): Add tst-tlsalign-lib.
37842 (test-xfail-tst-tlsalign): New variable.
37843 (test-xfail-tst-tlsalign-static): New variable.
37844
37845 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37846 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37847
37848 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37849
37850 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37851 csqrt, erfc, sin and sincos.
37852 * math/auto-libm-test-out: Regenerated.
37853 * sysdeps/i386/fpu/libm-test-ulps: Update.
37854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37855
37856 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37857
37858 * sysdeps/aarch64/libm-test-ulps: Update.
37859
37860 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37861
37862 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37863 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37864 * math/auto-libm-test-out: Regenerated.
37865 * sysdeps/i386/fpu/libm-test-ulps: Update.
37866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37867
37868 2015-04-30 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
37869
37870 [BZ #18265]
37871 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37872 (wcsncpy): Likewise.
37873
37874 2015-05-05 Florian Weimer <fweimer@redhat.com>
37875
37876 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37877 Assume __ASSUME_FALLOCATE is always true.
37878 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37879 (__posix_fallocate64_l64): Likewise.
37880 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37881 (posix_fallocate): Likewise.
37882 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37883 (__posix_fallocate64_l64): Likewise.
37884 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37885 [!__ASSUME_FALLOCATE]: Add comment.
37886
37887 2015-05-05 Florian Weimer <fweimer@redhat.com>
37888
37889 * sysdeps/unix/sysv/linux/i386/Makefile
37890 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37891 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37892 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37893 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37894 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37895 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37896 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37897
37898 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37899
37900 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37901 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37902 tgamma.
37903 * math/auto-libm-test-out: Regenerated.
37904 * sysdeps/i386/fpu/libm-test-ulps: Update.
37905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37906
37907 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37908
37909 * math/auto-libm-test-in: Add more tests of tgamma.
37910 * math/auto-libm-test-out: Regenerated.
37911 * sysdeps/i386/fpu/libm-test-ulps: Update.
37912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37913
37914 * math/auto-libm-test-in: Add more tests of tanh.
37915 * math/auto-libm-test-out: Regenerated.
37916 * sysdeps/i386/fpu/libm-test-ulps: Update.
37917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37918
37919 * math/auto-libm-test-in: Add more tests of tan.
37920 * math/auto-libm-test-out: Regenerated.
37921 * sysdeps/i386/fpu/libm-test-ulps: Update.
37922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37923
37924 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37925 * math/auto-libm-test-out: Regenerated.
37926 * sysdeps/i386/fpu/libm-test-ulps: Update.
37927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37928
37929 * math/auto-libm-test-in: Add another test of pow.
37930 * math/auto-libm-test-out: Regenerated.
37931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37932
37933 * math/auto-libm-test-in: Add more tests of lgamma.
37934 * math/auto-libm-test-out: Regenerated.
37935 * sysdeps/i386/fpu/libm-test-ulps: Update.
37936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37937
37938 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37939 log1p.
37940 * math/auto-libm-test-out: Regenerated.
37941 * sysdeps/i386/fpu/libm-test-ulps: Update.
37942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37943
37944 2015-05-01 Mark Wielaard <mjw@redhat.com>
37945
37946 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37947 Elf64_Chdr structs and ELFCOMPRESS constants.
37948
37949 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37950
37951 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37952 expm1.
37953 * math/auto-libm-test-out: Regenerated.
37954 * sysdeps/i386/fpu/libm-test-ulps: Update.
37955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37956
37957 * math/auto-libm-test-in: Add more tests of erf and erfc.
37958 * math/auto-libm-test-out: Regenerated.
37959 * sysdeps/i386/fpu/libm-test-ulps: Update.
37960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37961
37962 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37963
37964 * config.h.in (HAVE_AARCH64_BE): Add.
37965
37966 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37967
37968 * math/auto-libm-test-in: Add more tests of csqrt.
37969 * math/auto-libm-test-out: Regenerated.
37970 * sysdeps/i386/fpu/libm-test-ulps: Update.
37971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37972
37973 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37974 * math/auto-libm-test-out: Regenerated.
37975 * sysdeps/i386/fpu/libm-test-ulps: Update.
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37977
37978 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37979
37980 2015-04-29 Roland McGrath <roland@hack.frob.com>
37981
37982 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37983 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37984
37985 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37986 (euidaccess, eaccess): Define as weak aliases.
37987
37988 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37989 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37990 but __suseconds_t is often 'long int' so some sources assume that
37991 type is being used (e.g. they use %ld to print tv_usec).
37992
37993 2015-04-29 Florian Weimer <fweimer@redhat.com>
37994
37995 [BZ #18007]
37996 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37997 (CVE-2014-8121)
37998 * nss/tst-nss-getpwent.c: New file.
37999 * nss/Makefile (tests): Add new test.
38000
38001 2015-04-28 Joseph Myers <joseph@codesourcery.com>
38002
38003 [BZ #18346]
38004 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38005 exponents less than 48 as cases where high part of mantissa needs
38006 examining to determine whether argument is integral.
38007 * math/libm-test.inc (round_test_data): Add more tests.
38008
38009 2015-04-28 Mark Wielaard <mjw@redhat.com>
38010
38011 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38012
38013 2015-04-27 David S. Miller <davem@davemloft.net>
38014
38015 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38016 __tls_get_addr.
38017 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38018
38019 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38020
38021 [BZ #18333]
38022 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38023
38024 2015-04-27 Florian Weimer <fweimer@redhat.com>
38025
38026 [BZ #18333]
38027 * time/tzset.c (parse_tzname): Return error on memory allocation
38028 failure.
38029 * test-skeleton.c (struct temp_name_list): Change type of name
38030 member to non-const.
38031 (add_temp_file): Create a copy of the file name.
38032 (delete_temp_files): Deallocate memory.
38033 (create_temp_file): Add comment.
38034
38035 2015-04-24 Florian Weimer <fweimer@redhat.com>
38036
38037 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38038 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38039
38040 2015-04-24 Roland McGrath <roland@hack.frob.com>
38041
38042 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38043 * sysdeps/arm/configure: Regenerated.
38044
38045 2015-04-24 Florian Weimer <fweimer@redhat.com>
38046
38047 [BZ #17715]
38048 * time/tzfile.c (__tzfile_read): Check for large values of
38049 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38050 * time/tzset.c (__tzstring_len): New function, based on the old
38051 __tzstring function.
38052 (__tzstring): Call __tzstring_len.
38053 (parse_tzname): New helper function extracted from
38054 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38055 the input string.
38056 (parse_offset): New helper function extracted from
38057 __tzset_parse_tz. Replace switch with fallthrough with
38058 initialization before sscanf.
38059 (parse_rule): Likewise.
38060 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38061 new-style function definition.
38062 * timezone/Makefile (tests): Add tst-tzset.
38063 (tst-tzset.out): Dependencies on time zone files.
38064 (tst-tzset-ENV): Set TZDIR.
38065 (testdata/XT%): Copy crafted time zone files.
38066 * timezone/README: Mention crafted time zone files.
38067 * timezone/testdata/XT1, timezone/testdata/XT2,
38068 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38069 files.
38070 * timezone/tst-tzset.c: New test.
38071
38072 2015-04-24 Florian Weimer <fweimer@redhat.com>
38073
38074 * Makeconfig (+gccwarn): Remove -Winline.
38075
38076 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38077
38078 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38079
38080 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38081
38082 * NEWS: Mention sysconf() cache information support for s390.
38083 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38084
38085 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38086
38087 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38089 (__nearbyint): Likewise.
38090 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38091 (copysignl): Likewise.
38092
38093 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38094
38095 [BZ #18287]
38096 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38097 based on padding. (CVE-2015-1781)
38098
38099 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38100
38101 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38102 libc-vdso.h.
38103 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38104 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38105 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38106 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38107 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38108 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38109 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38111 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38112 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38113 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38114 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38115 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38116 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38117 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38118 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38119 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38120 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38121 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38122 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38123 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38124 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38125 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38126
38127 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38128
38129 * stdlib/setenv.c (__add_to_environ):
38130 Dump core quickly if setenv (..., NULL, ...) is called.
38131 This time, do it the right way, and pacify GCC with a pragma.
38132
38133 2015-04-17 Roland McGrath <roland@hack.frob.com>
38134
38135 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38136 IMAP->l_prev cannot be null, and #if out the code for the contrary
38137 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38138 believe that NS (&_dl_ns[NSID]) could point outside the array.
38139
38140 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38141 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38142 before using NSID as an index.
38143
38144 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38145
38146 [BZ #17825]
38147 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38148 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38149 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38150
38151 2015-04-17 Roland McGrath <roland@hack.frob.com>
38152
38153 Add preliminary port to Google Native Client on ARM.
38154 * abi-tags (.*-.*-nacl.*): New entry.
38155 * sysdeps/arm/nacl: New directory.
38156 * sysdeps/nacl: New directory.
38157
38158 2015-04-16 David S. Miller <davem@davemloft.net>
38159
38160 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38161 lowlevellock-futex.h
38162
38163 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38164
38165 * sysdeps/tile/configure.ac: New file.
38166 * sysdeps/tile/configure: Regenerated.
38167
38168 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38169
38170 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38171 conditionals for weak_alias and libc_hidden_weak.
38172 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38173 libc_hidden_weak and weak_alias.
38174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38175 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38176 and weak_alias for static one.
38177
38178 2015-04-15 David S. Miller <davem@davemloft.net>
38179
38180 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38181
38182 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38183
38184 [BZ #18206]
38185 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38186 Use signed comparision instead of substraction to avoid
38187 overflow bug.
38188 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38189 Take the sign of ret.
38190 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38191 Do not expect precise return values. Only the sign matters.
38192 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38193 * wcsmbs/test-wcsncmp.c: New File.
38194 * string/test-strncmp.c: Add wcsncmp support.
38195
38196 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38197
38198 [BZ #6792]
38199 * math/w_log1p.c: New file.
38200 * math/w_log1pf.c: Likewise.
38201 * math/w_log1pl.c: Likewise.
38202 * math/Makefile (libm-calls): Add w_log1p.
38203 * math/s_log1pl.c (log1pl): Remove weak_alias.
38204 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38205 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38206 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38207 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38208 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38209 [NO_LONG_DOUBLE] (log1pl): Likewise.
38210 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38211 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38212 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38213 (log1p): Remove long_double_symbol.
38214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38215 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38216 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38217 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38218 remove weak_alias for corresponding log1p function.
38219 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38220 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38221 * sysdeps/ia64/fpu/w_log1p.c: New file.
38222 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38223 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38224 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38225
38226 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38227
38228 [BZ #18247]
38229 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38230 decimal exponent by 1.
38231 * stdlib/tst-strtod-round-data: Add more tests.
38232 * stdlib/tst-strtod-round.c (tests): Regenerated.
38233
38234 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38235
38236 * math/auto-libm-test-in: Add more tests of clog and clog10.
38237 * math/auto-libm-test-out: Regenerated.
38238 * sysdeps/i386/fpu/libm-test-ulps: Update.
38239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38240
38241 2015-04-09 Roland McGrath <roland@hack.frob.com>
38242
38243 * Makeconfig (module-cppflags): Exclude all .v.i files.
38244 (skip-module-cppflags): Variable removed.
38245
38246 * configure.ac (libc_config_ok): Initialize before reading
38247 preconfigure scripts, not after.
38248 * configure: Regenerated.
38249
38250 * test-skeleton.c (TIMEOUT): Move #define to top level.
38251 (main): Grok environment variable TEST_DIRECT. If set, print
38252 test expectation details into that file and then behave as if
38253 given --direct.
38254
38255 2015-04-09 Florian Weimer <fweimer@redhat.com>
38256
38257 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38258 warning on 32-bit.
38259
38260 2015-04-08 David S. Miller <davem@davemloft.net>
38261
38262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38263
38264 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38265
38266 * math/auto-libm-test-in: Add more tests of atanh.
38267 * math/auto-libm-test-out: Regenerated.
38268 * sysdeps/i386/fpu/libm-test-ulps: Update.
38269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38270
38271 * math/auto-libm-test-in: Add more tests of atan.
38272 * math/auto-libm-test-out: Regenerated.
38273 * sysdeps/i386/fpu/libm-test-ulps: Update.
38274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38275
38276 2015-04-08 Florian Weimer <fweimer@redhat.com>
38277
38278 * elf/pldd.c (main): Rewrite to use struct
38279 scratch_buffer instead of extend_alloca.
38280 * elf/pldd-xx.c (find_maps): Likewise.
38281 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38282 <alloca.h>.
38283 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38284 scratch_buffer instead of extend_alloca.
38285 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38286 grp/compat-initgroups.c.
38287 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38288 Rewrite to use struct scratch_buffer instead of extend_alloca.
38289 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38290 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38291
38292 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38293
38294 * math/auto-libm-test-in: Add more tests of cbrt.
38295 * math/auto-libm-test-out: Regenerated.
38296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38297
38298 * math/auto-libm-test-in: Add more tests of cabs.
38299 * math/auto-libm-test-out: Regenerated.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
38303 [BZ #18210]
38304 [BZ #18211]
38305 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38306 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38307 computations.
38308 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38309 clog10.
38310 * math/auto-libm-test-out: Regenerated.
38311 * sysdeps/i386/fpu/libm-test-ulps: Update.
38312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38313
38314 [BZ #18197]
38315 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38316 (atan): Set FE_TONEAREST mode for internal computations.
38317 * math/auto-libm-test-in: Add more tests of atan.
38318 * math/auto-libm-test-out: Regenerated.
38319
38320 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38321
38322 [BZ #17930]
38323 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38324
38325 2015-04-07 Florian Weimer <fweimer@redhat.com>
38326
38327 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38328
38329 2015-04-07 Florian Weimer <fweimer@redhat.com>
38330
38331 * include/scratch_buffer.h: New file.
38332 * malloc/scratch_buffer_grow.c: Likewise.
38333 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38334 * malloc/scratch_buffer_set_array_size.c: Likewise.
38335 * malloc/tst-scratch_buffer.c: Likewise.
38336 * malloc/Makefile (routines): Add scratch_buffer_grow.
38337 (tests): Add test case.
38338 * malloc/Versions (GLIBC_PRIVATE): Export
38339 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38340 __libc_scratch_buffer_set_array_size.
38341
38342 2015-04-06 Richard Henderson <rth@redhat.com>
38343
38344 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38345 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38346
38347 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38348 unsigned int before printing.
38349
38350 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38351
38352 [BZ #17596]
38353 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38354 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38355
38356 2015-04-02 Florian Weimer <fweimer@redhat.com>
38357
38358 * include/libc-internal.h (libc_max_align_t): Define.
38359
38360 2015-04-02 Andreas Schwab <schwab@suse.de>
38361
38362 [BZ #16850]
38363 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38364
38365 2015-04-02 Mel Gorman <mgorman@suse.de>
38366
38367 [BZ #17195]
38368 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38369 as well as the main arena.
38370
38371 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38372
38373 [BZ #18185]
38374 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38375 sharing L2 cache to 2 for Silvermont/Knights Landing.
38376
38377 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38378
38379 [BZ #17711]
38380 * config.make.in (have-protected-data): New.
38381 * configure.ac: Check linker support for protected data symbol.
38382 * configure: Regenerated.
38383 * elf/Makefile (modules-names): Add tst-protected1moda and
38384 tst-protected1modb if $(have-protected-data) is yes.
38385 (tests): Add tst-protected1a and tst-protected1b if
38386 $(have-protected-data) is yes.
38387 ($(objpfx)tst-protected1a): New.
38388 ($(objpfx)tst-protected1b): Likewise.
38389 (tst-protected1modb.so-no-z-defs): Likewise.
38390 * elf/tst-protected1a.c: New file.
38391 * elf/tst-protected1b.c: Likewise.
38392 * elf/tst-protected1mod.h: Likewise.
38393 * elf/tst-protected1moda.c: Likewise.
38394 * elf/tst-protected1modb.c: Likewise.
38395
38396 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38397
38398 [BZ #17711]
38399 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38400 indicates it is called from do_lookup_x on relocation against
38401 protected data, skip the data definion in the executable from
38402 copy reloc.
38403 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38404 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38405 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38406 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38407 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38408 otherwise to 0.
38409 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38410 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38411 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38412 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38413 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38414 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38415
38416 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38417
38418 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38419 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38420
38421 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38422
38423 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38424 THREAD_SETMEM_NC.
38425 * sysdeps/x86_64/nptl/tls.h: Ditto.
38426
38427 2015-03-27 Roland McGrath <roland@hack.frob.com>
38428
38429 * dlfcn/tststatic.c (main): Converted to ...
38430 (do_test): ... this.
38431 (TEST_FUNCTION): New macro.
38432 Include test-skeleton.c.
38433
38434 2015-03-26 Alan Modra <amodra@gmail.com>
38435
38436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38437 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38438 zero for undefined weak.
38439 (elf_machine_plt_conflict): Similarly.
38440
38441 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38442
38443 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38444 atanh.
38445 * math/auto-libm-test-out: Regenerated.
38446 * sysdeps/i386/fpu/libm-test-ulps: Update.
38447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38448
38449 * math/auto-libm-test-in: Add another test of asin.
38450 * math/auto-libm-test-out: Regenerated.
38451 * sysdeps/i386/fpu/libm-test-ulps: Update.
38452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38453
38454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38455 Remove macro.
38456 (LLL_EBX_REG): Likewise.
38457 (LLL_ENTER_KERNEL): Likewise.
38458
38459 * math/auto-libm-test-in: Add more tests of asin.
38460 * math/auto-libm-test-out: Regenerated.
38461 * sysdeps/i386/fpu/libm-test-ulps: Update.
38462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463
38464 [BZ #18138]
38465 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38466 libc_do_syscall_args): New structure.
38467 (INTERNAL_SYSCALL_MAIN_0): New macro.
38468 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38469 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38470 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38471 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38472 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38473 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38474 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38475 Replace conditional definitions by conditional definitions of ....
38476 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38477 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38478 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38479 (libpthread-sysdep_routines): Add libc-do-syscall.
38480 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38482 to __NR_futex not 240.
38483
38484 2015-03-25 Alan Modra <amodra@gmail.com>
38485
38486 * NEWS: Advertise TLS optimization.
38487 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38488 (DT_PPC_NUM): Increment.
38489 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38490 (CHECK_STATIC_TLS): Use here.
38491 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38492 TLS descriptors.
38493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38494 * sysdeps/powerpc/dl-tls.c: New file.
38495 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38496 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38497 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38498 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38502
38503 2015-03-25 Alan Modra <amodra@gmail.com>
38504
38505 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38506 for overlapping .opd entries" to "support...".
38507 * sysdeps/powerpc/powerpc64/configure: Regenerate
38508
38509 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38510
38511 * math/auto-libm-test-in: Add more tests of acos.
38512 * math/auto-libm-test-out: Regenerated.
38513 * sysdeps/i386/fpu/libm-test-ulps: Update.
38514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38515
38516 * math/auto-libm-test-in: Add more tests of expm1.
38517 * math/auto-libm-test-out: Regenerated.
38518 * sysdeps/i386/fpu/libm-test-ulps: Update.
38519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38520
38521 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38522
38523 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38524 * math/auto-libm-test-out: Regenerated.
38525 * sysdeps/i386/fpu/libm-test-ulps: Update.
38526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38527
38528 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38530
38531 * math/auto-libm-test-in: Add more tests of log2.
38532 * math/auto-libm-test-out: Regenerated.
38533 * sysdeps/i386/fpu/libm-test-ulps: Update.
38534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38535
38536 2015-03-23 Roland McGrath <roland@hack.frob.com>
38537
38538 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38539 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38540 _IO_IS_APPENDING bit in READ_WRITE instead.
38541
38542 2015-03-23 Florian Weimer <fweimer@redhat.com>
38543
38544 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38545 (__determine_cpumask_size): Replace extend_alloca with a
38546 variable-length array. Do not treat res == 0 as an error.
38547
38548 2015-03-23 Florian Weimer <fweimer@redhat.com>
38549
38550 [BZ #18100]
38551 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38552 and integer overflow.
38553 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38554 (main): Add integer overflow tests.
38555 * manual/pattern.texi (Calling Wordexp): Document additional use
38556 for WRDE_SYNTAX.
38557
38558 2015-03-23 Alan Modra <amodra@gmail.com>
38559
38560 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38561 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38562 and false branch of conditional.
38563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38564 Likewise.
38565
38566 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38567
38568 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38569 libc-modules.h
38570 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38571 unused declaration of _hurd_intr_rpc_msg_in_trap.
38572 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38573 defined instead of whether it is non-zero.
38574 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38575 input constraint instead of both input and output constraint. Use ecx
38576 clobber instead of %ecx.
38577 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38578 mutex_unlock): Use a statement expression instead of an expression list.
38579 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38580 type to vm_size_t instead of vm_address_t.
38581 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38582 defined instead of whether it is non-zero.
38583 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38584 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38585 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38586 comparisons with mapaddr.
38587 * nscd/nscd-client.h: Include <time.h>.
38588 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38589 9th parameter to __vm_region instead of int.
38590 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38591 * scripts/check-local-headers.sh (exclude): Add device/,
38592 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38593 cthreads.h.
38594
38595 2015-03-19 Roland McGrath <roland@hack.frob.com>
38596
38597 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38598 to account for alignment padding.
38599 * sysdeps/arm/memmove.S: Likewise.
38600
38601 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38602
38603 * sysdeps/unix/sysv/linux/generic/README: New file.
38604
38605 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #18138]
38608 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38609 (futex_abstimed_wait)
38610 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38611 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38612 of lll_futex_timed_wait.
38613
38614 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38615
38616 [BZ #17542]
38617 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38618
38619 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38620
38621 [BZ #17090]
38622 [BZ #17620]
38623 [BZ #17621]
38624 [BZ #17628]
38625 * NEWS: Update.
38626 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38627 entries with Static TLS too. Skip entries past the end of the
38628 allocated DTV, from Alan Modra.
38629 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38630 Static TLS DTV entry set up from...
38631 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38632 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38633 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38634 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38635 for Static TLS.
38636 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38637 that the slot we find is associated with the given map before
38638 using its generation count.
38639 * nptl_db/db_info.c: Include ldsodefs.h.
38640 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38641 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38642 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38643 (link_map::l_tls_offset): New struct field.
38644 (dtv_t::counter): Likewise.
38645 (rtld_global): New struct.
38646 (_rtld_global): New rtld variable.
38647 (dl_tls_dtv_slotinfo_list): New rtld global field.
38648 (dtv_slotinfo_list): New struct.
38649 (dtv_slotinfo): Likewise.
38650 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38651 (td_lookup): Rename to...
38652 (td_mod_lookup): ... this. Use new mod parameter instead of
38653 LIBPTHREAD_SO.
38654 * nptl_db/td_thr_tlsbase.c: Include link.h.
38655 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38656 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38657 addresses even if the DTV is out of date or missing them.
38658 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38659 index zero-length arrays.
38660 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38661 (td_lookup): Make it a macro implemented in terms of...
38662 (td_mod_lookup): ... this declaration.
38663 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38664 (DB_MAIN_VARIABLE): Likewise.
38665
38666 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38667
38668 [BZ #18134]
38669 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38670
38671 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38672
38673 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38674
38675 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38676
38677 [BZ #18128]
38678 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38679 (atomic_add, atomic_increment_and_test)
38680 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38681
38682 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38683
38684 * stdlib/setenv.c (__add_to_environ):
38685 Dump core quickly if setenv (..., NULL, ...) is called.
38686
38687 2015-03-13 Roland McGrath <roland@hack.frob.com>
38688
38689 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38690 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38691 all the necessary asm magic in one place.
38692 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38693 using those.
38694
38695 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38696
38697 [BZ #14906]
38698 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38699 traced file mtime. Use consistent log message.
38700 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38701 (register_traced_file): Call install_watches. Always set mtime.
38702 (invalidate_cache): Iterate over all trace files. Call install_watches.
38703 (inotify_check_files): Don't inline. Handle watching parent
38704 directories and configuration file movement in and out.
38705 (handle_inotify_events): New function.
38706 (main_loop_poll): Call handle_inotify_events.
38707 (main_loop_epoll): Likewise.
38708 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38709 (struct traced_file): Use array of inotify fds. Add parent directory,
38710 and basename.
38711 (struct database_dyn): Remove unused file_mtime.
38712 (init_traced_file): New inline function.
38713 (define_traced_file): New macro.
38714 * nss/nss_db/db-init.c: Use define_traced_file.
38715 (_nss_db_init): Use init_traced_file.
38716 * nss/nss_files/files-init.c: Use define_traced_file.
38717 (_nss_files_init): Use init_traced_file.
38718
38719 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38720
38721 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38722 [_LIBC]: Do not include <stdlib.h>.
38723 [!_LIBC] (abort): Remove declaration.
38724 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38725 _FP_STATIC_ASSERT instead of conditionally calling abort.
38726 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38727 (_FP_EXTEND_CNAN): Likewise.
38728 (FP_TRUNC): Likewise.
38729 (__FP_CLZ): Likewise.
38730 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38731
38732 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38733
38734 * manual/string.texi (XPG basename): Fix prototype.
38735
38736 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38737
38738 [BZ #18080]
38739 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38740 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38741 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38742 (__setcontext): Likewise.
38743 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38744 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38745 Call rt_sigprocmask syscall one time to set new signal mask
38746 and retrieve the current signal mask instead of two calls.
38747 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38748 (__swapcontext): Likewise.
38749 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38750 * stdlib/tst-setcontext2.c: New file.
38751
38752 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38753
38754 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38755
38756 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38757
38758 [BZ #18093]
38759 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38760 the wrong size.
38761
38762 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38763
38764 [BZ #18043]
38765 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38766
38767 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38768
38769 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38770 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38771 Remove define.
38772 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38773 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38774 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38775 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38776 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38777 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38778 define.
38779 * nptl_db/td_symbol_list.c (td_lookup): Remove
38780 HAVE_ASM_GLOBAL_DOT_NAME code.
38781 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38782 HAVE_ASM_GLOBAL_DOT_NAME check.
38783 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38784 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38785 (DOT_LABEL): Remove define.
38786 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38787 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38788 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38789 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38790 (__TLS_GET_ADDR): Likewise.
38791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38792 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38793
38794 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38795
38796 [BZ #18111]
38797 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38798 (_FPU_SETCW): Initialize cw from fpsr before storing.
38799 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38800 (fesetexceptflag): Rewrite using fpu_control.h.
38801 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38802
38803 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38804
38805 [BZ #18110]
38806 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38807 asms.
38808 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38809
38810 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38811
38812 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38813 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38814 abort.
38815 (_FP_FMA): Likewise.
38816 (_FP_DIV): Likewise.
38817
38818 2015-03-10 Roland McGrath <roland@hack.frob.com>
38819
38820 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38821 with 0 in that case.
38822 * Makefile (summarize-tests): New canned sequence, factored out of
38823 commands for targets tests and xtests. Display summary lines that
38824 don't start with PASS: or XFAIL: rather than ones that do start with
38825 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38826 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38827 do start with ERROR: or FAIL:.
38828 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38829 (except for [$(build-shared) = yes]).
38830 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38831 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38832 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38833 * nptl/Makefile: Revert 2015-03-04 changes.
38834 [$(CXX) empty] (tests-unsupported): New variable.
38835 * debug/Makefile: Likewise.
38836
38837 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38838 gnulib file. Replace __attribute with __attribute__ throughout.
38839
38840 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38841
38842 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38843
38844 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38845
38846 [BZ #18104]
38847 * math/auto-libm-test-in: Add another test of pow.
38848 * math/auto-libm-test-out: Regenerated.
38849
38850 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38851
38852 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38853 $(config-cflags-nofma).
38854
38855 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38856
38857 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38858 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38859 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38860 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38861 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38862 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38863 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38864 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38865 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38866 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38867 Add comment on closing #endif.
38868
38869 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38870
38871 * posix/wordexp.c (CHAR_IN_SET): New macro.
38872 (parse_param): Use it.
38873
38874 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38875
38876 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38877
38878 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38879
38880 [BZ #18043]
38881 * posix/wordexp.c (parse_param): Fix buffer overflow.
38882 * posix/wordexp-test.c (test_case): Add test case.
38883
38884 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38885
38886 [BZ #18042]
38887 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38888 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38889
38890 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38891
38892 [BZ #18043]
38893 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38894 (do_bz18043): Delete.
38895 (at_page_end): New.
38896 (testit): Refactor to have words at the edge of unreadable page.
38897
38898 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38899
38900 [BZ #16734]
38901 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38902 Cleanup read-only streams as well.
38903 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38904
38905 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38906
38907 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38908 <bits/libc-lockP.h>
38909
38910 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38911
38912 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38913 on [__KERNEL__].
38914 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38915 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38916 * soft-fp/op-common.h (_FP_DECL): Likewise.
38917
38918 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38919
38920 * elf/ifuncdep2.c (global): Replace
38921 __attribute__((visibility("protected"))) with
38922 asm (".protected global").
38923 * elf/ifuncmod1.c (global): Likewise.
38924 * elf/ifuncmod5.c (global): Likewise.
38925
38926 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38927
38928 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38929 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38930
38931 2015-03-06 Roland McGrath <roland@hack.frob.com>
38932
38933 * manual/install.texi (Configuring and compiling):
38934 Document test-wrapper-env-only.
38935 * INSTALL: Regenerated.
38936
38937 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38938
38939 [BZ #18043]
38940 * posix/wordexp.c (parse_param): Fix buffer overflow.
38941 * posix/wordexp-test.c (do_bz18043): Add test case.
38942
38943 2015-03-06 Vincent Bernat <vincent@bernat.im>
38944
38945 * time/tst-strptime2.c (do_test): Ensure failing tests are
38946 reported correctly.
38947 * time/tst-strptime3.c (do_test): Likewise.
38948
38949 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38950
38951 Fix aio_error thread-safety.
38952 * sysdeps/pthread/aio_error.c: New file
38953 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38954 synchronization.
38955
38956 2015-03-06 Florian Weimer <fweimer@redhat.com>
38957
38958 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38959 (group_number, vfprintf): Use it.
38960 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38961 (JUMP, REF): Use it.
38962 (WORK_BUFFER_SIZE): New enum constant.
38963 (process_arg, vfprintf): Use it.
38964
38965 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38966
38967 * manual/errno.texi (Error Messages): Complete example function
38968 by adding missing #define.
38969 (program_invocation_name): Add statement indicating GNU
38970 extension and reference which header file declares the variable.
38971 (program_invocation_short_name): Likewise.
38972
38973 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38974
38975 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38976 compatibility note.
38977
38978 2015-03-05 Roland McGrath <roland@hack.frob.com>
38979
38980 * Makeconfig (test-wrapper-env-only): New variable.
38981 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38982 then use that with $(test-wrapper-env-only) rather than using
38983 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38984
38985 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38986
38987 [BZ #18082]
38988 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38989 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38990 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38991 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38992 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38993 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38994 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38995 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38996 Likewise.
38997 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38998 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38999 Likewise.
39000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39001 Likewise.
39002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39003 Likewise.
39004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39005 Likewise.
39006 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39008 Likewise.
39009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39010 Likewise.
39011 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39012 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39013
39014 2015-03-04 Roland McGrath <roland@hack.frob.com>
39015
39016 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39017 (ETH_ALEN): New macro.
39018 (struct ether_addr): Use it for length of ether_addr_octet.
39019
39020 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39021 (setdb): Don't call __nss_configure_lookup for "rpc".
39022 (do_test): Don't call test_rpc.
39023 (output_rpcent, test_rpc): Functions moved ...
39024 * sunrpc/test-rpcent.c: ... to this new file.
39025 * sunrpc/Makefile (tests): Add it.
39026
39027 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39028 __xpg_sigpause.
39029 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39030 * nptl/tst-signal6.c: Likewise.
39031 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39032 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39033
39034 * configure.ac (libc_cv_cxx_link_ok): New check.
39035 Reset CXX to empty if it fails to link.
39036 * configure: Regenerated.
39037 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39038 bug-atexit3-lib only if $(CXX) is nonempty.
39039 * nptl/Makefile (tests): Likewise for tst-cancel24.
39040 (tests, tests-static): Likewise for tst-cancel24-static.
39041 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39042 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39043 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39044 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39045
39046 2015-03-04 Andreas Schwab <schwab@suse.de>
39047
39048 [BZ #17631]
39049 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39050 for non-GCC compilers.
39051 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39052 Likewise.
39053
39054 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39055
39056 [BZ #17776]
39057 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39058 integer before bitwise and assembly operations.
39059 (feclearexcept): Likewise.
39060 * math/test-fenvinline.c: New file.
39061 * math/Makefile: Add test-fenvinline test.
39062
39063 2015-03-03 Alan Modra <amodra@gmail.com>
39064
39065 [BZ #16512]
39066 * scripts/localplt.awk: Strip off symbol version.
39067 * NEWS: Mention bug fix.
39068
39069 2015-03-02 Roland McGrath <roland@hack.frob.com>
39070
39071 * sysdeps/pthread/timer_routines.c
39072 (timer_free_list, thread_free_list, thread_active_list): Make static.
39073
39074 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39075
39076 [BZ #17779]
39077 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39078 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39079 Undefine.
39080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39081 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39082 Likewise.
39083 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39084 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39085 Likewise.
39086
39087 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39088
39089 [BZ #18036]
39090 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39091 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39092
39093 2015-03-02 Andreas Schwab <schwab@suse.de>
39094
39095 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39096 variable name.
39097
39098 2015-03-02 Florian Weimer <fweimer@redhat.com>
39099
39100 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39101 Return error status.
39102
39103 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39104
39105 [BZ #15969]
39106 * locale/findlocale.c (_nl_find_locale): Introduce const
39107 version of loc_name and drop unsafe type casts.
39108
39109 2015-02-27 Roland McGrath <roland@hack.frob.com>
39110
39111 * dlfcn/tststatic2.c (main): Converted to ...
39112 (do_test): ... this.
39113 (TEST_FUNCTION): New macro.
39114 Include test-skeleton.c.
39115
39116 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39117
39118 [BZ #17711]
39119 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39120 (tests-pie): Add vismain.
39121 (CFLAGS-vismain.c): New.
39122 * elf/vismain.c: Add comments for PIE requirement.
39123
39124 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39125
39126 [BZ #18046]
39127 [BZ #18047]
39128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39129 0x1p-56L as threshold for just returning the argument.
39130 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39131 0x1p-32L as threshold for just returning the argument.
39132 * math/auto-libm-test-in: Add more tests of atanh.
39133 * math/auto-libm-test-out: Regenerated.
39134 * sysdeps/i386/fpu/libm-test-ulps: Update.
39135 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39136
39137 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39138
39139 * string/bcopy.c (bcopy): Call memmove for performance.
39140
39141 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39142
39143 * string/bzero.c (__bzero): Call memset for performance.
39144
39145 2015-02-27 John David Anglin <dave.anglin@bell.net>
39146
39147 [BZ #18068]
39148 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39149 to 00100000.
39150
39151 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39152
39153 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39154
39155 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39156
39157 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39158 (__kernel_standard): Use CSTR macro when setting exc.name.
39159 * sysdeps/ieee754/Makefile [$(subdir) = math]
39160 (CFLAGS-k_standard.c): Remove variable.
39161
39162 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39163 setting p and q from "else if" to "else".
39164 (qzero): Likewise.
39165 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39166 (qone): Likewise.
39167 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39168 (qzerof): Likewise.
39169 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39170 (qonef): Likewise.
39171 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39172 (qzero): Likewise.
39173 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39174 (qone): Likewise.
39175
39176 [BZ #18038]
39177 [BZ #18039]
39178 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39179 return pi/2 for arguments below 0x1p-113L.
39180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39181 return pi/2 for arguments below 0x1p-106L.
39182 * math/auto-libm-test-in: Add more tests of acos.
39183 * math/auto-libm-test-out: Regenerated.
39184
39185 [BZ #16351]
39186 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39187 (MO): New macro.
39188 (__ieee754_asin): Force underflow exception for results with small
39189 absolute value.
39190 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39191 (MO): New macro.
39192 (__ieee754_asinf): Force underflow exception for results with
39193 small absolute value.
39194 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39195 (__ieee754_asin): Force underflow exception for results with small
39196 absolute value.
39197 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39198 (__ieee754_asinf): Force underflow exception for results with
39199 small absolute value.
39200 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39201 (__ieee754_asinl): Force underflow exception for results with
39202 small absolute value.
39203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39204 (__ieee754_asinl): Force underflow exception for results with
39205 small absolute value.
39206 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39207 (__ieee754_asinl): Force underflow exception for results with
39208 small absolute value.
39209 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39210 Include <math.h>.
39211 * math/auto-libm-test-in: Do not mark underflow exceptions as
39212 possibly missing for bug 16351.
39213 * math/auto-libm-test-out: Regenerated.
39214
39215 [BZ #18030]
39216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39217 of power of 2 down when low part has opposite sign.
39218 * math/libm-test.inc (logb_test_data): Add more tests.
39219
39220 2015-02-26 Andreas Schwab <schwab@suse.de>
39221
39222 [BZ #18032]
39223 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39224 over collating symbol inside a bracket expression. Minor cleanup.
39225 * posix/tst-fnmatch3.c (do_test): Add test case.
39226
39227 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39228
39229 [BZ #18029]
39230 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39231 Adjust exponent of power of 2 down when low part has opposite
39232 sign.
39233 * math/libm-test.inc (ilogb_test_data): Add more tests.
39234
39235 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39236
39237 [BZ #15969]
39238 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39239 the previous change.
39240
39241 [BZ #15969]
39242 * locale/findlocale.c (_nl_find_locale): Retry archive search
39243 after alias expansion.
39244
39245 2015-02-25 Roland McGrath <roland@hack.frob.com>
39246
39247 * iconv/tst-iconv3.c (main): Converted to ...
39248 (do_test): ... this.
39249 (TEST_FUNCTION): New macro.
39250 Include test-skeleton.c.
39251
39252 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39253 (convert): Make function static.
39254 (test_unalign): Likewise. Add const to argument pointee types.
39255 (main): Replace with static function do_test.
39256 Print "Succeeded." only if RET is zero.
39257 (TEST_FUNCTION): New macro.
39258 Include test-skeleton.c.
39259
39260 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39261 returns a null pointer.
39262
39263 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39264
39265 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39266 to __memcpy_ppc only for static builds.
39267
39268 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39269
39270 [BZ #18020]
39271 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39272 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39273 * math/auto-libm-test-in: Add more tests of asinh.
39274 * math/auto-libm-test-out: Regenerated.
39275 * sysdeps/i386/fpu/libm-test-ulps: Update.
39276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39277
39278 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39279
39280 [BZ #15850]
39281 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39282 and ip6_mtuinfo definitions here.
39283 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39284 in this define too. Update comment.
39285
39286 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39287
39288 * elf/sprof.c (load_shobj): Tweak error message to match others.
39289
39290 2015-02-24 Kevin Easton <kevin@guarana.org>
39291
39292 [BZ #16145] (partial fix)
39293 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39294 to reduce lock contention.
39295
39296 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39297
39298 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39299 (struct timex): Update time comment.
39300 (ADJ_SETOFFSET): Define.
39301
39302 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39303
39304 [BZ #18019]
39305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39306 2**56 not 2**28 as threshold for log (2x) formula.
39307 * math/auto-libm-test-in: Add more tests of acosh.
39308 * math/auto-libm-test-out: Regenerated.
39309 * sysdeps/i386/fpu/libm-test-ulps: Update.
39310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39311
39312 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39313
39314 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39315 parenthesis around the buf assignment.
39316 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39317
39318 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39319
39320 [BZ #16783]
39321 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39322 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39323 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39324 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39325 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39326 * math/libm-test.inc (scalb_test_data): Add more tests.
39327
39328 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39329
39330 [BZ #17916]
39331 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39332 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39333
39334 2015-02-24 Eric Rannaud <e@nanocritical.com>
39335
39336 [BZ #17523]
39337 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39338 * io/bits/fcntl2.h (open): Use it.
39339 (openat): Likewise.
39340 * io/open.c (__libc_open): Likewise.
39341 * io/open64.c (__libc_open64): Likewise.
39342 * io/open64_2.c (__open64_2): Likewise.
39343 * io/open_2.c (__open_2): Likewise.
39344 * io/openat.c (__openat): Likewise.
39345 * io/openat64.c (__openat64): Likewise.
39346 * io/openat64_2.c (__openat64_2): Likewise.
39347 * io/openat_2.c (__openat_2): Likewise.
39348 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39349 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39350 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39351 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39352 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39353 (__open_nocancel): Likewise.
39354 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39355 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39356 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39357
39358 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39359
39360 [BZ #14841]
39361 * resolv/gethnamaddr.c (getanswer): Skip logging if
39362 RES_USE_DNSSEC is set.
39363 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39364
39365 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39366
39367 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39368
39369 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39370
39371 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39372 201304L, for Unicode 7.
39373
39374 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39375
39376 [BZ #17836]
39377 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39378 shared library. Add gmon-start.os otherwise.
39379 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39380 $(objpfx)gmon-start.os if builing shared library.
39381 ($(objpfx)g$(static-start-installed-name)): Likewise.
39382
39383 2015-02-23 Andreas Schwab <schwab@suse.de>
39384
39385 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39386
39387 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39388
39389 [BZ #17269]
39390 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39391 (enlarge_userbuf): Likewise.
39392
39393 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39394
39395 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39396 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39397 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39398 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39399
39400 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39401
39402 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39403 expression inside statement expression.
39404
39405 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39406
39407 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39408 <sysdeps/nptl/lowlevellock.h> and remove macros and
39409 functions that are now defined there.
39410 (SYS_futex): Remove.
39411 (lll_compare_and_swap): Remove.
39412 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39413
39414 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39415
39416 [BZ #17999]
39417 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39418 instead of scandirat.
39419 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39420 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39421 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39422 __scandirat.
39423 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39424 (__scandirat): Declare. Use libc_hidden_proto.
39425 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39426 Remove variable.
39427 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39428
39429 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39430
39431 [BZ #15319]
39432 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39433 (MO): New macro.
39434 (__ieee754_atan2): For results with small absolute value, force
39435 underflow exception and remove excess range and precision from
39436 return value.
39437 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39438 (MO): New macro.
39439 (__ieee754_atan2f): For results with small absolute value, force
39440 underflow exception and remove excess range and precision from
39441 return value.
39442 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39443 (MO): New macro.
39444 (__atan): For results with small absolute value, force underflow
39445 exception and remove excess range and precision from return value.
39446 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39447 (MO): New macro.
39448 (__atanf): For results with small absolute value, force underflow
39449 exception and remove excess range and precision from return value.
39450 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39451 <math.h>.
39452 (__ieee754_atan2): Force underflow exception for results with
39453 small absolute value.
39454 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39455 <math_private.h>.
39456 (atan): Force underflow exception for results with small absolute
39457 value.
39458 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39459 (__atanf): Force underflow exception for results with small
39460 absolute value.
39461 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39462 <math.h>.
39463 (__atanl): Force underflow exception for results with small
39464 absolute value.
39465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39466 (__atanl): Force underflow exception for results with small
39467 absolute value.
39468 * sysdeps/x86/fpu/bits/mathinline.h
39469 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39470 (__ieee754_atan2): Only define inline for long double.
39471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39472 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39473 * math/auto-libm-test-in: Do not mark underflow exceptions as
39474 possibly missing for bug 15319. Add more tests of atan2.
39475 * math/auto-libm-test-out: Regenerated.
39476 * math/libm-test.inc (casin_test_data): Do not mark underflow
39477 exceptions as possibly missing for bug 15319.
39478 (casinh_test_data): Likewise.
39479 * sysdeps/i386/fpu/libm-test-ulps: Update.
39480
39481 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39482
39483 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39484 * sysdeps/mips/bits/endian.h: Fix comments.
39485
39486 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39487
39488 [BZ #17996]
39489 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39490 (hdestroy_r): Likewise.
39491 (hsearch_r): Likewise.
39492 (__hcreate_r): Declare and use libc_hidden_proto.
39493 (__hdestroy_r): Likewise.
39494 (__hsearch_r): Likewise.
39495 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39496 (hcreate): Call __hcreate_r instead of hcreate_r.
39497 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39498 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39499 as weak alias of __hcreate_r.
39500 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39501 __hdestroy_r.
39502 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39503 __hsearch_r.
39504 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39505 Remove variable.
39506 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39507 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39508 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39509 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39510
39511 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39512
39513 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39514 arena_lock into a single arena_get.
39515
39516 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39517
39518 * dl-reloc.c: Inlucde libc-internal.h.
39519 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39520 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39521 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39522 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39523 (grow_heap): Likewise.
39524 * malloc/malloc.c: Include libc-internal.h.
39525 (do_check_malloc): Call powerof2.
39526 (sysmalloc): Use pagesize. Call ALIGN_UP.
39527 (systrim): Use pagesize.
39528 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39529 (__libc_valloc): Use pagesize.
39530 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39531
39532 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39533
39534 [BZ #17991]
39535 * include/sys/resource.h (__getrlimit64): Declare. Use
39536 libc_hidden_proto.
39537 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39538 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39539 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39540 getrlimit64.
39541 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39542 __getrlimit64.
39543 [!getrlimit64] (getrlimit64): Define as weak alias of
39544 __getrlimit64. Use libc_hidden_weak.
39545 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39546 using __getrlimit64 not __new_getrlimit64.
39547 (__GI_getrlimit64): Likewise.
39548 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39549 Likewise.
39550 (__GI_getrlimit64): Likewise.
39551 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39553 (getrlimit): Add __getrlimit64 alias.
39554 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39555 Likewise.
39556 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39557 Remove variable.
39558 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39559 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39560
39561 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39562
39563 * libio/fileops.c: Add missing sys/mman.h
39564 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39565
39566 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39567
39568 * manual/math.texi (Errors in Math Functions): Clarify goals
39569 regarding inexact and underflow exceptions.
39570
39571 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39572
39573 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39574 * sysdeps/mips/memset.S: Ditto.
39575
39576 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39577
39578 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39579
39580 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39581
39582 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39583 (__v1longjmp): Remove versioned symbol.
39584 (__v1siglongjmp): Remove alias and versioned symbol.
39585 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39586 (__v2siglongjmp): Likewise.
39587
39588 2015-02-16 Torvald Riegel <triegel@redhat.com>
39589
39590 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39591
39592 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39593
39594 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39595
39596 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39597
39598 [BZ #17987]
39599 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39600 zero result does not depend on the sign resulting from
39601 subtraction.
39602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39603 Likewise.
39604 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39605 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39607 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39608 * math/libm-test.inc (remquo_test_data): Add more tests.
39609
39610 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39611
39612 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39613 Problem reported by J William Piggott.
39614
39615 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39616
39617 [BZ #17978]
39618 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39619 products 4 * y and 2 * y where those would overflow.
39620 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39621 Likewise.
39622 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39623 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39624 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39625 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39626 * math/libm-test.inc (remquo_test_data): Add more tests.
39627
39628 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39629
39630 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39631 [defined _COMPILING_NEWLIB].
39632 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39633 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39634
39635 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39636 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39637
39638 2015-02-16 Torvald Riegel <triegel@redhat.com>
39639
39640 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39641 acquired.
39642
39643 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39644
39645 [BZ #17792]
39646 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39647 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39648 HOST_STACK_END_ADDR): Likewise.
39649
39650 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39651
39652 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39653 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39654 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39655
39656 2015-02-13 Roland McGrath <roland@hack.frob.com>
39657
39658 * sysdeps/generic/c++-types.data: New file.
39659 * sysdeps/generic/ld.abilist: New file.
39660 * sysdeps/generic/libBrokenLocale.abilist: New file.
39661 * sysdeps/generic/libanl.abilist: New file.
39662 * sysdeps/generic/libc.abilist: New file.
39663 * sysdeps/generic/libcrypt.abilist: New file.
39664 * sysdeps/generic/libdl.abilist: New file.
39665 * sysdeps/generic/libm.abilist: New file.
39666 * sysdeps/generic/libpthread.abilist: New file.
39667 * sysdeps/generic/libresolv.abilist: New file.
39668 * sysdeps/generic/librt.abilist: New file.
39669
39670 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39671
39672 [BZ #17569]
39673 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39674 Compute absolute value of x as modified by fmod, not original
39675 value of x.
39676 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39677 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39678 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39679 RUN_TEST_ffI_f1_mod8.
39680 (remquo_test_data): Add more tests.
39681
39682 2015-02-13 Roland McGrath <roland@hack.frob.com>
39683
39684 * sysdeps/init_array/pt-crti.S: New file.
39685
39686 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39687
39688 [BZ #17967]
39689 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39690 __builtin_fmaf instead of relying on contraction of a * b + c.
39691
39692 2015-02-12 J William Piggott <elseifthen@gmx.com>
39693
39694 [BZ #17969]
39695 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39696 node.
39697
39698 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39699
39700 [BZ #17964]
39701 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39702 __builtin_fma instead of relying on contraction of a * b + c.
39703
39704 2015-02-12 Roland McGrath <roland@hack.frob.com>
39705
39706 * Makeconfig (ASFLAGS): Add -Werror=undef.
39707 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39708 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39709 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39710
39711 * Makeconfig (after-link): New variable.
39712 (+link-pie, +link-pie-tests): Use it.
39713 (+link-static, +link-static-tests): Likewise.
39714 (+link, +link-tests): Likewise.
39715 * Makerules (build-module, build-module-asneeded): Likewise.
39716 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39717 Likewise.
39718 * elf/Makefile ($(objpfx)ld.so): Likewise.
39719
39720 2015-02-12 RĂŒdiger Sonderfeld <ruediger@c-plusplus.net>
39721
39722 [BZ #17965]
39723 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39724 both struct timeval and struct timespec.
39725
39726 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39727
39728 [BZ #16560]
39729 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39730 and redefine.
39731 (__ieee754_exp2l): Do not multiply small fractional parts by
39732 M_LN2l.
39733 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39734 small argument.
39735 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39736 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39737 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39738 * math/auto-libm-test-in: Add more tests of exp2.
39739 * math/auto-libm-test-out: Regenerated.
39740
39741 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39742
39743 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39744 unaligned path.
39745
39746 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39747
39748 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39749 little endian.
39750
39751 2015-02-12 Andreas Schwab <schwab@suse.de>
39752
39753 [BZ #15790]
39754 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39755 Filter out elision flags from value returned in kind.
39756 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39757 * nptl/tst-pthread-mutexattr.c: New file.
39758
39759 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39760
39761 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39762 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39763 into gnu-gnu, and update comment to refer to abi-tags.
39764
39765 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39766
39767 [BZ #15467]
39768 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39769 (__sincos): Set errno to EDOM for infinite argument.
39770 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39771 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39772 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39773 (__sincosl): Set errno to EDOM for infinite argument.
39774 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39775 (__sincosl): Set errno to EDOM for infinite argument.
39776 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39777 (__sincosl): Set errno to EDOM for infinite argument.
39778 * math/libm-test.inc (sincos_test_data): Test errno setting.
39779
39780 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39781
39782 * string/strxfrm_l.c: Remove #define STRCMP.
39783 * string/strcoll_l.c: Remove #define STRLEN.
39784 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39785 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39786
39787 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39788
39789 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39790 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39791 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39792 * sysdeps/mips/mips64/Makefile: ... here.
39793 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39794 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39795 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39796 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39797 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39798 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39799 * sysdeps/mips/mips64/n64/Implies: Likewise.
39800
39801 2015-02-10 Roland McGrath <roland@hack.frob.com>
39802
39803 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39804 <sys/time.h>, <string.h>, and <errno.h>.
39805 (dest_offset, dest_address, value, zero): Remove unused variables.
39806 (ldouble): Remove typedef.
39807 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39808 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39809 1). Fix code style.
39810 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39811 (check): Function removed.
39812 (CHECK): New macro.
39813 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39814 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39815 Don't call set_sigaction_FP and remove_sigaction_FP here.
39816 (ldouble_test): Just use 'long double' as macro argument, no need for
39817 the 'ldouble' typedef.
39818 (do_test): Set up SIGFPE handler at start, using plain signal rather
39819 than sigaction. Fix code style.
39820
39821 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39822
39823 [BZ #17949]
39824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39825 jump label.
39826
39827 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39828
39829 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39830 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39831
39832 * sysdeps/powerpc/configure.ac: Remove file.
39833 * sysdeps/powerpc/configure: Likewise.
39834
39835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39836 [sysdep_routines]: Remove wordcopy-power6 object.
39837 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39838 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39839 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39840 (__memmove_ppc32): Likewise.
39841 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39842 file.
39843 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39844 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39845 Remove preprocessor.
39846
39847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39848 [sysdep_routines]: Remove wide chars objects.
39849 [wcsmbs]: New rule for wide char objects.
39850
39851 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39852 Remove wordcopy-power6 obejct.
39853 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39854 Use local call for wordcopy and memcpy symbols.
39855 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39857 implementation for loader.
39858 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39859
39860 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39861 Remove wordcopy-power7 object.
39862 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39863 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39864 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39865 (_wordcopy_fwd_dest_aligned): Likewise.
39866 (_wordcopy_bwd_aligned): Likewise.
39867 (_wordcopy_bwd_dest_aligned): Likewise.
39868
39869 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39870 Rewrite to call __memmove_ppc instead of include default
39871 implementation.
39872
39873 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39874 Remove wide chars objects.
39875 [wcsmbs]: New rule for wide char objects.
39876
39877 2015-02-09 Andreas Schwab <schwab@suse.de>
39878
39879 [BZ #17912]
39880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39881 in terms of __O_DIRECTORY.
39882
39883 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39884
39885 * time/getdate.c: Include <stdbool.h>.
39886 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39887 call PTR_MANGLE.
39888 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39889 PTR_DEMANGLE.
39890
39891 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39892
39893 Add ersatz _Static_assert on older C hosts
39894 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39895 pre-C11 C platform that is not known to support _Static_assert.
39896
39897 2015-02-07 Richard Braun <rbraun@sceen.net>
39898
39899 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39900 sigstate.
39901 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39902
39903 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39904
39905 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39906 priority against unexistent AIO_PRIO_DELTA_MAX.
39907 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39908 instead of int.
39909 * misc/fchflags.c (fchflags): Likewise.
39910 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39911 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39912 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39913 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39914 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39915 Declare macros.
39916 [__USE_MISC] (chflags, fchflags): Declare functions.
39917 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39918 EINVAL when nfds is greater than FD_SETSIZE.
39919 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39920 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39921 45.
39922 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39923 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39924 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39925 MACH_RCV_TIMED_OUT.
39926 * hurd/hurd/signal.h (_hurd_self_sigstate,
39927 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39928 Explicit casts from void *.
39929 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39930 * abi-tags: Rename gnu-gnu os into gnu.
39931
39932 [BZ #4719]
39933 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39934 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39935 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39936 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39937 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39938 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39939
39940 [BZ #17944]
39941 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39942 duplicates ADDR->sun_path with sockaddr LEN limitation.
39943 * sysdeps/mach/hurd/connect.c: Include <string.h>
39944 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39945 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39946 * sysdeps/mach/hurd/sendto.c: Likewise.
39947 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39948 implementing it by hand.
39949
39950 2015-02-06 Roland McGrath <roland@hack.frob.com>
39951
39952 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39953 Use sfi_breg on ldr.
39954 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39955 Likewise.
39956
39957 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39958 it's defined.
39959 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39960 Test SIGSETXID only if it's defined.
39961
39962 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39963
39964 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39965 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39966
39967 * nptl/tst-align2.c: Moved ...
39968 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39969 * nptl/Makefile (tests): Remove tst-align2.
39970 * sysdeps/unix/sysv/linux/Makefile
39971 [$(subdir) = nptl] (tests): Add tst-align-clone.
39972 * nptl/tst-getpid1.c: Moved ...
39973 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39974 * nptl/tst-getpid2.c: Moved ...
39975 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39976 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39977 * sysdeps/unix/sysv/linux/Makefile
39978 [$(subdir) = nptl] (tests): ... here.
39979 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39980 * sysdeps/unix/sysv/linux/Makefile
39981 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39982
39983 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39984 Drop trailing \n from perror argument. Use return rather than exit.
39985
39986 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39987 on [SA_SIGINFO].
39988 * nptl/tst-cancel21.c (do_test): Likewise.
39989 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39990 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39991 [!SA_SIGINFO]: Make it a stub test.
39992
39993 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39994 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39995
39996 * posix/tst-getlogin.c: Move to ...
39997 * login/tst-getlogin.c: ... here.
39998 * posix/Makefile (tests): Move tst-getlogin to ...
39999 * login/Makefile (tests): ... here.
40000
40001 * libio/tst-atime.c (do_test): Move local variables SV and E
40002 inside [ST_NOATIME] conditional.
40003
40004 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40005
40006 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40007
40008 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40009 (wait_code): New function replaces macro.
40010 Call nanosleep rather than syscall.
40011
40012 * nptl/pt-system.c: Rewritten. Put everything under
40013 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40014 Use IFUNC to redirect when possible.
40015
40016 * nptl/pt-longjmp.c: Rewritten. Put everything under
40017 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40018 Use IFUNC to redirect when possible.
40019
40020 * nptl/pt-fork.c: Rewritten. Put everything under
40021 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40022 Use IFUNC to redirect when possible.
40023 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40024
40025 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40026 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40027 unconditionally nowadays. This included the only reference to
40028 __vdso_clock_gettime that appears outside libc proper.
40029 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40030 Remove version set (containing only __vdso_clock_gettime).
40031 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40032 Add attribute_hidden.
40033 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40034 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40035 libc_hidden_data_def.
40036 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40037 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40038
40039 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40040 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40041 setrpcent, and getrpcport to ...
40042 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40043 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40044 getrpcbynumber_r, and getrpcent_r to ...
40045 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40046 * inet/getrpcbyname.c: Moved ...
40047 * sunrpc/getrpcbyname.c: ... here.
40048 * inet/getrpcbyname_r.c: Moved ...
40049 * sunrpc/getrpcbyname_r.c: ... here.
40050 * inet/getrpcbynumber.c: Moved ...
40051 * sunrpc/getrpcbynumber.c: ... here.
40052 * inet/getrpcbynumber_r.c: Moved ...
40053 * sunrpc/getrpcbynumber_r.c: ... here.
40054 * inet/getrpcent.c: Moved ...
40055 * sunrpc/getrpcent.c: ... here.
40056 * inet/getrpcent_r.c: Moved ...
40057 * sunrpc/getrpcent_r.c: ... here.
40058 * inet/Makefile (routines): Move those to ...
40059 * sunrpc/Makefile (routines): ... here.
40060 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40061 the $(subdirs) list.
40062 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40063 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40064 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40065 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40066
40067 * elf/Makefile (routines): Include $(all-dl-routines), not just
40068 $(dl-routines).
40069 (rtld-routines): Likewise. Use = rather than :=.
40070 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40071 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40072 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40073 * sysdeps/arm/Makefile: Likewise.
40074 * sysdeps/i386/Makefile: Likewise.
40075 * sysdeps/x86_64/Makefile: Likewise.
40076 * sysdeps/hppa/Makefile [$(subdir) = elf]
40077 (sysdep_routines, sysdep-rtld-routines): Don't add
40078 $(sysdep-dl-routines) to these.
40079 * sysdeps/ia64/Makefile: Likewise.
40080 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40081 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40082 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40083 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40084 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40085 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40086 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40087 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40088 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40089 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40090 these; sysdep-dl-routines alone is enough.
40091
40092 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40093
40094 [BZ #17932]
40095 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40096 where multiplication results in zero and third argument is finite
40097 and nonzero.
40098 * math/auto-libm-test-in: Add more tests of fma.
40099 * math/auto-libm-test-out: Regenerated.
40100
40101 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40102 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40103 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40104 (_FP_CMP_EQ): Likewise.
40105 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40106
40107 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40108 extra argument CHECK_NAN. Redefine as wrapper around
40109 _FP_EXTEND_CNAN.
40110
40111 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40112
40113 * version.h (RELEASE): Set to "stable".
40114 (VERSION): Set to "2.21"
40115 * include/features.h (__GLIBC_MINOR__): Set to 21.
40116
40117 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40118
40119 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40120 Paul Eggert <eggert@cs.ucla.edu>
40121
40122 [BZ #16618]
40123 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40124 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40125 size in bytes. Store needed elements in wpmax. Use needed size
40126 in bytes for extend_alloca.
40127
40128 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40129
40130 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40131 binutls 2.25, and texinfo 5.2.
40132 * INSTALL: Regenerate.
40133 * sysdeps/nios2/configure: Regenerate.
40134 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40135 * manual/contrib.texi: Update.
40136 * po/be.po: Update.
40137 * po/bg.po: Update.
40138 * po/ca.po: Update.
40139 * po/cs.po: Update.
40140 * po/da.po: Update.
40141 * po/de.po: Update.
40142 * po/el.po: Update.
40143 * po/eo.po: Update.
40144 * po/es.po: Update.
40145 * po/fi.po: Update.
40146 * po/fr.po: Update.
40147 * po/gl.po: Update.
40148 * po/hr.po: Update.
40149 * po/hu.po: Update.
40150 * po/ia.po: Update.
40151 * po/id.po: Update.
40152 * po/it.po: Update.
40153 * po/ja.po: Update.
40154 * po/ko.po: Update.
40155 * po/lt.po: Update.
40156 * po/nb.po: Update.
40157 * po/nl.po: Update.
40158 * po/pl.po: Update.
40159 * po/pt_BR.po: Update.
40160 * po/ru.po: Update.
40161 * po/rw.po: Update.
40162 * po/sk.po: Update.
40163 * po/sl.po: Update.
40164 * po/sv.po: Update.
40165 * po/tr.po: Update.
40166 * po/uk.po: Update.
40167 * po/vi.po: Update.
40168 * po/zh_CN.po: Update.
40169 * po/zh_TW.po: Update.
40170
40171 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40172 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40173 * sysdeps/hppa/dl-irel.h: Remove #warning.
40174 * sysdeps/hppa/entry.h: Provide prototype for
40175 __canonicalize_funcptr_for_compare and cast argument.
40176 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40177 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40178 * sysdeps/hppa/sotruss-lib.c: New file.
40179 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40180 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40181 (atomic_compare_and_exchange_bool_acq): Likewise.
40182 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40183 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40184
40185 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40186 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40187 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40188
40189 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40190
40191 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40192 called function in non-PIC case.
40193
40194 2015-01-31 David S. Miller <davem@davemloft.net>
40195
40196 * sysdeps/sparc/sparc32/bits/atomic.h
40197 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40198 unlock not after it.
40199 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40200 volatile register usage warnings from the compiler.
40201
40202 * sysdeps/sparc/nptl/sem_init.c: Delete.
40203 * sysdeps/sparc/nptl/sem_post.c: Delete.
40204 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40205 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40206 * sysdeps/sparc/sparc32/sem_init.c: New file.
40207 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40208 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40209 padding explicitly initialized.
40210 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40211 padding for in-semaphore spinlock.
40212 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40213 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40214 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40215 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40216 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40217 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40218 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40219 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40220 version.
40221 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40222 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40223
40224 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40225
40226 [BZ #17801]
40227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40228 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40229 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40230 New.
40231 (index_AVX_Fast_Unaligned_Load): Likewise.
40232 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40233 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40234 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40235 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40236 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40237 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40238 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40239 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40240 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40241
40242 2015-01-29 Andreas Schwab <schwab@suse.de>
40243
40244 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40245
40246 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40247
40248 [BZ #17892]
40249 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40250
40251 2015-01-28 Martin Sebor <msebor@redhat.com>
40252
40253 * math/README.libm-test: Clarify. Add "How to read the test output."
40254
40255 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40256
40257 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40258 Define to 0.
40259
40260 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40261
40262 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40263 (__HAVE_64B_ATOMICS): Define to 0.
40264
40265 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40266
40267 [BZ #17885]
40268 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40269 value to set as new flag.
40270
40271 [BZ #16576]
40272 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40273 and use _ARCH_PPCSQ instead.
40274 (__ieee754_sqrt): Likewise.
40275 (__ieee754_sqrtf): Likewise.
40276 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40277 _ARCH_PPCSQ is defined.
40278 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40279 fsqrt instruction.
40280 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40281 _ARCH_PPCSQ is defined.
40282 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40283 fsqrts instruction.
40284 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40285
40286 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40287
40288 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40289 bug (GCC BZ #64739).
40290
40291 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40292
40293 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40294 Mark _retval as used.
40295 (lll_futex_wake_unlock): Likewise.
40296 (lll_futex_timed_wait_requeue_pi): Likewise.
40297
40298 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40299 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40300 register variables.
40301
40302 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40303 libm_hidden_def.
40304
40305 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40306 (__bswap_64): Mark as __always_inline.
40307
40308 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40309
40310 [BZ #15378]
40311 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40312 when none of the search directories exist.
40313
40314 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40315
40316 [BZ #17869]
40317 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40318 power8 in .machine directive.
40319
40320 [BZ #17868]
40321 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40322 set dependency from opd value.
40323
40324 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40325
40326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40327 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40328 architecture.
40329
40330 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40331
40332 [BZ #17870]
40333 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40334 with uint64_t.
40335 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40336 (uint64_t) 1.
40337 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40338 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40339 Replace 1UL with (uint64_t) 1.
40340 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40341 int with uint64_t.
40342
40343 2015-01-23 Roland McGrath <roland@hack.frob.com>
40344
40345 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40346 (if_freenameindex): Likewise.
40347
40348 * resource/getrlimit64.c: Add missing libc_hidden_def.
40349
40350 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40351
40352 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40353 __label__.
40354 (_FP_FMA): Likewise.
40355 (_FP_TO_INT_ROUND): Likewise.
40356 (_FP_FROM_INT): Likewise.
40357
40358 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40359
40360 [BZ #16418]
40361 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40362 Make code racy and cancel safe.
40363
40364 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40365
40366 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40367 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40368 attribution.
40369
40370 * pwd/tst-getpw.c: Rewrite.
40371
40372 [BZ #17702]
40373 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40374 (modules-names): Add moddummy1 and moddummy2.
40375 ($(objpfx)tst-rec-dlopen): Define.
40376 * dlfcn/moddummy1.c: New file.
40377 * dlfcn/moddummy2.c: New file.
40378 * dlfcn/tst-rec-dlopen.c: New file.
40379 * elf/dl-cache.c (_dl_load_cache_lookup):
40380 Return char*. Copy result with alloca/strcpy/strdup.
40381 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40382 returns char*. Free cached. If not saving realname
40383 free cached.
40384 * elf/dl-open.c (dl_open_worker): Do not assert that
40385 _r_debug->r_state is RT_CONSISTENT.
40386 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40387 returns char*.
40388
40389 2015-01-21 Torvald Riegel <triegel@redhat.com>
40390 Carlos O'Donell <carlos@redhat.com>
40391
40392 [BZ #12674]
40393 * nptl/sem_waitcommon.c: New file.
40394 * nptl/sem_wait.c: Include sem_waitcommon.c.
40395 (__sem_wait_cleanup, do_futex_wait): Remove.
40396 (__new_sem_wait): Adapt.
40397 (__new_sem_trywait): New function.
40398 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40399 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40400 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40401 (sem_timedwait): Adapt.
40402 * nptl/sem_post.c (__new_sem_post): Adapt.
40403 (futex_wake): New function.
40404 (__old_sem_post): Add release MO fence.
40405 * nptl/sem_open.c (sem_open): Adapt.
40406 * nptl/sem_init.c (__new_sem_init): Adapt.
40407 (futex_private_if_supported): New function.
40408 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40409 (__old_sem_getvalue): Add using previous code.
40410 * sysdeps/nptl/internaltypes.h: Adapt.
40411 * nptl/tst-sem13.c (do_test): Adapt.
40412 * nptl/tst-sem11.c (main): Adapt.
40413 * nptl/sem_trywait.c: Remove.
40414 * nptl/DESIGN-sem.txt: Remove.
40415 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40416 (gen-as-const-headers): Remove structsem.sym.
40417 * nptl/structsem.sym: Remove.
40418 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40419 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40420 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40421 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40422 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40423 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40424 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40425 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40426 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40427 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40428 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40429 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40430 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40431 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40432 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40433 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40434 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40435 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40436 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40437 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40438 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40439 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40440
40441 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40442
40443 * INSTALL: Regenerated.
40444
40445 * po/libc.pot: Regenerated.
40446
40447 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40448 Sandra Loosemore <sandra@codesourcery.com>
40449 Andrew Jenner <andrew@codesourcery.com>
40450 Joseph Myers <joseph@codesourcery.com>
40451 Nathan Sidwell <nathan@codesourcery.com>
40452
40453 * NEWS: Mention new Nios II port.
40454 * sysdeps/nios2/Implies: New file.
40455 * sysdeps/nios2/Makefile: New file.
40456 * sysdeps/nios2/Subdirs: New file.
40457 * sysdeps/nios2/Versions: New file.
40458 * sysdeps/nios2/__longjmp.S: New file.
40459 * sysdeps/nios2/abort-instr.h: New file.
40460 * sysdeps/nios2/backtrace.c: New file.
40461 * sysdeps/nios2/bits/endian.h: New file.
40462 * sysdeps/nios2/bits/fenv.h: New file.
40463 * sysdeps/nios2/bits/link.h: New file.
40464 * sysdeps/nios2/bits/setjmp.h: New file.
40465 * sysdeps/nios2/bsd-_setjmp.S: New file.
40466 * sysdeps/nios2/bsd-setjmp.S: New file.
40467 * sysdeps/nios2/configure: New generated file.
40468 * sysdeps/nios2/configure.ac: New file.
40469 * sysdeps/nios2/crti.S: New file.
40470 * sysdeps/nios2/crtn.S: New file.
40471 * sysdeps/nios2/dl-init.c: New file.
40472 * sysdeps/nios2/dl-machine.h: New file.
40473 * sysdeps/nios2/dl-sysdep.h: New file.
40474 * sysdeps/nios2/dl-tls.h: New file.
40475 * sysdeps/nios2/dl-trampoline.S: New file.
40476 * sysdeps/nios2/gccframe.h: New file.
40477 * sysdeps/nios2/gmp-mparam.h: New file.
40478 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40479 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40480 * sysdeps/nios2/ldsodefs.h: New file.
40481 * sysdeps/nios2/libc-tls.c: New file.
40482 * sysdeps/nios2/libm-test-ulps: New file.
40483 * sysdeps/nios2/machine-gmon.h: New file.
40484 * sysdeps/nios2/math-tests.h: New file.
40485 * sysdeps/nios2/math_private.h: New file.
40486 * sysdeps/nios2/memusage.h: New file.
40487 * sysdeps/nios2/nptl/Makefile: New file.
40488 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40489 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40490 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40491 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40492 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40493 * sysdeps/nios2/nptl/tls.h: New file.
40494 * sysdeps/nios2/preconfigure: New file.
40495 * sysdeps/nios2/s_fma.c: New file.
40496 * sysdeps/nios2/s_fmaf.c: New file.
40497 * sysdeps/nios2/setjmp.S: New file.
40498 * sysdeps/nios2/sfp-machine.h: New file.
40499 * sysdeps/nios2/sotruss-lib.c: New file.
40500 * sysdeps/nios2/stackguard-macros.h: New file.
40501 * sysdeps/nios2/stackinfo.h: New file.
40502 * sysdeps/nios2/start.S: New file.
40503 * sysdeps/nios2/sysdep.h: New file.
40504 * sysdeps/nios2/tls-macros.h: New file.
40505 * sysdeps/nios2/tst-audit.h: New file.
40506 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40507 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40508 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40509 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40510 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40511 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40512 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40513 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40514 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40515 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40516 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40517 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40518 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40519 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40520 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40521 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40522 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40523 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40524 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40525 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40526 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40527 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40528 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40529 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40530 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40531 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40532 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40533 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40534 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40535 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40536 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40537 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40538 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40539 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40540 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40541 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40542 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40543 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40544 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40545 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40546 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40547 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40548 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40549 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40550
40551 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40552
40553 [BZ #17844]
40554 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40555 (getutent): Use weak_alias in non SHARED case
40556 and default_symbol_version in SHARED case.
40557 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40558 (getutent_r, pututline): Likewise.
40559 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40560 (getutid): Likewise.
40561 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40562 (getutid_r): Likewise.
40563 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40564 (getutline): Likewise.
40565 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40566 (getutline_r): Likewise.
40567 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40568 (updwtmp): Likewise.
40569
40570 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40571
40572 [BZ #17848]
40573 * sysdeps/s390/s390-32/memcmp.S
40574 (memcmp_g5): Rename to __memcmp_g5.
40575 * sysdeps/s390/s390-32/memcpy.S
40576 (memcpy_g5): Rename to __memcpy_g5.
40577 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40578 (memcpy_mvcle) Rename to __memcpy_mvcle.
40579 * sysdeps/s390/s390-32/memset.S
40580 (memset_g5): Rename to __memset_g5.
40581 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40582 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40583 and use prefixed functions.
40584 * sysdeps/s390/s390-32/multiarch/memcmp.S
40585 (memcmp_z196): Rename to __memcmp_z196.
40586 (memcmp_z10): Rename to __memcmp_z10.
40587 (memcmp): Set alias to __memcmp_g5.
40588 (bcmp): Set alias to __memcmp_g5.
40589 * sysdeps/s390/s390-32/multiarch/memcpy.S
40590 (memcpy_z196): Rename to __memcpy_z196.
40591 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40592 (memcpy_z10): Rename to __memcpy_z10.
40593 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40594 (memcpy): Set alias to __memcpy_g5.
40595 * sysdeps/s390/s390-32/multiarch/memset.S
40596 (memset_z196): Rename to __memset_z196.
40597 Jump to __memset_mvcle instead of memset_mvcle.
40598 (memset_z10): Rename to __memset_z10.
40599 Jump to __memset_mvcle instead of memset_mvcle.
40600 (memset_mvcle) Rename to __memset_mvcle.
40601 (memset): Set alias to __memset_g5.
40602 * sysdeps/s390/s390-64/memcmp.S
40603 (memcmp_z900): Rename to __memcmp_z900.
40604 * sysdeps/s390/s390-64/memcpy.S
40605 (memcpy_z900): Rename to __memcpy_z900.
40606 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40607 (memcpy_mvcle) Rename to __memcpy_mvcle.
40608 * sysdeps/s390/s390-64/memset.S
40609 (memset_z900): Rename to __memset_z900.
40610 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40611 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40612 and use prefixed functions.
40613 * sysdeps/s390/s390-64/multiarch/memcmp.S
40614 (memcmp_z196): Rename to __memcmp_z196.
40615 (memcmp_z10): Rename to __memcmp_z10.
40616 (memcmp): Set alias to __memcmp_z900.
40617 (bcmp): Set alias to __memcmp_z900.
40618 * sysdeps/s390/s390-64/multiarch/memcpy.S
40619 (memcpy_z196): Rename to __memcpy_z196.
40620 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40621 (memcpy_z10): Rename to __memcpy_z10.
40622 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40623 (memcpy): Set alias to __memcpy_z900.
40624 * sysdeps/s390/s390-64/multiarch/memset.S
40625 (memset_z196): Rename to __memset_z196.
40626 Jump to __memset_mvcle instead of memset_mvcle.
40627 (memset_z10): Rename to __memset_z10.
40628 Jump to __memset_mvcle instead of memset_mvcle.
40629 (memset_mvcle) Rename to __memset_mvcle.
40630 (memset): Set alias to __memset_z900.
40631
40632 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40633
40634 [BZ #17748]
40635 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40636 __fesetenv instead of fesetenv.
40637
40638 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40639
40640 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40641 macro.
40642
40643 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40644
40645 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40646 regression on LE.
40647
40648 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40649 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40650 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40651 strncmp-power8 object.
40652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40653 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40654 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40655 * NEWS: Update.
40656
40657 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40658 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40659
40660 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40661 trailing byte check.
40662
40663 2015-01-13 David S. Miller <davem@davemloft.net>
40664
40665 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40666
40667 2015-01-13 Roland McGrath <roland@hack.frob.com>
40668
40669 * login/logout.c (logout): Use memset rather than bzero.
40670 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40671 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40672 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40673 (_gethtbyaddr): Likewise.
40674 * locale/programs/simple-hash.c (bcopy): Macro removed.
40675
40676 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40677
40678 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40679 Add strcmp-power8 object.
40680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40681 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40682 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40683 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40684 __strcmp_power8 implementation.
40685 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40686 * NEWS: Update.
40687
40688 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40689 Add strncpy-power8 and stpncpy-power8 objects.
40690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40691 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40692 implementations.
40693 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40694 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40695 __stpncpy_power8 implementation.
40696 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40697 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40698 __strncpy_power8 implementation.
40699 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40700 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40701 * NEWS: Update.
40702
40703 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40704 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40705 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40706
40707 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40708 strncat-power8 object.
40709 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40710 __strcat_power8 implementation.
40711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40712 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40713 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40714 optimized strcat for power8.
40715
40716 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40717 strcpy-power8 and stpcpy-power8 objects.
40718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40719 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40720 implementations.
40721 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40722 multiarch stpcpy implementation for POWER8.
40723 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40724 multiarch strcpy implementation for POWER8.
40725 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40726 __strcpy_power8 function.
40727 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40728 stpcpy for POWER8.
40729 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40730 strcpy for POWER8.
40731 * NEWS: Update.
40732
40733 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40734
40735 [BZ #16009]
40736 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40737 weights and rules. Use do_xfrm_cached if data fits in cache,
40738 do_xfrm otherwise. Moved former main loop to...
40739 * (do_xfrm_cached): New function.
40740 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40741 find_idx, find_position and stack_push.
40742 * (find_idx): New function.
40743 * (find_position): Likewise.
40744 * localedata/sort-test.sh: Added test run for do_xfrm.
40745 * localedata/xfrm-test.c (main): Added command line option
40746 -nocache to run the test with strings that are too large for
40747 the STRXFRM cache.
40748
40749 2015-01-13 Torvald Riegel <triegel@redhat.com>
40750
40751 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40752 variable to lll_futex_wake call, not the value itself.
40753
40754 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40755
40756 [BZ #17803]
40757 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40758 twom64. Adjust value to 0x1p-64L.
40759 (__scalblnl): Only return standard underflowing result for K <=
40760 -64 not K <= -63; adjust exponent for underflowing result by 64
40761 not 63.
40762 * math/libm-test.inc (scalbn_test_data): Add more tests.
40763 (scalbln_test_data): Likewise.
40764
40765 [BZ #17834]
40766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40767 0x1p63L.
40768 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40769 not HX.
40770 * math/libm-test.inc (scalbn_test_data): Add more tests.
40771 (scalbln_test_data): Likewise.
40772
40773 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40774 Stefani Seibold <stefani@seibold.net>
40775
40776 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40777 (sysdep_routines): Add dl-vdso here, ...
40778 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40779 (sysdep_routines): ... not here.
40780 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40781 fallback when vDSO is not presented.
40782 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40783 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40784 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40785 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40786 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40787 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40788 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40789 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40790 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40792 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40793 fallback configurable symbol when vDSO is not available.
40794 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40795 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40796 be able to redefine fallback symbol when vDSO is not available.
40797 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40798 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40799
40800 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40801
40802 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40803 (TLS_INIT_TP): Add tm_capable initialization.
40804 (TLS_DEFINE_INIT_TP): Likewise.
40805 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40806 TCB.
40807 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40808 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40809 calculation.
40810 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40811 transactoion is lock elision is built and TCB tm_capable is set.
40812 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40814 (INTERNAL_SYSCALL_NCS): Likewise.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40816 (INTERNAL_SYSCALL_NCS): Likewise.
40817 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40818
40819 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40820 for powerpc.
40821 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40822 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40823 and remove it for 32 bits case.
40824 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40825 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40826 initialization.
40827 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40828 Disable lock elision with rdlocks if elision is not available.
40829
40830 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40831 (sysdep_routines): Add lock elision objects.
40832 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40833 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40834 [pthread_mutex_t] (__elision): Add field.
40835 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40836 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40837 elision definitions for powerpc.
40838 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40839 implementation of lock elision for powerpc.
40840 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40841 implementation of timed lock elision for powerpc.
40842 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40843 implementation of trylock with lock elision for powerpc.
40844 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40845 implementaion of unlock for lock elision for powerpc.
40846 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40847 automatic enable lock elision for mutexes.
40848 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40849 transaction execution definitions for powerpc.
40850 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40851 definitions.
40852 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40853 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40854 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40855 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40856 * NEWS: Update.
40857
40858 2015-01-09 Roland McGrath <roland@hack.frob.com>
40859
40860 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40861 for #include of <shm-directory.h>.
40862
40863 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40864
40865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40866 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40867
40868 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40869
40870 [BZ #17791]
40871 * NEWS: Mention bug fix.
40872 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40873 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40874 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40875
40876 2015-01-09 Torvald Riegel <triegel@redhat.com>
40877
40878 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40879
40880 2015-01-09 Torvald Riegel <triegel@redhat.com>
40881
40882 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40883
40884 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40885
40886 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40887 pointer and cast to uintptr_t.
40888
40889 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40890
40891 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40892 removed.
40893 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40894
40895 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40896
40897 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40898 of 0.
40899
40900 2015-01-08 Roland McGrath <roland@hack.frob.com>
40901
40902 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40903 <nptl/pthreadP.h> instead.
40904 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40905
40906 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40907 already defined.
40908 [__SIGRTMIN] (init): Function removed.
40909 [__SIGRTMIN] (initialized): Variable removed.
40910 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40911 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40912 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40913 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40914 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40915 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40916 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40917 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40918 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40919 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40920 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40921 * sysdeps/nptl/allocrtsig.c: New file.
40922 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40923 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40924 * sysdeps/generic/testrtsig.h: File removed.
40925
40926 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40927 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40928
40929 * nptl/nptl-init.c (pthread_functions): Conditionalize
40930 .ptr__nptl_setxid initialization on [SIGSETXID].
40931
40932 * sysdeps/nptl/sys/procfs.h: New file.
40933 * nptl_db/Makefile (headers): Add it.
40934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40935
40936 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40937 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40938 * nptl/pthread_attr_setaffinity.c: Include it.
40939 * nptl/pthread_setattr_default_np.c: Likewise.
40940 * nptl/check-cpuset.h: New file.
40941
40942 2015-01-08 Richard Henderson <rth@redhat.com>
40943
40944 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40945 (CFLAGS-tst-execstack-prog.c): Likewise.
40946 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40947
40948 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40949 Sandra Loosemore <sandra@codesourcery.com>
40950 Andrew Jenner <andrew@codesourcery.com>
40951 Joseph Myers <joseph@codesourcery.com>
40952 Nathan Sidwell <nathan@codesourcery.com>
40953
40954 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40955 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40956 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40957 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40958 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40959 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40960 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40961 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40962 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40963 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40964 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40965 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40966 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40967 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40968 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40969 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40970 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40971
40972 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40973
40974 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40975 timespec struct member in syscall macro.
40976 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40977 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40978 first timeval struct member in syscall macro.
40979 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40980
40981 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40982
40983 [BZ #17748]
40984 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40985 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40986 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40987 __feupdateenv and define as weak alias of __feupdateenv. Use
40988 libm_hidden_weak.
40989 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40990 libm_hidden_def.
40991 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40992 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40993 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40994 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40995 libm_hidden_def.
40996 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40997 __feupdateenv and define as weak alias of __feupdateenv. Use
40998 libm_hidden_weak.
40999 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41000 libm_hidden_def.
41001 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41002 __feupdateenv and define as weak alias of __feupdateenv. Use
41003 libm_hidden_weak.
41004 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41005 libm_hidden_def.
41006 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41007 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41008 (__feupdateenv): Likewise.
41009 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41010 __feupdateenv and define as weak alias of __feupdateenv. Use
41011 libm_hidden_weak.
41012 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41013 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41014 libm_hidden_def.
41015 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41016 function.
41017 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41018 libm_hidden_def.
41019 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41020 __feupdateenv instead of feupdateenv.
41021 (default_libc_feupdateenv_test): Likewise.
41022 (libc_feresetround_ctx): Likewise.
41023
41024 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41025
41026 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41027 prototype.
41028
41029 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41030
41031 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41032 COLL_SYM in a couple of places to avoid uninitialized variable
41033 wanings on tilegx gcc 4.8.2.
41034
41035 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41036
41037 * sysdeps/aarch64/strcpy.S: New file.
41038 * sysdeps/aarch64/stpcpy.S: New file.
41039 * NEWS: Updated.
41040
41041 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41042
41043 * sysdeps/aarch64/strrchr.S: New file.
41044 * NEWS: Updated.
41045
41046 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41047
41048 [BZ #17658]
41049 * stdlib/setenv.c: Fix memory leak when setting large,
41050 duplicate string.
41051
41052 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41053
41054 [BZ #17273]
41055 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41056 and tabs from buffer before parsing fstab entry.
41057 * misc/tst-mntent.c (main): Add test for mount entry with
41058 trailing spaces and tabs.
41059
41060 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41061
41062 [BZ #17748]
41063 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41064 * math/fesetround.c (fesetround): Rename to __fesetround and
41065 define as weak alias of __fesetround. Use libm_hidden_weak.
41066 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41067 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41068 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41069 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41070 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41071 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41072 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41073 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41074 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41075 __fesetround_inline.
41076 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41077 __fesetround_inline instead of __fesetround.
41078 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41079 __fesetround and define as weak alias of __fesetround. Use
41080 libm_hidden_weak. Call __fesetround_inline instead of
41081 __fesetround.
41082 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41083 __fesetround and define as weak alias of __fesetround. Use
41084 libm_hidden_weak.
41085 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41086 Likewise.
41087 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41088 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41089 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41090 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41091 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41092 __fesetround and define as weak alias of __fesetround. Use
41093 libm_hidden_weak.
41094 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41095 __fesetround instead of fesetround.
41096 (default_libc_feholdexcept_setround): Likewise.
41097 (libc_feholdsetround_ctx): Likewise.
41098 (libc_feholdsetround_noex_ctx): Likewise.
41099
41100 [BZ #17748]
41101 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41102 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41103 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41104 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41105 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41106 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41107 define as weak alias of __fesetenv. Use libm_hidden_weak.
41108 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41109 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41110 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41111 define as weak alias of __fesetenv. Use libm_hidden_weak.
41112 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41113 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41114 define as weak alias of __fesetenv. Use libm_hidden_weak.
41115 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41116 libm_hidden_def.
41117 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41118 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41119 Likewise.
41120 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41121 define as weak alias of __fesetenv. Use libm_hidden_weak.
41122 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41123 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41124 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41125 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41126 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41127 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41128 __fesetenv instead of fesetenv.
41129 (libc_feresetround_noex_ctx): Likewise.
41130 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41131 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41132 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41133 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41134 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41135 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41136 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41137 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41138 (__feupdateenv): Likewise.
41139 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41140 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41141 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41142 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41143
41144 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41145
41146 [BZ #17806]
41147 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41148 addresses have been freed.
41149
41150 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41151
41152 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41153 and nservall.
41154
41155 2015-01-06 Ondƙej Bílka <neleai@seznam.cz>
41156
41157 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41158 Clean up check_pf allocation pattern. addresses
41159
41160 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41161
41162 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41163 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41164 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41165 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41166 * nptl/pthread_join.c (pthread_join): Likewise.
41167 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41168 * sysdeps/posix/waitid.c (__waitid): Likewise.
41169 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41170 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41171 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41172 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41173 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41174 Likewise.
41175 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41176 (__libc_pread64): Likewise.
41177 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41178 (__libc_pwrite): Likewise.
41179 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41180 (__libc_pwrite64): Likewsie.
41181 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41182 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41183 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41184 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41185 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41186 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41187 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41189 Likewise.
41190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41191 (__libc_pread64): Likewise.
41192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41193 Likewise.
41194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41195 (__libc_pwrite64): Likewise.
41196 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41197 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41198 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41199 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41200 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41201 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41202 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41203 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41204 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41205 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41206 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41207 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41208 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41209 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41210 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41211 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41212 Likewise.
41213
41214 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41215
41216 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41217 (CFLAGS-test-double.c): Likewise.
41218 (CFLAGS-test-ldouble.c): Likewise.
41219 (CPPFLAGS-test-ifloat.c): Likewise.
41220 (CPPFLAGS-test-idouble.c): Likewise.
41221 (CPPFLAGS-test-ildoubl.c): Likewise.
41222 (CFLAGS-test-test-fenv.c): Remove variable.
41223 (CFLAGS-test-misc.c): Likewise.
41224
41225 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41226
41227 [BZ #17797]
41228 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41229 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41230 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41231 CLOCKS_PER_SEC == 1000000.
41232 * time/clocktest.c (main): Replace %ld with %jd and cast to
41233 intmax_t.
41234
41235 2015-01-05 Roland McGrath <roland@hack.frob.com>
41236
41237 * sysdeps/generic/unwind-resume.h: New file.
41238 * sysdeps/gnu/unwind-resume.c: Include it.
41239 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41240 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41241 argument list.
41242 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41243 global rather than static.
41244 (_Unwind_Resume): Update user.
41245 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41246 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41247 rather than static. Add __attribute__ ((cold)).
41248 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41249 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41250 * sysdeps/arm/arm-unwind-resume.S: New file.
41251 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41252 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41253 * sysdeps/arm/Makefile [$(subdir) = csu]
41254 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41255 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41256 Add rt-arm-unwind-resume.
41257 [$(subdir) = nptl]
41258 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41259 Add pt-arm-unwind-resume.
41260 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41261 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41262
41263 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41264
41265 [BZ #17748]
41266 * include/fenv.h (__feholdexcept): Declare. Use
41267 libm_hidden_proto.
41268 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41269 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41270 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41271 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41272 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41273 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41274 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41275 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41276 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41277 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41278 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41279 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41280 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41281 (feholdexcept): Likewise.
41282 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41284 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41285 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41286 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41287 __feholdexcept instead of feholdexcept.
41288 (default_libc_feholdexcept_setround): Likewise.
41289
41290 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41291
41292 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41293 to avoid using stl/str to align destination.
41294
41295 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41296
41297 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41298
41299 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41300
41301 [BZ #17796]
41302 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41303 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41304 Define as weak alias not strong alias.
41305
41306 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41307
41308 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41309 bltzal with addiupc.
41310 (RTLD_START): Ditto.
41311
41312 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41313
41314 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41315 for __vdso_* functions in declarations.
41316 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41317 definitions.
41318 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41319 INTERNAL_VSYSCALL): Use struct return types to check for error.
41320
41321 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41322 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41323 function with cast from llround().
41324 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41325 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41326 Define.
41327
41328 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41329
41330 [BZ #17793]
41331 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41332 Define as weak alias not strong alias.
41333
41334 [BZ #17635]
41335 * ctype/ctype-c99.c: New file. isblank implementation moved from
41336 ...
41337 * ctype/ctype-extn.c: ... here.
41338 (__isblank_l): Move to ...
41339 * ctype/ctype-c99_l.c: ... here. New file.
41340 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41341 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41342 Remove variable.
41343 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41344 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41345 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41346 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41347 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41348
41349 [BZ #17777]
41350 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41351 (posix_fadvise64): Define as weak alias not strong alias.
41352 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41353 (posix_fallocate64): Likewise.
41354 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41355 Remove variable.
41356 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41357 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41358 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41359 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41360 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41361
41362 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41363
41364 [BZ #16191]
41365 * NEWS: Mention bug fix.
41366 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41367 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41368 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41369 (HOST_STACK_END_ADDR): Likewise.
41370
41371 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41372
41373 [BZ #17748]
41374 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41375 * math/fegetround.c (fegetround): Rename to __fegetround and
41376 define as weak alias of __fegetround. Use libm_hidden_weak.
41377 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41378 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41379 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41380 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41381 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41382 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41383 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41384 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41385 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41386 Undefine after rather than before function definition; use
41387 parentheses around function name in definition.
41388 (__fegetround): Also undefine macro after function definition.
41389 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41390 __fegetround and define as weak alias of __fegetround. Use
41391 libm_hidden_weak. Do not undefine as macro.
41392 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41393 Likewise.
41394 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41395 __fegetround and define as weak alias of __fegetround. Use
41396 libm_hidden_weak.
41397 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41398 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41399 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41400 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41401 __fegetround and define as weak alias of __fegetround. Use
41402 libm_hidden_weak.
41403 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41404 __fegetround instead of fegetround.
41405
41406 [BZ #17782]
41407 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41408 Condition macro definition on [__USE_MISC].
41409
41410 [BZ #17781]
41411 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41412 (struct sigaction): Change type of sa_flags field to int.
41413
41414 [BZ #17780]
41415 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41416 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41417 __glibc_reserved0.
41418
41419 * nptl/version.c (banner): Use single year in copyright notice.
41420
41421 * NEWS: Update copyright dates.
41422 * catgets/gencat.c (print_version): Likewise.
41423 * csu/version.c (banner): Likewise.
41424 * debug/catchsegv.sh: Likewise.
41425 * debug/pcprofiledump.c (print_version): Likewise.
41426 * debug/xtrace.sh (do_version): Likewise.
41427 * elf/ldconfig.c (print_version): Likewise.
41428 * elf/ldd.bash.in: Likewise.
41429 * elf/pldd.c (print_version): Likewise.
41430 * elf/sotruss.sh: Likewise.
41431 * elf/sprof.c (print_version): Likewise.
41432 * iconv/iconv_prog.c (print_version): Likewise.
41433 * iconv/iconvconfig.c (print_version): Likewise.
41434 * locale/programs/locale.c (print_version): Likewise.
41435 * locale/programs/localedef.c (print_version): Likewise.
41436 * login/programs/pt_chown.c (print_version): Likewise.
41437 * malloc/memusage.sh (do_version): Likewise.
41438 * malloc/memusagestat.c (print_version): Likewise.
41439 * malloc/mtrace.pl: Likewise.
41440 * manual/libc.texinfo: Likewise.
41441 * nptl/version.c (banner): Likewise.
41442 * nscd/nscd.c (print_version): Likewise.
41443 * nss/getent.c (print_version): Likewise.
41444 * nss/makedb.c (print_version): Likewise.
41445 * posix/getconf.c (main): Likewise.
41446 * scripts/test-installation.pl: Likewise.
41447 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41448
41449 2015-01-02 Will Newton <will.newton@linaro.org>
41450
41451 * sysdeps/arm/armv7/configure: Removed.
41452 * sysdeps/arm/armv7/configure.ac: Likewise.
41453
41454 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41455
41456 * All files with FSF copyright notices: Update copyright dates
41457 using scripts/update-copyrights.
41458 * intl/plural.c: Regenerated.
41459 * locale/programs/charmap-kw.h: Likewise.
41460 * locale/programs/locfile-kw.h: Likewise.
41461
41462 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41463
41464 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41465
41466 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41467
41468 [BZ #17748]
41469 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41470 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41471 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41472 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41473 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41474 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41475 define as weak alias of __fegetenv. Use libm_hidden_weak.
41476 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41477 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41478 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41479 define as weak alias of __fegetenv. Use libm_hidden_weak.
41480 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41481 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41482 define as weak alias of __fegetenv. Use libm_hidden_weak.
41483 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41484 libm_hidden_def.
41485 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41486 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41487 Likewise.
41488 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41489 define as weak alias of __fegetenv. Use libm_hidden_weak.
41490 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41491 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41492 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41493 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41494 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41495 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41496 __fegetenv instead of fegetenv.
41497 (libc_feholdsetround_noex_ctx): Likewise.
41498
41499 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41500
41501 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41502 (Elf_MIPS_ABIFlags_v0): New structure.
41503 (EF_MIPS_FP64): Define.
41504 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41505 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41506 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41507 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41508 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41509 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41510 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41511 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41512 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41513 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41514 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41515 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41516 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41517 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41518 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41519 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41520 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41521 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41522 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41523 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41524 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41525 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41526 field.
41527 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41528 EF_MIPS_FP64.
41529 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41530 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41531 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41532 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41533 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41534 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41535 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41536 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41537 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41538 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41539 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41540 record the current FP ABI extension.
41541 (mips-mode-switch): Define to show if kernel headers support mode
41542 switching.
41543 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41544 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41545 supported SYSV ABI version to 3.
41546 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41547 feature.
41548
41549 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41550 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41551
41552 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41553 path.
41554 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41555
41556 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41557
41558 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41559 __fegetround and redefine to call __fegetround. Remove condition
41560 on [!__NO_MATH_INLINES].
41561 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41562 function.
41563 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41564 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41565 Remove macro.
41566 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41567 instead of <fenv_libc.h>.
41568 (__llrintl): Call fegetround instead of __fegetround.
41569 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41570 instead of <fenv_libc.h>.
41571 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41572 (__lrintl): Call fegetround instead of __fegetround.
41573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41574 instead of <fenv_libc.h>.
41575 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41576 (__rintl): Call fegetround instead of __fegetround.
41577
41578 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41579
41580 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41581 arrays.
41582
41583 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41584
41585 [BZ #17775]
41586 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41587 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41588 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41589
41590 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41591
41592 * sysdeps/i386/tls-macros.h: Include <features.h>.
41593 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41594 (TLS_IE): Likewise.
41595 (TLS_LD): Likewise.
41596 (TLS_GD): Likewise.
41597 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41598 define for GCC >= 5.0.
41599
41600 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41601
41602 * math/test-fenv.c (test_single_exception, set_single_exc,
41603 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41604 feexcp_mask_test, feenable_test, fe_single_test): Add
41605 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41606 case where they are not used.
41607 * math/libm-test.inc: Likewise.
41608 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41609 unused in the absence of FP rounding/exception support.
41610 * stdio-common/tst-printf-round.c: Likewise.
41611 * stdlib/tst-strtod-round.c: Likewise.
41612 * stdlib/tst-strtod-underflow.c: Likewise.
41613
41614 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41615
41616 [BZ #17723]
41617 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41618 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41619 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41620 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41621 libm_hidden_weak.
41622 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41623 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41624 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41625 libm_hidden_def.
41626 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41627 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41628 libm_hidden_weak.
41629 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41630 Likewise.
41631 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41632 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41633 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41634 libm_hidden_weak.
41635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41636 libm_hidden_def.
41637 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41638 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41639 (__feraiseexcept): Likewise.
41640 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41641 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41642 libm_hidden_weak.
41643 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41644 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41645 libm_hidden_def.
41646 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41647 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41648 Use libm_hidden_def.
41649 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41650 libm_hidden_def.
41651 (feraiseexcept): Define as weak not strong alias. Use
41652 libm_hidden_weak.
41653 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41654 New inline function. Factored out of ...
41655 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41656 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41657 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41658 feraiseexcept.
41659 * math/w_acos.c (__acos): Likewise.
41660 * math/w_asin.c (__asin): Likewise.
41661 * math/w_ilogb.c (__ilogb): Likewise.
41662 * math/w_j0.c (y0): Likewise.
41663 * math/w_j1.c (y1): Likewise.
41664 * math/w_jn.c (yn): Likewise.
41665 * math/w_log.c (__log): Likewise.
41666 * math/w_log10.c (__log10): Likewise.
41667 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41668 * sysdeps/aarch64/fpu/math_private.h
41669 (libc_feupdateenv_test_aarch64): Likewise.
41670 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41671 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41672 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41673 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41674 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41675 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41676 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41677 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41678 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41679 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41680
41681 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41682
41683 [BZ #17732]
41684 * io/test-utime.c (main): Replace %ld with %jd and cast to
41685 intmax_t.
41686 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41687 * nptl/tst-mutex5.c: Include <stdint.h>.
41688 (do_test): Replace %ld with %jd and cast to intmax_t.
41689 * posix/tst-regex.c (run_test): Likewise.
41690 (run_test_backwards): Likewise.
41691 * rt/tst-clock.c: Include <stdint.h>.
41692 (clock_test): Replace %ld with %jd and cast to intmax_t.
41693 * rt/tst-cpuclock1.c: Include <stdint.h>.
41694 (do_test): Replace %lu with %ju and cast to uintmax_t.
41695 * rt/tst-cpuclock2.c: Include <stdint.h>.
41696 (do_test): Replace %lu with %ju and cast to uintmax_t.
41697 * rt/tst-mqueue1.c: Include <stdint.h>.
41698 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41699 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41700 intmax_t.
41701 * rt/tst-mqueue4.c (do_test): Likewise.
41702 * rt/tst-timer4.c: Include <stdint.h>.
41703 (check_ts): Replace %ld with %jd and cast to intmax_t.
41704 (do_test): Likewise.
41705 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41706 and cast to intmax_t.
41707 * sysdeps/pthread/tst-timer.c (main): Likewise.
41708 * time/clocktest.c (main): Likewise.
41709 * time/tst-posixtz.c (do_test): Likewise.
41710 * timezone/tst-timezone.c (main): Likewise.
41711
41712 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41713 H.J. Lu <hongjiu.lu@intel.com>
41714
41715 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41716 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41717 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41718 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41719 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41720 version if bit_Fast_Unaligned_Load is set.
41721 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41722 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41723 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41724 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41725 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41726 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41728 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41729 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41730 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41731 to 4.
41732 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41733 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41734 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41735 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41736
41737 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41738
41739 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41740 instead of #if to avoid a Wundef warning.
41741 * stdlib/tst-limits.c (do_test): Likewise.
41742
41743 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41744 parallel other exception macros.
41745 (fegetenv): Convert from macro to extern inline so that it applies
41746 retroactively to inline functions already seen by the compiler.
41747 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41748
41749 * posix/Makefile (before-compile): Use $(objpfx) for
41750 posix-conf-vars-def.h.
41751
41752 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41753
41754 * posix/getconf.c (main): Use size_t for type of I.
41755 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41756 NSPEC.
41757
41758 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41759 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41760 * posix/posix-envs.def: Likewise.
41761 * sysdeps/posix/sysconf.c: Likewise.
41762 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41763 (specs): Remove array.
41764 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41765 array.
41766
41767 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41768 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41769 (__sysconf): Use CONF_IS_* macros.
41770
41771 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41772 ($(objpfx)posix-conf-vars-def.h): New target.
41773 * posix/posix-conf-vars.list: New file.
41774 * posix/posix-conf-vars.h: New file.
41775 * posix/confstr.c: Include posix-conf-vars.h.
41776 (confstr): Use CONF_IS_* macros.
41777 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41778 CONF_IS_* macros.
41779 * scripts/gen-posix-conf-vars.awk: New file.
41780
41781 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41782
41783 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41784 fegetround): Add no-op macros to avoid linknamespace issues.
41785
41786 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41787 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41788
41789 * sysdeps/unix/sysv/linux/tile/sysdep.h
41790 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41791 assembly-specific section to avoid a redefinition warning.
41792
41793 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41794 long before casting to pointer to avoid a cast warning.
41795
41796 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41797
41798 * sysdeps/tile/tilegx/Implies: New file.
41799
41800 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41801
41802 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41803
41804 2014-12-23 Florian Weimer <fweimer@redhat.com>
41805
41806 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41807
41808 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41809
41810 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41811 not define.
41812 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41813 <kernel-features.h>.
41814 (__utimes) [__NR_utimes]: Make code unconditional.
41815 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41817 (__ASSUME_UTIMES): Do not undefine.
41818 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41819 (__ASSUME_UTIMES): Likewise.
41820 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41821 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41822 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41823 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41824
41825 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41826
41827 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41828
41829 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41830
41831 [BZ #17747]
41832 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41833 alias to weak alias for j0l, y0l.
41834 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41835 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41836
41837 [BZ #17746]
41838 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41839 conversion.
41840
41841 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41842
41843 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41844 to zero if not already defined.
41845
41846 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41847
41848 [BZ #17724]
41849 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41850 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41851 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41852 (char *) casts added.
41853 * sysdeps/ieee754/k_standardf.c: New file.
41854 * sysdeps/ieee754/k_standardl.c: Likewise.
41855 * math/Makefile (libm-support): Remove k_standard.
41856 (libm-calls): Add k_standard.
41857
41858 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41859
41860 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41861 Optimize to avoid an unnecessary FPCR read.
41862
41863 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41864
41865 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41866 Optimize to reduce FPCR/FPSR accesses.
41867
41868 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41869
41870 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41871 Call libc_fetestexcept_aarch64.
41872
41873 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41874
41875 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41876 Call libc_fesetround_aarch64.
41877
41878 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41879
41880 [BZ #17733]
41881 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41882 (__bind): Do not define as weak alias.
41883 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41884 define.
41885 (__getsockname): Do not define as weak alias.
41886
41887 2014-12-22 Will Newton <will.newton@linaro.org>
41888
41889 * manual/install.texi: Document that we require bison 2.7
41890 or above.
41891 * INSTALL: Regenerate.
41892 * configure.ac: Use AC_CHECK_PROG_VER instead of
41893 AC_PATH_PROG when checking for bison and check for
41894 version 2.7 or above.
41895 * configure: Regenerate.
41896
41897 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41898
41899 [BZ #17745]
41900 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41901 * sysdeps/tile/ffsll.c (ffsll): To here.
41902
41903 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41904
41905 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41906
41907 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41908 if not defined.
41909 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41910 definition.
41911 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41912 hidden ___tls_get_addr.
41913 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41914 hidden __tls_get_addr.
41915 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41916 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41917 Likewise.
41918
41919 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41920
41921 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41922 _dl_init call.
41923
41924 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41925
41926 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41927 from "call _dl_init@PLT".
41928 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41929
41930 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41931
41932 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41933 guarantees.
41934
41935 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41936
41937 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41938
41939 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41940
41941 [BZ #17744]
41942 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41943 strnlen.
41944
41945 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41946
41947 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41948 of multu on MIPSr6.
41949 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41950 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41951 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41952 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41953 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41954
41955 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41956
41957 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41958 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41959 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41960 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41961 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41962 mips32r6/mips64r6.
41963 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41964
41965 2014-12-19 Ondƙej Bílka <neleai@seznam.cz>
41966
41967 * string/strncat.c (STRNCAT): Simplify implementation.
41968
41969 2014-12-19 David S. Miller <davem@davemloft.net>
41970
41971 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41972 access the quad as both a long double and as a series of 4 words.
41973
41974 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41975 link_map->l_info array access.
41976
41977 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41978
41979 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41980
41981 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41982 * math/atest-exp2.c (TIMEOUT): Likewise.
41983 * math/atest-sincos.c (TIMEOUT): Likewise.
41984
41985 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41986
41987 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41988 -Wno-error with -fno-builtin-lround.
41989
41990 2014-12-19 Torvald Riegel <triegel@redhat.com>
41991
41992 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41993 Contains futex constants and functions moved over from ...
41994 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41995 <lowlevellock-futex.h>.
41996 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41997 (lll_timedwait_tid): Add comments and parentheses around macro
41998 arguments.
41999
42000 2014-12-19 Torvald Riegel <triegel@redhat.com>
42001
42002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42003 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42004 (__lll_private_flag): Remove.
42005 (lll_futex_wait): Likewise.
42006 (lll_futex_timed_wait): Likewise.
42007 (lll_futex_wake): Likewise.
42008 (lll_futex_requeue): Likewise.
42009 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42010 (__lll_timedwait_tid): Spell out argument names.
42011 (lll_timedwait_tid): Add comments and parentheses around macro
42012 arguments.
42013 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42014 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42015
42016 2014-12-19 Torvald Riegel <triegel@redhat.com>
42017
42018 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42019 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42020 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42021 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42022 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42023 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42024 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42025 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42026 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42027 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42028 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42029 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42030 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42031 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42032 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42033 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42034 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42035 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42036 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42037
42038 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42039
42040 * sysdeps/x86_64/x32/Makefile: New file.
42041
42042 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42043
42044 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42045 1L with (mp_limb_t) 1.
42046
42047 2014-12-17 Roland McGrath <roland@hack.frob.com>
42048
42049 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42050 * nptl/libc_pthread_init.c: ... here.
42051 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42052 * nptl/register-atfork.c: ... here.
42053
42054 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42055 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42056 Use assert_perror to check its return value.
42057 (__gai_create_helper_thread): Likewise.
42058
42059 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42060
42061 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42062
42063 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42064
42065 [BZ #17725]
42066 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42067 __profil_counter.
42068 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42069 Likewise.
42070 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42071 Likewise.
42072 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42073 Likewise.
42074 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42075 (profil_counter): Likewise.
42076 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42077 (profil_counter): Likewise.
42078 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42079 Likewise.
42080 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42081 Likewise.
42082 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42083 (profil_counter): Likewise.
42084 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42085 Likewise.
42086 [!__profil_counter] (profil_counter): Define as weak alias of
42087 __profil_counter.
42088 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42089 (profil_counter): Rename to __profil_counter.
42090 [!__profil_counter] (profil_counter): Define as weak alias of
42091 __profil_counter.
42092 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42093 (profil_counter): Rename to __profil_counter.
42094 [!__profil_counter] (profil_counter): Define as weak alias of
42095 __profil_counter.
42096 * sysdeps/posix/profil.c: Update comment referring to
42097 profil_counter.
42098 (__profil): Use __profil_counter instead of profil_counter.
42099 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42100 __profil_counter. Use __profil_counter_ushort and
42101 __profil_counter_uint in definitions.
42102 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42103 instead of profil_counter_uint and profil_counter_ushort.
42104
42105 [BZ #17722]
42106 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42107 define as weak alias of __inet_makeaddr.
42108 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42109 as weak alias of __inet_addr.
42110 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42111 as weak alias of __inet_pton. Use libc_hidden_weak.
42112 * include/arpa/inet.h (__inet_pton): Declare. Use
42113 libc_hidden_proto.
42114 (inet_makeaddr): Don't use libc_hidden_proto.
42115 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42116 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42117 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42118 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42119 Remove variable.
42120 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42121 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42122
42123 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42124
42125 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42126
42127 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42128
42129 * stdio-common/bug-vfprintf-nargs.c (do_test):
42130 Cast value to intptr_t to avoid format warning
42131 for usage with PRIdPTR printing macro.
42132
42133 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42134
42135 * libio/tst-widetext.c (do_test):
42136 Use format type %td instead of %Zd for ptrdiff_t
42137 in order to avoid format warning.
42138
42139 2014-12-17 Andreas Schwab <schwab@suse.de>
42140
42141 * nscd/mem.c (gc): Add size_t cast to match printf format.
42142
42143 2014-12-16 Roland McGrath <roland@hack.frob.com>
42144
42145 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42146 (init): Apply PTR_MANGLE to pointers before storing them.
42147 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42148 before using them.
42149
42150 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42151
42152 [BZ #17719]
42153 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42154 define as weak alias of __memrchr.
42155 (__memrchr): Do not define as strong alias of memrchr.
42156 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42157 Remove variable.
42158 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42159 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42160 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42161
42162 [BZ #17717]
42163 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42164 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42165 (if_indextoname): Rename to __if_indextoname and define as weak
42166 alias of __if_indextoname. Use libc_hidden_weak.
42167 (if_freenameindex): Rename to __if_freenameindex and define as
42168 weak alias of __if_freenameindex.
42169 (if_nameindex): Rename to __if_nameindex and define as weak alias
42170 of __if_nameindex.
42171 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42172 __if_nametoindex and define as weak alias of __if_nametoindex.
42173 Use libc_hidden_weak.
42174 (if_freenameindex): Rename to __if_freenameindex and define as
42175 weak alias of __if_freenameindex.
42176 (if_nameindex): Rename to __if_nameindex and define as weak alias
42177 of __if_nameindex.
42178 (if_indextoname): Rename to __if_indextoname and define as weak
42179 alias of __if_indextoname. Use libc_hidden_weak.
42180 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42181 __if_nametoindex and define as weak alias of __if_nametoindex.
42182 Use libc_hidden_weak.
42183 (if_freenameindex): Rename to __if_freenameindex and define as
42184 weak alias of __if_freenameindex. Use libc_hidden_weak.
42185 (if_nameindex_netlink): Use __if_freenameindex instead of
42186 if_freenameindex.
42187 (if_nameindex): Rename to __if_nameindex and define as weak alias
42188 of __if_nameindex. Use libc_hidden_weak.
42189 (if_indextoname): Rename to __if_indextoname and define as weak
42190 alias of __if_indextoname. Use libc_hidden_weak.
42191 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42192 libc_hidden_proto.
42193 [!_ISOMAC] (__if_freenameindex): Likewise.
42194 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42195 if_nametoindex.
42196 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42197 variable.
42198 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42199 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42200 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42201 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42202 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42203 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42204 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42205
42206 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42207 Remove variable.
42208 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42209 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42210
42211 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42212
42213 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42214 subscript above bounds'
42215
42216 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42217 bounds.
42218
42219 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42220
42221 * libio/tst-fopenloc.c: Use test-skeleton.c.
42222
42223 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42224 (entry): Rename to ITEM.
42225 (do_test, comp): Adjust.
42226
42227 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42228
42229 2014-12-16 Torvald Riegel <triegel@redhat.com>
42230
42231 * string/tester.c: Include <libc-internal.h>.
42232 (test_memset): Ignore -Wmemset-transposed-args.
42233
42234 2014-12-16 Torvald Riegel <triegel@redhat.com>
42235
42236 * misc/tst-mntent2.c (do_test): Fix warning.
42237
42238 2014-12-16 Torvald Riegel <triegel@redhat.com>
42239
42240 * elf/tst-unique4lib.cc(a): Mark as used.
42241
42242 2014-12-16 Florian Weimer <fweimer@redhat.com>
42243
42244 [BZ #17630]
42245 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42246 names.
42247
42248 2014-12-16 Allan McRae <allan@archlinux.org>
42249
42250 * stdio-common/Makefile (tests): Re-add bug26.
42251
42252 2014-12-15 Ondƙej Bílka <neleai@seznam.cz>
42253
42254 [BZ #17657]
42255 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42256 static array.
42257
42258 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42259
42260 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42261 (__lll_lock_wait): Likewise.
42262 (__lll_timedlock_wait): Likewise.
42263 (__lll_timedwait_tid): Likewise.
42264 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42265 (__lll_robust_timedlock_wait): Likewise.
42266 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42267 (lll_cond_trylock): Likewise.
42268 (__lll_lock): Likewise.
42269 (__lll_robust_lock): Likewise.
42270 (__lll_cond_lock): Likewise.
42271 (lll_robust_cond_lock): Likewise.
42272 (__lll_timedlock): Likewise.
42273 (__lll_robust_timedlock): Likewise.
42274 (__lll_unlock): Likewise.
42275 (__lll_robust_unlock): Likewise.
42276 (lll_wait_tid): Likewise.
42277 (lll_timedwait_tid): Likewise.
42278
42279 2014-12-15 Torvald Riegel <triegel@redhat.com>
42280
42281 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42282
42283 2014-12-15 Torvald Riegel <triegel@redhat.com>
42284
42285 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42286
42287 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42288
42289 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42290 * stdio-common/tst-sprintf.c: Likewise.
42291
42292 2014-12-15 Torvald Riegel <triegel@redhat.com>
42293
42294 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42295
42296 2014-12-15 Jeff Law <law@redhat.com>
42297
42298 [BZ #16617]
42299 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42300 on the heap. (CVE-2012-3406)
42301 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42302 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42303 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42304
42305 2014-12-15 Will Newton <will.newton@linaro.org>
42306
42307 * manual/install.texi: Bump required version of texinfo
42308 to 4.7 from 4.5.
42309 * INSTALL: Regenerated.
42310 * configure.ac: Check for makeinfo version 4.7 and above.
42311 * configure: Regenerated.
42312
42313 2014-12-12 Roland McGrath <roland@hack.frob.com>
42314
42315 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42316 PREFIX, string constant to insert between directory and name.
42317 * sysdeps/posix/shm_open.c: Update caller.
42318 * sysdeps/posix/shm_unlink.c: Likewise.
42319 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42320 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42321 (SEM_SHM_PREFIX): New macro.
42322 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42323 [$(have-thread-library) = no].
42324 * nptl/Makefile (libpthread-routines): Add shm-directory.
42325 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42326 * sysdeps/nptl/shm-directory.h: New file.
42327 * sysdeps/posix/shm-directory.c
42328 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42329 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42330 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42331 INTERNAL_SYSCALL.
42332 (__where_is_shmfs): Function removed.
42333 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42334 Variables removed.
42335 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42336 Use SHM_GET_NAME.
42337 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42338
42339 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42340 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42341 unconditional for use inside libpthread.
42342 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42343
42344 2014-12-12 Roland McGrath <roland@hack.frob.com>
42345
42346 * nptl/pthread_getaffinity.c: New file.
42347 * nptl/pthread_setaffinity.c: New file.
42348 * nptl/pthread_getname.c: New file.
42349 * nptl/pthread_setname.c: New file.
42350
42351 * nptl/pthread_create.c (START_THREAD_DEFN)
42352 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42353
42354 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42355 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42356
42357 * resolv/res_send.c (send_vc): Disable warning resplen may
42358 be used uninitialized.
42359
42360 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42361
42362 * nptl/tst-mutex6.c
42363 (ATTR_NULL): New define checks ATTR against NULL.
42364 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42365 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42366
42367 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42368
42369 [BZ #17581]
42370 * malloc/hooks.c
42371 (mem2mem_check): Revert my previous change.
42372 (malloc_check_get_size): Revert my previous change.
42373 (mem2chunk_check): Revert my previous change.
42374
42375 2014-12-11 Roland McGrath <roland@hack.frob.com>
42376
42377 * sysdeps/posix/shm-directory.c: New file.
42378 * sysdeps/posix/shm-directory.h: New file.
42379 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42380 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42381 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42382 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42383 Transmute EPERM to EACCES.
42384 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42385 from ...
42386 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42387 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42388
42389 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42390
42391 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42392 pointer and cast to uintptr_t.
42393 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42394 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42395 Add cast to avoid warning.
42396 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42397
42398 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42399
42400 * nptl/semaphore.h: Move to ...
42401 * sysdeps/pthread/semaphore.h: ... here.
42402 * Makefile (installed-headers): Change nptl/semaphore.h to
42403 sysdeps/pthread/semaphore.h.
42404
42405 2014-12-11 Roland McGrath <roland@hack.frob.com>
42406
42407 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42408 generated error format strings.
42409
42410 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42411 -Wformat-extra-args warnings for scanf formats.
42412 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42413 test of zero-length format (duh).
42414 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42415 corner-case scanf format test.
42416 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42417 generated fprintf format string.
42418 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42419 corner-case sprintf format tests.
42420 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42421 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42422 -Wformat-extra-args warnings throughout.
42423 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42424 (CFLAGS-scanf4.c): Likewise.
42425 (CFLAGS-scanf7.c): Likewise.
42426 (CFLAGS-tst-sprintf.c): Likewise.
42427 (CFLAGS-tst-printf.c): Likewise.
42428 (CFLAGS-tst-printfsz.c): Likewise.
42429
42430 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42431
42432 * include/cpio.h: New file.
42433 * include/fmtmsg.h: Likewise.
42434
42435 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42436 corresponding format argument to size_t.
42437 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42438 arguments.
42439 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42440 corresponding format argument to size_t.
42441 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42442 arguments.
42443 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42444 corresponding format argument to size_t.
42445 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42446 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42447 (CFLAGS-tst-mbswcs2.c): Likewise.
42448 (CFLAGS-tst-mbswcs3.c): Likewise.
42449 (CFLAGS-tst-mbswcs4.c): Likewise.
42450 (CFLAGS-tst-mbswcs5.c): Likewise.
42451 (CFLAGS-tst-trans.c): Likewise.
42452
42453 2014-12-11 Roland McGrath <roland@hack.frob.com>
42454
42455 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42456 rather than assuming they won't contain any '%'s.
42457
42458 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42459
42460 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42461 inhibit_loop_to_libcall to avoid recursive calls.
42462 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42463 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42464
42465 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42466
42467 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42468 prototype.
42469
42470 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42471
42472 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42473 integer value instead of boolean.
42474
42475 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42476
42477 * malloc/malloc.c: Fix powerof2 check.
42478
42479 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42480
42481 * locale/programs/locfile.h (maybe_swap_uint32):
42482 Remove inline and add unused attribute.
42483
42484 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42485
42486 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42487 Truncating assembler expression to a .long expression.
42488
42489 2014-12-11 Andreas Schwab <schwab@suse.de>
42490
42491 * elf/rtld.c (struct map_args): Constify str member.
42492 (do_preload): Constify fname argument.
42493
42494 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42495
42496 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42497 constants definition.
42498
42499 2014-12-11 Andreas Schwab <schwab@suse.de>
42500
42501 [BZ #16657]
42502 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42503 FORCE_ELISION instead of DO_ELISION.
42504 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42505 Remove.
42506 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42507 Likewise.
42508
42509 * iconvdata/gconv-modules: Remove duplicate entry.
42510
42511 2014-12-11 Will Newton <will.newton@linaro.org>
42512
42513 Merge gettext 0.19.3 into intl/.
42514
42515 This involves a number of cosmetic changes to comments
42516 and ANSI function definitions and prototypes throughout
42517 all the files. The gettext copyright header is used but
42518 with the date ranges taken from the glibc copy.
42519
42520 * NEWS: Add gettext merge to 2.21.
42521 * intl/bindtextdom.c: Switch to gettext copyright.
42522 Use ANSI definitions and prototypes.
42523 Use gl_* locking primitives rather than __libc_* ones.
42524 Use __builtin_expect rather than __glibc_likely/unlikely.
42525 * intl/dcgettext.c: Switch to gettext copyright.
42526 Use ANSI definitions and prototypes.
42527 * intl/dcigettext.c: Switch to gettext copyright.
42528 Use ANSI definitions and prototypes.
42529 (INTDIV0_RAISES_SIGFPE): New define.
42530 Use gl_* locking primitives rather than __libc_* ones.
42531 Include eval-plural.h instead of plural-eval.c.
42532 Use __builtin_expect rather than __glibc_likely/unlikely.
42533 * intl/dcngettext.c: Switch to gettext copyright.
42534 Use ANSI definitions and prototypes.
42535 * intl/dgettext.c: Likewise.
42536 * intl/dngettext.c: Likewise.
42537 * intl/plural-eval.c: Renamed to...
42538 * intl/eval-plural.h: ...this.
42539 * intl/explodename.c: Switch to gettext copyright.
42540 Use ANSI definitions and prototypes.
42541 (_nl_explode_name): Use strchr instead of __rawmemchr.
42542 * intl/finddomain.c: Switch to gettext copyright.
42543 Use ANSI definitions and prototypes.
42544 Use gl_* locking primitives rather than __libc_* ones.
42545 (_nl_find_domain): Use malloc rather than alloca for
42546 allocation of temporary locale name.
42547 * intl/gettext.c: Switch to gettext copyright.
42548 Use ANSI definitions and prototypes.
42549 * intl/gettextP.h: Switch to gettext copyright.
42550 Use ANSI definitions and prototypes.
42551 Use gl_* locking primitives rather than __libc_* ones.
42552 * intl/gmo.h: Switch to gettext copyright.
42553 (struct sysdep_string): Move struct segment_pair outside of
42554 struct definition.
42555 * intl/hash-string.c: Use ANSI definitions and prototypes.
42556 * intl/hash-string.h: Switch to gettext copyright.
42557 Use ANSI definitions and prototypes.
42558 * intl/l10nflist.c: Switch to gettext copyright.
42559 Use ANSI definitions and prototypes.
42560 (_nl_normalize_codeset): Avoid integer overflow.
42561 * intl/loadinfo.h: Switch to gettext copyright.
42562 Use ANSI definitions and prototypes.
42563 (LIBINTL_DLL_EXPORTED): New define.
42564 (PATH_SEPARATOR): New define.
42565 * intl/loadmsgcat.c: Switch to gettext copyright.
42566 * intl/localealias.c: Switch to gettext copyright.
42567 Use ANSI definitions and prototypes.
42568 (_nl_expand_alias): Use PATH_SEPARATOR.
42569 * intl/ngettext.c: Switch to gettext copyright.
42570 Use ANSI definitions and prototypes.
42571 * intl/plural-exp.c: Likewise.
42572 * intl/plural-exp.h: Switch to gettext copyright.
42573 Use ANSI definitions and prototypes.
42574 (struct expression): Move definition of enum operator outside
42575 of struct definition.
42576 * intl/plural.c: Regenerate.
42577 * intl/plural.y: Switch to gettext copyright.
42578 Use ANSI definitions and prototypes.
42579 Port to bison 3.0.
42580 * intl/textdomain.c: Switch to gettext copyright.
42581 Use ANSI definitions and prototypes.
42582 Use gl_* locking primitives rather than __libc_* ones.
42583
42584 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42585
42586 * debug/warning-nop.c: Add used atrribute.
42587
42588 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42589
42590 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42591
42592 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42593 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42594 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42595
42596 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42597 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42598
42599 [BZ #17634]
42600 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42601 Undefine after defining function. Define as weak alias of
42602 __wcschr. Use libc_hidden_weak.
42603 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42604 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42605 (libc_hidden_def): Also define __GI___wcschr alias.
42606 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42607 __wcschr and define as weak alias of __wcschr.
42608 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42609 __wcschr.
42610 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42611 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42612 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42613 libc_hidden_weak. Do not use libc_hidden_def.
42614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42615 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42616 __GI___wcschr alias.
42617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42618 [IS_IN (libc)] (wcschr): Define as macro expanding to
42619 __redirect_wcschr.
42620 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42621 [IS_IN (libc)] (__wcschr_power6): Likewise.
42622 [IS_IN (libc)] (__wcschr_power7): Likewise.
42623 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42624 instead of wcschr.
42625 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42626 __libc_wcschr.
42627 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42628 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42629 __wcschr and define as weak alias of __wcschr. Use
42630 libc_hidden_builtin_def.
42631 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42632 as weak alias of __wcschr. Use libc_hidden_weak.
42633 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42634 wcschr.
42635 * time/era.c (_nl_init_era_entries): Likewise.
42636 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42637 variable.
42638 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42639 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42640
42641 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42642
42643 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42644 format for long int variable.
42645
42646 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42647
42648 [BZ #10672]
42649 * manual/search.texi: (Array Sort Function): Remove claim how to make
42650 qsort stable.
42651
42652 2014-12-10 Andreas Schwab <schwab@suse.de>
42653
42654 [BZ #12847]
42655 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42656 user-controlled locks.
42657
42658 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42659
42660 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42661 register.
42662
42663 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42664
42665 * configure.ac (--disable-werror): New configure option.
42666 (enable_werror): New AC_SUBST.
42667 * configure: Regenerated.
42668 * config.make.in (enable-werror): New variable.
42669 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42670 -Wno-error=undef.
42671 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42672 * manual/install.texi (Configuring and compiling): Document
42673 --disable-werror.
42674 * INSTALL: Regenerated.
42675 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42676 (CFLAGS-tst-chk2.c): Likewise.
42677 (CFLAGS-tst-chk3.c): Likewise.
42678 (CFLAGS-tst-chk4.cc): Likewise.
42679 (CFLAGS-tst-chk5.cc): Likewise.
42680 (CFLAGS-tst-chk6.cc): Likewise.
42681 (CFLAGS-tst-lfschk1.c): Likewise.
42682 (CFLAGS-tst-lfschk2.c): Likewise.
42683 (CFLAGS-tst-lfschk3.c): Likewise.
42684 (CFLAGS-tst-lfschk4.cc): Likewise.
42685 (CFLAGS-tst-lfschk5.cc): Likewise.
42686 (CFLAGS-tst-lfschk6.cc): Likewise.
42687
42688 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42689 (main): Disable -Wdeprecated-declarations around calls to
42690 register_printf_function.
42691
42692 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42693 (do_test): Disable -Wdiv-by-zero around some calls to
42694 fwrite_unlocked and fread_unlocked.
42695
42696 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42697 (DIAG_POP_NEEDS_COMMENT): Likewise.
42698 (_DIAG_STR1): Likewise.
42699 (_DIAG_STR): Likewise.
42700 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42701 * stdio-common/bug21.c: Include <libc-internal.h>.
42702 (do_test): Disable -Wformat around call to sscanf.
42703 * stdio-common/scanf14.c: Include <libc-internal.h>.
42704 (main): Disable -Wformat around some calls to scanf functions.
42705
42706 2014-12-09 Torvald Riegel <triegel@redhat.com>
42707
42708 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42709
42710 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42711
42712 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42713 stack variable alignment.
42714
42715 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42716
42717 [BZ #17682]
42718 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42719 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42720 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42721 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42722 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42723 __getrlimit instead of getrlimit.
42724 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42725 __gettimeofday instead of gettimeofday.
42726 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42727 Likewise.
42728 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42729 Likewise.
42730 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42731 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42732 Remove variable.
42733 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42734 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42735
42736 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42737
42738 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42739 for wide-character tests.
42740
42741 2014-12-04 Roland McGrath <roland@hack.frob.com>
42742
42743 * io/openat64.c: #include <libc-internal.h>
42744 (__openat64): Prototypify. Use ignore_value on MODE.
42745 * io/openat.c: Likewise.
42746 * misc/reboot.c: #include <libc-internal.h>
42747 (reboot): Prototypify. Use ignore_value on HOWTO.
42748 * misc/ptrace.c: #include <libc-internal.h>
42749 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42750
42751 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42752
42753 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42754 XPG4, UNIX98 and XOPEN2K.
42755 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42756 Remove variable.
42757 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42758
42759 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42760
42761 * libio/fileops.c: Use ISO C style for function definitions.
42762 * libio/iofopen.c: Likewise.
42763 * libio/wfileops.c: Likewise.
42764
42765 [BZ #17653]
42766 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42767 offset on EOF.
42768 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42769 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42770 (fgets_func): Function pointer to fgets and fgetws.
42771 (do_ftell_test): Add test to verify ftell value after read
42772 EOF.
42773 (do_test): Set fgets_func.
42774
42775 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42776 O_TRUNC flag for w and w+ modes.
42777 (do_rewind_test): Likewise.
42778 (do_ftell_test): Likewise.
42779 (do_write_test): Likewise.
42780
42781 [BZ #17647]
42782 * libio/fileops.c (do_ftell): Seek only when there are
42783 unflushed writes.
42784 * libio/wfileops.c (do_ftell_wide): Likewise.
42785 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42786 test case.
42787 (do_one_test): Call it.
42788
42789 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42790
42791 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42792 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42793 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42794 Remove variable.
42795 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42796 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42797 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42798
42799 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42800
42801 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42802 Remove variable.
42803 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42804
42805 [BZ #17668]
42806 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42807 as weak alias of __getifaddrs. Use libc_hidden_weak.
42808 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42809 __freeifaddrs. Use libc_hidden_weak.
42810 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42811 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42812 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42813 __freeifaddrs. Use libc_hidden_weak.
42814 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42815 __getifaddrs and define as weak alias of __getifaddrs. Use
42816 libc_hidden_weak.
42817 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42818 __freeifaddrs. Use libc_hidden_weak.
42819 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42820 Remove variable.
42821 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42822 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42823
42824 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42825
42826 [BZ #17601]
42827 * sysdeps/mips/start.S (__start): Use indirect jump to call
42828 __libc_start_main.
42829
42830 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42831
42832 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42833
42834 * nptl/tst-mutex1.c: Include <stdbool.h>.
42835 [!ATTR] (ATTR_NULL): New macro.
42836 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42837 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42838 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42839
42840 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42841 to char *.
42842
42843 [BZ #17665]
42844 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42845 Change conditional to [__USE_MISC].
42846
42847 [BZ #17664]
42848 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42849 fgets_unlocked.
42850 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42851 __fgets_unlocked.
42852 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42853 fgets_unlocked.
42854 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42855 Remove variable.
42856 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42857 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42858 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42859 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42860 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42861 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42862 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42863 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42864 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42865
42866 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42867
42868 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42869
42870 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42871 Remove strpbrk objects.
42872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42873 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42874 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42875 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42876 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42877 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42878
42879 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42880 Remove strcspn objects.
42881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42882 (__libc_ifunc_impl_list): Remove strcspn implementation.
42883 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42884 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42885 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42886 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42887
42888 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42889 Remove strspn objetcs.
42890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42891 (__libc_ifunc_impl_list): Remove strspn implementation.
42892 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42893 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42894 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42895 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42896
42897 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42898
42899 [BZ #17581]
42900 * malloc/hooks.c
42901 (mem2mem_check): Add a terminator to the chain of checking blocks.
42902 (malloc_check_get_size): Use it here.
42903 (mem2chunk_check): Ditto.
42904
42905 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42906
42907 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42908 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42909
42910 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42911
42912 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42913
42914 * nptl/nptl-init.c: Include libc-internal.h.
42915 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42916
42917 * elf/ldconfig.c (search_dir): Expand comment.
42918
42919 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42920
42921 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42922 variable.
42923 (linknamespace-symlist-stdlibs-tests): Likewise.
42924 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42925 instead of $(objpfx)symlist-stdlibs.
42926 (linknamespace-libs-isoc): New variable.
42927 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42928 (linknamespace-libs-ISO): New variable.
42929 (linknamespace-libs-ISO99): Likewise.
42930 (linknamespace-libs-ISO11): Likewise.
42931 (linknamespace-libs-XPG3): Likewise.
42932 (linknamespace-libs-XPG4): Likewise.
42933 (linknamespace-libs-POSIX): Likewise.
42934 (linknamespace-libs-UNIX98): Likewise.
42935 (linknamespace-libs-XOPEN2K): Likewise.
42936 (linknamespace-libs-POSIX2008): Likewise.
42937 (linknamespace-libs-XOPEN2K8): Likewise.
42938 ($(objpfx)symlist-stdlibs): Replace by
42939 $(linknamespace-symlist-stdlibs-tests). Use
42940 $(linknamespace-libs-$*) as set of libraries.
42941 ($(linknamespace-header-tests)): Update dependencies. Use
42942 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42943 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42944 * conform/linknamespace.pl: Remove comment about considering
42945 definitions of symbols from irrelevant libraries.
42946
42947 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42948
42949 [BZ #13862]
42950 * elf/dl-tls.c: Include <atomic.h>.
42951 (oom): Remove #ifdef SHARED/#endif.
42952 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42953 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42954 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42955 big enough.
42956 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42957 * nptl/Makefile (tests): Add tst-stack4.
42958 (modules-names): Add tst-stack4mod.
42959 ($(objpfx)tst-stack4): New.
42960 (tst-stack4mod.sos): Likewise.
42961 ($(objpfx)tst-stack4.out): Likewise.
42962 ($(tst-stack4mod.sos)): Likewise.
42963 (clean): Likewise.
42964 * nptl/tst-stack4.c: New file.
42965 * nptl/tst-stack4mod.c: Likewise.
42966
42967 2014-11-27 J. Brown <jb999@gmx.de>
42968
42969 * sysdeps/x86/bits/string.h: Add recent CPUs.
42970
42971 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42972
42973 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42974 sigblock.
42975
42976 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42977 feof.
42978
42979 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42980 variable.
42981
42982 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42983
42984 * nscd/connections.c: Include libc-internal.h because of macro
42985 usage ignore_value.
42986
42987 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42988
42989 * string/bits/string3.h (__warn_memset_zero_len): Don't
42990 declare for gcc newer than 5.0.
42991 (memset): Don't test for zero-length __LEN for gcc newer than
42992 5.0.
42993
42994 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42995
42996 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42997 size_t for %zu format.
42998
42999 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43000 difference, not %ju.
43001
43002 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43003
43004 * include/libc-internal.h (ignore_value): New macro.
43005 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43006 with ignore_value.
43007
43008 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43009 definition.
43010
43011 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43012 pthread_cleanup_push to void *.
43013
43014 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43015 Undefine.
43016
43017 [BZ #16619]
43018 [BZ #16740]
43019 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43020 instead of 1L << 52.
43021
43022 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43023 * libio/bug-rewind2.c (do_test): Likewise.
43024
43025 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43026 * debug/test-strcpy_chk-ifunc.c: Likewise.
43027 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43028 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43029 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43030 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43031 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43032 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43033 * Rules [$(multi-arch) = no] (tests): Do not filter out
43034 $(tests-ifunc).
43035 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43036 * debug/Makefile (tests-ifunc): Remove variable.
43037 (tests): Do not add $(tests-ifunc).
43038 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43039 (tests): Do not add $(tests-ifunc).
43040 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43041 [TEST_IFUNC]: Remove conditionals.
43042 * string/test-string.h (TEST_IFUNC): Remove macro.
43043 [TEST_IFUNC]: Remove conditionals.
43044
43045 * string/test-strchr.c [!WIDE] (L): New macro.
43046 [WIDE] (L): Likewise.
43047 (check1): Use CHAR instead of char. Use L on string and character
43048 constants.
43049
43050 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43051
43052 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43053 tests.
43054 * sysdeps/powerpc/bits/atomic.h
43055 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43056 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43057 (atomic_exchange_and_add_acq): Likewise.
43058 (atomic_exchange_and_add_rel): Likewise.
43059 * sysdeps/powerpc/powerpc32/bits/atomic.h
43060 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43061 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43062 * sysdeps/powerpc/powerpc64/bits/atomic.h
43063 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43064 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43065
43066 2014-11-26 Torvald Riegel <triegel@redhat.com>
43067
43068 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43069 Change synchronization of __sched_fifo_min_prio and
43070 __sched_fifo_max_prio.
43071 * nptl/pthread_mutexattr_getprioceiling.c
43072 (pthread_mutexattr_getprioceiling): Likewise.
43073 * nptl/pthread_mutexattr_setprioceiling.c
43074 (pthread_mutexattr_setprioceiling): Likewise.
43075 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43076 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43077 Likewise.
43078
43079 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43080
43081 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43082 void.
43083
43084 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43085
43086 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43087 third argument const.
43088
43089 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43090
43091 fnmatch: work around GCC compiler warning bug with uninit var
43092 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43093 This works around a bug with x86-64 GCC 4.9.2 and earlier
43094 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43095 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43096 used uninitialized in this function [-Wmaybe-uninitialized]".
43097
43098 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43099
43100 * posix/bug-regex31.c (main): Return RES not 0.
43101
43102 2014-11-25 Anton Blanchard <anton@samba.org>
43103
43104 * sysdeps/powerpc/bits/atomic.h
43105 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43106
43107 2014-11-24 Sterling Augustine <saugustine@google.com>
43108
43109 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43110
43111 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43112
43113 [BZ #17608]
43114 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43115
43116 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43117
43118 [BZ #17633]
43119 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43120 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43121 variable.
43122 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43123 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43124
43125 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43126
43127 * string/strncpy.c (strncpy): Improve performance by using memset.
43128
43129 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43130
43131 * string/strcpy.c (strcpy):
43132 Improve performance by using strlen and memcpy.
43133
43134 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43135
43136 * string/strcoll_l.c (get_next_seq): __always_inline.
43137 * string/strcoll_l.c (do_compare): __always_inline.
43138
43139 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43140
43141 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43142 defined.
43143 * include/mqueue.h: Likewise.
43144 * include/stdlib.h: Likewise.
43145
43146 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43147 (get_null_defines): Adjust.
43148 * sunrpc/Makefile: Adjust comment.
43149 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43150 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43151 (CFLAGS-interp.c): Likewise.
43152 (CFLAGS-ldconfig.c): Likewise.
43153 (CPPFLAGS-.os): Likewise.
43154 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43155 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43156 * extra-modules.mk (extra-modules.mk): Likewise.
43157 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43158 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43159 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43160 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43161 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43162 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43163 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43164 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43165 * iconvdata/Makefile (CPPFLAGS): Likewise.
43166 (cpp-srcs-left): Add libof for all iconvdata routines.
43167 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43168 * include/assert.h: Likewise.
43169 * include/ctype.h: Likewise.
43170 * include/errno.h: Likewise.
43171 * include/libc-symbols.h: Likewise.
43172 * include/math.h: Likewise.
43173 * include/netdb.h: Likewise.
43174 * include/resolv.h: Likewise.
43175 * include/stdio.h: Likewise.
43176 * include/stdlib.h: Likewise.
43177 * include/string.h: Likewise.
43178 * include/sys/stat.h: Likewise.
43179 * include/wctype.h: Likewise.
43180 * intl/l10nflist.c: Likewise.
43181 * libidn/idn-stub.c: Likewise.
43182 * libio/libioP.h: Likewise.
43183 * nptl/libc_multiple_threads.c: Likewise.
43184 * nptl/pthreadP.h: Likewise.
43185 * posix/regex_internal.h: Likewise.
43186 * resolv/res_hconf.c: Likewise.
43187 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43188 * sysdeps/arm/memmove.S: Likewise.
43189 * sysdeps/arm/sysdep.h: Likewise.
43190 * sysdeps/generic/_itoa.h: Likewise.
43191 * sysdeps/generic/symbol-hacks.h: Likewise.
43192 * sysdeps/gnu/errlist.awk: Likewise.
43193 * sysdeps/gnu/errlist.c: Likewise.
43194 * sysdeps/i386/i586/memcpy.S: Likewise.
43195 * sysdeps/i386/i586/memset.S: Likewise.
43196 * sysdeps/i386/i686/memcpy.S: Likewise.
43197 * sysdeps/i386/i686/memmove.S: Likewise.
43198 * sysdeps/i386/i686/mempcpy.S: Likewise.
43199 * sysdeps/i386/i686/memset.S: Likewise.
43200 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43201 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43202 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43203 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43204 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43205 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43206 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43207 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43208 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43209 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43210 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43211 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43212 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43213 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43214 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43215 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43216 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43217 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43218 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43219 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43220 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43221 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43222 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43223 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43224 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43225 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43226 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43227 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43228 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43229 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43230 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43233 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43236 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43237 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43238 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43239 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43240 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43241 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43243 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43244 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43245 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43246 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43247 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43249 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43250 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43251 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43252 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43253 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43254 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43255 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43256 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43257 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43258 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43259 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43260 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43261 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43262 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43263 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43264 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43265 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43266 * sysdeps/posix/closedir.c: Likewise.
43267 * sysdeps/posix/opendir.c: Likewise.
43268 * sysdeps/posix/readdir.c: Likewise.
43269 * sysdeps/posix/rewinddir.c: Likewise.
43270 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43271 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43272 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43273 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43274 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43275 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43276 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43281 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43282 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43284 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43286 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43287 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43288 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43290 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43292 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43293 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43294 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43296 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43298 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43305 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43306 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43307 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43308 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43309 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43310 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43312 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43314 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43315 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43316 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43317 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43318 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43319 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43320 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43321 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43322 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43323 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43325 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43326 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43327 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43328 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43329 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43330 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43331 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43332 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43333 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43334 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43335 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43336 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43337 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43338 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43339 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43340 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43341 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43342 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43343 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43344 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43345 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43346 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43347 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43348 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43349 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43350 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43351 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43352 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43353 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43354 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43356 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43357 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43358 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43359 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43360 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43361 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43362 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43366 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43368 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43369 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43371 * sysdeps/unix/alpha/sysdep.S: Likewise.
43372 * sysdeps/unix/alpha/sysdep.h: Likewise.
43373 * sysdeps/unix/make-syscalls.sh: Likewise.
43374 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43375 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43376 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43377 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43378 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43379 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43380 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43381 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43382 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43383 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43384 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43385 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43387 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43388 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43389 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43390 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43391 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43392 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43393 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43394 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43395 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43396 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43397 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43398 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43399 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43400 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43403 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43404 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43408 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43412 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43413 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43414 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43415 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43416 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43417 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43418 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43424 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43425 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43426 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43427 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43428 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43429 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43430 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43432 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43433 * sysdeps/x86_64/memcpy.S: Likewise.
43434 * sysdeps/x86_64/memmove.c: Likewise.
43435 * sysdeps/x86_64/memset.S: Likewise.
43436 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43437 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43438 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43439 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43440 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43443 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43444 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43445 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43446 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43447 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43448 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43449 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43450 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43451 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43453 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43454 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43455 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43456 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43457 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43460 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43461 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43462 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43463 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43464 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43465 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43466 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43467 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43468 * sysdeps/x86_64/strcmp.S: Likewise.
43469
43470 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43471
43472 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43473 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43474 * elf/rtld-Rules: Likewise.
43475 * elf/setup-vdso.h: Likewise.
43476 * include/assert.h: Likewise.
43477 * include/bits/stdlib-float.h: Likewise.
43478 * include/errno.h: Likewise.
43479 * include/sys/stat.h: Likewise.
43480 * include/unistd.h: Likewise.
43481 * sysdeps/aarch64/setjmp.S: Likewise.
43482 * sysdeps/alpha/setjmp.S: Likewise.
43483 * sysdeps/arm/__longjmp.S: Likewise.
43484 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43485 * sysdeps/arm/setjmp.S: Likewise.
43486 * sysdeps/arm/sysdep.h: Likewise.
43487 * sysdeps/generic/_itoa.h: Likewise.
43488 * sysdeps/generic/dl-sysdep.h: Likewise.
43489 * sysdeps/generic/ldsodefs.h: Likewise.
43490 * sysdeps/i386/dl-tls.h: Likewise.
43491 * sysdeps/i386/setjmp.S: Likewise.
43492 * sysdeps/m68k/setjmp.c: Likewise.
43493 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43494 * sysdeps/mach/hurd/opendir.c: Likewise.
43495 * sysdeps/posix/getcwd.c: Likewise.
43496 * sysdeps/posix/opendir.c: Likewise.
43497 * sysdeps/posix/profil.c: Likewise.
43498 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43500 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43501 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43502 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43503 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43504 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43505 * sysdeps/s390/dl-tls.h: Likewise.
43506 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43507 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43508 * sysdeps/sh/sh3/setjmp.S: Likewise.
43509 * sysdeps/sh/sh4/setjmp.S: Likewise.
43510 * sysdeps/unix/alpha/sysdep.h: Likewise.
43511 * sysdeps/unix/arm/sysdep.S: Likewise.
43512 * sysdeps/unix/i386/sysdep.S: Likewise.
43513 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43514 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43515 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43516 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43518 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43519 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43520 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43521 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43522 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43523 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43524 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43525 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43528 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43530 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43531 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43532 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43533 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43536 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43537 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43540 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43541 * sysdeps/x86_64/setjmp.S: Likewise.
43542
43543 * include/math.h: Use IS_IN instead of IS_IN_libm.
43544 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43545 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43546 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43547 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43548 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43549 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43553 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43554 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43555 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43556 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43557 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43558 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43559 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43560 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43561 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43562 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43563 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43564 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43565 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43566 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43567 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43568 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43569 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43570 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43571 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43572 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43573 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43574 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43575 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43576 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43578 Likewise.
43579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43580 Likewise.
43581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43582 Likewise.
43583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43584 Likewise.
43585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43586 Likewise.
43587 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43588 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43589 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43590 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43591 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43592 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43598 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43599 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43600 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43601 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43602 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43603 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43604 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43605 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43606 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43607 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43608 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43610 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43611 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43613 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43614
43615 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43616 * nptl/pthreadP.h: Likewise.
43617 * nptl_db/structs.def: Likewise.
43618 * sysdeps/arm/sysdep.h: Likewise.
43619 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43620 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43621 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43622 * sysdeps/unix/alpha/sysdep.h: Likewise.
43623 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43625 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43626 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43627 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43628 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43630 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43631 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43632 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43633 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43634 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43635 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43636 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43641 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43642 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43644 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43645 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43646 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43647 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43648 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43649
43650 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43651 * nptl/pthreadP.h: Likewise.
43652 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43653 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43654 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43655 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43656 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43657 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43658 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43659 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43660 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43661 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43662 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43663 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43665 Likewise.
43666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43667 Likewise.
43668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43670 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43673 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43674 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43675 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43676
43677 * dlfcn/dladdr.c: Use IS_IN.
43678 * dlfcn/dladdr1.c: Likewise.
43679 * dlfcn/dlclose.c: Likewise.
43680 * dlfcn/dlerror.c: Likewise.
43681 * dlfcn/dlinfo.c: Likewise.
43682 * dlfcn/dlmopen.c: Likewise.
43683 * dlfcn/dlopen.c: Likewise.
43684 * dlfcn/dlsym.c: Likewise.
43685 * dlfcn/dlvsym.c: Likewise.
43686
43687 * include/ifaddrs.h: Use IS_IN.
43688 * inet/check_pf.c: Likewise.
43689 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43690 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43691
43692 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43693 IS_IN_ldconfig.
43694 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43695 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43696
43697 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43698 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43699 IS_IN (libc).
43700
43701 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43702
43703 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43704 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43705 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43706 * include/libc-symbols.h (IS_IN_LIB): New macro.
43707 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43708 * include/netdb.h: Likewise.
43709 * include/stap-probe.h: Remove all uses of IN_LIB.
43710
43711 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43712 instead of IN_MODULE.
43713 * include/libc-symbols.h (IN_MODULE): Define using
43714 MODULE_NAME.
43715 (PASTE_NAME, PASTE_NAME1): New macros.
43716 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43717 of IN_LIB.
43718 (STAP_PROBE_ASM): Likewise.
43719
43720 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43721
43722 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43723 __mach_init in dlopened libc.
43724
43725 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43726
43727 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43728 * sysdeps/arm/preconfigure: Regenerate.
43729
43730 2014-11-21 Roland McGrath <roland@hack.frob.com>
43731
43732 * nptl/pthread_create.c (__pthread_create_2_1): Set
43733 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43734 when copying values from IATTR into PD.
43735
43736 2014-11-21 Will Newton <will.newton@linaro.org>
43737 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43738
43739 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43740 Refactor inline-asm. Also add comment.
43741
43742 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43743 ElfW macro instead of hardcoded Elf64 types.
43744 (la_aarch64_gnu_pltenter): Likewise.
43745 * sysdeps/aarch64/dl-machine.h
43746 (elf_machine_runtime_setup): Use ElfW(Addr).
43747
43748 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43749 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43750 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43751 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43752 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43753 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43754 (R_AARCH64_TLS_DTPMOD): This.
43755 (R_AARCH64_TLS_DTPREL64): Rename to ...
43756 (R_AARCH64_TLS_DTPREL): This.
43757 (R_AARCH64_TLS_TPREL64): Rename to ...
43758 (R_AARCH64_TLS_TPREL): This.
43759 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43760 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43761 R_AARCH64_TLS_TPREL64.
43762 (elf_machine_rela): Likewise.
43763
43764 2014-11-21 Torvald Riegel <triegel@redhat.com>
43765
43766 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43767 by setting it to 0. 64b atomics are not supported currently.
43768
43769 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43770
43771 [BZ #16469]
43772 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43773 search domain names.
43774
43775 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43776
43777 [BZ #16469]
43778 * NEWS: Update.
43779 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43780 trailing dot.
43781 * posix/tst-getaddrinfo5.c: New.
43782 * posix/Makefile (tests): Add it.
43783
43784 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43785
43786 [BZ #14498]
43787 * NEWS: Fixed.
43788 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43789 after parsing line but before break_if_match.
43790 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43791 if there is a protocol mismatch.
43792
43793 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43794
43795 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43796 because the potential race is on the user-supplied stream.
43797
43798 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43799
43800 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43801 string literal if not passed a buffer.
43802 * manual/job.texi (ctermid): Update reasoning, note deviation
43803 from posix, suggest mtasurace when not passed a buffer, for
43804 future non-preliminary safety notes.
43805
43806 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43807
43808 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43809 of not passing it a buffer.
43810 Reported by Peng Haitao.
43811
43812 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43813
43814 * manual/Makefile ($(objpfx)stamp-summary): Require
43815 check-safety.sh to pass.
43816 * manual/check-safety.sh: Wish for verification that every
43817 @deftypefn and @deftypefun is followed by a @safety remark.
43818
43819 2014-11-20 Roland McGrath <roland@hack.frob.com>
43820
43821 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43822
43823 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43824 PTHREAD_CANCEL_ASYNCHRONOUS.
43825 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43826 send SIGCANCEL.
43827
43828 * nptl/default-sched.h: New file.
43829 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43830 * nptl/pthread_create.c: Include it.
43831 (__pthread_create_2_1): Use collect_default_sched instead of making
43832 Linux syscalls here directly.
43833
43834 2014-11-20 Torvald Riegel <triegel@redhat.com>
43835
43836 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43837 __pthread_once): Use C11 atomics.
43838
43839 2014-11-20 Torvald Riegel <triegel@redhat.com>
43840
43841 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43842
43843 2014-11-20 Torvald Riegel <triegel@redhat.com>
43844
43845 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43846 atomic_thread_fence_acquire, atomic_thread_fence_release,
43847 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43848 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43849 atomic_compare_exchange_weak_relaxed,
43850 atomic_compare_exchange_weak_acquire,
43851 atomic_compare_exchange_weak_release,
43852 atomic_exchange_acquire, atomic_exchange_release,
43853 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43854 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43855 atomic_fetch_and_acquire,
43856 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43857
43858 2014-11-20 Torvald Riegel <triegel@redhat.com>
43859
43860 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43861 USE_ATOMIC_COMPILER_BUILTINS): Define.
43862 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43863 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43864 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43865 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43866 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43868 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43869 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43870 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43871 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43872 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43873 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43874 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43875 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43876 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43877 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43878 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43879 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43880 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43881 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43882 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43883 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43884 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43885 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43886 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43887 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43888 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43889 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43890 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43891 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43892 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43893 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43894 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43895 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43896 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43897 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43898 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43899 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43900 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43901 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43902
43903 2014-11-19 Roland McGrath <roland@hack.frob.com>
43904
43905 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43906 the sched_priority value here. It was already checked when the user
43907 called pthread_attr_setschedparam.
43908
43909 * nptl/tst-bad-schedattr.c: New file.
43910 * nptl/Makefile (tests): Add it.
43911
43912 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43913 Florian Weimer <fweimer@redhat.com>
43914 Joseph Myers <joseph@codesourcery.com>
43915 Adam Conrad <adconrad@0c3.net>
43916 Andreas Schwab <schwab@suse.de>
43917 Brooks <bmoses@google.com>
43918
43919 [BZ #17625]
43920 * wordexp-test.c (__dso_handle): Add prototype.
43921 (__register_atfork): Likewise.
43922 (__app_register_atfork): New function.
43923 (registered_forks): New global.
43924 (register_fork): New function.
43925 (test_case): Add 3 new tests for WRDE_CMDSUB.
43926 (main): Call __app_register_atfork.
43927 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43928 fork count is non-zero fail the test.
43929 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43930 is set.
43931 (parse_dollars): Remove check for WRDE_NOCMD.
43932 (parse_dquote): Likewise.
43933
43934 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43935
43936 * Makeconfig (built-modules): List non-library modules to be
43937 built.
43938 (module-cppflags): Include libc-modules.h for
43939 everything except shlib-versions.v.i.
43940 (CPPFLAGS): Use it.
43941 (before-compile): Add libc-modules.h.
43942 ($(common-objpfx)libc-modules.h,
43943 $(common-objpfx)libc-modules.stmp): New targets.
43944 (common-generated): Add libc-modules.h and libc-modules.stmp.
43945 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43946 * include/libc-symbols.h: Don't include libc-modules.h.
43947 * include/libc-modules.h: Remove file.
43948 * scripts/gen-libc-modules.awk: New script to generate
43949 libc-modules.h.
43950 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43951 Depend on libc-modules.stmp.
43952
43953 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43954
43955 * Makeconfig (in-module): Get value of libof set for the
43956 translation unit.
43957 (CPPFLAGS): Use $(in-module).
43958 * Makerules: Don't suffix routine names for nonlib.
43959 * include/libc-modules.h: New file.
43960 * include/libc-symbols.h: Include libc-modules.h
43961 (IS_IN): New macro to replace IS_IN_* macros.
43962 * elf/Makefile: Set libof-* for each routine.
43963 * elf/rtld-Rules: Likewise.
43964 * extra-modules.mk: Likewise.
43965 * iconv/Makefile: Likewise.
43966 * iconvdata/Makefile: Likewise.
43967 * locale/Makefile: Likewise.
43968 * malloc/Makefile: Likewise.
43969 * nss/Makefile: Likewise.
43970 * sysdeps/gnu/Makefile: Likewise.
43971 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43972 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43973 * sysdeps/s390/s390-64/Makefile: Likewise.
43974 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43975 CPPFLAGS for nscd instead of nonlib.
43976
43977 2014-11-18 Roland McGrath <roland@hack.frob.com>
43978
43979 * nptl/createthread.c: New file.
43980
43981 * nptl/createthread.c: Moved ...
43982 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43983
43984 * nptl/createthread.c: Add proper top-line comment.
43985 (do_clone): Folded into ...
43986 (create_thread): ... here. Take new arguments STOPPED_START and
43987 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43988 increment __nptl_threads, do event-reporting logic, do
43989 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43990 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43991 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43992 just send SIGCANCEL.
43993 * nptl/pthread_create.c: Forward-declare create_thread before
43994 including createthread.c.
43995 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43996 declaration, and new macro START_THREAD_SELF to replace argument.
43997 Remove return statement.
43998 (report_thread_creation): New function.
43999 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44000 synchronization logic, and __nptl_nthreads increment here, around
44001 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44002 PD->parent_cancelhandling here, before create_thread. When
44003 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44004 __deallocate_stack, and ENOMEM translation here.
44005
44006 2014-11-18 Joseph Myers <joseph@codesourcery.com>
44007
44008 [BZ #17616]
44009 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44010 (mptwo): Rename to __mptwo.
44011 (__inv): Use __mptwo instead of mptwo.
44012 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44013 (mptwo): Rename to __mptwo.
44014 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44015 of mpone and __mptwo instead of mptwo.
44016 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44017 instead of mpone.
44018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44019 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44020 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44021 of mpone and __mptwo instead of mptwo.
44022 (__mpranred): Use __mpone instead of mpone.
44023 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44024 variable.
44025 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44026 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44027 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44028 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44029 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44030 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44031 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44032 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44033 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44034 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44035 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44036 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44037 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44038 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44039 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44040 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44041 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44042 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44043 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44044
44045 2014-11-18 Tom de Vries <tom@codesoucery.com>
44046
44047 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44048 replace BSD Handler xref with BSD Signal Handling.
44049
44050 2014-11-17 Richard Henderson <rth@redhat.com>
44051
44052 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44053 (_FP_PACK_RAW_2): Remove.
44054 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44055 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44056 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44057 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44058 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44059 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44060 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44061 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44062 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44063 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44064 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44065 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44066 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44067 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44068 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44069 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44070
44071 2014-11-14 Roland McGrath <roland@hack.frob.com>
44072
44073 * signal/signal.h [__USE_MISC]
44074 (struct sigvec): Remove type.
44075 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44076 (sigvec): Remove declaration.
44077 * sysdeps/posix/sigvec.c: Moved ...
44078 * signal/sigvec.c: ... here, replacing old file.
44079 (struct sigvec): New type, copied from old signal.h definition.
44080 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44081 (__sigvec): Convert definition to prototype.
44082 (sigvec): Replace weak_alias with compat_symbol.
44083 * signal/Versions (libc: GLIBC_2.21): New version set.
44084 * include/signal.h: Remove __sigvec declaration.
44085 * sysdeps/unix/bsd/sigvec.c: Remove file.
44086 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44087 * manual/signal.texi (BSD Handler): Remove subsection.
44088 Move siginterrupt up to ...
44089 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44090 (Blocking in BSD): Fold subsection into its parent.
44091 * NEWS: Mention sigvec removal.
44092
44093 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44094
44095 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44096 (DLA_FMS): Make definition conditional only on [__FMA4__].
44097 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44098 definition.
44099
44100 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44101 Make definition conditional only on [PROF].
44102 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44103 definition.
44104 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44105 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44106
44107 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44108 !__GNUC__].
44109 * include/signal.h (__sigpause): Move declaration above call to
44110 libc_hidden_proto.
44111 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44112 variable.
44113 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44114 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44115
44116 2014-11-14 David S. Miller <davem@davemloft.net>
44117
44118 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44119 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44120
44121 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44122
44123 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44124 * configure: Regenerated.
44125 * manual/install.texi (Tools for Compilation): Document a
44126 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44127 compiler verified to work.
44128 * INSTALL: Regenerated.
44129
44130 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44131 redeclare with asm name.
44132 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44133 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44134 including <string.h>.
44135 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44136 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44137 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44138 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44139 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44140 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44141 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44142
44143 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44144
44145 * stdlib/strtol.c (__strtol): Use prototype definition.
44146
44147 [BZ #17594]
44148 * stdlib/strtol.c (SYM__): New macro.
44149 (SYM__1): Likewise.
44150 (__strtol): Likewise.
44151 (strtol): Rename to __strtol and define as weak alias of
44152 __strtol. Use libc_hidden_weak.
44153
44154 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44155
44156 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44157 Use numbered labels in inline assembly.
44158
44159 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44160
44161 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44162 Add setjmp LIBC_PROBE.
44163 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44164 Likewise.
44165 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44166 Add longjmp, longjmp_target LIBC_PROBE.
44167 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44168 Likewise.
44169
44170 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44171
44172 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44173 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44174 to get rid of unused variable warning.
44175
44176 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44177
44178 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44179 Check for unwind_backtrace == NULL only in SHARED case.
44180 (__backchain_backtrace): Compile only in SHARED case.
44181 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44182 Likewise.
44183 (__backchain_backtrace): Declare as static.
44184
44185 2014-11-12 Roland McGrath <roland@hack.frob.com>
44186
44187 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44188 (__libc_multiple_threads_ptr): Variable moved ...
44189 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44190
44191 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44192
44193 * conform/GlibcConform.pm: New file.
44194 * conform/conformtest.pl: Use GlibcConform module.
44195 * conform/linknamespace.pl: New file.
44196 * conform/list-header-symbols.pl: Likewise.
44197 * conform/Makefile (linknamespace-symlists-base): New variable.
44198 (linknamespace-symlists-tests): Likewise.
44199 (linknamespace-header-base): Likewise.
44200 (linknamespace-header-tests): Likewise.
44201 (tests-special): Add new tests.
44202 ($(linknamespace-symlists-tests)): New rule.
44203 (linknamespace-libs): New variable.
44204 ($(objpfx)symlist-stdlibs): New rule.
44205 ($(linknamespace-header-tests)): Likewise.
44206 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44207 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44208 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44209 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44210 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44211 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44212 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44213 (test-xfail-ISO/math.h/linknamespace): Likewise.
44214 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44215 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44216 (test-xfail-ISO/time.h/linknamespace): Likewise.
44217 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44218 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44219 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44220 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44221 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44222 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44223 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44224 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44225 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44226 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44227 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44228 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44229 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44230 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44231 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44232 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44233 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44234 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44235 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44236 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44237 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44238 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44239 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44240 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44241 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44242 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44243 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44244 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44245 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44246 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44247 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44248 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44249 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44250 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44251 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44252 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44253 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44254 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44255 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44256 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44257 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44258 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44259 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44260 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44261 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44262 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44263 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44264 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44265 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44266 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44267 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44268 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44269 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44270 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44271 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44272 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44273 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44274 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44275 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44276 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44277 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44278 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44279 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44280 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44281 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44282 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44283 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44284 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44285 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44286 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44287 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44288 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44289 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44290 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44291 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44292 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44293 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44294 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44295 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44296 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44297 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44298 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44299 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44300 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44301 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44302 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44303 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44304 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44305 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44306 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44307 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44308 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44309 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44310 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44311 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44312 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44313 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44314 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44315 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44316 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44317 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44318 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44319 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44320 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44321 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44322 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44323 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44324 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44325 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44326 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44327 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44328 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44329 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44330 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44331 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44332 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44333 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44334 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44335 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44336 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44337 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44338 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44339 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44340 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44341 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44342 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44343 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44344 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44345 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44346 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44347 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44348 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44349 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44350 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44351 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44352 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44353 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44354 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44355 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44356 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44357 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44358 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44359 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44360 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44361 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44362 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44363 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44364 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44365 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44366 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44367
44368 [BZ #17589]
44369 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44370 of fgets_unlocked.
44371
44372 [BZ #17585]
44373 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44374 (memmem): Rename to __memmem and define as weak alias of
44375 __memmem. Use libc_hidden_weak.
44376 (__memmem): Use libc_hidden_def.
44377 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44378 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44379 memmem.
44380
44381 [BZ #17582]
44382 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44383 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44384 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44385 and define as weak alias of __fgets_unlocked. Use
44386 libc_hidden_weak.
44387 (__fgets_unlocked): Use libc_hidden_def.
44388 * include/stdio.h (__fgets_unlocked): Declare. Use
44389 libc_hidden_proto.
44390 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44391 __fgets_unlocked instead of fgets_unlocked.
44392 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44393 (GET_NPROCS_CONF_PARSER): Likewise.
44394 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44395 (GET_NPROCS_CONF_PARSER): Likewise.
44396
44397 [BZ #17574]
44398 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44399 weak alias of __wmemset. Use libc_hidden_weak.
44400 (__wmemset): Use libc_hidden_def.
44401 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44402 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44403 of wmemset.
44404
44405 [BZ #17573]
44406 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44407 with asm name __mempcpy.
44408 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44409
44410 [BZ #17572]
44411 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44412 and define as weak alias of __rawmemchr.
44413 (__rawmemchr): Do not define as strong alias of rawmemchr.
44414
44415 [BZ #17571]
44416 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44417 alias of __qsort_r.
44418 (qsort): Call __qsort_r instead of qsort_r.
44419 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44420 (__qsort_r): Declare. Call libc_hidden_proto.
44421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44422 instead of qsort_r.
44423 * nscd/gai.c (__qsort_r): Define to qsort_r.
44424 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44425 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44426 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44427
44428 [BZ #17570]
44429 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44430 define as weak alias of __malloc_info.
44431
44432 [BZ #17584]
44433 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44434 as weak alias of __rewinddir. Don't use libc_hidden_def.
44435 (__rewinddir): Use libc_hidden_def.
44436 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44437 as weak alias of __rewinddir. Don't use libc_hidden_def.
44438 (__rewinddir): Use libc_hidden_def.
44439 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44440 weak alias of __rewinddir. Don't use libc_hidden_def.
44441 (__rewinddir): Use libc_hidden_def.
44442 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44443 (__rewinddir): Use libc_hidden_proto.
44444 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44445 rewinddir.
44446 (__getcwd): Use __rewinddir instead of rewinddir.
44447
44448 [BZ #17583]
44449 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44450 alias of __fileno. Use libc_hidden_weak.
44451 (__fileno): Use libc_hidden_def.
44452 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44453 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44454 alias of __ftello.
44455 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44456 __ftello.
44457 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44458 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44459 libc_hidden_def.
44460 (fread_unlocked): Don't use libc_hidden_ver.
44461 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44462 and define as weak alias of __fread_unlocked. Don't use
44463 libc_hidden_def.
44464 (__fread_unlocked): Use libc_hidden_def.
44465 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44466 (ftello): Don't use libc_hidden_proto.
44467 (__ftello): Declare. Use libc_hidden_proto.
44468 (fread_unlocked): Don't use libc_hidden_proto.
44469 (__fread_unlocked): Declare. Use libc_hidden_proto.
44470 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44471 and __ftello instead of fileno, fread_unlocked and ftello.
44472
44473 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44474
44475 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44476 GOT12.
44477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44478 Likewise.
44479 (_dl_start_user): Likewise.
44480 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44481
44482 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44483 Siddhesh Poyarekar <siddhesh@redhat.com>
44484
44485 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44486 Move argv and envp down instead of moving argc up.
44487 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44488
44489 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44490
44491 [BZ #17506]
44492 * test-skeleton.c (main): Return successful if one of
44493 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44494 * string/tst-strcoll-overflow.c: Define expected status.
44495
44496 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44497
44498 [BZ #17475]
44499 * locale/iso-639.def: Define Bhili and Tulu language codes.
44500
44501 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44502
44503 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44504
44505 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44506
44507 [BZ #17555]
44508 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44509
44510 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44511
44512 * configure.ac: Updated check of minimal required version to
44513 2.22.
44514 * manual/install.texi (Tools for Compilation): Updated version
44515 number.
44516 * configure: Regenerated.
44517 * INSTALL: Likewise.
44518
44519 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44520
44521 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44522 __tls_get_addr.
44523
44524 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44525
44526 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44527 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44528 (__waitpid): Don't define as alias. Use libc_hidden_def not
44529 libc_hidden_weak.
44530 (waitpid): Define as alias of __waitpid.
44531 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44532 __waitpid.
44533 (__waitpid): Don't define as alias. Use libc_hidden_def not
44534 libc_hidden_weak.
44535 (waitpid): Define as alias of __waitpid.
44536 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44537 __libc_waitpid alias.
44538 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44539 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44540 Likewise.
44541 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44542 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44543 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44544 alias.
44545 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44546 __waitpid.
44547 (__waitpid): Don't define as alias. Use libc_hidden_def not
44548 libc_hidden_weak.
44549 (waitpid): Define as alias of __waitpid.
44550
44551 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44552
44553 * manual/llio.texi: Add comment that write safety has been
44554 fixed in Linux.
44555
44556 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44557 (localplt-build-dso): Add elf/ld.so.
44558 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44559 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44560 and free for ld.so.
44561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44562 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44564 Likewise.
44565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44566 Likewise.
44567 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44568 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44569 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44570 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44571 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44572 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44573 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44574 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44575 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44576 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44577 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44578
44579 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44580
44581 [BZ #14132]
44582 * include/libc-symbols.h (INTUSE): Remove macro.
44583 (INTDEF): Likewise.
44584 (INTVARDEF): Likewise.
44585 (_INTVARDEF): Likewise.
44586 (INTDEF2): Likewise.
44587 (INTVARDEF2): Likewise.
44588 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44589 rtld_hidden_def instead of INTVARDEF.
44590 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44591 (_dl_starting_up_internal): Remove declaration.
44592 (_dl_starting_up): Use rtld_hidden_proto.
44593 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44594 declaration.
44595 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44596 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44597 _dl_starting_up.
44598 * elf/dl-writev.h (_dl_writev): Likewise.
44599 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44600 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44601 _dl_starting_up_internal.
44602
44603 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44604
44605 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44606 test-skeleton.c.
44607
44608 2014-11-05 Will Newton <will.newton@linaro.org>
44609
44610 * benchtests/Makefile: (bench-malloc): Add malloc thread
44611 scalability benchmark.
44612 * benchtests/bench-malloc-threads.c: New file.
44613
44614 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44615
44616 * sysdeps/aarch64/strchrnul.S: New file.
44617
44618 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44619
44620 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44621 definition.
44622 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44623 Likewise.
44624 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44625 Likewise.
44626 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44627 Likewise.
44628 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44629 Likewise.
44630 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44631 Likewise.
44632
44633 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44634
44635 * catgets/test-gencat.c: Use test-skeleton.c.
44636 * catgets/tst-catgets.c: Likewise.
44637 * csu/tst-empty.c: Likewise.
44638 * elf/tst-audit2.c: Likewise.
44639 * elf/tst-global1.c: Likewise.
44640 * elf/tst-pathopt.c: Likewise.
44641 * elf/tst-piemod1.c: Likewise.
44642 * elf/tst-tls10.c: Likewise.
44643 * elf/tst-tls11.c: Likewise.
44644 * elf/tst-tls12.c: Likewise.
44645 * gnulib/tst-gcc.c: Likewise.
44646 * iconvdata/tst-e2big.c: Likewise.
44647 * iconvdata/tst-loading.c: Likewise.
44648 * iconv/tst-iconv1.c: Likewise.
44649 * iconv/tst-iconv2.c: Likewise.
44650 * inet/test-inet6_opt.c: Likewise.
44651 * inet/tst-gethnm.c: Likewise.
44652 * inet/tst-network.c: Likewise.
44653 * inet/tst-ntoa.c: Likewise.
44654 * intl/tst-codeset.c: Likewise.
44655 * intl/tst-gettext2.c: Likewise.
44656 * intl/tst-gettext3.c: Likewise.
44657 * intl/tst-ngettext.c: Likewise.
44658 * intl/tst-translit.c: Likewise.
44659 * io/test-stat.c: Likewise.
44660 * libio/test-fmemopen.c: Likewise.
44661 * libio/tst-freopen.c: Likewise.
44662 * libio/tst-sscanf.c: Likewise.
44663 * libio/tst-ungetwc1.c: Likewise.
44664 * libio/tst-ungetwc2.c: Likewise.
44665 * libio/tst-widetext.c: Likewise.
44666 * localedata/tst-ctype.c: Likewise.
44667 * localedata/tst-digits.c: Likewise.
44668 * localedata/tst-leaks.c: Likewise.
44669 * localedata/tst-mbswcs1.c: Likewise.
44670 * localedata/tst-mbswcs2.c: Likewise.
44671 * localedata/tst-mbswcs3.c: Likewise.
44672 * localedata/tst-mbswcs4.c: Likewise.
44673 * localedata/tst-mbswcs5.c: Likewise.
44674 * localedata/tst-setlocale.c: Likewise.
44675 * localedata/tst-trans.c: Likewise.
44676 * localedata/tst-wctype.c: Likewise.
44677 * localedata/tst-xlocale1.c: Likewise.
44678 * login/tst-grantpt.c: Likewise.
44679 * malloc/tst-calloc.c: Likewise.
44680 * malloc/tst-malloc.c: Likewise.
44681 * malloc/tst-mallocstate.c: Likewise.
44682 * malloc/tst-mcheck.c: Likewise.
44683 * malloc/tst-mtrace.c: Likewise.
44684 * malloc/tst-obstack.c: Likewise.
44685 * math/atest-exp2.c: Likewise.
44686 * math/atest-exp.c: Likewise.
44687 * math/atest-sincos.c: Likewise.
44688 * math/test-matherr.c: Likewise.
44689 * math/test-misc.c: Likewise.
44690 * math/test-powl.c: Likewise.
44691 * math/tst-definitions.c: Likewise.
44692 * misc/tst-dirname.c: Likewise.
44693 * misc/tst-efgcvt.c: Likewise.
44694 * misc/tst-fdset.c: Likewise.
44695 * misc/tst-hsearch.c: Likewise.
44696 * misc/tst-mntent2.c: Likewise.
44697 * nptl/tst-sem7.c: Likewise.
44698 * nptl/tst-sem8.c: Likewise.
44699 * nptl/tst-sem9.c: Likewise.
44700 * nss/test-netdb.c: Likewise.
44701 * posix/tst-fnmatch.c: Likewise.
44702 * posix/tst-getlogin.c: Likewise.
44703 * posix/tst-gnuglob.c: Likewise.
44704 * posix/tst-mmap.c: Likewise.
44705 * pwd/tst-getpw.c: Likewise.
44706 * resolv/tst-inet_ntop.c: Likewise.
44707 * rt/tst-timer.c: Likewise.
44708 * stdio-common/test-fseek.c: Likewise.
44709 * stdio-common/test-popen.c: Likewise.
44710 * stdio-common/test-vfprintf.c: Likewise.
44711 * stdio-common/tst-cookie.c: Likewise.
44712 * stdio-common/tst-fileno.c: Likewise.
44713 * stdio-common/tst-gets.c: Likewise.
44714 * stdio-common/tst-obprintf.c: Likewise.
44715 * stdio-common/tst-perror.c: Likewise.
44716 * stdio-common/tst-sprintf2.c: Likewise.
44717 * stdio-common/tst-sprintf3.c: Likewise.
44718 * stdio-common/tst-sprintf.c: Likewise.
44719 * stdio-common/tst-swprintf.c: Likewise.
44720 * stdio-common/tst-tmpnam.c: Likewise.
44721 * stdio-common/tst-unbputc.c: Likewise.
44722 * stdio-common/tst-wc-printf.c: Likewise.
44723 * stdlib/tst-environ.c: Likewise.
44724 * stdlib/tst-fmtmsg.c: Likewise.
44725 * stdlib/tst-limits.c: Likewise.
44726 * stdlib/tst-rand48-2.c: Likewise.
44727 * stdlib/tst-rand48.c: Likewise.
44728 * stdlib/tst-random2.c: Likewise.
44729 * stdlib/tst-random.c: Likewise.
44730 * stdlib/tst-strtol.c: Likewise.
44731 * stdlib/tst-strtoll.c: Likewise.
44732 * stdlib/tst-tls-atexit.c: Likewise.
44733 * stdlib/tst-xpg-basename.c: Likewise.
44734 * string/test-ffs.c: Likewise.
44735 * string/tst-bswap.c: Likewise.
44736 * string/tst-inlcall.c: Likewise.
44737 * string/tst-strtok.c: Likewise.
44738 * string/tst-strxfrm.c: Likewise.
44739 * sysdeps/x86_64/tst-audit10.c: Likewise.
44740 * sysdeps/x86_64/tst-audit3.c: Likewise.
44741 * sysdeps/x86_64/tst-audit4.c: Likewise.
44742 * sysdeps/x86_64/tst-audit5.c: Likewise.
44743 * time/tst-ftime_l.c: Likewise.
44744 * time/tst-getdate.c: Likewise.
44745 * time/tst-mktime3.c: Likewise.
44746 * time/tst-mktime.c: Likewise.
44747 * time/tst-posixtz.c: Likewise.
44748 * time/tst-strptime2.c: Likewise.
44749 * time/tst-strptime3.c: Likewise.
44750 * wcsmbs/tst-btowc.c: Likewise.
44751 * wcsmbs/tst-mbrtowc.c: Likewise.
44752 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44753 * wcsmbs/tst-wchar-h.c: Likewise.
44754 * wcsmbs/tst-wcpncpy.c: Likewise.
44755 * wcsmbs/tst-wcrtomb.c: Likewise.
44756 * wcsmbs/tst-wcsnlen.c: Likewise.
44757 * wcsmbs/tst-wcstof.c: Likewise.
44758
44759 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44760
44761 [BZ #14132]
44762 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44763 INTDEF.
44764 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44765 declaration.
44766 (_dl_mcount): Use rtld_hidden_proto.
44767 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44768 _dl_mcount.
44769 * elf/rtld.c (_rtld_global_ro): Likewise.
44770
44771 [BZ #14132]
44772 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44773 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44774 of _dl_init_internal.
44775 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44776 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44777 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44778 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44779 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44780 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44781 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44782 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44783 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44784 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44785 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44786 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44787 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44788 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44789 * sysdeps/tile/dl-start.S (_start): Likewise.
44790 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44791 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44792
44793 [BZ #14132]
44794 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44795 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44796 (rtld_progname): Make macro definition unconditional.
44797 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44798 INTDEF.
44799 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44800 (dl_main): Likewise.
44801 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44802 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44803 instead of _dl_argv_internal.
44804 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44805 __GI__dl_argv instead of INTUSE(_dl_argv).
44806 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44807 __GI__dl_argv instead of _dl_argv_internal.
44808
44809 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44810 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44811 macro.
44812 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44813 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44814 New macro.
44815 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44816 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44817 macro.
44818 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44819 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44820
44821 2014-11-04 Andreas Schwab <schwab@suse.de>
44822
44823 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44824
44825 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44826
44827 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44828 mtvsrd instruction in binary form.
44829
44830 2014-11-03 Andreas Schwab <schwab@suse.de>
44831
44832 [BZ #17522]
44833 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44834 for less than MB_LEN_MAX use a local buffer of that size.
44835 * libio/tst-fputws.c: New file.
44836 * libio/Makefile (tests): Add tst-fputws.
44837
44838 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44839
44840 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44841 the size of the fpu_fr.fpu_dregs[] array.
44842
44843 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44844
44845 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44846 (__nanosleep): Do not define as alias.
44847 (nanosleep): Define as alias of __nanosleep.
44848 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44849 __libc_nanosleep name.
44850
44851 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44852
44853 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44854 install.texi in comment.
44855
44856 2014-10-31 Torvald Riegel <triegel@redhat.com>
44857
44858 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44859 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44860 ... add here and use lwsync or sync ...
44861 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44862 ... and add here using lwsync.
44863
44864 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44865
44866 * elf/dl-machine-reject-phdr.h: New file.
44867 * elf/dl-load.c: #include that.
44868 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44869 if that returned true.
44870
44871 2014-10-31 Roland McGrath <roland@hack.frob.com>
44872
44873 [BZ #17496]
44874 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44875 gen-as-const-headers chunk. Add a big scare comment after the last
44876 safe place to touch before-compile.
44877
44878 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44879
44880 * manual/install.texi (Tools for Compilation): Update autoconf
44881 version requirements.
44882 * INSTALL: Regenerated.
44883
44884 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44885 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44886 (__libc_pselect): Likewise.
44887
44888 [BZ #14138]
44889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44893
44894 2014-10-31 Torvald Riegel <triegel@redhat.com>
44895
44896 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44897 correct barrier instruction.
44898 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44899 Likewise.
44900 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44901 Likewise.
44902
44903 2014-10-30 Roland McGrath <roland@hack.frob.com>
44904
44905 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44906 after defining inlines. Instead, just use parens to defeat macro
44907 expansion of __isctype in its declaration.
44908
44909 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44910
44911 * include/sys/uio.h (__libc_readv): Remove declaration.
44912 (__libc_writev): Likewise.
44913 * misc/readv.c (__libc_readv): Rename to __readv.
44914 (__readv): Do not define as alias.
44915 (readv): Define as alias of __readv.
44916 * misc/writev.c (__libc_writev): Rename to __writev.
44917 (__writev): Do not define as alias.
44918 (writev): Define as alias of __writev.
44919 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44920 (__readv): Do not define as alias.
44921 (readv): Define unconditionally as alias of __readv.
44922 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44923 (__writev): Do not define as alias.
44924 (writev): Define unconditionally as alias of __writev.
44925 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44926 name.
44927 (writev): Do not define __libc_writev name.
44928
44929 2014-10-30 Roland McGrath <roland@hack.frob.com>
44930
44931 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44932 (convert_charseq): New function, broken out of ...
44933 (use_from_charmap): ... here. Call it.
44934 (use_to_charmap): Use convert_charseq and free instead of duplicating
44935 its code with a variable-length stack struct.
44936
44937 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44938
44939 * include/fcntl.h (__libc_creat): Remove declaration.
44940 * io/creat.c (__libc_creat): Rename to creat.
44941 (creat): Do not define as alias.
44942 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44943 of creat instead of __libc_creat.
44944 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44945 to creat.
44946 (creat): Do not define as alias.
44947 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44948 __libc_creat.
44949 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44950 __libc_creat name.
44951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44952 Likewise.
44953
44954 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44955
44956 * manual/llio.texi: Add comments discussing why write() may be
44957 considered MT-unsafe on Linux.
44958
44959 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44960
44961 * dl-load.c (local_strdup): Remove.
44962 (expand_dynamic_string_token): Use __strdup.
44963 (decompose_rpath): Likewise.
44964 (_dl_map_object): Likewise.
44965
44966 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44967
44968 [BZ #14132]
44969 * sysdeps/generic/unwind-dw2-fde.c
44970 (__register_frame_info_bases_internal): Do not declare.
44971 (__register_frame_info_table_bases_internal): Likewise.
44972 (__deregister_frame_info_bases_internal): Likewise.
44973 (__register_frame_info_bases): Declare and use hidden_proto before
44974 definition. Use hidden_def instead of INTDEF.
44975 (__register_frame_info_table_bases): Likewise.
44976 (__deregister_frame_info_bases): Likewise.
44977 (__register_frame_info): Do not use INTUSE.
44978 (__register_frame): Likewise.
44979 (__register_frame_info_table): Likewise.
44980 (__register_frame_table): Likewise.
44981 (__deregister_frame_info): Likewise.
44982 (__deregister_frame): Likewise.
44983
44984 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44985
44986 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44987 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44988 not undefine.
44989 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44990 Likewise.
44991 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44992 Likewise.
44993
44994 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44995
44996 [BZ #14138]
44997 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44998 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44999 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45000 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45001 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45002 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45003 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45004 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45005 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45006 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45007 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45008 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45009 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45010 syscall.
45011 (setfsuid): Likewise.
45012 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45013 (setfsuid): Likewise.
45014 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45015 (setfsuid): Likewise.
45016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45017 Likewise.
45018 (setfsuid): Likewise.
45019 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45020 (setfsuid): Likewise.
45021 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45022 Likewise.
45023 (setfsuid): Likewise.
45024
45025 2014-10-27 Andreas Schwab <schwab@suse.de>
45026
45027 [BZ #17501]
45028 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45029 check for Slow_SSE4_2 feature bit.
45030 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45031 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45032 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45033 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45034
45035 2014-10-24 Roland McGrath <roland@hack.frob.com>
45036
45037 * configure.ac: Validate compiler version with a empirical test of
45038 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45039 $CC -v output.
45040 * configure: Regenerated.
45041
45042 * inet/htons.c (htons): Prototypify.
45043 * inet/htonl.c (htonl): Likewise.
45044
45045 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45046
45047 * string/strncat.c (strncat): Improve performance by using strlen.
45048
45049 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45050
45051 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45052
45053 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45054
45055 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45056 Call libc_fetestexcept_aarch64.
45057
45058 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45059
45060 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45061 Call libc_feholdexcept_aarch64.
45062
45063 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45064
45065 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45066 Call get_rounding_mode.
45067
45068 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45069
45070 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45071 Simplify logic.
45072
45073 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45074
45075 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45076 Simplify logic.
45077
45078 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45079
45080 [BZ #14138]
45081 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45082 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45083 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45084 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45085 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45086 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45087 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45088 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45089 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45090 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45091 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45092 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45093 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45094 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45095 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45096 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45097 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45098 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45099 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45100 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45101 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45102 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45103 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45104 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45105 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45106 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45107 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45108 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45109 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45110 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45111 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45112 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45113 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45114 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45115 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45116 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45117 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45118 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45119 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45120 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45121 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45122 syscall.
45123 (geteuid): Likewise.
45124 (getgid): Likewise.
45125 (getuid): Likewise.
45126 (getresgid): Likewise.
45127 (getresuid): Likewise.
45128 (getgroups): Likewise.
45129 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45130 (geteuid): Likewise.
45131 (getgid): Likewise.
45132 (getuid): Likewise.
45133 (getresgid): Likewise.
45134 (getresuid): Likewise.
45135 (getgroups): Likewise.
45136 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45137 (geteuid): Likewise.
45138 (getgid): Likewise.
45139 (getuid): Likewise.
45140 (getresgid): Likewise.
45141 (getresuid): Likewise.
45142 (getgroups): Likewise.
45143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45144 Likewise.
45145 (geteuid): Likewise.
45146 (getgid): Likewise.
45147 (getuid): Likewise.
45148 (getresgid): Likewise.
45149 (getresuid): Likewise.
45150 (getgroups): Likewise.
45151 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45152 (geteuid): Likewise.
45153 (getgid): Likewise.
45154 (getuid): Likewise.
45155 (getresgid): Likewise.
45156 (getresuid): Likewise.
45157 (getgroups): Likewise.
45158 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45159 Likewise.
45160 (geteuid): Likewise.
45161 (getgid): Likewise.
45162 (getuid): Likewise.
45163 (getgroups): Likewise.
45164
45165 [BZ #14138]
45166 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45167 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45168 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45169 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45170 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45171 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45172 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45173 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45174 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45175 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45176 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45177 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45178 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45179 __chown.
45180 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45181 (lchown): Likewise.
45182 (fchown): Likewise.
45183 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45184 Likewise.
45185 (lchown): Likewise.
45186 (fchown): Likewise.
45187 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45188 (lchown): Likewise.
45189 (fchown): Likewise.
45190 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45191 Likewise.
45192 (lchown): Likewise.
45193 (fchown): Likewise.
45194
45195 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45196
45197 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45198 Simplify logic.
45199
45200 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45201
45202 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45203 Cleanup logic.
45204
45205 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45206
45207 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45208 Remove unused include.
45209
45210 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45211
45212 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45213 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45214 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45215 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45216
45217 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45218 Helge Deller <deller@gmx.de>
45219
45220 [BZ #17508]
45221 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45222 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45223 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45224
45225 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45226
45227 [BZ #14132]
45228 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45229 Remove macro definition.
45230 (__ashrdi3_v_glibc20): Likewise.
45231 (__lshrdi3_v_glibc20): Likewise.
45232 (__cmpdi2_v_glibc20): Likewise.
45233 (__ucmpdi2_v_glibc20): Likewise.
45234 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45235 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45236 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45237 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45238 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45239 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45240
45241 2014-10-22 Roland McGrath <roland@hack.frob.com>
45242
45243 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45244 old GNU extension [0] syntax.
45245 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45246 alloca rather than an array member with variable length.
45247 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45248 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45249 (parse_opt): ... here. Likewise use alloca there.
45250 Validate the -i argument before checking for rootness.
45251 (send_shutdown): New function, broken out of ...
45252 (parse_opt): ... here.
45253
45254 2014-10-22 Roland McGrath <roland@hack.frob.com>
45255
45256 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45257 macro to get at the _rt_local_ro field.
45258 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45259 ([PIC] case) or _dl_hwcap ([!PIC] case).
45260 * sysdeps/arm/setjmp.S: Likewise.
45261
45262 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45263 * sysdeps/arm/configure.ac: New check to define it.
45264 * sysdeps/arm/configure: Regenerated.
45265 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45266 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45267 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45268 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45269 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45270 Use move/movt pair instead of a load.
45271 (LDST_GLOBAL): Macro removed.
45272 (LDR_GLOBAL): New macro replaces it.
45273 (LDR_HIDDEN): New macro.
45274 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45275 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45276
45277 * setjmp/tst-setjmp-static.c: New file.
45278 * setjmp/Makefile (tests): Add it.
45279 (tests-static): New variable.
45280
45281 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45282
45283 [BZ #17485]
45284 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45285
45286 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45287
45288 [BZ #14132]
45289 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45290
45291 2014-10-21 Roland McGrath <roland@hack.frob.com>
45292
45293 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45294
45295 2014-10-20 Roland McGrath <roland@hack.frob.com>
45296
45297 * io/fts.c (dirent_not_directory): New function.
45298 (fts_build): Call it.
45299
45300 2014-10-20 Roland McGrath <roland@hack.frob.com>
45301
45302 * nptl/version.c (__nptl_main): Use normal __write rather than
45303 INTERNAL_SYSCALL.
45304 (banner): Update copyright years.
45305
45306 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45307 gettimeofday.
45308 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45309 * nptl/pthread_cond_timedwait.c: Likewise.
45310 * nptl/pthread_mutex_timedlock.c: Likewise.
45311 * nptl/sem_timedwait.c: Likewise.
45312
45313 * sysdeps/nptl/bits/libc-lock.h
45314 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45315 (__libc_lock_init_recursive): Return void, not 0.
45316 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45317 (__libc_rwlock_init): Likewise.
45318 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45319
45320 2014-10-20 Torvald Riegel <triegel@redhat.com>
45321
45322 [BZ #15215]
45323 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45324 (__pthread_once_slow): ... here.
45325 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45326 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45327
45328 2014-10-20 Torvald Riegel <triegel@redhat.com>
45329
45330 [BZ #15215]
45331 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45332 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45333 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45334 * nptl/pthread_once.c (__pthread_once): Likewise.
45335 Update comments.
45336
45337 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45338
45339 [BZ #14138]
45340 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45341 name.
45342 (writev): Use __libc_writev as strong name.
45343 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45344 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45345
45346 2014-10-17 Roland McGrath <roland@hack.frob.com>
45347
45348 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45349
45350 * sysdeps/i386/nptl/tls.h
45351 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45352 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45353 New macros.
45354 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45355 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45356 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45357 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45358 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45359 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45360
45361 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45362 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45363 on [__NR_futex].
45364 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45365 broken out of ...
45366 (__pthread_mutex_init): ... here. Call it.
45367 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45368 Conditionalize PI cases on [__NR_futex].
45369 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45370 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45371 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45372
45373 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45374 conditional on [SIGSETXID].
45375 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45376 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45377 is defined. Likewise for SIGSETXID.
45378 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45379 Conditionalize definitions on [SIGSETXID].
45380 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45381 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45382 unblocking on [SIGCANCEL].
45383
45384 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45385 [__NR_set_robust_list].
45386
45387 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45388
45389 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45390 (do_compare): Likewise.
45391
45392 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45393
45394 [BZ #15884]
45395 * string/strcoll_l.c: Don't include stdio.h.
45396 (coll_seq): Remove members idxarr and rulearr.
45397 (get_next_seq_cached): Remove function.
45398 (get_next_seq): Likewise.
45399 (get_next_seq_nocache): Rename to get_next_seq.
45400 (do_compare): Remove function.
45401 (do_compare_nocache): Rename to do_compare.
45402 (STRCOLL): Remove weight and rules cache.
45403
45404 2014-10-16 Roland McGrath <roland@hack.frob.com>
45405
45406 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45407 * sysdeps/arm/sfp-machine.h: ... to here.
45408 * sysdeps/arm/Implies: Remove arm/soft-fp.
45409
45410 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45411
45412 * conform/data/sys/utsname.h-data (*_t): Allow.
45413 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45414 [POSIX] (WEXITED): Do not expect constant.
45415 [POSIX] (WSTOPPED): Likewise.
45416 [POSIX] (WNOHANG): Likewise.
45417 [POSIX] (WNOWAIT): Likewise.
45418 [POSIX] (siginfo_t): Do not expect type or elements.
45419 [POSIX] (pid_t): Do not expect type.
45420 [POSIX] (signal.h): Do not allow header.
45421 [POSIX] (sys/resource.h): Likewise.
45422 [POSIX] (si_*): Do not allow pattern.
45423 [POSIX] (W*): Likewise.
45424 [POSIX] (P_*): Likewise.
45425 [POSIX] (BUS_*): Likewise.
45426 [POSIX] (CLD_*): Likewise.
45427 [POSIX] (FPE_*): Likewise.
45428 [POSIX] (ILL_*): Likewise.
45429 [POSIX] (POLL_*): Likewise.
45430 [POSIX] (SEGV_*): Likewise.
45431 [POSIX] (SI_*): Likewise.
45432 [POSIX] (TRAP_*): Likewise.
45433 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45434 variable.
45435
45436 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45437
45438 [BZ #12926]
45439 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45440 infinite loop when __recvmsg returns 0.
45441
45442 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45443
45444 * CANCEL-FCT-WAIVE: Remove file.
45445 * CANCEL-FILE-WAIVE: Likewise.
45446
45447 [BZ #14132]
45448 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45449 instead of INTVARDEF.
45450 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45451 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45452 rtld_hidden_data_def instead of INTVARDEF.
45453 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45454 * elf/dl-deps.c (expand_dst): Likewise.
45455 * elf/dl-load.c (_dl_dst_count): Likewise.
45456 (_dl_dst_substitute): Likewise.
45457 (decompose_rpath): Likewise.
45458 (_dl_init_paths): Likewise.
45459 (open_path): Likewise.
45460 (_dl_map_object): Likewise.
45461 * elf/rtld.c (dl_main): Likewise.
45462 (process_dl_audit): Likewise.
45463 (process_envvars): Likewise.
45464 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45465 Remove declaration.
45466 (__libc_enable_secure): Use rtld_hidden_proto.
45467
45468 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45469
45470 * elf/dl-load.c
45471 (add_path): New function broken out of _dl_rtld_di_serinfo.
45472 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45473
45474 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45475
45476 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45477 parentheses around macro arguments.
45478 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45479 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45480 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45481 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45483 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45484 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45485 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45488 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45489 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45490 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45491 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45492 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45493 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45494 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45497 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45499 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45500 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45501 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45502 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45503 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45504 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45505 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45506 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45507 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45508 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45509 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45510 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45511 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45512 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45513 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45514 Likewise.
45515 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45516 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45517 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45518 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45519 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45520 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45521 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45522 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45523 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45524 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45525 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45526 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45527 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45528 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45529 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45532 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45534 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45535 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45536 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45537 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45538 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45539 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45540 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45541 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45542 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45543 (_FP_FRAC_SRS_1): Likewise.
45544 (_FP_FRAC_CLZ_1): Likewise.
45545 (_FP_MUL_MEAT_1_imm): Likewise.
45546 (_FP_MUL_MEAT_1_wide): Likewise.
45547 (_FP_MUL_MEAT_1_hard): Likewise.
45548 (_FP_SQRT_MEAT_1): Likewise.
45549 (_FP_FRAC_ASSEMBLE_1): Likewise.
45550 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45551 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45552 (__FP_CLZ_2): Likewise.
45553 (_FP_MUL_MEAT_2_wide): Likewise.
45554 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45555 (_FP_MUL_MEAT_2_gmp): Likewise.
45556 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45557 (_FP_SQRT_MEAT_2): Likewise.
45558 (_FP_FRAC_ASSEMBLE_2): Likewise.
45559 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45560 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45561 (_FP_FRAC_CLZ_4): Likewise.
45562 (_FP_MUL_MEAT_4_wide): Likewise.
45563 (_FP_MUL_MEAT_4_gmp): Likewise.
45564 (_FP_SQRT_MEAT_4): Likewise.
45565 (_FP_FRAC_ASSEMBLE_4): Likewise.
45566 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45567 * soft-fp/op-common.h (_FP_CMP): Likewise.
45568 (_FP_CMP_EQ): Likewise.
45569 (_FP_CMP_UNORD): Likewise.
45570 (_FP_TO_INT): Likewise.
45571 (_FP_FROM_INT): Likewise.
45572 [!__FP_CLZ] (__FP_CLZ): Likewise.
45573 (_FP_DIV_HELP_imm): Likewise.
45574 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45575 Likewise.
45576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45581 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45582 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45585 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45586 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45587 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45588 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45589 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45590 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45591 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45592 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45596 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45600 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45604 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45605 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45607 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45608 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45609 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45610 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45611 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45612 (FP_UNPACK_RAW_SP): Likewise.
45613 (FP_PACK_RAW_S): Likewise.
45614 (FP_PACK_RAW_SP): Likewise.
45615 (FP_UNPACK_S): Likewise.
45616 (FP_UNPACK_SP): Likewise.
45617 (FP_UNPACK_SEMIRAW_S): Likewise.
45618 (FP_UNPACK_SEMIRAW_SP): Likewise.
45619 (FP_PACK_S): Likewise.
45620 (FP_PACK_SP): Likewise.
45621 (FP_PACK_SEMIRAW_S): Likewise.
45622 (FP_PACK_SEMIRAW_SP): Likewise.
45623 (_FP_SQRT_MEAT_S): Likewise.
45624 (FP_CMP_S): Likewise.
45625 (FP_CMP_EQ_S): Likewise.
45626 (FP_CMP_UNORD_S): Likewise.
45627 (FP_TO_INT_S): Likewise.
45628 (FP_FROM_INT_S): Likewise.
45629
45630 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45631
45632 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45633 (FP_EX_INVALID_IMZ): Likewise.
45634 (FP_EX_INVALID_IMZ_FMA): Likewise.
45635 (FP_EX_INVALID_ISI): Likewise.
45636 (FP_EX_INVALID_ZDZ): Likewise.
45637 (FP_EX_INVALID_IDI): Likewise.
45638 (FP_EX_INVALID_SQRT): Likewise.
45639 (FP_EX_INVALID_CVI): Likewise.
45640 (FP_EX_INVALID_VC): Likewise.
45641 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45642 "invalid" exceptions.
45643 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45644 (_FP_ADD_INTERNAL): Likewise.
45645 (_FP_MUL): Likewise.
45646 (_FP_FMA): Likewise.
45647 (_FP_DIV): Likewise.
45648 (_FP_CMP_CHECK_NAN): Likewise.
45649 (_FP_SQRT): Likewise.
45650 (_FP_TO_INT): Likewise.
45651 (FP_EXTEND): Likewise.
45652
45653 2014-10-09 Allan McRae <allan@archlinux.org>
45654
45655 * po/fr.po: Update French translation from translation project.
45656
45657 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45658
45659 [BZ #14132]
45660 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45661 of INTDEF.
45662 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45663 (__cxa_atexit): Use libc_hidden_proto.
45664 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45665
45666 [BZ #14132]
45667 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45668 declaration.
45669 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45670 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45671 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45672 [!_ISOMAC] (__iswctype_internal): Likewise.
45673 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45674 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45675 alias.
45676 (fcntl): Remove __fcntl_internal alias.
45677 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45678 __connect_internal alias.
45679 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45680 Likewise.
45681
45682 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45683 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45684 FP_DENORM_ZERO.
45685 (_FP_CHECK_FLUSH_ZERO): New macro.
45686 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45687 (_FP_CMP): Likewise.
45688 (_FP_CMP_EQ): Likewise.
45689 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45690 FP_DENORM_ZERO.
45691 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45692 (FP_TRUNC): Likewise.
45693
45694 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45695 treated as invalid conversion, not as normal exponent.
45696
45697 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45698 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45699 (_FP_CMP_EQ): Likewise.
45700 (_FP_CMP_UNORD): Likewise.
45701 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45702 (FP_CMP_EQ_D): Likewise.
45703 (FP_CMP_UNORD_D): Likewise.
45704 * soft-fp/extended.h (FP_CMP_E): Likewise.
45705 (FP_CMP_EQ_E): Likewise.
45706 (FP_CMP_UNORD_E): Likewise.
45707 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45708 (FP_CMP_EQ_Q): Likewise.
45709 (FP_CMP_UNORD_Q): Likewise.
45710 * soft-fp/single.h (FP_CMP_S): Likewise.
45711 (FP_CMP_EQ_S): Likewise.
45712 (FP_CMP_UNORD_S): Likewise.
45713 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45714 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45715 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45716 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45717 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45718 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45719 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45720 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45721 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45722 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45723 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45724 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45725 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45726 to FP_CMP_Q.
45727 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45728 FP_CMP_Q.
45729 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45730 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45731 FP_CMP_EQ_Q.
45732 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45733 FP_CMP_Q.
45734 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45735 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45736 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45737 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45738 FP_CMP_EQ_Q.
45739 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45740 FP_CMP_Q.
45741 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45742 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45743 FP_CMP_EQ_Q.
45744 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45745 FP_CMP_Q.
45746 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45747 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45748 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45749 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45750 FP_CMP_EQ_Q.
45751
45752 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45753 a subnormal result, set the underflow exception if trapping on
45754 underflow is enabled.
45755 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45756 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45757 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45758 redefine to 0.
45759 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45760 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45761 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45762 * soft-fp/extendxftf2.c (__extendxftf2): Use
45763 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45764
45765 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45766 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45767 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45768 FP_HANDLE_EXCEPTIONS.
45769 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45770 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45771 FP_HANDLE_EXCEPTIONS.
45772 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45773 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45774 FP_HANDLE_EXCEPTIONS.
45775 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45776 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45777 FP_HANDLE_EXCEPTIONS.
45778
45779 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45780
45781 [BZ #14132]
45782 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45783 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45784 use INTUSE.
45785 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45786 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45787 Remove alias.
45788 (__adjtimex): Define using libc_hidden_ver.
45789 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45790 Remove declaration.
45791 (ntp_gettime): Call __adjtimex directly.
45792 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45793 Remove declaration.
45794 (ntp_gettimex): Call __adjtimex directly.
45795 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45796 __adjtimex_internal alias.
45797
45798 2014-10-08 Roland McGrath <roland@hack.frob.com>
45799
45800 [BZ #17460]
45801 * nscd/nscd.c (more_help): Rewrite list of tables collection
45802 using xstrdup and asprintf.
45803
45804 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45805
45806 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45807 Roland McGrath <roland@hack.frob.com>
45808
45809 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45810 (do_lookup_unique): ... local function 'enter' here; update callers.
45811
45812 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45813
45814 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45815 compat_symbol calls on [SHARED].
45816 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45817 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45818 Remove.
45819 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45820 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45821 (oldsetrlimit): Remove.
45822 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45824 (lchown): New syscall entry.
45825 (oldsetrlimit): Remove.
45826 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45828 (oldsetrlimit): Remove.
45829 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45830
45831 [BZ #14138]
45832 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45833 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45834 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45835 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45836 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45837 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45838 (fchown): Likewise.
45839 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45840 (fchown): Likewise.
45841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45842 Likewise.
45843
45844 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45845
45846 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45847 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45848 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45849 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45850 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45851 Likewise.
45852 (__old_sem_post): Likewise.
45853
45854 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45855
45856 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45857 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45858 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45859 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45860 Use INLINE_VSYSCALL macro.
45861 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45862 __vdso_clock_gettime.
45863 * sysdeps/unix/sysv/linux/tile/init-first.c
45864 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45865 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45866 __vdso_clock_gettime.
45867
45868 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45869 to set up frame more cleanly.
45870
45871 * sysdeps/tile/memcmp.c: New file.
45872
45873 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45874
45875 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45876 * sysdeps/tile/tilegx/strcasestr.c: New file.
45877 * sysdeps/tile/tilegx/strnlen.c: New file.
45878 * sysdeps/tile/tilegx/strstr.c: New file.
45879
45880 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45881
45882 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45883
45884 * nptl/tst-setuid3.c: Write errors to stdout.
45885
45886 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45887
45888 * elf/dl-deps.c
45889 (preload): New functions broken out of _dl_map_object_deps.
45890 (_dl_map_object_deps): Remove a nested function. Update call sites.
45891
45892 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45893
45894 [BZ #14138]
45895 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45896 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45897
45898 2014-10-01 Steve Ellcey <sellcey@mips.com>
45899
45900 * sysdeps/mips/strcmp.S: New.
45901
45902 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45903
45904 [BZ #14138]
45905 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45906 (linkat): Likewise.
45907 (mkdirat): Likewise.
45908 (readlinkat): Likewise.
45909 (renameat): Likewise.
45910 (symlinkat): Likewise.
45911 (unlinkat): Likewise.
45912 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45913 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45914 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45915 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45916 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45917 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45918 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45919
45920 2014-09-30 Will Newton <will.newton@linaro.org>
45921
45922 * math/math.h: Define long double math functions if
45923 _LIBC_TEST is defined.
45924 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45925
45926 * localedata/Makefile: Move assignment to tests-special
45927 into an ifdef testing run-built-tests.
45928 * timezone/Makefile: Likewise.
45929
45930 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45931
45932 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45933 with $(BASH) not $(SHELL).
45934
45935 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45936 Matthew LeGendre <legendre1@llnl.gov>
45937
45938 [BZ #17411]
45939 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45940 l_reloc_result.
45941
45942 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45943
45944 * stdio-common/printf_fp.c
45945 (hack_digit): New function, broken out of ...
45946 (__printf_fp): ... local function here. Update call sites.
45947 hack_digit now takes an additional parameter that is a pointer
45948 to a struct of the referenced locals. Those locals moved inside
45949 the struct and references updated.
45950
45951 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45952
45953 * aclocal.m4: Require autoconf 2.69.
45954 * configure: Regenerated.
45955 * sysdeps/aarch64/configure: Likewise.
45956 * sysdeps/alpha/configure: Likewise.
45957 * sysdeps/arm/armv7/configure: Likewise.
45958 * sysdeps/arm/configure: Likewise.
45959 * sysdeps/ia64/configure: Likewise.
45960 * sysdeps/mach/configure: Likewise.
45961 * sysdeps/mips/configure: Likewise.
45962 * sysdeps/s390/configure: Likewise.
45963 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45965
45966 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45967 file.
45968 * sysdeps/ia64/configure.ac: Likewise.
45969
45970 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45971
45972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45973 specify symbol version for ld.so. Do not include entry for
45974 libpthread.
45975 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45976 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45977 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45978
45979 [BZ #14171]
45980 * Makeconfig [$(build-shared) = yes]
45981 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45982 makefiles.
45983 [$(build-shared) = yes && $(soversions.mk-done) = t]
45984 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45985 [$(build-shared) = yes && $(soversions.mk-done) = t]
45986 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45987 to Makerules.
45988 [$(build-shared) = yes && $(soversions.mk-done) = t]
45989 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45990 here.
45991 [$(build-shared) = yes && $(soversions.mk-done) = t]
45992 (common-generated): Don't append gnu/lib-names.h and
45993 gnu/lib-names.stmp here.
45994 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45995 (lib-names-h-abi): New variable.
45996 [$(build-shared) = yes && $(soversions.mk-done) = t]
45997 (lib-names-stmp-abi): Likewise.
45998 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45999 abi-variants] (before-compile): Append
46000 $(common-objpfx)$(lib-names-h-abi).
46001 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46002 abi-variants] (common-generated): Append gnu/lib-names.h.
46003 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46004 abi-variants] (install-others-nosubdir): Depend on
46005 $(inst_includedir)/$(lib-names-h-abi).
46006 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46007 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46008 [$(build-shared) = yes && $(soversions.mk-done) = t]
46009 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46010 [$(build-shared) = yes && $(soversions.mk-done) = t]
46011 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46012 [$(build-shared) = yes && $(soversions.mk-done) = t]
46013 (common-generated): Append $(lib-names-h-abi) and
46014 $(lib-names-stmp-abi).
46015 * scripts/lib-names.awk: Do not handle multi being set.
46016 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46017 Remove variable.
46018 (abi-lp64_be-ld-soname): Likewise.
46019 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46020 Likewise.
46021 (abi-hard-ld-soname): Likewise.
46022 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46023 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46024 Remove variable.
46025 (abi-o32_hard-ld-soname): Likewise.
46026 (abi-o32_soft_2008-ld-soname): Likewise.
46027 (abi-o32_hard_2008-ld-soname): Likewise.
46028 (abi-n32_soft-ld-soname): Likewise.
46029 (abi-n32_hard-ld-soname): Likewise.
46030 (abi-n32_soft_2008-ld-soname): Likewise.
46031 (abi-n32_hard_2008-ld-soname): Likewise.
46032 (abi-n64_soft-ld-soname): Likewise.
46033 (abi-n64_hard-ld-soname): Likewise.
46034 (abi-n64_soft_2008-ld-soname): Likewise.
46035 (abi-n64_hard_2008-ld-soname): Likewise.
46036 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46037 Likewise.
46038 (abi-64-v2-ld-soname): Likewise.
46039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46040 ld.so entries.
46041 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46042 variable.
46043 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46044 entry.
46045 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46046 variable.
46047 (abi-64-ld-soname): Likewise.
46048 (abi-x32-ld-soname): Likewise.
46049 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46050 entry.
46051 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46052
46053 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46054
46055 [BZ #14138]
46056 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46057 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46058 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46059 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46060 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46061 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46062 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46063 syscall entry for GLIBC_2.2 symbol version.
46064 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46065 Likewise.
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46067 (setrlimit): Likewise.
46068 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46069 Likewise.
46070
46071 2014-09-23 Will Newton <will.newton@linaro.org>
46072
46073 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46074 _LINUX_ARM_SYSDEP_H include guard too.
46075 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46076 define.
46077
46078 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46079
46080 * sysdeps/unix/sysv/linux/eventfd.c:
46081 Make first argument unsigned.
46082 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46083 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46084
46085 2014-09-20 Ondƙej Bílka <neleai@seznam.cz>
46086
46087 [BZ #16852]
46088 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46089 * socket/sys/socket.h: Likewise.
46090 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46091
46092 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46093
46094 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46095
46096 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46097
46098 * time/tst-ftime.c: New test.
46099 * time/Makefile (tests): Add tst-ftime.
46100
46101 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46102
46103 * soft-fp/extended.h: Fix comment formatting.
46104 * soft-fp/op-1.h: Likewise.
46105 * soft-fp/op-2.h: Likewise.
46106 * soft-fp/op-4.h: Likewise.
46107 * soft-fp/op-8.h: Likewise.
46108 * soft-fp/op-common.h: Likewise.
46109 * soft-fp/soft-fp.h: Likewise.
46110
46111 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46112
46113 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46114
46115 [BZ #6652]
46116 * Makeconfig (soversions-default-setname): Remove variable.
46117 ($(common-objpfx)soversions.i): Don't pass default_setname to
46118 soversions.awk.
46119 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46120 oldest_abi to abi-versions.awk.
46121 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46122 * config.make.in (oldest-abi): Remove variable.
46123 * configure.ac (--enable-oldest-abi): Remove configure option.
46124 * configure: Regenerated.
46125 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46126 text.
46127 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46128 * scripts/soversions.awk: Do not handle default_setname variable.
46129 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46130 variable.
46131 * sysdeps/mach/hurd/configure: Regenerated.
46132 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46133 variable.
46134 * sysdeps/unix/sysv/linux/configure: Regenerated.
46135
46136 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46137
46138 * elf/Makefile (CFLAGS-interp.c): Remove.
46139 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46140 path string.
46141 * elf/interp.c: Include generated runtime-linker.h
46142
46143 * Makerules (lib%.so): Don't include $(+interp) in
46144 prerequisites.
46145 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46146 * dlfcn/eval.c: Remove file.
46147
46148 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46149 macros.
46150
46151 [BZ #17266]
46152 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46153 4.2 and newer.
46154
46155 [BZ #17370]
46156 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46157
46158 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46159 Jakub Jelinek <jakub@redhat.com>
46160
46161 [BZ #17266]
46162 * libio/stdio.h: Check definition of __fortify_function
46163 instead of __extern_always_inline to include bits/stdio2.h.
46164 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46165 check if __extern_always_inline is defined.
46166 [__USE_MISC || __USE_XOPEN]: Likewise.
46167 [__USE_ISOC99] Likewise.
46168 * misc/sys/cdefs.h (__fortify_function): Define only if
46169 __extern_always_inline is defined.
46170 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46171 __extern_always_inline and __extern_inline only for g++-4.3
46172 and newer or a compatible gcc.
46173
46174 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46175
46176 [BZ #17371]
46177 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46178 last change to handle zero prefix length.
46179
46180 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46181
46182 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46183 _SC_REGEX_VERSION.
46184
46185 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46186 _POSIX_RAW_SOCKETS.
46187
46188 2014-09-13 Allan McRae <allan@archlinux.org>
46189
46190 * po/ru.po: Update Russian translation from translation project.
46191
46192 2014-09-12 Roland McGrath <roland@hack.frob.com>
46193
46194 * locale/programs/locale.c (show_locale_vars): Inline local function
46195 into its sole call site. Clean up some style nits.
46196 (print_item): New function, broken out of ...
46197 (show_info): ... local function here. Clean up style nits.
46198
46199 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46200 out of ...
46201 (set_class_defaults): ... local function set_default here.
46202 Define set_default as a macro locally to pass constant parameters.
46203 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46204 rather than a shared local.
46205
46206 * stdlib/rpmatch.c (try): New function, broken out of ...
46207 (rpmatch): ... local function here. Also, prototypify definition.
46208
46209 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46210
46211 * scripts/soversions.awk: Do not handle configuration names.
46212 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46213 vendor and os variables to soversions.awk.
46214 * configure.ac: Do not modify gnu-* host_os.
46215 * configure: Regenerated
46216 * shlib-versions: Remove first column with configuration names.
46217 * nptl/shlib-versions: Likewise.
46218 * nptl_db/shlib-versions: Likewise.
46219 * sysdeps/hppa/shlib-versions: Likewise.
46220 * sysdeps/m68k/shlib-versions: Likewise.
46221 * sysdeps/mach/hurd/shlib-versions: Likewise.
46222 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46223 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46224 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46225 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46226 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46227 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46228 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46229 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46231 Likewise.
46232 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46233 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46234 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46235 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46236 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46237 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46239 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46240
46241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46242 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46244 Regenerated.
46245 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46247 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46248
46249 * shlib-versions: Remove OS-specific entries. Moved to files in
46250 sysdeps.
46251 * sysdeps/mach/hurd/shlib-versions: New file.
46252 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46253
46254 * nptl/shlib-versions: Remove architecture-specific entries.
46255 Moved to files in sysdeps.
46256 * shlib-versions: Likewise.
46257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46258 file.
46259 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46260 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46261 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46262 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46263
46264 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46265 (UDP_NO_CHECK6_RX): Likewise.
46266
46267 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46268
46269 * sysdeps/posix/sysconf.c (__sysconf): Spell
46270 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46271
46272 2014-08-12 Florian Weimer <fweimer@redhat.com>
46273
46274 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46275 loading.
46276 * iconv/Versions (__gconv_transliterate): Export for use from
46277 gconv modules.
46278 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46279 (struct __gconv_trans_data, __gconv_trans_fct,
46280 __gconv_trans_context_fct, __gconv_trans_query_fct,
46281 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46282 definitions.
46283 (struct __gconv_step_data): Remove __trans member.
46284 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46285 longer hidden. Remove unused trans_data argument.
46286 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46287 (__gconv_translit_find): Remove declaration.
46288 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46289 prototype.
46290 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46291 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46292 trans_data argument. Add hidden definition.
46293 (__gconv_translit_find): Remove.
46294 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46295 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46296 * iconv/skeleton.c: Remove transliteration initialization.
46297 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46298 __gconv_step_data initialization.
46299 * libio/iofwide.c (__libio_translit_): Remove.
46300 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46301 * wcsmbs/btowc.c (__btowc): Likewise.
46302 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46303 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46304 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46305 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46306 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46307 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46308 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46309 * wcsmbs/wctob.c (wctob): Likewise.
46310
46311 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46312
46313 [BZ #16194]
46314 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46315 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46316 register usage.
46317 * sysdeps/x86/Makefile: Adjust.
46318
46319 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46320 Roland McGrath <roland@hack.frob.com>
46321
46322 * locale/weight.h: Add include guard.
46323 (findidx): Make static rather than auto; take new parameters
46324 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46325 * locale/weightwc.h: Likewise.
46326 * posix/fnmatch_loop.c
46327 (FCT): Change type of EXTRA from int32_t to wint_t.
46328 Don't include either header inside the function.
46329 Call FINDIDX rather than findidx, and pass new arguments.
46330 #undef FINDIDX at the end of the file.
46331 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46332 FINDIDX before including fnmatch_loop.c for the non-wide version.
46333 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46334 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46335 for the wide version.
46336 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46337 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46338 Pass new arguments to findidx.
46339 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46340 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46341 Don't #include it inside the function. Pass new arguments to findidx.
46342 * posix/regex_internal.h
46343 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46344 (re_string_elem_size_at): Don't #include it inside the function.
46345 Pass new arguments to findidx.
46346 * string/strcoll_l.c: #include WEIGHT_H at top level.
46347 (get_next_seq): Don't #include it inside the function.
46348 Pass new arguments to findidx.
46349 (get_next_seq_nocache): Likewise.
46350 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46351 (STRXFRM): Don't #include it inside the function.
46352 Pass new arguments to findidx.
46353
46354 2014-09-11 Florian Weimer <fweimer@redhat.com>
46355
46356 [BZ #17344]
46357 * malloc/malloc.c (unlink): Turn asserts into a call to
46358 malloc_printerr.
46359
46360 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46361
46362 [BZ #17370]
46363 * libio/wfileops (do_ftell_wide): Free OUT.
46364
46365 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46366
46367 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46368
46369 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46370
46371 [BZ #17363]
46372 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46373 group if the current group is empty.
46374
46375 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46376
46377 * benchtests/bench-memset.c (test_main): Add more test from size
46378 from 32 to 512 bytes.
46379 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46380 Add POWER8 memset object.
46381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46382 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46383 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46384 implementation.
46385 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46386 Likewise.
46387 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46388 multiarch POWER8 memset optimization.
46389 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46390 POWER8 memset optimization.
46391
46392 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46393 Remove bzero multiarch objects.
46394 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46395 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46396 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46397 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46398 Remove define.
46399 [__bzero]: Redefine to specific name.
46400 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46401 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46402 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46403 define.
46404 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46405 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46406
46407 2014-09-10 Florian Weimer <fweimer@redhat.com>
46408
46409 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46410 warnings into errors.
46411
46412 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46413 __cxa_thread_atexit_impl prototype.
46414
46415 2014-09-09 Steve Ellcey <sellcey@mips.com>
46416
46417 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46418 Fix capitalization of error message.
46419
46420 2014-09-09 Steve Ellcey <sellcey@mips.com>
46421
46422 * sysdeps/mips/preconfigure: Modify ABI tests.
46423
46424 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46425
46426 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46427
46428 2014-09-07 Roland McGrath <roland@hack.frob.com>
46429 Carlos O'Donell <carlos@systemhalted.org>
46430
46431 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46432 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46433 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46434 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46435 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46436 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46437 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46438 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46439 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46440 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46441 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46442 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46443 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46444 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46445 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46446 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46447 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46448 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46449 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46450 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46451 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46452 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46453 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46454 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46455 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46456 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46457 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46458 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46459 Deconditionalize the code that was previously under [RESET_PID].
46460 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46461 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46462 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46463 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46464 include sysdep.h.
46465
46466 2014-09-08 Allan McRae <allan@archlinux.org>
46467
46468 * version.h (RELEASE): Set to "development".
46469 (VERSION): Set to "2.20.90"
46470
46471 2014-09-07 Allan McRae <allan@archlinux.org
46472
46473 * version.h (RELEASE): Set to "stable".
46474 (VERSION): Set to "2.20"
46475 * include/features.h (__GLIBC_MINOR__): Set to 20.
46476
46477 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46478 Liebler.
46479
46480 * po/ko.po: Update Korean translation from translation project.
46481
46482 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46483
46484 [BZ #17354]
46485 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46486 macro for handling signed relocations.
46487
46488 2014-09-03 Florian Weimer <fweimer@redhat.com>
46489
46490 [BZ #17325]
46491 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46492 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46493 assert.
46494 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46495 * iconvdata/ibm935.c (BODY): Likewise.
46496 * iconvdata/ibm937.c (BODY): Likewise.
46497 * iconvdata/ibm939.c (BODY): Likewise.
46498 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46499 assert.
46500 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46501 script.
46502 * iconvdata/run-iconv-test.sh: New test loop for checking for
46503 decoder crashers.
46504
46505 2014-09-02 Khem Raj <raj.khem@gmail.com>
46506
46507 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46508 libm_hidden_ver.
46509
46510 2014-09-01 Allan McRae <allan@archlinux.org>
46511
46512 * po/eo.po: Update Esperanto translation from translation project.
46513
46514 * po/ca.po: Update Catalan translation from translation project.
46515
46516 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46517
46518 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46519 __proc_dostop call.
46520
46521 2014-08-27 Mark Wielaard <mjw@redhat.com>
46522
46523 [BZ #17319]
46524 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46525 to call set_thread_area instead of hand written asm.
46526 (__NR_set_thread_area): Removed define.
46527 (TLS_FLAG_WRITABLE): Likewise.
46528 (__ASSUME_SET_THREAD_AREA): Remove check.
46529 (TLS_EBX_ARG): Remove define.
46530 (TLS_LOAD_EBX): Likewise.
46531
46532 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46533
46534 Simplify atomicity of socket creation in bind.
46535
46536 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46537 looking up the name after linking the file.
46538
46539 2014-08-27 Allan McRae <allan@archlinux.org>
46540
46541 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46542
46543 2014-08-26 Florian Weimer <fweimer@redhat.com>
46544
46545 [BZ #17187]
46546 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46547 trans_compare, open_translit, __gconv_translit_find):
46548 Remove module loading code.
46549
46550 2014-08-26 Allan McRae <allan@archlinux.org>
46551
46552 * po/vi.po: Update Vietnamese translation from translation project.
46553
46554 * po/uk.po: Update Ukrainian translation from translation project.
46555
46556 * po/fr.po: Update French translation from translation project.
46557
46558 * po/ru.po: Update Russian translation from translation project.
46559
46560 * po/pl.po: Update Polish translation from translation project.
46561
46562 * po/cs.po: Update Czech translation from translation project.
46563
46564 * po/de.po: Update German translation from translation project.
46565
46566 * po/bg.po: Update Bulgarian translation from translation project.
46567
46568 * po/sv.po: Update Sweedish translation from translation project.
46569
46570 * po/nl.po: Update Dutch translation from translation project.
46571
46572 * po/es.po: Update Spanish translation from translation project.
46573
46574 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46575
46576 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46577
46578 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46579 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46580 (CPPFLAGS-iconvconfig): Likewise.
46581 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46582
46583 * include/libc-symbols.h: Remove unnecessary check for
46584 NOT_IN_libc.
46585 * nptl/pthreadP.h: Likewise.
46586 * sysdeps/aarch64/setjmp.S: Likewise.
46587 * sysdeps/alpha/setjmp.S: Likewise.
46588 * sysdeps/arm/sysdep.h: Likewise.
46589 * sysdeps/i386/setjmp.S: Likewise.
46590 * sysdeps/m68k/setjmp.c: Likewise.
46591 * sysdeps/posix/getcwd.c: Likewise.
46592 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46593 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46594 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46595 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46596 * sysdeps/sh/sh3/setjmp.S: Likewise.
46597 * sysdeps/sh/sh4/setjmp.S: Likewise.
46598 * sysdeps/unix/alpha/sysdep.h: Likewise.
46599 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46601 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46602 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46607 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46610 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46612 * sysdeps/x86_64/setjmp.S: Likewise.
46613
46614 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46615
46616 [BZ #17263]
46617 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46618 <stdint.h>.
46619 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46620 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46621
46622 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46623
46624 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46625
46626 [BZ #17262]
46627 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46628 and __x86_64__ when disabling x87 inline functions.
46629
46630 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46631
46632 [BZ #17259]
46633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46634 asm statement with __cpuid_count.
46635
46636 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46637
46638 * configure.ac: Change __ehdr_start code to dereference the struct.
46639 Run readelf on the output to look for relocations.
46640 * configure: Regenerated.
46641
46642 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46643
46644 [BZ #17261]
46645 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46646 value to 0.
46647 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46648
46649 2014-08-12 Roland McGrath <roland@hack.frob.com>
46650
46651 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46652
46653 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46654
46655 [BZ #16892]
46656 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46657 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46658
46659 2014-08-12 Sean Anderson <seanga2@gmail.com>
46660
46661 * malloc/malloc.c: Fix typo in comment.
46662
46663 2014-08-09 Allan McRae <allan@archlinux.org>
46664
46665 * Regenerate libc.po.
46666
46667 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46668
46669 * intl/tst-gettext2.sh: Check every lang file for creation.
46670
46671 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46672
46673 * sysdeps/aarch64/fpu/math_private.h
46674 (libc_feholdsetround_noex_aarch64_ctx): New function.
46675
46676 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46677
46678 * sysdeps/arm/armv6/strcpy.S (strcpy):
46679 Fix performance issue in misaligned cases.
46680
46681 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46682
46683 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46684 Move definition from termios.h.
46685 (struct termio): Likewise.
46686 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46687 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46688 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46689 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46690 Likewise.
46691 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46692 Move definition to ioctl-types.h
46693 (struct termio): Likewise.
46694 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46695 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46696 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46697 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46698 Likewise.
46699
46700 2014-08-05 Richard Henderson <rth@redhat.com>
46701
46702 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46703 exceptions.
46704 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46705 Add fraiseexcpt.
46706 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46707 Use __feraiseexcept.
46708 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46709 Protect libm symbols with IS_IN_libm.
46710
46711 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46712
46713 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46714
46715 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46716
46717 2014-08-04 Will Newton <will.newton@linaro.org>
46718
46719 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46720 file.
46721
46722 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46723
46724 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46725 variants for each function.
46726
46727 2014-08-04 Roland McGrath <roland@hack.frob.com>
46728
46729 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46730 appended ...
46731 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46732 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46733 appended ...
46734 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46735 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46736 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46737 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46738 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46739 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46740 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46741 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46742 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46743 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46744 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46745 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46746 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46747 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46748 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46749 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46750 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46751 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46752 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46753 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46754 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46755 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46756 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46757 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46758 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46759 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46760 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46761 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46762 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46763 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46764 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46765 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46766 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46767 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46768 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46769 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46770 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46771 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46772 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46773 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46774 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46775 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46776 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46777 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46778 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46779 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46780 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46781 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46782 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46783 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46784 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46785 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46786 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46787 Update #include.
46788 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46789 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46790
46791 2014-08-04 Roland McGrath <roland@hack.frob.com>
46792
46793 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46794 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46795 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46796 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46797 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46798 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46799
46800 2014-08-04 Roland McGrath <roland@hack.frob.com>
46801
46802 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46803 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46804 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46805 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46806
46807 2014-08-04 Roland McGrath <roland@hack.frob.com>
46808
46809 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46810 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46811 (__libc_vfork): Define function under this name.
46812 (__vfork): Define as an alias.
46813 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46814 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46815
46816 2014-08-04 Roland McGrath <roland@hack.frob.com>
46817
46818 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46819 that was previously under [RESET_PID].
46820 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46821
46822 2014-08-04 Andreas Schwab <schwab@suse.de>
46823
46824 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46825
46826 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46827
46828 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46829 (main): Likewise.
46830
46831 2014-08-01 Roland McGrath <roland@hack.frob.com>
46832
46833 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46834
46835 2014-08-01 Richard Henderon <rth@redhat.com>
46836
46837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46838 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46839 typo in exact zero test.
46840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46841 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46843
46844 2014-08-01 Roland McGrath <roland@hack.frob.com>
46845
46846 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46847 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46848 * sysdeps/arm/sysdep.h: ... here.
46849 [!__ASSEMBLER__]: Include <stdint.h>.
46850
46851 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46852
46853 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46854 (HAVE_WCTYPE_H): Likewise.
46855 (HAVE_ISWCTYPE): Likewise.
46856 (ENABLE_NLS): Likewise.
46857 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46858 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46859
46860 * posix/regex_internal.c: Check if DEBUG is defined and is
46861 set.
46862
46863 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46864 (HAVE_MBSRTOWCS): Likewise.
46865 * posix/fnmatch.c: Include string.h unconditionally.
46866
46867 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46868
46869 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46870 reversal.
46871
46872 2014-07-31 Roland McGrath <roland@hack.frob.com>
46873
46874 * sysdeps/generic/safe-fatal.h: New file.
46875 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46876 * nptl/forward.c: Include it.
46877 (__pthread_unwind): Use __safe_fatal as default action, rather
46878 than a bogus use of INTERNAL_SYSCALL that could never work.
46879
46880 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46881 * configure.ac (libc_cv_builtin_trap): New test.
46882 * configure: Regenerated.
46883 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46884 (ABORT_INSTRUCTION): Define using __builtin_trap.
46885
46886 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46887 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46888 * sysdeps/nptl/nptl-signals.h: New file.
46889 * nptl/pthreadP.h: Include <nptl-signals.h>.
46890
46891 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46892
46893 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46894 (ONE_DIRECTION): Define.
46895 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46896 (ONE_DIRECTION): Define.
46897 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46898 (ONE_DIRECTION): Define.
46899
46900 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46901
46902 * sysdeps/s390/Makefile: Delete file.
46903 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46904 * sysdeps/s390/__longjmp.c: Delete file.
46905 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46906 Remove fields __flags and __reserved.
46907 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46908 and add versioning.
46909 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46910 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46911 * sysdeps/s390/rtld-setjmp.S: Likewise.
46912 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46913 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46914 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46915 * sysdeps/s390/s390-32/setjmp.S: ... here.
46916 Add versioning.
46917 (__sigsetjmp): Remove setting __flags field.
46918 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46919 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46920 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46921 * sysdeps/s390/s390-64/setjmp.S: ... here.
46922 Add versioning.
46923 (__sigsetjmp): Remove setting __flags field.
46924 * sysdeps/s390/setjmp.S: Delete file.
46925 * sysdeps/s390/sigjmp.c: Likewise.
46926 * sysdeps/s390/v1-longjmp.c: Likewise.
46927 * sysdeps/s390/v1-setjmp.h: Likewise.
46928 * sysdeps/s390/v1-sigjmp.c: Likewise.
46929 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46930 Remove v1-longjmp_chk.
46931 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46932 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46933 Include debug/longjmp_chk.c and add versioning.
46934 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46935 Include nptl/pt-longjmp.c and add versioning.
46936 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46937 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46938 Include __longjmp.c.
46939 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46940 Move to ...
46941 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46942 (__getcontext): Remove setting __flags field.
46943 Add versioning.
46944 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46945 Don't restore upper high grps.
46946 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46947 Likewise.
46948 (__swapcontext): Remove setting uc_flags field.
46949 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46950 Delete file.
46951 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46952 Include __longjmp.c.
46953 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46954 Move to ...
46955 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46956 (__getcontext): Remove setting __flags field.
46957 Add versioning.
46958 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46959 (__swapcontext): Remove setting uc_flags field.
46960 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46961 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46962 Remove fields uc_high_gprs and __reserved.
46963 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46964 New file with reverted content.
46965 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46966 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46967 Regenerated.
46968 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46969 Regenerated.
46970
46971 2014-07-31 Andreas Schwab <schwab@suse.de>
46972
46973 * config.h.in (HAVE_IFUNC): Define to 0.
46974 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46975 definedness.
46976
46977 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46978
46979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46980 memmove-avx-unaligned, memcpy-avx-unaligned and
46981 mempcpy-avx-unaligned.
46982 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46983 Add tests for AVX memcpy functions.
46984 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46985 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46986 memcpy_chk.
46987 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46988 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46989 memmove_chk.
46990 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46991 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46992 mempcpy_chk.
46993 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46994 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46995 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46996
46997 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46998
46999 [BZ #17213]
47000 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47001 powerpc64le.
47002
47003 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
47004
47005 [BZ #16839]
47006 * manual/llio.texi: Add section about open file description locks.
47007 * manual/examples/ofdlocks.c: Example of open file description
47008 lock usage.
47009 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47010 F_OFD_SETLK, and F_OFD_SETLKW.
47011
47012 2014-07-23 Allan McRae <allan@archlinux.org>
47013
47014 * po/es.po: Update Spanish translation from translation project.
47015
47016 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47017
47018 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47019
47020 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47021
47022 [BZ #17078]
47023 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47024 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47025 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47026
47027 2014-07-17 Joseph Myers <joseph@codesourcery.com>
47028
47029 [BZ #17088]
47030 * math/fesetenv.c (__fesetenv)
47031 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47032 * math/feupdateenv.c (__feupdateenv)
47033 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47034
47035 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47036 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47037 (__ASSUME_SOCKETCALL): Do not define.
47038
47039 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47040 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47041 (__ASSUME_SOCKETCALL): Do not define.
47042 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47043 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47044 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47045 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47046 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47047 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47048 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47049 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47050
47051 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47052 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47053 (__ASSUME_SOCKETCALL): Do not define.
47054 (__ASSUME_IPC64): Define unconditionally.
47055 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47056 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47057 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47058 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47059 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47060 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47061 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47062 Likewise.
47063
47064 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47065 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47066 (__ASSUME_SOCKETCALL): Do not define.
47067 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47068 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47069 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47070 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47071 (__ASSUME_REQUEUE_PI): Define unconditionally.
47072 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47073 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47074 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47075 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47076 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47077 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47078
47079 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47080 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47081 (__ASSUME_SOCKETCALL): Do not define.
47082 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47083 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47084 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47085 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47086 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47087 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47088
47089 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47090 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47091 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47092 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47093 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47094 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47095 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47096 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47097 (__ASSUME_GETCPU_SYSCALL): Likewise.
47098
47099 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47100 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47101 cases for individual architectures.
47102 * sysdeps/gnu/configure: Regenerated.
47103 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47104 LIBC_SLIBDIR_RTLDDIR.
47105 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47106 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47107 LIBC_SLIBDIR_RTLDDIR.
47108 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47110 LIBC_SLIBDIR_RTLDDIR.
47111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47112 Regenerated.
47113 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47114 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47115 file.
47116 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47117 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47118 file.
47119 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47120 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47121 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47122 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47123
47124 * sysdeps/aarch64/shlib-versions: Move to ...
47125 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47126 * sysdeps/alpha/shlib-versions: Move to ...
47127 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47128 * sysdeps/arm/shlib-versions: Move to ...
47129 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47130 * sysdeps/hppa/shlib-versions: Move all contents except for
47131 libgcc_s entry to ...
47132 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47133 entry from ...
47134 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47135 * sysdeps/ia64/shlib-versions: Move to ...
47136 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47137 entry from ...
47138 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47139 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47140 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47141 * sysdeps/microblaze/shlib-versions: Move to ...
47142 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47143 * sysdeps/mips/shlib-versions: Move to ...
47144 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47145 entry from ...
47146 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47147 * sysdeps/tile/shlib-versions: Move to ...
47148 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47149 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47150 from ...
47151 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47152 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47153 entry from ...
47154 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47155
47156 2014-07-17 Will Newton <will.newton@linaro.org>
47157
47158 * sysdeps/arm/bits/atomic.h
47159 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47160 (__arch_compare_and_exchange_bool_16_int): Likewise.
47161 (__arch_compare_and_exchange_bool_64_int): Likewise.
47162
47163 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47164 into an #else block.
47165
47166 2014-07-16 Roland McGrath <roland@hack.frob.com>
47167
47168 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47169 just Linux configurations. Test empirically that the compiler sets
47170 __ARM_EABI__, rather than using the tuple to decide.
47171 * sysdeps/arm/preconfigure: Regenerated.
47172 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47173 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47174 contents appended ...
47175 * sysdeps/arm/configure.ac: ... here.
47176 * sysdeps/arm/configure: Regenerated.
47177
47178 2014-07-15 Roland McGrath <roland@hack.frob.com>
47179
47180 * nptl/pthread_kill.c: New file.
47181 * nptl/pthread_sigmask.c: New file.
47182 * nptl/pthread_sigqueue.c: New file.
47183
47184 * sysdeps/nptl/lowlevellock.h: New file.
47185 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47186 * sysdeps/nptl/lowlevellock-futex.h: New file.
47187
47188 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47189 Remove dead declarations.
47190
47191 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47192
47193 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47194 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47195 config-cflags-avx2.
47196 * sysdeps/x86_64/configure.ac: Likewise.
47197 * sysdeps/i386/configure: Regenerated.
47198 * sysdeps/x86_64/configure: Likewise.
47199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47200 memset-avx2 only if config-cflags-avx2 is yes.
47201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47202 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47203 defined.
47204 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47205 only if HAVE_AVX2_SUPPORT is defined.
47206 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47207
47208 2014-07-14 Alan Modra <amodra@gmail.com>
47209
47210 [BZ #17153]
47211 * elf/elf.h (DT_PPC64_NUM): Correct value.
47212 * NEWS: Add to fixed bug list.
47213
47214 2014-07-13 Jim Meyering <meyering@fb.com>
47215
47216 [BZ 17150]
47217 regex: don't deref NULL upon heap allocation failure
47218 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47219 failure in one more place.
47220 To trigger the segfault, configure grep -with-included-regex,
47221 build it, and run these commands:
47222 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47223
47224 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47225
47226 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47227
47228 2014-07-11 Richard Henderson <rth@redhat.com>
47229
47230 * sysdeps/aarch64/libm-test-ulps: Update.
47231
47232 2014-07-10 Florian Weimer <fweimer@redhat.com>
47233
47234 [BZ #17135]
47235 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47236 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47237 (__nptl_setxid): Initialize error member. Call
47238 __nptl_setxid_error.
47239 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47240 * nptl/descr.h (struct xid_command): Add error member.
47241 * nptl/tst-setuid3.c: New file.
47242 * nptl/Makefile (tests): Add it.
47243
47244 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47245
47246 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47247 New define.
47248 (__lll_trylock): Use __lll_base_trylock.
47249 (__lll_cond_trylock): Likewise.
47250
47251 2014-07-10 Roland McGrath <roland@hack.frob.com>
47252
47253 * nptl/pthread_create.c (start_thread): Use atomic_or and
47254 lll_futex_wake directly rather than lll_robust_dead.
47255 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47256 (lll_robust_dead): Macro removed.
47257 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47258 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47259 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47260 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47261 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47262 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47263 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47264 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47265 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47267 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47268 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47269 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47270 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47271 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47272
47273 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47274 Use atomic_compare_and_exchange_val_acq directly rather than
47275 lll_robust_trylock.
47276 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47277 (__lll_robust_trylock, lll_robust_trylock): Removed.
47278 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47279 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47280 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47281 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47282 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47283 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47284 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47285 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47286 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47287 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47288 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47289 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47290 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47292
47293 2014-07-02 Florian Weimer <fweimer@redhat.com>
47294
47295 * manual/locale.texi (Locale Names): New section documenting
47296 locale name syntax. Adjust menu and node chaining accordingly.
47297 (Choosing Locale): Reference Locale Names, Locale Categories.
47298 Mention setting LC_ALL=C. Reflect that name syntax is now
47299 documented.
47300 (Locale Categories): New section title. Reference Locale Names.
47301 LC_ALL is an environment variable, but not a category.
47302 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47303 description, now in Locale Name. Reference that section. Locale
47304 name syntax is now documented.
47305
47306 2014-07-02 Florian Weimer <fweimer@redhat.com>
47307
47308 [BZ #17137]
47309 * locale/findlocale.c (name_present, valid_locale_name): New
47310 functions.
47311 (_nl_find_locale): Use the loc_name variable to store name
47312 candidates. Call name_present and valid_locale_name to check and
47313 validate locale names. Return an error if the locale is invalid.
47314
47315 2014-07-02 Florian Weimer <fweimer@redhat.com>
47316
47317 * locale/setlocale.c (setlocale): Use strdup for allocating
47318 composite name copy.
47319
47320 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47321
47322 Sync up with gnulib.
47323 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47324 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47325 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47326 and _GL_ARG_NONNULL.
47327 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47328 [!_LIBC]: Include code for Windows and Cygwin.
47329 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47330 Include prototype for int strerror_r.
47331 [!_LIBC] (is_open): New function.
47332 (flush_stdout): New function.
47333 (print_errno_message): Use it.
47334 (error): Likewise.
47335 (error_at_line): Likewise.
47336 (error_tail) Add function attribute macros. Use
47337 __builtin_expect.
47338
47339 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47340
47341 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47342
47343 * io/ftw.c: Include sys/param.h unconditionally.
47344
47345 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47346
47347 [BZ #17125]
47348 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47349 libc_freeres_ptr.
47350 (freecache): New function to free CACHE on exit.
47351
47352 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47353 initialization.
47354
47355 2014-07-09 David S. Miller <davem@davemloft.net>
47356
47357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47358
47359 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47360 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47361 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47362 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47363 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47364 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47365 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47366 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47367 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47368 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47369 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47370 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47371 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47372
47373 2014-07-09 Andreas Schwab <schwab@suse.de>
47374
47375 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47376 output.
47377 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47378 (do_test): Likewise.
47379
47380 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47381
47382 2014-07-09 Will Newton <will.newton@linaro.org>
47383
47384 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47385 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47386 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47387 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47388 * sysdeps/hppa/start.S (_start): Likewise.
47389
47390 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47391
47392 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47393
47394 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47395 defined.
47396
47397 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47398
47399 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47400 after checking that it is non-NULL.
47401
47402 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47403
47404 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47405
47406 * sysdeps/powerpc/memmove.c: Remove file.
47407 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47408 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47409 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47410 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47411 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47412 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47413 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47414 string memmove instead of removed powerpc one.
47415
47416 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47417 [weak_alias]: Fix compiler warning due trailing data.
47418 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47419 [weak_alias]: Likewise.
47420 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47421 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47422
47423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47424 (__libc_ifunc_impl_list): Add memmove functions.
47425
47426 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47427
47428 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47429 Remove code.
47430 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47431 Likewise.
47432 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47433 Likewise.
47434 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47435 Likewise.
47436 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47437 Likewise.
47438 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47439 Likewise.
47440 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47441 Likewise.
47442 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47443 Likewise.
47444 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47445 Likewise.
47446 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47447 Likewise.
47448 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47449 Likewise.
47450 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47451 Likewise.
47452 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47453 Likewise.
47454 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47455 Likewise.
47456 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47457 Likewise.
47458 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47459 Likewise.
47460 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47461 Likewise.
47462
47463 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47464
47465 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47466 to avoid alignment traps in non-cacheable memory.
47467 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47468
47469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47470 multiarch objects.
47471 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47472 file: multiarch power7 memmove.
47473 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47474 multiarch default memmove.
47475 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47476 multiarch memove for powerpc32/power4.
47477
47478 * string/bcopy.c: Use full path to include memmove.c.
47479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47480 multiarch objects.
47481 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47482 bcopy for powerpc64.
47483 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47484 bcopy for powerpc64.
47485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47486 and memmove implementations.
47487 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47488 optimized multiarch memmove for POWER7/powerpc64.
47489 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47490 default multiarch memmove for powerpc64.
47491 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47492 multiarch for powerpc64.
47493 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47494 for POWER7/powerpc64.
47495 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47496 memmove for POWER7/powerpc64.
47497
47498 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47499 glibc default one.
47500
47501 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47502 __ELF_NATIVE_CLASS equal to 64.
47503
47504 2014-07-07 Roland McGrath <roland@hack.frob.com>
47505
47506 * sysdeps/nptl/lowlevellock.h: File removed.
47507
47508 * NEWS: NPTL is no longer an add-on!
47509 * nptl/internaltypes.h: Moved ...
47510 * sysdeps/nptl/internaltypes.h: ... here.
47511 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47512 * sysdeps/nptl/fork.c: Likewise.
47513 * sysdeps/nptl/gai_misc.h: Likewise.
47514 * sysdeps/nptl/librt-cancellation.c: Likewise.
47515 * sysdeps/nptl/jmp-unwind.c: Likewise.
47516 * sysdeps/nptl/setxid.h: Likewise.
47517 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47518 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47519 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47520 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47521 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47522 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47523 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47524 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47525 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47526 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47527 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47528 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47529 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47530 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47531 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47532 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47533 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47534 * nptl/Makeconfig: Moved ...
47535 * sysdeps/nptl/Makeconfig: ... here.
47536 * nptl/configure: File removed.
47537 * nptl/ANNOUNCE: File removed.
47538 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47539 * sysdeps/unix/sysv/linux/configure: Regenerated.
47540
47541 * nptl/Makefile (routines): Add libc_pthread_init,
47542 libc_multiple_threads, register-atfork and unregister-atfork.
47543 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47544 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47545 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47546 pthread-pi-defines.sym, structsem.sym.
47547 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47548 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47549 [$(subdir) = nptl] (tests): Add tst-setgetname.
47550 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47551 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47552 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47553 [!LIBC_SIGACTION]: Remove aliases.
47554 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47555 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47556 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47557 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47558 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47559 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47560 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47561 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47562 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47563 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47564 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47565 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47566 __libc_allocate_rtsig_private.
47567 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47568 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47569 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47570 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47571 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47572 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47573 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47574 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47575 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47576 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47577 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47578 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47579 * nptl/internaltypes.h: ... here.
47580 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47581 * sysdeps/nptl/jmp-unwind.c: ... here.
47582 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47583 * nptl/libc-lowlevellock.c: ... here.
47584 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47585 * nptl/libc_multiple_threads.c: ... here.
47586 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47587 * nptl/libc_pthread_init.c: ... here.
47588 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47589 * nptl/lowlevelbarrier.sym: ... here.
47590 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47591 * nptl/lowlevelcond.sym: ... here.
47592 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47593 * nptl/lowlevellock.c: ... here.
47594 * nptl/lowlevellock.h: Moved ...
47595 * sysdeps/nptl/lowlevellock.h: ... here.
47596 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47597 * nptl/lowlevelrobustlock.c: ... here.
47598 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47599 * nptl/lowlevelrobustlock.sym: ... here.
47600 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47601 * nptl/lowlevelrwlock.sym: ... here.
47602 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47603 * nptl/pt-fork.c: ... here.
47604 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47605 * nptl/pthread-pi-defines.sym: ... here.
47606 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47607 * nptl/pthread_attr_getaffinity.c: ... here.
47608 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47609 * nptl/pthread_attr_setaffinity.c: ... here.
47610 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47611 * nptl/pthread_mutex_cond_lock.c: ... here.
47612 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47613 Update #include.
47614 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47615 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47616 * nptl/pthread_once.c: ... here, replacing old file.
47617 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47618 * nptl/pthread_yield.c: ... here.
47619 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47620 * nptl/register-atfork.c: ... here.
47621 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47622 * nptl/sem_post.c: ... here.
47623 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47624 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47625 * nptl/sem_timedwait.c: ... here.
47626 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47627 * nptl/sem_trywait.c: ... here.
47628 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47629 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47630 * nptl/sem_wait.c: ... here.
47631 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47632 * nptl/structsem.sym: ... here.
47633 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47634 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47635 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47636 * nptl/unregister-atfork.c: ... here.
47637 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47638 * nptl/unwindbuf.sym: ... here.
47639 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47640 * sysdeps/nptl/fork.c: ... here.
47641 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47642 * sysdeps/nptl/fork.h: ... here.
47643 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47644 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47645 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47646 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47647 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47648 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47649 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47650 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47651 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47652 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47653 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47654 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47655 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47656 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47657 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47658 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47659 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47660 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47661 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47662 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47663 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47664 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47665 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47666 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47667 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47668 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47669 * sysdeps/unix/sysv/linux/raise.c: ... here.
47670 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47671 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47672 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47673 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47674 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47675 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47676 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47677 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47678 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47679 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47680 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47681 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47682 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47683 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47684 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47685
47686 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47687
47688 * sysdeps/generic/memcopy.h: Add comment for
47689 MEMCPY_OK_FOR_FWD_MEMMOVE.
47690
47691 2014-07-04 Will Newton <will.newton@linaro.org>
47692
47693 * string/memchr.c: Merge from gnulib.
47694 [_LIBC]: Remove conditionals.
47695 (__ptr_t): Remove define.
47696 (LONG_MAX_32_BITS): Likewise.
47697 (LONG_MAX): Likewise.
47698 (MEMCHR): Use ANSI prototype and optimize algorithm.
47699
47700 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47701
47702 2014-07-03 Roland McGrath <roland@hack.frob.com>
47703
47704 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47705 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47706
47707 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47708 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47709 in a bare environment with no <stdlib.h> installed.
47710 * sysdeps/nptl/configure: Regenerated.
47711
47712 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47713
47714 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47715 AC_EGREP_CPP for kernel header checks, so they only succeed if
47716 including <linux/version.h> actually works right.
47717 * sysdeps/unix/sysv/linux/configure: Regenerated.
47718
47719 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47720 value so it's not diagnosed as unused.
47721
47722 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47723 thing) with "ifeq ($(subdir),rt)".
47724
47725 2014-07-03 Richard Henderson <rth@redhat.com>
47726
47727 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47728 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47729 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47730
47731 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47732 (math_force_eval): New.
47733
47734 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47735 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47736
47737 * sysdeps/alpha/fpu/s_round.c: Remove file.
47738 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47739
47740 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47741 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47742 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47743 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47744 (_dl_start, print_statistics): Likewise.
47745 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47746 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47747
47748 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47749 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47750 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47751 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47752 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47753 (HP_SMALL_TIMING_AVAIL): Define.
47754 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47755 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47756 (HP_SMALL_TIMING_AVAIL): Define.
47757 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47758 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47759
47760 * sysdeps/aarch64/hp-timing.h: New file.
47761
47762 * sysdeps/generic/hp-timing.h: Remove dead comment.
47763 * sysdeps/generic/hp-timing-common.h: New file.
47764 * sysdeps/alpha/hp-timing.h: Include it.
47765 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47766 * sysdeps/i386/i686/hp-timing.h: Likewise.
47767 * sysdeps/ia64/hp-timing.h: Likewise.
47768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47769 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47770 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47771 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47772 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47773 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47774 (hp_timing_t): New.
47775
47776 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47777 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47778 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47779 * elf/rtld.c (_dl_start_final): Likewise.
47780 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47781 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47782 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47783 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47784 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47785 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47786 (HP_TIMING_DIFF_INIT): Remove.
47787 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47788 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47789 (HP_TIMING_DIFF_INIT): Remove.
47790 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47791 * sysdeps/i386/i686/hp-timing.c: Remove file.
47792 * sysdeps/x86_64/hp-timing.c: Remove file.
47793 * sysdeps/ia64/hp-timing.c: Remove file.
47794 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47795 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47796 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47797 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47798
47799 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47800 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47801 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47802 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47804 (HP_TIMING_ACCUM): Remove.
47805 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47806 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47807 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47808
47809 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47810 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47811 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47812 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47814 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47816 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47817
47818 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47819
47820 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47821
47822 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47823
47824 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47825
47826 Sync up with gettext.
47827 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47828 [_MSC_VER]: Include malloc.h
47829 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47830 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47831 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47832 TEMP_FAILURE_RETRY. Cast return of alloca.
47833 [!_LIBC] Call gl_rwlock_init.
47834 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47835
47836 2014-07-02 Roland McGrath <roland@hack.frob.com>
47837
47838 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47839 before checking its value.
47840
47841 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47842
47843 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47844
47845 * debug/memcpy_chk.c: Don't include pagecopy.h.
47846 * debug/mempcpy_chk.c: Likewise.
47847 * string/memcpy.c: Likewise.
47848 * string/memmove.c: Likewise.
47849 * sysdeps/powerpc/memmove.c: Likewise.
47850 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47851 definition of PAGE_COPY_FWD_MAYBE here...
47852 * sysdeps/generic/pagecopy.h: ... from here.
47853 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47854
47855 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47856 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47857
47858 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47860 optimizations.
47861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47862 (__libc_ifunc_impl_list): Likewise.
47863 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47864 multiarch strcat for PPC64.
47865 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47866 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47867
47868 2014-07-02 Roland McGrath <roland@hack.frob.com>
47869
47870 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47871
47872 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47873
47874 * intl/loadmsgcat.c: Remove declaration of
47875 get_sysdep_segment_value.
47876 (get_sysdep_segment_value): Use ISO C style.
47877 (_nl_load_domain): Use ISO C style. Get rid of redundant
47878 semicolon. Fix typo and formatting in comment.
47879 (_nl_unload_domain): Use ISO C style.
47880
47881 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47882
47883 2014-07-02 Will Newton <will.newton@linaro.org>
47884
47885 * malloc/obstack.c: Merge from gnulib master.
47886 [HAVE_CONFIG_H]: Remove conditional code.
47887 [!_LIBC]: Include config.h.
47888 [!ELIDE_CODE]: Don't include inttypes.h, include
47889 stdint.h unconditionally.
47890 (print_and_abort): Mark as _Noreturn.
47891 (_obstack_allocated_p): Mark as __attribute_pure__.
47892 (obstack_free): Rename to __obstack_free.
47893 [!__attribute__]: Remove conditional code.
47894 * malloc/obstack.h: Merge from gnulib master.
47895 [__cplusplus]: Move conditional down.
47896 [!__attribute_pure__]: Define __attribute_pure__ here
47897 if it is not already defined.
47898 (_obstack_memory_used): Mark as __attribute_pure__.
47899 [!__obstack_free]: Define as obstack_free.
47900 [__GNUC__]: Remove check for ancient NeXT gcc.
47901
47902 2014-07-02 Will Newton <will.newton@linaro.org>
47903 Paul Eggert <eggert@cs.ucla.edu>
47904
47905 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47906
47907 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47908
47909 * resolv/gethnamaddr.c: Add comment warning that the file is
47910 not maintained.
47911
47912 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47913
47914 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47915 entries.
47916
47917 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47918 entry for aio_cancel and aio_cancel64.
47919 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47920 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47921 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47922 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47923 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47924 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47925 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47926 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47927 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47928 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47929 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47930 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47931 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47932
47933 2014-07-01 Roland McGrath <roland@hack.frob.com>
47934
47935 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47936 * nptl/pthread_mutex_lock.c: Likewise.
47937 * nptl/pthread_mutex_timedlock.c: Likewise.
47938 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47939
47940 2014-07-01 Richard henderson <rth@redhat.com>
47941
47942 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47943 (__isnan, __isnanl): Remove.
47944 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47945
47946 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47947
47948 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47949
47950 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47951
47952 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47953
47954 * resolv/nss_dns/dns-host.c (getanswer_r)
47955 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47956
47957 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47958
47959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47960 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47961 undefine.
47962 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47963 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47964
47965 2014-07-01 Roland McGrath <roland@hack.frob.com>
47966
47967 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47968 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47969
47970 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47971 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47972
47973 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47974 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47975 ... here.
47976 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47977 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47978
47979 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47980 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47981 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47982 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47983
47984 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47985 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47986 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47987 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47988 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47989 Moved ...
47990 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47991 ... here.
47992 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47993 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47994 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47995 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47996 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47997 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47998 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47999 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48000 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48001 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48002 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48003 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48004 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48005 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48006 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48007 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48008 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48009 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48010 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48011 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48012 ... here.
48013 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48014 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48015 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48016 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48017 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48018 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48019 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48020 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48021
48022 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48023
48024 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48025 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48026 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48027 Add sysdep.
48028
48029 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48030
48031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48032
48033 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48034
48035 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48036 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48037
48038 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48039
48040 * sysdeps/arm/libm-test-ulps: Regenerated.
48041
48042 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48043 Roland McGrath <roland@hack.frob.com>
48044
48045 * test-skeleton.c (signal_handler): Kill the whole process group
48046 before killing the child individually.
48047 (main): Report any failure on `setpgid'.
48048
48049 2014-06-30 Roland McGrath <roland@hack.frob.com>
48050
48051 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48052 from _TLS_H to _ARM_NPTL_TLS_H.
48053 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48054 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48055
48056 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48057
48058 [BZ #16539]
48059 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48060 (__expm1l): Return argument unchanged when small but not
48061 subnormal.
48062
48063 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48064 include macro name.
48065 (_FP_UNPACK_RAW_1_P): Likewise.
48066 (_FP_PACK_RAW_1): Likewise.
48067 (_FP_PACK_RAW_1_P): Likewise.
48068 (_FP_MUL_MEAT_1_wide): Likewise.
48069 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48070 (_FP_MUL_MEAT_1_hard): Likewise.
48071 (_FP_DIV_MEAT_1_imm): Likewise.
48072 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48073 (_FP_DIV_MEAT_1_udiv): Likewise.
48074 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48075 (_FP_UNPACK_RAW_2): Likewise.
48076 (_FP_UNPACK_RAW_2_P): Likewise.
48077 (_FP_PACK_RAW_2): Likewise.
48078 (_FP_PACK_RAW_2_P): Likewise.
48079 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48080 (_FP_MUL_MEAT_2_wide): Likewise.
48081 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48082 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48083 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48084 (_FP_MUL_MEAT_2_gmp): Likewise.
48085 (_FP_DIV_MEAT_2_udiv): Likewise.
48086 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48087 (_FP_FRAC_SRL_4): Likewise.
48088 (_FP_FRAC_SRST_4): Likewise.
48089 (_FP_FRAC_SRS_4): Likewise.
48090 (_FP_UNPACK_RAW_4): Likewise.
48091 (_FP_UNPACK_RAW_4_P): Likewise.
48092 (_FP_PACK_RAW_4): Likewise.
48093 (_FP_PACK_RAW_4_P): Likewise.
48094 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48095 (_FP_MUL_MEAT_4_wide): Likewise.
48096 (_FP_MUL_MEAT_4_gmp): Likewise.
48097 (umul_ppppmnnn): Likewise.
48098 (_FP_DIV_MEAT_4_udiv): Likewise.
48099 (__FP_FRAC_ADD_4): Likewise.
48100 (__FP_FRAC_SUB_3): Likewise.
48101 (__FP_FRAC_SUB_4): Likewise.
48102 (__FP_FRAC_DEC_3): Likewise.
48103 (__FP_FRAC_DEC_4): Likewise.
48104 (__FP_FRAC_ADDI_4): Likewise.
48105 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48106 (_FP_FRAC_SRL_8): Likewise.
48107 (_FP_FRAC_SRS_8): Likewise.
48108
48109 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48110 include macro name.
48111 (FP_UNPACK_RAW_EP): Likewise.
48112 (FP_PACK_RAW_E): Likewise.
48113 (FP_PACK_RAW_EP): Likewise.
48114 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48115 (_FP_ISSIGNAN): Likewise.
48116 (_FP_ADD_INTERNAL): Likewise.
48117 (_FP_FMA): Likewise.
48118 (_FP_CMP): Likewise.
48119 (_FP_SQRT): Likewise.
48120 (_FP_TO_INT): Likewise.
48121 (_FP_FROM_INT): Likewise.
48122 (FP_EXTEND): Likewise.
48123 (_FP_DIV_MEAT_N_loop): Likewise.
48124
48125 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48126
48127 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48128 throughout.
48129
48130 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48131
48132 [BZ #17097]
48133 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48134 result with correct sign in case of exponents that produce
48135 overflow except for X very close to 1.
48136
48137 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48138
48139 mktime: merge #if/#ifdef usage from glibc
48140 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48141 as that works with both Glibc's and Gnulib's style.
48142 See thread starting at Siddhesh Poyarekar's bug report at:
48143 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48144
48145 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48146
48147 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48148 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48149 * sysdeps/tile/tilegx/memmove.c: Remove file.
48150
48151 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48152
48153 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48154 abi-name definition.
48155 * scripts/soversions.awk: Do not handle or generate ABI lines.
48156 * shlib-versions: Remove ABI entries.
48157 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48158 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48159
48160 2014-06-27 Roland McGrath <roland@hack.frob.com>
48161
48162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48163 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48164 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48165 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48167 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48169 Moved ...
48170 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48171 ... here.
48172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48173 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48175 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48177 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48178 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48179 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48180 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48181 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48182 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48183 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48184 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48185 Moved ...
48186 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48188 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48192 Moved ...
48193 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48194 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48195 Moved ...
48196 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48198 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48199 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48200 Moved ...
48201 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48203 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48204 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48205 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48207 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48209 Moved ...
48210 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48211 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48212 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48213 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48214 Moved ...
48215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48217 Moved ...
48218 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48220 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48222 Moved ...
48223 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48224 ... here.
48225 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48226 Identical file removed.
48227 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48228 Moved ...
48229 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48230 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48231 Identical file removed.
48232 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48233 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48234 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48235 Moved ...
48236 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48238 Identical file removed.
48239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48240 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48241 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48242 Identical file removed.
48243 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48244 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48245 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48246 Identical file removed.
48247 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48248 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48249 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48250 Identical file removed.
48251 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48252 Moved ...
48253 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48254 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48255 Identical file removed.
48256 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48257 Moved ...
48258 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48259 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48260 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48261 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48262 Identical file removed.
48263 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48264 Moved ...
48265 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48266 ... here.
48267 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48268 Identical file removed.
48269 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48270 Moved ...
48271 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48272 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48273 Identical file removed.
48274 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48275 Moved ...
48276 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48277 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48278 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48280 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48281 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48282 Moved ...
48283 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48284 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48285 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48286
48287 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48288 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48289 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48290 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48291 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48292
48293 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48294
48295 [BZ #17092]
48296 * nscd/nscd.c (monitor_child): Return exit status of child
48297 instead of return value from wait syscall.
48298
48299 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48300
48301 * configure.ac (libc_commonpagesize): Remove variable.
48302 (libc_relro_required): Likewise.
48303 (libc_cv_z_relro): Remove configure test.
48304 * configure: Regenerated.
48305 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48306 variable.
48307 (libc_relro_required): Likewise.
48308 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48309 (libc_relro_required): Likewise.
48310 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48311 (libc_relro_required): Likewise.
48312 * sysdeps/arm/preconfigure: Regenerated.
48313 * sysdeps/ia64/preconfigure: Remove file.
48314 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48315 variable.
48316 (libc_relro_required): Likewise.
48317
48318 [BZ #16561]
48319 [BZ #16562]
48320 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48321 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48322 recompute overflowing results in original rounding mode.
48323 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48324 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48325 recompute overflowing results in original rounding mode.
48326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48327 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48328 recompute overflowing results in original rounding mode.
48329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48330 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48331 recompute overflowing results in original rounding mode.
48332 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48333 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48334 recompute overflowing results in original rounding mode.
48335 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48336 (libc_feholdsetround_ctx): New macro.
48337 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48338 * sysdeps/i386/fpu/libm-test-ulps: Update.
48339 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48340
48341 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48342
48343 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48344 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48345 corresponding .cpsetup call.
48346
48347 2014-06-26 Roland McGrath <roland@hack.frob.com>
48348
48349 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48350 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48351 * sysdeps/arm/Makefile [$(subdir) = csu]
48352 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48353 (static-only-routines): Add aeabi_read_tp here.
48354 (shared-only-routines): Add libc-aeabi_read_tp here.
48355 (CFLAGS-libc-start.c): Add -fexceptions here.
48356 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48357 (sysdep_routines, static-only-routines, shared-only-routines):
48358 Don't add to these here.
48359 (CFLAGS-libc-start.c): Likewise.
48360
48361 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48362 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48363 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48364 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48365 * sysdeps/arm/Makefile [$(subdir) = rt]
48366 (librt-sysdep_routines, librt-shared-only-routines):
48367 Append rt-aeabi_unwind_cpp_pr1 here.
48368 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48369 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48370 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48371 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48372 Append nptl-aeabi_unwind_cpp_pr1 here.
48373 (tests): Filter out tst-cleanupx4 here.
48374 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48375 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48376 Don't do those here.
48377
48378 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48379
48380 * scripts/list-sources.sh: Do not handle ports specially.
48381
48382 2014-06-26 Roland McGrath <roland@hack.frob.com>
48383
48384 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48385 * sysdeps/arm/feupdateenv.c: Likewise.
48386
48387 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48388
48389 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48390
48391 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48392 trailing whitespace removed.
48393 * scripts/config.guess: Update to version 2014-03-23.
48394 * scripts/config.sub: Update to version 2014-05-01
48395 * scripts/install-sh: Update to version 2013-12-25.23.
48396 * scripts/move-if-change: Update from gnulib.
48397
48398 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48399
48400 * debug/memmove_chk.c: Remove pagecopy.h include.
48401
48402 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48403
48404 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48405 identical to gnulib mktime.
48406
48407 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48408
48409 * configure.ac: Do not test for machine being rs6000. Do not test
48410 for powerpc*-*soft.
48411 * configure: Regenerated.
48412
48413 [BZ #11505]
48414 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48415 test.
48416 * configure: Regenerated.
48417 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48418 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48419 Remove configure test.
48420 * sysdeps/arm/configure: Regenerated.
48421 * sysdeps/nptl/configure.ac: Do not check
48422 libc_cv_asm_cfi_directives.
48423 * sysdeps/nptl/configure: Regenerated.
48424 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48425 * sysdeps/x86_64/nptl/configure: Remove generated file.
48426 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48427 unconditional.
48428 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48429
48430 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48431
48432 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48433 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48434 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48435 it is defined.
48436
48437 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48438 instead of whether it is defined.
48439 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48440 * sysdeps/hppa/dl-machine.h: Likewise.
48441 * sysdeps/ia64/dl-machine.h: Likewise.
48442 * sysdeps/m68k/dl-machine.h: Likewise.
48443 * sysdeps/microblaze/dl-machine.h: Likewise.
48444 * sysdeps/mips/dl-machine.: Likewise.
48445 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48446 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48447 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48448 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48449 * sysdeps/sh/dl-machine.h: Likewise.
48450 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48451 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48452 * sysdeps/tile/dl-machine.h: Likewise.
48453 * sysdeps/x86_64/dl-machine.h: Likewise.
48454
48455 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48456 code.
48457 (verify_persistent_db): Likewise.
48458
48459 2014-06-26 Roland McGrath <roland@hack.frob.com>
48460
48461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48462 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48464 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48466 Moved ...
48467 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48468 ... here.
48469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48470 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48472 Identical file removed.
48473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48474 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48476 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48478 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48480 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48482 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48484 Moved ...
48485 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48487 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48489 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48491 Moved ...
48492 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48494 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48496 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48498 Identical file removed.
48499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48500 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48502 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48504 Moved ...
48505 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48506 ... here.
48507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48508 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48510 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48512 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48514 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48516 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48518 Moved ...
48519 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48521 Moved ...
48522 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48524 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48526 Moved ...
48527 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48529 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48530
48531 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48532 folded into ...
48533 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48534 * sysdeps/unix/sysv/linux/s390/Versions
48535 (libpthread: GLIBC_2.19): New version set.
48536 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48537 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48538 (librt: GLIBC_2.3.3): New version set.
48539 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48540 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48541 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48542 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48543 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48544 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48545 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48546 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48547 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48548 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48549 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48550 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48551 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48552 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48553 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48554 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48555 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48556 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48558 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48559 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48560 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48561 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48562 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48563 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48564 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48565 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48566 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48567 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48568 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48569 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48570 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48572 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48574 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48575 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48576 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48577 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48579 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48581 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48583 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48584
48585 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48586 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48587 (__libc_vfork): Define the function under this name.
48588 [!NOT_IN_libc] (__vfork): Make this an alias.
48589 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48591 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48592 (__libc_vfork): Define the function under this name.
48593 [!NOT_IN_libc] (__vfork): Make this an alias.
48594 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48595 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48596 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48598 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48599 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48600
48601 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48602 code that was previously under [RESET_PID].
48603 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48604 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48606
48607 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48608 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48609 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48610 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48611 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48612 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48613 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48614 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48615 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48616 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48617 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48618 Moved ...
48619 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48620 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48621 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48622 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48623 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48624 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48625 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48626 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48627 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48628 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48629 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48630 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48631 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48632 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48633 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48634 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48635 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48636 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48637 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48638 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48639 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48640 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48641 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48642 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48643 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48644 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48645 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48646 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48647 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48648
48649 2014-06-25 Roland McGrath <roland@hack.frob.com>
48650
48651 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48652 that was previously under [RESET_PID].
48653 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48654
48655 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48656
48657 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48658 not undefine and redefine.
48659 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48660 [O_CLOEXEC]: Make code unconditional.
48661 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48662 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48663 <kernel-features.h>.
48664 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48665 conditional variable definition.
48666 (shm_open) [O_CLOEXEC]: Make code unconditional.
48667 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48668 code.
48669
48670 * configure.ac (USE_REGPARMS): Don't define here.
48671 * configure: Regenerated.
48672 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48673 * sysdeps/i386/configure: Regenerated.
48674
48675 * nptl/createthread.c: Don't include kernel-features.h.
48676 * nptl/pthread_cancel.c: Likewise.
48677 * nptl/pthread_condattr_setclock.c: Likewise.
48678 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48679 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48680 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48681 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48682 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48683 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48684 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48687 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48688 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48689 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48690 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48691 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48692 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48693 * nscd/gai.c: Likewise.
48694 * nss/nss_db/db-open.c: Likewise.
48695 * sysdeps/generic/ldsodefs.h: Likewise.
48696 * sysdeps/sh/nptl/tls.h: Likewise.
48697 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48698 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48699 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48700 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48701 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48702 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48703 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48704 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48706 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48707 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48708 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48709 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48710 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48711 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48712 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48713 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48714 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48715 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48716 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48717 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48718 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48719 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48720 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48721 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48722 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48723 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48724 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48725 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48726 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48727 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48728 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48729 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48730 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48731 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48732 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48733 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48734 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48735 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48736 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48737 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48738 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48739 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48740 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48741 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48742 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48743 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48744 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48745 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48746 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48747 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48748 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48749 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48750 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48751 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48752 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48753 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48754 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48777 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48778 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48779 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48780 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48781 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48782 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48783 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48784 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48785 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48786 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48787 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48788 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48789 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48790 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48791 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48792 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48793 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48794 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48795 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48796 * sysdeps/unix/sysv/linux/system.c: Likewise.
48797 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48798 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48799 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48800 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48801 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48802 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48803 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48804
48805 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48806 * configure: Regenerated.
48807 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48808
48809 * configure.ac (base_machine): Do not set specially for particular
48810 machines here.
48811 * configure: Regenerated.
48812 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48813 settings from configure.ac.
48814 * sysdeps/i386/preconfigure: New file.
48815 * sysdeps/s390/preconfigure: Likewise.
48816 * sysdeps/sh/preconfigure: Likewise.
48817 * sysdeps/sparc/preconfigure: Likewise.
48818
48819 2014-06-25 Roland McGrath <roland@hack.frob.com>
48820
48821 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48822 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48823 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48824 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48825 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48826 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48827 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48828 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48829 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48830 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48831 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48832 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48833 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48834 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48835 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48836 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48837 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48838 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48839 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48840
48841 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48842 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48843 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48844 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48845 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48846 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48847 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48848 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48849 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48850 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48851 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48852 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48853 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48854 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48855 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48856 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48857 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48858 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48859 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48860 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48861 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48862 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48863 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48864 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48865 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48866 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48867 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48868 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48869 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48870 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48871 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48872 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48873 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48874 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48876 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48877 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48878 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48879
48880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48881 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48883 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48885 Moved ...
48886 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48887 ... here.
48888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48889 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48893 Moved ...
48894 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48896 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48900 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48902 Moved ...
48903 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48905 Moved ...
48906 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48908 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48910 Moved ...
48911 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48913 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48915 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48917 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48919 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48921 Moved ...
48922 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48923 ... here.
48924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48925 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48927 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48929 Moved ...
48930 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48932 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48934 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48936 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48938 Moved ...
48939 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48941 Moved ...
48942 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48944 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48946 Moved ...
48947 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48949 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48951 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48952
48953 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48954
48955 * timezone/checktab.awk: Update from tzcode 2014e.
48956 * timezone/private.h: Likewise.
48957 * timezone/tzfile.h: Likewise.
48958 * timezone/zdump.c: Likewise.
48959 * timezone/zic.c: Likewise.
48960
48961 * sysdeps/unix/sysv/linux/kernel-features.h
48962 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48963 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48964 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48965 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48966 Remove conditional code.
48967
48968 2014-06-25 Will Newton <will.newton@linaro.org>
48969
48970 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48971 (_dl_arm_cap_flags): Add HWCAP2 values.
48972 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48973 (_DL_HWCAP_COUNT): Increase to 37.
48974 (_DL_HWCAP_LAST): New define.
48975 (_DL_HWCAP2_LAST): New define.
48976 (_dl_procinfo): Add support for printing
48977 AT_HWCAP2 entries.
48978 (_dl_string_hwcap): Use _dl_hwcap_string.
48979
48980 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48981
48982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48983
48984 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48985
48986 * README: Do not mention ports directory.
48987
48988 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48989 Remove macro.
48990 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48991 <kernel-features.h>.
48992 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48993 conditional variable definition.
48994 (__futimes): Update comment.
48995 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48996 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48997
48998 [BZ #16560]
48999 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49000 arguments close to 0.
49001 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49002 Likewise.
49003 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49004 Likewise.
49005 * math/auto-libm-test-in: Add more tests of exp10.
49006 * math/auto-libm-test-out: Regenerated.
49007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49008
49009 * sysdeps/unix/sysv/linux/kernel-features.h
49010 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49011 * sysdeps/unix/sysv/linux/readv.c: Do not include
49012 <kernel-features.h>.
49013 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49014 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49015 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49016 unconditional.
49017 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49018 conditional code.
49019 * sysdeps/unix/sysv/linux/writev.c: Do not include
49020 <kernel-features.h>.
49021 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49022 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49023 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49024 unconditional.
49025 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49026 conditional code.
49027
49028 2014-06-25 Will Newton <will.newton@linaro.org>
49029
49030 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49031 comment changes throughout the file. Remove checks
49032 for HAVE_*_H definitions that are not required.
49033 (__gen_tempname): Call abort if an unknown kind value is
49034 passed.
49035
49036 2014-06-25 Andreas Schwab <schwab@suse.de>
49037
49038 [BZ #17086]
49039 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49040 scalbln, scalblnf, scalblnl in libc.
49041
49042 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49043
49044 [BZ #17086]
49045 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49046 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49047 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49048
49049 2014-06-24 Roland McGrath <roland@hack.frob.com>
49050
49051 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49052 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49053 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49054 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49055 Update #include.
49056 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49057 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49058 Update #include.
49059 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49060 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49061 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49062 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49063 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49064 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49065 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49066 * sysdeps/x86/bits/semaphore.h: ... here.
49067 * sysdeps/x86/nptl/elide.h: Moved ...
49068 * sysdeps/x86/elide.h: ... here.
49069 * sysdeps/x86_64/nptl/Implies: File removed.
49070 * sysdeps/i386/nptl/Implies: File removed.
49071
49072 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49073
49074 [BZ #16539]
49075 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49076 return the argument for normal arguments with exponent below -64.
49077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49078 Likewise.
49079 * math/auto-libm-test-in: Add another test of expm1.
49080 * math/auto-libm-test-out: Regenerated.
49081
49082 [BZ #16287]
49083 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49084 calling __erfcl for arguments at least 16.
49085 * math/auto-libm-test-in: Add more tests of erf.
49086 * math/auto-libm-test-out: Regenerated.
49087
49088 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49089 individual architectures.
49090 * sysdeps/unix/sysv/linux/configure: Regenerated.
49091 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49092 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49093 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49094 (ldd_rewrite_script): Define variable.
49095 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49097 file.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49099 generated file.
49100 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49101 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49102 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49103 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49104 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49105 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49106 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49107 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49108
49109 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49110
49111 [BZ #17084]
49112 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49113 Rename member __data.d to __data.__elision_data.
49114
49115 2014-06-24 Wilco <wdijkstr@arm.com>
49116
49117 * NEWS: Add 16918 to fixed bug list.
49118
49119 2014-06-24 Wilco <wdijkstr@arm.com>
49120
49121 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49122
49123 2014-06-24 Wilco <wdijkstr@arm.com>
49124
49125 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49126 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49127 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49128 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49129 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49130 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49131 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49132 Use _FPU_MASK_RM.
49133
49134 2014-06-24 Wilco <wdijkstr@arm.com>
49135
49136 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49137
49138 2014-06-24 Wilco <wdijkstr@arm.com>
49139
49140 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49141 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49142 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49143 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49144
49145 2014-06-24 Wilco <wdijkstr@arm.com>
49146
49147 [BZ #16918]
49148 * sysdeps/arm/feupdateenv.c (feupdateenv):
49149 Rewrite to reduce FPSCR accesses and fix return value.
49150
49151 2014-06-24 Wilco <wdijkstr@arm.com>
49152
49153 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49154 Optimize to avoid unnecessary FPSCR writes.
49155 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49156 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49157 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49158 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49159
49160 2014-06-24 Wilco <wdijkstr@arm.com>
49161
49162 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49163 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49164 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49165 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49166 Call libc_fetestexcept_vfp.
49167 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49168 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49169 __SOFTFP__ ifdef so that they can be built for softfp.
49170
49171 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49172
49173 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49174 argument type signed char.
49175
49176 * Makerules (check-abi): Dump diff of symlist if the test
49177 fails.
49178
49179 2014-06-23 Roland McGrath <roland@hack.frob.com>
49180
49181 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49182 using abort.
49183
49184 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49185 Remove unused variable ST.
49186
49187 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49188
49189 [BZ #16354]
49190 [BZ #17061]
49191 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49192 small arguments before calling __expm1.
49193 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49194 small arguments before calling __expm1f.
49195 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49196 small arguments before calling __expm1l.
49197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49198 Likewise.
49199 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49200 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49201 spurious underflow for some cosh tests.
49202 * math/auto-libm-test-out: Regenerated.
49203 * sysdeps/i386/fpu/libm-test-ulps: Update.
49204
49205 [BZ #17050]
49206 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49207 (__ieee754_y1): Set errno if return value overflows.
49208 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49209 (__ieee754_y1f): Set errno if return value overflows.
49210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49211 (__ieee754_y1l): Set errno if return value overflows.
49212 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49213 (__ieee754_y1l): Set errno if return value overflows.
49214 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49215 * math/auto-libm-test-out: Regenerated.
49216
49217 * math/gen-auto-libm-tests.c: Document use of
49218 ignore-zero-inf-sign.
49219 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49220 (input_flags): Add ignore-zero-inf-sign.
49221 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49222 * math/gen-libm-test.pl (generate_testfile): Handle
49223 ignore-zero-inf-sign.
49224 * math/auto-libm-test-in: Mark some cpow tests with
49225 ignore-zero-inf-sign and some with xfail-rounding.
49226 * math/auto-libm-test-out: Regenerated.
49227 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49228 * sysdeps/i386/fpu/libm-test-ulps: Update.
49229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49230
49231 [BZ #16315]
49232 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49233 overflowing or underflowing operations take place with sign of
49234 result.
49235 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49236 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49237 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49238 (__ieee754_pow): Recompute overflowing and underflowing results in
49239 original rounding mode.
49240 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49241 (__powl_helper): Allow negative argument X and scale negated value
49242 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49243 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49244 overflowing or underflowing operations take place with sign of
49245 result.
49246 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49247 Include <math.h>.
49248 * math/auto-libm-test-in: Add more tests of pow.
49249 * math/auto-libm-test-out: Regenerated.
49250 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49251 (pow_tonearest_test_data): Remove.
49252 (pow_test_tonearest): Likewise.
49253 (pow_towardzero_test_data): Likewise.
49254 (pow_test_towardzero): Likewise.
49255 (pow_downward_test_data): Likewise.
49256 (pow_test_downward): Likewise.
49257 (pow_upward_test_data): Likewise.
49258 (pow_test_upward): Likewise.
49259 (main): Don't call removed functions.
49260 * sysdeps/i386/fpu/libm-test-ulps: Update.
49261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49262
49263 2014-06-23 Roland McGrath <roland@hack.frob.com>
49264
49265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49266 Moved ...
49267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49269 Moved ...
49270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49272 Moved ...
49273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49275 Moved ...
49276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49278 File removed.
49279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49280 File removed.
49281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49282 File removed.
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49284 File removed.
49285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49286 File removed.
49287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49288 File removed.
49289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49290 File removed.
49291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49292 File removed.
49293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49294 File removed.
49295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49296 File removed.
49297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49298 File removed.
49299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49300 File removed.
49301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49302 Moved ...
49303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49305 Moved ...
49306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49307 ... here.
49308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49309 Moved ...
49310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49312 Moved ...
49313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49315 Moved ...
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49318 Moved ...
49319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49321 Moved ...
49322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49324 Moved ...
49325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49327 Moved ...
49328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49331 ... here.
49332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49333 Moved ...
49334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49336 Moved ...
49337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49338 ... here.
49339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49340 Moved ...
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49342 ... here.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49344 Moved ...
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49346 ... here.
49347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49348 Moved ...
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49351 Moved ...
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49356 Moved ...
49357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49358 ... here.
49359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49360 Moved ...
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49362 ... here.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49364 Moved ...
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49367 Moved ...
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49370 Moved ...
49371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49373 Moved ...
49374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49376 Moved ...
49377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49378 ... here.
49379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49380 Moved ...
49381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49383 Moved ...
49384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49386 Moved ...
49387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49389 Moved ...
49390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49394 Moved ...
49395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49397 Moved ...
49398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49400 Moved ...
49401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49402 ... here.
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49404 Moved ...
49405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49406 ... here.
49407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49408 Moved ...
49409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49410 ... here.
49411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49412 Moved ...
49413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49415 Moved ...
49416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49418 Moved ...
49419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49421 Moved ...
49422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49423 ... here.
49424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49425 Moved ...
49426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49427 ... here.
49428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49429 Moved ...
49430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49431 ... here.
49432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49433 Moved ...
49434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49436 Moved ...
49437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49438
49439 2014-06-23 Will Newton <will.newton@linaro.org>
49440 Wilco <wdijkstr@arm.com>
49441
49442 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49443 implementation. Include get-rounding-mode.h.
49444 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49445 [!libc_feholdsetround_noex_ctx]: Define
49446 libc_feholdsetround_noex_ctx.
49447 [!libc_feholdsetround_noexf_ctx]: Define
49448 libc_feholdsetround_noexf_ctx.
49449 [!libc_feholdsetround_noexl_ctx]: Define
49450 libc_feholdsetround_noexl_ctx.
49451 (libc_feholdsetround_ctx): New function.
49452 (libc_feresetround_ctx): New function.
49453 (libc_feholdsetround_noex_ctx): New function.
49454 (libc_feresetround_noex_ctx): New function.
49455
49456 2014-06-23 Roland McGrath <roland@hack.frob.com>
49457
49458 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49459 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49460 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49461 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49462 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49463 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49464
49465 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49466 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49467 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49468 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49469 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49470 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49471 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49472 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49474 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49475 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49476 Moved ...
49477 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49478 ... here.
49479 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49480 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49481 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49482 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49484 Moved ...
49485 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49486 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49487 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49490 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49491 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49493 Moved ...
49494 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49495 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49496 Moved ...
49497 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49498 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49499 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49501 Moved ...
49502 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49503 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49504 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49505 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49506 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49507 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49508 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49510 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49512 Moved ...
49513 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49514 ... here.
49515 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49516 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49517 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49518 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49519 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49520 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49521 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49522 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49523 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49524 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49525 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49526 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49527 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49528 Moved ...
49529 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49531 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49533 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49535 Moved ...
49536 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49537 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49538 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49539 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49540 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49541
49542 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49543 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49544 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49545 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49546 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49547 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49548 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49549 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49551 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49552 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49553 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49554 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49555 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49556 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49557 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49558 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49559 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49560 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49561 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49562 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49563 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49564 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49565 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49566 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49567 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49568 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49569 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49570
49571 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49572
49573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49574 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49575 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49576 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49577 (IPV6_PMTUDISC_INTERFACE): Likewise.
49578 (IPV6_PMTUDISC_OMIT): Likewise.
49579
49580 2014-06-23 Andreas Schwab <schwab@suse.de>
49581
49582 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49583 Remove unused errout label.
49584
49585 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49586
49587 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49588 macro: hardware supports Vector Crypto instructions.
49589
49590 2014-06-23 Will Newton <will.newton@linaro.org>
49591
49592 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49593 rather than __builtin_expect.
49594
49595 * elf/dl-lookup.c (undefined_msg): Remove variable.
49596 (_dl_lookup_symbol_x): Replace undefined_msg with string
49597 literal.
49598
49599 * elf/dl-lookup.c (do_lookup_unique): New function.
49600 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49601 to a separate function.
49602
49603 2014-06-23 Andreas Schwab <schwab@suse.de>
49604
49605 [BZ #17079]
49606 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49607 before reading the next line.
49608
49609 2014-06-23 Will Newton <will.newton@linaro.org>
49610
49611 * test-skeleton.c (signal_handler): Use printf and %m
49612 rather than perror. Use printf rather than fprintf to
49613 stderr. Use puts rather than fputs to stderr.
49614 (main): Likewise.
49615
49616 2014-06-22 Ludovic CourtĂšs <ludo@gnu.org>
49617
49618 * nscd/nscd.c (thread_info_t): Remove typedef.
49619 (thread_info): Remove variable.
49620
49621 2014-06-21 Allan McRae <allan@archlinux.org>
49622
49623 * NEWS: Mention CVE-2014-4043.
49624
49625 2014-06-20 Roland McGrath <roland@hack.frob.com>
49626
49627 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49628 * nptl/smp.h: ... here.
49629
49630 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49631
49632 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49633 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49634 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49635 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49636
49637 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49638 * nptl/stack-aliasing.h: New file.
49639 * sysdeps/i386/i686/stack-aliasing.h: New file.
49640 * sysdeps/i386/i686/nptl/Makefile: File removed.
49641 * sysdeps/x86_64/stack-aliasing.h: New file.
49642 * sysdeps/x86_64/nptl/Makefile
49643 (CFLAGS-pthread_create.c): Variable removed.
49644
49645 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49646 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49647 old file.
49648 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49649 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49650 old file.
49651
49652 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49653
49654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49655 (__ASSUME_SIGFRAME_V2): Remove macro.
49656 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49657 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49658 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49659 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49660 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49661 Declare as function. Remove conditional macro definitions.
49662 (__default_rt_sa_restorer): Likewise.
49663 (__default_sa_restorer_v1): Remove declaration.
49664 (__default_sa_restorer_v2): Likewise.
49665 (__default_rt_sa_restorer_v1): Likewise.
49666 (__default_rt_sa_restorer_v2): Likewise.
49667 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49668 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49669 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49670
49671 2014-06-20 Roland McGrath <roland@hack.frob.com>
49672
49673 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49674 (libpthread-routines): Add sysdep.
49675 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49676 * sysdeps/unix/sysv/linux/sparc/Versions
49677 (libpthread: GLIBC_2.3.3): New version set.
49678 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49679 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49680 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49681 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49682 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49683 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49684 Moved ...
49685 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49686 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49687 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49688 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49689 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49690 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49691 * sysdeps/sparc/nptl/sem_init.c: ... here.
49692 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49693 * sysdeps/sparc/nptl/sem_post.c: ... here.
49694 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49695 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49696 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49697 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49698 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49699 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49700 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49701 (libpthread-routines): Add cpu_relax.
49702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49703 File removed.
49704 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49705 (librt: GLIBC_2.3.3): New version set.
49706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49707 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49708 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49709 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49712 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49714 Moved ...
49715 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49717 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49719 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49721 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49723 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49725 Moved ...
49726 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49727 Update #include.
49728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49729 Moved ...
49730 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49731 Update #include.
49732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49733 Moved ...
49734 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49735 Update #include.
49736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49737 Moved ...
49738 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49739 Update #include.
49740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49741 Moved ...
49742 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49743 Update #include.
49744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49745 Moved ...
49746 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49747 Update #include.
49748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49749 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49755 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49757 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49759 Moved ...
49760 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49762 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49764 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49765
49766 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49767
49768 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49769 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49770 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49771 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49772 * nscd/nscd.c: Likewise.
49773 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49774 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49775 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49776 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49777
49778 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49779 <kernel-features.h>.
49780 (init_mq_netlink): Remove conditional have_sock_cloexec
49781 definitions. Remove code conditional on have_sock_cloexec < 0.
49782 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49783 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49784 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49785 <kernel-features.h>.
49786 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49787 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49788
49789 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49790
49791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49792 Add tests for memset_chk and memset.
49793
49794 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49795 with AVX2_Usable.
49796
49797 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49798
49799 [BZ #16046]
49800 * elf/tst-dl-iter-static.c: New file.
49801 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49802
49803 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49804 error.
49805
49806 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49807
49808 * sysdeps/unix/sysv/linux/kernel-features.h
49809 (__ASSUME_F_GETOWN_EX): Remove macro.
49810 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49811 <kernel-features.h>.
49812 (miss_F_GETOWN_EX): Remove variable or macro.
49813 (do_fcntl): Do not check miss_F_GETOWN_EX.
49814 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49815
49816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49817 Remove macro.
49818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49819 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49820 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49821
49822 * sysdeps/unix/sysv/linux/kernel-features.h
49823 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49824 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49825 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49826 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49827
49828 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49829
49830 [BZ #17075]
49831 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49832 Fix calculation of the symbol's value.
49833 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49834 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49835 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49836 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49837 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49838 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49839 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49840 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49841 (modules-names): Add `tst-armtlsdescmod',
49842 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49843 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49844 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49845 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49846 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49847 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49848 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49849 ($(objpfx)tst-armtlsdescloc): New dependency.
49850 ($(objpfx)tst-armtlsdescextnow): Likewise.
49851 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49852 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49853 TLS scheme support.
49854 * sysdeps/arm/configure: Regenerate.
49855
49856 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49857
49858 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49859 (__atfct_seterrno_2): Likewise.
49860 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49861 <kernel-features.h>.
49862 (__ASSUME_ATFCTS): Do not undefine and redefine.
49863 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49864 (__have_atfcts): Remove conditional definition.
49865 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49866 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49867 unreachable if [__ASSUME_ATFCTS].
49868 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49869 not undefine and redefine.
49870 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49871 <kernel-features.h>.
49872 (faccessat) [__NR_faccessat]: Make code unconditional.
49873 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49874 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49875 <kernel-features.h>.
49876 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49877 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49878 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49879 <kernel-features.h>.
49880 (fchownat) [__NR_fchownat]: Make code unconditional.
49881 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49882 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49883 <kernel-features.h>.
49884 (futimesat) [__NR_futimesat]: Make code unconditional.
49885 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49886 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49887 <kernel-features.h>.
49888 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49889 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49890 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49891 <kernel-features.h>.
49892 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49893 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49894 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49895 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49896 <kernel-features.h>.
49897 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49898 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49899 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49900 <kernel-features.h>.
49901 (linkat) [__NR_linkat]: Make code unconditional.
49902 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49903 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49904 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49905 <kernel-features.h>.
49906 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49907 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49908 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49909 <kernel-features.h>.
49910 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49911 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49912 * sysdeps/unix/sysv/linux/openat.c: Do not include
49913 <kernel-features.h>.
49914 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49915 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49916 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49917 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49918 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49919 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49920 <kernel-features.h>.
49921 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49922 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49923 result of INLINE_SYSCALL directly, not via int variable.
49924 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49925 <kernel-features.h>.
49926 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49927 (renameat) [__NR_renameat]: Make code unconditional.
49928 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49929 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49930 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49931 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49932 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49933 (__ASSUME_ATFCTS): Do not undefine and redefine.
49934 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49935 <kernel-features.h>.
49936 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49937 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49938 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49939 <kernel-features.h>.
49940 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49941 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49942 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49943 (__ASSUME_ATFCTS): Do not undefine and redefine.
49944 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49945 <kernel-features.h>.
49946 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49947 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49948 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49949 <kernel-features.h>.
49950 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49951 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49952
49953 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49954
49955 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49956
49957 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49958
49959 [BZ #17069]
49960 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49961 constructed tree before returning error.
49962 * posix/bug-regexp36.c: Expand test case.
49963
49964 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49965
49966 [BZ #6803]
49967 * math/libm-test.inc (scalbln_test_date):
49968 Add errno expectations.
49969 * math/w_scalblnf.c: New File.
49970 Add wrapper which checks for setting errno to ERANGE.
49971 Add weak_alias for corresponding scalbln function.
49972 * math/w_scalbln.c: Likewise.
49973 * math/w_scalblnl.c: Likewise.
49974 * math/Makefile (libm-calls): Add w_scalbln.
49975 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49976 Remove weak_alias for corresponding scalbln function.
49977 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49979 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49981 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49982 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49983 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49984 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49985 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49986 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49987 Remove long_double_symbol for scalblnl function in libm, libc.
49988 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49989 Add wrapper which checks for setting errno to ERANGE.
49990 Add long_double_symbol for scalblnl function in libm, libc.
49991 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49992 Remove long_double_symbol for scalblnl in libm.
49993 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49994 Add wrapper which checks for setting errno to ERANGE.
49995 Add long_double_symbol for scalblnl function in libm.
49996 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49997 Do not use wrapper because of own implementation.
49998
49999 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50000
50001 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50002 3 bytes for __pad1 for x32.
50003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50004
50005 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50006 H.J. Lu <hongjiu.lu@intel.com>
50007
50008 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50009 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50010 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50011 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50012 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50013
50014 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50015
50016 [BZ #17069]
50017 * posix/regcomp.c (parse_expression): Deallocate partially
50018 constructed tree before returning error.
50019 * posix/Makefile.c (tests): Add bug-regex36.
50020 (generated): Add bug-regex36.mtrace.
50021 (tests-special): Add $(objpfx)bug-regex36-mem.out
50022 (bug-regex36-ENV): New variable.
50023 ($(objpfx)bug-regex36-mem.out): New rule.
50024 * posix/bug-regex36.c: New file.
50025
50026 2014-06-19 Will Newton <will.newton@linaro.org>
50027
50028 * malloc/malloc.c (systrim): If extra is zero then return
50029 early.
50030
50031 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50032
50033 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50034
50035 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
50036
50037 * sysdeps/aarch64/strchr.S: New file.
50038
50039 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50040
50041 [BZ #17022]
50042 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50043 from arguments -2 or below.
50044 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50045 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50046
50047 2014-06-18 Andreas Schwab <schwab@suse.de>
50048
50049 [BZ #17062]
50050 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50051 of a bracket expr not to run off the end of the string.
50052 * posix/Makefile (tests): Add tst-fnmatch3.
50053 * posix/tst-fnmatch3.c: New file.
50054
50055 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50056
50057 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50058 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50059 [$(cross-compiling) = no]: Likewise.
50060 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50061 [$(cross-compiling) = no]: Likewise.
50062
50063 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50064
50065 [BZ #17031]
50066 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50067 double, adjusted for any remainder from the high double.
50068 * math/libm-test.inc (nearbyint): Add tests.
50069 (rint): Likewise.
50070
50071 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50072
50073 * nptl/sysdeps/powerpc/Makefile: Moved ...
50074 * sysdeps/powerpc/nptl/Makefile: ... here.
50075 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50076 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50077 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50078 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50079 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50080 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50081 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50082 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50083 * nptl/sysdeps/powerpc/tls.h: Moved ...
50084 * sysdeps/powerpc/nptl/tls.h: ... here.
50085
50086 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50087
50088 [BZ #16681]
50089 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50090 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50091 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50092 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50093 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50094 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50095 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50096 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50097 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50098
50099 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50100
50101 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50102
50103 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50104
50105 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50106 defined operator.
50107
50108 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50109 $TIMEOUTFACTOR.
50110
50111 2014-06-16 Florian Weimer <fweimer@redhat.com>
50112
50113 [BZ #17058]
50114 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50115 non-executed part of the test.
50116
50117 2014-06-16 Andreas Schwab <schwab@suse.de>
50118
50119 * string/bits/string2.h (strdup, strndup): Update feature guard.
50120
50121 2014-06-14 David S. Miller <davem@davemloft.net>
50122
50123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50124
50125 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50126
50127 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50128 that was previously under [RESET_PID].
50129 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50130
50131 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50132 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50133 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50134 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50135 (__libc_vfork): New strong alias.
50136 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50137
50138 2014-06-14 Andi Kleen <ak@linux.intel.com>
50139
50140 * sysdeps/generic/elide.h: New file.
50141
50142 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50143
50144 * Makefile (installed-headers): Adjust path of pthread.h header.
50145
50146 2014-06-13 Roland McGrath <roland@hack.frob.com>
50147
50148 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50149 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50150 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50151 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50152
50153 * nptl/sysdeps/s390/Makefile: Moved ...
50154 * sysdeps/s390/nptl/Makefile: ... here.
50155 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50156 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50157 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50158 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50159 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50160 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50161 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50162 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50163 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50164 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50165 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50166 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50167 * nptl/sysdeps/s390/tls.h: Moved ...
50168 * sysdeps/s390/nptl/tls.h: ... here.
50169
50170 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50171 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50172
50173 2014-06-13 David S. Miller <davem@davemloft.net>
50174
50175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50178 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50182 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50183 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50184 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50185 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50186 Remove RESET_PID cpp guards.
50187 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50188 Remove RESET_PID cpp guards.
50189 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50190
50191 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50192
50193 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50194 __sp to uintptr_t.
50195
50196 2014-06-13 Andi Kleen <ak@linux.intel.com>
50197
50198 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50199 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50200 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50202 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50203 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50205 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50206 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50207 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50208 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50209 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50210 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50211 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50212 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50213 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50215 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50217 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50218
50219 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50220 (pthread_rwlock_rdlock): Add elision.
50221 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50222 (pthread_rwlock_wrlock): Add elision.
50223 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50224 (pthread_rwlock_trywrlock): Add elision.
50225 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50226 (pthread_rwlock_tryrdlock): Add elision.
50227 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50228 (pthread_rwlock_tryrdlock): Add elision unlock.
50229 * nptl/sysdeps/pthread/pthread.h:
50230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50231 (PTHREAD_RWLOCK_INITIALIZER,
50232 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50233 Handle new elision field.
50234 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50235 * sysdeps/arm/nptl/bits/pthreadtypes.h
50236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50237 * sysdeps/sh/nptl/bits/pthreadtypes.h
50238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50239 * sysdeps/tile/nptl/bits/pthreadtypes.h
50240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50241 * sysdeps/a/nptl/bits/pthreadtypes.h
50242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50243 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50245 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50246 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50247 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50249 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50251 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50252 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50253 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50254 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50255 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50257 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50258 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50259 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50260 (elision_init): Set try_xbegin to zero when no RTM.
50261 * sysdeps/x86/nptl/bits/pthreadtypes.h
50262 (pthread_rwlock_t): Change __pad1 to __rwelision.
50263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50264
50265 2014-06-13 Andi Kleen <ak@linux.intel.com>
50266
50267 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50268 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50269 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50270 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50271
50272 2014-06-13 Meador Inge <meadori@codesourcery.com>
50273
50274 [BZ #16996]
50275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50276 that the cached result has been set before returning it.
50277
50278 2014-06-12 Roland McGrath <roland@hack.frob.com>
50279
50280 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50281 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50282 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50283 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50284 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50285 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50286
50287 * nptl/sysdeps/sparc/Makefile: Moved ...
50288 * sysdeps/sparc/nptl/Makefile: ... here.
50289 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50290 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50291 * nptl/sysdeps/sparc/tls.h: Moved ...
50292 * sysdeps/sparc/nptl/tls.h: ... here.
50293 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50294 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50295 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50296 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50297 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50298 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50299 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50300 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50301 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50302 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50303 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50304 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50305 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50306 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50307 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50308 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50309 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50310 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50311 Update #include.
50312 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50314 Update #include.
50315 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50316 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50317 Update #include.
50318 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50319 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50320 Update #include.
50321
50322 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50323
50324 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50325 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50326
50327 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50328 (struct list_links): Type removed.
50329 (struct thread_node, struct timer_node): Replace struct list_links
50330 with struct list_head.
50331 (list_unlink_ip): Likewise.
50332 * sysdeps/pthread/timer_routines.c
50333 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50334 (list_append, list_insbefore): Likewise.
50335 (list_init): Function removed.
50336 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50337 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50338 * sysdeps/pthread/Makefile: ... here, new file.
50339
50340 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50341 * sysdeps/nptl/Implies: ... here.
50342 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50343 * nptl/sysdeps/pthread/list.h: Moved ...
50344 * include/list.h: ... here.
50345 * nptl/sysdeps/pthread/createthread.c: Moved ...
50346 * nptl/createthread.c: ... here.
50347 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50348 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50349 * nptl/pt-longjmp.c: ... here.
50350 * nptl/sysdeps/pthread/Makefile: Moved ...
50351 * sysdeps/nptl/Makefile: ... here.
50352 * nptl/sysdeps/pthread/Subdirs: Moved ...
50353 * sysdeps/nptl/Subdirs: ... here.
50354 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50355 * sysdeps/nptl/aio_misc.h: ... here.
50356 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50357 * sysdeps/nptl/bits/libc-lock.h: ... here.
50358 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50359 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50360 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50361 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50362 * nptl/sysdeps/pthread/configure: Moved ...
50363 * sysdeps/nptl/configure: ... here.
50364 * nptl/sysdeps/pthread/configure.ac: Moved ...
50365 * sysdeps/nptl/configure.ac: ... here.
50366 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50367 * sysdeps/nptl/gai_misc.h: ... here.
50368 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50369 * sysdeps/nptl/librt-cancellation.c: ... here.
50370 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50371 * sysdeps/nptl/malloc-machine.h: ... here.
50372 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50373 * sysdeps/nptl/pthread-functions.h: ... here.
50374 * nptl/sysdeps/pthread/pthread.h: Moved ...
50375 * sysdeps/nptl/pthread.h: ... here.
50376 * nptl/sysdeps/pthread/setxid.h: Moved ...
50377 * sysdeps/nptl/setxid.h: ... here.
50378 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50379 * sysdeps/nptl/sigfillset.c: ... here.
50380 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50381 * sysdeps/nptl/tcb-offsets.h: ... here.
50382 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50383 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50384 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50385 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50386 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50387 * sysdeps/pthread/allocalim.h: ... here.
50388 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50389 * sysdeps/pthread/bits/sigthread.h: ... here.
50390 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50391 * sysdeps/pthread/flockfile.c: ... here.
50392 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50393 * sysdeps/pthread/ftrylockfile.c: ... here.
50394 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50395 * sysdeps/pthread/funlockfile.c: ... here.
50396 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50397 * sysdeps/pthread/posix-timer.h: ... here.
50398 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50399 * sysdeps/pthread/timer_create.c: ... here.
50400 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50401 * sysdeps/pthread/timer_delete.c: ... here.
50402 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50403 * sysdeps/pthread/timer_getoverr.c: ... here.
50404 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50405 * sysdeps/pthread/timer_gettime.c: ... here.
50406 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50407 * sysdeps/pthread/timer_routines.c: ... here.
50408 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50409 * sysdeps/pthread/timer_settime.c: ... here.
50410 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50411 * sysdeps/pthread/tst-timer.c: ... here.
50412 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50413 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50414
50415 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50416 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50417
50418 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50419 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50420 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50421 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50422 Update #include target.
50423 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50424 * sysdeps/i386/i686/nptl/Makefile: ... here.
50425 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50426 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50427 Update #include target.
50428 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50429 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50430 * nptl/sysdeps/i386/Makefile: Moved ...
50431 * sysdeps/i386/nptl/Makefile: ... here.
50432 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50433 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50434 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50435 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50436 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50437 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50438 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50439 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50440 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50441 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50442 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50443 * nptl/sysdeps/i386/tls.h: Moved ...
50444 * sysdeps/i386/nptl/tls.h: ... here.
50445
50446 * sysdeps/sh/Makefile [$(subdir) = csu]
50447 (gen-as-const-headers): Add tcb-offsets.sym.
50448 * nptl/sysdeps/sh/Makefile: File removed.
50449 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50450 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50451 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50452 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50453 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50454 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50455 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50456 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50457 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50458 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50459 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50460 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50461 * nptl/sysdeps/sh/tls.h: Moved ...
50462 * sysdeps/sh/nptl/tls.h: ... here.
50463 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50464 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50465 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50466 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50467 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50468 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50469 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50470 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50471 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50472 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50474 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50476 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50477 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50478 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50480 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50481 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50482 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50483 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50484 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50485 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50486 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50488 Moved ...
50489 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50490 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50491 Moved ...
50492 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50493 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50494 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50495 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50496 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50497 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50498 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50499 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50500 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50501 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50502 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50503 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50504 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50505 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50506 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50507 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50508 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50509 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50510 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50511
50512 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50513
50514 * posix/spawn_faction_addopen.c: Include string.h.
50515
50516 2014-06-11 Roland McGrath <roland@hack.frob.com>
50517
50518 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50519 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50520 * nptl/sysdeps/x86_64/Makefile: Moved ...
50521 * sysdeps/x86_64/nptl/Makefile: ... here.
50522 * nptl/sysdeps/x86_64/configure: Moved ...
50523 * sysdeps/x86_64/nptl/configure: ... here.
50524 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50525 * sysdeps/x86_64/nptl/configure.ac: ... here.
50526 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50527 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50528 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50529 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50530 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50531 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50532 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50533 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50534 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50535 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50536 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50537 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50538 * nptl/sysdeps/x86_64/tls.h: Moved ...
50539 * sysdeps/x86_64/nptl/tls.h: ... here.
50540 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50541 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50542 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50543 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50544
50545 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50546
50547 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50548
50549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50550
50551 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50552
50553 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50554 type.
50555 [POSIX] (off_t): Likewise.
50556 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50557 [POSIX] (S_ISBLK): Require macro.
50558 [POSIX] (S_ISCHR): Likewise.
50559 [POSIX] (S_ISDIR): Likewise.
50560 [POSIX] (S_ISFIFO): Likewise.
50561 [POSIX] (S_ISREG): Likewise.
50562 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50563 optional-macro.
50564 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50565 type.
50566 [POSIX] (time_t): Likewise.
50567 [POSIX] (timer_t): Likewise.
50568
50569 2014-06-11 Florian Weimer <fweimer@redhat.com>
50570
50571 [BZ #17048]
50572 * posix/spawn_int.h (struct __spawn_action): Make the path string
50573 non-const to support deallocation.
50574 * posix/spawn_faction_addopen.c
50575 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50576 * posix/spawn_faction_destroy.c
50577 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50578 path in all spawn_do_open actions.
50579 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50580 posix_spawn_file_actions_addopen.
50581
50582 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50583
50584 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50585 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50586 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50587 conditional code always true.
50588 (__libc_vfork): New alias.
50589
50590 2014-06-11 Roland McGrath <roland@hack.frob.com>
50591
50592 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50593 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50594
50595 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50596
50597 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50598 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50599
50600 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50601 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50602
50603 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50604 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50605
50606 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50607
50608 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50609 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50610 multiarch strcmp for PPC64.
50611 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50612 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50614 multiarch optimizations.
50615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50616 (__libc_ifunc_impl_list): Likewise.
50617
50618 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50619
50620 * benchtests/scripts/validate_benchout.py: New script.
50621 * benchtests/Makefile (bench-func): Call it.
50622 * benchtests/scripts/benchout.schema.json: New file.
50623
50624 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50625
50626 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50627 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50628 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50629 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50630 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50631 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50632 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50633 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50634 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50635 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50636 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50637 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50638 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50639 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50640 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50641 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50643 Moved ...
50644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50645 ... here.
50646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50647 Moved ...
50648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50650 Moved ...
50651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50652 ... here.
50653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50654 Moved ...
50655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50656 ... here.
50657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50658 Moved ...
50659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50661 Moved ...
50662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50663 ... here.
50664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50665 Moved ...
50666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50667 ... here.
50668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50669 Moved ...
50670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50672 Moved ...
50673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50674 ... here.
50675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50676 Moved ...
50677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50678 ... here.
50679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50680 Moved ...
50681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50682 ... here.
50683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50684 Moved ...
50685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50687 Moved ...
50688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50689 ... here.
50690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50691 Moved ...
50692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50693 ... here.
50694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50695 Moved ...
50696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50697 ... here.
50698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50699 Moved ...
50700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50702 Moved ...
50703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50704 ... here.
50705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50706 Moved ...
50707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50708 ... here.
50709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50710 Moved ...
50711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50713 Moved ...
50714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50715 ... here.
50716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50717 Moved ...
50718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50720 Moved ...
50721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50723 Moved ...
50724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50725 ... here.
50726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50727 Moved ...
50728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50729 ... here.
50730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50731 Moved ...
50732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50733 ... here.
50734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50735 Moved ...
50736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50738 Moved ...
50739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50740 ... here.
50741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50742 Moved ...
50743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50744 ... here.
50745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50746 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50748 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50750 Moved ...
50751 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50752 ... here.
50753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50754 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50756 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50757 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50758 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50759 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50760 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50761 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50762 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50763 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50764 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50766 Moved ...
50767 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50769 Moved ...
50770 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50771 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50772 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50773 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50774 Moved ...
50775 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50777 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50778 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50779 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50780 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50781 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50782
50783 2014-06-10 Wilco <wdijkstr@arm.com>
50784
50785 * math/test-fenv-return.c: New file.
50786 * math/Makefile: Add new test test-fenv-return.
50787
50788 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50789
50790 [BZ #17042]
50791 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50792 when x - 1 is zero.
50793 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50794 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50795 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50796 0.0L for an argument of 1.0L.
50797 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50798 Likewise.
50799 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50800 value when x - 1 is zero.
50801 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50802 * sysdeps/i386/fpu/libm-test-ulps: Update.
50803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50804
50805 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50806
50807 [BZ #15119]
50808 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50809
50810 2014-06-09 Roland McGrath <roland@hack.frob.com>
50811
50812 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50813 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50814
50815 2014-06-09 Roland McGrath <roland@hack.frob.com>
50816
50817 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50818 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50819
50820 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50821 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50822
50823 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50824 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50825
50826 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50827 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50828
50829 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50830 if not already defined.
50831 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50832 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50833 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50834 (TLS_INIT_TP): Use it.
50835 (TLS_DEFINE_INIT_TP): New macro.
50836 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50837
50838 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50839
50840 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50841 constant.
50842 [POSIX] (IXANY): Likewise.
50843 [POSIX] (OLCUC): Likewise.
50844 [POSIX || POSIX2008] (CBAUD): Do not allow.
50845 [POSIX || POSIX2008] (DEFECHO): Likewise.
50846 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50847 [POSIX || POSIX2008] (ECHOKE): Likewise.
50848 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50849 [POSIX || POSIX2008] (EXTA): Likewise.
50850 [POSIX || POSIX2008] (EXTB): Likewise.
50851 [POSIX || POSIX2008] (FLUSHO): Likewise.
50852 [POSIX || POSIX2008] (LOBLK): Likewise.
50853 [POSIX || POSIX2008] (PENDIN): Likewise.
50854 [POSIX || POSIX2008] (SWTCH): Likewise.
50855 [POSIX || POSIX2008] (VDISCARD): Likewise.
50856 [POSIX || POSIX2008] (VDSUSP): Likewise.
50857 [POSIX || POSIX2008] (VLNEXT): Likewise.
50858 [POSIX || POSIX2008] (VREPRINT): Likewise.
50859 [POSIX || POSIX2008] (VSTATUS): Likewise.
50860 [POSIX || POSIX2008] (VWERASE): Likewise.
50861 (B*): Change to B[0123456789]*.
50862 * conform/data/time.h-data [POSIX || UNIX98]
50863 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50864 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50865 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50866 [POSIX] (tm_*): Do not allow.
50867
50868 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50869
50870 * Makefile (install): Don't set LANGUAGE.
50871 * Makefile.in (install): Likewise.
50872 * assert/Makefile (test-assert-ENV): Remove variable.
50873 (test-assert-perr-ENV): Likewise.
50874 * elf/Makefile (neededtest4-ENV): Likewise.
50875 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50876 [$(cross-compiling) = no]: Don't set LANGUAGE.
50877 * io/ftwtest-sh (LANG): Remove variable.
50878 * libio/Makefile (tst-widetext-ENV): Likewise.
50879 * manual/install.texi (Running make install): Don't refer to
50880 environment settings for make install.
50881 * INSTALL: Regenerated.
50882 * nptl/tst-tls6.sh: Don't set LANG.
50883 * posix/globtest.sh (LANG): Remove variable.
50884 * string/Makefile (tester-ENV): Likewise.
50885 (inl-tester-ENV): Likewise.
50886 (noinl-tester-ENV): Likewise.
50887 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50888 [$(cross-compiling) = no]: Don't set LANGUAGE.
50889 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50890 without explicit environment settings.
50891
50892 2014-06-06 Roland McGrath <roland@hack.frob.com>
50893
50894 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50895 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50896 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50897 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50898
50899 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50900
50901 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50902 other files in the crypt directory.
50903 * crypt/crypt.c: Remove duplicate includes.
50904 * crypt/crypt-entry.c: Likewise.
50905 * crypt/crypt_util.c: Likewise.
50906
50907 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50908
50909 * Makeconfig (run-program-env): New variable.
50910 (run-program-prefix-before-env): Likewise.
50911 (run-program-prefix-after-env): Likewise.
50912 (run-program-prefix): Define in terms of new variables.
50913 (built-program-cmd-before-env): New variable.
50914 (built-program-cmd-after-env): Likewise.
50915 (built-program-cmd): Define in terms of new variables.
50916 (test-program-prefix-before-env): New variable.
50917 (test-program-prefix-after-env): Likewise.
50918 (test-program-prefix): Define in terms of new variables.
50919 (test-program-cmd-before-env): New variable.
50920 (test-program-cmd-after-env): Likewise.
50921 (test-program-cmd): Define in terms of new variables.
50922 * Rules (make-test-out): Use $(run-program-env).
50923 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50924 (help): Do not mention environment variables. Mention
50925 --timeoutfactor option.
50926 (timeoutfactor): New variable.
50927 (blacklist_exports): Remove function.
50928 (exports): Remove variable.
50929 (command): Do not include ${exports}.
50930 * manual/install.texi (Configuring and compiling): Do not mention
50931 test wrappers preserving environment variables. Mention that last
50932 assignment to a variable must take precedence.
50933 * INSTALL: Regenerated.
50934 * benchtests/Makefile (run-bench): Use $(run-program-env).
50935 * catgets/Makefile ($(objpfx)test1.cat): Use
50936 $(built-program-cmd-before-env), $(run-program-env) and
50937 $(built-program-cmd-after-env).
50938 ($(objpfx)test2.cat): Do not specify environment variables
50939 explicitly.
50940 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50941 $(run-program-env) and $(built-program-cmd-after-env).
50942 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50943 $(run-program-env) and $(test-program-cmd-after-env).
50944 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50945 explicitly.
50946 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50947 run_program_env and test_program_cmd_after_env arguments.
50948 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50949 * elf/tst-pathopt.sh: Use run_program_env argument.
50950 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50951 $(test-wrapper-env) and $(run-program-env).
50952 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50953 run_program_env arguments.
50954 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50955 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50956 $(test-program-prefix-before-env), $(run-program-env) and
50957 $(test-program-prefix-after-env).
50958 ($(objpfx)tst-gettext2.out): Likewise.
50959 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50960 run_program_env and test_program_prefix_after_env arguments.
50961 * intl/tst-gettext2.sh: Likewise.
50962 * intl/tst-gettext4.sh: Do not set environment variables
50963 explicitly.
50964 * intl/tst-gettext6.sh: Likewise.
50965 * intl/tst-translit.sh: Likewise.
50966 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50967 $(test-program-prefix-before-env), $(run-program-env) and
50968 $(test-program-prefix-after-env).
50969 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50970 run_program_env and test_program_prefix_after_env arguments.
50971 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50972 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50973 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50974 explicitly with each use of ${test_wrapper_env}.
50975 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50976 $(test-program-prefix-before-env), $(run-program-env) and
50977 $(test-program-prefix-after-env).
50978 * posix/tst-getconf.sh: Do not set environment variables
50979 explicitly.
50980 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50981 run_program_env and test_program_prefix_after_env arguments.
50982 * stdio-common/tst-printf.sh: Do not set environment variables
50983 explicitly.
50984 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50985 $(test-program-prefix-before-env), $(run-program-env) and
50986 $(test-program-prefix-after-env).
50987 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50988 run_program_env and test_program_prefix_after_env arguments.
50989 Split $test calls into $test_pre and $test.
50990 * timezone/Makefile (build-testdata): Use
50991 $(built-program-cmd-before-env), $(run-program-env) and
50992 $(built-program-cmd-after-env).
50993
50994 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50995
50996 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50997 strlen for non SHARED builds.
50998
50999 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51000
51001 * nptl/allocatestack.c (check_list): Inlined function...
51002 (__reclaim_stacks): ... here.
51003
51004 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51005
51006 [BZ #15698]
51007 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51008 memory overrun.
51009
51010 2014-06-05 Joseph Myers <joseph@codesourcery.com>
51011
51012 * Rules (make-test-out): Include
51013 LOCPATH=$(common-objpfx)localedata in default environment.
51014 * debug/Makefile (tst-chk1-ENV): Remove variable.
51015 (tst-chk2-ENV): Likewise.
51016 (tst-chk3-ENV): Likewise.
51017 (tst-chk4-ENV): Likewise.
51018 (tst-chk5-ENV): Likewise.
51019 (tst-chk6-ENV): Likewise.
51020 (tst-lfschk1-ENV): Likewise.
51021 (tst-lfschk2-ENV): Likewise.
51022 (tst-lfschk3-ENV): Likewise.
51023 (tst-lfschk4-ENV): Likewise.
51024 (tst-lfschk5-ENV): Likewise.
51025 (tst-lfschk6-ENV): Likewise.
51026 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51027 (tst-iconv7-ENV): Likewise.
51028 * intl/Makefile (LOCPATH-ENV): Likewise.
51029 (tst-codeset-ENV): Likewise.
51030 (tst-gettext3-ENV): Likewise.
51031 (tst-gettext5-ENV): Likewise.
51032 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51033 (tst-fopenloc-ENV): Likewise.
51034 (tst-fgetws-ENV): Remove variable.
51035 (tst-ungetwc1-ENV): Likewise.
51036 (tst-ungetwc2-ENV): Likewise.
51037 (bug-ungetwc2-ENV): Likewise.
51038 (tst-swscanf-ENV): Likewise.
51039 (bug-ftell-ENV): Likewise.
51040 (tst-fgetwc-ENV): Likewise.
51041 (tst-fseek-ENV): Likewise.
51042 (tst-ftell-partial-wide-ENV): Likewise.
51043 (tst-ftell-active-handler-ENV): Likewise.
51044 (tst-ftell-append-ENV): Likewise.
51045 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51046 (tst-regexloc-ENV): Likewise.
51047 (bug-regex1-ENV): Likewise.
51048 (tst-regex-ENV): Likewise.
51049 (tst-regex2-ENV): Likewise.
51050 (bug-regex5-ENV): Likewise.
51051 (bug-regex6-ENV): Likewise.
51052 (bug-regex17-ENV): Likewise.
51053 (bug-regex18-ENV): Likewise.
51054 (bug-regex19-ENV): Likewise.
51055 (bug-regex20-ENV): Likewise.
51056 (bug-regex22-ENV): Likewise.
51057 (bug-regex23-ENV): Likewise.
51058 (bug-regex25-ENV): Likewise.
51059 (bug-regex26-ENV): Likewise.
51060 (bug-regex30-ENV): Likewise.
51061 (bug-regex32-ENV): Likewise.
51062 (bug-regex33-ENV): Likewise.
51063 (bug-regex34-ENV): Likewise.
51064 (bug-regex35-ENV): Likewise.
51065 (tst-rxspencer-ENV): Likewise.
51066 (tst-rxspencer-no-utf8-ENV): Likewise.
51067 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51068 (tst-sscanf-ENV): Likewise.
51069 (tst-swprintf-ENV): Likewise.
51070 (tst-swscanf-ENV): Likewise.
51071 (test-vfprintf-ENV): Likewise.
51072 (scanf13-ENV): Likewise.
51073 (bug14-ENV): Likewise.
51074 (tst-grouping-ENV): Likewise.
51075 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51076 (tst-strtod3-ENV): Likewise.
51077 (tst-strtod4-ENV): Likewise.
51078 (tst-strtod5-ENV): Likewise.
51079 (testmb2-ENV): Likewise./
51080 * string/Makefile (tst-strxfrm-ENV): Likewise.
51081 (tst-strxfrm2-ENV): Likewise.
51082 (bug-strcoll1-ENV): Likewise.
51083 (test-strcasecmp-ENV): Likewise.
51084 (test-strncasecmp-ENV): Likewise.
51085 * time/Makefile (tst-strptime-ENV): Likewise.
51086 (tst-ftime_l-ENV): Likewise.
51087 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51088 (tst-mbrtowc-ENV): Likewise.
51089 (tst-wcrtomb-ENV): Likewise.
51090 (tst-mbrtowc2-ENV): Likewise.
51091 (tst-c16c32-1-ENV): Likewise.
51092 (tst-mbsnrtowcs-ENV): Likewise.
51093
51094 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51095
51096 * manual/resource.texi (How to get information about the memory
51097 subsystem?): Fix typo.
51098 Reported by Peon de la Parra Ivan <peon@keba.com>
51099
51100 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51101
51102 [BZ #16882]
51103 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51104 (pthread_spin_lock): Branch out of spin loop to proper location.
51105 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51106 (pthread_spin_lock): Likewise.
51107
51108 * nptl/tst-spin4.c: New test.
51109 * nptl/Makefile (tests): Add tst-spin4.
51110
51111 2014-06-03 Andreas Schwab <schwab@suse.de>
51112
51113 [BZ #15946]
51114 * resolv/res_send.c (send_dg): Reload file descriptor after
51115 calling reopen.
51116
51117 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51118
51119 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51120
51121 2014-06-03 Richard Henderson <rth@redhat.com>
51122
51123 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51124 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51125 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51126 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51127 in the SAVE_PID block.
51128 (__libc_vfork): New alias.
51129 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51130
51131 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51132 child in registers, not on the stack. Remove RESET_PID conditionals.
51133 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51134
51135 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51136
51137 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51138
51139 2014-06-03 Wilco <wdijkstr@arm.com>
51140
51141 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51142 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51143 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51144 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51145 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51146 Likewise.
51147
51148 2014-06-03 Wilco <wdijkstr@arm.com>
51149
51150 * sysdeps/aarch64/fpu/math_private.h
51151 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51152 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51153 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51154 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51155 Fix declarations.
51156
51157 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51158
51159 * crypt/crypt-private.h: Include ufc-crypt.h.
51160 (__b64_from_24bit): Declare extern.
51161 * crypt/crypt_util.c(__b64_from_24bit): New function.
51162 (b64t): New static const variable.
51163 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51164 (b64t): Remove variable.
51165 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51166 * crypt/sha256-crypt.c: Include crypt-private.h.
51167 (b64t): Remove variable.
51168 (__sha256_crypt_r): Remove b64_from_24bit and replace
51169 with __b64_from_24bit.
51170 * crypt/sha512-crypt.c: Likewise.
51171
51172 2014-06-02 Roland McGrath <roland@hack.frob.com>
51173
51174 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51175 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51176 Label the code __libc_vfork rather than __vfork.
51177 [!NOT_IN_libc] (vfork): Define as weak alias.
51178 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51179 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51180 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51181
51182 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51183
51184 * malloc/malloc.c (malloc_info): Fix format specifier for
51185 n_mmaps.
51186
51187 2014-06-02 Wilco <wdijkstr@arm.com>
51188
51189 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51190 FPCR write.
51191
51192 2014-06-02 Wilco <wdijkstr@arm.com>
51193
51194 [BZ #17009]
51195 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51196 Rewrite to reduce FPCR/FPSR accesses.
51197
51198 2014-06-01 David S. Miller <davem@davemloft.net>
51199
51200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51201
51202 2014-05-31 David S. Miller <davem@davemloft.net>
51203
51204 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51205 to occur in round to nearest mode when |x| >= 2.0
51206
51207 2014-05-30 Richard Henderson <rth@twiddle.net>
51208
51209 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51210 (PSEUDO_RET_NOERRNO): Remove.
51211 (ret): Don't redefine.
51212 (ret_NOERRNO): Define in terms of ret.
51213 (ret_ERRVAL): Likewise.
51214
51215 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51216 use of PSEUDO_RET; perform the error check directly.
51217
51218 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51219
51220 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51221 with __int128_t.
51222
51223 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51224
51225 * malloc/malloc (malloc_info): Fix formatting.
51226
51227 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51228 Roland McGrath <roland@hack.frob.com>
51229
51230 * malloc/malloc (malloc_info): Also print mmapped statistics.
51231
51232 2014-05-30 Roland McGrath <roland@hack.frob.com>
51233
51234 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51235 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51236
51237 2014-05-30 Ondƙej Bílka <neleai@seznam.cz>
51238
51239 * malloc/malloc.c (malloc_info): Inline mi_arena.
51240
51241 2014-05-29 Richard Henderson <rth@twiddle.net>
51242
51243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51244 Remove comma before expanding ASM_ARGS_##nr.
51245 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51246 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51247 of ASM_ARGS_##nr.
51248 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51249 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51250 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51251 (ASM_ARGS_1): Add leading comma.
51252
51253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51254 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51255 to __errno_location.
51256 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51257 Remove the expected plt for __errno_location.
51258
51259 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51260 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51261 call to __read_tp.
51262
51263 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51264 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51265 it and break it down.
51266 (DOCARGS_0, DOCARGS_1): Do nothing.
51267 (DOCARGS_2): Update to store into the new stack frame.
51268 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51269 (UNDOCARGS_1): Update to restore from the new stack frame.
51270 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51271 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51272
51273 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51274 (SINGLE_THREAD_P): New parameter for result regno.
51275 (PSEUDO): Update to match; use cbz instead of beq.
51276
51277 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51278 Use ENTRY to define the _nocancel entry point. Share the syscall
51279 and syscall error check paths with the cancel path.
51280 (PSEUDO_END): New.
51281
51282 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51283 whitespace; tabs before and after asm mnemonics.
51284
51285 2014-05-29 Eric Wong <normalperson@yhbt.net>
51286
51287 [BZ #15132]
51288 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51289 Call fstat64 or stat64 internally, depending on arguments passed.
51290 Replace stat buffer argument with file descriptor argument.
51291 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51292 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51293 Pass fd to __internal_statvfs instead of calling fstat64.
51294 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51295 Pass fd to __internal_statvfs64 instead of calling fstat64.
51296 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51297 Pass -1 to __internal_statvfs instead of calling stat64.
51298 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51299 Pass -1 to __internal_statvfs64 instead of calling stat64.
51300
51301 2014-05-28 Roland McGrath <roland@hack.frob.com>
51302
51303 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51304 that was previously under [RESET_PID].
51305 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51306
51307 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51308 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51309
51310 2014-05-27 Roland McGrath <roland@hack.frob.com>
51311
51312 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51313
51314 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51315 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51316
51317 2014-05-27 Ondƙej Bílka <neleai@seznam.cz>
51318
51319 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51320
51321 2014-05-27 Andreas Schwab <schwab@suse.de>
51322
51323 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51324 TLS_INIT_TP macro.
51325 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51326 * elf/rtld.c (init_tls, dl_main): Likewise.
51327 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51328 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51329 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51330 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51331 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51332 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51333 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51334 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51335 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51336 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51337 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51338 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51339 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51340 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51341 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51342 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51343 * sysdeps/generic/tls.h: Update description.
51344
51345 2014-05-27 Will Newton <will.newton@linaro.org>
51346
51347 [BZ #16990]
51348 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51349 and restore r2 rather than just restoring.
51350
51351 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51352
51353 [BZ #16724]
51354 * libio/tst-ftell-append.c: New test case.
51355 * libio/Makefile (tests): Add test case.
51356 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51357 append mode.
51358 * libio/wfileops.c (do_ftell_wide): Likewise.
51359
51360 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51361
51362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51363
51364 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51365 ...
51366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51368 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51369 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51370 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51371 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51372 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51373 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51375 Moved ...
51376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51377 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51378 Moved ...
51379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51380 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51381 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51382 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51383 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51384 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51385 ...
51386 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51387 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51388 Moved ...
51389 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51390 here.
51391 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51392 ...
51393 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51394 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51395 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51396
51397 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51398 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51399 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51400 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51401
51402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51403 merge into ...
51404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51406 ...
51407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51409 ...
51410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51412 Moved ...
51413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51414 here.
51415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51416 Moved ...
51417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51419 Moved ...
51420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51421
51422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51423 conditional [RESET_PID].
51424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51426 removed.
51427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51428 removed.
51429
51430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51431 <tcb-offsets.h>.
51432 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51433 (__libc_vfork): New strong alias.
51434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51435 removed.
51436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51437 Removed.
51438
51439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51440 <tcb-offsets.h>.
51441 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51442 (__libc_vfork): New strong alias.
51443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51444 removed.
51445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51446 removed.
51447
51448 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51449
51450 * malloc/malloc.c (mi_arena): New function.
51451 (malloc_info): Remove nested function mi_arena. Call non-nosted
51452 function mi_arena.
51453
51454 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51455
51456 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51457 by insrwi.
51458 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51459 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51460 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51461 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51462 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51463 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51465
51466 2014-05-26 Andreas Schwab <schwab@suse.de>
51467
51468 [BZ #16984]
51469 * locale/programs/repertoire.c (repertoire_read): Add slash
51470 between I18NPATH element and file name.
51471 * locale/programs/locfile.c (locfile_read): Likewise.
51472
51473 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51474
51475 * nptl/pthread_mutexattr_settype.c
51476 (__pthread_mutexattr_settype):
51477 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51478
51479 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51480
51481 * nptl/tst-mutex5 (do_test):
51482 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51483
51484 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51485
51486 * benchtests/README: Document 'init' directive.
51487 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51488 BENCH_INIT.
51489 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51490 (parse_file): Recognize 'init' directive.
51491
51492 2014-05-26 Kyle McMartin <kyle@redhat.com>
51493
51494 [BZ #16796]
51495 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51496 alignment of struct pthread.
51497
51498 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51499
51500 [BZ #16878]
51501 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51502 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51503 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51504 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51505
51506 2014-05-25 Richard Henderson <rth@twiddle.net>
51507
51508 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51509 (SINGLE_THREAD_P_PIC): Remove.
51510 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51511 (SINGLE_THREAD_P_PIC): Remove.
51512
51513 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51514 branch to syscall error ...
51515 (PSEUDO): ... here.
51516 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51517 from __local_syscall_error to .Lsyscall_error.
51518 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51519 (SYSCALL_ERROR): Update label name.
51520
51521 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51522 Do not use DOARGS/UNDOARGS.
51523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51524 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51525 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51526 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51527 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51528
51529 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51530 block comment.
51531
51532 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51533 define if !NOT_IN_libc.
51534 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51535 define with non-default symbol versions.
51536
51537 2014-05-23 Richard Henderson <rth@twiddle.net>
51538
51539 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51540 (vfork, __vfork): Define via compat_symbol.
51541
51542 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51543 [!HAVE_IFUNC] (vfork_compat): Remove.
51544 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51545
51546 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51547
51548 [BZ #16978]
51549 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51550 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51551 variable.
51552
51553 2014-05-23 Richard Henderson <rth@twiddle.net>
51554
51555 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51556 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51557 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51558 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51559
51560 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51561 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51562 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51563 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51564 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51565 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51566 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51567 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51568 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51569 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51570 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51571 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51572 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51573 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51574 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51575 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51576 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51577 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51578 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51579 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51580 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51581 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51582 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51583 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51584 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51586 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51587 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51588 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51589 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51590 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51591 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51592 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51593 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51594 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51595 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51596 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51597 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51598 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51599 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51600 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51601 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51602 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51603 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51604 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51605 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51606 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51607 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51608 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51609 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51611 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51613 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51614 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51615 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51616
51617 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51618 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51619 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51620 before exiting on error.
51621 (__libc_vfork): New strong alias.
51622 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51623 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51624
51625 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51626 that was previously under [RESET_PID].
51627 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51628
51629 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51630
51631 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51632
51633 [BZ #16977]
51634 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51635 value when x - 1 is zero.
51636 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51637 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51638 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51639 0.0L for an argument of 1.0L.
51640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51641 Likewise.
51642 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51643 value when x - 1 is zero.
51644 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51645 * sysdeps/i386/fpu/libm-test-ulps: Update.
51646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51647
51648 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51649
51650 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51651 alphasort and versionsort.
51652
51653 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51654
51655 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51656 macro.
51657 [copysignf]: Likewise.
51658
51659 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51660
51661 * crypt/md5-crypt.c: Fix formatting.
51662
51663 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51664
51665 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51666 (b64_from_24bit): New function.
51667
51668 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51669
51670 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51671 libc_hidden_builtin_def to ifunc.
51672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51673 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51674
51675 2014-05-21 Roland McGrath <roland@hack.frob.com>
51676
51677 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51678 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51679
51680 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51681
51682 * nscd/Depend (linuxthreads): Remove.
51683 (nptl): Add.
51684 * resolv/Depend (linuxthreads): Remove.
51685 * rt/Depend (linuxthreads): Remove.
51686
51687 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51688 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51689 $(common-objpfx)elf/.
51690 (link-libc-before-gnulib): Likewise.
51691 (elfobjdir): Remove variable.
51692 * Makefile (install): Use $(elf-objpfx) instead of
51693 $(common-objpfx)elf/.
51694 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51695 $(elfobjdir)/.
51696 (link-libc-deps): Likewise.
51697 ($(common-objpfx)libc.so): Likewise.
51698 ($(common-objpfx)linkobj/libc.so): Likewise.
51699 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51700 instead of $(common-objpfx)elf/.
51701 (symbolic-link-list): Likewise.
51702 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51703 [$(cross-compiling) = no]: Likewise.
51704 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51705 $(elfobjdir)/.
51706 (static-gnulib-arch): Likewise.
51707 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51708 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51709 $(common-objpfx)elf/.
51710
51711 2014-05-21 Richard Henderson <rth@redhat.com>
51712
51713 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51714 (SINGLE_THREAD_P): Use the correct width load. Fold
51715 into the ldr offset.
51716
51717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51718 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51719
51720 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51721
51722 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51723 (libgcc_s_resume): Use __attribute_used__.
51724 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51725 Likewise.
51726
51727 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51728
51729 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51730 optimization when used with float constants.
51731
51732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51733
51734 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51735
51736 [BZ #16915]
51737 * locale/nl_langinfo_l.c: Make direct reference to every
51738 _nl_current_CATEGORY symbol.
51739 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51740 (tests-static): Add tst-langinfo-static.
51741 (tests-special): Add tst-langinfo-static.out.
51742 ($(objpfx)tst-langinfo.out): Redirect output.
51743 ($(objpfx)tst-langinfo-static.out): New.
51744 * localedata/tst-langinfo.sh: Send output to stdout.
51745 * localedata/tst-langinfo-static.c: New file.
51746
51747 [BZ #16965]
51748 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51749 when the shift amount is modulo the limb size.
51750
51751 2014-05-20 Richard Henderson <rth@redhat.com>
51752
51753 [BZ #16967]
51754 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51755 Change type of sa_flags from unsigned int to int.
51756
51757 [BZ #16966]
51758 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51759
51760 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51761
51762 2014-05-20 Will Newton <will.newton@linaro.org>
51763
51764 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51765 Test the return value of the system call in the nocancel case.
51766
51767 2014-05-20 Will Newton <will.newton@linaro.org>
51768 Yvan Roux <yvan.roux@linaro.org>
51769
51770 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51771 #include of asm/ptrace.h.
51772 (PTRACE_GET_THREAD_AREA): Remove #undef.
51773 (PTRACE_GETHBPREGS): Likewise.
51774 (PTRACE_SETHBPREGS): Likewise.
51775 (struct user_regs_struct): New structure.
51776 (struct user_fpsimd_struct): New structure.
51777 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51778 #include of asm/ptrace.h and second #include of sys/user.h.
51779 (PTRACE_GET_THREAD_AREA): Remove #undef.
51780 (PTRACE_GETHBPREGS): Likewise.
51781 (PTRACE_SETHBPREGS): Likewise.
51782 (ELF_NGREG): Use new struct user_regs_struct.
51783 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51784
51785 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51786
51787 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51788 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51789
51790 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51791
51792 [BZ #16958]
51793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51794 membar to avoid block loads/stores to overlap previous stores.
51795
51796 2014-05-17 Richard Henderson <rth@redhat.com>
51797
51798 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51799 Create the __##syscall_name##_nocancel entry point.
51800 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51801 Remove; let the sysdep-cancel.h code create it.
51802
51803 2014-05-17 David S. Miller <davem@davemloft.net>
51804
51805 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51806 Protect with __USE_GNU.
51807 (TIOCSET_TEMPT): Likewise.
51808 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51809 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51810 these are already provided in bits/ioctl-types.h
51811
51812 2014-05-16 Roland McGrath <roland@hack.frob.com>
51813
51814 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51815 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51816
51817 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51818 Use wait4 regardless of [__NR_waitpid].
51819
51820 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51821
51822 PR libgcc/60166
51823 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51824 (_FP_NANSIGN_Q): Set the quiet bit.
51825
51826 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51827
51828 * benchtests/Makefile
51829 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51830 not $(common-objpfx)math/libm.so.
51831 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51832 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51833 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51834 $(common-objpfx)dlfcn/libdl.so.
51835 ($(objpfx)tst-audit8): Depend on $(libm), not
51836 $(common-objpfx)math/libm.so.
51837 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51838 not $(common-objpfx)dlfcn/libdl.so.
51839 * math/Makefile
51840 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51841 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51842 [$(build-shared) = yes].
51843 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51844 $(common-objpfx)nptl/libpthread.so.
51845 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51846 $(common-objpfx)math/libm.so$(libm.so-version) or
51847 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51848 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51849 $(common-objpfx)dlfcn/libdl.so.
51850 * setjmp/Makefile (link-libm): Remove variable.
51851 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51852 * stdio-common/Makefile (link-libm): Remove variable.
51853 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51854 * stdlib/Makefile (link-libm): Remove variable.
51855 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51856 ($(objpfx)tst-strtod-round): Likewise.
51857 ($(objpfx)tst-tininess): Likewise.
51858 ($(objpfx)tst-strtod-underflow): Likewise.
51859 ($(objpfx)tst-strtod6): Likewise.
51860 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51861 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51862 $(common-objpfx)dlfcn/libdl.so.
51863
51864 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51865
51866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51867 BSD terminal modes definitions.
51868
51869 2014-05-16 Roland McGrath <roland@hack.frob.com>
51870
51871 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51872 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51873
51874 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51875 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51876 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51877 Don't do #include_next.
51878 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51879 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51880 Don't do #include_next.
51881 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51882 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51883 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51884 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51885
51886 2014-05-16 Allan McRae <allan@archlinux.org>
51887
51888 * po/sv.po: Update Swedish translation from translation project.
51889
51890 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51891 in sed expression.
51892
51893 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51894
51895 [BZ #16917]
51896 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51897 errno if the TIOCGPTN ioctl fails with an error different than
51898 EINVAL.
51899 * login/tst-ptsname.c: New file.
51900 * login/Makefile (tests): Add tst-ptsname.
51901
51902 [BZ #16943]
51903 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51904 and prlimit64.
51905
51906 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51907
51908 [BZ #16849]
51909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51910 herrno to return EAI_AGAIN.
51911
51912 2014-05-14 Roland McGrath <roland@hack.frob.com>
51913
51914 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51915 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51916 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51917 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51918 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51919 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51920 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51921 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51923 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51924 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51925 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51926 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51927 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51928 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51929 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51930 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51931 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51932 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51933 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51934 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51935 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51936 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51937 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51938 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51939 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51940 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51941 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51942 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51943 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51945 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51947 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51949 Moved ...
51950 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51952 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51954 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51956 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51958 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51960 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51962 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51964 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51966 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51968 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51970 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51972 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51974 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51976 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51978 Moved ...
51979 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51981 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51983 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51985 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51987 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51989 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51991 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51993 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51995 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51997 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51999 Moved ...
52000 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52002 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52003
52004 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52005 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52006 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52007 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52008 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52009 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52010 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52011 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52012 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52013 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52014 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52015 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52016 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52017 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52018 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52019 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52020 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52021 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52022 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52023 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52024 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52025 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52026 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52027 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52028 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52029 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52030 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52031 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52032 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52033 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52034 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52035
52036 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52037 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52038
52039 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52040 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52041 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52042 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52043 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52045 Moved ...
52046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52048 Moved ...
52049 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52051 Moved ...
52052 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52053 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52054 Moved ...
52055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52056 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52057 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52058 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52059 Moved ...
52060 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52061 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52062 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52063 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52064 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52065 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52066 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52067 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52068 Moved ...
52069 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52070 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52071 Moved ...
52072 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52073 ... here.
52074 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52075 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52076 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52077 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52078 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52079 Moved ...
52080 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52081 ... here.
52082 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52083 Moved ...
52084 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52085 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52086 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52087 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52088 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52090 Moved ...
52091 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52093 Moved ...
52094 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52096 Moved ...
52097 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52098 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52099 Moved ...
52100 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52101 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52102 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52103 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52104 Moved ...
52105 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52106 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52107 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52108 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52109 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52110 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52111 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52112 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52113 Moved ...
52114 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52115 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52116 Moved ...
52117 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52118 ... here.
52119 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52120 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52121 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52122 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52123 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52124 Moved ...
52125 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52126 ... here.
52127 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52128 Moved ...
52129 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52130 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52131 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52132 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52133 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52134 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52135 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52136 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52137 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52139 Moved ...
52140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52142 Moved ...
52143 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52145 Moved ...
52146 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52148 Moved ...
52149 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52150 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52151 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52152 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52153 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52154 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52155 Moved ...
52156 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52157 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52158 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52160 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52161 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52162 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52163 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52164 Moved ...
52165 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52166 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52167 Moved ...
52168 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52169 ... here.
52170 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52171 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52172 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52173 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52174 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52175 Moved ...
52176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52177 ... here.
52178 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52179 Moved ...
52180 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52181 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52182 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52183 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52184 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52185 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52186 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52187 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52188 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52189 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52190 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52191
52192 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52193 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52194
52195 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52196 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52197
52198 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52199 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52200 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52201 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52202 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52203 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52204 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52205 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52206 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52207 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52208 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52209 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52211 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52212 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52214 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52216 Moved ...
52217 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52218 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52219 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52221 Moved ...
52222 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52224 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52226 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52230 Moved ...
52231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52233 Moved ...
52234 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52237 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52239 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52240 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52241 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52242 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52243 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52244 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52245 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52246 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52247 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52248 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52249 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52250 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52251
52252 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52253 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52254 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52255 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52256 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52257
52258 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52259 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52260 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52261 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52262 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52263 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52264 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52265 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52266 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52267 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52268
52269 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52270 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52271
52272 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52273 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52274 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52275 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52276 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52277 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52278 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52279 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52280 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52281 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52282 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52283 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52284 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52285 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52287 Update #include.
52288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52289 Likewise.
52290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52291 Likewise.
52292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52293 Likewise.
52294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52295 Likewise.
52296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52297 Likewise.
52298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52299 Likewise.
52300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52301 Likewise.
52302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52303 Likewise.
52304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52305 Likewise.
52306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52311 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52312 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52314 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52316 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52317 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52318 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52319 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52320 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52321
52322 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52323 that was previously under [RESET_PID].
52324 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52325 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52326 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52327
52328 * sysdeps/i386/nptl/Implies: New file.
52329 * sysdeps/x86_64/nptl/Implies: New file.
52330 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52331 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52332 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52333 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52334
52335 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52336 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52337 (__libc_vfork): New strong alias.
52338 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52339 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52340
52341 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52342 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52343 (__libc_vfork): New strong alias.
52344 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52345 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52346
52347 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52348 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52349 (__libc_vfork): New strong alias.
52350 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52351 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52352 * nptl/pt-vfork.c: New file.
52353 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52354 (libpthread: GLIBC_2.20): New version set (empty).
52355
52356 2014-05-14 Will Newton <will.newton@linaro.org>
52357
52358 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52359 rather than #if.
52360
52361 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52362
52363 [BZ #16564]
52364 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52365 arguments with exponent 65 or above.
52366 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52367 arguments 0x1p113L or above.
52368 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52369 to arguments 0x1p107L or above.
52370 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52371 positive arguments with exponent 65 or above.
52372 * math/auto-libm-test-in: Add more tests of log1p.
52373 * math/auto-libm-test-out: Regenerated.
52374
52375 [BZ #16928]
52376 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52377 non-finite arguments is +0.
52378 * math/s_cacosf.c (__cacosf): Likewise.
52379 * math/s_cacosl.c (__cacosl): Likewise.
52380 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52381 * sysdeps/i386/fpu/libm-test-ulps: Update.
52382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52383
52384 [BZ #16927]
52385 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52386 value.
52387 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52388 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52389 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52390 for explicit high bit of mantissa when testing for argument equal
52391 to 1.
52392 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52393 * sysdeps/i386/fpu/libm-test-ulps: Update.
52394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52395
52396 [BZ #16516]
52397 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52398 (__erf): Scale by 16 instead of 8 in potentially underflowing
52399 case. Ensure exception if result actually underflows.
52400 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52401 (__erff): Scale by 16 instead of 8 in potentially underflowing
52402 case. Ensure exception if result actually underflows.
52403 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52404 (efx8): Remove variable.
52405 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52406 case. Ensure exception if result actually underflows.
52407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52408 (efx8): Remove variable.
52409 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52410 case. Ensure exception if result actually underflows.
52411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52412 (efx8): Remove variable.
52413 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52414 case. Ensure exception if result actually underflows.
52415 * math/auto-libm-test-in: Add more tests of erf.
52416 * math/auto-libm-test-out: Regenerated.
52417
52418 2014-05-14 Andreas Schwab <schwab@suse.de>
52419
52420 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52421 Remove code conditionalized on USE___THREAD.
52422
52423 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52424 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52425 not definedness.
52426
52427 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52428
52429 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52430 Define unconditionally.
52431 (__ASSUME_O_CLOEXEC): Likewise.
52432 (__ASSUME_SOCK_CLOEXEC): Likewise.
52433 (__ASSUME_IN_NONBLOCK): Likewise.
52434 (__ASSUME_PIPE2): Likewise.
52435 (__ASSUME_EVENTFD2): Likewise.
52436 (__ASSUME_SIGNALFD4): Likewise.
52437 (__ASSUME_DUP3): Likewise.
52438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52439 (__ASSUME_DUP3): Do not define.
52440 (__ASSUME_EVENTFD2): Likewise.
52441 (__ASSUME_IN_NONBLOCK): Likewise.
52442 (__ASSUME_O_CLOEXEC): Likewise.
52443 (__ASSUME_PIPE2): Likewise.
52444 (__ASSUME_SIGNALFD4): Likewise.
52445 (__ASSUME_SOCK_CLOEXEC): Likewise.
52446 (__ASSUME_UTIMES): Undefine.
52447 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52448 (__ASSUME_UTIMES): Do not define.
52449 (__ASSUME_O_CLOEXEC): Likewise.
52450 (__ASSUME_SOCK_CLOEXEC): Likewise.
52451 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52452 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52453 0x020621].
52454 (__ASSUME_PIPE2): Likewise.
52455 (__ASSUME_EVENTFD2): Likewise.
52456 (__ASSUME_SIGNALFD4): Likewise.
52457 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52458 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52459 Do not define.
52460 (__ASSUME_EVENTFD2): Likewise.
52461 (__ASSUME_SIGNALFD4): Likewise.
52462 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52463 (__ASSUME_32BITUIDS): Likewise.
52464 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52465 (__ASSUME_IPC64): Likewise.
52466 (__ASSUME_ST_INO_64_BIT): Likewise.
52467 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52468 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52469 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52470 (__ASSUME_UTIMES): Do not define.
52471 (__ASSUME_PSELECT): Likewise.
52472 (__ASSUME_PPOLL): Likewise.
52473 (__ASSUME_O_CLOEXEC): Likewise.
52474 (__ASSUME_SOCK_CLOEXEC): Likewise.
52475 (__ASSUME_IN_NONBLOCK): Likewise.
52476 (__ASSUME_PIPE2): Likewise.
52477 (__ASSUME_EVENTFD2): Likewise.
52478 (__ASSUME_SIGNALFD4): Likewise.
52479 (__ASSUME_DUP3): Likewise.
52480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52481 (__ASSUME_UTIMES): Likewise.
52482 (__ASSUME_O_CLOEXEC): Likewise.
52483 (__ASSUME_SOCK_CLOEXEC): Likewise.
52484 (__ASSUME_IN_NONBLOCK): Likewise.
52485 (__ASSUME_PIPE2): Likewise.
52486 (__ASSUME_EVENTFD2): Likewise.
52487 (__ASSUME_SIGNALFD4): Likewise.
52488 (__ASSUME_DUP3): Likewise.
52489 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52490 (__ASSUME_UTIMES): Likewise.
52491 (__ASSUME_O_CLOEXEC): Likewise.
52492 (__ASSUME_SOCK_CLOEXEC): Likewise.
52493 (__ASSUME_IN_NONBLOCK): Likewise.
52494 (__ASSUME_PIPE2): Likewise.
52495 (__ASSUME_EVENTFD2): Likewise.
52496 (__ASSUME_SIGNALFD4): Likewise.
52497 (__ASSUME_DUP3): Likewise.
52498 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52499 Likewise.
52500 (__ASSUME_UTIMES): Likewise.
52501 (__ASSUME_EVENTFD2): Likewise.
52502 (__ASSUME_SIGNALFD4): Likewise.
52503 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52504 (__ASSUME_O_CLOEXEC): Likewise.
52505 (__ASSUME_SOCK_CLOEXEC): Likewise.
52506 (__ASSUME_IN_NONBLOCK): Likewise.
52507 (__ASSUME_PIPE2): Likewise.
52508 (__ASSUME_EVENTFD2): Likewise.
52509 (__ASSUME_SIGNALFD4): Likewise.
52510 (__ASSUME_DUP3): Likewise.
52511 (__ASSUME_UTIMES): Undefine.
52512
52513 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52514 feclearexcept. Remove symbol versioning code.
52515 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52516 symbol versioning code.
52517 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52518 symbol versioning code.
52519 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52520 feupdateenv. Remove symbol versioning code.
52521 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52522 fegetexceptflag. Remove symbol versioning code.
52523 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52524 fesetexceptflag. Remove symbol versioning code.
52525 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52526 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52527 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52528 (__posix_fadvise64_l32): Remove prototype.
52529 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52530 code.
52531
52532 2014-05-13 Roland McGrath <roland@hack.frob.com>
52533
52534 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52535 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52536 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52537 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52538
52539 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52540
52541 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52542 current working directory
52543
52544 2014-05-13 Roland McGrath <roland@hack.frob.com>
52545
52546 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52547 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52548 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52549 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52550 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52551 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52552 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52553 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52554 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52555 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52556 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52557 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52558 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52559 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52560 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52561 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52562 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52563 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52564 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52565 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52566 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52567 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52568 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52569 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52570 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52571 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52572 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52573 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52574 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52575 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52576 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52577 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52578 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52579 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52580 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52581 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52582 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52583 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52584 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52585 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52586 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52587 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52588
52589 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52590 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52591
52592 * sysdeps/unix/sysv/linux/arm/Makefile
52593 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52594 Add rt-aeabi_unwind_cpp_pr1.
52595 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52596 Add nptl-aeabi_unwind_cpp_pr1.
52597 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52598 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52599 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52600 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52601 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52602 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52603
52604 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52605 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52606 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52607 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52608
52609 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52610 Deconditionalize the code that was previously under [RESET_PID].
52611 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52612
52613 * sysdeps/generic/exit-thread.h: New file.
52614 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52615 * include/unistd.h (__exit_thread): Remove declaration.
52616 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52617 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52618 * csu/libc-start.c: Include <exit-thread.h>.
52619 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52620 * nptl/pthread_create.c: Include <exit-thread.h>.
52621 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52622 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52623 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52624 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52625 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52626 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52627 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52628 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52629 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52630 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52631 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52632 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52633 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52634 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52635 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52636 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52637 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52638
52639 2014-05-13 Andreas Schwab <schwab@suse.de>
52640
52641 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52642
52643 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52644
52645 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52646 (__ASSUME_UTIMES): Do not condition on kernel version.
52647 (__ASSUME_PSELECT): Define unconditionally.
52648 (__ASSUME_PPOLL): Likewise.
52649 (__ASSUME_ATFCTS): Likewise.
52650 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52651 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52652 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52653 (__ASSUME_UTIMENSAT): Define unconditionally.
52654 (__ASSUME_PRIVATE_FUTEX): Likewise.
52655 (__ASSUME_FALLOCATE): Likewise.
52656 (__ASSUME_O_CLOEXEC): Likewise.
52657 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52658 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52659 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52660 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52661 (__ASSUME_IN_NONBLOCK): Likewise.
52662 (__ASSUME_PIPE2): Likewise.
52663 (__ASSUME_EVENTFD2): Likewise.
52664 (__ASSUME_SIGNALFD4): Likewise.
52665 (__ASSUME_DUP3): Likewise.
52666 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52667 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52668 (__ASSUME_AT_RANDOM): Likewise.
52669 (__ASSUME_PREADV): Likewise.
52670 (__ASSUME_PWRITEV): Likewise.
52671 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52672 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52673 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52674 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52675 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52676 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52677 (__ASSUME_O_CLOEXEC): Define unconditionally.
52678 (__ASSUME_PSELECT): Do not undefine conditionally.
52679 (__ASSUME_PPOLL): Likewise.
52680 (__ASSUME_ATFCTS): Likewise.
52681 (__ASSUME_SET_ROBUST_LIST): Likewise.
52682 (__ASSUME_UTIMENSAT): Likewise.
52683 (__ASSUME_FDATASYNC): Define unconditionally.
52684 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52685 (__ASSUME_SIGFRAME_V2): Likewise.
52686 )__ASSUME_EVENTFD2): Likewise.
52687 (__ASSUME_SIGNALFD4): Likewise.
52688 (__ASSUME_PSELECT): Do not undefine conditionally.
52689 (__ASSUME_PPOLL): Likewise.
52690 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52691 (__ASSUME_PSELECT): Define unconditionally.
52692 (__ASSUME_PPOLL): Likewise.
52693 (__ASSUME_O_CLOEXEC): Likewise.
52694 (__ASSUME_SOCK_CLOEXEC): Likewise.
52695 (__ASSUME_IN_NONBLOCK): Likewise.
52696 (__ASSUME_PIPE2): Likewise.
52697 (__ASSUME_EVENTFD2): Likewise.
52698 (__ASSUME_SIGNALFD4): Likewise.
52699 (__ASSUME_DUP3): Likewise.
52700 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52701 (__ASSUME_O_CLOEXEC): Likewise.
52702 (__ASSUME_SOCK_CLOEXEC): Likewise.
52703 (__ASSUME_IN_NONBLOCK): Likewise.
52704 (__ASSUME_PIPE2): Likewise.
52705 (__ASSUME_EVENTFD2): Likewise.
52706 (__ASSUME_SIGNALFD4): Likewise.
52707 (__ASSUME_DUP3): Likewise.
52708 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52709 (__ASSUME_EVENTFD2): Likewise.
52710 (__ASSUME_SIGNALFD4): Likewise.
52711 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52712
52713 2014-05-12 Andreas Schwab <schwab@suse.de>
52714
52715 [BZ #16932]
52716 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52717 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52718 than maximum RPC packet size.
52719 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52720 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52721 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52722 (_nss_nis_getservbyport_r): Likewise.
52723
52724 2014-05-12 Will Newton <will.newton@linaro.org>
52725
52726 * malloc/Makefile (tests): Add tst-mallopt.
52727 * malloc/tst-mallopt.c: New file.
52728
52729 2014-05-09 Roland McGrath <roland@hack.frob.com>
52730
52731 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52732 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52733
52734 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52735
52736 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52737 (tst-tlsmod6.so): Likewise.
52738
52739 2014-05-09 Roland McGrath <roland@hack.frob.com>
52740
52741 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52742
52743 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52744
52745 [BZ #16064]
52746 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52747 and <dl-procinfo.h>.
52748 (__fegetenv): Save SSE state in envp->__eip if supported.
52749 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52750 envp->__eip if supported.
52751 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52752 and <dl-procinfo.h>.
52753 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52754 __data_offset and __data_selector in environment to 0. Set SSE
52755 state if supported.
52756 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52757 test-fenv-sse.
52758 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52759 -mfpmath=sse.
52760 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52761
52762 2014-05-09 Will Newton <will.newton@linaro.org>
52763
52764 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52765 and libc_relro_required for ARM.
52766 * sysdeps/arm/preconfigure: Regenerate.
52767
52768 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52769 Stefan Liebler <stli@linux.vnet.ibm.com>
52770
52771 * config.make.in (enable-lock-elision): New Makefile variable.
52772 * configure.ac: Likewise.
52773 * configure: Regenerate.
52774 * sysdeps/s390/configure.ac:
52775 Add check for gcc transactions support.
52776 * sysdeps/s390/configure: Regenerate.
52777 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52778 Build elision files if enabled.
52779 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52780 Add lock elision support for s390.
52781 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52782 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52783 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52784 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52785 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52786 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52787 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52788 Likewise.
52789 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52790 Likewise.
52791 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52792 Likewise.
52793 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52794 Likewise.
52795 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52796 (__lll_timedlock_elision, __lll_lock_elision)
52797 (__lll_unlock_elision, __lll_trylock_elision)
52798 (lll_timedlock_elision, lll_lock_elision)
52799 (lll_unlock_elision, lll_trylock_elision): Add.
52800 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52801 (pthread_mutex_t): Add lock elision support for s390.
52802
52803 2014-05-14 Wilco <wdijkstr@arm.com>
52804
52805 * sysdeps/arm/fclrexcpt.c: Cleanup.
52806 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52807 * sysdeps/arm/feenablxcpt.c: Cleanup.
52808 * sysdeps/arm/fegetenv.c: Cleanup.
52809 * sysdeps/arm/fegetexcept.c: Cleanup.
52810 * sysdeps/arm/fegetround.c: Cleanup.
52811 * sysdeps/arm/feholdexcpt.c: Cleanup.
52812 * sysdeps/arm/fesetenv.c: Cleanup.
52813 * sysdeps/arm/fesetround.c: Cleanup.
52814 * sysdeps/arm/feupdateenv.c: Cleanup.
52815 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52816 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52817 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52818 * sysdeps/arm/ftestexcept.c: Cleanup.
52819 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52820 * sysdeps/arm/setfpucw.c: Cleanup.
52821
52822 2014-05-09 Will Newton <will.newton@linaro.org>
52823
52824 * sysdeps/arm/armv7/strcmp.S: New file.
52825 * NEWS: Mention addition of ARMv7 optimized strcmp.
52826
52827 2014-05-08 Roland McGrath <roland@hack.frob.com>
52828
52829 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52830 look for %.ac rather than %.in.
52831
52832 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52833 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52834 * sysdeps/mach/hurd/configure: Regenerated.
52835 * sysdeps/unix/sysv/linux/configure: Regenerated.
52836
52837 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52838
52839 2014-05-07 Steve Ellcey <sellcey@mips.com>
52840
52841 [BZ #16922]
52842 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52843 (LONG_SUB): Ditto.
52844 (PTR_SUB): Ditto.
52845
52846 2014-05-07 Andreas Schwab <schwab@suse.de>
52847
52848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52849 when skipping over non-matching result from nscd.
52850
52851 2014-05-07 Ondƙej Bílka <neleai@seznam.cz>
52852
52853 [BZ #16876]
52854 * nptl/sockperf.c (client): Check socket return value.
52855
52856 [BZ #16877]
52857 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52858 nscd security class.
52859
52860 2014-05-06 Roland McGrath <roland@hack.frob.com>
52861
52862 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52863 * sysdeps/arm/unwind.h: ... here.
52864
52865 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52866
52867 [BZ #16916]
52868 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52869 Define.
52870
52871 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52872
52873 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52874 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52875 multiarch strncpy for PPC64.
52876 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52877 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52879 multiarch optimizations.
52880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52881 (__libc_ifunc_impl_list): Likewise.
52882 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52883 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52884 multiarch stpncpy for PPC64.
52885 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52886 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52887
52888 2014-05-06 Andreas Schwab <schwab@suse.de>
52889
52890 [BZ #16912]
52891 * gmon/mcount.c (_MCOUNT_DECL): Use
52892 atomic_compare_and_exchange_bool_acq instead of
52893 catomic_compare_and_exchange_bool_acq.
52894
52895 2014-05-05 Roland McGrath <roland@hack.frob.com>
52896
52897 * elf/Makefile (others, install-bin): Remove pldd.
52898 (pldd-modules): Variable removed.
52899 ($(objpfx)pldd): Target removed.
52900 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52901 (others, install-bin): Append pldd here.
52902 ($(objpfx)pldd): New target.
52903
52904 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52905 to 0, so the first #if test emitted later doesn't see it undefined.
52906 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52907 * sysdeps/gnu/errlist.c: Regenerated.
52908
52909 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52910
52911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52912 [libc_hidden_builtin_def]: Define to empty value.
52913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52914 [libc_hidden_builtin_def]: Likewise.
52915 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52916 [libc_hidden_builtin_def]: Likewise.
52917 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52918 [libc_hidden_builtin_def]: Likewise.
52919 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52920 __redirect_memcpy and define ifunc as default hidden symbol.
52921 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52922 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52923
52924 2014-05-04 Adam Conrad <adconrad@0c3.net>
52925
52926 * locale/iso-4217.def: Reintroduce XDR currency.
52927
52928 2014-05-04 Allan McRae <allan@archlinux.org>
52929
52930 * po/eo.po: Update Esperanto translation from translation project.
52931
52932 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52933
52934 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52935 and FEATURE_INDEX_MAX to 1.
52936 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52937
52938 2014-05-01 Steve Ellcey <sellcey@mips.com>
52939
52940 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52941 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52942 * iconvdata/big5.c (ONE_DIRECTION): Define.
52943 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52944 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52945 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52946 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52947 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52948 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52949 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52950 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52951 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52952 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52953 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52954 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52955 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52956 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52957 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52958 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52959 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52960 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52961 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52962 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52963 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52964 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52965 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52966 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52967 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52968 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52969 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52970 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52971 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52972 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52973 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52974 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52975 * iconvdata/johab.c (ONE_DIRECTION): Define.
52976 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52977 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52978 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52979 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52980 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52981 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52982 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52983 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52984 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52985 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52986
52987 2014-05-01 Roland McGrath <roland@hack.frob.com>
52988
52989 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52990 (_IO_JUMPS_OFFSET): Define to 0.
52991
52992 * nptl/sysdeps/pthread/bits/libc-lock.h
52993 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52994 (__libc_lock_define_initialized_recursive): Always define using
52995 initializer. Modern compilers treat uninitialized (implicit zero) and
52996 explicit zero initializers the same (i.e. put the datum in bss).
52997
52998 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52999
53000 * nscd/nscd-client.h: Include <string.h>.
53001
53002 2014-05-01 David S. Miller <davem@davemloft.net>
53003
53004 [BZ #16885]
53005 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53006 multiple zero bytes exist at the end of a string.
53007 Reported by Aurelien Jarno <aurelien@aurel32.net>
53008
53009 * string/test-strcmp.c (check): Add explicit test for situations where
53010 there are multiple zero bytes after the first.
53011
53012 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53013
53014 [BZ #16890]
53015 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53016 when compiling wprintf.
53017 * stdio-common/tstdiomisc.c (t3): New function.
53018 (main): Call it.
53019
53020 2014-05-01 Steve Ellcey <sellcey@mips.com>
53021
53022 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53023 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53024 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53025 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53026
53027 2014-05-01 Steve Ellcey <sellcey@mips.com>
53028
53029 * stdlib/longlong.h: Updated from GCC.
53030
53031 2014-05-01 Will Newton <will.newton@linaro.org>
53032 Bernard Ogden <bernie.ogden@linaro.org>
53033
53034 * NEWS: Update fixed bug list.
53035
53036 [BZ #15119]
53037 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53038
53039 2014-04-30 David S. Miller <davem@davemloft.net>
53040
53041 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53042 (libc_feholdexcept_setround_sparc_ctx): New function.
53043 (libc_fesetenv_sparc_ctx): Likewise.
53044 (libc_feupdateenv_sparc_ctx): Likewise.
53045 (libc_feholdsetround_sparc_ctx): Likewise.
53046 (libc_feholdexcept_setround_ctx): Define.
53047 (libc_feholdexcept_setroundf_ctx): Likewise.
53048 (libc_feholdexcept_setroundl_ctx): Likewise.
53049 (libc_fesetenv_ctx): Likewise.
53050 (libc_fesetenvf_ctx): Likewise.
53051 (libc_fesetenvl_ctx): Likewise.
53052 (libc_feupdateenv_ctx): Likewise.
53053 (libc_feupdateenvf_ctx): Likewise.
53054 (libc_feupdateenvl_ctx): Likewise.
53055 (libc_feresetround_ctx): Likewise.
53056 (libc_feresetroundf_ctx): Likewise.
53057 (libc_feresetroundl_ctx): Likewise.
53058 (libc_feholdsetround_ctx): Likewise.
53059 (libc_feholdsetroundf_ctx): Likewise.
53060 (libc_feholdsetroundl_ctx): Likewise.
53061
53062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53063 with __USE_GNU instead of XOPEN cpp guards.
53064
53065 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53066 0.
53067
53068 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53069 with XOPEN cpp guards.
53070
53071 2014-04-30 Julian Brown <julian@codesourcery.com>
53072
53073 [BZ #16888]
53074 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53075 handling.
53076
53077 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53078
53079 [BZ #9894]
53080 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53081 Change to 2.6.32.
53082 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53083 * sysdeps/unix/sysv/linux/configure: Regenerated.
53084 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53085 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53086 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53087 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53088 * README: Update reference to required Linux kernel version.
53089 * manual/install.texi (Linux): Update reference to required Linux
53090 kernel headers version.
53091 * INSTALL: Regenerated.
53092
53093 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53094 header inclusion.
53095 [POSIX] (limits.h): Likewise.
53096 [POSIX] (math.h): Likewise.
53097 [POSIX] (sys/wait.h): Likewise.
53098 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53099 function.
53100 [POSIX] (stddef.h): Do not allow header inclusion.
53101
53102 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53103
53104 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53105
53106 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53107
53108 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53109 Return immediately after lll_futex_wake.
53110
53111 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53112
53113 [BZ #16791]
53114 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53115 structure.
53116 (datahead_init_pos): Call datahead_init_common early.
53117 (datahead_init_neg): Likewise.
53118
53119 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53120 datahead_init_neg): New functions.
53121 * nscd/aicache.c (addhstaiX): Use them.
53122 * nscd/grpcache.c (cache_addgr): Likewise.
53123 * nscd/hstcache.c (cache_addhst): Likewise.
53124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53125 * nscd/netgroupcache.c (do_notfound): Likewise.
53126 (addgetnetgrentX): Likewise.
53127 (addinnetgrX): Likewise.
53128 * nscd/pwdcache.c (cache_addpw): Likewise.
53129 * nscd/servicescache.c (cache_addserv): Likewise.
53130
53131 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53132 Atsushi Onoe <atsushi@onoe.org>
53133
53134 [BZ #14308]
53135 [BZ #12994]
53136 [BZ #13651]
53137 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53138 one response is valid.
53139 * resolv/res_send.c (send_dg): Check for validity of other
53140 response if the current response is a referral.
53141
53142 2014-04-29 Steve Ellcey <sellcey@mips.com>
53143
53144 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53145
53146 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53147
53148 [BZ #16823]
53149 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53150 Always divide by positive zero when computing -Inf result.
53151 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53152 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53153
53154 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53155
53156 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53157 FPSCR if value do not change.
53158 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53159 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53160 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53161 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53162 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53163 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53164 function.
53165
53166 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53167
53168 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53169 * sysdeps/unix/sysv/linux/hppa: Move directory from
53170 ports/systeps/unix/sysv/linux/hppa.
53171 * README: Update listing for hppa-*-linux-gnu.
53172
53173 2014-04-28 Ondƙej Bílka <neleai@seznam.cz>
53174
53175 [BZ #16754]
53176 * manual/stdio.texi (Hook functions): Fix types of stream hook
53177 functions.
53178 [BZ #16854]
53179 * socket/sys/socket.h: Fix typo in comment.
53180
53181 2014-04-28 Wilco <wdijkstr@arm.com>
53182
53183 * sysdeps/arm/fenv_private.h: New file.
53184 * sysdeps/arm/math_private.h: New file.
53185 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53186
53187 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53188
53189 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53190 with __int128_t.
53191 (La_x86_64_retval): Likewise.
53192
53193 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53194
53195 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53196 fpsr if value didn't change.
53197 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53198 to fpcr if value didn't change.
53199 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53200 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53201 fpsr or fpcr if value didn't change.
53202 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53203 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53204 fpcr if value didn't change.
53205 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53206 to fpsr if value didn't change.
53207
53208 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53209
53210 * nptl/tst-sem3.c: Use test-skeleton.c
53211 (main): Rename to do_test. Use return instead of
53212 exit.
53213 * nptl/tst-sem4.c: Use test-skeleton.c
53214 (main): Rename to do_test.
53215
53216 2014-04-22 David S. Miller <davem@davemloft.net>
53217
53218 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53219 (struct sigaction): New struct member __glibc_reserved0, change
53220 type of sa_flags to int.
53221
53222 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53223
53224 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53225 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53226
53227 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53228
53229 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53230 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53231
53232 2014-04-22 Will Newton <will.newton@linaro.org>
53233 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53234
53235 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53236 (__longjmp): Add longjmp and longjmp_target SystemTap
53237 probes.
53238 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53239 (__sigsetjmp): Add setjmp SystemTap probe.
53240
53241 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53242
53243 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53244 match manual order.
53245
53246 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53247
53248 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53249
53250 * sysdeps/powerpc/fpu/fenv_private.h
53251 (libc_feholdexcept_setroundl_ctx): Define to
53252 libc_feholdexcept_setround_ppc_ctx.
53253 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53254 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53255 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53256 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53257
53258 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53259
53260 * sysdeps/aarch64/math-tests.h: New file.
53261
53262 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53263
53264 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53265 New.
53266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53267 Check and set bit_AVX2_Usable.
53268 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53269 macro.
53270 (bit_AVX2): Likewise.
53271 (index_AVX2_Usable): Likewise.
53272 (CPUID_AVX2): Likewise.
53273 (HAS_AVX2): Likewise.
53274
53275 2014-04-17 Will Newton <will.newton@linaro.org>
53276
53277 * manual/setjmp.texi (System V contexts): Add note that
53278 calling setcontext on a context created by a call to a
53279 signal handler is undefined. Update text to note that
53280 setcontext from a signal handler is possible but not
53281 recommended.
53282
53283 [BZ #16629]
53284 * stdlib/tst-setcontext.c: Include signal.h.
53285 (main): Check that the signal stack before and
53286 after swapcontext is the same.
53287
53288 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53289 Re-implement to restore registers in user code and avoid
53290 rt_sigreturn system call.
53291
53292 2014-04-17 Wilco <wdijkstr@arm.com>
53293
53294 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53295 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53296 * math/test-fenv.c: Skip exception trap tests on targets which only
53297 support non-stop mode.
53298
53299 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53300 Wilco Dijkstra <wilco.dijkstra@arm.com>
53301
53302 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53303 (libc_feholdsetround_aarch64_ctx)
53304 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53305 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53306 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53307 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53308 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53309 (libc_feresetround_noexl_ctx): Define.
53310
53311 2014-04-16 Richard Henderson <rth@redhat.com>
53312
53313 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53314
53315 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53316 unwind tables.
53317
53318 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53319 const from the non-libc, non-ldso copy.
53320
53321 * sysdeps/alpha/libm-test-ulps: Regenerate.
53322
53323 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53324 Wilco Dijkstra <wilco.dijkstra@arm.com>
53325
53326 * sysdeps/aarch64/fpu/math_private.h: New file.
53327
53328 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53329
53330 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53331
53332 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53333
53334 [BZ #16275]
53335 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53336 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53338 Intel MPX bound registers before _dl_profile_fixup.
53339 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53340 registers after _dl_profile_fixup. Save and restore bound
53341 registers bnd0/bnd1 when calling _dl_call_pltexit.
53342 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53343 (LR_BND_OFFSET): Likewise.
53344 (LRV_BND0_OFFSET): Likewise.
53345 (LRV_BND1_OFFSET): Likewise.
53346
53347 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53348
53349 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53350 to...
53351 * sysdeps/mach/hurd/i386/tls.h: ... here.
53352 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53353 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53354 fields.
53355
53356 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53357
53358 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53359
53360 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53361
53362 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53363
53364 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53365
53366 [BZ #14770]
53367 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53368 * sysdeps/s390/configure: Regenerate.
53369
53370 [BZ #16824]
53371 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53372 Set round-to-nearest internally to reduce error accumulation.
53373
53374 2014-04-16 Alan Modra <amodra@gmail.com>
53375
53376 [BZ #16740]
53377 [BZ #16619]
53378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53379 * math/libm-test.inc (frexp_test_data): Add tests.
53380 * NEWS: Update fixed bug list.
53381
53382 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53383
53384 * benchtests/Makefile: Depend on libraries in build directory.
53385 (bench-math): Separate out math tests.
53386 (bench-pthread): Separate out pthread tests.
53387 (bench): Include math and pthread tests.
53388
53389 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53390
53391 [BZ #16831]
53392 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53393 _dl_debug_initialize.
53394
53395 * configure.ac: Remove SELinux header check.
53396 * configure: Regenerate.
53397 * nscd/selinux.c (perms): Array of const char* to permission names.
53398 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53399 default policy. Call string_to_security_class and string_to_av_perm to
53400 translate strings. Enforce default policy and call avs_has_perm with
53401 results of translated strings.
53402
53403 2014-04-13 David S. Miller <davem@davemloft.net>
53404
53405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53406
53407 2014-04-12 Allan McRae <allan@archlinux.org>
53408
53409 [BZ #16838]
53410 * manual/string.texi (Collation Functions): Fix qsort argument
53411 order in example.
53412 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53413
53414 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53415
53416 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53417 Make the test a no-op if there are no exceptions defined.
53418
53419 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53420
53421 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53422 enable-hardcoded-path-in-tests
53423
53424 2014-04-11 Will Newton <will.newton@linaro.org>
53425
53426 * benchtests/Makefile (extra-objs): Add json-lib.o.
53427 (bench-func): Tidy up JSON output.
53428 * benchtests/bench-skeleton.c: Include json-lib.h.
53429 (main): Use JSON library functions to do output of
53430 benchmark results.
53431 * benchtests/bench-timing-type.c (main): Output the
53432 timing type simply, leaving formatting to the user.
53433 * benchtests/json-lib.c: New file.
53434 * benchtests/json-lib.h: Likewise.
53435
53436 2014-04-11 Torvald Riegel <triegel@redhat.com>
53437
53438 [BZ #15215]
53439 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53440 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53441 memory barriers. Add comments.
53442 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53443 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53444 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53445 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53446 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53447 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53448
53449 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53450
53451 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53452 * sysdeps/s390/s390-64/configure.ac: ... this ...
53453 * sysdeps/s390/configure.ac: ... to here.
53454 * sysdeps/s390/s390-32/configure: Delete file.
53455 * sysdeps/s390/s390-64/configure: Delete file.
53456 * sysdeps/s390/configure: Regenerate.
53457
53458 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53459
53460 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53461
53462 2014-04-11 Will Newton <will.newton@linaro.org>
53463
53464 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53465 to zero if it is not defined elsewhere. (mtrim): Test
53466 the value of MALLOC_DEBUG with #if rather than #ifdef.
53467
53468 2014-04-10 Torvald Riegel <triegel@redhat.com>
53469
53470 * benchtests/pthread_once-inputs: New file.
53471 * benchtests/pthread_once-source.c: New file.
53472 * benchtests/README: Update documentation.
53473
53474 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53475 H.J. Lu <hongjiu.lu@intel.com>
53476
53477 [BZ #16275]
53478 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53479 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53480 * sysdeps/x86_64/configure: Regenerated.
53481 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53482 macro.
53483 (REGISTER_SAVE_RAX): Likewise.
53484 (REGISTER_SAVE_RCX): Likewise.
53485 (REGISTER_SAVE_RDX): Likewise.
53486 (REGISTER_SAVE_RSI): Likewise.
53487 (REGISTER_SAVE_RDI): Likewise.
53488 (REGISTER_SAVE_R8): Likewise.
53489 (REGISTER_SAVE_R9): Likewise.
53490 (REGISTER_SAVE_BND0): Likewise.
53491 (REGISTER_SAVE_BND1): Likewise.
53492 (REGISTER_SAVE_BND2): Likewise.
53493 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53494 bound registers when calling _dl_fixup.
53495
53496 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53497
53498 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53499 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53500 of its definition.
53501 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53502 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53503 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53504 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53505 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53506 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53507 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53508
53509 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53510
53511 [BZ #15514]
53512 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53513 pathconf(_PC_NAME_MAX).
53514
53515 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53516
53517 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53518 Remove macro usage.
53519 (__PTHREAD_SPINS): Move definition to ...
53520 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53521 (__PTHREAD_SPINS): ... here.
53522 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53523 (__PTHREAD_SPIN): Likewise.
53524 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53525 (__PTHREAD_SPIN): Likewise.
53526 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53527 (__PTHREAD_SPIN): Likewise.
53528 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53529 (__PTHREAD_SPIN): Likewise.
53530 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53531 (__PTHREAD_SPIN): Likewise.
53532 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53533 (__PTHREAD_SPIN): Likewise.
53534 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53535 (__PTHREAD_SPIN): Likewise.
53536 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53537 (__PTHREAD_SPIN): Likewise.
53538 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53539 (__PTHREAD_SPIN): Likewise.
53540 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53541 (__PTHREAD_SPIN): Likewise.
53542 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53543 (__PTHREAD_SPIN): Likewise.
53544 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53545 (__PTHREAD_SPIN): Likewise.
53546
53547 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53548 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53549 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53550 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53551 imply folder.
53552 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53553 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53554 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53555 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53556 correct imply path.
53557 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53558 strlen symbol for non multi-arch builds.
53559 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53560 missing hidden_def and weak_alias.
53561
53562 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53563
53564 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53565
53566 2014-04-07 Will Newton <will.newton@linaro.org>
53567
53568 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53569 and contents. [!_LIBC] Remove #ifndef and contents.
53570 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53571 * string/memccpy.c (__memccpy): Use ANSI prototype.
53572 * string/memfrob.c (memfrob): Likewise.
53573 * string/strcoll.c (STRCOLL): Likewise.
53574 * string/strlen.c (strlen): Likewise.
53575 * string/strtok.c (STRTOK): Likewise.
53576 * string/strcat.c: Remove unused #include of memcopy.h.
53577 (strcat): Use ANSI prototype.
53578 * string/strchr.c: Remove unused #include of memcopy.h.
53579 (strchr): Use ANSI prototype.
53580 * string/strcmp.c: Remove unused #include of memcopy.h.
53581 (strcmp): Use ANSI prototype.
53582 * string/strcpy.c: Remove unused #include of memcopy.h.
53583 (strcpy): Use ANSI prototype.
53584
53585 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53586
53587 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53588 * config.make.in (config-extra-cppflags): Set it from
53589 libc_extra_cppflags.
53590 * configure.ac (libc_extra_cflags): Make it accumulate over
53591 configure fragments.
53592 (libc_extra_cppflags): New flag.
53593 * configure. Regenerate.
53594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53595 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53596 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53598
53599 [BZ #16815]
53600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53601 result for FE_DOWNWARD rounding mode.
53602 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53603 Likewise.
53604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53605
53606 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53607
53608 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53609 in function argument name.
53610
53611 2014-04-03 David Svoboda <svoboda@cert.org>
53612
53613 [BZ #5666]
53614 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53615 explicitly.
53616
53617 2014-04-03 Roland McGrath <roland@hack.frob.com>
53618
53619 * elf/dl-unmap-segments.h: New file.
53620 * sysdeps/generic/ldsodefs.h
53621 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53622 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53623 * elf/dl-fptr.c: Likewise.
53624 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53625 * sysdeps/aarch64/tlsdesc.c: Likewise.
53626 * sysdeps/arm/tlsdesc.c: Likewise.
53627 * sysdeps/i386/tlsdesc.c: Likewise.
53628 * sysdeps/tile/dl-runtime.c: Likewise.
53629 * sysdeps/x86_64/tlsdesc.c: Likewise.
53630 * elf/dl-load.h: New file.
53631 * elf/dl-load.c: Include it.
53632 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53633 Macros moved to dl-load.h.
53634 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53635 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53636 Use _dl_unmap_segments in place of __munmap.
53637 Break out segment-mapping loop into ...
53638 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53639
53640 2014-04-03 Will Newton <will.newton@linaro.org>
53641
53642 * elf/dl-lookup.c (do_lookup_x): Remove comment
53643 referring to nested function and move variable
53644 declarations down to before first use.
53645
53646 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53647
53648 [BZ #16799]
53649 [BZ #16800]
53650 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53651 with 0 numerator.
53652 * math/s_catanf.c (__catanf): Likewise.
53653 * math/s_catanh.c (__catanh): Likewise.
53654 * math/s_catanhf.c (__catanhf): Likewise.
53655 * math/s_catanhl.c (__catanhl): Likewise.
53656 * math/s_catanl.c (__catanl): Likewise.
53657 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53658 by positive zero when computing -Inf result.
53659 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53660 (catanh_test): Likewise.
53661 * sysdeps/i386/fpu/libm-test-ulps: Update.
53662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53663
53664 [BZ #16789]
53665 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53666 instead of using underflowing value in computing result.
53667 * math/s_clog10.c (__clog10): Likewise.
53668 * math/s_clog10f.c (__clog10f): Likewise.
53669 * math/s_clog10l.c (__clog10l): Likewise.
53670 * math/s_clogf.c (__clogf): Likewise.
53671 * math/s_clogl.c (__clogl): Likewise.
53672 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53673 (clog10_test): Likewise.
53674 * sysdeps/i386/fpu/libm-test-ulps: Update.
53675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53676
53677 2014-04-02 Alan Modra <amodra@gmail.com>
53678
53679 [BZ #16739]
53680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53681 output when value is near a power of two. Use int64_t for lx and
53682 remove casts. Use decimal rather than hex exponent constants.
53683 Don't use long double multiplication when double will suffice.
53684 * math/libm-test.inc (nextafter_test_data): Add tests.
53685 * NEWS: Add 16739 and 16786 to bug list.
53686
53687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53688
53689 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53690
53691 2014-04-01 Will Newton <will.newton@linaro.org>
53692
53693 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53694 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53695
53696 2014-04-01 Florian Weimer <fweimer@redhat.com>
53697
53698 [BZ #13347]
53699 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53700 * nptl/tst-setuid2.c: New file.
53701 * nptl/Makefile (xtests): Add tst-setuid2.
53702
53703 2014-04-01 Alan Modra <amodra@gmail.com>
53704
53705 [BZ #16786]
53706 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53707
53708 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53709
53710 [BZ #6803]
53711 [BZ #6804]
53712 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53713 set errno as appropriate.
53714 * math/w_scalbf.c (__scalbf): Likewise.
53715 * math/w_scalbl.c (__scalbl): Likewise.
53716 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53717 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53718 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53719 Add more NaN tests.
53720
53721 [BZ #16349]
53722 * math/w_atan2.c: Include <errno.h>.
53723 (__atan2): Set errno for result underflowing to zero.
53724 * math/w_atan2f.c: Include <errno.h>.
53725 (__atan2f): Set errno for result underflowing to zero.
53726 * math/w_atan2l.c: Include <errno.h>.
53727 (__atan2l): Set errno for result underflowing to zero.
53728 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53729 tests.
53730 * math/auto-libm-test-out: Regenerated.
53731
53732 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53733
53734 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53735 Encode instruction correctly in little endian.
53736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53737 Likewise.
53738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53739 Likewise.
53740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53741 Likewise.
53742 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53743 Likewise.
53744
53745 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53746
53747 [BZ #9894]
53748 * sysdeps/unix/sysv/linux/kernel-features.h
53749 [__sparc__ && !__arch64__ && !__sparc_v9__]
53750 (__ASSUME_SET_ROBUST_LIST): Do not define.
53751 [__sparc__ && !__arch64__ && !__sparc_v9__]
53752 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53753 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53754 Likewise.
53755 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53756 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53757 (__ASSUME_REQUEUE_PI): Likewise.
53758 (__ASSUME_SET_ROBUST_LIST): Likewise.
53759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53760 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53761 Undefine.
53762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53763 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53764 Likewise.
53765 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53766 Likewise.
53767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53768 Likewise.
53769 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53770 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53771 Undefine.
53772 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53773 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53774 Likewise.
53775
53776 [BZ #16648]
53777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53779 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53780
53781 2014-03-31 Will Newton <will.newton@linaro.org>
53782
53783 * benchtests/Makefile (bench): Add ffs and ffsll to list
53784 of tests.
53785 * benchtests/ffs-inputs: New file.
53786 * benchtests/ffsll-inputs: Likewise.
53787
53788 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53789
53790 [BZ #16770]
53791 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53792 too large before casting to int.
53793 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53794 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53795 * math/libm-test.inc (scalb_test_data): Add more tests.
53796
53797 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53798
53799 * benchtests/Makefile (DETAILED_OPT): New make option.
53800 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53801 set.
53802 * benchtests/bench-skeleton.c: Include stdbool.h.
53803 (main): Store and print timings per input.
53804 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53805 member to each argument value.
53806 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53807 (_print_arg_data): Initialize per-input timing to 0.
53808
53809 * benchtests/Makefile (timing-type): New binary.
53810 (bench-clean): Also remove bench-timing-type.
53811 (bench): New target for timing-type.
53812 (bench-func): Print output in JSON format.
53813 * benchtests/bench-skeleton.c (main): Print output in JSON
53814 format.
53815 * benchtests/bench-timing-type.c: New file.
53816 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53817 (TIMING_PRINT_STATS): Remove.
53818 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53819 name separately.
53820
53821 * benchtests/bench-modf.c: Remove.
53822 * benchtests/modf-inputs: New inputs file.
53823
53824 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53825
53826 [BZ #16362]
53827 * math/s_clog10.c (M_PI_LOG10E): New macro.
53828 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53829 imaginary parts are 0.
53830 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53831 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53832 imaginary parts are 0.
53833 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53834 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53835 imaginary parts are 0.
53836 * math/libm-test.inc (clog10_test_data): Update expected results
53837 for when real and imaginary parts are 0.
53838
53839 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53840
53841 * elf/dl-load.c: Finish conversion of __builtin_expect into
53842 __glibc_{un}likely.
53843
53844 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53845
53846 [BZ #16348]
53847 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53848 1+x for argument with exponent below -67.
53849 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53850 Likewise.
53851 * math/auto-libm-test-in: Add more tests of exp.
53852 * math/auto-libm-test-out: Regenerated.
53853
53854 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53855
53856 [BZ #16759]
53857 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53858 (nscd_getnetgrent): Use it.
53859
53860 [BZ #16760]
53861 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53862 of stpcpy.
53863
53864 2014-03-27 Andi Kleen <ak@linux.intel.com>
53865
53866 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53867 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53868 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53869 (lll_robust_unlock): Remove out of line section. Use cfi
53870 intrinsics.
53871 (LLL_STUB_UNWIND_INFO*): Remove.
53872 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53873 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53874 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53875 (lll_robust_unlock): Remove out of line section. Use cfi
53876 intrinsics.
53877 (LLL_STUB_UNWIND_INFO*): Remove.
53878
53879 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53880
53881 [BZ #16758]
53882 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53883 blank values.
53884
53885 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53886
53887 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53888
53889 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53890
53891 [BZ #16198]
53892 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53893 fnstenv.
53894 * math/test-fenv-preserve.c: New file.
53895 * math/Makefile (tests): Add test-fenv-preserve.
53896
53897 2014-03-26 Will Newton <will.newton@linaro.org>
53898
53899 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53900
53901 2014-03-25 Roland McGrath <roland@hack.frob.com>
53902
53903 * scripts/versionlist.awk: Partition the version sets and emit all
53904 GLIBC_* (sorted) before all others (sorted).
53905
53906 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53907
53908 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53909 GLIBC_2.2.5 version.
53910
53911 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53912
53913 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53914 calls.
53915
53916 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53917 previous change.
53918
53919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53920
53921 2014-03-25 Andreas Schwab <schwab@suse.de>
53922
53923 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53924 label to be used after in6ailist is initialized.
53925
53926 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53927
53928 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53929 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53930
53931 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53932
53933 [BZ #16357]
53934 [BZ #16599]
53935 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53936 min_plus_half.
53937 (fp_formats): Update initializers.
53938 (init_fp_formats): Initialize new field.
53939 (output_for_one_input_case): Allow underflow for results up to
53940 min_plus_half.
53941 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53942 * math/auto-libm-test-in: Don't mark some underflows from asin and
53943 atanh as spurious.
53944 * math/auto-libm-test-out: Regenerated.
53945 * sysdeps/i386/fpu/libm-test-ulps: Update.
53946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53947
53948 2014-03-25 Andreas Schwab <schwab@suse.de>
53949
53950 * libio/Makefile (tst-ftell-partial-wide-ENV)
53951 (tst-ftell-active-handler-ENV): Define.
53952
53953 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53954
53955 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53956
53957 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53958
53959 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53960
53961 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53962
53963 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53964 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53965 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53966
53967 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53968
53969 [BZ #16634]
53970 * elf/dl-load.c (open_verify): Add mode parameter.
53971 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53972 (open_path): Change from boolean 'secure' to complete flag 'mode'
53973 (_dl_map_object): Adjust.
53974 * elf/Makefile (tests): Add tst-dlopen-aout.
53975 * elf/tst-dlopen-aout.c: New test.
53976
53977 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53978
53979 [BZ #16714]
53980 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53981 (struct stat): Rename member pad0 to __glibc_reserved0.
53982
53983 [BZ #16712]
53984 * sysdeps/s390/s390-32/bits/wordsize.h
53985 (__WORDSIZE32_SIZE_ULONG): New define.
53986 * sysdeps/s390/s390-64/bits/wordsize.h
53987 (__WORDSIZE32_SIZE_ULONG): Likewise.
53988 * sysdeps/generic/stdint.h (SIZE_MAX):
53989 Define as UL if __WORDSIZE32_SIZE_ULONG.
53990
53991 [BZ #16713]
53992 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53993 (__glibc_reserved0): New variable.
53994 (sa_flags): Change type to int.
53995
53996 * posix/Makefile (before-compile): Use += before-compile instead
53997 of a :=.
53998
53999 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54000 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54001
54002 2014-03-20 Andreas Schwab <schwab@suse.de>
54003
54004 [BZ #16743]
54005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54006 non-matching result from nscd.
54007
54008 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54009
54010 * scripts/bench.py: Moved to ...
54011 * benchtests/scripts/bench.py: ... here.
54012 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54013
54014 2014-03-24 Andreas Schwab <schwab@suse.de>
54015
54016 [BZ #16002]
54017 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54018 alloca_account and account alloca use for struct in6ailist.
54019
54020 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54021
54022 [BZ #16284]
54023 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54024 rounding mode to recompute results that overflow to infinity or
54025 underflow to zero.
54026 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54027 bug 16284.
54028 * math/auto-libm-test-out: Regenerated.
54029 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54030 (ccosh_test): Likewise.
54031 (csin_test_data): Use plus_oflow.
54032 (csin_test): Use ALL_RM_TEST.
54033 (csinh_test_data): Use plus_oflow.
54034 (csinh_test): Use ALL_RM_TEST.
54035 * sysdeps/i386/fpu/libm-test-ulps: Update.
54036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54037
54038 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54039
54040 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54041 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54042 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54043
54044 [BZ #16731]
54045 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54046 when x - 1 is zero.
54047 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54048 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54049 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54051 argument is 1.
54052 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54053 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54054 zero.
54055 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54056 * sysdeps/i386/fpu/libm-test-ulps: Update.
54057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54058
54059 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54060
54061 * scripts/bench.pl: Remove file.
54062 * scripts/bench.py: New benchmark script.
54063 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54064 * benchtests/README: Mention python dependency.
54065 * scripts/pylintrc: New file.
54066 * scripts/pylint: New file.
54067
54068 * bits/mathdef.h: Use #ifdef instead of #if.
54069 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54070 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54071 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54072 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54073 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54074 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54075
54076 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54077 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54078
54079 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54081 and strpbrk-ppc64 objects.
54082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54083 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54084 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54085 multiarch strpbrk for POWER7.
54086 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54087 multiarch strpbrk for PPC64.
54088 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54089 ifunc selector.
54090 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54091 strpbrk for POWER7.
54092
54093 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54094
54095 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54096 (atan_test): Likewise.
54097 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54098 (atanh_test): Use ALL_RM_TEST.
54099 (atan2_test_data): Likewise.
54100 (cabs_test): Likewise.
54101 (cacosh_test): Likewise.
54102 (carg_test): Likewise.
54103 (casin_test): Likewise.
54104 (casinh_test): Likewise.
54105 (cbrt_test): Likewise.
54106 (csqrt_test): Likewise.
54107 (erf_test): Likewise.
54108 (erfc_test): Likewise.
54109 (pow10_test): Likewise.
54110 (exp2_test): Likewise.
54111 (hypot_test): Likewise.
54112 (j0_test): Likewise.
54113 (j1_test): Likewise.
54114 (lgamma_test): Likewise.
54115 (gamma_test): Likewise.
54116 (sincos_test): Likewise.
54117 (tanh_test): Likewise.
54118 (y0_test): Likewise.
54119 (y1_test): Likewise.
54120 * sysdeps/i386/fpu/libm-test-ulps: Update.
54121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54122
54123 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54124
54125 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54127 and strcspn-ppc64 objects.
54128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54129 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54130 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54131 multiarch strcspn for POWER7.
54132 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54133 multiarch strcspn for PPC64.
54134 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54135 ifunc selector.
54136 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54137 strcspn for POWER7.
54138
54139 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54140
54141 * math/gen-libm-test.pl (generate_testfile): Expect only function
54142 name as argument to AUTO_TESTS_* and pass results for all rounding
54143 modes to parse_args.
54144 (parse_auto_input): Separate inputs of automatic tests from
54145 outputs before storing in %auto_tests.
54146 * math/libm-test.inc (acos_test_data): Update call to
54147 AUTO_TESTS_f_f.
54148 (acos_test): Use ALL_RM_TEST.
54149 (acos_tonearest_test_data): Remove.
54150 (acos_test_tonearest): Likewise.
54151 (acos_towardzero_test_data): Likewise.
54152 (acos_test_towardzero): Likewise.
54153 (acos_downward_test_data): Likewise.
54154 (acos_test_downward): Likewise.
54155 (acos_upward_test_data): Likewise.
54156 (acos_test_upward): Likewise.
54157 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54158 (asin_test_data): Likewise.
54159 (asin_test): Use ALL_RM_TEST.
54160 (asin_tonearest_test_data): Remove.
54161 (asin_test_tonearest): Likewise.
54162 (asin_towardzero_test_data): Likewise.
54163 (asin_test_towardzero): Likewise.
54164 (asin_downward_test_data): Likewise.
54165 (asin_test_downward): Likewise.
54166 (asin_upward_test_data): Likewise.
54167 (asin_test_upward): Likewise.
54168 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54169 (atan_test_data): Likewise.
54170 (atanh_test_data): Likewise.
54171 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54172 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54173 (carg_test_data): Likewise.
54174 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54175 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54176 (ccosh_test_data): Likewise.
54177 (cexp_test_data): Likewise.
54178 (clog_test_data): Likewise.
54179 (clog10_test_data): Likewise.
54180 (cos_test_data): Update call to AUTO_TESTS_f_f.
54181 (cos_test): Use ALL_RM_TEST.
54182 (cos_tonearest_test_data): Remove.
54183 (cos_test_tonearest): Likewise.
54184 (cos_towardzero_test_data): Likewise.
54185 (cos_test_towardzero): Likewise.
54186 (cos_downward_test_data): Likewise.
54187 (cos_test_downward): Likewise.
54188 (cos_upward_test_data): Likewise.
54189 (cos_test_upward): Likewise.
54190 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54191 (cosh_test): Use ALL_RM_TEST.
54192 (cosh_tonearest_test_data): Remove.
54193 (cosh_test_tonearest): Likewise.
54194 (cosh_towardzero_test_data): Likewise.
54195 (cosh_test_towardzero): Likewise.
54196 (cosh_downward_test_data): Likewise.
54197 (cosh_test_downward): Likewise.
54198 (cosh_upward_test_data): Likewise.
54199 (cosh_test_upward): Likewise.
54200 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54201 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54202 (ctan_test_data): Likewise.
54203 (ctan_test): Use ALL_RM_TEST.
54204 (ctan_tonearest_test_data): Remove.
54205 (ctan_test_tonearest): Likewise.
54206 (ctan_towardzero_test_data): Likewise.
54207 (ctan_test_towardzero): Likewise.
54208 (ctan_downward_test_data): Likewise.
54209 (ctan_test_downward): Likewise.
54210 (ctan_upward_test_data): Likewise.
54211 (ctan_test_upward): Likewise.
54212 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54213 (ctanh_test): Use ALL_RM_TEST.
54214 (ctanh_tonearest_test_data): Remove.
54215 (ctanh_test_tonearest): Likewise.
54216 (ctanh_towardzero_test_data): Likewise.
54217 (ctanh_test_towardzero): Likewise.
54218 (ctanh_downward_test_data): Likewise.
54219 (ctanh_test_downward): Likewise.
54220 (ctanh_upward_test_data): Likewise.
54221 (ctanh_test_upward): Likewise.
54222 (erf_test_data): Update call to AUTO_TESTS_f_f.
54223 (erfc_test_data): Likewise.
54224 (exp_test_data): Likewise.
54225 (exp_test): Use ALL_RM_TEST.
54226 (exp_tonearest_test_data): Remove.
54227 (exp_test_tonearest): Likewise.
54228 (exp_towardzero_test_data): Likewise.
54229 (exp_test_towardzero): Likewise.
54230 (exp_downward_test_data): Likewise.
54231 (exp_test_downward): Likewise.
54232 (exp_upward_test_data): Likewise.
54233 (exp_test_upward): Likewise.
54234 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54235 (exp10_test): Use ALL_RM_TEST.
54236 (exp10_tonearest_test_data): Remove.
54237 (exp10_test_tonearest): Likewise.
54238 (exp10_towardzero_test_data): Likewise.
54239 (exp10_test_towardzero): Likewise.
54240 (exp10_downward_test_data): Likewise.
54241 (exp10_test_downward): Likewise.
54242 (exp10_upward_test_data): Likewise.
54243 (exp10_test_upward): Likewise.
54244 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54245 (expm1_test_data): Likewise.
54246 (expm1_test): Use ALL_RM_TEST.
54247 (expm1_tonearest_test_data): Remove.
54248 (expm1_test_tonearest): Likewise.
54249 (expm1_towardzero_test_data): Likewise.
54250 (expm1_test_towardzero): Likewise.
54251 (expm1_downward_test_data): Likewise.
54252 (expm1_test_downward): Likewise.
54253 (expm1_upward_test_data): Likewise.
54254 (expm1_test_upward): Likewise.
54255 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54256 (fma_test): Use ALL_RM_TEST.
54257 (fma_towardzero_test_data): Remove.
54258 (fma_test_towardzero): Likewise.
54259 (fma_downward_test_data): Likewise.
54260 (fma_test_downward): Likewise.
54261 (fma_upward_test_data): Likewise.
54262 (fma_test_upward): Likewise.
54263 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54264 (j0_test_data): Update call to AUTO_TESTS_f_f.
54265 (j1_test_data): Likewise.
54266 (jn_test_data): Update call to AUTO_TESTS_if_f.
54267 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54268 (log_test_data): Update call to AUTO_TESTS_f_f.
54269 (log10_test_data): Likewise.
54270 (log1p_test_data): Likewise.
54271 (log2_test_data): Likewise.
54272 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54273 (pow_tonearest_test_data): Likewise.
54274 (sin_test_data): Update call to AUTO_TESTS_f_f.
54275 (sin_test): Use ALL_RM_TEST.
54276 (sin_tonearest_test_data): Remove.
54277 (sin_test_tonearest): Likewise.
54278 (sin_towardzero_test_data): Likewise.
54279 (sin_test_towardzero): Likewise.
54280 (sin_downward_test_data): Likewise.
54281 (sin_test_downward): Likewise.
54282 (sin_upward_test_data): Likewise.
54283 (sin_test_upward): Likewise.
54284 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54285 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54286 (sinh_test): Use ALL_RM_TEST.
54287 (sinh_tonearest_test_data): Remove.
54288 (sinh_test_tonearest): Likewise.
54289 (sinh_towardzero_test_data): Likewise.
54290 (sinh_test_towardzero): Likewise.
54291 (sinh_downward_test_data): Likewise.
54292 (sinh_test_downward): Likewise.
54293 (sinh_upward_test_data): Likewise.
54294 (sinh_test_upward): Likewise.
54295 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54296 (sqrt_test): Use ALL_RM_TEST.
54297 (sqrt_tonearest_test_data): Remove.
54298 (sqrt_test_tonearest): Likewise.
54299 (sqrt_towardzero_test_data): Likewise.
54300 (sqrt_test_towardzero): Likewise.
54301 (sqrt_downward_test_data): Likewise.
54302 (sqrt_test_downward): Likewise.
54303 (sqrt_upward_test_data): Likewise.
54304 (sqrt_test_upward): Likewise.
54305 (tan_test_data): Update call to AUTO_TESTS_f_f.
54306 (tan_test): Use ALL_RM_TEST.
54307 (tan_tonearest_test_data): Remove.
54308 (tan_test_tonearest): Likewise.
54309 (tan_towardzero_test_data): Likewise.
54310 (tan_test_towardzero): Likewise.
54311 (tan_downward_test_data): Likewise.
54312 (tan_test_downward): Likewise.
54313 (tan_upward_test_data): Likewise.
54314 (tan_test_upward): Likewise.
54315 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54316 (tgamma_test_data): Likewise.
54317 (y0_test_data): Likewise.
54318 (y1_test_data): Likewise.
54319 (yn_test_data): Update call to AUTO_TESTS_if_f.
54320 (main): Do not call removed functions.
54321
54322 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54323
54324 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54325 (ldexp_test_data): Remove.
54326 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54327 scalbn_test_data.
54328 (scalb_test): Use ALL_RM_TEST.
54329
54330 2014-03-19 Andreas Schwab <schwab@suse.de>
54331
54332 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54333
54334 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54335
54336 [BZ #16649]
54337 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54338 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54339 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54341 (__ASSUME_PREADV): Undefine.
54342 (__ASSUME_PWRITEV): Likewise.
54343
54344 2014-03-18 Roland McGrath <roland@hack.frob.com>
54345
54346 * bits/mman-linux.h: Add comment about non-Linux use.
54347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54348 bits/mman-linux.h resting place.
54349
54350 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54351 * bits/mman-linux.h: ... here.
54352
54353 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54354
54355 * conform/conformtest.pl: Add standard definition when calling C
54356 preprocessor on data files.
54357 (checknamespace): Remove unused variable.
54358
54359 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54360
54361 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54362 minus_oflow, plus_uflow and minus_uflow in expected results.
54363 * math/libm-test.inc (scalbn_test_data): Add more tests of
54364 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54365 minus_uflow.
54366 (scalbn_test): Use ALL_RM_TEST.
54367 (scalbln_test_data): Add more tests of negative arguments. Use
54368 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54369 (scalbln_test): Use ALL_RM_TEST.
54370
54371 2014-03-18 Roland McGrath <roland@hack.frob.com>
54372
54373 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54374
54375 2014-03-18 Will Newton <will.newton@linaro.org>
54376
54377 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54378 inaccurate comment.
54379
54380 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54381
54382 * Makerules [!subdir] (check-abi): Exit with error status if a
54383 test failed.
54384
54385 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54386
54387 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54388 for rint. Include results for all rounding modes.
54389 (nearbyint_test): Use ALL_RM_TEST.
54390 (rint_test_data): Include all tests used for nearbyint.
54391
54392 2014-03-17 Will Newton <will.newton@linaro.org>
54393
54394 * nptl/sysdeps/pthread/pthread.h: Revert previous
54395 change.
54396
54397 * sysdeps/generic/ldsodefs.h: Revert previous
54398 change.
54399
54400 * libio/genops.c: Revert previous change.
54401 * libio/libioP.h: Likewise.
54402 * stdio-common/vfprintf.c: Likewise.
54403
54404 * sysdeps/generic/math_private.h: Revert previous
54405 change.
54406
54407 * sysdeps/generic/math_private.h: Check whether
54408 HAVE_RM_CTX is defined with #ifdef rather
54409 than #if.
54410
54411 * argp/argp-fmtstream.h: Check whether
54412 __STRICT_ANSI__ is defined with #ifdef rather
54413 than #if.
54414 * argp/argp.h: Likewise.
54415
54416 * libio/genops.c: Check whether
54417 _IO_JUMPS_OFFSET is defined with #ifdef rather
54418 than #if.
54419 * libio/libioP.h: Likewise.
54420 * stdio-common/vfprintf.c: Likewise.
54421
54422 * sysdeps/generic/ldsodefs.h: Check whether
54423 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54424 than #if.
54425
54426 * nptl/sysdeps/pthread/pthread.h: Check
54427 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54428 its value.
54429
54430 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54431
54432 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54433 setting O_APPEND.
54434 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54435 test case.
54436
54437 [BZ #16680]
54438 * libio/fileops.c (_IO_file_open): Seek to end of file but
54439 don't cache the offset.
54440 (get_file_offset): Remove function.
54441 (do_ftell): Use cached offset when available.
54442 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54443 don't cache the offset.
54444 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54445 case.
54446 (do_one_test): Call it.
54447 (do_ftell_test): Fix up expected old offset for a+ mode.
54448 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54449 available.
54450
54451 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54452 up test status with function return status.
54453 (do_write_test): Likewise.
54454 (do_append_test): Likewise.
54455
54456 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54457 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54458 Remove.
54459
54460 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54461
54462 * math/gen-libm-test.pl (parse_args): Handle results specified for
54463 each rounding mode separately.
54464 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54465 tests and results from lrint_tonearest_test_data,
54466 lrint_towardzero_test_data, lrint_downward_test_data and
54467 lrint_upward_test_data.
54468 (lrint_test): Use ALL_RM_TEST.
54469 (lrint_tonearest_test_data): Remove.
54470 (lrint_test_tonearest): Likewise.
54471 (lrint_towardzero_test_data): Likewise.
54472 (lrint_test_towardzero): Likewise.
54473 (lrint_downward_test_data): Likewise.
54474 (lrint_test_downward): Likewise.
54475 (lrint_upward_test_data): Likewise.
54476 (lrint_test_upward): Likewise.
54477 (llrint_test_data): Merge in per-rounding-mode tests and results
54478 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54479 llrint_downward_test_data and llrint_upward_test_data.
54480 (llrint_test): Use ALL_RM_TEST.
54481 (llrint_tonearest_test_data): Remove.
54482 (llrint_test_tonearest): Likewise.
54483 (llrint_towardzero_test_data): Likewise.
54484 (llrint_test_towardzero): Likewise.
54485 (llrint_downward_test_data): Likewise.
54486 (llrint_test_downward): Likewise.
54487 (llrint_upward_test_data): Likewise.
54488 (llrint_test_upward): Likewise.
54489 (rint_test_data): Merge in per-rounding-mode tests and results
54490 from rint_tonearest_test_data, rint_towardzero_test_data,
54491 rint_downward_test_data and rint_upward_test_data. Add
54492 per-rounding-mode results for tests not in those arrays.
54493 (rint_test): Use ALL_RM_TEST.
54494 (rint_tonearest_test_data): Remove.
54495 (rint_test_tonearest): Likewise.
54496 (rint_towardzero_test_data): Likewise.
54497 (rint_test_towardzero): Likewise.
54498 (rint_downward_test_data): Likewise.
54499 (rint_test_downward): Likewise.
54500 (rint_upward_test_data): Likewise.
54501 (rint_test_upward): Likewise.
54502 (main): Don't call removed functions.
54503
54504 2014-03-14 Roland McGrath <roland@hack.frob.com>
54505
54506 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54507 "Compiled on ..." crapola. It is anti-useful.
54508
54509 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54510
54511 * scripts/evaluate-test.sh: Handle fourth argument to determine
54512 whether test run should stop on failure.
54513 * Makeconfig (stop-on-test-failure): New variable.
54514 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54515 $(stop-on-test-failure).
54516 * Makefile (tests): Give a summary of results from testing and
54517 exit with failure status if they include an ERROR or FAIL.
54518 (xtests): Likewise.
54519 * manual/install.texi (Configuring and compiling): Mention
54520 stop-on-test-failure=y.
54521 * INSTALL: Regenerated.
54522
54523 2014-03-14 Roland McGrath <roland@hack.frob.com>
54524
54525 * scripts/versionlist.awk: New file.
54526 * Makerules [$(build-shared) = yes]
54527 (postclean-generated): Add Versions.def, not Versions.def.v and
54528 Versions.def.v.i.
54529 ($(common-objpfx)Versions.def.v.i): Target removed.
54530 ($(common-objpfx)Versions.def): New target.
54531 ($(common-objpfx)Versions.all): Depend on that rather that
54532 $(common-objpfx)Versions.def.v.
54533 * Versions.def: File removed.
54534
54535 * Makeconfig (+gccwarn): Add -Wundef.
54536 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54537 a dl-sysdep.h breaking its contract.
54538 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54539 * include/stackinfo.h: New file.
54540 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54541 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54542 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54543 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54544 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54545 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54546 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54547 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54548 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54549 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54550 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54551 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54552 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54553 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54554 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54555
54556 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54557
54558 [BZ #16707]
54559 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54560 implementation.
54561 * math/libm-test.inc (round_test_data): Add more tests.
54562
54563 [BZ #16706]
54564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54565 implementation.
54566 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54567
54568 [BZ #16701]
54569 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54570 implementation.
54571 * math/libm-test.inc (ceil_test_data): Add more tests.
54572
54573 * math/libm-test.inc (trunc_test_data): Add more tests related to
54574 BZ#16414.
54575
54576 2014-03-14 Roland McGrath <roland@hack.frob.com>
54577
54578 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54579 with #if rather than #ifdef.
54580 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54581
54582 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54583
54584 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54585 first. Disable AVX-512 GCC support if assembler doesn't support
54586 it.
54587 * sysdeps/x86_64/configure: Regenerated.
54588
54589 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54590
54591 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54592 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54593 (__old_pthread_attr_setstack): Likewise.
54594 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54595 [!_STACK_GROWS_DOWN]: Likewise.
54596
54597 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54598
54599 * config.make.in (have-bash2): Delete.
54600 * configure.ac (libc_cv_have_bash2): Delete.
54601 * configure: Regenerate.
54602 * elf/Makefile (common-ldd-rewrite): Rename to ...
54603 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54604 (sh-ldd-rewrite): Delete.
54605 (bash-ldd-rewrite): Delete.
54606 (have-bash2): Delete checks.
54607 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54608 ldd-rewrite.
54609
54610 * config.make.in (have-ksh): Delete.
54611 (KSH): Delete.
54612 * configure.ac (libc_cv_have_ksh): Delete.
54613 * configure: Regenerate.
54614
54615 * elf/Makefile: Delete $(have-ksh) check.
54616 ($(objpfx)sotruss): Change KSH to BASH.
54617 * elf/sotruss.ksh: Rename to ...
54618 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54619 function style to match POSIX. Drop ksh vim mode setting.
54620
54621 * manual/time.texi (Specifying the Time Zone with TZ): Change
54622 Tuesday to Thursday.
54623
54624 * debug/tst-longjmp_chk2.c: Update header comment.
54625 (stackoverflow_handler): Add comment. Call assert on pass value.
54626
54627 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54628
54629 [BZ #16194]
54630 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54631 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54632 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54633 (La_x86_64_vector): Add zmm.
54634 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54635 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54636 ($(objpfx)tst-audit10): New target.
54637 ($(objpfx)tst-audit10.out): Likewise.
54638 (tst-audit10-ENV): New.
54639 (AVX512-CFLAGS): Likewise.
54640 (CFLAGS-tst-audit10.c): Likewise.
54641 (CFLAGS-tst-auditmod10a.c): Likewise.
54642 (CFLAGS-tst-auditmod10b.c): Likewise.
54643 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54644 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54645 * sysdeps/x86_64/configure: Regenerated.
54646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54647 AVX-512 zmm register support.
54648 (_dl_x86_64_save_sse): Likewise.
54649 (_dl_x86_64_restore_sse): Likewise.
54650 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54651 size vector registers.
54652 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54653 (ZMM_SIZE): Likewise.
54654 * sysdeps/x86_64/tst-audit10.c: New file.
54655 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54656 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54657
54658 2014-03-13 Roland McGrath <roland@hack.frob.com>
54659
54660 * configure.ac (HAVE_EHDR_START): New check.
54661 * configure: Regenerated.
54662 * config.h.in (HAVE_EHDR_START): New #undef.
54663 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54664 assuming the lowest-addressed segment maps the start of the file.
54665
54666 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54667
54668 * INSTALL: Regenerated.
54669
54670 2014-03-13 Will Newton <will.newton@linaro.org>
54671
54672 * manual/setjmp.texi (System V contexts): Improve
54673 clarity and grammar of documentation.
54674
54675 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54676
54677 [BZ #16381]
54678 * elf/Makefile (tests): Add tst-pie2.
54679 (tests-pie): Add tst-pie2.
54680 * elf/tst-pie2.c: New file.
54681 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54682 for ET_EXEC.
54683 * elf/rtld.c (map_doit): Load executable as lt_executable.
54684 (dl_main): Likewise.
54685
54686 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54687
54688 [BZ #16642]
54689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54690 (__ASSUME_PSELECT): Undefine.
54691
54692 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54693
54694 [BZ #16689]
54695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54696 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54697 static build.
54698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54699 selector for static builds.
54700
54701 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54702
54703 [BZ #16695]
54704 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54705 key in the buffer.
54706
54707 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54708
54709 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54710 IFUNC selector for static builds.
54711
54712 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54713
54714 * sysdeps/mips/math_private.h [__mips_hard_float]
54715 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54716 libc_feresetround_mips_ctx.
54717 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54718 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54719 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54720
54721 [BZ #16677]
54722 * math/s_nextafter.c (__nextafter): Do not return value from
54723 overflowing computation.
54724 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54725 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54727 Likewise.
54728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54729 Likewise.
54730 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54731 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54732
54733 2014-03-11 Roland McGrath <roland@hack.frob.com>
54734
54735 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54736 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54737 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54738 the new mov targetting sp.
54739
54740 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54741
54742 [BZ #16683]
54743 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54744 Define it for static builds as well.
54745 (NO_BZERO_IMPL): Likewise.
54746
54747 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54748
54749 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54750 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54751 multiarch strspn for PPC64.
54752 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54753 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54755 (__libc_ifunc_impl_list): Likewise.
54756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54757 multiarch optimizations
54758 * string/strspn.c (strspn): Using macro to redefine symbol name.
54759
54760 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54761 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54762
54763 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54764 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54765 multiarch strncat for PPC64.
54766 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54767 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54769 (__libc_ifunc_impl_list): Likewise.
54770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54771 multiarch optimizations
54772
54773 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54774
54775 [BZ #16639]
54776 * nscd/nscd.service: Make service type forking.
54777
54778 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54779
54780 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54781 sign in non default rounding modes.
54782 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54783
54784 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54785
54786 * math/libm-test.inc (ALL_RM_TEST): New macro.
54787 (ceil_test): Use ALL_RM_TEST.
54788 (cimag_test): Likewise.
54789 (conj_test): Likewise.
54790 (copysign_test): Likewise.
54791 (cproj_test): Likewise.
54792 (creal_test): Likewise.
54793 (fabs_test): Likewise.
54794 (floor_test): Likewise.
54795 (fmax_test): Likewise.
54796 (fmin_test): Likewise.
54797 (fmod_test): Likewise.
54798 (fpclassify_test): Likewise.
54799 (frexp_test): Likewise.
54800 (ilogb_test): Likewise.
54801 (isfinite_test): Likewise.
54802 (finite_test): Likewise.
54803 (isgreater_test): Likewise.
54804 (isgreaterequal_test): Likewise.
54805 (isinf_test): Likewise.
54806 (isless_test): Likewise.
54807 (islessequal_test): Likewise.
54808 (islessgreater_test): Likewise.
54809 (isnan_test): Likewise.
54810 (isnormal_test): Likewise.
54811 (issignaling_test): Likewise.
54812 (isunordered_test): Likewise.
54813 (logb_test): Likewise.
54814 (logb_downward_test_data): Remove.
54815 (logb_test_downward): Likewise.
54816 (lround_test): Use ALL_RM_TEST.
54817 (llround_test): Likewise.
54818 (modf_test): Likewise.
54819 (nexttoward_test): Likewise.
54820 (remainder_test): Likewise.
54821 (drem_test): Likewise.
54822 (remainder_tonearest_test_data): Likewise.
54823 (remainder_test_tonearest): Likewise.
54824 (drem_test_tonearest): Likewise.
54825 (remainder_towardzero_test_data): Likewise.
54826 (remainder_test_towardzero): Likewise.
54827 (drem_test_towardzero): Likewise.
54828 (remainder_downward_test_data): Likewise.
54829 (remainder_test_downward): Likewise.
54830 (drem_test_downward): Likewise.
54831 (remainder_upward_test_data): Likewise.
54832 (remainder_test_upward): Likewise.
54833 (drem_test_upward): Likewise.
54834 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54835 (round_test): Use ALL_RM_TEST.
54836 (signbit_test): Likewise.
54837 (trunc_test): Likewise.
54838 (significand_test): Likewise.
54839 (main): Don't call removed functions.
54840
54841 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54842
54843 [BZ #16674]
54844 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54845 || __USE_XOPEN2K8].
54846 (ILL_ILLOPN): Likewise.
54847 (ILL_ILLADR): Likewise.
54848 (ILL_ILLTRP): Likewise.
54849 (ILL_PRVOPC): Likewise.
54850 (ILL_PRVREG): Likewise.
54851 (ILL_COPROC): Likewise.
54852 (ILL_BADSTK): Likewise.
54853 (FPE_INTDIV): Likewise.
54854 (FPE_INTOVF): Likewise.
54855 (FPE_FLTDIV): Likewise.
54856 (FPE_FLTOVF): Likewise.
54857 (FPE_FLTUND): Likewise.
54858 (FPE_FLTRES): Likewise.
54859 (FPE_FLTINV): Likewise.
54860 (FPE_FLTSUB): Likewise.
54861 (SEGV_MAPERR): Likewise.
54862 (SEGV_ACCERR): Likewise.
54863 (BUS_ADRALN): Likewise.
54864 (BUS_ADRERR): Likewise.
54865 (BUS_OBJERR): Likewise.
54866 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54867 (TRAP_TRACE): Likewise.
54868 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54869 __USE_XOPEN2K8].
54870 (CLD_KILLED): Likewise.
54871 (CLD_DUMPED): Likewise.
54872 (CLD_TRAPPED): Likewise.
54873 (CLD_STOPPED): Likewise.
54874 (CLD_CONTINUED): Likewise.
54875 (POLL_IN): Likewise.
54876 (POLL_OUT): Likewise.
54877 (POLL_MSG): Likewise.
54878 (POLL_ERR): Likewise.
54879 (POLL_PRI): Likewise.
54880 (POLL_HUP): Likewise.
54881 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54882 Likewise.
54883 (ILL_ILLOPN): Likewise.
54884 (ILL_ILLADR): Likewise.
54885 (ILL_ILLTRP): Likewise.
54886 (ILL_PRVOPC): Likewise.
54887 (ILL_PRVREG): Likewise.
54888 (ILL_COPROC): Likewise.
54889 (ILL_BADSTK): Likewise.
54890 (FPE_INTDIV): Likewise.
54891 (FPE_INTOVF): Likewise.
54892 (FPE_FLTDIV): Likewise.
54893 (FPE_FLTOVF): Likewise.
54894 (FPE_FLTUND): Likewise.
54895 (FPE_FLTRES): Likewise.
54896 (FPE_FLTINV): Likewise.
54897 (FPE_FLTSUB): Likewise.
54898 (SEGV_MAPERR): Likewise.
54899 (SEGV_ACCERR): Likewise.
54900 (BUS_ADRALN): Likewise.
54901 (BUS_ADRERR): Likewise.
54902 (BUS_OBJERR): Likewise.
54903 (BUS_MCEERR_AR): Likewise.
54904 (BUS_MCEERR_AO): Likewise.
54905 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54906 (TRAP_TRACE): Likewise.
54907 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54908 __USE_XOPEN2K8].
54909 (CLD_KILLED): Likewise.
54910 (CLD_DUMPED): Likewise.
54911 (CLD_TRAPPED): Likewise.
54912 (CLD_STOPPED): Likewise.
54913 (CLD_CONTINUED): Likewise.
54914 (POLL_IN): Likewise.
54915 (POLL_OUT): Likewise.
54916 (POLL_MSG): Likewise.
54917 (POLL_ERR): Likewise.
54918 (POLL_PRI): Likewise.
54919 (POLL_HUP): Likewise.
54920 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54921 (ILL_ILLOPN): Likewise.
54922 (ILL_ILLADR): Likewise.
54923 (ILL_ILLTRP): Likewise.
54924 (ILL_PRVOPC): Likewise.
54925 (ILL_PRVREG): Likewise.
54926 (ILL_COPROC): Likewise.
54927 (ILL_BADSTK): Likewise.
54928 (FPE_INTDIV): Likewise.
54929 (FPE_INTOVF): Likewise.
54930 (FPE_FLTDIV): Likewise.
54931 (FPE_FLTOVF): Likewise.
54932 (FPE_FLTUND): Likewise.
54933 (FPE_FLTRES): Likewise.
54934 (FPE_FLTINV): Likewise.
54935 (FPE_FLTSUB): Likewise.
54936 (SEGV_MAPERR): Likewise.
54937 (SEGV_ACCERR): Likewise.
54938 (BUS_ADRALN): Likewise.
54939 (BUS_ADRERR): Likewise.
54940 (BUS_OBJERR): Likewise.
54941 (BUS_MCEERR_AR): Likewise.
54942 (BUS_MCEERR_AO): Likewise.
54943 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54944 (TRAP_TRACE): Likewise.
54945 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54946 __USE_XOPEN2K8].
54947 (CLD_KILLED): Likewise.
54948 (CLD_DUMPED): Likewise.
54949 (CLD_TRAPPED): Likewise.
54950 (CLD_STOPPED): Likewise.
54951 (CLD_CONTINUED): Likewise.
54952 (POLL_IN): Likewise.
54953 (POLL_OUT): Likewise.
54954 (POLL_MSG): Likewise.
54955 (POLL_ERR): Likewise.
54956 (POLL_PRI): Likewise.
54957 (POLL_HUP): Likewise.
54958 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54959 Likewise.
54960 (ILL_ILLOPN): Likewise.
54961 (ILL_ILLADR): Likewise.
54962 (ILL_ILLTRP): Likewise.
54963 (ILL_PRVOPC): Likewise.
54964 (ILL_PRVREG): Likewise.
54965 (ILL_COPROC): Likewise.
54966 (ILL_BADSTK): Likewise.
54967 (ILL_BADIADDR): Likewise.
54968 (ILL_BREAK): Likewise.
54969 (FPE_INTDIV): Likewise.
54970 (FPE_INTOVF): Likewise.
54971 (FPE_FLTDIV): Likewise.
54972 (FPE_FLTOVF): Likewise.
54973 (FPE_FLTUND): Likewise.
54974 (FPE_FLTRES): Likewise.
54975 (FPE_FLTINV): Likewise.
54976 (FPE_FLTSUB): Likewise.
54977 (FPE_DECOVF): Likewise.
54978 (FPE_DECDIV): Likewise.
54979 (FPE_DECERR): Likewise.
54980 (FPE_INVASC): Likewise.
54981 (FPE_INVDEC): Likewise.
54982 (SEGV_MAPERR): Likewise.
54983 (SEGV_ACCERR): Likewise.
54984 (SEGV_PSTKOVF): Likewise.
54985 (BUS_ADRALN): Likewise.
54986 (BUS_ADRERR): Likewise.
54987 (BUS_OBJERR): Likewise.
54988 (BUS_MCEERR_AR): Likewise.
54989 (BUS_MCEERR_AO): Likewise.
54990 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54991 (TRAP_TRACE): Likewise.
54992 (TRAP_BRANCH): Likewise.
54993 (TRAP_HWBKPT): Likewise.
54994 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54995 __USE_XOPEN2K8].
54996 (CLD_KILLED): Likewise.
54997 (CLD_DUMPED): Likewise.
54998 (CLD_TRAPPED): Likewise.
54999 (CLD_STOPPED): Likewise.
55000 (CLD_CONTINUED): Likewise.
55001 (POLL_IN): Likewise.
55002 (POLL_OUT): Likewise.
55003 (POLL_MSG): Likewise.
55004 (POLL_ERR): Likewise.
55005 (POLL_PRI): Likewise.
55006 (POLL_HUP): Likewise.
55007 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55008 (ILL_ILLOPN): Likewise.
55009 (ILL_ILLADR): Likewise.
55010 (ILL_ILLTRP): Likewise.
55011 (ILL_PRVOPC): Likewise.
55012 (ILL_PRVREG): Likewise.
55013 (ILL_COPROC): Likewise.
55014 (ILL_BADSTK): Likewise.
55015 (FPE_INTDIV): Likewise.
55016 (FPE_INTOVF): Likewise.
55017 (FPE_FLTDIV): Likewise.
55018 (FPE_FLTOVF): Likewise.
55019 (FPE_FLTUND): Likewise.
55020 (FPE_FLTRES): Likewise.
55021 (FPE_FLTINV): Likewise.
55022 (FPE_FLTSUB): Likewise.
55023 (SEGV_MAPERR): Likewise.
55024 (SEGV_ACCERR): Likewise.
55025 (BUS_ADRALN): Likewise.
55026 (BUS_ADRERR): Likewise.
55027 (BUS_OBJERR): Likewise.
55028 (BUS_MCEERR_AR): Likewise.
55029 (BUS_MCEERR_AO): Likewise.
55030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55031 (TRAP_TRACE): Likewise.
55032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55033 __USE_XOPEN2K8].
55034 (CLD_KILLED): Likewise.
55035 (CLD_DUMPED): Likewise.
55036 (CLD_TRAPPED): Likewise.
55037 (CLD_STOPPED): Likewise.
55038 (CLD_CONTINUED): Likewise.
55039 (POLL_IN): Likewise.
55040 (POLL_OUT): Likewise.
55041 (POLL_MSG): Likewise.
55042 (POLL_ERR): Likewise.
55043 (POLL_PRI): Likewise.
55044 (POLL_HUP): Likewise.
55045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55046 (ILL_ILLOPN): Likewise.
55047 (ILL_ILLADR): Likewise.
55048 (ILL_ILLTRP): Likewise.
55049 (ILL_PRVOPC): Likewise.
55050 (ILL_PRVREG): Likewise.
55051 (ILL_COPROC): Likewise.
55052 (ILL_BADSTK): Likewise.
55053 (FPE_INTDIV): Likewise.
55054 (FPE_INTOVF): Likewise.
55055 (FPE_FLTDIV): Likewise.
55056 (FPE_FLTOVF): Likewise.
55057 (FPE_FLTUND): Likewise.
55058 (FPE_FLTRES): Likewise.
55059 (FPE_FLTINV): Likewise.
55060 (FPE_FLTSUB): Likewise.
55061 (SEGV_MAPERR): Likewise.
55062 (SEGV_ACCERR): Likewise.
55063 (BUS_ADRALN): Likewise.
55064 (BUS_ADRERR): Likewise.
55065 (BUS_OBJERR): Likewise.
55066 (BUS_MCEERR_AR): Likewise.
55067 (BUS_MCEERR_AO): Likewise.
55068 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55069 (TRAP_TRACE): Likewise.
55070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55071 __USE_XOPEN2K8].
55072 (CLD_KILLED): Likewise.
55073 (CLD_DUMPED): Likewise.
55074 (CLD_TRAPPED): Likewise.
55075 (CLD_STOPPED): Likewise.
55076 (CLD_CONTINUED): Likewise.
55077 (POLL_IN): Likewise.
55078 (POLL_OUT): Likewise.
55079 (POLL_MSG): Likewise.
55080 (POLL_ERR): Likewise.
55081 (POLL_PRI): Likewise.
55082 (POLL_HUP): Likewise.
55083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55084 (ILL_ILLOPN): Likewise.
55085 (ILL_ILLADR): Likewise.
55086 (ILL_ILLTRP): Likewise.
55087 (ILL_PRVOPC): Likewise.
55088 (ILL_PRVREG): Likewise.
55089 (ILL_COPROC): Likewise.
55090 (ILL_BADSTK): Likewise.
55091 (FPE_INTDIV): Likewise.
55092 (FPE_INTOVF): Likewise.
55093 (FPE_FLTDIV): Likewise.
55094 (FPE_FLTOVF): Likewise.
55095 (FPE_FLTUND): Likewise.
55096 (FPE_FLTRES): Likewise.
55097 (FPE_FLTINV): Likewise.
55098 (FPE_FLTSUB): Likewise.
55099 (SEGV_MAPERR): Likewise.
55100 (SEGV_ACCERR): Likewise.
55101 (BUS_ADRALN): Likewise.
55102 (BUS_ADRERR): Likewise.
55103 (BUS_OBJERR): Likewise.
55104 (BUS_MCEERR_AR): Likewise.
55105 (BUS_MCEERR_AO): Likewise.
55106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55107 (TRAP_TRACE): Likewise.
55108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55109 __USE_XOPEN2K8].
55110 (CLD_KILLED): Likewise.
55111 (CLD_DUMPED): Likewise.
55112 (CLD_TRAPPED): Likewise.
55113 (CLD_STOPPED): Likewise.
55114 (CLD_CONTINUED): Likewise.
55115 (POLL_IN): Likewise.
55116 (POLL_OUT): Likewise.
55117 (POLL_MSG): Likewise.
55118 (POLL_ERR): Likewise.
55119 (POLL_PRI): Likewise.
55120 (POLL_HUP): Likewise.
55121 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55122 (ILL_ILLOPN): Likewise.
55123 (ILL_ILLADR): Likewise.
55124 (ILL_ILLTRP): Likewise.
55125 (ILL_PRVOPC): Likewise.
55126 (ILL_PRVREG): Likewise.
55127 (ILL_COPROC): Likewise.
55128 (ILL_BADSTK): Likewise.
55129 (ILL_DBLFLT): Likewise.
55130 (ILL_HARDWALL): Likewise.
55131 (FPE_INTDIV): Likewise.
55132 (FPE_INTOVF): Likewise.
55133 (FPE_FLTDIV): Likewise.
55134 (FPE_FLTOVF): Likewise.
55135 (FPE_FLTUND): Likewise.
55136 (FPE_FLTRES): Likewise.
55137 (FPE_FLTINV): Likewise.
55138 (FPE_FLTSUB): Likewise.
55139 (SEGV_MAPERR): Likewise.
55140 (SEGV_ACCERR): Likewise.
55141 (BUS_ADRALN): Likewise.
55142 (BUS_ADRERR): Likewise.
55143 (BUS_OBJERR): Likewise.
55144 (BUS_MCEERR_AR): Likewise.
55145 (BUS_MCEERR_AO): Likewise.
55146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55147 (TRAP_TRACE): Likewise.
55148 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55149 __USE_XOPEN2K8].
55150 (CLD_KILLED): Likewise.
55151 (CLD_DUMPED): Likewise.
55152 (CLD_TRAPPED): Likewise.
55153 (CLD_STOPPED): Likewise.
55154 (CLD_CONTINUED): Likewise.
55155 (POLL_IN): Likewise.
55156 (POLL_OUT): Likewise.
55157 (POLL_MSG): Likewise.
55158 (POLL_ERR): Likewise.
55159 (POLL_PRI): Likewise.
55160 (POLL_HUP): Likewise.
55161 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55162 (ILL_ILLOPN): Likewise.
55163 (ILL_ILLADR): Likewise.
55164 (ILL_ILLTRP): Likewise.
55165 (ILL_PRVOPC): Likewise.
55166 (ILL_PRVREG): Likewise.
55167 (ILL_COPROC): Likewise.
55168 (ILL_BADSTK): Likewise.
55169 (FPE_INTDIV): Likewise.
55170 (FPE_INTOVF): Likewise.
55171 (FPE_FLTDIV): Likewise.
55172 (FPE_FLTOVF): Likewise.
55173 (FPE_FLTUND): Likewise.
55174 (FPE_FLTRES): Likewise.
55175 (FPE_FLTINV): Likewise.
55176 (FPE_FLTSUB): Likewise.
55177 (SEGV_MAPERR): Likewise.
55178 (SEGV_ACCERR): Likewise.
55179 (BUS_ADRALN): Likewise.
55180 (BUS_ADRERR): Likewise.
55181 (BUS_OBJERR): Likewise.
55182 (BUS_MCEERR_AR): Likewise.
55183 (BUS_MCEERR_AO): Likewise.
55184 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55185 (TRAP_TRACE): Likewise.
55186 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55187 __USE_XOPEN2K8].
55188 (CLD_KILLED): Likewise.
55189 (CLD_DUMPED): Likewise.
55190 (CLD_TRAPPED): Likewise.
55191 (CLD_STOPPED): Likewise.
55192 (CLD_CONTINUED): Likewise.
55193 (POLL_IN): Likewise.
55194 (POLL_OUT): Likewise.
55195 (POLL_MSG): Likewise.
55196 (POLL_ERR): Likewise.
55197 (POLL_PRI): Likewise.
55198 (POLL_HUP): Likewise.
55199 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55200 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55201
55202 [BZ #16670]
55203 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55204 before #include of <time.h>.
55205 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55206 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55207 (test-xfail-UNIX98/sched.h/conform): Likewise.
55208
55209 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55210
55211 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55212 error absence of trapping exception support.
55213 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55214
55215 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55216
55217 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55218 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55219 * timezone/Makefile (testdata): Move definition above include of
55220 Rules.
55221 (test-zones): New variable.
55222 (tests-special): Add zone files.
55223 (build-testdata): Use $(evaluate-test).
55224
55225 * elf/Makefile (tests-special): Rename tests to end with .out.
55226 ($(objpfx)noload-mem): Likewise.
55227 ($(objpfx)tst-leaks1-mem): Likewise.
55228 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55229 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55230 $(objpfx)test-iconvconfig.out.
55231 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55232 set -e inside subshell and redirect output to file.
55233 * iconvdata/Makefile (generated): Rename tests to end with .out.
55234 Correct type.
55235 (tests-special): Rename tests to end with .out.
55236 ($(objpfx)mtrace-tst-loading): Likewise.
55237 * intl/Makefile (generated): Likewise.
55238 (tests-special): Likewise.
55239 ($(objpfx)mtrace-tst-gettext): Likewise.
55240 * misc/Makefile (generated): Likewise.
55241 (tests-special): Likewise.
55242 ($(objpfx)tst-error1-mem): Likewise.
55243 * nptl/Makefile (tests-special): Likewise.
55244 ($(objpfx)tst-stack3-mem): Likewise.
55245 (generated): Likewise.
55246 * posix/Makefile (generated): Likewise.
55247 (tests-special): Likewise.
55248 (xtests-special): Likewise.
55249 ($(objpfx)tst-fnmatch-mem): Likewise.
55250 ($(objpfx)bug-regex2-mem): Likewise.
55251 ($(objpfx)bug-regex14-mem): Likewise.
55252 ($(objpfx)bug-regex21-mem): Likewise.
55253 ($(objpfx)bug-regex31-mem): Likewise.
55254 ($(objpfx)tst-vfork3-mem): Likewise.
55255 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55256 ($(objpfx)tst-pcre-mem): Likewise.
55257 ($(objpfx)tst-boost-mem): Likewise.
55258 ($(objpfx)bug-ga2-mem): Likewise.
55259 ($(objpfx)bug-glob2-mem): Likewise.
55260 * resolv/Makefile (generate): Likewise.
55261 (tests-special): Likewise.
55262 (xtests-special): Likewise.
55263 (generated): Likewise.
55264 ($(objpfx)mtrace-tst-leaks): Likewise.
55265 ($(objpfx)mtrace-tst-leaks2): Likewise.
55266
55267 * scripts/merge-test-results.sh: New file.
55268 * Makefile (tests-special-notdir): New variable.
55269 (tests): Run merge-test-results.sh.
55270 (xtests): Likewise.
55271 * Rules (tests-special-notdir): New variable.
55272 (xtests-special-notdir): Likewise.
55273 (tests): Run merge-test-results.sh
55274 (xtests): Likewise.
55275
55276 * Makeconfig (test-xfail-name): New variable.
55277 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55278 compute variable name for expected failures.
55279 * conform/Makefile (conformtest-headers-data): New variable.
55280 (conformtest-standards): Likewise.
55281 (conformtest-headers-ISO): Likewise.
55282 (conformtest-headers-ISO99): Likewise.
55283 (conformtest-headers-ISO11): Likewise.
55284 (conformtest-headers-POSIX): Likewise.
55285 (conformtest-headers-XPG3): Likewise.
55286 (conformtest-headers-XPG4): Likewise.
55287 (conformtest-headers-UNIX98): Likewise.
55288 (conformtest-headers-XOPEN2K): Likewise.
55289 (conformtest-headers-POSIX2008): Likewise.
55290 (conformtest-headers-XOPEN2K8): Likewise.
55291 (conformtest-header-list-base): Likewise.
55292 (conformtest-header-list-tests): Likewise.
55293 (conformtest-header-base): Likewise.
55294 (conformtest-header-tests): Likewise.
55295 (tests-special): Add $(conformtest-header-list-tests). If
55296 [$(fast-check) && !$(cross-compiling)], add
55297 $(conformtest-header-tests) instead of
55298 $(objpfx)run-conformtest.out.
55299 (generated): Add $(conformtest-header-list-base). If
55300 [$(fast-check) && !$(cross-compiling)], add
55301 $(conformtest-header-base). Remove previous setting.
55302 ($(conformtest-header-list-tests)): New target.
55303 (test-xfail-run-conformtest): Remove variable.
55304 ($(objpfx)run-conformtest.out): Remove target.
55305 (test-xfail-ISO11/complex.h/conform): New variable.
55306 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55307 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55308 (test-xfail-XPG3/varargs.h/conform): Likewise.
55309 (test-xfail-XPG4/varargs.h/conform): Likewise.
55310 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55311 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55312 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55313 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55314 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55315 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55316 (test-xfail-XPG3/ftw.h/conform): Likewise.
55317 (test-xfail-XPG3/grp.h/conform): Likewise.
55318 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55319 (test-xfail-XPG3/limits.h/conform): Likewise.
55320 (test-xfail-XPG3/pwd.h/conform): Likewise.
55321 (test-xfail-XPG3/search.h/conform): Likewise.
55322 (test-xfail-XPG3/signal.h/conform): Likewise.
55323 (test-xfail-XPG3/stdio.h/conform): Likewise.
55324 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55325 (test-xfail-XPG3/string.h/conform): Likewise.
55326 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55327 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55328 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55329 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55330 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55331 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55332 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55333 (test-xfail-XPG3/termios.h/conform): Likewise.
55334 (test-xfail-XPG3/time.h/conform): Likewise.
55335 (test-xfail-XPG3/unistd.h/conform): Likewise.
55336 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55337 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55338 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55339 (test-xfail-XPG4/netdb.h/conform): Likewise.
55340 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55341 (test-xfail-XPG4/signal.h/conform): Likewise.
55342 (test-xfail-XPG4/stdio.h/conform): Likewise.
55343 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55344 (test-xfail-XPG4/stropts.h/conform): Likewise.
55345 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55346 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55347 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55348 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55349 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55350 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55351 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55352 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55353 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55354 (test-xfail-XPG4/termios.h/conform): Likewise.
55355 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55356 (test-xfail-XPG4/unistd.h/conform): Likewise.
55357 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55358 (test-xfail-POSIX/sched.h/conform): Likewise.
55359 (test-xfail-POSIX/signal.h/conform): Likewise.
55360 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55361 (test-xfail-POSIX/tar.h/conform): Likewise.
55362 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55363 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55364 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55365 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55366 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55367 (test-xfail-UNIX98/sched.h/conform): Likewise.
55368 (test-xfail-UNIX98/signal.h/conform): Likewise.
55369 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55370 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55371 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55372 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55373 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55374 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55375 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55376 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55377 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55378 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55379 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55380 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55381 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55382 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55383 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55384 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55385 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55386 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55387 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55388 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55389 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55390 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55391 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55392 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55393 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55394 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55395 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55396 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55397 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55398 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55399 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55400 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55401 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55402 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55403 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55404 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55405 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55406 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55407 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55408 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55409 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55410 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55411 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55412 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55413 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55414 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55415 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55416 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55417 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55418 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55419 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55420 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55421 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55422 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55423 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55424 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55425 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55426 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55427 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55428 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55429 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55430 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55431 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55432 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55433 (conformtest-cc-flags): Likewise.
55434 ($(conformtest-header-tests): New target.
55435 * conform/check-header-lists.sh: New file.
55436 * conform/run-conformtest.sh: Remove.
55437
55438 * conform/conformtest.pl: Allow ' and \ in values given for
55439 constants.
55440 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55441 inclusion.
55442 [POSIX] (sys/types.h): Likewise.
55443 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55444 inclusion.
55445 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55446 inclusion.
55447 * conform/data/signal.h-data (SIGIO): Remove expectation.
55448 [XPG3] (SIGBUS): Do not expect.
55449 [POSIX || XPG3] (SIGPOLL): Likewise.
55450 [POSIX || XPG3] (SIGPROF): Likewise.
55451 [POSIX || XPG3] (SIGSYS): Likewise.
55452 [XPG3] (SIGTRAP): Likewise.
55453 [POSIX || XPG3] (SIGURG): Likewise.
55454 [POSIX || XPG3] (SIGVTALRM): Likewise.
55455 [POSIX || XPG3] (SIGXCPU): Likewise.
55456 [POSIX || XPG3] (SIGXFSZ): Likewise.
55457 [POSIX] (SA_SIGINFO): Expect.
55458 [XPG3] (siginfo_t): Do not expect type or contents.
55459 [POSIX] (si_pid): Do not expect element.
55460 [POSIX] (si_uid): Likewise.
55461 [POSIX] (si_addr): Likewise.
55462 [POSIX] (si_status): Likewise.
55463 [POSIX] (si_band): Likewise.
55464 [XPG4] (si_value): Likewise.
55465 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55466 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55467 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55468 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55469 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55470 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55471 [POSIX || XPG3] (ILL_COPROC): Likewise.
55472 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55473 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55474 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55475 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55476 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55477 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55478 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55479 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55480 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55481 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55482 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55483 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55484 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55485 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55486 [POSIX || XPG3] (CLD_EXITED): Likewise.
55487 [POSIX || XPG3] (CLD_KILLED): Likewise.
55488 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55489 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55490 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55491 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55492 [POSIX || XPG3] (POLL_IN): Likewise.
55493 [POSIX || XPG3] (POLL_OUT): Likewise.
55494 [POSIX || XPG3] (POLL_MSG): Likewise.
55495 [POSIX || XPG3] (POLL_ERR): Likewise.
55496 [POSIX || XPG3] (POLL_PRI): Likewise.
55497 [POSIX || XPG3] (POLL_HUP): Likewise.
55498 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55499 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55500 (SIG*): Do not allow.
55501 [XPG3] (si_*): Likewise.
55502 [XPG3] (SI_*): Likewise.
55503 [XPG3 || XPG4] (sigev_*): Likewise.
55504 [XPG3 || XPG4] (SIGEV_*): Likewise.
55505 [XPG3 || XPG4] (sival_*): Likewise.
55506 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55507 [POSIX || XPG3] (BUS_*): Likewise.
55508 [POSIX || XPG3] (CLD_*): Likewise.
55509 [POSIX || XPG3] (FPE_*): Likewise.
55510 [POSIX || XPG3] (ILL_*): Likewise.
55511 [POSIX || XPG3] (POLL_*): Likewise.
55512 [POSIX || XPG3] (SEGV_*): Likewise.
55513 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55514 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55515 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55516 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55517 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55518 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55519 Specify type and value.
55520 (TVERSLEN): Likewise.
55521 (REGTYPE): Likewise.
55522 (AREGTYPE): Likewise.
55523 (LNKTYPE): Likewise.
55524 (SYMTYPE): Likewise.
55525 (CHRTYPE): Likewise.
55526 (BLKTYPE): Likewise.
55527 (DIRTYPE): Likewise.
55528 (FIFOTYPE): Likewise.
55529 (CONTTYPE): Likewise.
55530 (TSUID): Likewise.
55531 (TSGID): Likewise.
55532 (TSVTX): Likewise.
55533 (TUREAD): Likewise.
55534 (TUWRITE): Likewise.
55535 (TUEXEC): Likewise.
55536 (TGREAD): Likewise.
55537 (TGWRITE): Likewise.
55538 (TGEXEC): Likewise.
55539 (TOREAD): Likewise.
55540 (TOWRITE): Likewise.
55541 (TOEXEC): Likewise.
55542 [POSIX] (TSVTX): Expect constant.
55543
55544 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55545
55546 * Makefile (tests): Change dependencies to ....
55547 (tests-special): ... additions to this variable.
55548 (tests): Depend on $(tests-special).
55549 * Makerules (check-abi-list): New variable.
55550 (check-abi): Depend on $(check-abi-list).
55551 [$(subdir) = elf] (tests-special): Add
55552 $(objpfx)check-abi-libc.out.
55553 [$(build-shared) = yes && subdir] (tests-special): Add
55554 $(check-abi-list).
55555 [$(build-shared) = yes && subdir] (tests): Do not depend on
55556 check-abi.
55557 * Rules (tests): Depend on $(tests-special).
55558 (xtests): Depend on $(xtests-special).
55559 * catgets/Makefile (tests): Change dependencies to ....
55560 (tests-special): ... additions to this variable.
55561 * conform/Makefile (tests): Change dependencies to ....
55562 (tests-special): ... additions to this variable.
55563 * elf/Makefile (tests): Change dependencies to ....
55564 (tests-special): ... additions to this variable.
55565 * grp/Makefile (tests): Change dependencies to ....
55566 (tests-special): ... additions to this variable.
55567 * iconv/Makefile (xtests): Change dependencies to ....
55568 (xtests-special): ... additions to this variable.
55569 * iconvdata/Makefile (tests): Change dependencies to ....
55570 (tests-special): ... additions to this variable.
55571 * intl/Makefile (tests): Change dependencies to ....
55572 (tests-special): ... additions to this variable. Also add
55573 $(objpfx)tst-gettext.out.
55574 * io/Makefile (tests): Change dependencies to ....
55575 (tests-special): ... additions to this variable.
55576 * libio/Makefile (tests): Change dependencies to ....
55577 (tests-special): ... additions to this variable.
55578 * malloc/Makefile (tests): Change dependencies to ....
55579 (tests-special): ... additions to this variable.
55580 * misc/Makefile (tests): Change dependencies to ....
55581 (tests-special): ... additions to this variable.
55582 * nptl/Makefile (tests): Change dependencies to ....
55583 (tests-special): ... additions to this variable.
55584 * nptl_db/Makefile (tests): Change dependencies to ....
55585 (tests-special): ... additions to this variable.
55586 * posix/Makefile (tests): Change dependencies to ....
55587 (tests-special): ... additions to this variable.
55588 (xtests): Change dependencies to ....
55589 (xtests-special): ... additions to this variable.
55590 * resolv/Makefile (tests): Change dependencies to ....
55591 (tests-special): ... additions to this variable.
55592 (xtests): Change dependencies to ....
55593 (xtests-special): ... additions to this variable.
55594 * stdio-common/Makefile (tests): Change dependencies to ....
55595 (tests-special): ... additions to this variable.
55596 (do-tst-unbputc): Remove target.
55597 (do-tst-printf): Likewise.
55598 * stdlib/Makefile (tests): Change dependencies to ....
55599 (tests-special): ... additions to this variable.
55600 * string/Makefile (tests): Change dependencies to ....
55601 (tests-special): ... additions to this variable.
55602 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55603 (tests-special): ... additions to this variable.
55604
55605 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55606 whole file.
55607 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55608 whole file.
55609 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55610 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55611
55612 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55613 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55614 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55615 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55616 * conform/data/libgen.h-data [XPG3]: Likewise.
55617 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55618 * conform/data/ndbm.h-data [XPG3]: Likewise.
55619 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55620 * conform/data/netdb.h-data [XPG3]: Likewise.
55621 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55622 * conform/data/poll.h-data [XPG3]: Likewise.
55623 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55624 * conform/data/strings.h-data [XPG3]: Likewise.
55625 * conform/data/stropts.h-data [XPG3]: Likewise.
55626 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55627 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55628 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55629 Likewise.
55630 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55631 * conform/data/sys/time.h-data [XPG3]: Likewise.
55632 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55633 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55634 * conform/data/sys/un.h-data [XPG3]: Likewise.
55635 * conform/data/syslog.h-data [XPG3]: Likewise.
55636 * conform/data/ucontext.h-data [XPG3]: Likewise.
55637 * conform/data/utmpx.h-data [XPG3]: Likewise.
55638 * conform/data/varargs.h-data [UNIX98]: Enable file.
55639
55640 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55641
55642 * math/libm-test.inc (struct test_f_f_data): Move expected results
55643 into structure for each rounding mode.
55644 (struct test_ff_f_data): Likewise.
55645 (struct test_ff_f_data_nexttoward): Likewise.
55646 (struct test_fi_f_data): Likewise.
55647 (struct test_fl_f_data): Likewise.
55648 (struct test_if_f_data): Likewise.
55649 (struct test_fff_f_data): Likewise.
55650 (struct test_c_f_data): Likewise.
55651 (struct test_f_f1_data): Likewise.
55652 (struct test_fF_f1_data): Likewise.
55653 (struct test_ffI_f1_data): Likewise.
55654 (struct test_c_c_data): Likewise.
55655 (struct test_cc_c_data): Likewise.
55656 (struct test_f_i_data): Likewise.
55657 (struct test_ff_i_data): Likewise.
55658 (struct test_f_l_data): Likewise.
55659 (struct test_f_L_data): Likewise.
55660 (struct test_fFF_11_data): Likewise.
55661 (RM_): New macro.
55662 (RM_FE_DOWNWARD): Likewise.
55663 (RM_FE_TONEAREST): Likewise.
55664 (RM_FE_TOWARDZERO): Likewise.
55665 (RM_FE_UPWARD): Likewise.
55666 (RUN_TEST_LOOP_f_f): Update references to expected results.
55667 (RUN_TEST_LOOP_2_f): Likewise.
55668 (RUN_TEST_LOOP_fff_f): Likewise.
55669 (RUN_TEST_LOOP_c_f): Likewise.
55670 (RUN_TEST_LOOP_f_f1): Likewise.
55671 (RUN_TEST_LOOP_fF_f1): Likewise.
55672 (RUN_TEST_LOOP_fI_f1): Likewise.
55673 (RUN_TEST_LOOP_ffI_f1): Likewise.
55674 (RUN_TEST_LOOP_c_c): Likewise.
55675 (RUN_TEST_LOOP_cc_c): Likewise.
55676 (RUN_TEST_LOOP_f_i): Likewise.
55677 (RUN_TEST_LOOP_f_i_tg): Likewise.
55678 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55679 (RUN_TEST_LOOP_f_b): Likewise.
55680 (RUN_TEST_LOOP_f_b_tg): Likewise.
55681 (RUN_TEST_LOOP_f_l): Likewise.
55682 (RUN_TEST_LOOP_f_L): Likewise.
55683 (RUN_TEST_LOOP_fFF_11): Likewise.
55684 * math/gen-libm-test.pl (parse_args): Output four copies of
55685 expected results for each test.
55686
55687 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55688 (__ASSUME_UTIMES): Remove.
55689 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55690 (__ASSUME_UTIMES): Likewise.
55691
55692 * math/gen-auto-libm-tests.c: Update comment on output format.
55693 (output_for_one_input_case): Generate before-rounding and
55694 after-rounding information as conditions on output flags not
55695 floating-point format.
55696 * math/auto-libm-test-out: Regenerated.
55697 * math/gen-libm-test.pl (cond_value): New function.
55698 (or_cond_value): Use cond_value.
55699 (generate_testfile): Handle conditional exceptions.
55700
55701 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55702
55703 * math/libm-test.inc (max_valid_error): New variable.
55704 (init_max_error): Take new argument specifying whether function
55705 results are exactly determined. Set max_valid_error and bound
55706 other variables for errors based on this argument.
55707 (set_max_error): Do not record results above max_valid_error.
55708 (check_float_internal): Only accept errors of up to 0.5ulps if
55709 also at most max_valid_error.
55710 (START): Take new argument EXACT and pass it to init_max_error.
55711 (acos_test): Update call to START.
55712 (acos_test_tonearest): Likewise.
55713 (acos_test_towardzero): Likewise.
55714 (acos_test_downward): Likewise.
55715 (acos_test_upward): Likewise.
55716 (acosh_test): Likewise.
55717 (asin_test): Likewise.
55718 (asin_test_tonearest): Likewise.
55719 (asin_test_towardzero): Likewise.
55720 (asin_test_downward): Likewise.
55721 (asin_test_upward): Likewise.
55722 (asinh_test): Likewise.
55723 (atan_test): Likewise.
55724 (atanh_test): Likewise.
55725 (atan2_test): Likewise.
55726 (cabs_test): Likewise.
55727 (cacos_test): Likewise.
55728 (cacosh_test): Likewise.
55729 (carg_test): Likewise.
55730 (casin_test): Likewise.
55731 (casinh_test): Likewise.
55732 (catan_test): Likewise.
55733 (catanh_test): Likewise.
55734 (cbrt_test): Likewise.
55735 (ccos_test): Likewise.
55736 (ccosh_test): Likewise.
55737 (ceil_test): Likewise.
55738 (cexp_test): Likewise.
55739 (cimag_test): Likewise.
55740 (clog_test): Likewise.
55741 (clog10_test): Likewise.
55742 (conj_test): Likewise.
55743 (copysign_test): Likewise.
55744 (cos_test): Likewise.
55745 (cos_test_tonearest): Likewise.
55746 (cos_test_towardzero): Likewise.
55747 (cos_test_downward): Likewise.
55748 (cos_test_upward): Likewise.
55749 (cosh_test): Likewise.
55750 (cosh_test_tonearest): Likewise.
55751 (cosh_test_towardzero): Likewise.
55752 (cosh_test_downward): Likewise.
55753 (cosh_test_upward): Likewise.
55754 (cpow_test): Likewise.
55755 (cproj_test): Likewise.
55756 (creal_test): Likewise.
55757 (csin_test): Likewise.
55758 (csinh_test): Likewise.
55759 (csqrt_test): Likewise.
55760 (ctan_test): Likewise.
55761 (ctan_test_tonearest): Likewise.
55762 (ctan_test_towardzero): Likewise.
55763 (ctan_test_downward): Likewise.
55764 (ctan_test_upward): Likewise.
55765 (ctanh_test): Likewise.
55766 (ctanh_test_tonearest): Likewise.
55767 (ctanh_test_towardzero): Likewise.
55768 (ctanh_test_downward): Likewise.
55769 (ctanh_test_upward): Likewise.
55770 (erf_test): Likewise.
55771 (erfc_test): Likewise.
55772 (exp_test): Likewise.
55773 (exp_test_tonearest): Likewise.
55774 (exp_test_towardzero): Likewise.
55775 (exp_test_downward): Likewise.
55776 (exp_test_upward): Likewise.
55777 (exp10_test): Likewise.
55778 (exp10_test_tonearest): Likewise.
55779 (exp10_test_towardzero): Likewise.
55780 (exp10_test_downward): Likewise.
55781 (exp10_test_upward): Likewise.
55782 (pow10_test): Likewise.
55783 (exp2_test): Likewise.
55784 (expm1_test): Likewise.
55785 (expm1_test_tonearest): Likewise.
55786 (expm1_test_towardzero): Likewise.
55787 (expm1_test_downward): Likewise.
55788 (expm1_test_upward): Likewise.
55789 (fabs_test): Likewise.
55790 (fdim_test): Likewise.
55791 (floor_test): Likewise.
55792 (fma_test): Likewise.
55793 (fma_test_towardzero): Likewise.
55794 (fma_test_downward): Likewise.
55795 (fma_test_upward): Likewise.
55796 (fmax_test): Likewise.
55797 (fmin_test): Likewise.
55798 (fmod_test): Likewise.
55799 (fpclassify_test): Likewise.
55800 (frexp_test): Likewise.
55801 (hypot_test): Likewise.
55802 (ilogb_test): Likewise.
55803 (isfinite_test): Likewise.
55804 (finite_test): Likewise.
55805 (isgreater_test): Likewise.
55806 (isgreaterequal_test): Likewise.
55807 (isinf_test): Likewise.
55808 (isless_test): Likewise.
55809 (islessequal_test): Likewise.
55810 (islessgreater_test): Likewise.
55811 (isnan_test): Likewise.
55812 (isnormal_test): Likewise.
55813 (issignaling_test): Likewise.
55814 (isunordered_test): Likewise.
55815 (j0_test): Likewise.
55816 (j1_test): Likewise.
55817 (jn_test): Likewise.
55818 (ldexp_test): Likewise.
55819 (lgamma_test): Likewise.
55820 (gamma_test): Likewise.
55821 (lrint_test): Likewise.
55822 (lrint_test_tonearest): Likewise.
55823 (lrint_test_towardzero): Likewise.
55824 (lrint_test_downward): Likewise.
55825 (lrint_test_upward): Likewise.
55826 (llrint_test): Likewise.
55827 (llrint_test_tonearest): Likewise.
55828 (llrint_test_towardzero): Likewise.
55829 (llrint_test_downward): Likewise.
55830 (llrint_test_upward): Likewise.
55831 (log_test): Likewise.
55832 (log10_test): Likewise.
55833 (log1p_test): Likewise.
55834 (log2_test): Likewise.
55835 (logb_test): Likewise.
55836 (logb_test_downward): Likewise.
55837 (lround_test): Likewise.
55838 (llround_test): Likewise.
55839 (modf_test): Likewise.
55840 (nearbyint_test): Likewise.
55841 (nextafter_test): Likewise.
55842 (nexttoward_test): Likewise.
55843 (pow_test): Likewise.
55844 (pow_test_tonearest): Likewise.
55845 (pow_test_towardzero): Likewise.
55846 (pow_test_downward): Likewise.
55847 (pow_test_upward): Likewise.
55848 (remainder_test): Likewise.
55849 (drem_test): Likewise.
55850 (remainder_test_tonearest): Likewise.
55851 (drem_test_tonearest): Likewise.
55852 (remainder_test_towardzero): Likewise.
55853 (drem_test_towardzero): Likewise.
55854 (remainder_test_downward): Likewise.
55855 (drem_test_downward): Likewise.
55856 (remainder_test_upward): Likewise.
55857 (drem_test_upward): Likewise.
55858 (remquo_test): Likewise.
55859 (rint_test): Likewise.
55860 (rint_test_tonearest): Likewise.
55861 (rint_test_towardzero): Likewise.
55862 (rint_test_downward): Likewise.
55863 (rint_test_upward): Likewise.
55864 (round_test): Likewise.
55865 (scalb_test): Likewise.
55866 (scalbn_test): Likewise.
55867 (scalbln_test): Likewise.
55868 (signbit_test): Likewise.
55869 (sin_test): Likewise.
55870 (sin_test_tonearest): Likewise.
55871 (sin_test_towardzero): Likewise.
55872 (sin_test_downward): Likewise.
55873 (sin_test_upward): Likewise.
55874 (sincos_test): Likewise.
55875 (sinh_test): Likewise.
55876 (sinh_test_tonearest): Likewise.
55877 (sinh_test_towardzero): Likewise.
55878 (sinh_test_downward): Likewise.
55879 (sinh_test_upward): Likewise.
55880 (sqrt_test): Likewise.
55881 (sqrt_test_tonearest): Likewise.
55882 (sqrt_test_towardzero): Likewise.
55883 (sqrt_test_downward): Likewise.
55884 (sqrt_test_upward): Likewise.
55885 (tan_test): Likewise.
55886 (tan_test_tonearest): Likewise.
55887 (tan_test_towardzero): Likewise.
55888 (tan_test_downward): Likewise.
55889 (tan_test_upward): Likewise.
55890 (tanh_test): Likewise.
55891 (tgamma_test): Likewise.
55892 (trunc_test): Likewise.
55893 (y0_test): Likewise.
55894 (y1_test): Likewise.
55895 (yn_test): Likewise.
55896 (significand_test): Likewise.
55897
55898 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55899 individual tests in comment.
55900 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55901 (prev_max_error): New variable.
55902 (prev_real_max_error): Likewise.
55903 (prev_imag_max_error): Likewise.
55904 (compare_ulp_data): Don't refer to test names in comment.
55905 (find_test_ulps): Remove function.
55906 (find_function_ulps): Likewise.
55907 (find_complex_function_ulps): Likewise.
55908 (init_max_error): Take function name as argument. Look up ulps
55909 for that function.
55910 (print_ulps): Remove function.
55911 (print_max_error): Use prev_max_error instead of calling
55912 find_function_ulps.
55913 (print_complex_max_error): Use prev_real_max_error and
55914 prev_imag_max_error instead of calling find_complex_function_ulps.
55915 (check_float_internal): Take max_ulp parameter instead of calling
55916 find_test_ulps. Don't call print_ulps.
55917 (check_float): Update call to check_float_internal.
55918 (check_complex): Update calls to check_float_internal.
55919 (START): Pass argument to init_max_error.
55920 * math/gen-libm-test.pl (%results): Don't include "kind"
55921 information.
55922 (parse_ulps): Don't handle ulps of individual tests.
55923 (print_ulps_file): Likewise.
55924 (output_ulps): Likewise.
55925 * math/README.libm-test: Update.
55926 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55927 individual tests.
55928 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55929 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55930 * sysdeps/arm/libm-test-ulps: Likewise.
55931 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55932 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55933 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55934 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55935 * sysdeps/microblaze/libm-test-ulps: Likewise.
55936 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55937 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55939 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55940 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55941 * sysdeps/sh/libm-test-ulps: Likewise.
55942 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55943 * sysdeps/tile/libm-test-ulps: Likewise.
55944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55945
55946 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55947
55948 * math/libm-test.inc (print_complex_max_error): Check separately
55949 whether real and imaginary errors are within allowed range and
55950 pass 0 to print_complex_function_ulps instead of value within
55951 allowed range.
55952
55953 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55954
55955 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55956 formatting.
55957 (get_handles_fopen): Likewise.
55958 (do_write_test): Likewise.
55959
55960 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55961
55962 * libio/fileops.c (do_ftell): Use cached offset when
55963 available.
55964 * libio/iofwide.c (do_ftell_wide): Likewise.
55965 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55966 _IO_file_attach.
55967 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55968
55969 [BZ #16532]
55970 * libio/libioP.h (get_file_offset): New function.
55971 * libio/fileops.c (get_file_offset): Likewise.
55972 (do_ftell): Likewise.
55973 (_IO_new_file_seekoff): Split out ftell logic.
55974 * libio/wfileops.c (do_ftell_wide): Likewise.
55975 (_IO_wfile_seekoff): Split out ftell logic.
55976 * libio/tst-ftell-active-handler.c: New test case.
55977 * libio/Makefile (tests): Add it.
55978
55979 2014-03-03 Roland McGrath <roland@hack.frob.com>
55980
55981 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55982 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55983
55984 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55985
55986 [BZ #16639]
55987 * nscd/connections.c (nscd_init): Call do_exit.
55988 (start_threads): Call do_exit and notify_parent.
55989 (begin_drop_privileges): Call do_exit.
55990 (finish_drop_privileges): Likewise.
55991 * nscd/selinux.c (preserve_capabilities): Likewise.
55992 (install_real_capabilities): Likewise.
55993 (nscd_selinux_enabled): Likewise.
55994 (avc_create_thread): Likewise.
55995 (avc_alloc_lock): Likewise.
55996 (nscd_avc_init): Likewise.
55997 * nscd/nscd.c (parent_fd): New static variable.
55998 (main): Create a pipe between parent and child processes.
55999 Skip closing parent_fd.
56000 (monitor_child): New function.
56001 (do_exit): Likewise.
56002 (notify_parent): Likewise.
56003 * nscd/nscd.h (notify_parent): Likewise.
56004 (do_exit): Likewise.
56005
56006 2014-03-03 Carlos O'Donell <carlos@redhat.com>
56007
56008 * malloc/malloc.c (__libc_calloc): Revert last change.
56009
56010 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56011
56012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56013
56014 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56015
56016 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56018 implementation.
56019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56020 (__libc_ifunc_impl_list): Likewise.
56021 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56022 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56023 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56024 * string/strrchr.c: Define STRRCHR.
56025
56026 2014-02-28 Ondƙej Bílka <neleai@seznam.cz>
56027
56028 * benchtest/bench-strtok.c (simple_strtok): Delete.
56029 (strtok_string): Use as benchmark.
56030 * string/strtok (STRTOK): New macro.
56031
56032 2014-02-28 Carlos O'Donell <carlos@redhat.com>
56033
56034 * manual/threads.texi: Add header and standard comments to all
56035 functions.
56036
56037 * elf/dl-lookup.c (check_match): New function.
56038 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56039 (do_lookup_x): Remove nested function check_match. Use non-nested
56040 function check_match.
56041
56042 2014-02-28 Roland McGrath <roland@hack.frob.com>
56043
56044 * csu/Makefile (generated, before-compile): Use += rather than =.
56045 * catgets/Makefile (generated, generated-dirs): Likewise.
56046 * debug/Makefile (generated): Likewise.
56047 * dlfcn/Makefile (generated): Likewise.
56048 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56049 * iconvdata/Makefile (before-compile, generated): Likewise.
56050 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56051 * libio/Makefile (generated): Likewise.
56052 * malloc/Makefile (generated): Likewise.
56053 * manual/Makefile (generated, generated-dirs): Likewise.
56054 * misc/Makefile (generated): Likewise.
56055 * posix/Makefile (generated): Likewise.
56056 * resolv/Makefile (generated): Likewise.
56057 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56058 * timezone/Makefile (generated, generated-dirs): Likewise.
56059
56060 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56061
56062 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56063
56064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56065 power8 implementation.
56066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56067 file: POWER8 llround ifunc implementation.
56068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56069 (__lllround): Add POWER8 implementation.
56070 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56071 POWER8 llround implementation.
56072
56073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56074 power8 implementation.
56075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56076 file: POWER8 llrint ifunc implementation.
56077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56078 Add POWER8 implementation.
56079 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56080 POWER8 llrint implementation.
56081
56082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56083 power8 implementation.
56084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56085 file: POWER8 finite ifunc implementation.
56086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56087 Add POWER8 implementation.
56088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56089 Likewise.
56090 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56091 POWER8 finite implementation.
56092 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56093
56094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56095 power8 implementation.
56096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56097 file: POWER8 isinf ifunc implementation.
56098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56099 POWER8 implementation.
56100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56101 Likewise.
56102 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56103 isinf implementation.
56104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56105
56106 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56107 (INIT_ARCH): Add hwcap2 initialization.
56108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56109 power8 implementation.
56110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56111 file: POWER8 isnan ifunc implementation.
56112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56113 POWER8 implementation.
56114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56115 Likewise.
56116 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56117 isnan implementation.
56118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56119
56120 2014-02-27 Joey Ye <joey.ye@arm.com>
56121
56122 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56123 (_FP_NANFRAC_Q): Set to zero.
56124
56125 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56126
56127 [BZ #16623]
56128 * math/auto-libm-test-in: New test inputs.
56129 * math/auto-libm-test-out: Regenerate.
56130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56131 and DA.
56132 (__cos): Likewise.
56133 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56134
56135 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56136
56137 * scripts/evaluate-test.sh: Take new argument indicating whether
56138 failure is expected.
56139 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56140 indicating whether failure is expected.
56141 * conform/Makefile (test-xfail-run-conformtest): New variable.
56142 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56143 level.
56144 * posix/Makefile (test-xfail-annexc): New variable.
56145 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56146
56147 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56148
56149 * argp/Makefile: Include Makeconfig immediately after defining
56150 subdir.
56151 * assert/Makefile: Likewise.
56152 * benchtests/Makefile: Likewise.
56153 * catgets/Makefile: Likewise.
56154 * conform/Makefile: Likewise.
56155 * crypt/Makefile: Likewise.
56156 * csu/Makefile: Likewise.
56157 (all): Remove target.
56158 * ctype/Makefile: Include Makeconfig immediately after defining
56159 subdir.
56160 * debug/Makefile: Likewise.
56161 * dirent/Makefile: Likewise.
56162 * dlfcn/Makefile: Likewise.
56163 * gmon/Makefile: Likewise.
56164 * gnulib/Makefile: Likewise.
56165 * grp/Makefile: Likewise.
56166 * gshadow/Makefile: Likewise.
56167 * hesiod/Makefile: Likewise.
56168 * hurd/Makefile: Likewise.
56169 (all): Remove target.
56170 * iconvdata/Makefile: Include Makeconfig immediately after
56171 defining subdir.
56172 * inet/Makefile: Likewise.
56173 * intl/Makefile: Likewise.
56174 * io/Makefile: Likewise.
56175 * libio/Makefile: Likewise.
56176 (all): Remove target.
56177 * locale/Makefile: Include Makeconfig immediately after defining
56178 subdir.
56179 * login/Makefile: Likewise.
56180 * mach/Makefile: Likewise.
56181 (all): Remove target.
56182 * malloc/Makefile: Include Makeconfig immediately after defining
56183 subdir.
56184 (all): Remove target.
56185 * manual/Makefile: Include Makeconfig immediately after defining
56186 subdir.
56187 * math/Makefile: Likewise.
56188 * misc/Makefile: Likewise.
56189 * nis/Makefile: Likewise.
56190 * nss/Makefile: Likewise.
56191 * po/Makefile: Likewise.
56192 (all): Remove target.
56193 * posix/Makefile: Include Makeconfig immediately after defining
56194 subdir.
56195 * pwd/Makefile: Likewise.
56196 * resolv/Makefile: Likewise.
56197 * resource/Makefile: Likewise.
56198 * rt/Makefile: Likewise.
56199 * setjmp/Makefile: Likewise.
56200 * shadow/Makefile: Likewise.
56201 * signal/Makefile: Likewise.
56202 * socket/Makefile: Likewise.
56203 * soft-fp/Makefile: Likewise.
56204 * stdio-common/Makefile: Likewise.
56205 * stdlib/Makefile: Likewise.
56206 * streams/Makefile: Likewise.
56207 * string/Makefile: Likewise.
56208 * sunrpc/Makefile: Likewise.
56209 (all): Remove target.
56210 * sysvipc/Makefile: Include Makeconfig immediately after defining
56211 subdir.
56212 * termios/Makefile: Likewise.
56213 * time/Makefile: Likewise.
56214 * timezone/Makefile: Likewise.
56215 (all): Remove target.
56216 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56217 subdir.
56218 * wctype/Makefile: Likewise.
56219
56220 2014-02-26 Steve Ellcey <sellcey@mips.com>
56221
56222 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56223 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56224 (libc_feholdexcept_setround_mips): Ditto.
56225 (libc_feholdsetround): New.
56226 (libc_feholdsetroundf): New.
56227 (libc_feholdsetroundl): New.
56228 (libc_feupdateenv_test_mips): New.
56229 (libc_feupdateenv_test): New.
56230 (libc_feupdateenv_testf): New.
56231 (libc_feupdateenv_testl): New.
56232 (libc_feresetround): New.
56233 (libc_feresetroundf): New.
56234 (libc_feresetroundl): New.
56235 (libc_fetestexcept_mips): New.
56236 (libc_fetestexcept): New.
56237 (libc_fetestexceptf): New.
56238 (libc_fetestexceptl): New.
56239 (HAVE_RM_CTX): New.
56240 (libc_feholdexcept_setround_mips_ctx): New.
56241 (libc_feholdexcept_setround_ctx): New.
56242 (libc_feholdexcept_setroundf_ctx): New.
56243 (libc_feholdexcept_setroundl_ctx): New.
56244 (libc_fesetenv_mips_ctx): New.
56245 (libc_fesetenv_ctx): New.
56246 (libc_fesetenv_ctxf): New.
56247 (libc_fesetenv_ctxl): New.
56248 (libc_feupdateenv_mips_ctx): New.
56249 (libc_feupdateenv_ctx): New.
56250 (libc_feupdateenvf_ctx): New.
56251 (libc_feupdateenvl_ctx): New.
56252 (libc_feholdsetround_mips_ctx): New.
56253 (libc_feholdsetround_ctx): New.
56254 (libc_feholdsetroundf_ctx): New.
56255 (libc_feholdsetroundl_ctx): New.
56256 (libc_feresetround_mips_ctx): New.
56257 (libc_feresetround_ctx): New.
56258 (libc_feresetroundf_ctx): New.
56259 (libc_feresetroundl_ctx): New.
56260
56261 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56262
56263 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56264
56265 * manual/ipc.texi: New file.
56266 * manual/Makefile (chapters): Add ipc.
56267 * manual/job.texi: Add "Inter-Process Communication" to next.
56268 * manual/process.texi: Add "Inter-Process Communication" to prev.
56269
56270 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56271
56272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56273
56274 2014-02-26 Ondƙej Bílka <neleai@seznam.cz>
56275
56276 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56277
56278 * manual/arith.texi: Fix spaces after sentences.
56279 * manual/charset.texi: Likewise.
56280 * manual/errno.texi: Likewise.
56281 * manual/install.texi: Likewise.
56282 * manual/llio.texi: Likewise.
56283 * manual/locale.texi: Likewise.
56284 * manual/maint.texi: Likewise.
56285 * manual/math.texi: Likewise.
56286 * manual/memory.texi: Likewise.
56287 * manual/message.texi: Likewise.
56288 * manual/probes.texi: Likewise.
56289 * manual/resource.texi: Likewise.
56290 * manual/signal.texi: Likewise.
56291 * manual/socket.texi: Likewise.
56292 * manual/stdio.texi: Likewise.
56293 * manual/string.texi: Likewise.
56294 * manual/time.texi: Likewise.
56295 * manual/users.texi: Likewise.
56296
56297 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56298
56299 [BZ #16632]
56300 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56301 _DEFAULT_SOURCE is defined.
56302
56303 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56304 Carlos O'Donell <carlos@redhat.com>
56305
56306 [BZ #16613]
56307 * elf/dl-tls.c (_dl_count_modids): New function.
56308 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56309 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56310 audit library and increment generation counter.
56311 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56312 * elf/tst-audit9.c: New file.
56313 * elf/tst-auditmod9a.c: New file.
56314 * elf/tst-auditmod9b.c: New file.
56315 * elf/Makefile: Add rules to build and run tst-audit9.
56316
56317 2014-02-25 Florian Weimer <fweimer@redhat.com>
56318
56319 [BZ #15347]
56320 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56321
56322 2014-02-25 Will Newton <will.newton@linaro.org>
56323
56324 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56325 (__longjmp): Restore sp and lr before restoring callee
56326 saved registers. Add longjmp and longjmp_target
56327 SystemTap probe point.
56328 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56329 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56330 Define to zero to match jmpbuf layout.
56331 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56332 (__sigsetjmp): Save sp and lr before saving callee
56333 saved registers. Add setjmp SystemTap probe point.
56334
56335 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56336
56337 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56338
56339 2014-02-24 Andreas Schwab <schwab@suse.de>
56340
56341 [BZ #15804]
56342 * elf/pldd.c (wait_for_ptrace_stop): New function.
56343 (main): Call it after attaching.
56344
56345 2014-02-22 Roland McGrath <roland@hack.frob.com>
56346
56347 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56348 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56349 Versions files is now verboten.
56350 * hurd/Versions (libc: GLIBC_2.0):
56351 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56352 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56353 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56354 * mach/Versions: Likewise.
56355
56356 * csu/Versions: Remove unused %include.
56357 * resolv/Versions: Likewise.
56358
56359 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56360
56361 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56362 ($(objpfx)check-local-headers.out): Likewise.
56363 ($(objpfx)begin-end-check.out): Likewise.
56364 * Makerules (check-abi-%.out): Likewise.
56365 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56366 ($(objpfx)test2.cat): Likewise.
56367 ($(objpfx)de/libc.cat): Likewise.
56368 ($(objpfx)test-gencat.out): Likewise.
56369 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56370 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56371 ($(objpfx)noload-mem): Likewise.
56372 ($(objpfx)tst-pathopt.out): Likewise.
56373 ($(objpfx)tst-rtld-load-self.out): Likewise.
56374 ($(objpfx)tst-array1-cmp.out): Likewise.
56375 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56376 ($(objpfx)tst-array2-cmp.out): Likewise.
56377 ($(objpfx)tst-array3-cmp.out): Likewise.
56378 ($(objpfx)tst-array4-cmp.out): Likewise.
56379 ($(objpfx)tst-array5-cmp.out): Likewise.
56380 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56381 ($(objpfx)check-textrel.out): Likewise.
56382 ($(objpfx)check-execstack.out): Likewise.
56383 ($(objpfx)check-localplt.out): Likewise.
56384 ($(objpfx)order2-cmp.out): Likewise.
56385 ($(objpfx)tst-leaks1-mem): Likewise.
56386 ($(objpfx)tst-leaks1-static-mem): Likewise.
56387 ($(objpfx)tst-initorder-cmp.out): Likewise.
56388 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56389 ($(objpfx)tst-unused-dep.out): Likewise.
56390 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56392 * iconv/Makefile (test-iconvconfig): Likewise.
56393 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56394 ($(objpfx)iconv-test.out): Likewise.
56395 ($(objpfx)tst-tables.out): Likewise.
56396 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56397 ($(objpfx)tst-gettext.out): Likewise.
56398 ($(objpfx)tst-translit.out): Likewise.
56399 ($(objpfx)tst-gettext2.out): Likewise.
56400 ($(objpfx)tst-gettext4.out): Likewise.
56401 ($(objpfx)tst-gettext6.out): Likewise.
56402 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56403 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56404 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56405 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56406 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56407 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56408 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56409 ($(objpfx)wordexp-tst.out): Likewise.
56410 ($(objpfx)annexc.out): Likewise.
56411 ($(objpfx)tst-fnmatch-mem): Likewise.
56412 ($(objpfx)bug-regex2-mem): Likewise.
56413 ($(objpfx)bug-regex14-mem): Likewise.
56414 ($(objpfx)bug-regex21-mem): Likewise.
56415 ($(objpfx)bug-regex31-mem): Likewise.
56416 ($(objpfx)tst-vfork3-mem): Likewise.
56417 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56418 ($(objpfx)tst-pcre-mem): Likewise.
56419 ($(objpfx)tst-boost-mem): Likewise.
56420 ($(objpfx)tst-getconf.out): Likewise.
56421 ($(objpfx)bug-ga2-mem): Likewise.
56422 ($(objpfx)bug-glob2-mem): Likewise.
56423 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56424 ($(objpfx)mtrace-tst-leaks2): Likewise.
56425 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56426 ($(objpfx)tst-printf.out): Likewise.
56427 ($(objpfx)tst-setvbuf1.out): Likewise.
56428 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56429 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56430 ($(objpfx)tst-fmtmsg.out): Likewise.
56431 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56432 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56433
56434 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56435 * bits/sigaction.h [__USE_MISC]: Likewise.
56436 * bits/waitstatus.h: Update #endif comments.
56437 * ctype/ctype.h: Likewise.
56438 * dirent/dirent.h: Likewise.
56439 [__USE_MISC]: Remove redundant conditionals.
56440 * grp/grp.h: Update #endif comments.
56441 [__USE_GNU]: Remove redundant conditionals.
56442 [__USE_MISC]: Likewise.
56443 * inet/netinet/in.h [__USE_GNU]: Likewise.
56444 * io/sys/stat.h [__USE_MISC]: Likewise.
56445 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56446 * libio/bits/stdio.h: Update #endif comments.
56447 [__USE_MISC]: Remove redundant conditionals.
56448 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56449 * libio/stdio.h: Update #endif comments.
56450 [__USE_MISC]: Remove redundant conditionals.
56451 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56452 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56453 * math/math.h: Update #else and #endif comments.
56454 [__USE_MISC]: Remove redundant conditionals.
56455 * misc/sys/uio.h: Update #endif comments.
56456 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56457 * posix/glob.h [__USE_MISC]: Likewise.
56458 * posix/sys/types.h: Update #endif comments.
56459 [__USE_MISC]: Remove redundant conditionals.
56460 * posix/sys/wait.h: Update #endif comments.
56461 [__USE_MISC]: Remove redundant conditionals.
56462 * posix/unistd.h: Update #endif comments.
56463 [__USE_MISC]: Remove redundant conditionals.
56464 * pwd/pwd.h [__USE_GNU]: Likewise.
56465 [__USE_MISC]: Likewise.
56466 * resolv/netdb.h [__USE_GNU]: Likewise.
56467 * signal/signal.h: Update #endif comments.
56468 [__USE_MISC]: Remove redundant conditionals.
56469 * stdlib/stdlib.h: Update #else and #endif comments.
56470 [__USE_MISC]: Remove redundant conditionals.
56471 [__USE_GNU]: Likewise.
56472 * string/bits/string2.h [__USE_MISC]: Likewise.
56473 * string/string.h: Update #endif comments.
56474 [__USE_MISC]: Remove redundant conditionals.
56475 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56476 Likewise.
56477 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56478 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56479 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56480 Likewise.
56481 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56482 Likewise.
56483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56484 comments.
56485 [__USE_MISC]: Remove redundant conditionals.
56486 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56487 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56488 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56489 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56490 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56491 Likewise.
56492 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56493 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56494 Likewise.
56495 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56496 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56497 Likewise.
56498 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56499 Likewise.
56500 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56501 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56502 Likewise.
56503 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56504 Likewise.
56505 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56506 * sysdeps/x86/bits/string.h: Update #endif comments.
56507 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56508 conditionals.
56509 * time/sys/time.h: Update #endif comments.
56510 * time/time.h: Likewise.
56511 [__USE_MISC]: Remove redundant conditionals.
56512
56513 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56514
56515 [BZ #16600]
56516 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56517
56518 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56519
56520 * Versions.def (librt): Add GLIBC_2.17.
56521
56522 2014-02-21 Adam Conrad <adconrad@0c3.net>
56523
56524 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56525 synonym for _SYS_AUXV_H to allow direct inclusion.
56526 * sysdeps/sparc/bits/hwcap.h: Likewise.
56527 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56528 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56529 * sysdeps/sparc/sysdep.h: Likewise.
56530
56531 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56532
56533 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56534
56535 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56536
56537 * benchtests/bench-strrchr.c: Print length instead of position.
56538
56539 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56540
56541 [BZ #16611]
56542 * sysdeps/unix/sysv/linux/kernel-features.h
56543 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56544 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56545 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56546 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56547 Likewise.
56548 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56549 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56550 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56551 (__ASSUME_SENDMMSG): Define instead of using previous
56552 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56553 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56554 (__ASSUME_SENDMMSG_SYSCALL): Define.
56555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56556 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56557 Likewise.
56558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56559 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56560 Likewise.
56561 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56562 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56563 Likewise.
56564 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56565 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56566 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56567 [__ASSUME_SENDMMSG]: Change conditionals to
56568 [__ASSUME_SENDMMSG_SOCKETCALL].
56569 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56570 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56571 Define.
56572 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56573 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56574 Likewise.
56575 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56576 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56577 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56578 [!__ASSUME_SENDMMSG]: Change conditional to
56579 [!__ASSUME_SENDMMSG_SOCKETCALL].
56580 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56581 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56582 Define.
56583
56584 [BZ #16610]
56585 * sysdeps/unix/sysv/linux/kernel-features.h
56586 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56587 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56588 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56589 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56590 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56591 [__i386__ || __sparc__]
56592 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56593 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56594 (__ASSUME_RECVMMSG): Define instead of using previous
56595 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56596 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56597 (__ASSUME_RECVMMSG_SYSCALL): Define.
56598 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56599 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56600 Likewise.
56601 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56603 Likewise.
56604 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56605 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56606 Likewise.
56607 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56608 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56609 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56610 [__ASSUME_RECVMMSG]: Change condition to
56611 [__ASSUME_RECVMMSG_SOCKETCALL].
56612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56613 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56614 Define.
56615 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56616 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56618 Likewise.
56619 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56620 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56621 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56622 [!__ASSUME_RECVMMSG]: Change condition to
56623 [!__ASSUME_RECVMMSG_SOCKETCALL].
56624 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56625 (__ASSUME_RECVMMSG_SYSCALL): Define.
56626
56627 [BZ #16609]
56628 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56629 __powerpc__ || __s390__ || __sh__ || __sparc__]
56630 (__ASSUME_SOCKETCALL): Define.
56631 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56632 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56633 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56634 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56635 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56636 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56637 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56638 (__ASSUME_ACCEPT4): Define instead of using previous
56639 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56640 __powerpc__ || __sparc__ || __s390__)] condition.
56641 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56642 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56643 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56644 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56645 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56646 [!__ASSUME_ACCEPT4]: Change condition to
56647 [!__ASSUME_ACCEPT4_SOCKETCALL].
56648 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56649 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56650 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56651 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56652 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56653 __ASSUME_ACCEPT4_SYSCALL.
56654 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56655 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56657 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56658 __ASSUME_ACCEPT4_SYSCALL.
56659 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56660 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56661 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56662 [__ASSUME_ACCEPT4]: Change condition to
56663 [__ASSUME_ACCEPT4_SOCKETCALL].
56664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56665 (__ASSUME_SOCKETCALL): Define.
56666 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56668 (__ASSUME_SOCKETCALL): Define.
56669 (__ASSUME_ACCEPT4): Remove.
56670 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56671 Define.
56672 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56673 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56674 Likewise.
56675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56676 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56677
56678 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56679 macro.
56680 (HWCAP_ARM_LPAE): Likewise.
56681 (HWCAP_ARM_EVTSTRM): Likewise.
56682 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56683 Add vpfd32, lpae and evtstrm.
56684 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56685 Increase to 22.
56686
56687 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56688
56689 * math/auto-libm-test-in: Add tests of clog10.
56690 * math/auto-libm-test-out: Regenerated.
56691 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56692 * sysdeps/i386/fpu/libm-test-ulps: Update.
56693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56694
56695 2014-02-18 Andreas Schwab <schwab@suse.de>
56696
56697 [BZ #16574]
56698 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56699 Store non-zero if the second buffer was newly allocated.
56700 (send_dg): Likewise.
56701 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56702 to send_vc and send_dg.
56703 (res_nsend): Pass NULL for ansp2_malloced.
56704 * resolv/res_query.c (__libc_res_nquery): Add parameter
56705 answerp2_malloced and pass it down to __libc_res_nsend.
56706 (res_nquery): Pass additional NULL to __libc_res_nquery.
56707 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56708 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56709 second answer buffer if answerp2_malloced was set.
56710 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56711 (__libc_res_nquerydomain): Add parameter
56712 answerp2_malloced and pass it down to __libc_res_nquery.
56713 (res_nquerydomain): Pass additional NULL to
56714 __libc_res_nquerydomain.
56715 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56716 additional NULL to __libc_res_nsend and __libc_res_nquery.
56717 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56718 additional NULL to __libc_res_nsearch.
56719 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56720 parameter of __libc_res_nsearch to check for separately allocated
56721 second buffer.
56722 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56723 __libc_res_nquery.
56724 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56725 additional NULL to __libc_res_nquery.
56726 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56727 __libc_res_nsearch.
56728 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56729 * include/resolv.h: Update prototypes of __libc_res_nquery,
56730 __libc_res_nsearch, __libc_res_nsend.
56731
56732 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56733
56734 * math/auto-libm-test-in: Add tests of fma.
56735 * math/auto-libm-test-out: Regenerated.
56736 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56737 (fma_towardzero_test_data): Likewise.
56738 (fma_downward_test_data): Likewise.
56739 (fma_upward_test_data): Likewise.
56740 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56741 mpc_mode.
56742 (rounding_modes): Add values for new field.
56743 (func_calc_method): Add value mpfr_fff_f.
56744 (func_calc_desc): Add mpfr_fff_f union field.
56745 (test_function): Add field exact_args.
56746 (FUNC): Add macro argument EXACT_ARGS.
56747 (FUNC_mpfr_f_f): Update call to FUNC.
56748 (FUNC_mpfr_f_f): Likewise.
56749 (FUNC_mpfr_ff_f): Likewise.
56750 (FUNC_mpfr_if_f): Likewise.
56751 (FUNC_mpc_c_f): Likewise.
56752 (FUNC_mpc_c_c): Likewise.
56753 (test_functions): Add fma. Update calls to FUNC.
56754 (handle_input_arg): Add argument exact_args.
56755 (add_test): Update call to handle_input_arg.
56756 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56757 (output_for_one_input_case): Update call to calc_generic_results.
56758 Recalculate exact zero results in each rounding mode.
56759
56760 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56761 non-negative before setting low bit.
56762 * math/auto-libm-test-in: Mark one asin test possibly having
56763 spurious underflow.
56764 * math/auto-libm-test-out: Regenerated.
56765 * sysdeps/i386/fpu/libm-test-ulps: Update.
56766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56767
56768 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56769
56770 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56771 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56772 ports/sysdeps/unix/sysv/linux/microblaze.
56773 * README: Add missing listing for microblaze*-*-linux-gnu.
56774
56775 2014-02-16 Ondƙej Bílka <neleai@seznam.cz>
56776
56777 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56778 duplicate code
56779
56780 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56781
56782 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56783 * sysdeps/unix/sysv/linux/ia64: Move directory from
56784 ports/sysdeps/unix/sysv/linux/ia64.
56785 * README: Update listing for ia64-*-linux-gnu.
56786
56787 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56788 Joseph Myers <joseph@codesourcery.com>
56789
56790 * Makeconfig (test-name): New variable.
56791 (evaluate-test): Likewise.
56792 * Makerules (do-test-clean): Remove .test-result files.
56793 (common-mostlyclean): Likewise.
56794 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56795 * scripts/evaluate-test.sh: New file.
56796
56797 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56798
56799 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56800 separate $(objpfx)tst-fopenloc-cmp.out and
56801 $(objpfx)tst-fopenloc-mem.out targets.
56802 (tests): Update dependencies.
56803 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56804 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56805 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56806 (tst-rxspencer-no-utf8-ARGS): New variable.
56807 (tst-rxspencer-no-utf8-ENV): Likewise.
56808 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56809 instead of $(objpfx)tst-rxspencer-mem.
56810 ($(objpfx)tst-rxspencer-mem): Change target to
56811 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56812 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56813 * posix/tst-rxspencer-no-utf8.c: New file.
56814
56815 * elf/Makefile ($(objpfx)order.out): Remove rule.
56816 [$(run-built-tests) = yes] (tests): Depend on
56817 $(objpfx)order-cmp.out.
56818 ($(objpfx)order-cmp.out): New rule.
56819 [$(run-built-tests) = yes] (tests): Depend on
56820 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56821 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56822 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56823 $(objpfx)tst-array5-static-cmp.out.
56824 ($(objpfx)tst-array1.out): Remove rule.
56825 ($(objpfx)tst-array1-cmp.out): New rule.
56826 ($(objpfx)tst-array1-static.out): Remove rule.
56827 ($(objpfx)tst-array1-static-cmp.out): New rule.
56828 ($(objpfx)tst-array2.out): Remove rule.
56829 ($(objpfx)tst-array2-cmp.out): New rule.
56830 ($(objpfx)tst-array3.out): Remove rule.
56831 ($(objpfx)tst-array3-cmp.out): New rule.
56832 ($(objpfx)tst-array4.out): Remove rule.
56833 ($(objpfx)tst-array4-cmp.out): New rule.
56834 ($(objpfx)tst-array5.out): Remove rule.
56835 ($(objpfx)tst-array5-cmp.out): New rule.
56836 ($(objpfx)tst-array5-static.out): Remove rule.
56837 ($(objpfx)tst-array5-static-cmp.out): New rule.
56838 [$(run-built-tests) = yes] (tests): Depend on
56839 $(objpfx)order2-cmp.out.
56840 ($(objpfx)order2.out): Remove rule.
56841 ($(objpfx)order2-cmp.out): New rule.
56842 ($(objpfx)tst-initorder.out): Remove rule.
56843 [$(run-built-tests) = yes] (tests): Depend on
56844 $(objpfx)tst-initorder-cmp.out.
56845 ($(objpfx)tst-initorder-cmp.out): New rule.
56846 ($(objpfx)tst-initorder2.out): Remove rule.
56847 [$(run-built-tests) = yes] (tests): Depend on
56848 $(objpfx)tst-initorder2-cmp.out.
56849 ($(objpfx)tst-initorder2-cmp.out): New rule.
56850 [$(run-built-tests) = yes] (tests): Depend on
56851 $(objpfx)tst-unused-dep-cmp.out.
56852 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56853 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56854 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56855 on $(objpfx)tst-setvbuf1-cmp.out.
56856 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56857 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56858 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56859 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56860 ($(objpfx)tst-svc.out): Remove rule.
56861 ($(objpfx)tst-svc-cmp.out): New rule.
56862
56863 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56864
56865 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56866 * ctype/ctype.h [__USE_MISC]: Likewise.
56867 * dirent/dirent.h [__USE_MISC]: Likewise.
56868 * grp/grp.h [__USE_MISC]: Likewise.
56869 * io/fcntl.h [__USE_MISC]: Likewise.
56870 * io/sys/stat.h [__USE_MISC]: Likewise.
56871 * libio/stdio.h [__USE_MISC]: Likewise.
56872 * posix/unistd.h [__USE_MISC]: Likewise.
56873 * pwd/pwd.h [__USE_MISC]: Likewise.
56874 * stdlib.h [__USE_MISC]: Likewise.
56875 * string/bits/string2.h [__USE_MISC]: Likewise.
56876 * string/string.h [__USE_MISC]: Likewise.
56877 * time/time.h [__USE_MISC]: Likewise.
56878
56879 2014-02-13 Andreas Schwab <schwab@suse.de>
56880
56881 [BZ #16574]
56882 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56883 second answer buffer if it was separately allocated.
56884
56885 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56886
56887 * sysdeps/mips/math-tests.h: Include <features.h>.
56888 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56889 (ROUNDING_TESTS_long_double): Do not define.
56890 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56891 (EXCEPTION_TESTS_long_double): Likewise.
56892 * sysdeps/mips/mips64/libm-test-ulps: Update.
56893
56894 * include/features.h (__USE_BSD): Remove macro definitions.
56895 (__USE_SVID): Likewise.
56896 (_BSD_SOURCE): Likewise.
56897 (_SVID_SOURCE): Likewise.
56898 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56899 from definition of _DEFAULT_SOURCE.
56900 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56901 [_DEFAULT_SOURCE].
56902 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56903 * bits/mman.h [__USE_BSD]: Likewise.
56904 * bits/termios.h [__USE_BSD]: Likewise.
56905 * bits/waitstatus.h [__USE_BSD]: Likewise.
56906 * ctype/ctype.h [__USE_SVID]: Likewise.
56907 * dirent/dirent.h [__USE_BSD]: Likewise.
56908 * grp/grp.h [__USE_SVID]: Likewise.
56909 [__USE_BSD]: Likewise.
56910 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56911 * io/fcntl.h [__USE_BSD]: Likewise.
56912 * io/ftw.h [__USE_BSD]: Likewise.
56913 * io/sys/stat.h [__USE_BSD]: Likewise.
56914 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56915 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56916 * libio/stdio.h [__USE_SVID]: Likewise.
56917 [__USE_BSD]: Likewise.
56918 * math/math.h [__USE_SVID]: Likewise.
56919 [__USE_BSD]: Likewise.
56920 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56921 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56922 * misc/search.h [__USE_SVID]: Likewise.
56923 * misc/sys/mman.h [__USE_BSD]: Likewise.
56924 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56925 * misc/sys/uio.h [__USE_BSD]: Likewise.
56926 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56927 * posix/glob.h [__USE_BSD]: Likewise.
56928 * posix/regex.h [__USE_BSD]: Likewise.
56929 * posix/sys/types.h [__USE_BSD]: Likewise.
56930 [__USE_SVID]: Likewise.
56931 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56932 * posix/sys/wait.h [__USE_BSD]: Likewise.
56933 [__USE_SVID]: Likewise.
56934 * posix/unistd.h [__USE_BSD]: Likewise.
56935 [__USE_SVID]: Likewise.
56936 * pwd/pwd.h [__USE_SVID]: Likewise.
56937 * resolv/netdb.h [__USE_BSD]: Likewise.
56938 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56939 * signal/signal.h [__USE_BSD]: Likewise.
56940 [__USE_SVID]: Likewise.
56941 * socket/sys/socket.h [__USE_BSD]: Likewise.
56942 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56943 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56944 [__USE_SVID]: Likewise.
56945 * string/bits/string2.h [__USE_BSD]: Likewise.
56946 [__USE_SVID]: Likewise.
56947 * string/bits/string3.h [__USE_BSD]: Likewise.
56948 * string/endian.h [__USE_BSD]: Likewise.
56949 * string/string.h [__USE_SVID]: Likewise.
56950 [__USE_BSD]: Likewise.
56951 * string/strings.h [__USE_BSD]: Likewise.
56952 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56953 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56954 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56955 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56956 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56957 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56958 Likewise.
56959 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56960 Likewise.
56961 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56962 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56963 Likewise.
56964 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56965 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56966 Likewise.
56967 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56968 Likewise.
56969 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56970 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56971 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56972 Likewise.
56973 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56974 Likewise.
56975 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56976 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56977 * termios/termios.h [__USE_BSD]: Likewise.
56978 * time/sys/time.h [__USE_BSD]: Likewise.
56979 * time/time.h [__USE_BSD]: Likewise.
56980 [__USE_SVID]: Likewise.
56981
56982 * Makefile (subdir_targets): Remove subdir_lint.out.
56983
56984 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56985 (do-tst-printf): Likewise.
56986 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56987 $(objpfx)tst-printf.out.
56988
56989 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56990
56991 * Makerules (check-abi-%): Change target to
56992 $(objpfx)check-abi-%.out.
56993 (check-abi target): Update dependencies.
56994 (check-abi-pattern variable): Redirect output of diff to $@.
56995 (check-abi variable): Likewise.
56996 * elf/Makefile (check-abi): Update dependencies.
56997
56998 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56999 unused.
57000 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57001 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57002 subnormal range.
57003 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57004 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57005 value has largest subnormal exponent.
57006 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57007 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57008 * sysdeps/aarch64/soft-fp/sfp-machine.h
57009 (_FP_TININESS_AFTER_ROUNDING): New macro.
57010 * sysdeps/alpha/soft-fp/sfp-machine.h
57011 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57012 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57013 Likewise.
57014 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57015 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57016 * sysdeps/mips/soft-fp/sfp-machine.h
57017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57018 * sysdeps/powerpc/soft-fp/sfp-machine.h
57019 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57020 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57021 Likewise.
57022 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57023 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57024 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57025 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57026 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57027 Likewise.
57028
57029 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
57030
57031 [BZ #16545]
57032 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57033 model 1.
57034
57035 2014-02-12 Richard Henderson <rth@redhat.com>
57036
57037 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57038 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57039 * sysdeps/unix/sysv/linux/alpha: Move directory from
57040 ports/sysdeps/unix/sysv/linux/alpha.
57041 * README: Update listing for alpha-*-linux-gnu.
57042
57043 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57044
57045 * include/features.h: Update comment documenting feature test
57046 macros.
57047 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57048 _DEFAULT_SOURCE.
57049 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57050 (_SVID_SOURCE): Likewise.
57051 (_DEFAULT_SOURCE): Update description of default features.
57052 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57053 with _GNU_SOURCE.
57054 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57055 (S_ISVTX): Likewise.
57056 * manual/math.texi (Mathematical Constants): Likewise.
57057 * manual/signal.texi (Interrupted Primitives): Likewise.
57058 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57059 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57060 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57061 Don't refer to _SVID_SOURCE in warning text.
57062
57063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57064
57065 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57066 already defined.
57067 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57068 * sysdeps/mips/dl-lookup.c: Remove.
57069 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57070
57071 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57072
57073 [BZ #16447]
57074 * math/auto-libm-test-in: Add testcase for expl.
57075 * math/auto-libm-test-out: Regenerate.
57076 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57077 calculation of unsafe.
57078 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57079
57080 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57081
57082 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57083 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57084 ports/sysdeps/unix/sysv/linux/aarch64.
57085 * README: Update listing for aarch64*-*-linux-gnu.
57086
57087 2014-02-11 Will Newton <will.newton@linaro.org>
57088
57089 * manual/probes.texi (Mathematical Function Probes): Use
57090 "triggered" instead of "hit".
57091
57092 * manual/probes.texi (Internal Probes): Add documentation
57093 of setjmp, longjmp and longjmp_target probes.
57094
57095 * include/stap-probe.h: Add comment about probe argument
57096 format.
57097
57098 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57099 definition. (tr_where, tr_freehook, tr_mallochook,
57100 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57101
57102 2014-02-11 David S. Miller <davem@davemloft.net>
57103
57104 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57105 processing int_tests.
57106
57107 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57108
57109 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57110 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57111 * sysdeps/unix/sysv/linux/mips: Move directory from
57112 ports/sysdeps/unix/sysv/linux/mips.
57113 * README: Update listing for mips-*-linux-gnu and
57114 mips64-*-linux-gnu.
57115
57116 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57117
57118 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57119 * sysdeps/unix/sysv/linux/m68k: Move directory from
57120 ports/sysdeps/unix/sysv/linux/m68k.
57121 * README: Update listing for m68k-*-linux-gnu.
57122
57123 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57124
57125 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57126 * sysdeps/unix/sysv/linux/generic: Move directory from
57127 ports/sysdeps/unix/sysv/linux/generic.
57128 * sysdeps/unix/sysv/linux/tile: Move directory from
57129 ports/sysdeps/unix/sysv/linux/tile.
57130 * README: Update listing for tile*-*-linux-gnu.
57131
57132 2014-02-10 Ondƙej Bílka <neleai@seznam.cz>
57133
57134 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57135 __builtin_expect.
57136 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57137 * catgets/open_catalog.c (__open_catalog): Likewise.
57138 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57139 * debug/confstr_chk.c: Likewise.
57140 * debug/fread_chk.c (__fread_chk): Likewise.
57141 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57142 * debug/getgroups_chk.c: Likewise.
57143 * debug/mbsnrtowcs_chk.c: Likewise.
57144 * debug/mbsrtowcs_chk.c: Likewise.
57145 * debug/mbstowcs_chk.c: Likewise.
57146 * debug/memcpy_chk.c: Likewise.
57147 * debug/memmove_chk.c: Likewise.
57148 * debug/mempcpy_chk.c: Likewise.
57149 * debug/memset_chk.c: Likewise.
57150 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57151 * debug/strcat_chk.c (__strcat_chk): Likewise.
57152 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57153 * debug/strncat_chk.c (__strncat_chk): Likewise.
57154 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57155 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57156 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57157 * debug/wcpncpy_chk.c: Likewise.
57158 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57159 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57160 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57161 * debug/wcsncpy_chk.c: Likewise.
57162 * debug/wcsnrtombs_chk.c: Likewise.
57163 * debug/wcsrtombs_chk.c: Likewise.
57164 * debug/wcstombs_chk.c: Likewise.
57165 * debug/wmemcpy_chk.c: Likewise.
57166 * debug/wmemmove_chk.c: Likewise.
57167 * debug/wmempcpy_chk.c: Likewise.
57168 * debug/wmemset_chk.c: Likewise.
57169 * dirent/scandirat.c (SCANDIRAT): Likewise.
57170 * dlfcn/dladdr1.c (dladdr1): Likewise.
57171 * dlfcn/dladdr.c (dladdr): Likewise.
57172 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57173 * dlfcn/dlerror.c (__dlerror): Likewise.
57174 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57175 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57176 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57177 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57178 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57179 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57180 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57181 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57182 Likewise.
57183 * elf/dl-conflict.c: Likewise.
57184 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57185 * elf/dl-dst.h: Likewise.
57186 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57187 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57188 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57189 * elf/dl-init.c (call_init, _dl_init): Likewise.
57190 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57191 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57192 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57193 Likewise.
57194 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57195 Likewise.
57196 * elf/dl-minimal.c (__libc_memalign): Likewise.
57197 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57198 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57199 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57200 * elf/dl-sym.c (do_sym): Likewise.
57201 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57202 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57203 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57204 * elf/dl-writev.h (_dl_writev): Likewise.
57205 * elf/ldconfig.c (search_dir): Likewise.
57206 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57207 (dl_main): Likewise.
57208 * elf/setup-vdso.h (setup_vdso): Likewise.
57209 * grp/compat-initgroups.c (compat_call): Likewise.
57210 * grp/fgetgrent.c (fgetgrent): Likewise.
57211 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57212 * grp/putgrent.c (putgrent): Likewise.
57213 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57214 Likewise.
57215 * hurd/hurdinit.c: Likewise.
57216 * iconvdata/8bit-gap.c (struct): Likewise.
57217 * iconvdata/ansi_x3.110.c : Likewise.
57218 * iconvdata/big5.c : Likewise.
57219 * iconvdata/big5hkscs.c : Likewise.
57220 * iconvdata/cp1255.c: Likewise.
57221 * iconvdata/cp1258.c : Likewise.
57222 * iconvdata/cp932.c : Likewise.
57223 * iconvdata/euc-cn.c: Likewise.
57224 * iconvdata/euc-jisx0213.c : Likewise.
57225 * iconvdata/euc-jp.c: Likewise.
57226 * iconvdata/euc-jp-ms.c : Likewise.
57227 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57228 * iconvdata/gb18030.c : Likewise.
57229 * iconvdata/gbbig5.c (const): Likewise.
57230 * iconvdata/gbgbk.c: Likewise.
57231 * iconvdata/gbk.c : Likewise.
57232 * iconvdata/ibm1364.c : Likewise.
57233 * iconvdata/ibm930.c : Likewise.
57234 * iconvdata/ibm932.c: Likewise.
57235 * iconvdata/ibm933.c : Likewise.
57236 * iconvdata/ibm935.c : Likewise.
57237 * iconvdata/ibm937.c : Likewise.
57238 * iconvdata/ibm939.c : Likewise.
57239 * iconvdata/ibm943.c: Likewise.
57240 * iconvdata/iso_11548-1.c: Likewise.
57241 * iconvdata/iso-2022-cn.c : Likewise.
57242 * iconvdata/iso-2022-cn-ext.c : Likewise.
57243 * iconvdata/iso-2022-jp-3.c: Likewise.
57244 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57245 * iconvdata/iso-2022-kr.c : Likewise.
57246 * iconvdata/iso646.c (gconv_end): Likewise.
57247 * iconvdata/iso_6937-2.c : Likewise.
57248 * iconvdata/iso_6937.c : Likewise.
57249 * iconvdata/iso8859-1.c: Likewise.
57250 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57251 * iconvdata/shift_jisx0213.c : Likewise.
57252 * iconvdata/sjis.c : Likewise.
57253 * iconvdata/t.61.c : Likewise.
57254 * iconvdata/tcvn5712-1.c : Likewise.
57255 * iconvdata/tscii.c: Likewise.
57256 * iconvdata/uhc.c : Likewise.
57257 * iconvdata/unicode.c (gconv_end): Likewise.
57258 * iconvdata/utf-16.c (gconv_end): Likewise.
57259 * iconvdata/utf-32.c (gconv_end): Likewise.
57260 * iconvdata/utf-7.c (base64): Likewise.
57261 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57262 * iconv/gconv_close.c (__gconv_close): Likewise.
57263 * iconv/gconv_open.c (__gconv_open): Likewise.
57264 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57265 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57266 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57267 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57268 (ucs4le_internal_loop_single): Likewise.
57269 * iconv/iconv.c (iconv): Likewise.
57270 * iconv/iconv_close.c: Likewise.
57271 * iconv/loop.c (SINGLE): Likewise.
57272 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57273 * include/atomic.h: Likewise.
57274 * inet/inet6_option.c (option_alloc): Likewise.
57275 * intl/bindtextdom.c (set_binding_values): Likewise.
57276 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57277 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57278 * intl/localealias.c (read_alias_file): Likewise.
57279 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57280 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57281 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57282 * libio/fmemopen.c (fmemopen): Likewise.
57283 * libio/iofgets.c (_IO_fgets): Likewise.
57284 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57285 * libio/iofgetws.c (fgetws): Likewise.
57286 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57287 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57288 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57289 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57290 * locale/findlocale.c (_nl_find_locale): Likewise.
57291 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57292 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57293 Likewise.
57294 * locale/setlocale.c (setlocale): Likewise.
57295 * login/programs/pt_chown.c (main): Likewise.
57296 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57297 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57298 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57299 (mmap, mmap64, mremap, munmap): Likewise.
57300 * math/e_exp2l.c: Likewise.
57301 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57302 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57303 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57304 * math/s_catan.c (__catan): Likewise.
57305 * math/s_catanf.c (__catanf): Likewise.
57306 * math/s_catanh.c (__catanh): Likewise.
57307 * math/s_catanhf.c (__catanhf): Likewise.
57308 * math/s_catanhl.c (__catanhl): Likewise.
57309 * math/s_catanl.c (__catanl): Likewise.
57310 * math/s_ccosh.c (__ccosh): Likewise.
57311 * math/s_ccoshf.c (__ccoshf): Likewise.
57312 * math/s_ccoshl.c (__ccoshl): Likewise.
57313 * math/s_cexp.c (__cexp): Likewise.
57314 * math/s_cexpf.c (__cexpf): Likewise.
57315 * math/s_cexpl.c (__cexpl): Likewise.
57316 * math/s_clog10.c (__clog10): Likewise.
57317 * math/s_clog10f.c (__clog10f): Likewise.
57318 * math/s_clog10l.c (__clog10l): Likewise.
57319 * math/s_clog.c (__clog): Likewise.
57320 * math/s_clogf.c (__clogf): Likewise.
57321 * math/s_clogl.c (__clogl): Likewise.
57322 * math/s_csin.c (__csin): Likewise.
57323 * math/s_csinf.c (__csinf): Likewise.
57324 * math/s_csinh.c (__csinh): Likewise.
57325 * math/s_csinhf.c (__csinhf): Likewise.
57326 * math/s_csinhl.c (__csinhl): Likewise.
57327 * math/s_csinl.c (__csinl): Likewise.
57328 * math/s_csqrt.c (__csqrt): Likewise.
57329 * math/s_csqrtf.c (__csqrtf): Likewise.
57330 * math/s_csqrtl.c (__csqrtl): Likewise.
57331 * math/s_ctan.c (__ctan): Likewise.
57332 * math/s_ctanf.c (__ctanf): Likewise.
57333 * math/s_ctanh.c (__ctanh): Likewise.
57334 * math/s_ctanhf.c (__ctanhf): Likewise.
57335 * math/s_ctanhl.c (__ctanhl): Likewise.
57336 * math/s_ctanl.c (__ctanl): Likewise.
57337 * math/w_pow.c: Likewise.
57338 * math/w_powf.c: Likewise.
57339 * math/w_powl.c: Likewise.
57340 * math/w_scalb.c (sysv_scalb): Likewise.
57341 * math/w_scalbf.c (sysv_scalbf): Likewise.
57342 * math/w_scalbl.c (sysv_scalbl): Likewise.
57343 * misc/error.c (error_tail): Likewise.
57344 * misc/pselect.c (__pselect): Likewise.
57345 * nis/nis_callback.c (__nis_create_callback): Likewise.
57346 * nis/nis_call.c (__nisfind_server): Likewise.
57347 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57348 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57349 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57350 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57351 * nis/nis_lookup.c (nis_lookup): Likewise.
57352 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57353 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57354 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57355 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57356 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57357 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57358 * nis/nss_compat/compat-initgroups.c (add_group)
57359 (internal_getgrent_r): Likewise.
57360 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57361 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57362 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57363 (internal_getspnam_r): Likewise.
57364 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57365 (_nss_nis_getaliasbyname_r): Likewise.
57366 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57367 (_nss_nis_getntohost_r): Likewise.
57368 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57369 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57370 (_nss_nis_getgrgid_r): Likewise.
57371 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57372 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57373 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57374 (_nss_nis_gethostbyname4_r): Likewise.
57375 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57376 (initgroups_netid): Likewise.
57377 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57378 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57379 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57380 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57381 (_nss_nis_getprotobynumber_r): Likewise.
57382 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57383 (_nss_nis_getsecretkey): Likewise.
57384 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57385 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57386 (_nss_nis_getpwuid_r): Likewise.
57387 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57388 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57389 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57390 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57391 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57392 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57393 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57394 Likewise.
57395 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57396 (_nss_nisplus_getntohost_r): Likewise.
57397 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57398 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57399 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57400 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57401 Likewise.
57402 * nis/nss_nisplus/nisplus-initgroups.c
57403 (_nss_nisplus_initgroups_dyn): Likewise.
57404 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57405 (_nss_nisplus_getnetbyaddr_r): Likewise.
57406 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57407 (_nss_nisplus_getprotobynumber_r): Likewise.
57408 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57409 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57410 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57411 Likewise.
57412 * nis/nss_nisplus/nisplus-service.c
57413 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57414 (_nss_nisplus_getservbyport_r): Likewise.
57415 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57416 (_nss_nisplus_getspnam_r): Likewise.
57417 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57418 Likewise.
57419 * nscd/aicache.c (addhstaiX): Likewise.
57420 * nscd/cache.c (cache_search, prune_cache): Likewise.
57421 * nscd/connections.c (register_traced_file, send_ro_fd)
57422 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57423 (main_loop_epoll): Likewise.
57424 * nscd/grpcache.c (addgrbyX): Likewise.
57425 * nscd/hstcache.c (addhstbyX): Likewise.
57426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57427 * nscd/mem.c (gc, mempool_alloc): Likewise.
57428 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57429 (addinnetgrX): Likewise.
57430 * nscd/nscd-client.h (__nscd_acquire_maplock)
57431 (__nscd_drop_map_ref): Likewise.
57432 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57433 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57434 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57435 Likewise.
57436 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57438 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57439 (__nscd_get_map_ref): Likewise.
57440 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57441 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57442 Likewise.
57443 * nscd/pwdcache.c (addpwbyX): Likewise.
57444 * nscd/selinux.c (preserve_capabilities): Likewise.
57445 * nscd/servicescache.c (addservbyX): Likewise.
57446 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57447 * posix/fnmatch.c (fnmatch): Likewise.
57448 * posix/getopt.c (_getopt_internal_r): Likewise.
57449 * posix/glob.c (glob, glob_in_dir): Likewise.
57450 * posix/wordexp.c (exec_comm_child): Likewise.
57451 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57452 (getanswer_r, gaih_getanswer_slice): Likewise.
57453 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57454 * resolv/res_init.c: Likewise.
57455 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57456 * resolv/res_query.c (__libc_res_nquery): Likewise.
57457 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57458 Likewise.
57459 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57460 * stdio-common/perror.c (perror): Likewise.
57461 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57462 * stdio-common/tmpnam.c (tmpnam): Likewise.
57463 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57464 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57465 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57466 Likewise.
57467 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57468 * stdlib/putenv.c (putenv): Likewise.
57469 * stdlib/setenv.c (__add_to_environ): Likewise.
57470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57471 * stdlib/strtol_l.c (INTERNAL): Likewise.
57472 * string/memmem.c (memmem): Likewise.
57473 * string/strerror.c (strerror): Likewise.
57474 * string/strnlen.c (__strnlen): Likewise.
57475 * string/test-memmem.c (simple_memmem): Likewise.
57476 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57477 * sunrpc/pm_getport.c (__get_socket): Likewise.
57478 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57479 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57480 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57481 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57482 Likewise.
57483 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57484 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57486 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57487 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57488 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57489 Likewise.
57490 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57491 Likewise.
57492 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57493 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57494 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57495 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57496 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57498 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57499 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57500 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57501 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57502 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57503 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57504 Likewise.
57505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57506 Likewise.
57507 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57508 Likewise.
57509 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57510 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57511 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57513 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57514 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57515 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57516 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57518 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57519 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57521 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57522 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57524 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57525 Likewise.
57526 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57527 Likewise.
57528 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57529 Likewise.
57530 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57531 Likewise.
57532 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57534 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57535 Likewise.
57536 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57537 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57538 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57539 * sysdeps/posix/sleep.c: Likewise.
57540 * sysdeps/posix/tempname.c: Likewise.
57541 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57542 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57543 Likewise.
57544 * sysdeps/powerpc/powerpc32/dl-machine.h
57545 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57546 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57548 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57549 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57550 Likewise.
57551 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57552 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57553 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57554 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57555 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57556 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57557 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57558 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57559 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57560 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57562 (elf_machine_lazy_rel): Likewise.
57563 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57565 (elf_machine_lazy_rel): Likewise.
57566 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57567 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57568 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57569 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57570 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57571 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57572 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57574 Likewise.
57575 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57576 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57577 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57578 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57579 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57580 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57581 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57582 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57583 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57584 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57585 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57586 Likewise.
57587 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57588 (__posix_fallocate64_l64): Likewise.
57589 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57590 (posix_fallocate): Likewise.
57591 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57592 Likewise.
57593 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57594 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57595 (getifaddrs_internal): Likewise.
57596 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57597 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57598 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57599 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57600 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57601 (__posix_fallocate64_l64): Likewise.
57602 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57603 Likewise.
57604 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57605 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57606 (__get_clockfreq): Likewise.
57607 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57608 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57609 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57610 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57612 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57613 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57614 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57615 Likewise.
57616 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57617 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57618 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57619 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57620 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57621 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57622 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57623 Likewise.
57624 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57625 (posix_fallocate): Likewise.
57626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57627 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57628 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57629 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57630 (elf_machine_rela, elf_machine_rela_relative)
57631 (elf_machine_lazy_rel): Likewise.
57632 * time/asctime.c (asctime_internal): Likewise.
57633 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57634 * time/tzset.c (__tzset_parse_tz): Likewise.
57635 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57636 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57637 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57638 * wcsmbs/wcsmbsload.h: Likewise.
57639
57640 [BZ #15894]
57641 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57642
57643 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57644 (arena_get2): Remove THREAD_STATS conditionals.
57645 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57646 (__malloc_stats, int): Likewise.
57647
57648 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57649
57650 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57651 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57652
57653 * manual/setjmp.texi: Fix typos/grammar errors.
57654
57655 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57656 Only return early when n is <= 0. Delete unused return statement.
57657
57658 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57659 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57660 * debug/tst-longjmp_chk3.c: New file.
57661
57662 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57663 (test_main): Replace code with set_fortify_handler call.
57664 * debug/test-strcpy_chk.c: Likewise.
57665 * debug/tst-chk1.c: Likewise.
57666 * debug/tst-longjmp_chk.c: Likewise.
57667 * test-skeleton.c: Include fcntl.h & paths.h
57668 (set_fortify_handler): Define.
57669
57670 * debug/tst-longjmp_chk.c: Add header comment and include
57671 ../test-skeleton.c.
57672 (do_test): Mark static.
57673 (TEST_FUNCTION): Define.
57674
57675 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57676 (IP_PMTUDISC_INTERFACE): Likewise.
57677 (IP_MULTICAST_IF): Likewise.
57678 (IP_MULTICAST_TTL): Likewise.
57679 (IP_MULTICAST_LOOP): Likewise.
57680 (IP_ADD_MEMBERSHIP): Likewise.
57681 (IP_DROP_MEMBERSHIP): Likewise.
57682 (IP_UNBLOCK_SOURCE): Likewise.
57683 (IP_BLOCK_SOURCE): Likewise.
57684 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57685 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57686 (IP_MSFILTER): Likewise.
57687 (MCAST_JOIN_GROUP): Likewise.
57688 (MCAST_BLOCK_SOURCE): Likewise.
57689 (MCAST_UNBLOCK_SOURCE): Likewise.
57690 (MCAST_LEAVE_GROUP): Likewise.
57691 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57692 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57693 (MCAST_MSFILTER): Likewise.
57694 (IP_MULTICAST_ALL): Likewise.
57695 (IP_UNICAST_IF): Likewise.
57696
57697 * timezone/Makefile: Delete $(have-ksh) check.
57698 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57699 * timezone/tzselect.ksh: Add +x mode bits.
57700
57701 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57702 (ANON_INODE_FS_MAGIC): Likewise.
57703 (BDEVFS_MAGIC): Likewise.
57704 (BINFMTFS_MAGIC): Likewise.
57705 (BTRFS_TEST_MAGIC): Likewise.
57706 (CRAMFS_MAGIC_WEND): Likewise.
57707 (DEBUGFS_MAGIC): Likewise.
57708 (ECRYPTFS_SUPER_MAGIC): Likewise.
57709 (EXT3_SUPER_MAGIC): Likewise.
57710 (EXT4_SUPER_MAGIC): Likewise.
57711 (FUTEXFS_SUPER_MAGIC): Likewise.
57712 (HOSTFS_SUPER_MAGIC): Likewise.
57713 (HUGETLBFS_MAGIC): Likewise.
57714 (MINIX3_SUPER_MAGIC): Likewise.
57715 (MTD_INODE_FS_MAGIC): Likewise.
57716 (NILFS_SUPER_MAGIC): Likewise.
57717 (OPENPROM_SUPER_MAGIC): Likewise.
57718 (PIPEFS_MAGIC): Likewise.
57719 (PSTOREFS_MAGIC): Likewise.
57720 (QNX6_SUPER_MAGIC): Likewise.
57721 (RAMFS_MAGIC): Likewise.
57722 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57723 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57724 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57725 (SECURITYFS_MAGIC): Likewise.
57726 (SELINUX_MAGIC): Likewise.
57727 (SMACK_MAGIC): Likewise.
57728 (SOCKFS_MAGIC): Likewise.
57729 (SQUASHFS_MAGIC): Likewise.
57730 (STACK_END_MAGIC): Likewise.
57731 (TMPFS_MAGIC): Likewise.
57732 (USBDEVICE_SUPER_MAGIC): Likewise.
57733 (V9FS_MAGIC): Likewise.
57734 (XENFS_SUPER_MAGIC): Likewise.
57735 (CRAMFS_MAGIC): Fix typo in comment.
57736 (EXT2_SUPER_MAGIC): Update comment.
57737 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57738
57739 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57740
57741 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57742 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57743 * sysdeps/unix/sysv/linux/arm: Move directory from
57744 ports/sysdeps/unix/sysv/linux/arm.
57745 * README: Update listing for arm-*-linux-gnueabi.
57746
57747 * README: Remove mention of am33.
57748
57749 2014-02-07 Roland McGrath <roland@hack.frob.com>
57750
57751 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57752 than the comma operator, to avoid "rhs of comma has no effect"
57753 compiler warnings.
57754 (__sigfillset, __sigandset, __sigorset): Likewise.
57755 * include/signal.h (__sigemptyset): Likewise.
57756 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57757
57758 2014-02-07 Allan McRae <allan@archlinux.org>
57759
57760 * version.h (RELEASE): Set to "development".
57761 (VERSION): Set to "2.19.90"
57762 * NEWS: Add 2.20 section.
57763
57764 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57765
57766 [BZ #16529]
57767 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57768
57769 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57770
57771 * manual/contrib.texi: Update entry for Carlos O'Donell,
57772 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57773
57774 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57775
57776 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57777
57778 * sysdeps/unix/sysv/linux/kernel-features.h
57779 [__LINUX_KERNEL_VERSION >= 0x020621]
57780 (__ASSUME_PROC_PID_TASK_COMM): Define.
57781
57782 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57783
57784 [BZ #16398]
57785 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57786 conversion when destination buffer does not have enough space.
57787 * libio/tst-ftell-partial-wide.c: New test case.
57788 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57789
57790 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57791 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57792 Leonard and Allan McRae.
57793
57794 2014-02-04 David S. Miller <davem@davemloft.net>
57795
57796 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57797 32-bit.
57798
57799 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57800
57801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57802 New file
57803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57804 New file
57805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57806 New file.
57807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57808 New file.
57809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57810 New file.
57811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57812 New file.
57813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57814 New file.
57815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57816 New file.
57817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57818 New file.
57819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57820 New file.
57821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57822 New file.
57823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57824 New file.
57825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57826 New file.
57827
57828 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57829
57830 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57831 * shlib-versions: Likewise.
57832
57833 2014-02-04 Roland McGrath <roland@hack.frob.com>
57834 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57835
57836 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57837 (abilist-pattern): New variable, set to %-le.abilist.
57838
57839 * Makerules (abilist-pattern): New variable.
57840 (vpath): Use $(abilist-pattern) in place of %.abilist.
57841 (check-abi-% pattern rule): Likewise.
57842 (check-abi, update-abi): Likewise.
57843
57844 2014-02-04 Eric Wong <normalperson@yhbt.net>
57845
57846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57847
57848 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57849
57850 * manual/startup.texi: Add next, previous, and top entries for
57851 the `Program Arguments' and `Environment Variables' nodes.
57852
57853 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57854
57855 * manual/macros.texi: Add comments before MTASC-safety macros.
57856
57857 * manual/users.texi: Document MTASC-safety properties.
57858
57859 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57860 (pthread_getspecific, pthread_setspecific): Format with
57861 @deftypefun, and add @safety note.
57862 * manual/signal.texi: Move comments that analyze the above
57863 functions to their home place.
57864
57865 2014-02-03 Allan McRae <allan@archlinux.org>
57866
57867 * po/sl.po: Update Slovenian translation from translation project.
57868
57869 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57870
57871 * manual/time.texi (timegm): Add missing blank after @c.
57872 Reported by Joseph Myers <joseph@codesourcery.com>.
57873
57874 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57875
57876 * manual/check-safety.sh: New.
57877 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57878
57879 * manual/terminal.texi: Document MTASC-safety properties.
57880
57881 * manual/filesys.texi: Document MTASC-safety properties.
57882
57883 * manual/errno.texi: Document MTASC-safety properties.
57884
57885 * manual/intro.texi: Document safety identifiers and
57886 conditionals.
57887
57888 * manual/string.texi (wcstok): Fix prototype.
57889 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57890
57891 * manual/time.texi: Document MTASC-safety properties.
57892
57893 * manual/string.texi: Document MTASC-safety properties.
57894
57895 * manual/threads.texi: Document MTASC-safety properties.
57896
57897 * manual/stdio.texi: Document MTASC-safety properties.
57898
57899 * manual/syslog.texi: Document MTASC-safety properties.
57900
57901 * manual/sysinfo.texi: Document MTASC-safety properties.
57902
57903 * manual/startup.texi: Document MTASC-safety properties.
57904
57905 * manual/socket.texi: Document MTASC-safety properties.
57906
57907 * manual/signal.texi: Document MTASC-safety properties.
57908
57909 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57910
57911 * manual/setjmp.texi: Document MTASC-safety properties.
57912
57913 * manual/search.texi: Document MTASC-safety properties.
57914
57915 * manual/resource.texi: Document MTASC-safety properties.
57916
57917 * manual/process.texi: Document MTASC-safety properties.
57918
57919 * manual/platform.texi: Document MTASC-safety properties.
57920
57921 * manual/pipe.texi: Document MTASC-safety properties.
57922
57923 * manual/pattern.texi: Document MTASC-safety properties.
57924
57925 * manual/message.texi: Document MTASC-safety properties.
57926
57927 [BZ #12751]
57928 * manual/memory.texi: Document MTASC-safety properties.
57929
57930 * manual/math.texi: Document MTASC-safety properties.
57931
57932 * manual/locale.texi: Document MTASC-safety properties.
57933
57934 * manual/llio.texi: Document MTASC-safety properties.
57935
57936 * manual/libdl.texi: New.
57937
57938 * manual/lang.texi: Document MTASC-safety properties.
57939
57940 * manual/job.texi: Document MTASC-safety properties.
57941
57942 * manual/getopt.texi: Document MTASC-safety properties.
57943
57944 * manual/ctype.texi: Document MTASC-safety properties.
57945
57946 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57947
57948 [BZ #16046]
57949 * csu/libc-tls.c (static_map): Remove variable.
57950 (__libc_setup_tls): Use main executable's link map for TLS data.
57951 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57952 casing for LM_ID_BASE and GL(dl_nns).
57953 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57954 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57955 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57956 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57957 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57958 member.
57959 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57960 l_phnum members.
57961
57962 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57963
57964 * manual/debug.texi: Document MTASC-safety properties.
57965
57966 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57967
57968 [BZ #16510]
57969 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57970 of __x86_64__ when disabling x87 inline functions.
57971
57972 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57973
57974 * manual/charset.texi: Document MTASC-safety properties.
57975
57976 * manual/crypt.texi: Document MTASC-safety properties.
57977
57978 * manual/conf.texi: Document MTASC-safety properties.
57979
57980 * manual/arith.texi: Document MTASC-safety properties.
57981
57982 * manual/argp.texi: Document MTASC-safety properties.
57983
57984 * manual/macros.texi: Introduce macros to document multi
57985 thread, asynchronous signal and asynchronous cancellation
57986 safety properties.
57987 * manual/intro.texi: Introduce the properties themselves.
57988
57989 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57990
57991 * sysdeps/sh/sh4/Makefile: New file.
57992
57993 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57994
57995 * math/gen-libm-test.pl ($srcdir): New variable.
57996 ($auto_input): Use it.
57997
57998 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57999
58000 [BZ #16506]
58001 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58002 access beyond array bounds when parsing netgroups file.
58003
58004 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58005 the old buffer before realloc.
58006
58007 2014-01-27 Allan McRae <allan@archlinux.org>
58008
58009 * po/fr.po: Update French translation from translation project.
58010
58011 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58012
58013 * sysdeps/sh/libm-test-ulps: Regenerate.
58014
58015 2014-01-24 David S. Miller <davem@davemloft.net>
58016
58017 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58018
58019 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58020
58021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58022 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58023
58024 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58025
58026 [BZ #16474]
58027 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58028 string pointers after reallocation.
58029
58030 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58031
58032 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58033 __SH4A__ instead of __SH_FPU_ANY__.
58034
58035 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58036
58037 * sysdeps/sh/fpu_control.h: New file.
58038 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58039 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58040 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58041 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58042 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58043 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58044 * sysdeps/sh/sys/ucontext.h: Remove.
58045 * sysdeps/sh/sys: Remove directory.
58046
58047 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58048
58049 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58050 s390/sys/ucontext.h.
58051 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58052 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58053
58054 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58055
58056 [BZ #15605]
58057 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58058
58059 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58060
58061 [BZ #16431]
58062 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58063 Adjust the vDSO correctly for internal calls.
58064 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58065
58066 2014-01-20 Allan McRae <allan@archlinux.org>
58067
58068 * po/ca.po: Update Catalan translation from translation project.
58069
58070 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58071
58072 * sysdeps/s390/sotruss-lib.c: New file.
58073
58074 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58075
58076 [BZ #16430]
58077 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58078 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58079 local calls issues by not having a PLT stub required for IFUNC calls.
58080 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58081
58082 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58083
58084 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58085 * math/test-fpucw-static.c: Likewise.
58086
58087 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58088
58089 [BZ #16453]
58090 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58091
58092 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58093
58094 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58095 implementation for powerpc.
58096
58097 2014-01-15 Ondƙej Bílka <neleai@seznam.cz>
58098
58099 [BZ #14782]
58100 * sysdeps/posix/system.c (__libc_system): Do not enable
58101 asynchronous cancellation.
58102
58103 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58104
58105 [BZ #16427]
58106 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58107 handling only for numbers special also in the IEEE case.
58108
58109 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58110
58111 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58112
58113 2014-01-11 Allan McRae <allan@archlinux.org>
58114
58115 * po/bg.po: Update Bulgarian translation from translation project.
58116
58117 * po/de.po: Update German translation from translation project.
58118
58119 2014-01-10 Roland McGrath <roland@hack.frob.com>
58120
58121 * sysdeps/generic/gcc-compat.h: New file.
58122
58123 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58124
58125 * benchtests/asin-inputs: Correct slow inputs.
58126 * benchtests/acos-inputs: Likewise.
58127
58128 2014-01-10 Allan McRae <allan@archlinux.org>
58129
58130 * po:sv.po: Update Swedish translation from translation project.
58131
58132 * po/vi.po: Update Vietnamese translation from translation project.
58133
58134 * po/eo.po: Update Esperanto translation from translation project.
58135
58136 * po/cs.po: Update Czech translation from translation project.
58137
58138 * po/nl.po: Update Dutch translation from translation project.
58139
58140 * po/pl.po: Update Polish translation from translation project.
58141
58142 * po/ru.po: Update Russian translation from translation project.
58143
58144 * po/uk.po: Update Ukrainian translation from translation project.
58145
58146 2014-01-08 Brooks Moses <bmoses@google.com>
58147
58148 * elf/dl-load.c: Fix comment typo.
58149
58150 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58151
58152 * po/header.pot: Rename to...
58153 * po/pot.header: ... this.
58154 * po/Makefile: Use pot.header.
58155
58156 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58157 Maxim Kuvyrkov <maxim@kugelworks.com>
58158
58159 [BZ #16394]
58160 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58161 SRC and DEST against LEN.
58162
58163 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58164
58165 [BZ #16414]
58166 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58167 implementation.
58168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58169
58170 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58171
58172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58173
58174 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58175
58176 [BZ #16408]
58177 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58178 for large positive arguments.
58179
58180 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58181
58182 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58183
58184 * math/auto-libm-test-in: Mark various tests with
58185 xfail-rounding:ldbl-128ibm.
58186 * math/auto-libm-test-out: Regenerated.
58187
58188 [BZ #16407]
58189 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58190 Increase overflow threshold.
58191
58192 2014-01-07 Ondƙej Bílka <neleai@seznam.cz>
58193
58194 [BZ #14286]
58195 * stdio-common/vfprintf.c: Check for integer overflow.
58196
58197 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58198
58199 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58200 the first argument and return value of __tls_get_addr_internal.
58201
58202 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58203
58204 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58205 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58206
58207 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58208
58209 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58210 * sysdeps/s390/rtld-global-offsets.sym: New file.
58211 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58212 GLIBC_2.19 symbol.
58213 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58214 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58215 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58216 ... this.
58217 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58218 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58219 ... this.
58220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58221 Regenerate.
58222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58223 Regenerate.
58224 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58225 halfs of GPRs for high_gprs contexts.
58226 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58227 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58228 field.
58229 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58230 uc_flags field.
58231 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58232 64 bit versions:
58233 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58234 for high GPRs (uc_high_gprs) and for future extensions
58235 (__reserved).
58236 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58237 for future extensions (__reserved).
58238 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58239 64 bit versions:
58240 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58241 SC_HIGHGPRS offset definition.
58242 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58243 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58244
58245 * Versions.def: Add GLIBC_2.19 for libpthread.
58246 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58247 siglongjmp for libpthread with GLIBC_2.19 symver.
58248 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58249 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58250 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58251 * sysdeps/s390/__longjmp.c: New file.
58252 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58253 * sysdeps/s390/longjmp.c: New file.
58254 * sysdeps/s390/setjmp.S: New file.
58255 * sysdeps/s390/sigjmp.S: New file.
58256 * sysdeps/s390/v1-longjmp.c: New file.
58257 * sysdeps/s390/v1-setjmp.h: New file.
58258 * sysdeps/s390/v1-sigjmp.c: New file.
58259 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58260 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58261 GLIBC_2.19 version.
58262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58263 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58264 versioned symbols for ____longjmp_chk.
58265 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58266 Likewise.
58267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58268 Regenerate.
58269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58270 Regenerate.
58271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58272 Regenerate.
58273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58274 Regenerate.
58275 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58276 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58277 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58278 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58279 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58280 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58281 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58282 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58283 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58284 * sysdeps/s390/rtld-__longjmp.c: New file.
58285 * sysdeps/s390/rtld-setjmp.S: New file.
58286
58287 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58288
58289 [BZ #16400]
58290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58291 Return -__logl (x) for small positive arguments without evaluating
58292 a polynomial.
58293
58294 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58295
58296 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58297 Rename to ...
58298 (__ptrace_peeksiginfo_args): ... this.
58299 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58300 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58301 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58302
58303 2014-01-06 Allan McRae <allan@archlinux.org>
58304
58305 * inet/netinet/in.h: Fix typo in comment.
58306
58307 2014-01-05 Andreas Jaeger <aj@suse.de>
58308
58309 * sysdeps/i386/fpu/libm-test-ulps: Update.
58310
58311 2014-01-05 Allan McRae <allan@archlinux.org>
58312
58313 * po/libc.pot: Regenerated.
58314
58315 * malloc/memusagestat.c: Fix gettext call formatting.
58316
58317 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58318
58319 * nscd/nscd.c: Improve usage() output.
58320
58321 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58322
58323 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58324 * sysdeps/unix/sysv/linux/configure: Regenerated.
58325 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58326 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58327
58328 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58329
58330 [BZ #16390]
58331 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58332 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58333
58334 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58335
58336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58337 extra tokens at end of #undef directive.
58338 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58339 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58340 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58341
58342 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58343
58344 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58345
58346 * math/auto-libm-test-in: Mark various tests with
58347 xfail-rounding:ldbl-128ibm.
58348 * math/auto-libm-test-out: Regenerated.
58349
58350 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58351
58352 [BZ #16386]
58353 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58354 numbers with subnormal high part when calculating exponent.
58355
58356 [BZ #16385]
58357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58358 fabs.
58359
58360 [BZ #16384]
58361 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58362 M_LN2l.
58363 (__ieee754_acoshl): Use __log1pl not __log1p.
58364
58365 2013-01-02 Ondƙej Bílka <neleai@seznam.cz>
58366
58367 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58368 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58369 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58370 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58371 (reused_arena, arena_get2): Convert to GNU style.
58372 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58373 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58374 (memalign_check, __malloc_set_state): Likewise.
58375 * malloc/mallocbug.c (main): Likewise.
58376 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58377 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58378 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58379 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58380 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58381 (__posix_memalign, malloc_info): Likewise.
58382 * malloc/malloc.h: Likewise.
58383 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58384 (mallochook, memalignhook, reallochook, mabort): Likewise.
58385 * malloc/mcheck.h: Likewise.
58386 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58387 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58388 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58389 * malloc/morecore.c (__default_morecore): Likewise.
58390 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58391 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58392 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58393 (print_and_abort): Likewise.
58394 * malloc/obstack.h: Likewise.
58395 * malloc/set-freeres.c (__libc_freeres): Likewise.
58396 * malloc/tst-mallocstate.c (main): Likewise.
58397 * malloc/tst-mtrace.c (main): Likewise.
58398 * malloc/tst-realloc.c (do_test): Likewise.
58399
58400 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58401
58402 [BZ #16366]
58403 * nscd/netgroupcache.c (do_notfound): New function.
58404 (addgetnetgrentX): Use it.
58405
58406 [BZ # 16365]
58407 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58408 NSS_STATUS_NOTFOUND.
58409
58410 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58411
58412 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58414
58415 2014-01-01 Allan McRae <allan@archlinux.org>
58416
58417 * scripts/update-copyrights: Update configure input file suffix.
58418
58419 * NEWS: Update copyright year.
58420 * catgets/gencat.c: Likewise.
58421 * csu/version.c: Likewise.
58422 * debug/catchsegv.sh: Likewise.
58423 * debug/pcprofiledump.c: Likewise.
58424 * debug/xtrace.sh: Likewise.
58425 * elf/ldconfig.c: Likewise.
58426 * elf/ldd.bash.in: Likewise.
58427 * elf/pldd.c: Likewise.
58428 * elf/sotruss.ksh: Likewise.
58429 * elf/sprof.c: Likewise.
58430 * iconv/iconv_prog.c: Likewise.
58431 * iconv/iconvconfig.c: Likewise.
58432 * locale/programs/locale.c: Likewise.
58433 * locale/programs/localedef.c: Likewise.
58434 * login/programs/pt_chown.c: Likewise.
58435 * malloc/memusage.sh: Likewise.
58436 * malloc/memusagestat.c: Likewise.
58437 * malloc/mtrace.pl: Likewise.
58438 * manual/libc.texinfo: Likewise.
58439 * nscd/nscd.c: Likewise.
58440 * nss/getent.c: Likewise.
58441 * nss/makedb.c: Likewise.
58442 * posix/getconf.c: Likewise.
58443 * scripts/test-installation.pl: Likewise.
58444
58445 * All files with FSF copyright notices: Update copyright dates
58446 using scripts/update-copyrights.
58447 * intl/plural.c: Regenerated.
58448 * locale/programs/charmap-kw.h: Likewise.
58449 * locale/programs/locfile-kw.h: Likewise.
58450
58451 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58452
58453 * sysdeps/unix/sysv/linux/configure: Regenerated.
58454 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58455 the linux/fanotify.h header.
58456 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58457 HAVE_LINUX_FANOTIFY_H is defined.
58458
58459 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58460
58461 * benchtests/cos-inputs: New inputs.
58462 * benchtests/sin-inputs: Likewise.
58463
58464 * benchtests/atan-inputs: New inputs. Fix name of multiple
58465 precision fallback inputs.
58466
58467 * benchtests/atanh-inputs: New inputs.
58468 * benchtests/tanh-inputs: Likewise.
58469
58470 * benchtests/acosh-inputs: New inputs.
58471 * benchtests/asinh-inputs: Likewise.
58472
58473 * benchtests/cosh-inputs: New inputs.
58474 * benchtests/sinh-inputs: Likewise.
58475
58476 * benchtests/acos-inputs: Add more inputs.
58477 * benchtests/asin-inputs: Likewise.
58478
58479 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58480
58481 [BZ #16375]
58482 * manual/arith.texi: Fix spelling.
58483 * manual/charset.texi: Likewise.
58484 * manual/errno.texi: Likewise.
58485 * manual/filesys.texi: Likewise.
58486 * manual/lang.texi: Likewise.
58487 * manual/llio.texi: Likewise.
58488 * manual/locale.texi: Likewise.
58489 * manual/message.texi: Likewise.
58490 * manual/resource.texi: Likewise.
58491 * manual/search.texi: Likewise.
58492 * manual/setjmp.texi: Likewise.
58493 * manual/stdio.texi: Likewise.
58494 * manual/string.texi: Likewise.
58495 * manual/sysinfo.texi: Likewise.
58496 * manual/time.texi: Likewise.
58497
58498 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58499
58500 * po/sl.po: New file.
58501
58502 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58503
58504 * .gitignore: Add core/.gdbinit/.gdb_history.
58505
58506 2013-12-27 Allan McRae <allan@archlinux.org>
58507
58508 [BZ #16369]
58509 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58510 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58511
58512 2013-12-24 Brooks Moses <bmoses@google.com>
58513
58514 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58515 all compilers that claim C++98 compliance, not just GCC.
58516 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58517 Likewise.
58518
58519 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58520
58521 * NEWS: Restore accidentally deleted bug-fix entries.
58522
58523 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58524 Ondƙej Bílka <neleai@seznam.cz>
58525
58526 [BZ #15073]
58527 * malloc/malloc.c (_int_free): Perform sanity check only if we
58528 have_lock.
58529
58530 2013-12-23 Ondƙej Bílka <neleai@seznam.cz>
58531
58532 [BZ #12986]
58533 * manual/stdio.texi (String Input Conversions): Clarify that character
58534 classes are not supported.
58535
58536 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58537
58538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58539
58540 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58541
58542 [BZ #16337]
58543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58544 Calculate results for small negative arguments directly rather
58545 than using reflection formula with special underflow handling.
58546
58547 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58548 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58549 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58550 (fchflags): Likewise.
58551 (revoke): Likewise.
58552 (setlogin): Likewise.
58553 (sigaltstack): Likewise.
58554 (wait4): Likewise.
58555 (sigblock): Remove.
58556 (sigsetmask): Likewise.
58557 (wait3): Likewise.
58558 (waitpid): Likewise.
58559 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58560 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58561 file.
58562 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58563 * sysdeps/unix/bsd/Makefile: ... here.
58564 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58565 * sysdeps/unix/bsd/Versions: ... here.
58566 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58567 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58568 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58569 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58570 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58571 * sysdeps/unix/bsd/sigblock.c: ... here.
58572 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58573 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58574 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58575 * sysdeps/unix/bsd/sigvec.c: ... here.
58576 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58577 * sysdeps/unix/bsd/tcdrain.c: ... here.
58578 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58579 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58580 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58581 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58582 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58583 * sysdeps/unix/bsd/wait.c: ... here.
58584 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58585 * sysdeps/unix/bsd/wait3.c: ... here.
58586 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58587 * sysdeps/unix/bsd/waitpid.c: ... here.
58588
58589 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58590
58591 [BZ #16356]
58592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58593 round-to-nearest for [!USE_AS_EXPM1L].
58594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58595 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58596 more tests of exp and exp10. Expect some exp10 tests to miss
58597 exceptions or fail in directed rounding modes.
58598 * math/auto-libm-test-out: Regenerated.
58599 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58600 (exp10_test_tonearest): New function.
58601 (exp10_towardzero_test_data): New array.
58602 (exp10_test_towardzero): New function.
58603 (exp10_downward_test_data): New array.
58604 (exp10_test_downward): New function.
58605 (exp10_upward_test_data): New array.
58606 (exp10_test_upward): New function.
58607 (main): Call the new functions.
58608 * sysdeps/i386/fpu/libm-test-ulps: Update.
58609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58610
58611 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58612
58613 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58614 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58615 * math/auto-libm-test-out: Regenerated.
58616 * math/libm-test.inc (acosh_test_data): Add more tests.
58617 (atanh_test_data): Likewise.
58618 (ceil_test_data): Likewise.
58619 (copysign_test_data): Likewise.
58620 * sysdeps/i386/fpu/libm-test-ulps: Update.
58621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58622
58623 * timezone/checktab.awk: Update from tzcode 2013i.
58624 * timezone/private.h: Likewise.
58625 * timezone/scheck.c: Likewise.
58626 * timezone/tzfile.h: Likewise.
58627 * timezone/tzselect.ksh: Likewise.
58628 * timezone/zdump.c: Likewise.
58629 * timezone/zic.c: Likewise.
58630
58631 * math/auto-libm-test-in: Add tests of cpow.
58632 * math/auto-libm-test-out: Regenerated.
58633 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58634 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58635 mpc_cc_c.
58636 (func_calc_desc): Add mpc_cc_c union field.
58637 (test_functions): Add cpow.
58638 (special_fill_2pi): New function.
58639 (special_real_inputs): Add 2pi.
58640 (calc_generic_results): Handle mpc_cc_c.
58641 * sysdeps/i386/fpu/libm-test-ulps: Update.
58642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58643
58644 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58645 csqrt, ctan and ctanh.
58646 * math/auto-libm-test-out: Regenerated.
58647 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58648 (TEST_COND_x86): Likewise.
58649 (ccos_test_data): Use AUTO_TESTS_c_c.
58650 (ccosh_test_data): Likewise.
58651 (cexp_test_data): Likewise.
58652 (clog_test_data): Likewise.
58653 (csqrt_test_data): Likewise.
58654 (ctan_test_data): Likewise.
58655 (ctan_tonearest_test_data): Likewise.
58656 (ctan_towardzero_test_data): Likewise.
58657 (ctan_downward_test_data): Likewise.
58658 (ctan_upward_test_data): Likewise.
58659 (ctanh_test_data): Likewise.
58660 (ctanh_tonearest_test_data): Likewise.
58661 (ctanh_towardzero_test_data): Likewise.
58662 (ctanh_downward_test_data): Likewise.
58663 (ctanh_upward_test_data): Likewise.
58664 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58665 mpc_c_c.
58666 (func_calc_desc): Add mpc_c_c union field.
58667 (FUNC_mpc_c_c): New macro.
58668 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58669 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58670 ctanh.
58671 (special_fill_min_subnorm_p120): New function.
58672 (special_real_inputs): Add min_subnorm_p120.
58673 (calc_generic_results): Handle mpc_c_c.
58674 * sysdeps/i386/fpu/libm-test-ulps: Update.
58675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58676
58677 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58678
58679 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58680 (do_sin_slow): New functions.
58681 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58682 (cslow2, csloww1, csloww2): Use the new functions.
58683
58684 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58685 Use M to change sign of result instead of X. Assume X is
58686 positive.
58687 (csloww1): Likewise.
58688 (__sin): Adjust.
58689 (__cos): Adjust.
58690
58691 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58692 arguments A and DA.
58693 (__sin): Adjust.
58694 (__cos): Likewise.
58695
58696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58697 (__cos): Likewise.
58698 (sloww1): Don't adjust sign of DX.
58699 (csloww1): Likewise.
58700 (sloww2): Use X directly and don't adjust sign of DX.
58701 (csloww2): Likewise.
58702
58703 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58704
58705 * math/auto-libm-test-in: Add tests of cabs and carg.
58706 * math/auto-libm-test-out: Regenerated.
58707 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58708 (carg_test_data): Likewise.
58709 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58710 mpc_c_f.
58711 (func_calc_desc): Add mpc_c_f union field.
58712 (test_functions): Add cabs and carg.
58713 (calc_generic_results): Handle mpc_c_f.
58714
58715 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58716 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58717 as a macro and a compat symbol.
58718 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58719 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58720 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58721 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58722 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58723 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58724 not use .hidden.
58725 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58726 Likewise.
58727 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58728 Likewise.
58729 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58730 Likewise.
58731 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58732 Likewise.
58733 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58734 Likewise.
58735 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58736 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58737 from GLIBC_2.3.2.
58738
58739 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58740
58741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58742
58743 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58744
58745 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58746 trailing whitespace removed.
58747 * scripts/config.guess: Update to version 2013-11-29.
58748 * scripts/config.sub: Update to version 2013-10-01.
58749
58750 * math/auto-libm-test-in: Add tests of sincos.
58751 * math/auto-libm-test-out: Regenerated.
58752 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58754 mpfr_f_11.
58755 (func_calc_desc): Add mpfr_f_11 union field.
58756 (test_functions): Add sincos.
58757 (calc_generic_results): Handle mpfr_f_11.
58758 * sysdeps/i386/fpu/libm-test-ulps: Update.
58759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58760
58761 2013-12-19 Andreas Schwab <schwab@suse.de>
58762
58763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58764 CALL_MCOUNT.
58765 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58766 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58767 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58768
58769 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58770
58771 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58772 * sysdeps/i386/fpu/libm-test-ulps: Update.
58773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58774
58775 [BZ #16293]
58776 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58777 round-to-nearest mode when using frndint.
58778 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58779 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58781 Likewise.
58782 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58783 sinh test to fail.
58784 * math/auto-libm-test-out: Regenerated.
58785 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58786 (TEST_COND_x86): Likewise.
58787 (expm1_tonearest_test_data): New array.
58788 (expm1_test_tonearest): New function.
58789 (expm1_towardzero_test_data): New array.
58790 (expm1_test_towardzero): New function.
58791 (expm1_downward_test_data): New array.
58792 (expm1_test_downward): New function.
58793 (expm1_upward_test_data): New array.
58794 (expm1_test_upward): New function.
58795 (main): Run the new test functions.
58796 * sysdeps/i386/fpu/libm-test-ulps: Update.
58797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58798
58799 * include/features.h: Update comment documenting feature test
58800 macros. Mention _DEFAULT_SOURCE in comment.
58801 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58802 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58803 _BSD_SOURCE and _SVID_SOURCE.
58804 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58805 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58806 !_SVID_SOURCE]: Likewise.
58807 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58808 (__USE_POSIX_IMPLICITLY): Define.
58809 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58810 (_POSIX_SOURCE): Undefine and redefine.
58811 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58812 (_POSIX_C_SOURCE): Likewise.
58813 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58814 (Feature Test Macros): Update documentation of default features.
58815
58816 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58817
58818 * benchtests/Makefile: Add bench-strtok.
58819 * benchtests/bench-strtok.c: New file: strtok benchtest.
58820
58821 2013-12-19 Allan McRae <allan@archlinux.org>
58822
58823 * manual/install.texi: Suppress menu for plain text output.
58824 * INSTALL: Regenerated.
58825
58826 2013-12-18 Brooks Moses <bmoses@google.com>
58827
58828 [BZ #15846]
58829 * misc/getauxval.c: Include errno.h.
58830 (__getauxval): Set errno to ENOENT if the requested type is not
58831 found.
58832 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58833 don't declare with __attribute_const__.
58834 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58835 * manual/startup.texi: Document that getauxval sets errno.
58836
58837 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58838
58839 * math/auto-libm-test-in: Add tests of jn and yn.
58840 * math/auto-libm-test-out: Regenerated.
58841 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58842 (yn_test_data): Likewise.
58843 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58844 mpfr_if_f.
58845 (func_calc_desc): Add mpfr_if_f union field.
58846 (FUNC_mpfr_if_f): New macro.
58847 (test_functions): Add jn and yn.
58848 (calc_generic_results): Assert type of second input for
58849 mpfr_ff_f. Handle mpfr_if_f.
58850 (output_for_one_input_case): Disable all checking for arguments
58851 fitting floating-point types in case of an integer argument.
58852 * sysdeps/i386/fpu/libm-test-ulps: Update.
58853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58854
58855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58856 Don't expect fegetround reference in libm.so.
58857
58858 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58859
58860 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58861 $(config-cflags-nofma).
58862
58863 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58864
58865 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58866 * math/auto-libm-test-out: Regenerated.
58867
58868 [BZ #16338]
58869 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58870 to determine exponent and adjust argument to have exponent of -1.
58871 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58872 log2.
58873 * math/auto-libm-test-out: Regenerated.
58874 * sysdeps/i386/fpu/libm-test-ulps: Update.
58875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58876
58877 2013-12-18 Ondƙej Bílka <neleai@seznam.cz>
58878
58879 * manual/probes.texi: Remove cases when per-thread arenas are
58880 disabled.
58881
58882 2013-12-18 Andreas Schwab <schwab@suse.de>
58883
58884 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58885 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58886 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58887 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58888 * sysdeps/i386/i686/multiarch/Makefile: Update.
58889 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58890
58891 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58892
58893 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58894 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58895
58896 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58897
58898 [BZ #15968]
58899 Support TZ transition times < 00:00:00.
58900 This is needed for version-3 tz-format files; it supports time
58901 stamps past 2037 for America/Godthab (the only entry in the tz
58902 database for which this change is relevant).
58903 * manual/time.texi (TZ Variable): Document transition times
58904 from -167:59:59 through -00:00:01.
58905 * time/tzset.c (tz_rule): Time of day is now signed.
58906 (__tzset_parse_tz): Parse negative time of day.
58907
58908 Document TZ transition times >= 25:00:00.
58909 * manual/time.texi (TZ Variable): Document transition times from
58910 25:00:00 through 167:59:59. These are already supported, and this
58911 support will help with version-3 tz-format files.
58912
58913 * manual/time.texi (TZ Variable): Modernize North America example
58914 to reflect current (i.e., 2007-and-later) daylight saving rules.
58915
58916 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58917
58918 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58919
58920 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58921 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58924 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58925 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58926 * sysdeps/unix/bsd/clock.c: Likewise.
58927 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58928 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58929 * sysdeps/unix/bsd/init-posix.c: Likewise.
58930 * sysdeps/unix/bsd/poll.c: Likewise.
58931 * sysdeps/unix/bsd/ptsname.c: Likewise.
58932 * sysdeps/unix/bsd/seekdir.c: Likewise.
58933 * sysdeps/unix/bsd/setegid.c: Likewise.
58934 * sysdeps/unix/bsd/seteuid.c: Likewise.
58935 * sysdeps/unix/bsd/setgid.c: Likewise.
58936 * sysdeps/unix/bsd/setrgid.c: Likewise.
58937 * sysdeps/unix/bsd/setruid.c: Likewise.
58938 * sysdeps/unix/bsd/setsid.c: Likewise.
58939 * sysdeps/unix/bsd/setuid.c: Likewise.
58940 * sysdeps/unix/bsd/sigaction.c: Likewise.
58941 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58942 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58943 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58944 * sysdeps/unix/bsd/telldir.c: Likewise.
58945 * sysdeps/unix/bsd/times.c: Likewise.
58946 * sysdeps/unix/bsd/usleep.c: Likewise.
58947
58948 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58949 ($(objpfx)libbsd-compat.a): Remove rule.
58950
58951 * include/features.h (__FAVOR_BSD): Do not define.
58952 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58953 features conflicting with POSIX.
58954 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58955 (_BSD_SOURCE): Remove description of not being a subset of other
58956 feature test macros.
58957 * manual/job.texi (getpgrp): Do not document BSD version.
58958 (getpgid): Do not document by reference to BSD getpgrp.
58959 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58960 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58961 * signal/signal.h [__FAVOR_BSD]: Likewise.
58962 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58963 instead of making contents conditional on [__FAVOR_BSD].
58964 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58965
58966 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58967
58968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58969
58970 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58971
58972 [BZ #16314]
58973 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58974 values below 2**-450, not 2**-500.
58975 * math/auto-libm-test-in: Don't allow spurious underflow from
58976 hypot.
58977 * math/auto-libm-test-out: Regenerated.
58978
58979 [BZ #16316]
58980 [BZ #16330]
58981 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58982 values of ha and hb and sort them after adjusting subnormal
58983 arguments.
58984 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58985 Likewise.
58986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58987 values of ea and eb and sort them after adjusting subnormal
58988 arguments.
58989 * math/auto-libm-test-in: Do not expect some hypot tests of
58990 subnormals to fail. Add more hypot tests.
58991 * math/auto-libm-test-out: Regenerated.
58992
58993 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58994
58995 [BZ #13304]
58996 * sysdeps/sh/s_fma.c: New file.
58997 * sysdeps/sh/s_fmaf.c: New file.
58998 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58999 version.
59000 * sysdeps/sh/Implies: Add sh/soft-fp.
59001
59002 2013-12-16 Roland McGrath <roland@hack.frob.com>
59003
59004 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59005 level of indirection to members `objname', `errstring', `malloced'.
59006 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59007 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59008 it as the __longjmp argument (just pass 1 instead).
59009 (_dl_catch_error): Initialize C with argument pointers and address of
59010 volatile local ERRCODE rather than copying values out of C at return.
59011
59012 2013-12-16 Joseph Myers <joseph@codesourcery.com>
59013
59014 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59015 * math/auto-libm-test-out: Regenerated.
59016 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59017 (hypot_test_data): Likewise.
59018 (pow_test_data): Likewise.
59019 (pow_tonearest_test_data): Likewise.
59020 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59021 mpfr_ff_f.
59022 (func_calc_desc): Add mpfr_ff_f union field.
59023 (FUNC_mpfr_ff_f): New macro.
59024 (test_functions): Add atan2, hypot and pow.
59025 (special_fill_min): New function.
59026 (special_fill_minus_min): Likewise.
59027 (special_fill_min_subnorm): Likewise.
59028 (special_fill_minus_min_subnorm): Likewise.
59029 (special_real_inputs): Add min, -min, min_subnorm and
59030 -min_subnorm.
59031 (calc_generic_results): Handle mpfr_ff_f.
59032 * sysdeps/i386/fpu/libm-test-ulps: Update.
59033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59034
59035 2013-12-16 Will Newton <will.newton@linaro.org>
59036
59037 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59038 (Aligned Memory Blocks): Add documentation for aligned_alloc
59039 and suggest it as an alternative to posix_memalign.
59040 (Hooks for Malloc): Document __memalign_hook is also called
59041 for aligned_alloc. (Summary of Malloc): Add summary for
59042 aligned alloc. Document __memalign_hook is also called
59043 for aligned_alloc.
59044
59045 2013-12-16 Will Newton <will.newton@linaro.org>
59046
59047 * manual/memory.texi (Malloc Examples): Clarify default
59048 alignment documentation. Suggest posix_memalign rather
59049 than memalign or valloc.
59050 (Aligned Memory Blocks): Remove suggestion to use memalign
59051 or valloc. Remove obsolete comment about BSD.
59052 Document memalign errno values and mark the function obsolete.
59053 Document posix_memalign returned error codes. Mark valloc
59054 as obsolete. (Hooks for Malloc): __memalign_hook is also
59055 called for posix_memalign and valloc.
59056 (Summary of Malloc): Add posix_memalign to function summary.
59057 __memalign_hook is also called for posix_memalign and valloc.
59058
59059 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59060
59061 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59062 TAYLOR_SIN.
59063 (__sin): Adjust.
59064 (__cos): Likewise.
59065 (sloww): Use mynumber union. Expand ternary operator into
59066 if-else statements.
59067 (cslow): use mynumber union.
59068
59069 2013-12-16 Allan McRae <allan@archlinux.org>
59070
59071 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59072 * configure: Regenerated.
59073
59074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59075
59076 [BZ #14120]
59077 * configure.ac: Added --enable-maintainer-mode. Check for
59078 autoconf when enabled.
59079 * configure: Regenerated.
59080
59081 * nscd/nscd.service: New file.
59082 * nscd/nscd.tmpfiles: New file.
59083
59084 2013-12-14 Ondƙej Bílka <neleai@seznam.cz>
59085
59086 [BZ #12100]
59087 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59088 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59089 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59090 (strstr): Add __strstr_sse2_unaligned ifunc.
59091 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59092 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59093 (strcasestr): Remove __strcasestr_sse42 ifunc.
59094 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59097
59098 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59099
59100 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59101 * sysdeps/sh/bits/fenv.h: ... here.
59102 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59103
59104 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59105
59106 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59107
59108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59109 hypotf multiarch implementations.
59110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59113 multiarch hypot for PPC64.
59114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59115 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59117 multiarch hypotf for PPC64.
59118
59119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59120 modff multiarch implementations.
59121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59124 multiarch modf for PPC64.
59125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59128 multiarch modff for PPC64.
59129
59130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59131 and logl multiarch implementations.
59132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59135 multiarch logb for PPC64.
59136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59139 multiarch logb for PPC64.
59140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59143 multiarch logb for PPC64.
59144
59145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59146 isinff multiarch implementation.
59147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59148 file.
59149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59151 multiarch isinf for PPC64.
59152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59153 file.
59154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59155 multiarch isinff for PPC64.
59156
59157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59158 finitef multiarch implementation.
59159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59160 file.
59161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59163 multiarch finite for PPC64.
59164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59165 file.
59166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59167 multiarch finitef for PPC64.
59168
59169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59170 lrint multiarch implementation.
59171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59172 file.
59173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59175 multiarch llrint for PPC64.
59176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59177 multiarch lrint for PPC64.
59178
59179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59180 copysignf multiarch implementation.
59181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59182 file.
59183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59184 file.
59185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59186 multiarch copysign for PPC64.
59187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59188 multiarch copysignf for PPC64.
59189
59190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59191 multiarch implementation.
59192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59193 file.
59194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59195 file.
59196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59197 file.
59198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59199 file.
59200 multiarch llround for PPC64.
59201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59202 multiarch trunc for PPC64.
59203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59204 multiarch truncf for PPC64.
59205
59206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59207 multiarch implementation.
59208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59209 file.
59210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59211 file.
59212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59213 file.
59214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59215 file.
59216 multiarch llround for PPC64.
59217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59218 multiarch round for PPC64.
59219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59220 multiarch roundf for PPC64.
59221
59222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59223 multiarch implementation.
59224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59225 file.
59226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59227 file.
59228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59229 file.
59230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59231 file.
59232 multiarch llround for PPC64.
59233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59234 multiarch floor for PPC64.
59235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59236 multiarch floorf for PPC64.
59237
59238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59239 multiarch implementation.
59240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59241 file.
59242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59243 file.
59244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59245 file.
59246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59247 file.
59248 multiarch llround for PPC64.
59249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59250 multiarch ceil for PPC64.
59251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59252 multiarch ceilf for PPC64.
59253
59254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59255 multiarch implementation.
59256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59257 file.
59258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59259 file.
59260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59261 file.
59262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59263 multiarch llround for PPC64.
59264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59265 multiarch lround for PPC64.
59266
59267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59268 multiarch implementation.
59269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59272 file.
59273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59276 multiarch isnan for PPC64.
59277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59278 multiarch isnanf for PPC64.
59279
59280 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59281 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59282 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59283 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59284 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59286
59287 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59288 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59291
59292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59293 multiarch implementations.
59294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59295 (__libc_ifunc_impl_list): Likewise.
59296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59297 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59299 multiarch stpcpy for PPC64.
59300
59301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59302 multiarch implementations.
59303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59304 (__libc_ifunc_impl_list): Likewise.
59305 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59306 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59307 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59308 multiarch strcpy for PPC64.
59309
59310 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59311 redefine function name.
59312 (_wordcopy_fwd_dest_aligned): Likewise.
59313 (_wordcopy_bwd_aligned): Likewise.
59314 (_wordcopy_bwd_dest_aligned): Likewise.
59315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59316 multiarch implementations.
59317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59318 (__libc_ifunc_impl_list): Likewise.
59319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59320 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59321 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59322 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59323 multiarch wcscpy for PPC64.
59324
59325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59326 multiarch implementations.
59327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59328 (__libc_ifunc_impl_list): Likewise.
59329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59331 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59332 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59333 multiarch wcscpy for PPC64.
59334
59335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59336 multiarch implementations.
59337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59338 (__libc_ifunc_impl_list): Likewise.
59339 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59340 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59341 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59342 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59343 multiarch wcsrchr for PPC64.
59344
59345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59346 multiarch implementations.
59347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59348 (__libc_ifunc_impl_list): Likewise.
59349 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59350 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59351 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59352 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59353 multiarch wcschr for PPC64.
59354
59355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59356 multiarch implementations.
59357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59358 (__libc_ifunc_impl_list): Likewise.
59359 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59360 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59361 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59362 multiarch strchrnul for PPC64.
59363
59364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59365 implementations.
59366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59367 (__libc_ifunc_impl_list): Likewise.
59368 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59369 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59370 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59371 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59372 strchr for PPC64.
59373
59374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59375 implementations.
59376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59377 (__libc_ifunc_impl_list): Likewise.
59378 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59379 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59381 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59382 strncmp for PPC64.
59383
59384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59385 multiarch implementations.
59386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59387 (__libc_ifunc_impl_list): Likewise.
59388 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59389 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59390 strncasecmp for PPC64.
59391 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59392 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59393 multiarch strncasecmp_l for PPC64.
59394
59395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59396 multiarch implementations.
59397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59398 (__libc_ifunc_impl_list): Likewise.
59399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59401 multiarch strcasecmp for PPC64.
59402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59403 file.
59404 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59405 multiarch strcasecmp_l for PPC64.
59406
59407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59408 implementations.
59409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59410 (__libc_ifunc_impl_list): Likewise.
59411 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59412 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59413 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59414 strnlen for PPC64.
59415
59416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59417 implementations.
59418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59419 (__libc_ifunc_impl_list): Likewise.
59420 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59421 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59422 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59423 strlen for PPC64.
59424
59425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59426 implementations.
59427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59428 (__libc_ifunc_impl_list): Likewise.
59429 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59430 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59431 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59432 rawmemrchr for PPC64.
59433
59434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59435 implementation.
59436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59437 (__libc_ifunc_impl_list): Likewise.
59438 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59439 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59440 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59441 memrchr for PPC64.
59442
59443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59444 implementation.
59445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59446 (__libc_ifunc_impl_list): Likewise.
59447 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59448 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59449 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59450 memchr for PPC64.
59451
59452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59453 implementation.
59454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59455 (__libc_ifunc_impl_list): Likewise.
59456 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59457 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59458 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59459 mempcpy for PPC64.
59460
59461 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59462 avoid cretion of __bzero symbol.
59463 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59464 Likewise.
59465 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59466 Likewise.
59467 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59468 Likewise.
59469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59470 multiarch implementations.
59471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59472 (__libc_ifunc_impl_list): Likewise.
59473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59474 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59475 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59476 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59477 bzero for PPC32.
59478 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59479 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59480 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59481 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59482 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59483 memset for PPC64.
59484 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59485
59486 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59488 implementations.
59489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59490 (__libc_ifunc_impl_list): Likewise.
59491 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59492 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59493 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59494 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59495 memcmp for PPC64.
59496
59497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59498 multiarch for POWER/PPC64.
59499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59500 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59505 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59506 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59507 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59508 memcpy for PPC64.
59509
59510 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59511 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59512 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59513 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59514 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59515 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59516 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59517 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59518 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59519 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59520 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59521 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59522 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59523 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59524 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59532
59533 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59534
59535 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59536
59537 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59538
59539 * benchtests/Makefile (bench): Add exp2 and log2.
59540 (LDLIBS-bench-exp2): Add -lm.
59541 (LDLIBS-bench-log2): Likewise.
59542 * benchtests/exp2-inputs: New inputs file.
59543 * benchtests/log2-inputs: New inputs file.
59544 * benchtests/log-inputs: Add new inputs.
59545 * benchtests/tan-inputs: Likewise.
59546
59547 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59548
59549 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59550 definition...
59551 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59552 (csloww2): ... from here.
59553
59554 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59555 instead of structures.
59556 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59557 (POLYNOMIAL): Likewise.
59558 (TAYLOR_SLOW): Likewise.
59559 (__sin): Likewise.
59560 (__cos): Likewise.
59561 (slow1): Likewise.
59562 (slow2): Likewise.
59563 (sloww): Likewise.
59564 (sloww1); Likewise.
59565 (sloww2): Likewise.
59566 (bsloww1): Likewise.
59567 (bsloww2): Likewise.
59568 (cslow2): Likewise.
59569 (csloww): Likewise.
59570 (csloww1): Likewise.
59571 (csloww2): Likewise.
59572
59573 2013-12-10 Ondƙej Bílka <neleai@seznam.cz>
59574
59575 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59576 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59577 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59578 * malloc/hooks.c (realloc_check): Likewise.
59579
59580 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59581 * malloc/arena.c: Remove PER_THREAD conditional.
59582 [!PER_THREAD]: Remove code.
59583 (ptmalloc_unlock_all2): Likewise.
59584 (ptmalloc_init): Likewise.
59585 (_int_new_arena): Likewise.
59586 (arena_get2): Likewise.
59587 * malloc/hooks.c (__malloc_get_state): Likewise.
59588 (__malloc_set_state): Likewise.
59589 * malloc/malloc.c: Likewise.
59590 (struct malloc_state): Likewise.
59591 (struct malloc_par): Likewise.
59592 (__libc_realloc): Likewise.
59593 (__libc_mallopt): Likewise.
59594
59595 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59596
59597 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59598
59599 2013-12-09 Ondƙej Bílka <neleai@seznam.cz>
59600
59601 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59602 macro to a function. Check for zero perturb_byte.
59603 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59604
59605 * malloc/malloc.c: (force_reg): Remove.
59606 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59607 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59608 force_reg by atomic_forced_read.
59609 * malloc/arena.c (ptmalloc_init): Likewise.
59610 * malloc/hooks.c (top_check): Likewise.
59611
59612 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59613
59614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59615
59616 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59617
59618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59619
59620 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59621
59622 * math/auto-libm-test-in: Add tests of lgamma.
59623 * math/auto-libm-test-out: Regenerated.
59624 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59625 (M_LOG_2_SQRT_PIl): Likewise.
59626 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59627 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59628 mpfr_f_f1.
59629 (func_calc_desc): Add mpfr_f_f1 union field.
59630 (ARGS1): New macro.
59631 (ARGS2): Likewise.
59632 (ARGS3): Likewise.
59633 (ARGS4): Likewise.
59634 (RET1): Likewise.
59635 (RET2): Likewise.
59636 (CALC): Likewise.
59637 (FUNC): Likewise.
59638 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59639 (test_functions): Add lgamma.
59640 (calc_generic_results): Handle mpfr_f_f1.
59641 * sysdeps/i386/fpu/libm-test-ulps: Update.
59642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59643
59644 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59645
59646 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59647 __mpn_add_n for PowerPC64/POWER7.
59648 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59649 __mpn_sub_n for PowerPC64/POWER7.
59650
59651 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59652 __mpn_addmul_1 for PowerPC64.
59653 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59654 __mpn_submul_1 for PowerPC64.
59655 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59656 for PowerPC64.
59657 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59658 for PowerPC64.
59659
59660 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59661
59662 [BZ #15089]
59663 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59664
59665 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59666
59667 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59668
59669 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59670 add multiarch folders.
59671 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59672 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59673 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59674 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59675 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59676 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59677 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59678 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59679 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59680 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59681 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59688
59689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59690 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59692 New file.
59693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59694 New file.
59695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59696 multiarch __ieee754_hypot for PowerPC32.
59697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59698 New file.
59699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59700 New file.
59701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59702 multiarch __ieee754_hypotf for PowerPC32.
59703
59704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59705 long_double_symbol only if __logbl is defined.
59706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59707 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59709 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59711 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59713 path for implementation.
59714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59717 logb, and logbl multiarch implementations for PowerPC32.
59718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59719 file.
59720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59721 file.
59722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59723 multiarch logb for PowerPC32.
59724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59725 file.
59726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59727 file.
59728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59729 multiarch logbf for PowerPC32.
59730 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59732 file.
59733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59734 multiarch logbl implementation for PowerPC32.
59735
59736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59737 and modff multiarch implementations.
59738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59739 New file.
59740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59741 New file.
59742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59743 multiarch modf for PowerPC32.
59744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59745 New file.
59746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59747 New file.
59748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59749 multiarch modff for PowerPC32.
59750
59751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59752 and lrintf multiarch implementations.
59753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59754 New file.
59755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59756 New file.
59757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59758 multiarch lrint for PowerPC32.
59759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59760 file: multiarch lrintf for PowerPC32.
59761
59762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59763 and lroundf multiarch implementations.
59764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59765 New file.
59766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59767 New file.
59768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59769 New file.
59770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59771 multiarch lround for PowerPC32.
59772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59773 file: multiarch lroundf for PowerPC32.
59774
59775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59776 copysign and copysignf multiarch implementations.
59777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59778 New file.
59779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59780 New file.
59781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59782 file: multiarch copysign for PowerPC32.
59783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59784 file: multiarch copysignf for PowerPC32.
59785
59786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59787 and truncf multiarch implementations.
59788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59789 New file.
59790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59791 file.
59792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59793 multiarch trunc for PowerPC32.
59794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59795 New file.
59796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59797 New file.
59798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59799 multiarch truncf for PowerPC32.
59800
59801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59802 and roundf multiarch implementations.
59803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59804 New file.
59805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59806 file.
59807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59808 multiarch round for PowerPC32.
59809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59810 New file.
59811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59812 New file.
59813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59814 multiarch roundf for PowerPC32.
59815
59816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59817 and floorf multiarch implementations.
59818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59819 New file.
59820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59821 file.
59822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59823 multiarch floor for PowerPC32.
59824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59825 New file.
59826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59827 New file.
59828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59829 multiarch floorf for PowerPC32.
59830
59831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59832 and ceilf multiarch implementations.
59833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59834 New file.
59835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59836 file.
59837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59838 multiarch ceil for PowerPC32.
59839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59840 New file.
59841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59842 file.
59843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59844 multiarch ceilf for PowerPC32.
59845
59846 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59847 is defined.
59848 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59849 FINITEF is defined.
59850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59851 and finitef multiarch implementations.
59852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59853 New file.
59854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59855 file.
59856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59857 multiarch finite for PowerPC32.
59858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59859 New file.
59860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59861 file: multiarch finitef for PowerPC32.
59862
59863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59864 and isinff multiarch implementations.
59865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59866 file.
59867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59868 file.
59869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59870 multiarch isinf for PowerPC32.
59871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59872 New file.
59873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59874 multiarch isinff for PowerPC32.
59875
59876 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59877 alias when __isnan is defined.
59878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59879 and isnanf multiarch implementations.
59880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59881 file.
59882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59883 file.
59884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59885 file.
59886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59887 file.
59888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59889 multiarch isnan for PowerPC32.
59890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59891 New file.
59892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59893 New file.
59894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59895 multiarch isnanf for PowerPC32.
59896
59897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59898 and sqrtf multiarch implementations.
59899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59900 file.
59901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59902 file.
59903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59904 multiarch sqrt for PowerPC32.
59905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59906 file.
59907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59908 file.
59909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59910 multiarch sqrtf for PowerPC32.
59911
59912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59913 and llroundf multiarch implementations.
59914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59915 New file.
59916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59917 New file.
59918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59919 New file.
59920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59921 file: multiarch llround for PowerPC32.
59922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59923 file: multiarch llroundf for PowerPC32.
59924
59925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59926 multiarch PowerPC32 fpu implementations.
59927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59928 New file.
59929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59930 New file.
59931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59932 multiarch llrint for PowerPC32.
59933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59934 New file.
59935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59936 New file.
59937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59938 file.
59939
59940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59941
59942 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59943 file.
59944 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59945 file.
59946 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59947 file.
59948 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59949 multiarch wordcopy for PPC32.
59950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59951 wordcopy objects.
59952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59953 (__libc_ifunc_impl_list): Likewise.
59954 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59955 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59956 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59957 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59959 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59960
59961 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59963 file.
59964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59965 file.
59966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59967 file.
59968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59969 multiarch wcscpy for PPC32.
59970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59971 multiarch objects.
59972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59973 (__libc_ifunc_impl_list): Likewise.
59974 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59975 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59976 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59977 sysdeps/powerpc/power6/wcscpy.c.
59978
59979 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59981 file.
59982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59983 file.
59984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59985 file.
59986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59987 multiarch wcsrchr for PPC32.
59988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59989 multiarch objects.
59990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59991 (__libc_ifunc_impl_list): Likewise.
59992 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59993 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59994 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59995 sysdeps/powerpc/power6/wcsrchr.c.
59996
59997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59998 file.
59999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60000 file.
60001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60003 multiarch wcschr for PPc32.
60004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60005 multiarch objects.
60006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60007 (__libc_ifunc_impl_list): Likewise.
60008 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60009 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60010 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60011 sysdeps/powerpc/power6/wcschr.c.
60012
60013 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60014 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60015 file.
60016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60017 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60018 file: multiarch strchr for PPC32.
60019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60020 multiarch objects.
60021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60022 (__libc_ifunc_impl_list): Likewise.
60023
60024 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60025 name.
60026 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60027 file.
60028 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60029 file.
60030 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60031 multiarch strchrnul for PPC32.
60032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60033 multiarch objects.
60034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60035 (__libc_ifunc_impl_list): Likewise.
60036
60037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60038 file.
60039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60040 multiarch strncasecmp for PPC32.
60041 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60042 file.
60043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60044 multiarch strncasecmp_l for PPC32.
60045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60046 strncasecmp multiarch objects.
60047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60048 (__libc_ifunc_impl_list): Likewise.
60049
60050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60051 file.
60052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60053 multiarch strncasecmp for PPC32.
60054 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60055 New file.
60056 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60057 multiarch strcasecmp_l for PPC32.
60058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60059 multiarch objects.
60060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60061 (__libc_ifunc_impl_list): Likewise.
60062
60063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60064 file.
60065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60066 file.
60067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60068 multiarch strncmp for PPC32.
60069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60070 multiarch objects.
60071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60072 (__libc_ifunc_impl_list): Likewise.
60073
60074 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60075 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60076 file.
60077 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60078 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60080 multiarch objects.
60081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60082 (__libc_ifunc_impl_list): Likewise.
60083
60084 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60085 file.
60086 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60087 file.
60088 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60090 multiarch objects.
60091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60092 (__libc_ifunc_impl_list): Likewise.
60093
60094 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60095 file.
60096 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60097 file.
60098 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60099 multiarch rawmemchr for PPC32.
60100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60101 multiarch objects.
60102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60103 (__libc_ifunc_impl_list): Likewise.
60104
60105 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60106 file.
60107 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60108 file.
60109 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60110 file: memrchr multiarch for PPC32.
60111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60112 multiarch objects.
60113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60114 (__libc_ifunc_impl_list): Likewise.
60115
60116 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60117 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60118 file.
60119 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60120 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60121 multiarch memchr for PPC32.
60122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60123 multiarch objects.
60124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60125 (__libc_ifunc_impl_list): Likewise.
60126
60127 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60128 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60129 file.
60130 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60131 file.
60132 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60133 file: multiarch mempcpy for PPC32.
60134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60135 multiarch objects.
60136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60137 (__libc_ifunc_impl_list): Likewise.
60138
60139 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60140 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60141 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60142 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60143 multiarch bzero for PPC32.
60144 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60145 file.
60146 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60147 file.
60148 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60149 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60150 file: multiarch memset for PPC32.
60151 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60153 memset multiarch objects.
60154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60155 (__libc_ifunc_impl_list): Likewise.
60156
60157 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60158 file.
60159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60160 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60161 memcmp for PPC32.
60162 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60164 multiarch objects.
60165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60166 (__libc_ifunc_impl_list): Likewise.
60167
60168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60171 file.
60172 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60173 file.
60174 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60175 file.
60176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60177 multiarch memcpy for PPC32.
60178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60179 multiarch objects.
60180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60181 (__libc_ifunc_impl_list): Likewise.
60182
60183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60184 support multiarch for POWER/PPC32.
60185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60186 Likewise.
60187 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60189 Implies file to make multiarch folder appers before the fpu and
60190 default folder for power4 configuration.
60191
60192 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60193
60194 * scripts/bench.pl: Append volatile keyword to type.
60195
60196 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60197
60198 * sysdeps/sh/sotruss-lib.c: New file.
60199 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60200
60201 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60202
60203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60204
60205 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60206
60207 [BZ #6810]
60208 * math/w_tgamma.c: Include <errno.h>.
60209 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60210 * math/w_tgammaf.c: Include <errno.h>.
60211 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60212 * math/w_tgammal.c: Include <errno.h>.
60213 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60214 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60215 underflow. Add more tgamma tests.
60216 * math/auto-libm-test-out: Regenerated.
60217 * sysdeps/i386/fpu/libm-test-ulps: Update.
60218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60219
60220 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60221 sin, sinh, tan, tanh, tgamma, y0 and y1.
60222 * math/auto-libm-test-out: Regenerated.
60223 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60224 (TEST_COND_x86): Likewise.
60225 (M_E2l): Remove macro.
60226 (M_E3l): Likewise.
60227 (M_2_SQRT_PIl): Likewise.
60228 (M_SQRT_PIl): Likewise.
60229 (M_1_DIV_El): Likewise.
60230 (log_test_data): Use AUTO_TESTS_f_f.
60231 (log10_test_data): Likewise.
60232 (log1p_test_data): Likewise.
60233 (log2_test_data): Likewise.
60234 (sin_test_data): Likewise.
60235 (sin_tonearest_test_data): Likewise.
60236 (sin_towardzero_test_data): Likewise.
60237 (sin_downward_test_data): Likewise.
60238 (sin_upward_test_data): Likewise.
60239 (sinh_test_data): Likewise.
60240 (sinh_tonearest_test_data): Likewise.
60241 (sinh_towardzero_test_data): Likewise.
60242 (sinh_downward_test_data): Likewise.
60243 (sinh_upward_test_data): Likewise.
60244 (tan_test_data): Likewise.
60245 (tan_tonearest_test_data): Likewise.
60246 (tan_towardzero_test_data): Likewise.
60247 (tan_downward_test_data): Likewise.
60248 (tan_upward_test_data): Likewise.
60249 (tanh_test_data): Likewise.
60250 (tgamma_test_data): Likewise.
60251 (y0_test_data): Likewise.
60252 (y1_test_data): Likewise.
60253 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60254 (special_real_inputs): Add pi/4.
60255 * sysdeps/i386/fpu/libm-test-ulps: Update.
60256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60257
60258 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60259
60260 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60261 "longjmp_target" static probes.
60262 (__longjmp): Rename to __longjmp_symbol.
60263 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60264 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60265 on which longjmp to generate.
60266 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60267 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60268 probe.
60269 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60270 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60271 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60272 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60273 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60274 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60276 __longjmp_symbol based on which __longjmp to generate.
60277 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60278 probe.
60279 (setjmp): Rename to setjmp_symbol.
60280 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60281 (_setjmp): Rename to _setjmp_symbol.
60282 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60283 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60284 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60285 which setjmp to generate.
60286 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60287 "longjmp_target" static probes.
60288
60289 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60290
60291 * benchtests/README: Add note about output arguments.
60292 * benchtests/bench-sincos.c: Remove file.
60293 * benchtests/sincos-inputs: New file.
60294 * scripts/bench.pl: Identify output arguments and define
60295 static variables for them.
60296
60297 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60298
60299 [BZ #15941]
60300 * Makefile (INSTALL): Add install-plain.texi as the primary
60301 dependency.
60302 * manual/install-plain.texi: New file.
60303 * manual/install.texi: Include node directive only for
60304 non-plaintext output.
60305
60306 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60307
60308 * stdlib/longlong.h: Update from GCC.
60309
60310 [BZ #6807]
60311 [BZ #15901]
60312 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60313 * math/w_j0f.c (y0f): Likewise.
60314 * math/w_j0l.c (__y0l): Likewise.
60315 * math/w_j1.c (y1): Likewise.
60316 * math/w_j1f.c (y1f): Likewise.
60317 * math/w_j1l.c (__y1l): Likewise.
60318 * math/w_jn.c (yn): Likewise.
60319 * math/w_jnf.c (ynf): Likewise.
60320 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60321 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60322 value for Bessel function domain errors outside _SVID_ mode.
60323 Adjust sign of return value for yn (negative integer, 0).
60324 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60325 by zero in return for negative x and set sign appropriately for
60326 negative n.
60327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60328 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60329 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60330 expectations in error cases.
60331 (y1_test_data): Likewise.
60332 (yn_test_data): Likewise.
60333 * sysdeps/i386/fpu/libm-test-ulps: Update.
60334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60335
60336 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60337
60338 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60339 "64" to "64-v1". Add "64-v2".
60340 (abi-64-options): Rename to ...
60341 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60342 (abi-64-condition): Rename to ...
60343 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60344 (abi-64-ld-soname): Rename to ...
60345 (abi-64-v1-ld-soname): ... this.
60346 (abi-64-v2-options): Define.
60347 (abi-64-v2-condition): Likewise.
60348 (abi-64-v2-ld-soname): Likewise.
60349 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60350 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60354
60355 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60356 Alan Modra <amodra@gmail.com>
60357
60358 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60359 New versions for use with the ELFv2 ABI.
60360 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60361 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60362 declaration.
60363 (struct La_ppc64v2_retval): Likewise.
60364 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60365 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60366 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60367 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60368 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60369 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60370 Do not save or restore CR.
60371 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60372 (_dl_profile_resolve): Do no save or restore CR. Support extended
60373 return values for ELFv2 ABI. Fix location of FPR return registers.
60374 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60375 updated values for _CALL_ELF == 2.
60376 (La_regs, La_retval, int_retval): Likewise.
60377
60378 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60379
60380 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60381 (FRAME_MIN_SIZE_PARM): Likewise.
60382 (FRAME_BACKCHAIN): Likewise.
60383 (FRAME_CR_SAVE): Likewise.
60384 (FRAME_LR_SAVE): Likewise.
60385 (FRAME_TOC_SAVE): Likewise.
60386 (FRAME_PARM_SAVE): Likewise.
60387 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60388 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60389 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60390 (call_mcount_parm_offset): New macro.
60391 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60392 (PROF): Use symbolic stack frame offsets.
60393 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60394 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60395 Redefine in terms of FRAME_MIN_SIZE.
60396 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60397 (_dl_profile_resolve): Likewise. Update comment.
60398 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60399 symbols stack frame offsets.
60400 (__sigsetjmp): Likewise.
60401 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60402 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60403 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60404 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60405
60406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60407 (FRAME_BACKCHAIN): Remove.
60408 (FRAME_CR_SAVE): Likewise.
60409 (FRAME_LR_SAVE): Likewise.
60410 (FRAME_COMPILER_DW): Likewise.
60411 (FRAME_LINKER_DW): Likewise.
60412 (FRAME_TOC_SAVE): Likewise.
60413 (FRAME_PARM_SAVE): Likewise.
60414 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60415 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60416 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60418 (CHECK_SP): Use symbolic stack frame offsets.
60419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60420 zone" instead of caller's parameter save area for temp storage.
60421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60422 Likewise. Also, use symbolic stack frame offsets.
60423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60424 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60425 our own stack frame instead of the caller's.
60426 (__socket): Use symbolic stack frame offsets.
60427
60428 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60429 Alan Modra <amodra@gmail.com>
60430
60431 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60432 Define.
60433 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60434 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60435 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60436 New function.
60437 (elf_machine_fixup_plt): Call it.
60438 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60439 reloc arguments.
60440 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60441 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60442 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60443 r2 before calling target.
60444
60445 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60446 Alan Modra <amodra@gmail.com>
60447
60448 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60449 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60450 versions of macros to support ELFv2 ABI.
60451 (LOCALENTRY): New macro.
60452 (ENTRY, EALIGN): Use it.
60453 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60454 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60455 fall through into ENTRY entry point.
60456 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60457 Only define if _CALL_ELF != 2.
60458
60459 (elf_machine_matches_host): Verify ABI version matches.
60460 (RTLD_START): Use LOCALENTRY.
60461 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60462 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60463 (PLT_ENTRY_WORDS): New macro.
60464 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60465 (elf_machine_runtime_setup): Support ELFv2 ABI.
60466 (elf_machine_fixup_plt): Likewise.
60467 (elf_machine_plt_conflict): Likewise.
60468 (resolve_ifunc): Likewise.
60469 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60471 Likewise.
60472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60473 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60475 (makecontext): Support ELFv2 ABI.
60476 * elf/elf.h (EF_PPC64_ABI): Define.
60477
60478 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60479
60480 * sysdeps/powerpc/powerpc64/sysdep.h
60481 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60482 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60483 (ENTRY) [ASSEMBLER]: ... but instead here ...
60484 (EALIGN) [ASSEMBLER]: ... and here.
60485 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60486 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60487 (ENTRY_2) [!ASSEMBLER]: Use it.
60488 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60489 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60490 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60491 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60492 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60494 Use PPC64_LOAD_FUNCPTR.
60495
60496 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60497
60498 2013-12-04 Alan Modra <amodra@gmail.com>
60499
60500 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60501 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60502 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60503 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60504
60505 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60506 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60507 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60508 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60509 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60510 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60511
60512 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60513
60514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60515 (__makecontext): Fix incorrect CFI when backtracing out of
60516 context created via makecontext.
60517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60518 (__setcontext): Fix incorrect CFI during switch to new context.
60519 (__novec_setcontext): Likewise.
60520
60521 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60522
60523 [BZ #4772]
60524 * time/strptime_l.c (__strptime_internal): Allow modifiers
60525 in strptime.
60526 * time/tst-strptime.c (day_tests): Add testcase.
60527
60528 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60529
60530 * scripts/bench.pl: Skip over blank lines.
60531
60532 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60533
60534 [BZ #926]
60535 * manual/time.texi (Calendar Time): Clarify what timezone functions
60536 use.
60537
60538 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60539
60540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60541
60542 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60543
60544 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60545 implementation.
60546 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60547 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60548 * debug/memset_chk.c (__memset_chk): Likewise.
60549 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60550 * debug/strncpy_chk.c: Likewise.
60551
60552 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60553
60554 [BZ #15268]
60555 [BZ #15425]
60556 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60557 (__ieee754_exp): For possibly underflowing results, check size of
60558 result and force underflow exception if required.
60559 * math/auto-libm-test-in: Add more tests of exp.
60560 * math/auto-libm-test-out: Regenerated.
60561 * sysdeps/i386/fpu/libm-test-ulps: Update.
60562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60563
60564 [BZ #16283]
60565 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60566 * math/w_exp2f.c (__exp2f): Likewise.
60567 * math/w_exp2l.c (__exp2l): Likewise.
60568 * math/auto-libm-test-in: Do not allow missing errno on exp2
60569 underflow.
60570 * math/auto-libm-test-out: Regenerated.
60571
60572 2013-12-03 Ondƙej Bílka <neleai@seznam.cz>
60573
60574 [BZ #16274]
60575 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60576 handle filename validation.
60577 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60578 (do_open): Delete.
60579
60580 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60581
60582 [BZ #6786]
60583 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60584 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60585 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60586 <float.h>.
60587 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60588 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60589 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60591 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60593 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60594 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60595 Add more erfc tests.
60596 * math/auto-libm-test-out: Regenerated.
60597 * sysdeps/i386/fpu/libm-test-ulps: Update.
60598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60599
60600 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60601 exp2, expm1, j0 and j1.
60602 * math/auto-libm-test-out: Regenerated.
60603 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60604 (erfc_test_data): Likewise.
60605 (exp_test_data): Likewise.
60606 (exp_tonearest_test_data): Likewise.
60607 (exp_towardzero_test_data): Likewise.
60608 (exp_downward_test_data): Likewise.
60609 (exp_upward_test_data): Likewise.
60610 (exp10_test_data): Likewise.
60611 (exp2_test_data): Likewise.
60612 (expm1_test_data): Likewise.
60613 (j0_test_data): Likewise.
60614 (j1_test_data): Likewise.
60615 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60616 (input_flag_type): Add flag_xfail_rounding.
60617 (input_flags): Add xfail-rounding.
60618 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60619 (output_for_one_input_case): Handle flag_xfail_rounding.
60620 * sysdeps/i386/fpu/libm-test-ulps: Update.
60621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60622
60623 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60624
60625 [BZ #16289]
60626 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60627 division by 0.
60628
60629 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60630
60631 [BZ #16195]
60632 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60633 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60634 (STAP_PROBE0): New macro.
60635 (STAP_PROBE1): Likewise.
60636 (STAP_PROBE2): Likewise.
60637 (STAP_PROBE3): Likewise.
60638 (STAP_PROBE4): Likewise.
60639
60640 2013-12-02 Ondƙej Bílka <neleai@seznam.cz>
60641
60642 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60643
60644 2013-12-02 Steve Ellcey <sellcey@mips.com>
60645
60646 * benchtests/Makefile (bench): Add sqrt.
60647 (LDLIBS-bench-sqrt): New.
60648 * benchtests/sqrt-input: New.
60649
60650 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60651
60652 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60653 (GAIH_EAI): Likewise.
60654 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60655 (gaih_inet): Likewise.
60656 (getaddrinfo): Don't use GAIH_EAI.
60657
60658 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60659 (struct gaih): Remove definition.
60660
60661 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60662
60663 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60664 Use HERRNOP directly.
60665
60666 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60667
60668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60669
60670 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60671
60672 * math/gen-auto-libm-tests.c (test_functions): Add more
60673 single-argument functions.
60674 (special_fill_pi_2): New function.
60675 (special_fill_minus_pi_2): Likewise.
60676 (special_fill_pi_6): Likewise.
60677 (special_fill_minus_pi_6): Likewise.
60678 (special_fill_pi_3): Likewise.
60679 (special_fill_2pi_3): Likewise.
60680 (special_fill_e): Likewise.
60681 (special_fill_1_e): Likewise.
60682 (special_fill_e_minus_1): Likewise.
60683 (special_real_inputs): Add more special inputs.
60684 (output_for_one_input_case): Do not require ERANGE on underflow to
60685 zero if round-to-nearest result does not underflow to zero, unless
60686 exact results required.
60687 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60688 atan, atanh, cbrt, cos and cosh.
60689 * math/auto-libm-test-out: Regenerated.
60690 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60691 (acos_tonearest_test_data): Likewise.
60692 (acos_towardzero_test_data): Likewise.
60693 (acos_downward_test_data): Likewise.
60694 (acos_upward_test_data): Likewise.
60695 (acosh_test_data): Likewise.
60696 (asin_test_data): Likewise.
60697 (asin_tonearest_test_data): Likewise.
60698 (asin_towardzero_test_data): Likewise.
60699 (asin_upward_test_data): Likewise.
60700 (asinh_test_data): Likewise.
60701 (atan_test_data): Likewise.
60702 (atanh_test_data): Likewise.
60703 (cbrt_test_data): Likewise.
60704 (cos_test_data): Likewise.
60705 (cos_tonearest_test_data): Likewise.
60706 (cos_towardzero_test_data): Likewise.
60707 (cos_downward_test_data): Likewise.
60708 (cos_upward_test_data): Likewise.
60709 (cosh_test_data): Likewise.
60710 (cosh_tonearest_test_data): Likewise.
60711 (cosh_towardzero_test_data): Likewise.
60712 (cosh_downward_test_data): Likewise.
60713 (cosh_upward_test_data): Likewise.
60714 * sysdeps/i386/fpu/libm-test-ulps: Update.
60715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60716
60717 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60718
60719 [BZ #6787]
60720 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60721 * math/w_exp10f.c (__exp10f): Likewise.
60722 * math/w_exp10l.c (__exp10l): Likewise.
60723 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60724 errno settings in existing tests.
60725
60726 [BZ #14032]
60727 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60728 precision control set to double precision.
60729 * sysdeps/i386/fpu/w_sqrt.c: New file.
60730 * math/auto-libm-test-in: Add more tests.
60731 * math/auto-libm-test-out: Update.
60732
60733 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60734 (sqrt_test_tonearest): New function.
60735 (sqrt_towardzero_test_data): New variable.
60736 (sqrt_test_towardzero): New function.
60737 (sqrt_downward_test_data): New variable.
60738 (sqrt_test_downward): New function.
60739 (sqrt_upward_test_data): New variable.
60740 (sqrt_test_upward): New function.
60741 (main): Call the new functions.
60742
60743 * math/gen-auto-libm-tests.c: New file.
60744 * math/auto-libm-test-in: Likewise.
60745 * math/auto-libm-test-out: New generated file.
60746 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60747 variables.
60748 (%beautify): Add generated representations of zero.
60749 (top level): Set $auto_input and call parse_auto_input.
60750 (beautify): Remove trailing "f" from hex float constants.
60751 (parse_args): Handle XFAIL_TEST.
60752 (convert_condition): New function.
60753 (or_value): Likewise.
60754 (or_cond_value): Likewise.
60755 (generate_testfile): Handle AUTO_TESTS_* lines.
60756 (parse_auto_input): New function.
60757 * math/libm-test.inc (XFAIL_TEST): New macro.
60758 (ERRNO_UNCHANGED): Update value.
60759 (ERRNO_EDOM): Likewise.
60760 (ERRNO_ERANGE): Likewise.
60761 (IGNORE_RESULT): Likewise.
60762 (TEST_COND_flt_32): New macro.
60763 (TEST_COND_dbl_64): Likewise.
60764 (TEST_COND_ldbl_96_intel): Likewise.
60765 (TEST_COND_ldbl_96_m68k): Likewise.
60766 (TEST_COND_ldbl_128): Likewise.
60767 (TEST_COND_ldbl_128ibm): Likewise.
60768 (TEST_COND_long32): Likewise.
60769 (TEST_COND_long64): Likewise.
60770 (TEST_COND_before_rounding): Likewise.
60771 (TEST_COND_after_rounding): Likewise.
60772 (enable_test): Handle XFAIL_TEST flag.
60773 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60774 with finite results.
60775 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60776 auto-libm-test-out.
60777
60778 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60779 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60780
60781 [BZ #16214]
60782 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60783 __tls_get_addr_internal instead of __tls_get_offset in order to
60784 avoid GOT pointer dependency. Make rtld export
60785 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60786 __tls_get_addr since we are a __tls_get_offset platform.
60787 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60788 GOT pointer being set up before.
60789 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60790
60791 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60792
60793 * manual/math.texi (Errors in Math Functions): Document accuracy
60794 goals.
60795
60796 [BZ #15004]
60797 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60798 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60799 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60800 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60801 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60802 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60803 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60804 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60805 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60806 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60807 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60808 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60809 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60810 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60811 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60812 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60813
60814 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60815 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60816 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60817 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60818 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60819 Likewise.
60820 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60821 Likewise.
60822 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60823 Likewise.
60824 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60825 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60826 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60827 atomic-feupdateenv and flt-rounds.
60828 * sysdeps/powerpc/nofpu/Versions (libc): Add
60829 __atomic_feholdexcept, __atomic_feclearexcept,
60830 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60831 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60832 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60833 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60834 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60835 here.
60836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60837 Update.
60838
60839 * manual/arith.texi (FP Exceptions): Document that exceptions may
60840 not be raised when matherr is used.
60841 (Math Error Reporting): Document overflow in directed rounding
60842 modes. Document that errno may not be set when finite values are
60843 returned on overflow. Document intent to set errno on underflow
60844 only for underflow to zero.
60845
60846 [BZ #16271]
60847 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60848 round-to-nearest then adjust result for other rounding modes.
60849 * include/fenv.h (fegetround): Use libm_hidden_proto.
60850 * math/fegetround.c (fegetround): Use libm_hidden_def.
60851 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60852 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60853 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60854 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60855 Likewise.
60856 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60857 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60858 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60859 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60860
60861 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60862
60863 [BZ #16077]
60864 * nss/Versions (libnss_files): Add
60865 _nss_files_gethostbyname3_r.
60866 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60867 New function.
60868 (HOST_DB_LOOKUP): Remove macro.
60869 (_nss_files_gethostbyname_r): Implement function without the
60870 HOST_DB_LOOKUP macro.
60871 (_nss_files_gethostbyname2_r): Likewise.
60872
60873 2013-11-28 Ondƙej Bílka <neleai@seznam.cz>
60874
60875 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60876
60877 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60878
60879 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60880 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60881 warning.
60882
60883 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60884
60885 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60886 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60887 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60888 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60889 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60890 __fe_nomask_env_priv and attribute_hidden.
60891 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60892 (libc_feupdateenv_test_ppc): Likewise.
60893 (libc_feresetround_ppc): Likewise.
60894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60895 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60896 compat_symbol macro.
60897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60898 (__fe_nomask_env): Likewise.
60899 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60900
60901 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
60902
60903 * string/Makefile: Remove ifunc tests.
60904 * string/test-string.h: Define TEST_IFUNC.
60905 * string/test-bcopy-ifunc.c: Remove.
60906 * string/test-bzero-ifunc.c: Likewise.
60907 * string/test-memccpy-ifunc.c: Likewise.
60908 * string/test-memchr-ifunc.c: Likewise.
60909 * string/test-memcmp-ifunc.c: Likewise.
60910 * string/test-memcpy-ifunc.c: Likewise.
60911 * string/test-memmem-ifunc.c: Likewise.
60912 * string/test-memmove-ifunc.c: Likewise.
60913 * string/test-mempcpy-ifunc.c: Likewise.
60914 * string/test-memrchr-ifunc.c: Likewise.
60915 * string/test-memset-ifunc.c: Likewise.
60916 * string/test-rawmemchr-ifunc.c: Likewise.
60917 * string/test-stpcpy-ifunc.c: Likewise.
60918 * string/test-stpncpy-ifunc.c: Likewise.
60919 * string/test-strcasecmp-ifunc.c: Likewise.
60920 * string/test-strcasestr-ifunc.c: Likewise.
60921 * string/test-strcat-ifunc.c: Likewise.
60922 * string/test-strchr-ifunc.c: Likewise.
60923 * string/test-strchrnul-ifunc.c: Likewise.
60924 * string/test-strcmp-ifunc.c: Likewise.
60925 * string/test-strcpy-ifunc.c: Likewise.
60926 * string/test-strcspn-ifunc.c: Likewise.
60927 * string/test-strlen-ifunc.c: Likewise.
60928 * string/test-strncasecmp-ifunc.c: Likewise.
60929 * string/test-strncat-ifunc.c: Likewise.
60930 * string/test-strncmp-ifunc.c: Likewise.
60931 * string/test-strncpy-ifunc.c: Likewise.
60932 * string/test-strnlen-ifunc.c: Likewise.
60933 * string/test-strpbrk-ifunc.c: Likewise.
60934 * string/test-strrchr-ifunc.c: Likewise.
60935 * string/test-strspn-ifunc.c: Likewise.
60936 * string/test-strstr-ifunc.c: Likewise.
60937
60938 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
60939
60940 * benchtests/Makefile: Remove ifunc tests.
60941 * benchtests/bench-string.h: Define TEST_IFUNC.
60942 * benchtests/bench-bcopy-ifunc.c: Remove.
60943 * benchtests/bench-bzero-ifunc.c: Likewise.
60944 * benchtests/bench-memccpy-ifunc.c: Likewise.
60945 * benchtests/bench-memchr-ifunc.c: Likewise.
60946 * benchtests/bench-memcmp-ifunc.c: Likewise.
60947 * benchtests/bench-memcpy-ifunc.c: Likewise.
60948 * benchtests/bench-memmem-ifunc.c: Likewise.
60949 * benchtests/bench-memmove-ifunc.c: Likewise.
60950 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60951 * benchtests/bench-memrchr-ifunc.c: Likewise.
60952 * benchtests/bench-memset-ifunc.c: Likewise.
60953 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60954 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60955 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60956 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60957 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60958 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60959 * benchtests/bench-strcat-ifunc.c: Likewise.
60960 * benchtests/bench-strchr-ifunc.c: Likewise.
60961 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60962 * benchtests/bench-strcmp-ifunc.c: Likewise.
60963 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60964 * benchtests/bench-strcpy-ifunc.c: Likewise.
60965 * benchtests/bench-strcspn-ifunc.c: Likewise.
60966 * benchtests/bench-strlen-ifunc.c: Likewise.
60967 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60968 * benchtests/bench-strncat-ifunc.c: Likewise.
60969 * benchtests/bench-strncmp-ifunc.c: Likewise.
60970 * benchtests/bench-strncpy-ifunc.c: Likewise.
60971 * benchtests/bench-strnlen-ifunc.c: Likewise.
60972 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60973 * benchtests/bench-strrchr-ifunc.c: Likewise.
60974 * benchtests/bench-strsep-ifunc.c: Likewise.
60975 * benchtests/bench-strspn-ifunc.c: Likewise.
60976 * benchtests/bench-strstr-ifunc.c: Likewise.
60977
60978 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
60979
60980 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60981
60982 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
60983
60984 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60985 * rt/aio.h: Likewise.
60986 * sysdeps/gnu/bits/utmp.h: Likewise.
60987 * sysdeps/gnu/bits/utmpx.h: Likewise.
60988 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60989 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60990 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60991 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60992 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60993 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60994 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60995 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60996 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60997 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60998 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60999 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61000 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61002 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61003 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61004 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61005 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61006 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61007 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61008 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61009 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61010 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61011 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61012 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61014 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61015 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61016 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61017 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61018 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61019 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61020 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61021 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61022 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61023 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61024 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61025 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61026 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61027 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61028 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61029 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61030
61031 2013-11-25 Carlos O'Donell <carlos@redhat.com>
61032
61033 [BZ #16245]
61034 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61035 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61036
61037 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61038
61039 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61040 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61041 Likewise.
61042
61043 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61044
61045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61046 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61047 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61048 (__fesetround): Remove define.
61049 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61050 rounding and exceptions handling.
61051 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61052 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61053 (__fe_nomask_env): Likewise.
61054 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61055 __fegetround instead of fegetround.
61056 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61057 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61058
61059 2013-11-21 Roland McGrath <roland@hack.frob.com>
61060
61061 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61062 it's there.
61063
61064 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61065
61066 2013-11-21 Meador Inge <meadori@codesourcery.com>
61067
61068 [BZ #11157]
61069 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61070 (encrypt_r): Likewise.
61071 * malloc/obstack.h (obstack_free): Likewise.
61072 * posix/unistd.h (encrypt): Likewise.
61073
61074 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61075
61076 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61077 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61078 DL_CALL_DT_FINI() that call the functions directly.
61079 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61080 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61081 * elf/dl-fini.c: Likewise.
61082
61083 2013-11-20 Ondƙej Bílka <neleai@seznam.cz>
61084
61085 * malloc/hooks.c (memalign_check): Add alignment rounding.
61086 * malloc/malloc.c (_mid_memalign): New function.
61087 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61088 Implement by calling _mid_memalign.
61089 * manual/probes.texi (Memory Allocation Probes): Remove
61090 memory_valloc_retry and memory_pvalloc_retry.
61091
61092 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61093
61094 * locale/programs/locarchive.c (open_archive): Add const
61095 qualifier to ARCHIVEFNAME and copy default fname to
61096 DEFAULT_FNAME.
61097
61098 [BZ #15601]
61099 * libio/tst-widetext.input: Rename Oriya to Odia.
61100 * locale/iso-639.def: Likewise.
61101
61102 * manual/probes.texi (Mathematical Function Probes): Add
61103 documentation for sin, cos, asin and acos probes.
61104 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61105 (__sin32): Add slowasin probe.
61106 (__cos32): Add slowacos probe.
61107 (__mpsin): Add slowsin probe.
61108 (__mpcos): Add slowcos probe.
61109
61110 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61111
61112 [BZ #15483]
61113 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61114 thread-local __sim_exceptions_thread and global
61115 __sim_exceptions_global.
61116 (__sim_disabled_exceptions): Change to thread-local
61117 __sim_disabled_exceptions_thread and global
61118 __sim_disabled_exceptions_global.
61119 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61120 and global __sim_round_mode_global.
61121 (__simulate_exceptions): Use thread-local floating-point state and
61122 set global state from it as needed.
61123 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61124 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61125 __sim_round_mode_thread.
61126 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61127 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61128 and global __sim_exceptions_global.
61129 (__sim_disabled_exceptions): Change to thread-local
61130 __sim_disabled_exceptions_thread and global
61131 __sim_disabled_exceptions_global.
61132 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61133 and global __sim_round_mode_global.
61134 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61135 (SIM_SET_GLOBAL): Likewise.
61136 * sysdeps/powerpc/soft-fp/sfp-machine.h
61137 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61138 __sim_round_mode_thread.
61139 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61140 __sim_disabled_exceptions_thread.
61141 (__sim_exceptions): Change to __sim_exceptions_thread.
61142 (__sim_disabled_exceptions): Change to
61143 __sim_disabled_exceptions_thread.
61144 (__sim_round_mode): Change to __sim_round_mode_thread.
61145 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61146 thread-local floating-point state and set global state from it as
61147 needed.
61148 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61149 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61150 (__sim_disabled_exceptions): Remove extern declaration.
61151 (feenableexcept): Use thread-local floating-point state and set
61152 global state from it as needed.
61153 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61154 extern declaration.
61155 (__sim_disabled_exceptions): Likewise.
61156 (__sim_round_mode): Likewise.
61157 (__fegetenv): Use thread-local floating-point state.
61158 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61159 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61160 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61161 floating-point state and set global state from it as needed.
61162 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61163 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61164 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61165 Likewise.
61166 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61167 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61168 Likewise.
61169 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61170 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61171 Use __sim_round_mode_thread.
61172 * math/test-fenv-tls.c: New file.
61173 * math/Makefile (tests): Add test-fenv-tls.
61174 ($(objpfx)test-fenv-tls): Depend on
61175 $(common-objpfx)nptl/libpthread.so.
61176
61177 2013-11-19 Andreas Schwab <schwab@suse.de>
61178
61179 * locale/programs/locale.c (show_info): Decode wordarray elements.
61180 * locale/categories.def (LC_MONETARY): Add element for
61181 _NL_MONETARY_CRNCYSTR.
61182 * locale/C-monetary.c (conversion_rate): New variable.
61183 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61184 element.
61185
61186 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61187
61188 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61189 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61190
61191 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61192
61193 * elf/Makefile (tst-auxv): New test.
61194 * elf/tst-auxv.c: New
61195 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61196
61197 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61198
61199 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61200 (hidden_proto): Caller changed.
61201 (hidden_tls_proto): New macro.
61202 (libc_hidden_tls_proto): Likewise.
61203 (rtld_hidden_tls_proto): Likewise.
61204 (libm_hidden_tls_proto): Likewise.
61205 (libresolv_hidden_tls_proto): Likewise.
61206 (librt_hidden_tls_proto): Likewise.
61207 (libdl_hidden_tls_proto): Likewise.
61208 (libnss_files_hidden_tls_proto): Likewise.
61209 (libnsl_hidden_tls_proto): Likewise.
61210 (libnss_nisplus_hidden_tls_proto): Likewise.
61211 (libutil_hidden_tls_proto): Likewise.
61212
61213 2013-11-18 Ondƙej Bílka <neleai@seznam.cz>
61214
61215 [BZ #10253]
61216 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61217 (decompose_rpath): Defer expansion to fillin_rpath.
61218 (_dl_init_paths): Pass linkmap to fillin_rpath.
61219
61220 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61221
61222 * benchtests/Makefile: Add strsep.
61223 * benchtests/bench-strsep.c: New file: strsep benchtest.
61224 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61225
61226 2013-11-18 Andreas Schwab <schwab@suse.de>
61227
61228 * locale/programs/locale.c (show_info) [case byte]: Check for
61229 '\377' instead of '\177'.
61230 * locale/C-monetary.c (not_available): Always use "\377".
61231 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61232 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61233 detect unavailable sign_posn locale elements.
61234 * locale/localeconv.c (__localeconv): For grouping and
61235 mon_grouping handle "\177" and "\377" like no grouping.
61236 (INT_ELEM): New macro. Use it to set all numeric members.
61237 * locale/programs/ld-monetary.c (monetary_read)
61238 <tok_mon_grouping>: Normalize single -1 to the empty string.
61239 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61240 Likewise.
61241
61242 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61243
61244 [BZ #16055]
61245 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61246 when we match (nil).
61247 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61248
61249 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61250
61251 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61252 (NO_TEST_INLINE): Update value.
61253 (ERRNO_UNCHANGED): Likewise.
61254 (ERRNO_EDOM): Likewise.
61255 (ERRNO_ERANGE): Likewise.
61256 (IGNORE_RESULT): Likewise.
61257 (check_float_internal): Check signs of NaN results if
61258 TEST_NAN_SIGN used.
61259 (check_complex): Pass TEST_NAN_SIGN flag through to second
61260 check_float_internal call.
61261 (copysign_test_data): Add tests with quiet NaNs as second
61262 argument. Use TEST_NAN_SIGN.
61263 (fabs_test_data): Add test of negative quiet NaN argument. Use
61264 TEST_NAN_SIGN.
61265 (signbit_test_data): Add tests of quiet NaN argument.
61266 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61267
61268 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61269 $ignore_result.
61270 (parse_args): Handle function results specified as IGNORE.
61271 * math/libm-test.inc (IGNORE_RESULT): New macro.
61272 (check_float_internal): Do not check numerical result if flag
61273 IGNORE_RESULT set.
61274 (check_complex): Pass through IGNORE_RESULT to second
61275 check_float_internal call.
61276 (check_int): Do not check numerical result if flag IGNORE_RESULT
61277 set.
61278 (check_long): Likewise.
61279 (check_bool): Likewise.
61280 (check_longlong): Likewise.
61281 (lrint_test_data): Add tests of infinite and NaN arguments.
61282 (lrint_tonearest_test_data): Likewise.
61283 (lrint_towardzero_test_data): Likewise.
61284 (lrint_downward_test_data): Likewise.
61285 (lrint_upward_test_data): Likewise.
61286 (llrint_test_data): Likewise.
61287 (llrint_tonearest_test_data): Likewise.
61288 (llrint_towardzero_test_data): Likewise.
61289 (llrint_downward_test_data): Likewise.
61290 (llrint_upward_test_data): Likewise.
61291 (lround_test_data): Likewise.
61292 (llround_test_data): Likewise.
61293
61294 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61295 (ERRNO_UNCHANGED): Update value.
61296 (ERRNO_EDOM): Likewise.
61297 (ERRNO_ERANGE): Likewise.
61298 (NO_TEST_INLINE_FLOAT): New macro.
61299 (NO_TEST_INLINE_DOUBLE): Likewise.
61300 (enable_test): New function.
61301 (RUN_TEST_f_f): Check enable_test before running test.
61302 (RUN_TEST_2_f): Likewise.
61303 (RUN_TEST_fff_f): Likewise.
61304 (RUN_TEST_c_f): Likewise.
61305 (RUN_TEST_f_f1): Likewise.
61306 (RUN_TEST_fF_f1): Likewise.
61307 (RUN_TEST_fI_f1): Likewise.
61308 (RUN_TEST_ffI_f1): Likewise.
61309 (RUN_TEST_c_c): Likewise.
61310 (RUN_TEST_cc_c): Likewise.
61311 (RUN_TEST_f_i): Likewise.
61312 (RUN_TEST_f_i_tg): Likewise.
61313 (RUN_TEST_ff_i_tg): Likewise.
61314 (RUN_TEST_f_b): Likewise.
61315 (RUN_TEST_f_b_tg): Likewise.
61316 (RUN_TEST_f_l): Likewise.
61317 (RUN_TEST_f_L): Likewise.
61318 (RUN_TEST_fFF_11): Likewise.
61319 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61320 conditionals.
61321 (cosh_test_data): Likewise.
61322 (exp_test_data): Likewise.
61323 (expm1_test_data): Likewise.
61324 (hypot_test_data): Likewise.
61325 (pow_test_data): Likewise.
61326 (sinh_test_data): Likewise.
61327 (tanh_test_data): Likewise.
61328 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61329 flags argument.
61330
61331 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61332 tests with quiet NaN input and output.
61333 (acosh_test_data): Likewise.
61334 (asin_test_data): Likewise.
61335 (asinh_test_data): Likewise.
61336 (atan_test_data): Likewise.
61337 (atanh_test_data): Likewise.
61338 (atan2_test_data): Likewise.
61339 (cbrt_test_data): Likewise.
61340 (cos_test_data): Likewise.
61341 (cosh_test_data): Likewise.
61342 (erf_test_data): Likewise.
61343 (erfc_test_data): Likewise.
61344 (exp_test_data): Likewise.
61345 (exp10_test_data): Likewise.
61346 (exp2_test_data): Likewise.
61347 (expm1_test_data): Likewise.
61348 (hypot_test_data): Likewise.
61349 (j0_test_data): Likewise.
61350 (j1_test_data): Likewise.
61351 (jn_test_data): Likewise.
61352 (lgamma_test_data): Likewise.
61353 (log_test_data): Likewise.
61354 (log10_test_data): Likewise.
61355 (log1p_test_data): Likewise.
61356 (log2_test_data): Likewise.
61357 (pow_test_data): Likewise.
61358 (scalb_test_data): Likewise.
61359 (sin_test_data): Likewise.
61360 (sincos_test_data): Likewise.
61361 (sinh_test_data): Likewise.
61362 (tan_test_data): Likewise.
61363 (tanh_test_data): Likewise.
61364 (tgamma_test_data): Likewise.
61365 (y0_test_data): Likewise.
61366 (y1_test_data): Likewise.
61367 (yn_test_data): Likewise.
61368
61369 [BZ #16167]
61370 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61371 argument being NaN and avoid computations with second argument in
61372 that case.
61373 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61374 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61375 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61376
61377 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61378
61379 * locale/iso-639.def: Add Chitwani Tharu (the).
61380
61381 2013-11-14 Andreas Schwab <schwab@suse.de>
61382
61383 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61384 word instead of empty string.
61385
61386 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61387
61388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61389 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61391 (__fe_nomask_env): Likewise.
61392
61393 2013-11-13 Steve Ellcey <sellcey@mips.com>
61394
61395 * benchtests/bench-timing.h: Include time.h.
61396
61397 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61398
61399 [BZ #15997]
61400 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61401 to 3.4.0 for x32.
61402 * sysdeps/unix/sysv/linux/configure: Regenerated.
61403
61404 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61405
61406 [BZ #16151]
61407 * stdlib/strtod_l.c (round_and_return): Do not consider
61408 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61409 exponent one less than half the least subnormal exponent.
61410 * stdlib/test-strtod-round-data: Add more tests.
61411 * stdlib/tst-strtod-round.c (tests): Regenerated.
61412
61413 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61414
61415 [BZ #14143]
61416 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61417 (__fe_mask_env): Likewise.
61418 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61419 libm_hidden_proto and add function prototype.
61420 (__fe_mask_env): Add function prototype.
61421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61422 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61424 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61426 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61427
61428 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61429
61430 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61431 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61432
61433 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61434
61435 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61436 of htab_find_slot().
61437
61438 2013-11-11 David S. Miller <davem@davemloft.net>
61439
61440 [BZ #16150]
61441 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61442 symbol in the non-vis3 case in static builds.
61443 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61444 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61445 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61446 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61447
61448 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61449
61450 [BZ #387]
61451 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61452 it is empty.
61453
61454 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61455
61456 * benchtests/Makefile: Add bench-strtod.
61457 * benchtests/bench-strtod.c: New file: strtod benchtest
61458
61459 2013-11-11 Andreas Schwab <schwab@suse.de>
61460
61461 [BZ #16153]
61462 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61463 terminating NUL in key length.
61464
61465 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61466
61467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61468 Add artificial ODP entry for vDSO symbol for PPC64.
61469 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61470 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61471
61472 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61473
61474 [BZ #15374]
61475 * nss/getent.c (services_keys): Recognize services starting with digit.
61476
61477 2013-11-06 David S. Miller <davem@davemloft.net>
61478
61479 [BZ #15985]
61480 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61481 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61482
61483 2013-11-06 Will Newton <will.newton@linaro.org>
61484
61485 * manual/memory.texi (Malloc Examples): Remove register
61486 keyword from examples.
61487
61488 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61489
61490 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61491
61492 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61493
61494 [BZ #6981]
61495 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61496 depending on [__GCC_IEC_559 > 0].
61497 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61498 depending on [__GCC_IEC_559_COMPLEX > 0].
61499
61500 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61501
61502 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61503 to iso-639.def.
61504
61505 2013-11-03 Ondƙej Bílka <neleai@seznam.cz>
61506
61507 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61508
61509 2013-11-01 Ondƙej Bílka <neleai@seznam.cz>
61510
61511 [BZ #16112]
61512 * malloc/malloc (malloc_info): Do not handle first bin as
61513 special case.
61514
61515 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61516
61517 * locale/iso-639.def: Add Central Nahuatl (nhn).
61518
61519 2013-11-01 Bruno Haible <bruno@clisp.org>
61520
61521 [BZ #7003]
61522 * manual/math.texi (BSD Random): Specify range upper bound as
61523 in POSIX.
61524
61525 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61526
61527 * locale/iso-639.def: Add Meadow Mari (mhr).
61528
61529 2013-10-31 Ondƙej Bílka <neleai@seznam.cz>
61530
61531 [BZ #14752], [BZ #15763]
61532 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61533 Validate name.
61534 * rt/tst_shm.c: Add test for escaping directory.
61535
61536 2013-10-31 Andreas Schwab <schwab@suse.de>
61537
61538 [BZ #15917]
61539 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61540 followed by 'x' as part of digit sequence.
61541 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61542
61543 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61544
61545 [BZ #16037]
61546 * configure.ac: allow GNU Make 4.0 and greater.
61547 * configure: Regenerated.
61548
61549 2013-10-30 Will Newton <will.newton@linaro.org>
61550
61551 [BZ #16038]
61552 * malloc/hooks.c (memalign_check): Limit alignment to the
61553 maximum representable power of two.
61554 * malloc/malloc.c (__libc_memalign): Likewise.
61555 * malloc/tst-memalign.c (do_test): Add test for very
61556 large alignment values.
61557 * malloc/tst-posix_memalign.c (do_test): Likewise.
61558
61559 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61560
61561 [BZ #11087]
61562 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61563 (munmap_chunk): Likewise.
61564 (mremap_chunk): Likewise.
61565
61566 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61567
61568 [BZ #15799]
61569 * stdlib/div.c (div): Remove obsolete code.
61570 * stdlib/ldiv.c (ldiv): Likewise.
61571 * stdlib/lldiv.c (lldiv): Likewise.
61572
61573 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61574
61575 [BZ #16071]
61576 * nss/nss_files/files-XXX.c (get_contents_ret): New
61577 enumerator.
61578 (get_contents): New function.
61579 (internal_getent): Use it. Expand size of LINEBUFLEN.
61580
61581 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61582
61583 * configure.in: Moved to ...
61584 * configure.ac: ... here. Change reference to configure.in
61585 to configure.ac.
61586 * sysdeps/arm/preconfigure.ac: ... here.
61587 configure.in to configure.ac.
61588 * sysdeps/gnu/configure.in: Moved to ...
61589 * sysdeps/gnu/configure.ac: ... here.
61590 * sysdeps/i386/configure.in: Moved to ...
61591 * sysdeps/i386/configure.ac: ... here.
61592 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61593 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61594 * sysdeps/mach/configure.in: Moved to ...
61595 * sysdeps/mach/configure.ac: ... here.
61596 * sysdeps/mach/hurd/configure.in: Moved to ...
61597 * sysdeps/mach/hurd/configure.ac: ... here.
61598 * sysdeps/powerpc/configure.in: Moved to ...
61599 * sysdeps/powerpc/configure.ac: ... here.
61600 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61601 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61602 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61603 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61604 * sysdeps/s390/s390-32/configure.in: Moved to ...
61605 * sysdeps/s390/s390-32/configure.ac: ... here.
61606 * sysdeps/s390/s390-64/configure.in: Moved to ...
61607 * sysdeps/s390/s390-64/configure.ac: ... here.
61608 * sysdeps/sh/configure.in: Moved to ...
61609 * sysdeps/sh/configure.ac: ... here.
61610 * sysdeps/sparc/configure.in: Moved to ...
61611 * sysdeps/sparc/configure.ac: ... here.
61612 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61613 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61614 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61615 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61616 * sysdeps/x86_64/configure.in: Moved to ...
61617 * sysdeps/x86_64/configure.ac: ... here.
61618 * sysdeps/x86_64/preconfigure.in: Moved to ...
61619 * sysdeps/x86_64/preconfigure.ac: ... here.
61620 * aclocal.m4: Change reference to configure.in to configure.ac.
61621 * config.h.in: Likewise.
61622 * manual/install.texi: Likewise.
61623 * manual/maint.texi: Likewise.
61624 * Makefile: Likewise.
61625 * malloc/Makefile: Likewise.
61626 * nscd/Makefile: Likewise.
61627 * Makeconfig: Change reference to configure.in and
61628 preconfigure.in to configure.ac and preconfigure.ac
61629 respectively.
61630 * INSTALL: Regenerated.
61631 * configure: Likewise.
61632 * sysdeps/gnu/configure: Likewise.
61633 * sysdeps/i386/configure: Likewise.
61634 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61635 * sysdeps/mach/configure: Likewise.
61636 * sysdeps/mach/hurd/configure: Likewise.
61637 * sysdeps/powerpc/configure: Likewise.
61638 * sysdeps/powerpc/powerpc32/configure: Likewise.
61639 * sysdeps/powerpc/powerpc64/configure: Likewise.
61640 * sysdeps/s390/s390-32/configure: Likewise.
61641 * sysdeps/s390/s390-64/configure: Likewise.
61642 * sysdeps/sh/configure: Likewise.
61643 * sysdeps/sparc/configure: Likewise.
61644 * sysdeps/unix/sysv/linux/configure: Likewise.
61645 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61646 * sysdeps/x86_64/configure: Likewise.
61647 * sysdeps/x86_64/preconfigure: Likewise.
61648
61649 2013-10-29 Andreas Schwab <schwab@suse.de>
61650
61651 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61652
61653 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61654
61655 * benchtests/pow-inputs: Add new inputs.
61656
61657 * benchtests/exp-inputs: Add new inputs.
61658
61659 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61660 conditional check for return value.
61661 (__cos32): Likewise.
61662
61663 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61664
61665 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61666 to provide a boost for large inputs with word alignment.
61667 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61668 implementation based on optimized PPC64 strcpy.
61669 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61670 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61671 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61672 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61673
61674 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61675
61676 [BZ #2801]
61677 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61678
61679 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61680
61681 [BZ #14876]
61682 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61683 * time/tst-strptime.c (day_tests): Add testcase.
61684
61685 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61686
61687 [BZ #14029]
61688 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61689
61690 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61691
61692 [BZ #16074]
61693 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61694 MAP_FAILED on error.
61695
61696 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61697
61698 [BZ #16072]
61699 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61700 heap for large requests.
61701
61702 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61703
61704 [BZ #9954]
61705 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61706 result if the result has no associated interface.
61707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61708 interface for all 127.X.Y.Z addresses.
61709
61710 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61711
61712 * locale/iso-639.def: Add Ligurian (lij)
61713
61714 2013-10-21 Ondƙej Bílka <neleai@seznam.cz>
61715
61716 [BZ #15825]
61717 * sunrpc/rpc_main.c: Document rpcgen -5.
61718
61719 2013-10-19 Michael Stahl <mstahl@redhat.com>
61720
61721 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61722
61723 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61724
61725 [BZ #10278]
61726 * posix/glob.c: Match only directories when trailing slash is present.
61727 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61728 (main): Add testcase.
61729
61730 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61731
61732 [BZ #15670]
61733 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61734
61735 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61736
61737 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61738 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61739 AUTH_DES and cindex for FIPS 140-2.
61740 (DES Encryption): Add cindex FIPS 46-3.
61741
61742 * locale/locarchive.h (struct locarhandle): Add fname.
61743 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61744 if an optional argument was specified to --list-archive,
61745 otherwise NULL.
61746 * locale/programs/locarchive.c (show_archive_content): Take new
61747 argument fname and pass it via ah.fname to open_archive.
61748 * locale/programs/localedef.h: Update decl.
61749 (open_archive): If AH->fname is non-null, open that file
61750 rather than the default file name, and don't ignore ENOENT.
61751 (create_archive): Set AH.fname to NULL.
61752 (delete_locales_from_archive): Likewise.
61753 (add_locales_to_archive): Likewise.
61754 * locale/programs/locfile.c (write_all_categories): Likewise.
61755
61756 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61757 Aldy Hernandez <aldyh@redhat.com>
61758
61759 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61760 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61761 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61762 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61763 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61764 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61765 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61766 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61767 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61768 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61769 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61770 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61771 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61772 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61773 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61774 Likewise.
61775 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61776 Likewise.
61777 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61778 Likewise.
61779 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61780 Likewise.
61781 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61782 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61783 Likewise.
61784 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61785 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61786 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61787 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61788 Likewise.
61789 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61790 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61791 * sysdeps/powerpc/preconfigure: Likewise.
61792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61793 Likewise.
61794 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61795 Replace contents of file by #include of <fenv_libc.h>.
61796 * sysdeps/powerpc/soft-fp/sfp-machine.h
61797 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61798 and <sys/prctl.h>.
61799 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61810 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61812 Allow copysignl PLT reference to be missing.
61813
61814 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61815 Joseph Myers <joseph@codesourcery.com
61816
61817 [BZ #15948]
61818 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61819 single character.
61820 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61821
61822 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61823
61824 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61825 * elf/tst-tls1.c: Likewise.
61826 * elf/tst-tls10.h: Likewise.
61827 * elf/tst-tls14.c: Likewise.
61828 * elf/tst-tls2.c: Likewise.
61829 * elf/tst-tls3.c: Likewise.
61830 * elf/tst-tls4.c: Likewise.
61831 * elf/tst-tls5.c: Likewise.
61832 * elf/tst-tls6.c: Likewise.
61833 * elf/tst-tls7.c: Likewise.
61834 * elf/tst-tls8.c: Likewise.
61835 * elf/tst-tls9.c: Likewise.
61836 * elf/tst-tlsmod1.c: Likewise.
61837 * elf/tst-tlsmod13.c: Likewise.
61838 * elf/tst-tlsmod13a.c: Likewise.
61839 * elf/tst-tlsmod14a.c: Likewise.
61840 * elf/tst-tlsmod16a.c: Likewise.
61841 * elf/tst-tlsmod16b.c: Likewise.
61842 * elf/tst-tlsmod2.c: Likewise.
61843 * elf/tst-tlsmod3.c: Likewise.
61844 * elf/tst-tlsmod4.c: Likewise.
61845 * elf/tst-tlsmod5.c: Likewise.
61846 * elf/tst-tlsmod6.c: Likewise.
61847
61848 2013-10-18 Ondƙej Bílka <neleai@seznam.cz>
61849
61850 [BZ #12486]
61851 * malloc/malloc.c: remove checks for statistics.
61852
61853 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
61854
61855 [BZ #15277]
61856 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61857 * inet/tst-network.c: Add testcase.
61858
61859 2013-10-17 Andreas Schwab <schwab@suse.de>
61860
61861 [BZ #15218]
61862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61863 to determine canonical name.
61864
61865 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
61866
61867 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61868 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61872 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61873 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61874 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61875 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61876 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61877 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61886 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61890 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61891 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61892 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61893 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61894 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61895 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61896 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61897 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61898 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61899 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61900 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61901 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61902 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61904 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61905 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61907 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61908 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61909 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61910 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61911 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61912 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61913 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61914 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61915 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61917 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61918 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61919 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61920 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61922 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61924 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61925
61926 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61927
61928 [BZ #16041]
61929 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61930 make result into a quiet NaN.
61931
61932 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61933
61934 * soft-fp/adddf3.c: Fix horizontal whitespace.
61935 * soft-fp/addsf3.c: Likewise.
61936 * soft-fp/addtf3.c: Likewise.
61937 * soft-fp/divdf3.c: Likewise.
61938 * soft-fp/divsf3.c: Likewise.
61939 * soft-fp/divtf3.c: Likewise.
61940 * soft-fp/double.h: Likewise.
61941 * soft-fp/eqdf2.c: Likewise.
61942 * soft-fp/eqsf2.c: Likewise.
61943 * soft-fp/eqtf2.c: Likewise.
61944 * soft-fp/extenddftf2.c: Likewise.
61945 * soft-fp/extended.h: Likewise.
61946 * soft-fp/extendsfdf2.c: Likewise.
61947 * soft-fp/extendsftf2.c: Likewise.
61948 * soft-fp/extendxftf2.c: Likewise.
61949 * soft-fp/fixdfdi.c: Likewise.
61950 * soft-fp/fixdfsi.c: Likewise.
61951 * soft-fp/fixdfti.c: Likewise.
61952 * soft-fp/fixsfdi.c: Likewise.
61953 * soft-fp/fixsfsi.c: Likewise.
61954 * soft-fp/fixsfti.c: Likewise.
61955 * soft-fp/fixtfdi.c: Likewise.
61956 * soft-fp/fixtfsi.c: Likewise.
61957 * soft-fp/fixtfti.c: Likewise.
61958 * soft-fp/fixunsdfdi.c: Likewise.
61959 * soft-fp/fixunsdfsi.c: Likewise.
61960 * soft-fp/fixunsdfti.c: Likewise.
61961 * soft-fp/fixunssfdi.c: Likewise.
61962 * soft-fp/fixunssfsi.c: Likewise.
61963 * soft-fp/fixunssfti.c: Likewise.
61964 * soft-fp/fixunstfdi.c: Likewise.
61965 * soft-fp/fixunstfsi.c: Likewise.
61966 * soft-fp/fixunstfti.c: Likewise.
61967 * soft-fp/floatdidf.c: Likewise.
61968 * soft-fp/floatdisf.c: Likewise.
61969 * soft-fp/floatditf.c: Likewise.
61970 * soft-fp/floatsidf.c: Likewise.
61971 * soft-fp/floatsisf.c: Likewise.
61972 * soft-fp/floatsitf.c: Likewise.
61973 * soft-fp/floattidf.c: Likewise.
61974 * soft-fp/floattisf.c: Likewise.
61975 * soft-fp/floattitf.c: Likewise.
61976 * soft-fp/floatundidf.c: Likewise.
61977 * soft-fp/floatundisf.c: Likewise.
61978 * soft-fp/floatunditf.c: Likewise.
61979 * soft-fp/floatunsidf.c: Likewise.
61980 * soft-fp/floatunsisf.c: Likewise.
61981 * soft-fp/floatunsitf.c: Likewise.
61982 * soft-fp/floatuntidf.c: Likewise.
61983 * soft-fp/floatuntisf.c: Likewise.
61984 * soft-fp/floatuntitf.c: Likewise.
61985 * soft-fp/fmadf4.c: Likewise.
61986 * soft-fp/fmasf4.c: Likewise.
61987 * soft-fp/fmatf4.c: Likewise.
61988 * soft-fp/gedf2.c: Likewise.
61989 * soft-fp/gesf2.c: Likewise.
61990 * soft-fp/getf2.c: Likewise.
61991 * soft-fp/ledf2.c: Likewise.
61992 * soft-fp/lesf2.c: Likewise.
61993 * soft-fp/letf2.c: Likewise.
61994 * soft-fp/muldf3.c: Likewise.
61995 * soft-fp/mulsf3.c: Likewise.
61996 * soft-fp/multf3.c: Likewise.
61997 * soft-fp/negdf2.c: Likewise.
61998 * soft-fp/negsf2.c: Likewise.
61999 * soft-fp/negtf2.c: Likewise.
62000 * soft-fp/op-1.h: Likewise.
62001 * soft-fp/op-2.h: Likewise.
62002 * soft-fp/op-4.h: Likewise.
62003 * soft-fp/op-8.h: Likewise.
62004 * soft-fp/op-common.h: Likewise.
62005 * soft-fp/quad.h: Likewise.
62006 * soft-fp/single.h: Likewise.
62007 * soft-fp/soft-fp.h: Likewise.
62008 * soft-fp/sqrtdf2.c: Likewise.
62009 * soft-fp/sqrtsf2.c: Likewise.
62010 * soft-fp/sqrttf2.c: Likewise.
62011 * soft-fp/subdf3.c: Likewise.
62012 * soft-fp/subsf3.c: Likewise.
62013 * soft-fp/subtf3.c: Likewise.
62014 * soft-fp/truncdfsf2.c: Likewise.
62015 * soft-fp/trunctfdf2.c: Likewise.
62016 * soft-fp/trunctfsf2.c: Likewise.
62017 * soft-fp/trunctfxf2.c: Likewise.
62018 * soft-fp/unorddf2.c: Likewise.
62019 * soft-fp/unordsf2.c: Likewise.
62020 * soft-fp/unordtf2.c: Likewise.
62021
62022 2013-10-15 Joseph Myers <joseph@codesourcery.com>
62023
62024 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62025 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62026
62027 2013-10-15 Ondƙej Bílka <neleai@seznam.cz>
62028
62029 * elf/dl-libc.c: Clear initfini list after freeing.
62030
62031 2013-10-14 Joseph Myers <joseph@codesourcery.com>
62032
62033 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62034 * soft-fp/addsf3.c: Likewise.
62035 * soft-fp/addtf3.c: Likewise.
62036 * soft-fp/divdf3.c: Likewise.
62037 * soft-fp/divsf3.c: Likewise.
62038 * soft-fp/divtf3.c: Likewise.
62039 * soft-fp/double.h: Likewise.
62040 * soft-fp/eqdf2.c: Likewise.
62041 * soft-fp/eqsf2.c: Likewise.
62042 * soft-fp/eqtf2.c: Likewise.
62043 * soft-fp/extenddftf2.c: Likewise.
62044 * soft-fp/extended.h: Likewise.
62045 * soft-fp/extendsfdf2.c: Likewise.
62046 * soft-fp/extendsftf2.c: Likewise.
62047 * soft-fp/extendxftf2.c: Likewise.
62048 * soft-fp/fixdfdi.c: Likewise.
62049 * soft-fp/fixdfsi.c: Likewise.
62050 * soft-fp/fixdfti.c: Likewise.
62051 * soft-fp/fixsfdi.c: Likewise.
62052 * soft-fp/fixsfsi.c: Likewise.
62053 * soft-fp/fixsfti.c: Likewise.
62054 * soft-fp/fixtfdi.c: Likewise.
62055 * soft-fp/fixtfsi.c: Likewise.
62056 * soft-fp/fixtfti.c: Likewise.
62057 * soft-fp/fixunsdfdi.c: Likewise.
62058 * soft-fp/fixunsdfsi.c: Likewise.
62059 * soft-fp/fixunsdfti.c: Likewise.
62060 * soft-fp/fixunssfdi.c: Likewise.
62061 * soft-fp/fixunssfsi.c: Likewise.
62062 * soft-fp/fixunssfti.c: Likewise.
62063 * soft-fp/fixunstfdi.c: Likewise.
62064 * soft-fp/fixunstfsi.c: Likewise.
62065 * soft-fp/fixunstfti.c: Likewise.
62066 * soft-fp/floatdidf.c: Likewise.
62067 * soft-fp/floatdisf.c: Likewise.
62068 * soft-fp/floatditf.c: Likewise.
62069 * soft-fp/floatsidf.c: Likewise.
62070 * soft-fp/floatsisf.c: Likewise.
62071 * soft-fp/floatsitf.c: Likewise.
62072 * soft-fp/floattidf.c: Likewise.
62073 * soft-fp/floattisf.c: Likewise.
62074 * soft-fp/floattitf.c: Likewise.
62075 * soft-fp/floatundidf.c: Likewise.
62076 * soft-fp/floatundisf.c: Likewise.
62077 * soft-fp/floatunsidf.c: Likewise.
62078 * soft-fp/floatunsisf.c: Likewise.
62079 * soft-fp/floatuntidf.c: Likewise.
62080 * soft-fp/floatuntisf.c: Likewise.
62081 * soft-fp/floatuntitf.c: Likewise.
62082 * soft-fp/fmadf4.c: Likewise.
62083 * soft-fp/fmasf4.c: Likewise.
62084 * soft-fp/fmatf4.c: Likewise.
62085 * soft-fp/gedf2.c: Likewise.
62086 * soft-fp/gesf2.c: Likewise.
62087 * soft-fp/getf2.c: Likewise.
62088 * soft-fp/ledf2.c: Likewise.
62089 * soft-fp/lesf2.c: Likewise.
62090 * soft-fp/letf2.c: Likewise.
62091 * soft-fp/muldf3.c: Likewise.
62092 * soft-fp/mulsf3.c: Likewise.
62093 * soft-fp/multf3.c: Likewise.
62094 * soft-fp/negdf2.c: Likewise.
62095 * soft-fp/negsf2.c: Likewise.
62096 * soft-fp/negtf2.c: Likewise.
62097 * soft-fp/op-1.h: Likewise.
62098 * soft-fp/op-2.h: Likewise.
62099 * soft-fp/op-4.h: Likewise.
62100 * soft-fp/op-8.h: Likewise.
62101 * soft-fp/op-common.h: Likewise.
62102 * soft-fp/quad.h: Likewise.
62103 * soft-fp/single.h: Likewise.
62104 * soft-fp/soft-fp.h: Likewise.
62105 * soft-fp/sqrtdf2.c: Likewise.
62106 * soft-fp/sqrtsf2.c: Likewise.
62107 * soft-fp/sqrttf2.c: Likewise.
62108 * soft-fp/subdf3.c: Likewise.
62109 * soft-fp/subsf3.c: Likewise.
62110 * soft-fp/subtf3.c: Likewise.
62111 * soft-fp/truncdfsf2.c: Likewise.
62112 * soft-fp/trunctfdf2.c: Likewise.
62113 * soft-fp/trunctfsf2.c: Likewise.
62114 * soft-fp/trunctfxf2.c: Likewise.
62115 * soft-fp/unorddf2.c: Likewise.
62116 * soft-fp/unordsf2.c: Likewise.
62117 * soft-fp/unordtf2.c: Likewise.
62118
62119 2013-10-14 Ondƙej Bílka <neleai@seznam.cz>
62120
62121 [BZ #15672]
62122 * misc/error.c (error_tail): Fix possible buffer overflow.
62123
62124 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62125
62126 [BZ #13028]
62127 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62128 address.
62129
62130 2013-10-14 P. J. McDermott <pj@pehjota.net>
62131
62132 [BZ #832]
62133 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62134 testing pipefail option.
62135
62136 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62137
62138 * soft-fp/double.h: Indent preprocessor directives inside #if.
62139 * soft-fp/extended.h: Likewise.
62140 * soft-fp/op-2.h: Likewise.
62141 * soft-fp/op-4.h: Likewise.
62142 * soft-fp/op-common.h: Likewise.
62143 * soft-fp/quad.h: Likewise.
62144 * soft-fp/single.h: Likewise.
62145 * soft-fp/soft-fp.h: Likewise.
62146
62147 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62148
62149 * iconv/iconv_prog.c: Fix typos.
62150 * stdio-common/psiginfo-data.h: Likewise.
62151
62152 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62153
62154 [BZ #15764]
62155 * locale/setlocale.c: Fix typo.
62156
62157 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62158
62159 [BZ #16036]
62160 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62161 signaling NaN arguments.
62162 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62163 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62164
62165 [BZ #14910]
62166 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62167 unordered operands.
62168 * soft-fp/gesf2.c (__gesf2): Likewise.
62169 * soft-fp/getf2.c (__getf2): Likewise.
62170 * soft-fp/ledf2.c (__ledf2): Likewise.
62171 * soft-fp/lesf2.c (__lesf2): Likewise.
62172 * soft-fp/letf2.c (__letf2): Likewise.
62173
62174 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62175 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62176 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62177 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62178 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62179 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62180 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62181 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62182 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62183 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62184 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62185 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62186 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62187 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62188 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62189 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62190 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62191 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62192 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62193 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62194 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62195 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62196 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62197 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62198 * soft-fp/floattidf.c (__floattidf): Likewise.
62199 * soft-fp/floattisf.c (__floattisf): Likewise.
62200 * soft-fp/floattitf.c (__floattitf): Likewise.
62201 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62202 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62203 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62204 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62205 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62206 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62207 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62208 * soft-fp/gesf2.c (__gesf2): Likewise.
62209 * soft-fp/getf2.c (__getf2): Likewise.
62210 * soft-fp/ledf2.c (__ledf2): Likewise.
62211 * soft-fp/lesf2.c (__lesf2): Likewise.
62212 * soft-fp/letf2.c (__letf2): Likewise.
62213
62214 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62215 Undefine and redefine.
62216 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62217 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62218 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62219 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62220 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62221 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62222 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62223 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62224 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62225 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62226 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62227 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62228 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62229 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62230 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62231
62232 [BZ #16032]
62233 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62234 without decrementing exponent if mantissa >= that for the
62235 denominator, not >.
62236 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62237 denominator, not >. Decrement exponent in < case instead of
62238 incrementing in >= case.
62239 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62240 without decrementing exponent if mantissa >= that for the
62241 denominator, not >.
62242
62243 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62244 computing saturated result for unsigned overflow.
62245
62246 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62247 Jeff Law <law@redhat.com>
62248
62249 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62250 (atan2Mp): Add systemtap probe marker.
62251 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62252 (__ieee754_log): Add systemtap probe marker.
62253 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62254 (atanMp): Add systemtap probe marker.
62255 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62256 (tanMp): Add systemtap probe marker.
62257 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62258 (__slowexp): Add systemtap probe marker.
62259 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62260 (__slowpow): Add systemtap probe marker.
62261 * manual/probes.texi: Document probes.
62262
62263 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62264
62265 [BZ #15362]
62266 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62267 written.
62268 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62269 written.
62270 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62271 written to buffer but not flushed.
62272 * libio/iofwrite_u.c: Likewise.
62273 * libio/iopadn.c: Return bytes returned even if EOF was
62274 encountered.
62275 * libio/iowpadn.c: Likewise.
62276 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62277 if _IO_padn does not write the whole buffer.
62278 [!COMPILE_WPRINTF] (PAD): Likewise.
62279
62280 2013-10-10 David S. Miller <davem@davemloft.net>
62281
62282 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62283 directory block.
62284
62285 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62286
62287 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62288 instead of FSF address.
62289 * soft-fp/fixdfti.c: Likewise.
62290 * soft-fp/fixsfti.c: Likewise.
62291 * soft-fp/fixtfti.c: Likewise.
62292 * soft-fp/fixunsdfti.c: Likewise.
62293 * soft-fp/fixunssfti.c: Likewise.
62294 * soft-fp/fixunstfti.c: Likewise.
62295 * soft-fp/floattidf.c: Likewise.
62296 * soft-fp/floattisf.c: Likewise.
62297 * soft-fp/floattitf.c: Likewise.
62298 * soft-fp/floatuntidf.c: Likewise.
62299 * soft-fp/floatuntisf.c: Likewise.
62300 * soft-fp/floatuntitf.c: Likewise.
62301 * soft-fp/trunctfxf2.c: Likewise.
62302
62303 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62304 * soft-fp/fixdfti.c: Likewise.
62305 * soft-fp/fixsfti.c: Likewise.
62306 * soft-fp/fixtfti.c: Likewise.
62307 * soft-fp/fixunsdfti.c: Likewise.
62308 * soft-fp/fixunssfti.c: Likewise.
62309 * soft-fp/fixunstfti.c: Likewise.
62310 * soft-fp/floattidf.c: Likewise.
62311 * soft-fp/floattisf.c: Likewise.
62312 * soft-fp/floattitf.c: Likewise.
62313 * soft-fp/floatuntidf.c: Likewise.
62314 * soft-fp/floatuntisf.c: Likewise.
62315 * soft-fp/floatuntitf.c: Likewise.
62316 * soft-fp/trunctfxf2.c: Likewise.
62317
62318 2013-10-10 David S. Miller <davem@davemloft.net>
62319
62320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62321
62322 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62323
62324 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62325 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62326 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62327 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62328 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62329 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62330 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62331
62332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62333 for NaNs before doing comparisons on argument.
62334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62335 Likewise.
62336
62337 2013-10-10 Will Newton <will.newton@linaro.org>
62338
62339 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62340 passed to _int_memalign does not overflow.
62341
62342 2013-10-10 Torvald Riegel <triegel@redhat.com>
62343
62344 * scripts/bench.pl: Add include-sources directive.
62345 * benchtests/README: Update documentation.
62346
62347 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62348
62349 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62350 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62351 instead of FP_INIT_ROUNDMODE.
62352 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62353 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62354
62355 [BZ #16034]
62356 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62357 copy class of input value.
62358 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62359 not handle exceptions.
62360 * soft-fp/negsf2.c (__negsf2): Likewise.
62361 * soft-fp/negtf2.c (__negtf2): Likewise.
62362 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62363
62364 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62365
62366 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62367 semicolon. From Linux kernel.
62368
62369 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62370
62371 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62372
62373 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62374
62375 [BZ #156]
62376 * manual/socket.texi: Added statement about buffer
62377 for gethostbyname2_r.
62378
62379 2013-10-08 Ondƙej Bílka <neleai@seznam.cz>
62380
62381 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62382 Use .p2align directive instead, throughout.
62383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62384 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62385 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62388 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62389 * sysdeps/x86_64/strchr.S: Likewise.
62390 * sysdeps/x86_64/strrchr.S: Likewise.
62391
62392 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62393
62394 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62395
62396 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62397
62398 * sysdeps/generic/math_private.h (__mpsin1): Remove
62399 declaration.
62400 (__mpcos1): Likewise.
62401 (__mpsin): New argument __range_reduce.
62402 (__mpcos): Likewise.
62403 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62404 (slow): Use __mpsin and __mpcos.
62405 (slow1): Likewise.
62406 (slow2): Likewise.
62407 (sloww): Likewise.
62408 (sloww1): Likewise.
62409 (sloww2): Likewise.
62410 (bsloww): Likewise.
62411 (bsloww1): Likewise.
62412 (bsloww2): Likewise.
62413 (cslow2): Likewise.
62414 (csloww): Likewise.
62415 (csloww1): Likewise.
62416 (csloww2): Likewise.
62417 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62418 range_reduce. Merge in __mpsin1.
62419 (__mpcos): Likewise.
62420 (__mpsin1): Remove.
62421 (__mpcos1): Likewise.
62422
62423 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62424
62425 * locale/loadlocale.c (_nl_intern_locale_data): Use
62426 LOCFILE_ALIGNED_P.
62427 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62428 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62429 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62430 obstack data is appropriately aligned.
62431 (obstack_int32_grow_fast): Likewise.
62432 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62433 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62434 (add_locale_uint32_array): Likewise.
62435
62436 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62437
62438 * benchtests/Makefile: Remove ARGLIST and RET variables.
62439 ($(objpfx)bench-%.c): Pass only function name to the script.
62440 * benchtests/README: Update documentation.
62441 * benchtests/acos-inputs: Add new directives.
62442 * benchtests/acosh-inputs: Likewise.
62443 * benchtests/asin-inputs: Likewise.
62444 * benchtests/asinh-inputs: Likewise.
62445 * benchtests/atan-inputs: Likewise.
62446 * benchtests/atanh-inputs: Likewise.
62447 * benchtests/cos-inputs: Likewise.
62448 * benchtests/cosh-inputs: Likewise.
62449 * benchtests/exp-inputs: Likewise.
62450 * benchtests/log-inputs: Likewise.
62451 * benchtests/pow-inputs: Likewise.
62452 * benchtests/rint-inputs: Likewise.
62453 * benchtests/sin-inputs: Likewise.
62454 * benchtests/sinh-inputs: Likewise.
62455 * benchtests/tan-inputs: Likewise.
62456 * benchtests/tanh-inputs: Likewise.
62457 * scripts/bench.pl: Add support for new directives.
62458
62459 2013-10-07 Alan Modra <amodra@gmail.com>
62460
62461 * README: Fix careless merge.
62462
62463 2013-10-05 Alan Modra <amodra@gmail.com>
62464
62465 * NEWS: Mention powerpc64le support and bugs fixed.
62466 * README: Both big-endian and little-endian powerpc64 supported.
62467
62468 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62469
62470 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62471 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62472 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62473 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62474
62475 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62476
62477 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62478 match prototype.
62479
62480 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62481
62482 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62483 Move -mhard-float appending from
62484 ports/sysdeps/powerpc/powerpc32/Makefile.
62485 [$(with-fp) = yes] (ASFLAGS): Likewise.
62486 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62487 * sysdeps/powerpc/nofpu: Move directory from
62488 ports/sysdeps/powerpc/nofpu.
62489 * sysdeps/powerpc/soft-fp: Move directory from
62490 ports/sysdeps/powerpc/soft-fp.
62491 * sysdeps/powerpc/powerpc32/405: Move directory from
62492 ports/sysdeps/powerpc/powerpc32/405.
62493 * sysdeps/powerpc/powerpc32/440: Move directory from
62494 ports/sysdeps/powerpc/powerpc32/440.
62495 * sysdeps/powerpc/powerpc32/464: Move directory from
62496 ports/sysdeps/powerpc/powerpc32/464.
62497 * sysdeps/powerpc/powerpc32/476: Move directory from
62498 ports/sysdeps/powerpc/powerpc32/476.
62499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62500 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62502 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62504 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62506 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62508 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62509 * README: Update for powerpc-*-linux-gnu software floating point
62510 support in libc.
62511
62512 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62513 case to powerpc/powerpc32*.
62514 * sysdeps/unix/sysv/linux/configure: Regenerated.
62515
62516 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62517 (_FPU_MASK_OM): Define as 0x04.
62518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62520 0x00c10080.
62521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62522 0x0000003c.
62523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62524
62525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62526 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62527 getcontext_e500.
62528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62529 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62530 setcontext_e500.
62531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62532 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62533 and setcontext_e500.
62534
62535 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62536
62537 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62538
62539 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62540
62541 * manual/threads.texi (Default Thread Attributes): Fix typo.
62542
62543 2013-10-04 Will Newton <will.newton@linaro.org>
62544
62545 * malloc/Makefile: Add tst-memalign.
62546 * malloc/tst-memalign.c: New file.
62547
62548 * malloc/tst-posix_memalign.c: Add comments.
62549 (do_test): Add comments and call free on all potentially
62550 allocated pointers. Add space after cast.
62551
62552 * malloc/tst-pvalloc.c: Add comments.
62553 (do_test): Add comments and call free on all potentially
62554 allocated pointers. Remove duplicate check for NULL pointer.
62555 Add space after cast.
62556
62557 * malloc/tst-valloc.c: Add comments.
62558 (do_test): Add comments and call free on all potentially
62559 allocated pointers. Remove duplicate check for NULL pointer.
62560 Add space after cast.
62561
62562 2013-10-04 Alan Modra <amodra@gmail.com>
62563
62564 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62565 Use stdint types in rather than __attribute__((mode())).
62566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62567
62568 2013-10-04 Alan Modra <amodra@gmail.com>
62569
62570 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62571 Correct handling of unaligned relocs for little-endian.
62572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62573
62574 2013-10-04 Alan Modra <amodra@gmail.com>
62575
62576 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62577 * configure: Regenerate.
62578 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62579 * shlib-versions: Likewise.
62580
62581 2013-10-04 Alan Modra <amodra@gmail.com>
62582
62583 * string/tester.c (test_memrchr): Increment reported test cycle.
62584
62585 2013-10-04 Alan Modra <amodra@gmail.com>
62586
62587 * string/test-memcpy.c (do_one_test): When reporting errors, print
62588 string address and don't overrun end of string.
62589
62590 2013-10-04 Alan Modra <amodra@gmail.com>
62591
62592 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62593 insrdi. Make better use of reg selection to speed exit slightly.
62594 Schedule entry path a little better. Remove useless "are we done"
62595 checks on entry to main loop. Handle wrapping around zero address.
62596 Correct main loop count. Handle single left-over word from main
62597 loop inline rather than by using loop_small. Remove extra word
62598 case in loop_small caused by wrong loop count. Add little-endian
62599 support.
62600 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62601 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62602 cache hint.
62603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62605 support. Avoid rlwimi.
62606 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62607
62608 2013-10-04 Alan Modra <amodra@gmail.com>
62609
62610 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62611 insrdi. Formatting.
62612 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62613 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62614 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62615 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62616 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62617 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62618
62619 2013-10-04 Alan Modra <amodra@gmail.com>
62620
62621 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62623 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62624 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62625 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62626 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62627 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62628 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62629 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62630 use of regs. Use power7 mtocrf. Tidy function tails.
62631
62632 2013-10-04 Alan Modra <amodra@gmail.com>
62633
62634 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62635 Formatting. Consistently use rXXX register defines or rN defines.
62636 Use early exit labels that avoid restoring unused non-volatile regs.
62637 Make cr field use more consistent with rWORDn compares. Rename
62638 regs used as shift registers for unaligned loop, using rN defines
62639 for short lifetime/multiple use regs.
62640 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62641 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62642 addi 1,1,64 to pop stack frame. Simplify return value code.
62643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62644
62645 2013-10-04 Alan Modra <amodra@gmail.com>
62646
62647 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62648 support. Correct typos, formatting. Optimize tail. Use insrdi
62649 rather than rlwimi.
62650 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62651 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62652 little-endian support. Correct typos.
62653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62654 rather than rlwimi.
62655 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62656 in loop and entry code to keep "and." results.
62657 (strchr): Add little-endian support. Comment. Move cntlzd
62658 earlier in tail.
62659 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62660
62661 2013-10-04 Alan Modra <amodra@gmail.com>
62662
62663 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62664 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62665 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62666 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62667
62668 2013-10-04 Alan Modra <amodra@gmail.com>
62669
62670 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62671 (rTMP): Define as r11.
62672 (strcmp): Add little-endian support. Optimise tail.
62673 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62674 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62675 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62676 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62677 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62680
62681 2013-10-04 Alan Modra <amodra@gmail.com>
62682
62683 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62684 little-endian support. Remove unnecessary "are we done" tests.
62685 Handle "s" wrapping around zero and extremely large "size".
62686 Correct main loop count. Handle single left-over word from main
62687 loop inline rather than by using small_loop. Correct comments.
62688 Delete "zero" tail, use "end_max" instead.
62689 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62690
62691 2013-10-04 Alan Modra <amodra@gmail.com>
62692
62693 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62694 support. Don't branch over align.
62695 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62696 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62697 support. Rearrange tmp reg use to suit. Comment.
62698 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62699
62700 2013-10-04 Alan Modra <amodra@gmail.com>
62701
62702 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62703
62704 2013-10-04 Alan Modra <amodra@gmail.com>
62705
62706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62707 conditional form of branch and link when obtaining pc.
62708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62709
62710 2013-10-04 Alan Modra <amodra@gmail.com>
62711
62712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62713 HIWORD/LOWORD.
62714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62716
62717 2013-10-04 Alan Modra <amodra@gmail.com>
62718
62719 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62720 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62721 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62722 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62723 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62724 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62725 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62726 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62727 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62728 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62729
62730 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62731 Alistair Popple <alistair@ozlabs.au.ibm.com>
62732 Alan Modra <amodra@gmail.com>
62733
62734 [BZ #15723]
62735 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62736 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62737 _dl_hwcap access for little-endian.
62738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62739 destroy vmx regs when saving unaligned.
62740 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62741 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62742 destroy vmx regs when saving unaligned.
62743
62744 2013-10-04 Alan Modra <amodra@gmail.com>
62745
62746 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62747 Don't use a union to pack hi/low value.
62748
62749 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62750
62751 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62752 for little-endian.
62753 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62755 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62756 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62757 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62758
62759 2013-10-04 Alan Modra <amodra@gmail.com>
62760
62761 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62762 constants to usual value for .cst8 section, and remove redundant
62763 high address load.
62764 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62765 constant for 0x1p52. Load little-endian words of double from
62766 correct stack offsets.
62767
62768 2013-10-04 Alan Modra <amodra@gmail.com>
62769
62770 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62771 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62772 words of double from correct stack offsets.
62773 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62774 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62775 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62776 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62777 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62778 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62780 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62781 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62783 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62784 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62785 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62786 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62787 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62788 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62789 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62790
62791 2013-10-04 Alan Modra <amodra@gmail.com>
62792
62793 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62794 64-bit int/double union.
62795 (_FPU_SETCW): Likewise.
62796 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62797 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62798
62799 2013-10-04 Alan Modra <amodra@gmail.com>
62800
62801 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62802 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62803
62804 2013-10-04 Alan Modra <amodra@gmail.com>
62805
62806 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62807 use vector int constants.
62808 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62809
62810 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62811
62812 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62813 array with long long.
62814 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62815 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62816 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62817 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62818 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62819 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62820 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62821 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62822 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62823 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62824 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62825 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62826 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62827
62828 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62829
62830 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62831 (__signbit): Likewise. Correct for little-endian.
62832 (__signbitl): Call __signbit.
62833 (lrint): Correct for little-endian.
62834 (lrintf): Call lrint.
62835
62836 2013-10-04 Alan Modra <amodra@gmail.com>
62837
62838 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62839 union 32-bit int array member with 64-bit int array.
62840 (t515, tm256): Double rather than long double.
62841 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62842
62843 2013-10-04 Alan Modra <amodra@gmail.com>
62844
62845 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62846 Delete.
62847 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62849 version of math_ldbl.h.
62850
62851 2013-10-04 Alan Modra <amodra@gmail.com>
62852
62853 [BZ #15734], [BZ #15735]
62854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62855 all uses of ieee875 long double macros and unions. Simplify test
62856 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62857 ldbl_extract_mantissa value for ix,iy exponents. Properly
62858 normalize after ldbl_extract_mantissa, and don't add hidden bit
62859 already handled. Don't treat low word of ieee854 mantissa like
62860 low word of IBM long double and mask off bit when testing for
62861 zero.
62862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62863 all uses of ieee875 long double macros and unions. Simplify tests
62864 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62865 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62866 two1022, instead use their values. Recognise that tests for large
62867 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62868 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62869 Rewrite all uses of ieee875 long double macros and unions. Simplify
62870 test for 0.0L and nan. Correct negation.
62871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62872 ieee875 long double macros and unions. Correct output for large
62873 magnitude x. Correct absolute value calculation.
62874 (__erfcl): Likewise.
62875 * math/libm-test.inc: Add tests for errors discovered in IBM long
62876 double versions of fmodl, remainderl, erfl and erfcl.
62877
62878 2013-10-04 Alan Modra <amodra@gmail.com>
62879
62880 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62881 all uses of ieee854 long double macros and unions. Simplify tests
62882 for long doubles that are fully specified by the high double.
62883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62884 Likewise.
62885 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62886 Remove dead code too.
62887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62888 (__ieee754_ynl): Likewise.
62889 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62890 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62891 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62892 Remove dead code too.
62893 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62894 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62896 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62897 Simplify.
62898 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62899 Simplify.
62900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62901 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62902 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62903 Comment on variable precision.
62904 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62906 Likewise.
62907 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62908 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62909 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62910 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62911 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62912
62913 2013-10-04 Alan Modra <amodra@gmail.com>
62914
62915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62917 all uses of ieee854 long double macros and unions.
62918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62922 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62923 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62924 Likewise.
62925 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62926 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62927 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62929 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62930 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62931 Simplify sign and nan test too.
62932 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62933 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62934 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62935 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62936 Likewise.
62937 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62938 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62939 Likewise.
62940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62941 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62942 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62943 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62944 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62946
62947 2013-10-04 Alan Modra <amodra@gmail.com>
62948
62949 * stdio-common/printf_size.c (__printf_size): Don't use
62950 union ieee854_long_double in fpnum union.
62951 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62952 signbit macro to retrieve sign from long double.
62953 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62954 retrieve sign from long double.
62955 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62956 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62957 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62958 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62959 * math/test-misc.c (main): Don't use union ieee854_long_double.
62960
62961 2013-10-04 Alan Modra <amodra@gmail.com>
62962
62963 [BZ #15680]
62964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62965 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62966 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62967 calculation. Remove unnecessary test for denormal exponent.
62968 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62969 Correct handling of denormals. Avoid undefined shift behaviour.
62970 Correct normalisation of low mantissa when low double is denormal.
62971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62972 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62973 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62974 Correct normalisation of low mantissa. Test for overflow of high
62975 mantissa and normalise.
62976 (ldbl_nearbyint): Use more readable constant for two52.
62977 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62978 (__mpn_construct_long_double): Fix test for overflow of high
62979 mantissa and correct normalisation. Avoid undefined shift.
62980
62981 2013-10-04 Alan Modra <amodra@gmail.com>
62982
62983 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62984 (union ibm_extended_long_double): Define as an array of ieee754_double.
62985 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62986 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62987 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62988 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62990 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62992 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62993 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62994 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62995 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62996
62997 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62998
62999 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63000 page size instead of calling getpagesize.
63001
63002 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63003 (LOCFILE_ALIGN_MASK): Likewise.
63004 (LOCFILE_ALIGN_UP): Likewise.
63005 (LOCFILE_ALIGNED_P): Likewise.
63006 * locale/programs/ld-collate.c (collate_output): Use the new
63007 macros instead of __alignof__ (int32_t).
63008 * locale/weight.h (findidx): Likewise.
63009
63010 2013-10-03 Ondƙej Bílka <neleai@seznam.cz>
63011
63012 [BZ #431]
63013 * manual/string.texi: Fix strncat and wcsncat.
63014
63015 2013-10-03 Brooks Moses <bmoses@google.com>
63016
63017 [BZ #15915]
63018 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63019 * Makerules: ...here, and adjust associated comments.
63020
63021 2013-10-02 Will Newton <will.newton@linaro.org>
63022
63023 * malloc/Makefile: Add tst-pvalloc.
63024 * malloc/tst-pvalloc.c: New file.
63025
63026 2013-10-02 Will Newton <will.newton@linaro.org>
63027
63028 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63029 improve test coverage.
63030
63031 2013-10-02 Will Newton <will.newton@linaro.org>
63032
63033 * malloc/Makefile: Add tst-posix_memalign.
63034 * malloc/tst-posix_memalign.c: New file.
63035
63036 2013-10-01 Eric Blake <eblake@redhat.com>
63037
63038 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63039 Use __THROWNL rather than __THROW on static functions.
63040
63041 2013-09-30 Petr Machata <pmachata@redhat.com>
63042
63043 * elf/elf.h (R_AARCH64_ABS16): New macro.
63044 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63045 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63046 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63047 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63048 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63049 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63050 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63051 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63052 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63053 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63054 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63055 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63056 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63057 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63058 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63059 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63060 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63061 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63062 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63063 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63064 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63065 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63066 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63067 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63068 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63069 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63070 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63071 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63072 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63073 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63074 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63075 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63076 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63077 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63078 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63079 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63080 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63081 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63082 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63083 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63084 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63085 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63086 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63087 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63088 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63089 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63090 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63091 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63092 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63093 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63094 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63095 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63096 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63097 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63098 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63099 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63100 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63101 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63102 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63103 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63104 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63105 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63106 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63107 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63108 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63109 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63110 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63111 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63112 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63113 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63114 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63115 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63116 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63117 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63118 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63119 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63120 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63121 (R_AARCH64_TLSDESC_LDR): Likewise.
63122 (R_AARCH64_TLSDESC_ADD): Likewise.
63123 (R_AARCH64_TLSDESC_CALL): Likewise.
63124
63125 2013-09-30 Andreas Schwab <schwab@suse.de>
63126
63127 [BZ #15048]
63128 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63129 the nss database lookup.
63130 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63132
63133 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63134
63135 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63136
63137 2013-09-28 P. J. McDermott <pj@pehjota.net>
63138
63139 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63140 ${Bash-specific parameter/pattern/string} parameter expansion.
63141 * sysdeps/unix/make-syscalls.sh: Likewise.
63142
63143 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63144
63145 * sysdeps/sh/stackguard-macros.h: New file.
63146
63147 2013-09-26 Ondƙej Bílka <neleai@seznam.cz>
63148
63149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63151 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63152 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63153 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63154 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63155
63156 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63157
63158 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63159 Fix thread ID register.
63160
63161 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63162
63163 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63164 [POSIX || UNIX98]: Require rather than permitting all symbols from
63165 <time.h>.
63166 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63167 element of struct sched_param.
63168 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63169 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63170 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63171 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63172 constant.
63173
63174 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63175
63176 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63177 argument calculation.
63178
63179 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63180
63181 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63182 Expect macro.
63183 [POSIX] (pthread_attr_t): Do not require type.
63184 [POSIX] (pthread_cond_t): Likewise.
63185 [POSIX] (pthread_condattr_t): Likewise.
63186 [POSIX] (pthread_key_t): Likewise.
63187 [POSIX] (pthread_mutex_t): Likewise.
63188 [POSIX] (pthread_mutexattr_t): Likewise.
63189 [POSIX] (pthread_once_t): Likewise.
63190 [POSIX] (pthread_t): Likewise.
63191 [POSIX-based standards] (pthread_atfork): Expect function.
63192
63193 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63194 Richard Sandiford <richard@codesourcery.com>
63195
63196 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63197 (swap_endianness_p): New extern variable.
63198 (set_big_endian): New inline function.
63199 (maybe_swap_uint32): Likewise.
63200 (maybe_swap_uint32_array): Likewise.
63201 (maybe_swap_uint32_obstack): Likewise.
63202 * locale/programs/locfile.c: Include <stdbool.h>.
63203 (swap_endianness_p): New variable.
63204 (add_locale_uint32): Call maybe_swap_uint32.
63205 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63206 (write_locale_data): Call maybe_swap_uint32_array.
63207 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63208 maybe_swap_uint32.
63209 (obstack_int32_grow_fast): Likewise.
63210 (output_weightwc): Call maybe_swap_uint32_obstack.
63211 (collate_output): Likewise.
63212 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63213 (OPT_LITTLE_ENDIAN): Likewise.
63214 (options): Add --little-endian and --big-endian options.
63215 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63216 * locale/programs/locarchive.c: Include "locfile.h".
63217 (GET): New macro.
63218 (SET): Likewise.
63219 (INC): Likewise.
63220 (create_archive): Use the new macros to access fields of
63221 structures directly mapped from or written to locale archives.
63222 (oldlocrecentcmp): Likewise.
63223 (enlarge_archive): Likewise.
63224 (insert_name): Likewise.
63225 (add_alias): Likewise.
63226 (add_locale): Likewise.
63227 (delete_locales_from_archive): Likewise.
63228 (show_archive_content): Likewise.
63229 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63230 locale data.
63231
63232 2013-09-24 Roland McGrath <roland@hack.frob.com>
63233
63234 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63235 http://www.gnu.org/doc/freemanuals.texi.
63236 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63237
63238 2013-09-24 Will Newton <will.newton@linaro.org>
63239
63240 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63241 macro.
63242
63243 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63244
63245 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63246 unsigned char.
63247
63248 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63249
63250 * manual/threads.texi (POSIX Threads): Fix a typo.
63251
63252 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63253
63254 [BZ #14547]
63255 * string/tst-strcoll-overflow.c: New test case.
63256 * string/Makefile (xtests): Add tst-strcoll-overflow.
63257 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63258 cache if string sizes may cause integer overflow.
63259
63260 [BZ #14547]
63261 * string/strcoll_l.c (coll_seq): New members rule, idx,
63262 save_idx and back_us.
63263 (get_next_seq_nocache): New function.
63264 (do_compare_nocache): New function.
63265 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63266 when malloc fails.
63267
63268 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63269
63270 [BZ #15754]
63271 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63272 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63273 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63274
63275 [BZ #15754]
63276 * elf/Makefile (tests): Add tst-ptrguard1.
63277 (tests-static): Add tst-ptrguard1-static.
63278 (tst-ptrguard1-ARGS): Define.
63279 (tst-ptrguard1-static-ARGS): Define.
63280 * elf/tst-ptrguard1.c: New file.
63281 * elf/tst-ptrguard1-static.c: New file.
63282 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63283 * sysdeps/i386/stackguard-macros.h: Likewise.
63284 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63285 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63286 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63287 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63288 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63289 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63290
63291 2013-09-23 Hector Marco <hecmargi@upv.es>
63292 Ismael Ripoll <iripoll@disca.upv.es>
63293 Carlos O'Donell <carlos@redhat.com>
63294
63295 [BZ #15754]
63296 * sysdeps/generic/stackguard-macros.h: Define
63297 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63298 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63299 Define __pointer_chk_guard_local.
63300 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63301 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63302
63303 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63304
63305 [BZ #15859]
63306 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63307
63308 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63309
63310 * include/string.h (__ffs): Declare as hidden.
63311 * string/ffs.c (__ffs): Define as hidden.
63312 * sysdeps/i386/ffs.c (__ffs): Likewise.
63313 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63314 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63315 * sysdeps/s390/ffs.c (__ffs): Likewise.
63316 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63317
63318 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63319
63320 * NEWS: Mention malloc probes.
63321
63322 * malloc/arena.c (new_heap): New memory_heap_new probe.
63323 (grow_heap): New memory_heap_more probe.
63324 (shrink_heap): New memory_heap_less probe.
63325 (heap_trim): New memory_heap_free probe.
63326 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63327 (systrim): New memory_sbrk_less probe.
63328 * manual/probes.texi: Document them.
63329
63330 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63331 * manual/probes.texi: Document it.
63332
63333 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63334 (__libc_realloc): Add memory_realloc_retry probe.
63335 (__libc_memalign): Add memory_memalign_retry probe.
63336 (__libc_valloc): Add memory_valloc_retry probe.
63337 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63338 (__libc_calloc): Add memory_calloc_retry probe.
63339 * manual/probes.texi: Document them.
63340
63341 * malloc/arena.c (get_free_list): Add probe
63342 memory_arena_reuse_free_list.
63343 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63344 and memory_arena_reuse.
63345 (arena_get2) [!PER_THREAD]: Likewise.
63346 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63347 memory_arena_reuse_realloc.
63348 * manual/probes.texi: Document them.
63349
63350 * malloc/malloc.c (__libc_free): Add
63351 memory_mallopt_free_dyn_thresholds probe.
63352 (__libc_mallopt): Add multiple memory_mallopt probes.
63353 * manual/probes.texi: Document them.
63354
63355 * malloc/malloc.c: Include stap-probe.h.
63356 (__libc_mallopt): Add memory_mallopt probe.
63357 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63358 * manual/probes.texi: New.
63359 * manual/Makefile (chapters): Add probes.
63360 * manual/threads.texi: Set next node.
63361
63362 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63363
63364 [BZ #15963, #13985]
63365 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63366 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63367 Add `Chinese' to `nan' entry name.
63368
63369 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63370
63371 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63372 (POLYNOMIAL): Likewise.
63373 (TAYLOR_SINCOS): Likewise.
63374 (TAYLOR_SLOW): Likewise.
63375 (__sin): Use TAYLOR_SINCOS.
63376 (__cos): Likewise.
63377 (slow): Use TAYLOR_SLOW.
63378 (sloww): Likewise.
63379 (bsloww): Likewise.
63380 (csloww): Likewise.
63381
63382 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63383
63384 * stdlib/strtod_l.c: Fix buffer overrun.
63385
63386 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63387
63388 * benchtests/Makefile (bench): Add sincos.
63389 * benchtests/bench-sincos.c: New file.
63390
63391 * math/libm-test.inc (cos_test_data): New test inputs.
63392 (sin_test_data): Likewise.
63393
63394 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63395 macro.
63396 (__sin): Use it.
63397 (__cos): Likewise.
63398 (slow1): Likewise.
63399 (slow2): Likewise.
63400 (sloww1): Likewise.
63401 (sloww2): Likewise.
63402 (bsloww1): Likewise.
63403 (bsloww2): Likewise.
63404 (cslow2): Likewise.
63405 (csloww1): Likewise.
63406 (csloww2): Likewise.
63407
63408 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63409 function.
63410 (__sin): Use it.
63411 (__cos): Likewise.
63412
63413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63414 gotos.
63415 (__cos): Likewise.
63416
63417 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63418
63419 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63420 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63421 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63422 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63423 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63424 * elf/cache.c (print_entry): Handle the new cache flags.
63425
63426 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63427 Aldy Hernandez <aldyh@redhat.com>
63428
63429 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63430 Change condition to [_SOFT_FLOAT].
63431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63443 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63446 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63447 declaration.
63448
63449 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63450
63451 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63452 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63453 (__longjmp): Use LOAD_GP to load saved GPRs.
63454 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63455 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63456 (__sigsetjmp): Use SAVE_GP to save GPRs.
63457
63458 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63459 Do not append -msoft-float.
63460 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63461
63462 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63463
63464 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63465
63466 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63467
63468 [BZ #15966]
63469 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63470 (_FPU_GETCW): Use initial "__" on variable and field names but not
63471 on macro parameter name.
63472 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63473 parentheses around reference to macro parameter.
63474
63475 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63476
63477 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63478 prototype.
63479 (ctype_startup): Use uint32_t in cast and sizeof for
63480 ctype->charnames.
63481
63482 2013-09-11 Jia Liu <proljc@gmail.com>
63483
63484 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63485 __daddr_t_defined.
63486 [__FreeBSD__]: Likewise.
63487
63488 2013-09-11 Ondƙej Bílka <neleai@seznam.cz>
63489
63490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63491 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63492 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63493 (strchr): Remove __strchr_sse42 ifunc selection.
63494 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63495 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63496
63497 2013-09-11 Will Newton <will.newton@linaro.org>
63498
63499 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63500 parameter to RES. Remove hardcoded 1000 value.
63501 * benchtests/bench-skeleton.c (main): Pass RES parameter
63502 to TIMING_INIT and multiply result by 1000.
63503
63504 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63505
63506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63507
63508 2013-09-11 Andreas Schwab <schwab@suse.de>
63509
63510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63511 if not defined.
63512 (O_TMPFILE) [__USE_GNU]: Define.
63513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63514 Define.
63515
63516 2013-09-11 Will Newton <will.newton@linaro.org>
63517
63518 [BZ #15857]
63519 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63520 does not overflow.
63521
63522 2013-09-11 Will Newton <will.newton@linaro.org>
63523
63524 [BZ #15856]
63525 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63526 does not overflow.
63527
63528 2013-09-11 Will Newton <will.newton@linaro.org>
63529
63530 [BZ #15855]
63531 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63532 does not overflow.
63533
63534 2013-09-10 Ondƙej Bílka <neleai@seznam.cz>
63535
63536 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63538 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63539 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63541
63542 2013-09-10 Allan McRae <allan@archlinux.org>
63543
63544 [BZ #15748]
63545 * manual/arith.texi (Parsing of Floats): Clarify
63546 cross-reference.
63547
63548 [BZ #15849]
63549 * manual/install.texi (Running make install): Mention
63550 --enable-pt-chown.
63551 * INSTALL: Regenerated.
63552
63553 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63554
63555 * csu/init-first.c (_init): Remove the !SHARED condition around
63556 FPU control word initialization.
63557 * elf/dl-support.c (_dl_fpu_control): New variable.
63558 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63559 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63560 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63561 * math/test-fpucw-static.c: New file.
63562 * math/test-fpucw-ieee.c: New file.
63563 * math/test-fpucw-ieee-static.c: New file.
63564 * math/Makefile (tests): Add `test-fpucw-ieee' and
63565 `$(tests-static)'.
63566 (tests-static): New variable.
63567 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63568 dependency to...
63569 [($(build-shared),yes)]
63570 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63571 ... this.
63572 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63573 New dependency.
63574
63575 2013-09-09 Allan McRae <allan@archlinux.org>
63576
63577 [BZ #15939]
63578 * manual/string.texi (Collation Functions): Fix typo in
63579 strcoll example.
63580 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63581
63582 [BZ #15893]
63583 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63584
63585 [BZ #15892]
63586 * libio/memstream.c (open_memstream): Fix memory leak.
63587 * libio/wmemstream.c (open_wmemstream): Likewise.
63588
63589 [BZ #15895]
63590 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63591
63592 2013-09-09 Will Newton <will.newton@linaro.org>
63593
63594 * malloc/Makefile: Add tst-realloc to tests.
63595 * malloc/tst-realloc.c: New file.
63596
63597 2013-09-09 Allan McRae <allan@archlinux.org>
63598
63599 [BZ #15844]
63600 * COPYING: Update from GNU website to fix FSF address.
63601 * COPYING.LIB: Likewise.
63602
63603 2013-09-06 David S. Miller <davem@davemloft.net>
63604
63605 * po/zh_TW.po: Update Chinese (traditional) translation from
63606 translation project.
63607
63608 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63609 Joseph Myers <joseph@codesourcery.com>
63610
63611 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63612 "localeinfo.h".
63613 (obstack_chunk_alloc): New macro.
63614 (obstack_chunk_free): Likewise.
63615 (record_offset): New function.
63616 (init_locale_data): Likewise.
63617 (align_locale_data): Likewise.
63618 (add_locale_empty): Likewise.
63619 (add_locale_raw_data): Likewise.
63620 (add_locale_raw_obstack): Likewise.
63621 (add_locale_string): Likewise.
63622 (add_locale_wstring): Likewise.
63623 (add_locale_uint32): Likewise.
63624 (add_locale_uint32_array): Likewise.
63625 (add_locale_char): Likewise.
63626 (start_locale_structure): Likewise.
63627 (end_locale_structure): Likewise.
63628 (start_locale_prelude): Likewise.
63629 (end_locale_prelude): Likewise.
63630 (write_locale_data): Take locale_file structure rather than an
63631 iovec.
63632 * locale/programs/locfile.h: Include "obstack.h".
63633 (struct locale_file): Change to store locale file contents instead
63634 of header.
63635 (init_locale_data): New prototype.
63636 (align_locale_data): Likewise.
63637 (add_locale_empty): Likewise.
63638 (add_locale_raw_data): Likewise.
63639 (add_locale_raw_obstack): Likewise.
63640 (add_locale_string): Likewise.
63641 (add_locale_wstring): Likewise.
63642 (add_locale_uint32): Likewise.
63643 (add_locale_uint32_array): Likewise.
63644 (add_locale_char): Likewise.
63645 (start_locale_structure): Likewise.
63646 (end_locale_structure): Likewise.
63647 (start_locale_prelude): Likewise.
63648 (end_locale_prelude): Likewise.
63649 (write_locale_data): Update prototype.
63650 * locale/programs/3level.h (struct TABLE): Remove result field.
63651 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63652 Use new locale_file interface.
63653 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63654 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63655 * locale/programs/ld-address.c (address_output): Use new
63656 locale_file interface.
63657 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63658 NO_ADD_LOCALE.
63659 (collate_finish): Don't call collseq_table_finalize.
63660 (collate_output): Use new locale_file interface.
63661 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63662 in file.
63663 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63664 (TABLE): Move defines earlier in file.
63665 (ELEMENT): Likewise.
63666 (DEFAULT): Likewise.
63667 (wctrans_table_add): Move macro and inline function earlier in
63668 file.
63669 (struct wctype_table): Move type earlier in file.
63670 (add_locale_wctype_table): New static prototype.
63671 (struct locale_ctype_t): Use logical types instead of struct iovec
63672 pointers for members.
63673 (ctype_output): Use new locale_file interface.
63674 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63675 new locale_file interface.
63676 (allocate_arrays): Update for use of new locale_file interface.
63677 * locale/programs/ld-identification.c (identification_output): Use
63678 new locale_file interface.
63679 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63680 * locale/programs/ld-messages.c (messages_output): Likewise.
63681 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63682 * locale/programs/ld-name.c (name_output): Likewise.
63683 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63684 * locale/programs/ld-paper.c (paper_output): Likewise.
63685 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63686 * locale/programs/ld-time.c (time_output): Likewise.
63687
63688 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63689
63690 * benchtests/Makefile: Add memrchr benchmark.
63691 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63692 benchmark as memrchr.
63693 * benchtests/bench-memrchr-ifunc.c: New file.
63694 * benchtests/bench-memrchr.c: New file.
63695
63696 2013-09-06 Will Newton <will.newton@linaro.org>
63697
63698 * benchtests/Makefile (string-bench): Add memcpy.
63699
63700 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63701 Cong Wang <amwang@redhat.com>
63702
63703 [BZ #15850]
63704 * sysdeps/unix/sysv/linux/bits/in.h
63705 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63706 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63707 before __USE_KERNEL_IPV6_DEFS uses.
63708 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63709 IPPROTO_BEETPH.
63710 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63711 sockaddr_in6, or ipv6_mreq.
63712
63713 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63714
63715 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63716 memory access for final bytes in some large inputs.
63717 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63718
63719 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63720
63721 * string/test-memrchr.c: New file.
63722 * string/test-memrchr-ifunc.c: New file.
63723 * string/Makefile: Add new memrchr testcase.
63724
63725 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63726
63727 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63728 fanotify_init returns EPERM.
63729
63730 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63731
63732 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63733 errors.
63734 (top level): Treat second token from macro or constant entries for
63735 allowed headers as allowed.
63736 * include/complex.h: Condition internal declarations on
63737 [!_ISOMAC].
63738 * include/fenv.h: Condition include of <stdbool.h> and internal
63739 declarations on [!_ISOMAC].
63740
63741 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63742
63743 [BZ #15923]
63744 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63745
63746 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63747
63748 * configure.in (--enable-versioning): Remove configure option.
63749 (libc_cv_asm_symver_directive): Remove configure test.
63750 (libc_cv_ld_version_script_option): Likewise.
63751 (VERSIONING): Remove variable and AC_SUBST.
63752 (DO_VERSIONING): Remove AC_DEFINE.
63753 * configure: Regenerated.
63754 * config.h.in (DO_VERSIONING): Remove macro.
63755 * Makerules [$(versioning) = yes]: Change conditionals to
63756 [$(build-shared) = yes].
63757 * config.make.in (versioning): Remove variable.
63758 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63759 [$(build-shared) = yes].
63760 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63761 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63762 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63763 [$(build-shared) = yes].
63764 * extra-lib.mk [$(versioning) = yes]: Likewise.
63765 * hurd/Makefile [$(versioning) = yes]: Likewise.
63766 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63767 [SHARED].
63768 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63769 [SHARED].
63770 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63771 [SHARED && !NO_HIDDEN].
63772 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63773 [SHARED].
63774 [SHARED && DO_VERSIONING]: Likewise..
63775 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63776 [$(build-shared) = yes].
63777 * manual/install.texi (--disable-versioning): Remove
63778 documentation.
63779 * INSTALL: Regenerated.
63780 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63781 to [SHARED].
63782 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63783 [$(build-shared) = yes].
63784 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63785 * sysdeps/i386/i686/multiarch/strstr-c.c
63786 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63787 [SHARED && !NO_HIDDEN].
63788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63789 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63790 * sysdeps/powerpc/powerpc32/dl-machine.c
63791 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63792 * sysdeps/powerpc/powerpc32/sysdep.h
63793 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63794 to [SHARED && PIC && !NO_HIDDEN].
63795 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63796 conditional to [SHARED].
63797
63798 2013-09-04 Will Newton <will.newton@linaro.org>
63799
63800 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63801 * benchtests/bench-string.h: Include bench-timing.h instead
63802 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63803 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63804 call to HP_TIMING_DIFF_INIT.
63805 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63806 instead of hp-timing.h macros.
63807 * benchtests/bench-memchr.c: Likewise.
63808 * benchtests/bench-memcmp.c: Likewise.
63809 * benchtests/bench-memcpy.c: Likewise.
63810 * benchtests/bench-memmem.c: Likewise.
63811 * benchtests/bench-memmove.c: Likewise.
63812 * benchtests/bench-memset.c: Likewise.
63813 * benchtests/bench-rawmemchr.c: Likewise.
63814 * benchtests/bench-strcasecmp.c: Likewise.
63815 * benchtests/bench-strcasestr.c: Likewise.
63816 * benchtests/bench-strcat.c: Likewise.
63817 * benchtests/bench-strchr.c: Likewise.
63818 * benchtests/bench-strcmp.c: Likewise.
63819 * benchtests/bench-strcpy.c: Likewise.
63820 * benchtests/bench-strcpy_chk.c: Likewise.
63821 * benchtests/bench-strlen.c: Likewise.
63822 * benchtests/bench-strncasecmp.c: Likewise.
63823 * benchtests/bench-strncat.c: Likewise.
63824 * benchtests/bench-strncmp.c: Likewise.
63825 * benchtests/bench-strncpy.c: Likewise.
63826 * benchtests/bench-strnlen.c: Likewise.
63827 * benchtests/bench-strpbrk.c: Likewise.
63828 * benchtests/bench-strrchr.c: Likewise.
63829 * benchtests/bench-strspn.c: Likewise.
63830 * benchtests/bench-strstr.c: Likewise.
63831
63832 2013-09-04 Will Newton <will.newton@linaro.org>
63833
63834 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63835
63836 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63837
63838 [BZ #15427]
63839 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63840 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63841 * math/libm-test.inc (lgamma_test_data): Add more tests.
63842 * sysdeps/i386/fpu/libm-test-ulps: Update.
63843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63844
63845 2013-09-03 Ondƙej Bílka <neleai@seznam.cz>
63846
63847 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63849 Add ifunc.
63850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63851 Add strcmp-sse2-unaligned
63852 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63853
63854 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63855
63856 * Versions.def (libc): Add GLIBC_2.19.
63857
63858 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63859
63860 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63861 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63862
63863 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63864
63865 [BZ #14155]
63866 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63867 intermediate calculations in recurrence.
63868 (__ieee754_ynf): Likewise.
63869 * math/libm-test.inc (jn_test_data): Do not allow spurious
63870 underflow exception. Add more tests.
63871 (yn_test_data): Add more tests.
63872 * sysdeps/i386/fpu/libm-test-ulps: Update.
63873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63874
63875 2013-09-02 Ondƙej Bílka <neleai@seznam.cz>
63876
63877 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63878
63879 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
63880
63881 * csu/init-first.c: Fix then/than typos.
63882 * locale/programs/ld-collate.c: Likewise.
63883 * locale/programs/linereader.h: Likewise.
63884 * manual/charset.texi: Likewise.
63885 * manual/filesys.texi: Likewise.
63886 * manual/stdio.texi: Likewise.
63887 * manual/string.texi: Likewise.
63888 * stdlib/fmtmsg.c: Likewise.
63889 * sysdeps/i386/stpncpy.S: Likewise.
63890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63891 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63892 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63893 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63894
63895 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
63896
63897 * elf/dl-open.c: Fix typos.
63898 * iconvdata/gbbig5.c: Likewise.
63899 * iconvdata/iso-2022-jp.c: Likewise.
63900 * iconv/gconv_int.h: Likewise.
63901 * iconv/loop.c: Likewise.
63902 * nis/rpcsvc/nis.h: Likewise.
63903 * resolv/ns_name.c: Likewise.
63904 * stdio-common/vfscanf.c: Likewise.
63905 * streams/stropts.h: Likewise.
63906 * sunrpc/rpc_thread.c: Likewise.
63907 * sysdeps/i386/strpbrk.S: Likewise.
63908 * sysdeps/ieee754/k_standard.c: Likewise.
63909 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63911 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63912 * sysdeps/mach/hurd/profil.c: Likewise.
63913 * sysdeps/s390/dl-procinfo.h: Likewise.
63914 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63916 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63917 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63918 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63919
63920 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
63921
63922 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63924
63925 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
63926
63927 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63928 aix specific files.
63929 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63930 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63931 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63932 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63933 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63934 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63935 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63936 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63937
63938 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63939 Roland McGrath <roland@hack.frob.com>
63940
63941 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63942 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63943
63944 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63945
63946 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63947 __executable_start symbol instead of _start.
63948
63949 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63950
63951 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63952 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63953 Move macros to...
63954 * sysdeps/gnu/ldsodefs.h: ... this new file.
63955
63956 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63957 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63958 instead of ELFOSABI_LINUX.
63959
63960 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63961 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63962 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63963 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63964 Likewise.
63965 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63966 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63967 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63968 Likewise.
63969 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63970 (ibm_extended_long_double): Add ieee_nan member.
63971 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63972 (do_test): New function.
63973
63974 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63975 TEST_TRUNC.
63976 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63977 functions, renamed from truncdfsf_test, trunctfsf_test,
63978 trunctfdf_test.
63979 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63980 functions.
63981 (do_test): Run all these.
63982
63983 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
63984
63985 * argp/argp-help.c: Fix typos.
63986 * argp/argp-parse.c: Likewise.
63987 * debug/backtracesyms.c: Likewise.
63988 * elf/elf.h: Likewise.
63989 * malloc/malloc.c: Likewise.
63990 * nis/nis_print.c: Likewise.
63991 * resolv/res_comp.c: Likewise.
63992 * stdlib/stdlib.h: Likewise.
63993 * sunrpc/clnt_tcp.c: Likewise.
63994 * sunrpc/clnt_udp.c: Likewise.
63995 * sunrpc/clnt_unix.c: Likewise.
63996 * sysdeps/unix/bsd/ptsname.c: Likewise.
63997 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64000 Likewise.
64001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64002 Likewise.
64003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64004 Likewise.
64005 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64006
64007 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64008
64009 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64011
64012 2013-08-27 Mike Frysinger <vapier@gentoo.org>
64013
64014 [BZ #15897]
64015 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64016 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64017 ($(objpfx)bug-dl-leaf): New rule.
64018 ($(objpfx)bug-dl-leaf.so): Likewise.
64019 ($(objpfx)bug-dl-leaf.out): Likewise.
64020 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64021 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64022 * dlfcn/bug-dl-leaf.c: New test.
64023 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64024 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64025 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64026 (dlclose): Likewise.
64027 (dlmopen): Likewise.
64028
64029 2013-08-27 Roland McGrath <roland@hack.frob.com>
64030
64031 * include/netdb.h [!_ISOMAC]:
64032 Don't include <tls.h>.
64033 (h_errno, __libc_h_errno): Move declaration and macros out of
64034 [_LIBC_REENTRANT].
64035
64036 * include/resolv.h [_RESOLV_H_]:
64037 Don't include <tls.h>.
64038 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64039 * resolv/res_libc.c: Don't include <tls.h>.
64040 (_res): Use __attribute__ ((nocommon)) in place of
64041 __attribute__ ((section (".bss"))).
64042
64043 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64044 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64045
64046 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64047
64048 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64049 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64050
64051 * resolv/res_mkquery.c: Include <sys/time.h>.
64052
64053 * inet/ifreq.c: Moved to ...
64054 * sysdeps/unix/ifreq.c: ... here.
64055 * inet/ifreq.c: New file, true stub version.
64056
64057 * socket/sa_len.c: New file.
64058 * socket/Makefile (aux): Add it.
64059 * sysdeps/unix/sysv/linux/Makefile
64060 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64061 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64062 and #include <socket/sa_len.c>.
64063 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64064 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64065
64066 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64067 * bits/socket.h: ... here.
64068
64069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64070 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64071 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64072
64073 2013-08-27 Andreas Schwab <schwab@suse.de>
64074
64075 [BZ #15736]
64076 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64077 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64078 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64079 * string/test-strcasecmp.c (test_main): Run tests in several
64080 locales.
64081 * string/test-strncasecmp.c (test_main): Likewise.
64082
64083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64084 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64085 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64087 (__strncasecmp_ssse3) [PIC]: Likewise.
64088
64089 2013-08-26 Roland McGrath <roland@hack.frob.com>
64090
64091 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64092
64093 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64094 instead of explicitly declaring xdecrypt.
64095 * nis/nss_nis/nis-publickey.c: Likewise.
64096
64097 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64098
64099 [BZ #15890]
64100 * nscd/aicache.c: Include res_hconf.h.
64101 (addhstaiX): Initialize res_hconf.
64102
64103 2013-08-26 Andreas Schwab <schwab@suse.de>
64104
64105 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64106 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64107
64108 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64109
64110 * nscd/aicache.c (addhstaiX): Fix indentation.
64111
64112 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64113
64114 * configure.ac: Quote $build_pt_chown test.
64115 * configure: Regenerated.
64116
64117 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64118
64119 [BZ #15532]
64120 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64121 * math/s_cexpf.c (__cexpf): Likewise.
64122 * math/s_cexpl.c (__cexpl): Likewise.
64123 * math/libm-test.inc (cexp_test_data): Correct expected return
64124 value for NaN + i0. Add another test.
64125
64126 2013-08-22 David S. Miller <davem@davemloft.net>
64127
64128 * po/ca.po: Update Catalan translation from translation project.
64129 * po/uk.po: Add Ukrainian translations from translation project.
64130
64131 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64132
64133 [BZ #15797]
64134 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64135 is infinite, not alongside NaN test.
64136 * math/s_fdimf.c (__fdimf): Likewise.
64137 * math/s_fdiml.c (__fdiml): Likewise.
64138 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64139 errno is unchanged.
64140
64141 2013-08-21 Ondƙej Bílka <neleai@seznam.cz>
64142
64143 * argp/argp-help.c: Fix typos.
64144 * crypt/speeds.c: Likewise.
64145 * csu/check_fds.c: Likewise.
64146 * elf/dl-load.c: Likewise.
64147 * elf/dl-open.c: Likewise.
64148 * elf/reldep3.c: Likewise.
64149 * elf/reldep.c: Likewise.
64150 * elf/sprof.c: Likewise.
64151 * iconv/iconv_charmap.c: Likewise.
64152 * iconv/skeleton.c: Likewise.
64153 * iconv/strtab.c: Likewise.
64154 * io/lockf64.c: Likewise.
64155 * libio/libioP.h: Likewise.
64156 * resolv/gai_notify.c: Likewise.
64157 * resolv/ns_name.c: Likewise.
64158 * resolv/ns_samedomain.c: Likewise.
64159 * resolv/res_send.c: Likewise.
64160 * stdlib/random.c: Likewise.
64161 * sunrpc/rpc/xdr.h: Likewise.
64162 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64163 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64164 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64165 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64170 * sysdeps/mach/hurd/check_fds.c: Likewise.
64171 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64172 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64175 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64176 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64177 * sysdeps/pthread/aio_notify.c: Likewise.
64178 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64179 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64180 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64182 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64183
64184 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64185
64186 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64187 version if bit_Slow_SSE4_2 is set.
64188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64190
64191 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64192
64193 [BZ #15867]
64194 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64195 trampoline stack frame information.
64196 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64198 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64199 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64200 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64201 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64202 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64203 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64204 sa_flags value.
64205 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64206 interrupting a syscall and set with option SA_SIGINFO.
64207
64208 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64209
64210 [BZ #15531]
64211 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64212 argument is infinite.
64213 * math/s_cprojf.c (__cprojf): Likewise.
64214 * math/s_cprojl.c (__cprojl): Likewise.
64215 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64216 * math/libm-test.inc (cproj_test_data): Add more tests.
64217
64218 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64219
64220 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64221 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64222 size. Use __ffs to determine corresponding shift.
64223
64224 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64225 Roland McGrath <roland@hack.frob.com>
64226
64227 * Makefile (INSTALL): Remove trailing blank lines from output of
64228 makeinfo.
64229
64230 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64231
64232 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64233 Align 32 bit compat elf_greg to 8 bytes.
64234
64235 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64236
64237 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64238
64239 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64240
64241 * string/strcoll_l.c (coll_seq): New structure.
64242 (get_next_seq_cached): New function.
64243 (get_next_seq): New function.
64244 (do_compare): New function.
64245 (STRCOLL): Use GNU style definition. Simplify implementation
64246 by using get_next_seq, get_next_seq_cached and do_compare.
64247
64248 2013-08-16 Florian Weimer <fweimer@redhat.com>
64249
64250 [BZ #14699]
64251 CVE-2013-4237
64252 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64253 member.
64254 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64255 member.
64256 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64257 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64258 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64259 conditional.
64260 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64261 GETDENTS_64BIT_ALIGNED.
64262 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64263 * manual/filesys.texi (Reading/Closing Directory): Document
64264 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64265 strongly.
64266 * manual/conf.texi (Limits for Files): Add portability note to
64267 NAME_MAX, PATH_MAX.
64268 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64269
64270 2013-08-13 Andreas Schwab <schwab@suse.de>
64271
64272 [BZ #15749]
64273 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64274 of fabs.
64275 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64276 LDBL_MAX_EXP >= 16384]: Add tests for it.
64277
64278 2013-08-12 David S. Miller <davem@davemloft.net>
64279
64280 * version.h (RELEASE): Set to "development".
64281 (VERSION): Set to "2.18.90".
64282 * NEWS: Add 2.19 section.
64283
64284 2013-08-03 David S. Miller <davem@davemloft.net>
64285
64286 * po/ko.po: Update Korean translation from translation project.
64287
64288 2013-08-01 David S. Miller <davem@davemloft.net>
64289
64290 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64291 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64292 Bilka.
64293
64294 2013-07-30 David S. Miller <davem@davemloft.net>
64295
64296 * po/fr.po: Update French translation from translation project.
64297
64298 2013-07-28 David S. Miller <davem@davemloft.net>
64299
64300 * po/cs.po: Update Czech translation from translation project.
64301
64302 * po/sv.po: Update Swedish translation from translation project.
64303
64304 2013-07-27 David S. Miller <davem@davemloft.net>
64305
64306 * po/eo.po: Update Esperanto translation from translation project.
64307
64308 * po/vi.po: Update Vietnamese translation from translation project.
64309
64310 * po/de.po: Update German translation from translation project.
64311
64312 2013-07-26 David S. Miller <davem@davemloft.net>
64313
64314 * po/bg.po: Update Bulgarian translation from translation project.
64315
64316 * po/nl.po: Update Dutch translation from translation project.
64317 * po/pl.po: Update Polish translation from translation project.
64318 * po/ru.po: Update Russian translation from translation project.
64319
64320 2013-07-24 David S. Miller <davem@davemloft.net>
64321
64322 * po/libc.pot: Update.
64323
64324 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64325
64326 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64327 variable page size.
64328 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64329 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64331
64332 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64333
64334 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64335
64336 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64337 Andreas Schwab <schwab@suse.de>
64338 Roland McGrath <roland@hack.frob.com>
64339 Joseph Myers <joseph@codesourcery.com>
64340 Carlos O'Donell <carlos@redhat.com>
64341
64342 [BZ #15755]
64343 * config.h.in: Define HAVE_PT_CHOWN.
64344 * config.make.in (build-pt-chown): New variable.
64345 * configure.in (--enable-pt_chown): New configure option.
64346 * configure: Regenerate.
64347 * login/Makefile: Include Makeconfig. Build pt_chown only if
64348 build-pt-chown is enabled.
64349 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64350 pt_chown to fix pty ownership.
64351 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64352 CLOSE_ALL_FDS.
64353 * manual/install.texi (Configuring and compiling): Mention
64354 --enable-pt_chown. Add @findex for grantpt.
64355 * INSTALL: Regenerate.
64356
64357 2013-07-20 David S. Miller <davem@davemloft.net>
64358
64359 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64360 difference between 32-bit and 64-bit.
64361
64362 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64363
64364 [BZ #15711]
64365 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64366 Avoid system header dependency with -ffreestanding.
64367 ($(objpfx)bits/syscall%d): Likewise.
64368
64369 2013-07-13 David S. Miller <davem@davemloft.net>
64370
64371 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64372 underflows from atanl/atan2l due to bug 15319.
64373 (casinh_test_data): Likewise.
64374
64375 2013-07-07 David S. Miller <davem@davemloft.net>
64376
64377 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64378
64379 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64380
64381 * sysdeps/i386/fpu/libm-test-ulps: Update.
64382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64383
64384 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64385
64386 * configure.in (--enable-lock-elision): Fix message text.
64387 * INSTALL: Regenerate.
64388 * configure: Regenerate.
64389
64390 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64391
64392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64393
64394 2013-07-03 Andreas Jaeger <aj@suse.de>
64395
64396 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64397 define.
64398 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64399 (ptrace_peeksiginfo_args): Add.
64400 (__ptrace_peeksiginfo_flags): Add.
64401 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64403 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64404
64405 2013-07-03 Allan McRae <allan@archlinux.org>
64406
64407 * sysdeps/i386/fpu/libm-test-ulps: Update.
64408
64409 2013-07-02 David S. Miller <davem@davemloft.net>
64410
64411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64412
64413 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64414
64415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64416
64417 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64418
64419 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64421
64422 2013-07-02 Andi Kleen <ak@linux.intel.com>
64423
64424 * config.h.in (ENABLE_LOCK_ELISION): Add.
64425 * configure.in (--enable-lock-elision): Add option.
64426 * manual/install.texi: Document --enable lock elision.
64427 * configure: Regenerate
64428 * INSTALL: Regenerate.
64429
64430 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64431
64432 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64433 SSE4.2 strcasecmp for libc.a.
64434 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64435
64436 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64437
64438 [BZ #13304]
64439 * soft-fp/op-common.h (_FP_FMA): New macro.
64440 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64441 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64442 (_FP_MUL_MEAT_1_imm): ... here.
64443 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64444 (_FP_MUL_MEAT_1_wide): ... here.
64445 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64446 (_FP_MUL_MEAT_1_hard): ... here.
64447 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64448 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64449 (_FP_MUL_MEAT_2_wide): ... here.
64450 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64451 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64452 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64453 (_FP_MUL_MEAT_2_gmp): ... here.
64454 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64455 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64456 (_FP_MUL_MEAT_4_wide): ... here.
64457 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64458 (_FP_MUL_MEAT_4_gmp): ... here.
64459 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64460 (_FP_WFRACBITS_DW_S): Likewise.
64461 (_FP_WFRACXBITS_DW_S): Likewise.
64462 (_FP_HIGHBIT_DW_S): Likewise.
64463 (FP_FMA_S): Likewise.
64464 (_FP_FRAC_HIGH_DW_S): Likewise.
64465 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64466 (_FP_WFRACBITS_DW_D): Likewise.
64467 (_FP_WFRACXBITS_DW_D): Likewise.
64468 (_FP_HIGHBIT_DW_D): Likewise.
64469 (FP_FMA_D): Likewise.
64470 (_FP_FRAC_HIGH_DW_D): Likewise.
64471 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64472 (_FP_WFRACBITS_DW_E): Likewise.
64473 (_FP_WFRACXBITS_DW_E): Likewise.
64474 (_FP_HIGHBIT_DW_E): Likewise.
64475 (FP_FMA_E): Likewise.
64476 (_FP_FRAC_HIGH_DW_E): Likewise.
64477 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64478 (_FP_WFRACBITS_DW_Q): Likewise.
64479 (_FP_WFRACXBITS_DW_Q): Likewise.
64480 (_FP_HIGHBIT_DW_Q): Likewise.
64481 (FP_FMA_Q): Likewise.
64482 (_FP_FRAC_HIGH_DW_Q): Likewise.
64483 * soft-fp/fmasf4.c: New file.
64484 * soft-fp/fmadf4.c: Likewise.
64485 * soft-fp/fmatf4.c: Likewise.
64486
64487 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64488
64489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64490 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64491 Silvermont.
64492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64493 macro.
64494 (index_Slow_SSE4_2): Likewise.
64495 (index_Prefer_PMINUB_for_stringop): Likewise.
64496 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64497 bit_Slow_SSE4_2 is set.
64498 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64500
64501 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64502
64503 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64504 rtld_global._dl_hwcap2.
64505 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64506 POWER8.
64507 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64508 POWER8 feature descriptions defined in _dl_hwcap2.
64509 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64510 string handling for POWER8 feature bits.
64511 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64512 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64513 _dl_powerpc_cap_flags.
64514 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64515 * sysdeps/powerpc/rtld-global-offsets.sym
64516 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64517 _dl_hwcap2 in the rtld_global_ro structure.
64518
64519 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64520
64521 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64522 hardware capabilities in support of AT_HWCAP2.
64523 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64524 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64525 GLRO(dl_hwcap2).
64526 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64527 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64528 explicitly the unknown a_type display mechanism is used.
64529 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64530 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64531 struct member.
64532 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64533 to macro prototype for AT_HWCAP2 support.
64534 * sysdeps/i386/dl-procinfo.h: Likewise.
64535 * sysdeps/s390/dl-procinfo.h: Likewise.
64536 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64537 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64538 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64539 return -1 for unknown a_type display fallback.
64540 * sysdeps/sparc/dl-procinfo.h: Likewise.
64541 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64542 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64543
64544 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64545
64546 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64547 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64548
64549 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64550
64551 [BZ #12492]
64552 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64553 mprotect making __stack_prot writable.
64554
64555 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64556 Joseph Myers <joseph@codesourcery.com>
64557
64558 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64559 as being properly aligned.
64560
64561 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64562
64563 * dlfcn/modstatic5.c: New file.
64564 * dlfcn/tststatic5.c: New file.
64565 * dlfcn/Makefile (tests): Add tststatic5.
64566 (tests-static): Likewise.
64567 (modules-names): Add modstatic5.
64568 (tststatic5-ENV): New variable.
64569 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64570
64571 [BZ #15022]
64572 * elf/dl-support.c (_dl_main_map): New variable.
64573 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64574 (_dl_nns, _dl_load_adds): Set to 1.
64575 (_dl_initial_searchlist): Refer to _dl_main_map.
64576 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64577 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64578 call to _dl_get_origin.
64579 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64580 around call_map.
64581 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64582 * dlfcn/modstatic3.c: New file.
64583 * dlfcn/tststatic3.c: New file.
64584 * dlfcn/tststatic4.c: New file.
64585 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64586 (tests-static): Likewise.
64587 (modules-names): Add modstatic3.
64588 (tststatic3-ENV, tststatic4-ENV): New variables.
64589 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64590 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64591
64592 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64593
64594 * configure.in (CC): Require GCC version 4.4 or later.
64595 * configure: Regenerated.
64596 * manual/install.texi (Tools for Compilation): Update GCC version
64597 requirement.
64598 * INSTALL: Regenerated.
64599
64600 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64601
64602 [BZ #15674]
64603 * string/test-memcmp.c (check2): New.
64604 (main): Call check2.
64605
64606 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64607
64608 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64609
64610 [BZ #15022]
64611 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64612 over to...
64613 (dl_open_worker) [!SHARED]: ... here.
64614
64615 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64616
64617 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64618
64619 2013-06-25 Richard Henderson <rth@redhat.com>
64620
64621 * locale/programs/locarchive.c: Include <libc-internal.h>
64622
64623 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64624
64625 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64626 trailing whitespace removed.
64627
64628 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64629
64630 [BZ #10283]
64631 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64632 * locale/programs/locarchive.c: Include libc-mmap.h.
64633 (prepare_address_space): Take two new outputs (the mmap base and len).
64634 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64635 values.
64636 (create_archive): Declare new mmap base and len values for
64637 prepare_address_space, and store the result in ah.
64638 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64639 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64640 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64641 Declare new mmap base and len values for
64642 prepare_address_space, and store the result in new_ah.
64643 (open_archive): Declare new mmap base and len values for
64644 prepare_address_space, and store the result in ah.
64645 (close_archive): If ah->mmap_base is not NULL, use that and
64646 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64647 * sysdeps/generic/libc-mmap.h: New file.
64648
64649 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64650
64651 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64652 (ALIGN_UP): Likewise.
64653 (PTR_ALIGN_DOWN): Likewise.
64654 (PTR_ALIGN_UP): Likewise.
64655
64656 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64657
64658 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64659 entry mapped to PPC_PLATFORM_POWER8.
64660 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64661 POWER8.
64662 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64663 (_dl_string_platform): Add case for exporting platform position for
64664 POWER8.
64665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64666 search path to sysdeps/powerpc/powerpc32/power8 directory.
64667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64668 search path to sysdeps/powerpc/powerpc64/power8 directory.
64669 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64670 power7 directories.
64671 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64672 power7 directories.
64673
64674 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64675
64676 * INSTALL: Regenerate.
64677
64678 * nscd/connections.c (nscd_init): Fix comment.
64679
64680 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64681
64682 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64683
64684 [BZ #15667]
64685 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64686 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64687
64688 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64689
64690 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64691 DL_DST_REQ_STATIC.
64692 (DL_DST_REQ_STATIC): Remove macro.
64693
64694 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64695
64696 [BZ #7006]
64697 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64698 with a shift of 0 bits.
64699
64700 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64701
64702 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64703 $(tststatic-ENV).
64704
64705 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64706
64707 [BZ #15655]
64708 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64709
64710 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64711
64712 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64713 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64714 accepts -fno-tree-loop-distribute-patterns.
64715 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64716 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64717 recursive call.
64718 * string/memset.c (memset): Likewise.
64719 * string/test-memmove.c (simple_memmove): Disable loop transformation
64720 to library calls.
64721 * string/test-memset.c (simple_memset): Likewise.
64722 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64723 * benchtests/bench-memset.c (simple_memset): Likewise.
64724 * configure: Regenerated.
64725
64726 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64727
64728 * math/test-misc.c (main): Ignore fesetround failure when failures
64729 of subsequent rounding tests would be ignored.
64730
64731 [BZ #15654]
64732 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64733 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64734 * math/fegetenv.c (__fegetenv): Return 0.
64735 * math/fegetexcept.c (fegetexcept): Return 0.
64736 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64737 FE_TONEAREST.
64738 * math/feholdexcpt.c (feholdexcept): Return 0.
64739 * math/fesetenv.c (__fesetenv): Return 0.
64740 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64741 argument FE_TONEAREST.
64742 * math/feupdateenv.c (__feupdateenv): Return 0.
64743 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64744
64745 2013-06-18 Roland McGrath <roland@hack.frob.com>
64746
64747 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64748 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64749 ($(objpfx)rtld-%.os rules): Use them.
64750
64751 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64752
64753 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64754 fields.
64755
64756 2013-06-17 Roland McGrath <roland@hack.frob.com>
64757
64758 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64759 length of target pattern, then descending length of dependency pattern.
64760 * configure.in (AWK): Require gawk 3.1.2 or newer.
64761 * manual/install.texi (Tools for Compilation): Say that we do.
64762 * configure: Regenerated.
64763
64764 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64765 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64766 * scripts/sysd-rules.awk: ... this new script.
64767 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64768 than a glob-style pattern.
64769
64770 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64771
64772 * math/test-misc.c (main): Do not treat incorrectly rounded
64773 conversions as failure unless ROUNDING_TESTS passes.
64774
64775 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64776
64777 [BZ #15631]
64778 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64779 restore exception state around main square root computation, then
64780 check for inexactness explicitly.
64781
64782 * math/libm-test.inc (fma_test_data): Add another test.
64783
64784 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64785
64786 * manual/threads.texi (Non-POSIX Extensions): New document
64787 node. Document pthread_getattr_default_np and
64788 pthread_setattr_default_np.
64789
64790 * Versions.def (libpthread): Add GLIBC_2.18.
64791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64793 Likewise.
64794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64795 Likewise.
64796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64797 Likewise.
64798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64799 Likewise.
64800 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64801 Likewise.
64802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64803 Likewise.
64804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64805 Likewise.
64806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64807 Likewise.
64808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64809 Likewise.
64810
64811 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64812
64813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64814 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64815
64816 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64817 H.J. Lu <hjl.tools@gmail.com>
64818
64819 [BZ #15627]
64820 * sysdeps/x86_64/rtld-memset.c: Remove file.
64821 * sysdeps/x86_64/rtld-memset.S: New file.
64822
64823 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64824
64825 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64826 (test_in_one_mode): Take arguments for whether the rounding mode
64827 is supported for each floating-point type.
64828 (do_test): Pass new arguments to test_in_one_mode using
64829 ROUNDING_TESTS.
64830
64831 2013-06-13 Roland McGrath <roland@hack.frob.com>
64832
64833 * posix/tst-waitid.c (do_test): Distinguish different instances of
64834 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64835 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64836 before entering the kernel for waitpid.
64837
64838 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64839
64840 * NEWS: Fix note on clock function precision. Text by Roland
64841 McGrath.
64842
64843 2013-06-13 Roland McGrath <roland@hack.frob.com>
64844
64845 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64846 it into place only when and if the sanity check passes.
64847
64848 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64849
64850 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64851 output for whether conversion result is exact. Take argument
64852 indicating whether type is IBM long double.
64853 (round_for_all): Change need_exact field to ibm_ld.
64854 * stdlib/tst-strtod-round.c (struct exactness): New type.
64855 (struct test): Change bool ld_ok field to struct exactness exact.
64856 (TEST): Update all definitions for change to field.
64857 (tests): Regenerate array contents.
64858 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64859 field value. Check for IBM long double here.
64860 (do_test): Update calls to test_in_one_mode.
64861
64862 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64863
64864 [BZ #12515]
64865 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64866 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64867
64868 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64869
64870 [BZ #15605]
64871 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64872 generated by the compiler on loop optimizations.
64873 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64874 general definitions.
64875
64876 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64877
64878 * math/bug-nextafter.c: Include <math-tests.h>.
64879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64880 the relevant type.
64881 * math/bug-nexttoward.c: Include <math-tests.h>.
64882 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64883 the relevant type.
64884 * math/test-misc.c: Include <math-tests.h>.
64885 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64886 the relevant type.
64887
64888 2013-06-12 Andreas Jaeger <aj@suse.de>
64889
64890 * po/ia.po: Update Interlingua translation from translation
64891 project.
64892
64893 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64894
64895 * include/fenv.h: Include stdbool.h.
64896 (struct rm_ctx): New structure.
64897 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64898 Define macro.
64899 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64900 (SET_RESTORE_ROUNDF): Likewise.
64901 (SET_RESTORE_ROUNDL): Likewise.
64902 (SET_RESTORE_ROUND_NOEX): Likewise.
64903 (SET_RESTORE_ROUND_NOEXF): Likewise.
64904 (SET_RESTORE_ROUND_NOEXL): Likewise.
64905 (SET_RESTORE_ROUND_53BIT): Likewise.
64906 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64907 (libc_feresetround_noexf_ctx): Likewise.
64908 (libc_feresetround_noexl_ctx): Likewise.
64909 (libc_feholdsetround_53bit_ctx): Likewise.
64910 (libc_feresetround_53bit_ctx): Likewise.
64911 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64912 (libc_feholdexcept_setround_sse_ctx): New function.
64913 (libc_fesetenv_sse_ctx): Likewise.
64914 (libc_feupdateenv_sse_ctx): Likewise.
64915 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64916 (libc_feholdexcept_setround_387_ctx): Likewise.
64917 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64918 (libc_feholdsetround_387_prec_ctx): Likewise.
64919 (libc_feholdsetround_387_ctx): Likewise.
64920 (libc_feholdsetround_387_53bit_ctx): Likewise.
64921 (libc_feholdsetround_sse_ctx): Likewise.
64922 (libc_feresetround_sse_ctx): Likewise.
64923 (libc_feresetround_387_ctx): Likewise.
64924 (libc_feupdateenv_387_ctx): Likewise.
64925 (libc_feholdexcept_setroundf_ctx): Define macro.
64926 (libc_fesetenvf_ctx): Likewise.
64927 (libc_feupdateenvf_ctx): Likewise.
64928 (libc_feholdsetroundf_ctx): Likewise.
64929 (libc_feresetroundf_ctx): Likewise.
64930 (libc_feholdexcept_setround_ctx): Likewise.
64931 (libc_fesetenv_ctx): Likewise.
64932 (libc_feupdateenv_ctx): Likewise.
64933 (libc_feholdsetround_ctx): Likewise.
64934 (libc_feresetround_ctx): Likewise.
64935 (libc_feholdexcept_setroundl_ctx): Likewise.
64936 (libc_feupdateenvl_ctx): Likewise.
64937 (libc_feholdsetroundl_ctx): Likewise.
64938 (libc_feresetroundl_ctx): Likewise.
64939 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64940 (libc_feresetround_53bit_ctx): Likewise.
64941
64942 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64943
64944 * locale/iso-639.def: Convert to UTF-8.
64945
64946 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64947
64948 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64949 (EXCEPTION_TESTS_double): Likewise.
64950 (EXCEPTION_TESTS_long_double): Likewise.
64951 (EXCEPTION_TESTS): Likewise.
64952 * math/libm-test.inc (test_exceptions): Only test exceptions if
64953 EXCEPTION_TESTS (FLOAT).
64954
64955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64956
64957 * benchtests/Makefile (string-bench): Add strcpy_chk and
64958 stpcpy_chk.
64959 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64960 * benchtests/bench-stpcpy_chk.c: New file.
64961 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64962 * benchtests/bench-strcpy_chk.c: New file.
64963 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64964 code.
64965 (do_test): Likewise.
64966
64967 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64968
64969 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64970 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64971 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64972 with tabs where appropriate.
64973 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64974 dl-procinfo.h.
64975 [PPC_PLATFORM_PPC440]: Likewise.
64976 [PPC_PLATFORM_PPC464]: Likewise.
64977 [PPC_PLATFORM_PPC476]: Likewise.
64978 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64979 ppc464, and ppc476 platform strings merging from ports/
64980 dl-procinfo.h.
64981
64982 2013-06-11 Andreas Schwab <schwab@suse.de>
64983
64984 [BZ #14991]
64985 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64986 (from_ucs4_idx): Regenerate.
64987 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64988 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64989 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64990 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64991 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64992 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64993 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64994 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64995 from FROM_LOOP and TO_LOOP specific macros.
64996 (BODY): Handle combining characters.
64997 * iconvdata/BIG5HKSCS.irreversible: Update.
64998 * iconvdata/BIG5HKSCS.precomposed: New file.
64999 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65000 characters.
65001 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65002
65003 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65004
65005 * include/sys/time.h: Fix indentation and add copyright header.
65006
65007 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65008 (do_test): Likewise.
65009 * string/test-memchr.c (do_one_test): Likewise.
65010 (do_test): Likewise.
65011 * string/test-memcmp.c (do_one_test): Likewise.
65012 (do_test): Likewise.
65013 * string/test-memcpy.c (do_one_test): Likewise.
65014 (do_test): Likewise.
65015 * string/test-memmem.c (do_one_test): Likewise.
65016 (do_test): Likewise.
65017 (do_random_tests): Likewise.
65018 * string/test-memmove.c (do_one_test): Likewise.
65019 (do_test): Likewise.
65020 * string/test-memset.c (do_one_test): Likewise.
65021 (do_test): Likewise.
65022 * string/test-rawmemchr.c (do_one_test): Likewise.
65023 (do_test): Likewise.
65024 * string/test-strcasecmp.c (do_one_test): Likewise.
65025 (do_test): Likewise.
65026 * string/test-strcasestr.c (do_one_test): Likewise.
65027 (do_test): Likewise.
65028 * string/test-strcat.c (do_one_test): Likewise.
65029 (do_test): Likewise.
65030 * string/test-strchr.c (do_one_test): Likewise.
65031 (do_test): Likewise.
65032 * string/test-strcmp.c (do_one_test): Likewise.
65033 (do_test): Likewise.
65034 * string/test-strcpy.c (do_one_test): Likewise.
65035 (do_test): Likewise.
65036 * string/test-string.h: Likewise.
65037 (test_init): Likewise.
65038 * string/test-strlen.c (do_one_test): Likewise.
65039 (do_test): Likewise.
65040 * string/test-strncasecmp.c (do_one_test): Likewise.
65041 (do_test): Likewise.
65042 * string/test-strncat.c (do_one_test): Likewise.
65043 (do_test): Likewise.
65044 * string/test-strncmp.c (do_one_test): Likewise.
65045 (do_test_limit): Likewise.
65046 (do_test): Likewise.
65047 * string/test-strncpy.c (do_one_test): Likewise.
65048 (do_test): Likewise.
65049 * string/test-strnlen.c (do_one_test): Likewise.
65050 (do_test): Likewise.
65051 * string/test-strpbrk.c (do_one_test): Likewise.
65052 (do_test): Likewise.
65053 * string/test-strrchr.c (do_one_test): Likewise.
65054 (do_test): Likewise.
65055 * string/test-strspn.c (do_one_test): Likewise.
65056 (do_test): Likewise.
65057 * string/test-strstr.c (do_one_test): Likewise.
65058 (do_test): Likewise.
65059
65060 * benchtests/Makefile (string-bench): Add string benchmarks.
65061 * benchtests/bench-bcopy-ifunc.c: New file.
65062 * benchtests/bench-bcopy.c: New file.
65063 * benchtests/bench-bzero-ifunc.c: New file.
65064 * benchtests/bench-bzero.c: New file.
65065 * benchtests/bench-memccpy-ifunc.c: New file.
65066 * benchtests/bench-memccpy.c: New file.
65067 * benchtests/bench-memchr-ifunc.c: New file.
65068 * benchtests/bench-memchr.c: New file.
65069 * benchtests/bench-memcmp-ifunc.c: New file.
65070 * benchtests/bench-memcmp.c: New file.
65071 * benchtests/bench-memmem-ifunc.c: New file.
65072 * benchtests/bench-memmem.c: New file.
65073 * benchtests/bench-memmove-ifunc.c: New file.
65074 * benchtests/bench-memmove.c: New file.
65075 * benchtests/bench-mempcpy-ifunc.c: New file.
65076 * benchtests/bench-mempcpy.c: New file.
65077 * benchtests/bench-memset-ifunc.c: New file.
65078 * benchtests/bench-memset.c: New file.
65079 * benchtests/bench-rawmemchr-ifunc.c: New file.
65080 * benchtests/bench-rawmemchr.c: New file.
65081 * benchtests/bench-stpcpy-ifunc.c: New file.
65082 * benchtests/bench-stpcpy.c: New file.
65083 * benchtests/bench-stpncpy-ifunc.c: New file.
65084 * benchtests/bench-stpncpy.c: New file.
65085 * benchtests/bench-strcasecmp-ifunc.c: New file.
65086 * benchtests/bench-strcasecmp.c: New file.
65087 * benchtests/bench-strcasestr-ifunc.c: New file.
65088 * benchtests/bench-strcasestr.c: New file.
65089 * benchtests/bench-strcat-ifunc.c: New file.
65090 * benchtests/bench-strcat.c: New file.
65091 * benchtests/bench-strchr-ifunc.c: New file.
65092 * benchtests/bench-strchr.c: New file.
65093 * benchtests/bench-strchrnul-ifunc.c: New file.
65094 * benchtests/bench-strchrnul.c: New file.
65095 * benchtests/bench-strcmp-ifunc.c: New file.
65096 * benchtests/bench-strcmp.c: New file.
65097 * benchtests/bench-strcpy-ifunc.c: New file.
65098 * benchtests/bench-strcpy.c: New file.
65099 * benchtests/bench-strcspn-ifunc.c: New file.
65100 * benchtests/bench-strcspn.c: New file.
65101 * benchtests/bench-strlen-ifunc.c: New file.
65102 * benchtests/bench-strlen.c: New file.
65103 * benchtests/bench-strncasecmp-ifunc.c: New file.
65104 * benchtests/bench-strncasecmp.c: New file.
65105 * benchtests/bench-strncat-ifunc.c: New file.
65106 * benchtests/bench-strncat.c: New file.
65107 * benchtests/bench-strncmp-ifunc.c: New file.
65108 * benchtests/bench-strncmp.c: New file.
65109 * benchtests/bench-strncpy-ifunc.c: New file.
65110 * benchtests/bench-strncpy.c: New file.
65111 * benchtests/bench-strnlen-ifunc.c: New file.
65112 * benchtests/bench-strnlen.c: New file.
65113 * benchtests/bench-strpbrk-ifunc.c: New file.
65114 * benchtests/bench-strpbrk.c: New file.
65115 * benchtests/bench-strrchr-ifunc.c: New file.
65116 * benchtests/bench-strrchr.c: New file.
65117 * benchtests/bench-strspn-ifunc.c: New file.
65118 * benchtests/bench-strspn.c: New file.
65119 * benchtests/bench-strstr-ifunc.c: New file.
65120 * benchtests/bench-strstr.c: New file.
65121
65122 * benchtests/Makefile: Disable parallel execution of targets.
65123 (string-bench): Add memcpy.
65124 (benchset): New variable to store a list of benchmark sets.
65125 (bench-func): Renamed from bench.
65126 (bench-set): New target.
65127 (bench): Depend on bench-func and bench-set.
65128 * benchtests/README: Add section on benchmark sets.
65129 * benchtests/bench-memcpy-ifunc.c: New file.
65130 * benchtests/bench-memcpy.c: New file.
65131 * benchtests/bench-string.h: New file.
65132
65133 2013-06-11 Andreas Schwab <schwab@suse.de>
65134
65135 [BZ #15577]
65136 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65137 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65138 values in the triple.
65139 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65140 terminator in the group key.
65141
65142 2013-06-11 Andreas Jaeger <aj@suse.de>
65143
65144 * po/zh_TW.po: Update Chinese (traditional) translation from
65145 translation project.
65146
65147 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65148
65149 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65150 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65151 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65152 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65153 (clock_getcpuclockid): Likewise.
65154 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65155 Add weak_alias and libc_hidden_def.
65156 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65157 * rt/clock_gettime.c (clock_gettime): Rename to
65158 __clock_gettime. Add weak_alias and libc_hidden_def.
65159 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65160 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65161 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65162 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65163 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65164 Likewise.
65165 * rt/clock_settime.c (clock_settime): Rename to
65166 __clock_settime. Add weak_alias and libc_hidden_def.
65167 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65168
65169 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65170
65171 * mach/err_boot.sub: Remove trailing whitespace.
65172 * mach/err_ipc.sub: Likewise.
65173 * mach/err_mach.sub: Likewise.
65174
65175 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65176 (ROUNDING_TESTS_double): Likewise.
65177 (ROUNDING_TESTS_long_double): Likewise.
65178 (ROUNDING_TESTS): Likewise.
65179 * math/libm-test.inc: Include <math-tests.h>.
65180 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65181 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65182 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65183 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65184
65185 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65186
65187 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65188 of assigning.
65189
65190 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65191
65192 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65193 otherwise empty TRANS lines.
65194 * sysdeps/gnu/errlist.c: Regenerated.
65195
65196 * catgets/gencat.c (error_print): Use (void) in function
65197 definition.
65198 * crypt/crypt_util.c (__init_des): Likewise.
65199 * crypt/speeds.c (Stop): Likewise.
65200 (main): Likewise.
65201 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65202 * inet/ruserpass.c (token): Likewise.
65203 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65204 * intl/localealias.c (extend_alias_table): Likewise.
65205 * intl/plural-exp.c (init_germanic_plural): Likewise.
65206 * libio/fcloseall.c (__fcloseall): Likewise.
65207 * libio/genops.c (_IO_flush_all): Likewise.
65208 (_IO_flush_all_linebuffered): Likewise.
65209 (_IO_cleanup): Likewise.
65210 (_IO_iter_begin): Likewise.
65211 (_IO_iter_end): Likewise.
65212 (_IO_list_lock): Likewise.
65213 (_IO_list_unlock): Likewise.
65214 (_IO_list_resetlock): Likewise.
65215 * libio/getchar.c (getchar): Likewise.
65216 * libio/getchar_u.c (getchar_unlocked): Likewise.
65217 * libio/getwchar.c (getwchar): Likewise.
65218 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65219 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65220 * login/getpt.c (__getpt): Likewise.
65221 * login/tst-utmp.c (main): Likewise.
65222 * malloc/hooks.c (__malloc_check_init): Likewise.
65223 * malloc/malloc.c (__malloc_stats): Likewise.
65224 * malloc/mtrace.c (tr_break): Likewise.
65225 (mtrace): Likewise.
65226 (muntrace): Likewise.
65227 * misc/fstab.c (endfsent): Likewise.
65228 * misc/getclktck.c (__getclktck): Likewise.
65229 * misc/getdtsz.c (__getdtablesize): Likewise.
65230 * misc/gethostid.c (gethostid): Likewise.
65231 * misc/getpagesize.c (__getpagesize): Likewise.
65232 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65233 (__get_nprocs): Likewise.
65234 (__get_phys_pages): Likewise.
65235 (__get_avphys_pages): Likewise.
65236 * misc/getttyent.c (getttyent): Likewise.
65237 (setttyent): Likewise.
65238 (endttyent): Likewise.
65239 * misc/getusershell.c (getusershell): Likewise.
65240 (endusershell): Likewise.
65241 (setusershell): Likewise.
65242 (initshells): Likewise.
65243 * misc/hsearch.c (__hdestroy): Likewise.
65244 * misc/sync.c (sync): Likewise.
65245 * misc/syslog.c (closelog_internal): Likewise.
65246 (closelog): Likewise.
65247 * misc/ttyslot.c (ttyslot): Likewise.
65248 * misc/vhangup.c (vhangup): Likewise.
65249 * posix/fork.c (__fork): Likewise.
65250 * posix/getegid.c (__getegid): Likewise.
65251 * posix/geteuid.c (__geteuid): Likewise.
65252 * posix/getgid.c (__getgid): Likewise.
65253 * posix/getpid.c (__getpid): Likewise.
65254 * posix/getppid.c (__getppid): Likewise.
65255 * posix/getuid.c (__getuid): Likewise.
65256 * posix/pause.c (pause): Likewise.
65257 * posix/setpgrp.c (setpgrp): Likewise.
65258 * posix/setsid.c (__setsid): Likewise.
65259 * posix/test-vfork.c (noop): Likewise.
65260 * resolv/gethnamaddr.c (_endhtent): Likewise.
65261 (_gethtent): Likewise.
65262 (ht_endhostent): Likewise.
65263 (gethostent): Likewise.
65264 (dns_service): Likewise.
65265 * stdlib/drand48.c (drand48): Likewise.
65266 * stdlib/lrand48.c (lrand48): Likewise.
65267 * stdlib/mrand48.c (mrand48): Likewise.
65268 * stdlib/rand.c (rand): Likewise.
65269 * stdlib/random.c (__random): Likewise.
65270 * stdlib/setenv.c (clearenv): Likewise.
65271 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65272 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65273 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65274 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65275 (__get_nprocs): Likewise.
65276 (__get_phys_pages): Likewise.
65277 (__get_avphys_pages): Likewise.
65278 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65279 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65280 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65281 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65282 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65283 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65284 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65285 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65286 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65287 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65288 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65289 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65290 * sysdeps/posix/clock.c (clock): Likewise.
65291 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65292 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65293 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65294 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65295 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65297 (__get_nprocs_conf): Likewise.
65298 (__get_phys_pages): Likewise.
65299 (__get_avphys_pages): Likewise.
65300 * time/clock.c (clock): Likewise.
65301 * time/tzset.c (__tzname_max): Likewise.
65302
65303 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65304
65305 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65306 (__bswap_32): Do not use "register".
65307 * crypt/crypt.c (_ufc_doit_r): Likewise.
65308 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65309 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65310 * gmon/gmon.c (__monstartup): Likewise.
65311 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65312 * hurd/hurdmalloc.c (more_memory): Likewise.
65313 (malloc): Likewise.
65314 (free): Likewise.
65315 (realloc): Likewise.
65316 (malloc_fork_prepare): Likewise.
65317 (malloc_fork_parent): Likewise.
65318 (malloc_fork_child): Likewise.
65319 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65320 (_svcauth_des): Likewise.
65321 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65322 * inet/inet_net.c (inet_network): Likewise.
65323 * inet/inet_netof.c (inet_netof): Likewise.
65324 * inet/rcmd.c (__validuser2_sa): Likewise.
65325 * io/fts.c (fts_open): Likewise.
65326 (fts_load): Likewise.
65327 (fts_close): Likewise.
65328 (fts_read): Likewise.
65329 (fts_children): Likewise.
65330 (fts_build): Likewise.
65331 (fts_stat): Likewise.
65332 (fts_sort): Likewise.
65333 (fts_alloc): Likewise.
65334 (fts_lfree): Likewise.
65335 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65336 (_IO_file_xsgetn): Likewise.
65337 (_IO_file_xsgetn_mmap): Likewise.
65338 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65339 (_IO_cookie_write): Likewise.
65340 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65341 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65342 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65343 * malloc/obstack.c (_obstack_begin): Likewise.
65344 (_obstack_begin_1): Likewise.
65345 (_obstack_newchunk): Likewise.
65346 (_obstack_allocated_p): Likewise.
65347 (obstack_free): Likewise.
65348 (_obstack_memory_used): Likewise.
65349 * misc/getttyent.c (getttynam): Likewise.
65350 (getttyent): Likewise.
65351 (skip): Likewise.
65352 (value): Likewise.
65353 * misc/getusershell.c (initshells): Likewise.
65354 * misc/syslog.c (__vsyslog_chk): Likewise.
65355 * misc/ttyslot.c (ttyslot): Likewise.
65356 * nis/nis_hash.c (__nis_hash): Likewise.
65357 * posix/fnmatch_loop.c (FCT): Likewise.
65358 * posix/getconf.c (print_all): Likewise.
65359 (main): Likewise.
65360 * posix/getopt.c (exchange): Likewise.
65361 * posix/glob.c (globfree): Likewise.
65362 (prefix_array): Likewise.
65363 (__glob_pattern_type): Likewise.
65364 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65365 (NS_GET32): Likewise.
65366 (NS_PUT16): Likewise.
65367 (NS_PUT32): Likewise.
65368 * resolv/gethnamaddr.c (getanswer): Likewise.
65369 (gethostbyname2): Likewise.
65370 (gethostbyaddr): Likewise.
65371 (_gethtent): Likewise.
65372 (_gethtbyname2): Likewise.
65373 (_gethtbyaddr): Likewise.
65374 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65375 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65376 * resolv/res_init.c (__res_vinit): Likewise.
65377 (net_mask): Likewise.
65378 * resolv/res_mkquery.c (outchar): Likewise.
65379 (PRINT): Likewise.
65380 * stdio-common/printf_fp.c (outchar): Likewise.
65381 (PRINT): Likewise.
65382 * stdio-common/printf_fphex.c (outchar): Likewise.
65383 (PRINT): Likewise.
65384 * stdio-common/printf_size.c (outchar): Likewise.
65385 (PRINT): Likewise.
65386 * stdio-common/test_rdwr.c (main): Likewise.
65387 * stdio-common/tfformat.c (matches): Likewise.
65388 * stdio-common/vfprintf.c (outchar): Likewise.
65389 (printf_unknown): Likewise.
65390 (buffered_vfprintf): Likewise.
65391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65392 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65393 (ReadFile): Likewise.
65394 * stdlib/qsort.c (SWAP): Likewise.
65395 (_quicksort): Likewise.
65396 * stdlib/setenv.c (__add_to_environ): Likewise.
65397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65398 * stdlib/strtol_l.c (__strtol_l): Likewise.
65399 * stdlib/tst-strtod.c (main): Likewise.
65400 * stdlib/tst-strtol.c (main): Likewise.
65401 * stdlib/tst-strtoll.c (main): Likewise.
65402 * string/bits/string2.h (__strcmp_cc): Likewise.
65403 (__strcmp_cg): Likewise.
65404 (__strcspn_c1): Likewise.
65405 (__strcspn_c2): Likewise.
65406 (__strcspn_c3): Likewise.
65407 (__strspn_c1): Likewise.
65408 (__strspn_c2): Likewise.
65409 (__strspn_c3): Likewise.
65410 (__strsep_1c): Likewise.
65411 (__strsep_2c): Likewise.
65412 (__strsep_3c): Likewise.
65413 * string/memccpy.c (__memccpy): Likewise.
65414 * string/stpcpy.c (__stpcpy): Likewise.
65415 * string/strcmp.c (strcmp): Likewise.
65416 * string/strrchr.c (strrchr): Likewise.
65417 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65418 Likewise.
65419 * sysdeps/mach/hurd/getcwd.c
65420 (_hurd_canonicalize_directory_name_internal): Likewise.
65421 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65422 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65423 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65424 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65425 Likewise, in both definitions.
65426 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65427 definitions.
65428 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65429 64] (__bswap_64): Likewise.
65430 * time/test_time.c (main): Likewise.
65431 * time/tzfile.c (__tzfile_read): Likewise.
65432 (__tzfile_compute): Likewise.
65433 * time/tzset.c (__tzset_parse_tz): Likewise.
65434 (tzset_internal): Likewise.
65435 (compute_change): Likewise.
65436 * wcsmbs/wcscat.c (__wcscat): Likewise.
65437 * wcsmbs/wcschr.c (wcschr): Likewise.
65438 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65439 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65440 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65441 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65442 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65443 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65444 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65446 * wcsmbs/wmemset.c (wmemset): Likewise.
65447
65448 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65449
65450 * scripts/config.guess: Update to version 2013-05-16.
65451 * scripts/config.sub: Update to version 2013-04-24.
65452 * scripts/install-sh: Update to version 2011-11-20.07.
65453 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65454 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65455
65456 2013-06-06 Ondƙej Bílka <neleai@seznam.cz>
65457
65458 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65459 * elf/sln.c: Likewise.
65460 * hurd/hurd/ioctl.h: Likewise.
65461 * hurd/hurdmalloc.c: Likewise.
65462 * hurd/xattr.c: Likewise.
65463 * include/shlib-compat.h: Likewise.
65464 * inet/ruserpass.c: Likewise.
65465 * libio/iofgets_u.c: Likewise.
65466 * libio/iofgetws_u.c: Likewise.
65467 * locale/programs/ld-identification.c: Likewise.
65468 * locale/programs/ld-time.c: Likewise.
65469 * mach/msg-destroy.c: Likewise.
65470 * nss/nss_files/files-netgrp.c: Likewise.
65471 * resolv/res_data.c: Likewise.
65472 * soft-fp/op-1.h: Likewise.
65473 * soft-fp/op-2.h: Likewise.
65474 * soft-fp/op-4.h: Likewise.
65475 * soft-fp/op-common.h: Likewise.
65476 * stdio-common/printf_fphex.c: Likewise.
65477 * stdlib/strtod_l.c: Likewise.
65478 * sunrpc/rpc/clnt.h: Likewise.
65479 * sysdeps/generic/framestate.c: Likewise.
65480 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65481 * sysdeps/i386/bsd-setjmp.S: Likewise.
65482 * sysdeps/i386/__longjmp.S: Likewise.
65483 * sysdeps/i386/setjmp.S: Likewise.
65484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65485 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65487 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65488 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65489 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65490 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65491 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65492 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65493 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65494 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65495 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65496 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65497 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65498 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65500 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65501 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65502 * sysdeps/ieee754/support.c: Likewise.
65503 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65504 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65505 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65506 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65507 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65508 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65509 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65510 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65511 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65512 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65513 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65514 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65515 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65516 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65517 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65518 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65519 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65521
65522 2013-06-05 Ondƙej Bílka <neleai@seznam.cz>
65523
65524 * posix/transbug.c: Remove executable mode.
65525
65526 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65527
65528 * crypt/speeds.c: Remove trailing whitespace.
65529 * dlfcn/default.c: Likewise.
65530 * elf/ifuncdep2.c: Likewise.
65531 * elf/ifuncmain1.c: Likewise.
65532 * elf/ifuncmain1vis.c: Likewise.
65533 * elf/testobj.h: Likewise.
65534 * elf/tst-stackguard1.c: Likewise.
65535 * gmon/sys/gmon.h: Likewise.
65536 * hurd/hurdmsg.c: Likewise.
65537 * hurd/new-fd.c: Likewise.
65538 * hurd/ports-get.c: Likewise.
65539 * iconvdata/ibm1008_420.c: Likewise.
65540 * inet/tst-getni1.c: Likewise.
65541 * inet/tst-getni2.c: Likewise.
65542 * libio/ioungetc.c: Likewise.
65543 * libio/wfiledoalloc.c: Likewise.
65544 * manual/libm-err-tab.pl: Likewise.
65545 * math/w_dremf.c: Likewise.
65546 * misc/ftruncate.c: Likewise.
65547 * posix/bug-glob2.c: Likewise.
65548 * posix/tst-pcre.c: Likewise.
65549 * posix/wait4.c: Likewise.
65550 * resolv/README: Likewise.
65551 * resolv/res_debug.h: Likewise.
65552 * resolv/tst-inet_ntop.c: Likewise.
65553 * setjmp/bug269-setjmp.c: Likewise.
65554 * soft-fp/extended.h: Likewise.
65555 * soft-fp/op-1.h: Likewise.
65556 * soft-fp/op-2.h: Likewise.
65557 * soft-fp/op-4.h: Likewise.
65558 * soft-fp/op-8.h: Likewise.
65559 * soft-fp/testit.c: Likewise.
65560 * stdio-common/bug16.c: Likewise.
65561 * stdlib/random.c: Likewise.
65562 * sunrpc/rpcsvc/rquota.x: Likewise.
65563 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65564 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65566 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65567 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65568 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65569 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65570 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65571 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65572 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65573 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65574 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65575 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65576 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65578 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65579 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65581 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65584 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65585 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65586 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65587 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65588 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65592 * sysdeps/ieee754/s_lib_version.c: Likewise.
65593 * sysdeps/mach/hurd/check_fds.c: Likewise.
65594 * sysdeps/mach/hurd/getsockname.c: Likewise.
65595 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65596 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65597 * sysdeps/powerpc/bits/link.h: Likewise.
65598 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65599 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65600 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65601 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65602 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65603 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65604 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65605 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65606 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65607 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65608 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65609 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65610 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65611 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65612 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65613 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65614 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65615 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65617 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65618 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65619 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65620 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65621 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65622 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65623 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65624 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65625 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65626 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65627 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65628 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65629 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65631 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65632 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65633 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65634 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65635 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65636 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65637 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65638 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65639 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65640 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65641 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65642 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65643 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65644 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65645 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65646 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65647 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65650 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65651 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65652 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65653 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65654 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65657 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65658 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65659 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65660 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65661 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65662 * sysdeps/powerpc/sysdep.h: Likewise.
65663 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65664 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65665 * sysdeps/sh/dl-trampoline.S: Likewise.
65666 * sysdeps/sh/memset.S: Likewise.
65667 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65668 * sysdeps/sh/strlen.S: Likewise.
65669 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65670 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65671 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65672 * sysdeps/sparc/sparc32/rem.S: Likewise.
65673 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65674 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65675 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65676 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65677 * sysdeps/sparc/sparc32/urem.S: Likewise.
65678 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65680 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65681 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65682 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65683 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65684 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65685 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65686 * sysdeps/unix/bsd/times.c: Likewise.
65687 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65688 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65692 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65693 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65694 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65695 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65696 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65697 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65699 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65700 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65701 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65702 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65703 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65704 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65705 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65706 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65707 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65708 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65709 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65710 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65711 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65712 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65713 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65714 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65715 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65716 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65717 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65718 * sysdeps/x86_64/strcspn.S: Likewise.
65719
65720 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65721
65722 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65723 generated file. Regenerate properly from gen-translit.pl.
65724 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65725 locale/C-translit.h.
65726
65727 2013-06-05 Andreas Schwab <schwab@suse.de>
65728
65729 [BZ #15100]
65730 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65731 week as 6 instead of -1.
65732 * time/tst-strptime.c (day_tests): Add test case.
65733
65734 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65735
65736 * sysdeps/generic/math_private.h
65737 (libc_feholdexcept_setround_53bit): Replace with
65738 libc_feholdsetround_53bit.
65739 (libc_feupdateenv_53bit): Replace with
65740 libc_feresetround_53bit.
65741 (SET_RESTORE_ROUND_53BIT): Adjust.
65742
65743 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65744
65745 * string/test-strchrnul.c: Add copyright header.
65746
65747 * posix/tst-getaddrinfo4.c: Increase test timeout.
65748
65749 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65750
65751 [BZ #15536]
65752 * math/libm-test.inc (MAX_EXP): Remove
65753 (MIN_EXP): Define.
65754 (ulp): Use MIN_EXP - MANT_DIG.
65755 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65756
65757 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65758
65759 * po/be.po: Revert last change.
65760 * po/zh_CN.po: Likewise.
65761 * po/header.pot: Likewise.
65762
65763 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65764
65765 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65766 link-libc-deps to empty as target-specific variable.
65767 * Makerules (link-libc-args): New variable.
65768 (libc-for-link): Likewise.
65769 (link-libc-deps): Likewise.
65770 (lib%.so): Depend on $(link-libc-deps). Link with
65771 $(link-libc-args).
65772 (build-module): Link with $(link-libc-args).
65773 (build-module-asneeded): Likewise.
65774 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65775 list of objects.
65776 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65777 target-specific variable.
65778 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65779 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65780 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65781 libc.
65782 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65783 libc and ld.so.
65784 ($(objpfx)libpcprofile.so): Likewise.
65785 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65786 libc_nonshared.a.
65787 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65788 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65789 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65790 $(link-libc-deps).
65791 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65792 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65793 * login/Makefile ($(objpfx)libutil.so): Likewise.
65794 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65795 * math/Makefile ($(objpfx)libm.so): Likewise.
65796 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65797 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65798 variable instead of depending directly on libc.
65799 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65800 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65801 $(link-libc-deps).
65802 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65803 libc.
65804 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65805 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65806 ($(objpfx)libanl.so): Likewise.
65807 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65808 ld.so.
65809 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65810 $(link-libc-deps).
65811 * sysdeps/i386/fpu/Makefile: Remove file.
65812 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65813 ($(objpfx)libm.so): Remove dependency on ld.so.
65814
65815 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65816
65817 [BZ # 15553]
65818 * nis/yp_xdr.c (XDRMAXNAME): Define.
65819 (XDRMAXRECORD): Define.
65820 (xdr_domainname): Use XDRMAXNAME.
65821 (xdr_mapname): Likewise.
65822 (xdr_peername): Likewise.
65823 (xdr_keydat): Use XDRMAXRECORD.
65824 (xdr_valdat): Likewise.
65825
65826 2013-05-30 Jeff Law <law@redhat.com>
65827
65828 [BZ #14256]
65829 * manual/errno.texi (ESTALE): Update to account for more than
65830 just NFS file systems.
65831 * sysdeps/gnu/errlist.c: Regenerated.
65832
65833 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65834
65835 [BZ #15465]
65836 * elf/Makefile (tests): Add tst-null-argv.
65837 (modules-names): Add tst-null-argv-lib.
65838 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65839 (tst-null-argv-ENV): Set environment for tst-null-argv.
65840 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65841 (RTLD_PROGNAME): New macro.
65842 * elf/tst-null-argv.c: New test case.
65843 * elf/tst-null-argv-lib.c: Library for test case.
65844 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65845 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65846 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65847 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65848 * elf/dl-init.c (call_init): Likewise.
65849 (_dl_init): Likewise.
65850 * elf/dl-load.c (print_search_path): Likewise.
65851 (_dl_map_object): Likewise.
65852 * elf/dl-lookup.c (do_lookup_x): Likewise.
65853 (add_dependency): Likewise.
65854 (_dl_lookup_symbol_x): Likewise.
65855 (_dl_debug_bindings): Likewise.
65856 * elf/dl-open.c (_dl_show_scope): Likewise.
65857 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65858 * elf/dl-version.c (match_symbol): Likewise.
65859 (_dl_check_map_versions): Likewise.
65860 * elf/rtld.c (dl_main): Likewise.
65861 (print_unresolved): Use RTLD_PROGNAME.
65862 (print_missing_version): Likewise.
65863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65864 (elf_machine_rela): Likewise.
65865 * sysdeps/powerpc/powerpc32/dl-machine.c
65866 (__process_machine_rela): Likewise.
65867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65868 Likewise.
65869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65870 Likewise.
65871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65872 Likewise.
65873 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65875 Likewise.
65876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65877 Likewise.
65878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65879
65880 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65881
65882 * po/be.po: Add descriptive title.
65883 * po/zh_CN.po: Likewise.
65884 * po/header.pot: Likewise.
65885
65886 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65887
65888 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65889 error message.
65890 (enlarge_archive): Likewise.
65891
65892 2013-05-28 Ben North <ben@redfrontdoor.org>
65893
65894 * manual/arith.texi (frexp): It is the magnitude of the return
65895 value which lies in [0.5, 1), not the return value itself.
65896
65897 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65898
65899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65900
65901 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65902
65903 * stdio-common/bug26.c (main): Correct fscanf template.
65904
65905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65906 declare _dl_skip_args.
65907
65908 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65909 Don't declare.
65910
65911 * manual/platform.texi: Add missing @end deftypefun.
65912
65913 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65914
65915 [BZ #15529]
65916 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65917 bit of mantissa of 2^16382.
65918 * math/libm-test.inc (hypot_test_data): Add more tests.
65919
65920 * math/libm-test.inc: Add drem and pow10 to list of tested
65921 functions.
65922 (pow10_test): New function.
65923 (drem_test): Likewise.
65924 (drem_test_tonearest): Likewise.
65925 (drem_test_towardzero): Likewise.
65926 (drem_test_downward): Likewise.
65927 (drem_test_upward): Likewise.
65928 (main): Call the new functions.
65929
65930 * math/libm-test.inc (finite_test_data): Remove.
65931 (finite_test): Run tests from isfinite_test_data.
65932 (gamma_test_data): Remove.
65933 (gamma_test): Run tests from lgamma_test_data.
65934 * sysdeps/i386/fpu/libm-test-ulps: Update.
65935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65936
65937 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65938
65939 * manual/platform.texi: Add PowerPC PPR function set documentation.
65940 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65941 implementation.
65942
65943 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65944
65945 * math/libm-test.inc (MAX_EXP): Define.
65946 (ULPDIFF): Define.
65947 (ulp): New function.
65948 (check_float_internal): Use ULPDIFF.
65949 (cpow_test): Disable failing test.
65950 (check_ulp): Test ulp() implementation.
65951 (main): Call check_ulp before starting tests.
65952
65953 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65954
65955 * math/gen-libm-test.pl (generate_testfile): Do not handle
65956 START_DATA and END_DATA.
65957 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65958 END_DATA.
65959 (acos_tonearest_test_data): Likewise.
65960 (acos_towardzero_test_data): Likewise.
65961 (acos_downward_test_data): Likewise.
65962 (acos_upward_test_data): Likewise.
65963 (acosh_test_data): Likewise.
65964 (asin_test_data): Likewise.
65965 (asin_tonearest_test_data): Likewise.
65966 (asin_towardzero_test_data): Likewise.
65967 (asin_downward_test_data): Likewise.
65968 (asin_upward_test_data): Likewise.
65969 (asinh_test_data): Likewise.
65970 (atan_test_data): Likewise.
65971 (atanh_test_data): Likewise.
65972 (atan2_test_data): Likewise.
65973 (cabs_test_data): Likewise.
65974 (cacos_test_data): Likewise.
65975 (cacosh_test_data): Likewise.
65976 (carg_test_data): Likewise.
65977 (casin_test_data): Likewise.
65978 (casinh_test_data): Likewise.
65979 (catan_test_data): Likewise.
65980 (catanh_test_data): Likewise.
65981 (cbrt_test_data): Likewise.
65982 (ccos_test_data): Likewise.
65983 (ccosh_test_data): Likewise.
65984 (ceil_test_data): Likewise.
65985 (cexp_test_data): Likewise.
65986 (cimag_test_data): Likewise.
65987 (clog_test_data): Likewise.
65988 (clog10_test_data): Likewise.
65989 (conj_test_data): Likewise.
65990 (copysign_test_data): Likewise.
65991 (cos_test_data): Likewise.
65992 (cos_tonearest_test_data): Likewise.
65993 (cos_towardzero_test_data): Likewise.
65994 (cos_downward_test_data): Likewise.
65995 (cos_upward_test_data): Likewise.
65996 (cosh_test_data): Likewise.
65997 (cosh_tonearest_test_data): Likewise.
65998 (cosh_towardzero_test_data): Likewise.
65999 (cosh_downward_test_data): Likewise.
66000 (cosh_upward_test_data): Likewise.
66001 (cpow_test_data): Likewise.
66002 (cproj_test_data): Likewise.
66003 (creal_test_data): Likewise.
66004 (csin_test_data): Likewise.
66005 (csinh_test_data): Likewise.
66006 (csqrt_test_data): Likewise.
66007 (ctan_test_data): Likewise.
66008 (ctan_tonearest_test_data): Likewise.
66009 (ctan_towardzero_test_data): Likewise.
66010 (ctan_downward_test_data): Likewise.
66011 (ctan_upward_test_data): Likewise.
66012 (ctanh_test_data): Likewise.
66013 (ctanh_tonearest_test_data): Likewise.
66014 (ctanh_towardzero_test_data): Likewise.
66015 (ctanh_downward_test_data): Likewise.
66016 (ctanh_upward_test_data): Likewise.
66017 (erf_test_data): Likewise.
66018 (erfc_test_data): Likewise.
66019 (exp_test_data): Likewise.
66020 (exp_tonearest_test_data): Likewise.
66021 (exp_towardzero_test_data): Likewise.
66022 (exp_downward_test_data): Likewise.
66023 (exp_upward_test_data): Likewise.
66024 (exp10_test_data): Likewise.
66025 (exp2_test_data): Likewise.
66026 (expm1_test_data): Likewise.
66027 (fabs_test_data): Likewise.
66028 (fdim_test_data): Likewise.
66029 (finite_test_data): Likewise.
66030 (floor_test_data): Likewise.
66031 (fma_test_data): Likewise.
66032 (fma_towardzero_test_data): Likewise.
66033 (fma_downward_test_data): Likewise.
66034 (fma_upward_test_data): Likewise.
66035 (fmax_test_data): Likewise.
66036 (fmin_test_data): Likewise.
66037 (fmod_test_data): Likewise.
66038 (fpclassify_test_data): Likewise.
66039 (frexp_test_data): Likewise.
66040 (gamma_test_data): Likewise.
66041 (hypot_test_data): Likewise.
66042 (ilogb_test_data): Likewise.
66043 (isfinite_test_data): Likewise.
66044 (isgreater_test_data): Likewise.
66045 (isgreaterequal_test_data): Likewise.
66046 (isinf_test_data): Likewise.
66047 (isless_test_data): Likewise.
66048 (islessequal_test_data): Likewise.
66049 (islessgreater_test_data): Likewise.
66050 (isnan_test_data): Likewise.
66051 (isnormal_test_data): Likewise.
66052 (issignaling_test_data): Likewise.
66053 (isunordered_test_data): Likewise.
66054 (j0_test_data): Likewise.
66055 (j1_test_data): Likewise.
66056 (jn_test_data): Likewise.
66057 (ldexp_test_data): Likewise.
66058 (lgamma_test_data): Likewise.
66059 (lrint_test_data): Likewise.
66060 (lrint_tonearest_test_data): Likewise.
66061 (lrint_towardzero_test_data): Likewise.
66062 (lrint_downward_test_data): Likewise.
66063 (lrint_upward_test_data): Likewise.
66064 (llrint_test_data): Likewise.
66065 (llrint_tonearest_test_data): Likewise.
66066 (llrint_towardzero_test_data): Likewise.
66067 (llrint_downward_test_data): Likewise.
66068 (llrint_upward_test_data): Likewise.
66069 (log_test_data): Likewise.
66070 (log10_test_data): Likewise.
66071 (log1p_test_data): Likewise.
66072 (log2_test_data): Likewise.
66073 (logb_test_data): Likewise.
66074 (logb_downward_test_data): Likewise.
66075 (lround_test_data): Likewise.
66076 (llround_test_data): Likewise.
66077 (modf_test_data): Likewise.
66078 (nearbyint_test_data): Likewise.
66079 (nextafter_test_data): Likewise.
66080 (nexttoward_test_data): Likewise.
66081 (pow_test_data): Likewise.
66082 (pow_tonearest_test_data): Likewise.
66083 (pow_towardzero_test_data): Likewise.
66084 (pow_downward_test_data): Likewise.
66085 (pow_upward_test_data): Likewise.
66086 (remainder_test_data): Likewise.
66087 (remainder_tonearest_test_data): Likewise.
66088 (remainder_towardzero_test_data): Likewise.
66089 (remainder_downward_test_data): Likewise.
66090 (remainder_upward_test_data): Likewise.
66091 (remquo_test_data): Likewise.
66092 (rint_test_data): Likewise.
66093 (rint_tonearest_test_data): Likewise.
66094 (rint_towardzero_test_data): Likewise.
66095 (rint_downward_test_data): Likewise.
66096 (rint_upward_test_data): Likewise.
66097 (round_test_data): Likewise.
66098 (scalb_test_data): Likewise.
66099 (scalbn_test_data): Likewise.
66100 (scalbln_test_data): Likewise.
66101 (signbit_test_data): Likewise.
66102 (sin_test_data): Likewise.
66103 (sin_tonearest_test_data): Likewise.
66104 (sin_towardzero_test_data): Likewise.
66105 (sin_downward_test_data): Likewise.
66106 (sin_upward_test_data): Likewise.
66107 (sincos_test_data): Likewise.
66108 (sinh_test_data): Likewise.
66109 (sinh_tonearest_test_data): Likewise.
66110 (sinh_towardzero_test_data): Likewise.
66111 (sinh_downward_test_data): Likewise.
66112 (sinh_upward_test_data): Likewise.
66113 (sqrt_test_data): Likewise.
66114 (tan_test_data): Likewise.
66115 (tan_tonearest_test_data): Likewise.
66116 (tan_towardzero_test_data): Likewise.
66117 (tan_downward_test_data): Likewise.
66118 (tan_upward_test_data): Likewise.
66119 (tanh_test_data): Likewise.
66120 (tgamma_test_data): Likewise.
66121 (trunc_test_data): Likewise.
66122 (y0_test_data): Likewise.
66123 (y1_test_data): Likewise.
66124 (yn_test_data): Likewise.
66125 (significand_test_data): Likewise.
66126
66127 * math/gen-libm-test.pl (@functions): Remove variable.
66128 (generate_testfile): Don't handle START and END lines.
66129 * math/libm-test.inc (START): New macro.
66130 (END): Likewise.
66131 (END_COMPLEX): Likewise.
66132 (acos_test): Use END macro without arguments.
66133 (acos_test_tonearest): Likewise.
66134 (acos_test_towardzero): Likewise.
66135 (acos_test_downward): Likewise.
66136 (acos_test_upward): Likewise.
66137 (acosh_test): Likewise.
66138 (asin_test): Likewise.
66139 (asin_test_tonearest): Likewise.
66140 (asin_test_towardzero): Likewise.
66141 (asin_test_downward): Likewise.
66142 (asin_test_upward): Likewise.
66143 (asinh_test): Likewise.
66144 (atan_test): Likewise.
66145 (atanh_test): Likewise.
66146 (atan2_test): Likewise.
66147 (cabs_test): Likewise.
66148 (cacos_test): Use END_COMPLEX macro without arguments.
66149 (cacosh_test): Likewise.
66150 (carg_test): Use END macro without arguments.
66151 (casin_test): Use END_COMPLEX macro without arguments.
66152 (casinh_test): Likewise.
66153 (catan_test): Likewise.
66154 (catanh_test): Likewise.
66155 (cbrt_test): Use END macro without arguments.
66156 (ccos_test): Use END_COMPLEX macro without arguments.
66157 (ccosh_test): Likewise.
66158 (ceil_test): Use END macro without arguments.
66159 (cexp_test): Use END_COMPLEX macro without arguments.
66160 (cimag_test): Use END macro without arguments.
66161 (clog_test): Use END_COMPLEX macro without arguments.
66162 (clog10_test): Likewise.
66163 (conj_test): Likewise.
66164 (copysign_test): Use END macro without arguments.
66165 (cos_test): Likewise.
66166 (cos_test_tonearest): Likewise.
66167 (cos_test_towardzero): Likewise.
66168 (cos_test_downward): Likewise.
66169 (cos_test_upward): Likewise.
66170 (cosh_test): Likewise.
66171 (cosh_test_tonearest): Likewise.
66172 (cosh_test_towardzero): Likewise.
66173 (cosh_test_downward): Likewise.
66174 (cosh_test_upward): Likewise.
66175 (cpow_test): Use END_COMPLEX macro without arguments.
66176 (cproj_test): Likewise.
66177 (creal_test): Use END macro without arguments.
66178 (csin_test): Use END_COMPLEX macro without arguments.
66179 (csinh_test): Likewise.
66180 (csqrt_test): Likewise.
66181 (ctan_test): Likewise.
66182 (ctan_test_tonearest): Likewise.
66183 (ctan_test_towardzero): Likewise.
66184 (ctan_test_downward): Likewise.
66185 (ctan_test_upward): Likewise.
66186 (ctanh_test): Likewise.
66187 (ctanh_test_tonearest): Likewise.
66188 (ctanh_test_towardzero): Likewise.
66189 (ctanh_test_downward): Likewise.
66190 (ctanh_test_upward): Likewise.
66191 (erf_test): Use END macro without arguments.
66192 (erfc_test): Likewise.
66193 (exp_test): Likewise.
66194 (exp_test_tonearest): Likewise.
66195 (exp_test_towardzero): Likewise.
66196 (exp_test_downward): Likewise.
66197 (exp_test_upward): Likewise.
66198 (exp10_test): Likewise.
66199 (exp2_test): Likewise.
66200 (expm1_test): Likewise.
66201 (fabs_test): Likewise.
66202 (fdim_test): Likewise.
66203 (finite_test): Likewise.
66204 (floor_test): Likewise.
66205 (fma_test): Likewise.
66206 (fma_test_towardzero): Likewise.
66207 (fma_test_downward): Likewise.
66208 (fma_test_upward): Likewise.
66209 (fmax_test): Likewise.
66210 (fmin_test): Likewise.
66211 (fmod_test): Likewise.
66212 (fpclassify_test): Likewise.
66213 (frexp_test): Likewise.
66214 (gamma_test): Likewise.
66215 (hypot_test): Likewise.
66216 (ilogb_test): Likewise.
66217 (isfinite_test): Likewise.
66218 (isgreater_test): Likewise.
66219 (isgreaterequal_test): Likewise.
66220 (isinf_test): Likewise.
66221 (isless_test): Likewise.
66222 (islessequal_test): Likewise.
66223 (islessgreater_test): Likewise.
66224 (isnan_test): Likewise.
66225 (isnormal_test): Likewise.
66226 (issignaling_test): Likewise.
66227 (isunordered_test): Likewise.
66228 (j0_test): Likewise.
66229 (j1_test): Likewise.
66230 (jn_test): Likewise.
66231 (ldexp_test): Likewise.
66232 (lgamma_test): Likewise.
66233 (lrint_test): Likewise.
66234 (lrint_test_tonearest): Likewise.
66235 (lrint_test_towardzero): Likewise.
66236 (lrint_test_downward): Likewise.
66237 (lrint_test_upward): Likewise.
66238 (llrint_test): Likewise.
66239 (llrint_test_tonearest): Likewise.
66240 (llrint_test_towardzero): Likewise.
66241 (llrint_test_downward): Likewise.
66242 (llrint_test_upward): Likewise.
66243 (log_test): Likewise.
66244 (log10_test): Likewise.
66245 (log1p_test): Likewise.
66246 (log2_test): Likewise.
66247 (logb_test): Likewise.
66248 (logb_test_downward): Likewise.
66249 (lround_test): Likewise.
66250 (llround_test): Likewise.
66251 (modf_test): Likewise.
66252 (nearbyint_test): Likewise.
66253 (nextafter_test): Likewise.
66254 (nexttoward_test): Likewise.
66255 (pow_test): Likewise.
66256 (pow_test_tonearest): Likewise.
66257 (pow_test_towardzero): Likewise.
66258 (pow_test_downward): Likewise.
66259 (pow_test_upward): Likewise.
66260 (remainder_test): Likewise.
66261 (remainder_test_tonearest): Likewise.
66262 (remainder_test_towardzero): Likewise.
66263 (remainder_test_downward): Likewise.
66264 (remainder_test_upward): Likewise.
66265 (remquo_test): Likewise.
66266 (rint_test): Likewise.
66267 (rint_test_tonearest): Likewise.
66268 (rint_test_towardzero): Likewise.
66269 (rint_test_downward): Likewise.
66270 (rint_test_upward): Likewise.
66271 (round_test): Likewise.
66272 (scalb_test): Likewise.
66273 (scalbn_test): Likewise.
66274 (scalbln_test): Likewise.
66275 (signbit_test): Likewise.
66276 (sin_test): Likewise.
66277 (sin_test_tonearest): Likewise.
66278 (sin_test_towardzero): Likewise.
66279 (sin_test_downward): Likewise.
66280 (sin_test_upward): Likewise.
66281 (sincos_test): Likewise.
66282 (sinh_test): Likewise.
66283 (sinh_test_tonearest): Likewise.
66284 (sinh_test_towardzero): Likewise.
66285 (sinh_test_downward): Likewise.
66286 (sinh_test_upward): Likewise.
66287 (sqrt_test): Likewise.
66288 (tan_test): Likewise.
66289 (tan_test_tonearest): Likewise.
66290 (tan_test_towardzero): Likewise.
66291 (tan_test_downward): Likewise.
66292 (tan_test_upward): Likewise.
66293 (tanh_test): Likewise.
66294 (tgamma_test): Likewise.
66295 (trunc_test): Likewise.
66296 (y0_test): Likewise.
66297 (y1_test): Likewise.
66298 (yn_test): Likewise.
66299 (significand_test): Likewise.
66300
66301 2013-05-24 Ondƙej Bílka <neleai@seznam.cz>
66302
66303 [BZ #15381]
66304 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66305
66306 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66307
66308 [BZ #14894]
66309 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66310 __ppc_mdoio and __ppc_mdoom.
66311 * manual/platform.texi: Document new functions __ppc_yield,
66312 __ppc_mdoio and __ppc_mdoom.
66313
66314 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66315
66316 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66317 (main): Mention "tls" pseudo-hwcap is legacy.
66318 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66319
66320 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66321
66322 * math/gen-libm-test.pl (parse_args): Output only string of
66323 arguments as text for test name, not full call or descriptions of
66324 tests for extra outputs.
66325 (generate_testfile): Do not pass function name to parse_args.
66326 Generate this_func variable from START.
66327 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66328 field to arg_str.
66329 (struct test_ff_f_data): Likewise.
66330 (test_ff_f_data_nexttoward): Likewise.
66331 (struct test_fi_f_data): Likewise.
66332 (struct test_fl_f_data): Likewise.
66333 (struct test_if_f_data): Likewise.
66334 (struct test_fff_f_data): Likewise.
66335 (struct test_c_f_data): Likewise.
66336 (struct test_f_f1_data): Likewise. Remove field extra_name.
66337 (struct test_fF_f1_data): Likewise.
66338 (struct test_ffI_f1_data): Likewise.
66339 (struct test_c_c_data): Rename test_name field to arg_str.
66340 (struct test_cc_c_data): Likewise.
66341 (struct test_f_i_data): Likewise.
66342 (struct test_ff_i_data): Likewise.
66343 (struct test_f_l_data): Likewise.
66344 (struct test_f_L_data): Likewise.
66345 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66346 and extra2_name.
66347 (COMMON_TEST_SETUP): New macro.
66348 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66349 (COMMON_TEST_CLEANUP): Likewise.
66350 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66351 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66352 macros.
66353 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66354 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66355 macros.
66356 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66357 (RUN_TEST_fff_f): Take argument string. Call new setup and
66358 cleanup macros.
66359 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66360 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66361 macros.
66362 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66363 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66364 macros.
66365 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66366 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66367 cleanup macros.
66368 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66369 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66370 cleanup macros.
66371 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66372 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66373 cleanup macros.
66374 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66375 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66376 macros.
66377 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66378 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66379 macros.
66380 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66381 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66382 macros.
66383 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66384 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66385 cleanup macros.
66386 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66387 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66388 cleanup macros.
66389 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66390 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66391 macros.
66392 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66393 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66394 cleanup macros.
66395 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66396 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66397 macros.
66398 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66399 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66400 macros.
66401 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66402 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66403 cleanup macros.
66404 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66405
66406 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66407
66408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66409 to _sifields.sigfault.
66410 (si_addr_lsb): Define new macro.
66411 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66413 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66414
66415 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66416
66417 [BZ #15441]
66418 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66419 returns -1.
66420 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66421 null return -1.
66422 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66423 loading the domain.
66424
66425 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66426
66427 * math/gen-libm-test.pl (parse_args): Do not include expected
66428 result in test name.
66429 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66431 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66432 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66433 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66435
66436 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66437
66438 * benchtests/Makefile: Sort function entries.
66439
66440 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66441 tanh, asinh, acosh, atanh.
66442 * benchtests/acos-inputs: New file.
66443 * benchtests/acosh-inputs: New file.
66444 * benchtests/asin-inputs: New file.
66445 * benchtests/asinh-inputs: New file.
66446 * benchtests/atanh-inputs: New file.
66447 * benchtests/cosh-inputs: New file.
66448 * benchtests/log-inputs: New file.
66449 * benchtests/sinh-inputs: New file.
66450 * benchtests/tanh-inputs: New file.
66451
66452 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66453
66454 [BZ #15339]
66455 * posix/tst-getaddrinfo4.c: New test.
66456 * posix/Makefile (tests): Add it.
66457
66458 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66459
66460 [BZ #15339]
66461 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66462 when no services were used.
66463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66464 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66465
66466 2013-05-21 Andreas Schwab <schwab@suse.de>
66467
66468 [BZ #15014]
66469 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66470 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66471 successful.
66472 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66473 redundant variable declarations and reallocation of buffer when
66474 parsing as IPv6 address. Always set NSS status when called from
66475 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66476 buffer too small. Correct computation of needed size.
66477 * nss/Makefile (tests): Add test-digits-dots.
66478 * nss/test-digits-dots.c: New test.
66479
66480 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66481
66482 * benchtests/Makefile: Remove instructions for adding
66483 benchmark tests.
66484 * benchtests/README: New file to explain how to execute and
66485 enhance the benchmark tests.
66486
66487 2013-05-21 Andreas Schwab <schwab@suse.de>
66488
66489 [BZ #15493]
66490 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66491 * setjmp/tst-sigsetjmp.c: New test.
66492
66493 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66494
66495 * sysdeps/x86_64/memset.S (memset): New implementation.
66496 (__bzero): Likewise.
66497 (__memset_tail): New function.
66498
66499 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66500
66501 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66502 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66503 __memcpy_sse2_unaligned ifunc selection.
66504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66505 Add memcpy-sse2-unaligned.S.
66506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66507 Add: __memcpy_sse2_unaligned.
66508
66509 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66510
66511 [BZ #15490]
66512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66513 math_force_eval before restoring floating-point envrionment.
66514 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66515 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66516 Likewise.
66517 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66518 <math_private.h>.
66519 (__nearbyintl): Use math_force_eval before restoring
66520 floating-point environment.
66521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66522
66523 * math/gen-libm-test.pl (special_functions): Remove.
66524 (parse_args): Don't handle TEST_extra. Handle functions with no
66525 return value.
66526 * math/libm-test.inc (struct test_sincos_data): Replace with
66527 struct test_fFF_11_data.
66528 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66529 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66530 (sincos_test_data): Change element type to struct
66531 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66532 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66533 RUN_TEST_LOOP_sincos.
66534 * math/README.libm-test: Don't mention special handling of
66535 individual functions.
66536 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66538 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66539 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66540 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66542
66543 * math/gen-libm-test.pl (get_variable): Remove function.
66544 (parse_args): Don't show pointer parameters to call in test
66545 names. Use "extra output N" in test names for extra outputs
66546 rather than naming variables.
66547
66548 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66549
66550 [BZ #15488]
66551 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66552 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66553 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66554 double tests.
66555 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66556 disable.
66557 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66558 check_long_double.
66559
66560 * math/gen-libm-test.pl (@tests): Remove variable.
66561 ($count): Likewise.
66562 (new_test): Remove function.
66563 (show_exceptions): New function.
66564 (special_functions): Use show_exceptions instead of new_test.
66565 (parse_args): Likewise.
66566 (generate_testfile): Pass only function name in generated call to
66567 print_max_error or print_complex_max_error.
66568 (get_ulps): Do not handle complex tests specially.
66569 (output_test): Rename to ...
66570 (get_all_ulps_for_test): ... this. Return a string rather than
66571 printing to a file. Require ulps to be present.
66572 (output_ulps): Generate arrays rather than #defines.
66573 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66574 (struct ulp_data): New type.
66575 (BUILD_COMPLEX_ULP): Remove macro.
66576 (compare_ulp_data): New function.
66577 (find_ulps): Likewise.
66578 (find_test_ulps): Likewise.
66579 (find_function_ulps): Likewise.
66580 (find_complex_function_ulps): Likewise.
66581 (print_max_error): Determine allowed ulps using
66582 find_function_ulps.
66583 (print_complex_max_error): Determine allowed ulps using
66584 find_complex_function_ulps.
66585 (check_float_internal): Determine max ulps using find_test_ulps.
66586 (check_float): Do not take max_ulp parameter. Update call to
66587 check_float_internal.
66588 (check_complex): Likewise.
66589 (check_int): Do not take max_ulp parameter.
66590 (check_long): Likewise.
66591 (check_bool): Likewise.
66592 (check_longlong): Likewise.
66593 (struct test_f_f_data): Remove max_ulp field.
66594 (struct test_ff_f_data): Likewise.
66595 (struct test_ff_f_data_nexttoward): Likewise.
66596 (struct test_fi_f_data): Likewise.
66597 (struct test_fl_f_data): Likewise.
66598 (struct test_if_f_data): Likewise.
66599 (struct test_fff_f_data): Likewise.
66600 (struct test_c_f_data): Likewise.
66601 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66602 (struct test_fF_f1_data): Likewise.
66603 (struct test_ffI_f1_data): Likewise.
66604 (struct test_c_c_data): Remove max_ulp field.
66605 (struct test_cc_c_data): Likewise.
66606 (struct test_f_i_data): Likewise.
66607 (struct test_ff_i_data): Likewise.
66608 (struct test_f_l_data): Likewise.
66609 (struct test_f_L_data): Likewise.
66610 (struct test_sincos_data): Likewise.
66611 (RUN_TEST_f_f): Do not handle ulps.
66612 (RUN_TEST_LOOP_f_f): Likewise.
66613 (RUN_TEST_2_f): Likewise.
66614 (RUN_TEST_LOOP_2_f): Likewise.
66615 (RUN_TEST_fff_f): Likewise.
66616 (RUN_TEST_LOOP_fff_f): Likewise.
66617 (RUN_TEST_c_f): Likewise.
66618 (RUN_TEST_LOOP_c_f): Likewise.
66619 (RUN_TEST_f_f1): Likewise.
66620 (RUN_TEST_LOOP_f_f1): Likewise.
66621 (RUN_TEST_fF_f1): Likewise.
66622 (RUN_TEST_LOOP_fF_f1): Likewise.
66623 (RUN_TEST_fI_f1): Likewise.
66624 (RUN_TEST_LOOP_fI_f1): Likewise.
66625 (RUN_TEST_ffI_f1): Likewise.
66626 (RUN_TEST_LOOP_ffI_f1): Likewise.
66627 (RUN_TEST_c_c): Likewise.
66628 (RUN_TEST_LOOP_c_c): Likewise.
66629 (RUN_TEST_cc_c): Likewise.
66630 (RUN_TEST_LOOP_cc_c): Likewise.
66631 (RUN_TEST_f_i): Likewise.
66632 (RUN_TEST_LOOP_f_i): Likewise.
66633 (RUN_TEST_f_i_tg): Likewise.
66634 (RUN_TEST_LOOP_f_i_tg): Likewise.
66635 (RUN_TEST_ff_i_tg): Likewise.
66636 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66637 (RUN_TEST_f_b): Likewise.
66638 (RUN_TEST_LOOP_f_b): Likewise.
66639 (RUN_TEST_f_b_tg): Likewise.
66640 (RUN_TEST_LOOP_f_b_tg): Likewise.
66641 (RUN_TEST_f_l): Likewise.
66642 (RUN_TEST_LOOP_f_l): Likewise.
66643 (RUN_TEST_f_L): Likewise.
66644 (RUN_TEST_LOOP_f_L): Likewise.
66645 (RUN_TEST_sincos): Likewise.
66646 (RUN_TEST_LOOP_sincos): Likewise.
66647
66648 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66649
66650 [BZ #15480]
66651 [BZ #15485]
66652 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66653 main case of finite arguments, set rounding mode to FE_TONEAREST
66654 and discard exceptions.
66655 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66656 exceptions.
66657 (remainder_tonearest_test_data): New variable.
66658 (remainder_test_tonearest): New function.
66659 (remainder_towardzero_test_data): New variable.
66660 (remainder_test_towardzero): New function.
66661 (remainder_downward_test_data): New variable.
66662 (remainder_test_downward): New function.
66663 (remainder_upward_test_data): New variable.
66664 (remainder_test_upward): New function.
66665 (main): Call the new test functions.
66666
66667 * math/libm-test.inc (struct test_f_f1_data): Remove field
66668 extra_init.
66669 (struct test_fF_f1_data): Likewise.
66670 (struct test_ffI_f1_data): Likewise.
66671 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66672 based on value of EXTRA_EXPECTED.
66673 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66674 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66675 EXTRA_VAR based on value of EXTRA_EXPECTED.
66676 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66677 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66678 EXTRA_VAR based on value of EXTRA_EXPECTED.
66679 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66680 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66681 EXTRA_VAR based on value of EXTRA_EXPECTED.
66682 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66683 * math/gen-libm-test.pl (parse_args): Don't output initializers
66684 for extra output values.
66685
66686 * math/libm-test.inc (check_int): Expect result to be exactly
66687 equal to expected value and do not handle ulps.
66688 (check_long): Likewise.
66689 (check_longlong): Likewise.
66690
66691 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66692 exceptions.
66693 (cimag_test_data): Likewise.
66694 (conj_test_data): Likewise.
66695 (copysign_test_data): Likewise.
66696 (cproj_test_data): Likewise.
66697 (creal_test_data): Likewise.
66698 (fabs_test_data): Likewise.
66699 (fdim_test_data): Likewise.
66700 (finite_test_data): Likewise.
66701 (floor_test_data): Likewise.
66702 (fmax_test_data): Likewise.
66703 (fmin_test_data): Likewise.
66704 (fmod_test_data): Likewise.
66705 (fpclassify_test_data): Likewise.
66706 (frexp_test_data): Likewise.
66707 (ilogb_test_data): Likewise.
66708 (isfinite_test_data): Likewise.
66709 (isgreater_test_data): Likewise.
66710 (isgreaterequal_test_data): Likewise.
66711 (isinf_test_data): Likewise.
66712 (isless_test_data): Likewise.
66713 (islessequal_test_data): Likewise.
66714 (islessgreater_test_data): Likewise.
66715 (isnan_test_data): Likewise.
66716 (isnormal_test_data): Likewise.
66717 (issignaling_test_data): Likewise.
66718 (isunordered_test_data): Likewise.
66719 (ldexp_test_data): Likewise.
66720 (lrint_test_data): Likewise.
66721 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66722 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66723 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66724 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66725 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66726 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66727 test input.
66728 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66729 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66730 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66731 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66732 that test input.
66733 (lrint_downward_test_data): Test for "inexact" exceptions.
66734 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66735 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66736 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66737 test input.
66738 (lrint_upward_test_data): Test for "inexact" exceptions.
66739 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66740 test input.
66741 (llrint_test_data): Test for "inexact" exceptions.
66742 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66743 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66744 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66745 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66746 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66747 (llrint_downward_test_data): Test for "inexact" exceptions.
66748 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66749 (llrint_upward_test_data): Test for "inexact" exceptions.
66750 (logb_test_data): Likewise.
66751 (logb_downward_test_data): Likewise.
66752 (nextafter_test_data): Likewise.
66753 (nexttoward_test_data): Likewise.
66754 (remainder_test_data): Likewise.
66755 (remquo_test_data): Likewise.
66756 (scalbn_test_data): Likewise.
66757 (scalbln_test_data): Likewise.
66758 (signbit_test_data): Likewise.
66759 (sqrt_test_data): Likewise.
66760 (significand_test_data): Likewise.
66761
66762 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66763
66764 [BZ #15424]
66765 * benchtests/bench-modf.c (struct args): Mark arg0 as
66766 volatile.
66767 * scripts/bench.pl: Mark members of struct args as volatile.
66768
66769 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66770
66771 [BZ # 15497]
66772 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66773 negative infinity on POWER6 or lower.
66774 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66775
66776 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66777
66778 [BZ #15442]
66779 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66780 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66781 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66782 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66783 (_FP_SETQNAN): New macro.
66784 (_FP_SETQNAN_SEMIRAW): Likewise.
66785 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66786 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66787 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66788 (FP_EXTEND): Use _FP_FRAC_SNANP.
66789 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66790 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66791 into account.
66792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66793 New macro.
66794 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66795 Likewise.
66796
66797 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66798
66799 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66800 with DIVIDE_BY_ZERO_EXCEPTION.
66801 (gamma_test_data): Likewise.
66802 (lgamma_test_data): Likewise.
66803 (log_test_data): Likewise.
66804 (log10_test_data): Likewise.
66805 (log2_test_data): Likewise.
66806 (tgamma_test_data): Likewise.
66807
66808 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66809 (acos_test_tonearest): Likewise.
66810 (acos_test_towardzero): Likewise.
66811 (acos_test_downward): Likewise.
66812 (acos_test_upward): Likewise.
66813 (acosh_test): Likewise.
66814 (asin_test): Likewise.
66815 (asin_test_tonearest): Likewise.
66816 (asin_test_towardzero): Likewise.
66817 (asin_test_downward): Likewise.
66818 (asin_test_upward): Likewise.
66819 (asinh_test): Likewise.
66820 (atan_test): Likewise.
66821 (atanh_test): Likewise.
66822 (atan2_test): Likewise.
66823 (cabs_test): Likewise.
66824 (cacos_test): Likewise.
66825 (cacosh_test): Likewise.
66826 (casin_test): Likewise.
66827 (casinh_test): Likewise.
66828 (catan_test): Likewise.
66829 (catanh_test): Likewise.
66830 (cbrt_test): Likewise.
66831 (ccos_test): Likewise.
66832 (ccosh_test): Likewise.
66833 (cexp_test): Likewise.
66834 (clog_test): Likewise.
66835 (clog10_test): Likewise.
66836 (cos_test): Likewise.
66837 (cos_test_tonearest): Likewise.
66838 (cos_test_towardzero): Likewise.
66839 (cos_test_downward): Likewise.
66840 (cos_test_upward): Likewise.
66841 (cosh_test): Likewise.
66842 (cosh_test_tonearest): Likewise.
66843 (cosh_test_towardzero): Likewise.
66844 (cosh_test_downward): Likewise.
66845 (cosh_test_upward): Likewise.
66846 (cpow_test): Likewise.
66847 (csin_test): Likewise.
66848 (csinh_test): Likewise.
66849 (csqrt_test): Likewise.
66850 (ctan_test): Likewise.
66851 (ctan_test_tonearest): Likewise.
66852 (ctan_test_towardzero): Likewise.
66853 (ctan_test_downward): Likewise.
66854 (ctan_test_upward): Likewise.
66855 (ctanh_test): Likewise.
66856 (ctanh_test_tonearest): Likewise.
66857 (ctanh_test_towardzero): Likewise.
66858 (ctanh_test_downward): Likewise.
66859 (ctanh_test_upward): Likewise.
66860 (erf_test): Likewise.
66861 (erfc_test): Likewise.
66862 (exp_test): Likewise.
66863 (exp_test_tonearest): Likewise.
66864 (exp_test_towardzero): Likewise.
66865 (exp_test_downward): Likewise.
66866 (exp_test_upward): Likewise.
66867 (exp10_test): Likewise.
66868 (exp2_test): Likewise.
66869 (expm1_test): Likewise.
66870 (fmod_test): Likewise.
66871 (gamma_test): Likewise.
66872 (hypot_test): Likewise.
66873 (j0_test): Likewise.
66874 (j1_test): Likewise.
66875 (jn_test): Likewise.
66876 (lgamma_test): Likewise.
66877 (log_test): Likewise.
66878 (log10_test): Likewise.
66879 (log1p_test): Likewise.
66880 (log2_test): Likewise.
66881 (logb_test_downward): Likewise.
66882 (pow_test): Likewise.
66883 (pow_test_tonearest): Likewise.
66884 (pow_test_towardzero): Likewise.
66885 (pow_test_downward): Likewise.
66886 (pow_test_upward): Likewise.
66887 (remainder_test): Likewise.
66888 (remquo_test): Likewise.
66889 (sin_test): Likewise.
66890 (sin_test_tonearest): Likewise.
66891 (sin_test_towardzero): Likewise.
66892 (sin_test_downward): Likewise.
66893 (sin_test_upward): Likewise.
66894 (sincos_test): Likewise.
66895 (sinh_test): Likewise.
66896 (sinh_test_tonearest): Likewise.
66897 (sinh_test_towardzero): Likewise.
66898 (sinh_test_downward): Likewise.
66899 (sinh_test_upward): Likewise.
66900 (sqrt_test): Likewise.
66901 (tan_test): Likewise.
66902 (tan_test_tonearest): Likewise.
66903 (tan_test_towardzero): Likewise.
66904 (tan_test_downward): Likewise.
66905 (tan_test_upward): Likewise.
66906 (tanh_test): Likewise.
66907 (tgamma_test): Likewise.
66908 (y0_test): Likewise.
66909 (y1_test): Likewise.
66910 (yn_test): Likewise.
66911
66912 * math/gen-libm-test.pl (adjust_arg): Remove function.
66913 (special_function): Remove argument $in_func. Only handle
66914 generating output for tables of tests, not inside functions.
66915 (parse_args): Likewise.
66916 (generate_testfile): Remove variable $in_func. Update call to
66917 parse_args.
66918 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66919 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66920 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66921 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66922 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66923 (MAX_VALUE_INIT): Rename macro to max_value.
66924 (MIN_VALUE_INIT): Rename macro to min_value.
66925 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66926 (plus_zero): Remove variable.
66927 (minus_zero): Likewise.
66928 (plus_infty): Likewise.
66929 (minus_infty): Likewise.
66930 (qnan_value): Likewise.
66931 (max_value): Likewise.
66932 (min_value): Likewise.
66933 (min_subnorm_value): Likewise.
66934
66935 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66936
66937 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66938 uint64_t or uint32_t usage.
66939 * crypt/sha256-block.c: Likewise.
66940 * crypt/sha256-crypt.c: Likewise.
66941 * crypt/sha256.c: Likewise.
66942 * crypt/sha512-block.c: Likewise.
66943 * crypt/sha512-crypt.c: Likewise.
66944 * crypt/sha512.c: Likewise.
66945 * debug/backtrace-tst.c: Likewise.
66946 * debug/pcprofiledump.c: Likewise.
66947 * elf/cache.c: Likewise.
66948 * elf/dl-cache.c: Likewise.
66949 * elf/dl-misc.c: Likewise.
66950 * elf/dl-profile.c: Likewise.
66951 * elf/dl-support.c: Likewise.
66952 * elf/ldconfig.c: Likewise.
66953 * elf/sprof.c: Likewise.
66954 * iconv/dummy-repertoire.c: Likewise.
66955 * iconv/iconv_charmap.c: Likewise.
66956 * iconv/skeleton.c: Likewise.
66957 * iconvdata/8bit-generic.c: Likewise.
66958 * iconvdata/cp737.h: Likewise.
66959 * iconvdata/cp775.h: Likewise.
66960 * iconvdata/ibm1008.h: Likewise.
66961 * iconvdata/ibm1025.h: Likewise.
66962 * iconvdata/ibm1046.h: Likewise.
66963 * iconvdata/ibm1097.h: Likewise.
66964 * iconvdata/ibm1112.h: Likewise.
66965 * iconvdata/ibm1122.h: Likewise.
66966 * iconvdata/ibm1123.h: Likewise.
66967 * iconvdata/ibm1124.h: Likewise.
66968 * iconvdata/ibm1129.h: Likewise.
66969 * iconvdata/ibm1130.h: Likewise.
66970 * iconvdata/ibm1132.h: Likewise.
66971 * iconvdata/ibm1133.h: Likewise.
66972 * iconvdata/ibm1137.h: Likewise.
66973 * iconvdata/ibm1140.h: Likewise.
66974 * iconvdata/ibm1141.h: Likewise.
66975 * iconvdata/ibm1142.h: Likewise.
66976 * iconvdata/ibm1143.h: Likewise.
66977 * iconvdata/ibm1144.h: Likewise.
66978 * iconvdata/ibm1145.h: Likewise.
66979 * iconvdata/ibm1146.h: Likewise.
66980 * iconvdata/ibm1147.h: Likewise.
66981 * iconvdata/ibm1148.h: Likewise.
66982 * iconvdata/ibm1149.h: Likewise.
66983 * iconvdata/ibm1153.h: Likewise.
66984 * iconvdata/ibm1154.h: Likewise.
66985 * iconvdata/ibm1155.h: Likewise.
66986 * iconvdata/ibm1156.h: Likewise.
66987 * iconvdata/ibm1157.h: Likewise.
66988 * iconvdata/ibm1158.h: Likewise.
66989 * iconvdata/ibm1160.h: Likewise.
66990 * iconvdata/ibm1161.h: Likewise.
66991 * iconvdata/ibm1162.h: Likewise.
66992 * iconvdata/ibm1163.h: Likewise.
66993 * iconvdata/ibm1164.h: Likewise.
66994 * iconvdata/ibm1166.h: Likewise.
66995 * iconvdata/ibm1167.h: Likewise.
66996 * iconvdata/ibm12712.h: Likewise.
66997 * iconvdata/ibm1390.h: Likewise.
66998 * iconvdata/ibm1399.h: Likewise.
66999 * iconvdata/ibm16804.h: Likewise.
67000 * iconvdata/ibm4517.h: Likewise.
67001 * iconvdata/ibm4899.h: Likewise.
67002 * iconvdata/ibm4909.h: Likewise.
67003 * iconvdata/ibm4971.h: Likewise.
67004 * iconvdata/ibm5347.h: Likewise.
67005 * iconvdata/ibm803.h: Likewise.
67006 * iconvdata/ibm856.h: Likewise.
67007 * iconvdata/ibm901.h: Likewise.
67008 * iconvdata/ibm902.h: Likewise.
67009 * iconvdata/ibm9030.h: Likewise.
67010 * iconvdata/ibm9066.h: Likewise.
67011 * iconvdata/ibm921.h: Likewise.
67012 * iconvdata/ibm922.h: Likewise.
67013 * iconvdata/ibm9448.h: Likewise.
67014 * iconvdata/isiri-3342.h: Likewise.
67015 * iconvdata/jis0201.h: Likewise.
67016 * include/link.h: Likewise.
67017 * include/netdb.h: Likewise.
67018 * inet/check_native.c: Likewise.
67019 * inet/check_pf.c: Likewise.
67020 * inet/getipv4sourcefilter.c: Likewise.
67021 * inet/getnameinfo.c: Likewise.
67022 * inet/getsourcefilter.c: Likewise.
67023 * inet/htonl.c: Likewise.
67024 * inet/setipv4sourcefilter.c: Likewise.
67025 * inet/setsourcefilter.c: Likewise.
67026 * inet/test-inet6_opt.c: Likewise.
67027 * inet/tst-network.c: Likewise.
67028 * locale/C-collate.c: Likewise.
67029 * locale/C-ctype.c: Likewise.
67030 * locale/C-time.c: Likewise.
67031 * locale/C-translit.h: Likewise.
67032 * locale/loadarchive.c: Likewise.
67033 * locale/programs/3level.h: Likewise.
67034 * locale/programs/charmap.c: Likewise.
67035 * locale/programs/charmap.h: Likewise.
67036 * locale/programs/ld-address.c: Likewise.
67037 * locale/programs/ld-collate.c: Likewise.
67038 * locale/programs/ld-ctype.c: Likewise.
67039 * locale/programs/ld-identification.c: Likewise.
67040 * locale/programs/ld-measurement.c: Likewise.
67041 * locale/programs/ld-messages.c: Likewise.
67042 * locale/programs/ld-monetary.c: Likewise.
67043 * locale/programs/ld-name.c: Likewise.
67044 * locale/programs/ld-numeric.c: Likewise.
67045 * locale/programs/ld-paper.c: Likewise.
67046 * locale/programs/ld-telephone.c: Likewise.
67047 * locale/programs/ld-time.c: Likewise.
67048 * locale/programs/linereader.c: Likewise.
67049 * locale/programs/locale.c: Likewise.
67050 * locale/programs/locarchive.c: Likewise.
67051 * locale/programs/locfile.h: Likewise.
67052 * locale/programs/repertoire.c: Likewise.
67053 * locale/programs/simple-hash.c: Likewise.
67054 * locale/programs/simple-hash.h: Likewise.
67055 * malloc/memusage.c: Likewise.
67056 * malloc/memusagestat.c: Likewise.
67057 * nis/nis_defaults.c: Likewise.
67058 * nis/nis_hash.c: Likewise.
67059 * nis/nis_print.c: Likewise.
67060 * nis/nis_xdr.c: Likewise.
67061 * nscd/connections.c: Likewise.
67062 * nscd/hstcache.c: Likewise.
67063 * nscd/nscd_gethst_r.c: Likewise.
67064 * nscd/nscd_getserv_r.c: Likewise.
67065 * nscd/nscd_helper.c: Likewise.
67066 * nscd/servicescache.c: Likewise.
67067 * nss/makedb.c: Likewise.
67068 * nss/nss_db/db-XXX.c: Likewise.
67069 * nss/nss_db/db-initgroups.c: Likewise.
67070 * nss/nss_db/db-netgrp.c: Likewise.
67071 * nss/nss_files/files-network.c: Likewise.
67072 * nss/nss_files/files-parse.c: Likewise.
67073 * posix/bug-regex5.c: Likewise.
67074 * posix/fnmatch_loop.c: Likewise.
67075 * posix/regcomp.c: Likewise.
67076 * posix/regexec.c: Likewise.
67077 * posix/tst-rfc3484-2.c: Likewise.
67078 * posix/tst-rfc3484-3.c: Likewise.
67079 * posix/tst-rfc3484.c: Likewise.
67080 * resolv/nss_dns/dns-canon.c: Likewise.
67081 * resolv/nss_dns/dns-network.c: Likewise.
67082 * resolv/res_init.c: Likewise.
67083 * resolv/res_mkquery.c: Likewise.
67084 * resolv/tst-aton.c: Likewise.
67085 * stdlib/cxa_atexit.c: Likewise.
67086 * stdlib/cxa_finalize.c: Likewise.
67087 * stdlib/gen-fpioconst.c: Likewise.
67088 * stdlib/strtol_l.c: Likewise.
67089 * string/tst-endian.c: Likewise.
67090 * sunrpc/auth_des.c: Likewise.
67091 * sunrpc/clnt_udp.c: Likewise.
67092 * sunrpc/rtime.c: Likewise.
67093 * sunrpc/svcauth_des.c: Likewise.
67094 * sunrpc/xdr.c: Likewise.
67095 * sunrpc/xdr_intXX_t.c: Likewise.
67096 * sunrpc/xdr_rec.c: Likewise.
67097 * sysdeps/generic/ldconfig.h: Likewise.
67098 * sysdeps/generic/ldsodefs.h: Likewise.
67099 * sysdeps/generic/memusage.h: Likewise.
67100 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67101 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67102 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67106 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67107 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67108 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67110 * sysdeps/posix/getaddrinfo.c: Likewise.
67111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67113 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67115 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67116 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67117 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67118 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67119 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67120 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67122 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67123 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67124 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67125 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67126 * sysdeps/x86_64/dl-tls.h: Likewise.
67127 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67128 * time/alt_digit.c: Likewise.
67129 * time/era.c: Likewise.
67130 * wcsmbs/tst-c16c32-1.c: Likewise.
67131
67132 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67133
67134 * math/libm-test.inc (struct test_sincos_data): New type.
67135 (RUN_TEST_LOOP_sincos): New macro.
67136 (sincos_test_data): New variable.
67137 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67138
67139 2013-05-16 Richard Henderson <rth@redhat.com>
67140
67141 * math/atest-exp2.c (LIMB64): New macro.
67142 (CONSTSZ): New macro.
67143 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67144 (hexdig): Move ...
67145 (print_mpn_fp): ... to function scope.
67146 (read_mpn_hex): Remove.
67147 (get_log2): Remove.
67148 (exp2_mpn): Use mp_log2.
67149 (main): Use mp_exp1.
67150
67151 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67152
67153 * math/libm-test.inc: Remove comment about not testing "inexact"
67154 exceptions.
67155 (INEXACT_EXCEPTION): New macro.
67156 (NO_INEXACT_EXCEPTION): Likewise.
67157 (INVALID_EXCEPTION_OK): Update value.
67158 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67159 (OVERFLOW_EXCEPTION_OK): Likewise.
67160 (UNDERFLOW_EXCEPTION_OK): Likewise.
67161 (IGNORE_ZERO_INF_SIGN): Likewise.
67162 (ERRNO_UNCHANGED): Likewise.
67163 (ERRNO_EDOM): Likewise.
67164 (ERRNO_ERANGE): Likewise.
67165 (test_exceptions): Handle testing "inexact" exceptions.
67166 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67167 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67168 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67169 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67170 INEXACT_EXCEPTION.
67171 (rint_towardzero_test_data): Likewise.
67172 (rint_downward_test_data): Likewise.
67173 (rint_upward_test_data): Likewise.
67174
67175 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67176 with OVERFLOW_EXCEPTION.
67177 (exp10_test_data): Likewise.
67178 (exp2_test_data): Likewise.
67179 (expm1_test_data): Likewise.
67180 (lgamma_test_data): Likewise.
67181 (pow_test_data): Likewise.
67182 (tgamma_test_data): Likewise.
67183 (yn_test_data): Remove duplicate test of overflow.
67184
67185 * math/libm-test.inc (struct test_cc_c_data): New type.
67186 (RUN_TEST_LOOP_cc_c): New macro.
67187 (cpow_test_data): New variable.
67188 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67189
67190 * math/libm-test.inc (struct test_f_L_data): New type.
67191 (RUN_TEST_LOOP_f_L): New macro.
67192 (llrint_test_data): New variable.
67193 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67194 (llrint_tonearest_test_data): New variable.
67195 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67196 (llrint_towardzero_test_data): New variable.
67197 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67198 (llrint_downward_test_data): New variable.
67199 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67200 (llrint_upward_test_data): New variable.
67201 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67202 (llround_test_data): New variable.
67203 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67204
67205 2013-05-13 Peter Collingbourne <pcc@google.com>
67206
67207 * math/atest-exp2.c (get_log2): Remove const attribute.
67208
67209 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67210
67211 * math/libm-test.inc (struct test_f_l_data): New type.
67212 (RUN_TEST_LOOP_f_l): New macro.
67213 (lrint_test_data): New variable.
67214 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67215 (lrint_tonearest_test_data): New variable.
67216 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67217 (lrint_towardzero_test_data): New variable.
67218 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67219 (lrint_downward_test_data): New variable.
67220 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67221 (lrint_upward_test_data): New variable.
67222 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67223 (lround_test_data): New variable.
67224 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67225
67226 2013-05-15 Peter Collingbourne <pcc@google.com>
67227
67228 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67229 (EXTRACT_WORDS64) Use where appropriate.
67230 (INSERT_WORDS64) Likewise.
67231
67232 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67233 constraints with x constraints.
67234 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67235
67236 * malloc/obstack.c (_obstack_compat): Add initializer.
67237
67238 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67239
67240 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67241 si_trapno and add si_addr_lsb to _sifields.sigfault.
67242 (si_trapno): Remove macro.
67243 (si_addr_lsb): Define new macro.
67244 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67245
67246 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67247
67248 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67249 instead of TEST_f_l.
67250 (llrint_test_tonearest): Likewise.
67251 (llrint_test_towardzero): Likewise.
67252 (llrint_test_downward): Likewise.
67253 (llrint_test_upward): Likewise.
67254 (llround_test): Likewise.
67255
67256 * math/libm-test.inc (struct test_f_i_data): Add comment.
67257 (RUN_TEST_LOOP_f_b): New macro.
67258 (RUN_TEST_LOOP_f_b_tg): Likewise.
67259 (finite_test_data): New variable.
67260 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67261 (isfinite_test_data): New variable.
67262 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67263 (isinf_test_data): New variable.
67264 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67265 (isnan_test_data): New variable.
67266 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67267 (isnormal_test_data): New variable.
67268 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67269 (issignaling_test_data): New variable.
67270 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67271 (signbit_test_data): New variable.
67272 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67273
67274 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67275 with INVALID_EXCEPTION.
67276 (acosh_test_data): Likewise.
67277 (asin_test_data): Likewise.
67278 (atanh_test_data): Likewise.
67279 (fmod_test_data): Likewise.
67280 (log_test_data): Likewise.
67281 (log10_test_data): Likewise.
67282 (log2_test_data): Likewise.
67283 (pow_test_data): Likewise.
67284 (sqrt_test_data): Likewise.
67285 (y0_test_data): Likewise.
67286 (y1_test_data): Likewise.
67287 (yn_test_data): Likewise.
67288
67289 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67290 function contents.
67291
67292 * math/libm-test.inc (struct test_ff_i_data): New type.
67293 (RUN_TEST_LOOP_ff_i_tg): New macro.
67294 (isgreater_test_data): New variable.
67295 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67296 (isgreaterequal_test_data): New variable.
67297 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67298 (isless_test_data): New variable.
67299 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67300 (islessequal_test_data): New variable.
67301 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67302 (islessgreater_test_data): New variable.
67303 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67304 (isunordered_test_data): New variable.
67305 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67306
67307 2013-05-14 David S. Miller <davem@davemloft.net>
67308
67309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67310
67311 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67312
67313 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67314
67315 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67316 extra_test to int.
67317 (struct test_f_i_data): Change type of max_ulp to int.
67318
67319 * math/libm-test.inc (test_ffI_f1_data): New type.
67320 (RUN_TEST_LOOP_ffI_f1): New macro.
67321 (remquo_test_data): New variable.
67322 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67323
67324 * setjmp/tst-setjmp-fp.c: New file.
67325 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67326 (link-libm): New variable.
67327 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67328
67329 * math/libm-test.inc (struct test_f_i_data): New type.
67330 (RUN_TEST_LOOP_f_i): New macro.
67331 (RUN_TEST_LOOP_f_i_tg): Likewise.
67332 (fpclassify_test_data): New variable.
67333 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67334 (ilogb_test_data): New variable.
67335 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67336
67337 * math/libm-test.inc (scalbln_test): Correct function name in END
67338 call.
67339
67340 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67341 (RUN_TEST_LOOP_fI_f1): New macro.
67342 (frexp_test_data): New variable.
67343 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67344
67345 * math/libm-test.inc (struct test_fF_f1_data): New type.
67346 (RUN_TEST_LOOP_fF_f1): New macro.
67347 (modf_test_data): New variable.
67348 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67349
67350 * math/libm-test.inc (struct test_f_f1_data): New type.
67351 (RUN_TEST_LOOP_f_f1): New macro.
67352 (gamma_test_data): New variable.
67353 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67354 (lgamma_test_data): New variable.
67355 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67356
67357 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67358
67359 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67360 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67361 (main): Comment "tls" pseudo-hwcap.
67362
67363 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67364
67365 * math/libm-test.inc (struct test_fl_f_data): New type.
67366 (RUN_TEST_LOOP_fl_f): New variable.
67367 (scalbln_test_data): New variable.
67368 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67369
67370 * math/libm-test.inc (struct test_fi_f_data): New type.
67371 (RUN_TEST_LOOP_fi_f): New macro.
67372 (ldexp_test_data): New variable.
67373 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67374 (scalbn_test_data): New variable.
67375 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67376
67377 * math/libm-test.inc (struct test_c_f_data): New type.
67378 (RUN_TEST_LOOP_c_f): New macro.
67379 (cabs_test_data): New variable.
67380 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67381 (carg_test_data): New variable.
67382 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67383 (cimag_test_data): New variable.
67384 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67385 (creal_test_data): New variable.
67386 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67387
67388 * math/libm-test.inc (struct test_if_f_data): New type.
67389 (RUN_TEST_LOOP_if_f): New macro.
67390 (jn_test_data): New variable.
67391 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67392 (yn_test_data): New variable.
67393 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67394
67395 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67396
67397 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67398
67399 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67400 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67401
67402 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67403
67404 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67405 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67406 (bench-deps): Add bench-timing.h.
67407 * benchtests-bench-skeleton.c: Include bench-timing.h.
67408 (main): Use TIMING_* macros instead of clock_gettime.
67409 * benchtests/bench-timing.h: New file.
67410
67411 [BZ #14582]
67412 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67413 Renamed from _LIB_VERSION.
67414 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67415
67416 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67417
67418 * math/libm-test.inc (struct test_fff_f_data): New type.
67419 (RUN_TEST_LOOP_fff_f): New macro.
67420 (fma_test_data): New variable.
67421 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67422 (fma_towardzero_test_data): New variable.
67423 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67424 (fma_downward_test_data): New variable.
67425 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67426 (fma_upward_test_data): New variable.
67427 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67428
67429 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67430 (struct test_c_c_data): New type.
67431 (RUN_TEST_LOOP_c_c): New macro.
67432 (cacos_test_data): New variable.
67433 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67434 (cacosh_test_data): New variable.
67435 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67436 (casin_test_data): New variable.
67437 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67438 (casinh_test_data): New variable.
67439 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67440 (catan_test_data): New variable.
67441 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67442 (catanh_test_data): New variable.
67443 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67444 (ccos_test_data): New variable.
67445 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67446 (ccosh_test_data): New variable.
67447 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67448 (cexp_test_data): New variable.
67449 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67450 (clog_test_data): New variable.
67451 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67452 (clog10_test_data): New variable.
67453 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67454 (conj_test_data): New variable.
67455 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67456 (cproj_test_data): New variable.
67457 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67458 (csin_test_data): New variable.
67459 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67460 (csinh_test_data): New variable.
67461 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67462 (csqrt_test_data): New variable.
67463 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67464 (ctan_test_data): New variable.
67465 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67466 (ctan_tonearest_test_data): New variable.
67467 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67468 (ctan_towardzero_test_data): New variable.
67469 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67470 (ctan_downward_test_data): New variable.
67471 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67472 (ctan_upward_test_data): New variable.
67473 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67474 (ctanh_test_data): New variable.
67475 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67476 (ctanh_tonearest_test_data): New variable.
67477 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67478 (ctanh_towardzero_test_data): New variable.
67479 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67480 (ctanh_downward_test_data): New variable.
67481 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67482 (ctanh_upward_test_data): New variable.
67483 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67484 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67485 of BUILD_COMPLEX.
67486
67487 * math/libm-test.inc (struct test_ff_f_data): New type.
67488 (struct test_ff_f_data_nexttoward): Likewise.
67489 (RUN_TEST_LOOP_2_f): New macro.
67490 (RUN_TEST_LOOP_ff_f): Likewise.
67491 (atan2_test_data): New variable.
67492 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67493 (copysign_test_data): New variable.
67494 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67495 (fdim_test_data): New variable.
67496 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67497 (fmax_test_data): New variable.
67498 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67499 (fmin_test_data): New variable.
67500 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67501 (fmod_test_data): New variable.
67502 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67503 (hypot_test_data): New variable.
67504 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67505 (nextafter_test_data): New variable.
67506 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67507 (nexttoward_test_data): New variable.
67508 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67509 (pow_test_data): New variable.
67510 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67511 (pow_tonearest_test_data): New variable.
67512 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67513 (pow_towardzero_test_data): New variable.
67514 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67515 (pow_downward_test_data): New variable.
67516 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67517 (pow_upward_test_data): New variable.
67518 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67519 (remainder_test_data): New variable.
67520 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67521 (scalb_test_data): New variable.
67522 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67523 * sysdeps/i386/fpu/libm-test-ulps: Update.
67524
67525 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67526
67527 * math/libm-test.inc (fma_test): Use max_value instead of local
67528 variable fltmax.
67529 (nextafter_test): Likewise.
67530
67531 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67532 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67533 (acos_downward_test_data): New variable.
67534 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67535 (acos_upward_test_data): New variable.
67536 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67537 (acosh_test_data): New variable.
67538 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67539 (asin_test_data): New variable.
67540 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67541 (asin_tonearest_test_data): New variable.
67542 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67543 (asin_towardzero_test_data): New variable.
67544 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67545 (asin_downward_test_data): New variable.
67546 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67547 (asin_upward_test_data): New variable.
67548 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67549 (asinh_test_data): New variable.
67550 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67551 (atan_test_data): New variable.
67552 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67553 (atanh_test_data): New variable.
67554 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67555 (cbrt_test_data): New variable.
67556 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67557 (ceil_test_data): New variable.
67558 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67559 (cos_test_data): New variable.
67560 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67561 (cos_tonearest_test_data): New variable.
67562 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67563 (cos_towardzero_test_data): New variable.
67564 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67565 (cos_downward_test_data): New variable.
67566 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67567 (cos_upward_test_data): New variable.
67568 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67569 (cosh_test_data): New variable.
67570 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67571 (cosh_tonearest_test_data): New variable.
67572 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67573 (cosh_towardzero_test_data): New variable.
67574 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67575 (cosh_downward_test_data): New variable.
67576 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67577 (cosh_upward_test_data): New variable.
67578 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67579 (erf_test_data): New variable.
67580 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67581 (erfc_test_data): New variable.
67582 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67583 (exp_test_data): New variable.
67584 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67585 (exp_tonearest_test_data): New variable.
67586 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67587 (exp_towardzero_test_data): New variable.
67588 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67589 (exp_downward_test_data): New variable.
67590 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67591 (exp_upward_test_data): New variable.
67592 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67593 (exp10_test_data): New variable.
67594 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67595 (exp2_test_data): New variable.
67596 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67597 (expm1_test_data): New variable.
67598 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67599 (fabs_test_data): New variable.
67600 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67601 (floor_test_data): New variable.
67602 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67603 (j0_test_data): New variable.
67604 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67605 (j1_test_data): New variable.
67606 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67607 (log_test_data): New variable.
67608 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67609 (log10_test_data): New variable.
67610 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67611 (log1p_test_data): New variable.
67612 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67613 (log2_test_data): New variable.
67614 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67615 (logb_test_data): New variable.
67616 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67617 (logb_downward_test_data): New variable.
67618 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67619 (nearbyint_test_data): New variable.
67620 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67621 (rint_test_data): New variable.
67622 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67623 (rint_tonearest_test_data): New variable.
67624 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67625 (rint_towardzero_test_data): New variable.
67626 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67627 (rint_downward_test_data): New variable.
67628 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67629 (rint_upward_test_data): New variable.
67630 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67631 (round_test_data): New variable.
67632 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67633 (sin_test_data): New variable.
67634 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67635 (sin_tonearest_test_data): New variable.
67636 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67637 (sin_towardzero_test_data): New variable.
67638 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67639 (sin_downward_test_data): New variable.
67640 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67641 (sin_upward_test_data): New variable.
67642 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67643 (sinh_test_data): New variable.
67644 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67645 (sinh_tonearest_test_data): New variable.
67646 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67647 (sinh_towardzero_test_data): New variable.
67648 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67649 (sinh_downward_test_data): New variable.
67650 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67651 (sinh_upward_test_data): New variable.
67652 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67653 (sqrt_test_data): New variable.
67654 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67655 (tan_test_data): New variable.
67656 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67657 (tan_tonearest_test_data): New variable.
67658 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67659 (tan_towardzero_test_data): New variable.
67660 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67661 (tan_downward_test_data): New variable.
67662 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67663 (tan_upward_test_data): New variable.
67664 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67665 (tanh_test_data): New variable.
67666 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67667 (tgamma_test_data): New variable.
67668 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67669 (trunc_test_data): New variable.
67670 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67671 (y0_test_data): New variable.
67672 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67673 (y1_test_data): New variable.
67674 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67675 (significand_test_data): New variable.
67676 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67677
67678 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67679
67680 [BZ #12387]
67681 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67682
67683 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67684
67685 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67686
67687 2013-05-10 Andreas Jaeger <aj@suse.de>
67688
67689 [BZ #15448]
67690 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67691 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67692
67693 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67694
67695 * math/gen-libm-test.pl (adjust_arg): New function.
67696 (special_functions): Handle generating output in both functions
67697 and arrays.
67698 (parse_args): Likewise.
67699 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67700 $in_func argument to parse_args.
67701 * math/libm-test.inc (struct test_f_f_data): New type.
67702 (IF_ROUND_INIT_): New macro.
67703 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67704 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67705 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67706 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67707 (ROUND_RESTORE_): Likewise.
67708 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67709 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67710 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67711 (ROUND_RESTORE_FE_UPWARD): Likewise.
67712 (RUN_TEST_LOOP_f_f): New macro.
67713 (acos_test_data): New variable.
67714 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67715 (acos_tonearest_test_data): New variable.
67716 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67717
67718 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67719
67720 * benchtests/bench-skeleton.c (startup): Fix coding style.
67721
67722 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67723
67724 [BZ #6809]
67725 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67726 negative infinity argument.
67727 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67728 negative infinity argument.
67729 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67730 negative infinity argument.
67731 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67732 domain errors.
67733
67734 2013-05-10 Florian Weimer <fweimer@redhat.com>
67735
67736 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67737 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67738 * iconv/iconv_prog.c (main): Likewise.
67739 * locale/programs/charmap-dir.c (charmap_readdir)
67740 (fopen_uncompressed): Likewise.
67741 * locale/programs/locfile.c (siblings_uncached)
67742 (write_locale_data): Use lstat64 instead of lstat.
67743 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67744 stat.
67745
67746 2013-05-10 Andreas Jaeger <aj@suse.de>
67747
67748 [BZ #15395]
67749 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67750 localization.
67751 Include <locale.h>.
67752
67753 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67754
67755 * elf/dl-close.c (_dl_close_worker): Add comments.
67756
67757 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67758
67759 [BZ #15359]
67760 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67761 high part of pi/2.
67762 (__ieee754_rem_pio2l): Update comments.
67763
67764 [BZ #15429]
67765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67766 high part of pi/2.
67767 (__ieee754_rem_pio2l): Update comments.
67768
67769 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67770 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67771
67772 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67773 M_PI_4l.
67774
67775 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67776 (M_PI_34_LOG10El): Likewise.
67777 (M_PI2_LOG10El): Likewise.
67778 (M_PI4_LOG10El): Likewise.
67779 (M_PI_LOG10El): Likewise.
67780
67781 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67782
67783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67784
67785 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67786
67787 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67788 (MINUS_ZERO_INIT): Likewise.
67789 (PLUS_INFTY_INIT): Likewise.
67790 (MINUS_INFTY_INIT): Likewise.
67791 (QNAN_VALUE_INIT): Likewise.
67792 (MAX_VALUE_INIT): Likewise.
67793 (MIN_VALUE_INIT): Likewise.
67794 (MIN_SUBNORM_VALUE_INIT): Likewise.
67795 (plus_zero): Initialize with PLUS_ZERO_INIT.
67796 (minus_zero): Initialize with MINUS_ZERO_INIT.
67797 (plus_infty): Initialize with PLUS_INFTY_INIT.
67798 (minus_infty): Initialize with MINUS_INFTY_INIT.
67799 (qnan_value): Initialize with QNAN_VALUE_INIT.
67800 (max_value): Initialize with MAX_VALUE_INIT.
67801 (min_value): Initialize with MIN_VALUE_INIT.
67802 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67803
67804 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67805 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67806 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67807 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67808
67809 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67810 (RUN_TEST_2_f): Likewise.
67811 (RUN_TEST_ff_f): Likewise.
67812 (RUN_TEST_fi_f): Likewise.
67813 (RUN_TEST_fl_f): Likewise.
67814 (RUN_TEST_fff_f): Likewise.
67815 (RUN_TEST_c_f): Likewise.
67816 (RUN_TEST_f_f1): Likewise.
67817 (RUN_TEST_fF_f1): Likewise.
67818 (RUN_TEST_fI_f1): Likewise.
67819 (RUN_TEST_ffI_f1): Likewise.
67820 (RUN_TEST_c_c): Likewise.
67821 (RUN_TEST_cc_c): Likewise.
67822 (RUN_TEST_f_i): Likewise.
67823 (RUN_TEST_f_i_tg): Likewise.
67824 (RUN_TEST_ff_i_tg): Likewise.
67825 (RUN_TEST_f_b): Likewise.
67826 (RUN_TEST_f_b_tg): Likewise.
67827 (RUN_TEST_f_l): Likewise.
67828 (RUN_TEST_f_L): Likewise.
67829 (RUN_TEST_sincos): Likewise.
67830 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67831 whether to show exceptions. Do not include ");\n" in return
67832 value.
67833 (special_functions): Output call to RUN_TEST_sincos instead of
67834 check_float calls. Update calls to new_test.
67835 (parse_args): Output call to single RUN_TEST_* macro instead of
67836 check_* calls and other assignments. Update calls to new_test.
67837
67838 [BZ #2546]
67839 [BZ #2560]
67840 [BZ #5159]
67841 [BZ #15426]
67842 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67843 input to result for tgamma overflow.
67844 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67845 (gamma_coeff): New variable.
67846 (NCOEFF): New macro.
67847 (gamma_positive): New function.
67848 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67849 underflow here. Use gamma_positive instead of exp (lgamma) for
67850 other arguments.
67851 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67852 (gamma_coeff): New variable.
67853 (NCOEFF): New macro.
67854 (gammaf_positive): New function.
67855 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67856 underflow here. Use gamma_positive instead of exp (lgamma) for
67857 other arguments.
67858 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67859 (gamma_coeff): New variable.
67860 (NCOEFF): New macro.
67861 (gammal_positive): New function.
67862 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67863 underflow here. Use gamma_positive instead of exp (lgamma) for
67864 other arguments.
67865 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67866 (gamma_coeff): New variable.
67867 (NCOEFF): New macro.
67868 (gammal_positive): New function.
67869 (__ieee754_gammal_r): Handle positive infinity, overflow and
67870 underflow here. Handle NaN the same as positive infinity. Remove
67871 check x < 0xffffffff for negative integers. Use gamma_positive
67872 instead of exp (lgamma) for other arguments.
67873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67874 (gamma_coeff): New variable.
67875 (NCOEFF): New macro.
67876 (gammal_positive): New function.
67877 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67878 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67879 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67880 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67881 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67882 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67883 * sysdeps/generic/math_private.h (__gamma_productf): New
67884 prototype.
67885 (__gamma_product): Likewise.
67886 (__gamma_productl): Likewise.
67887 * math/Makefile (libm-calls): Add gamma_product.
67888 * math/libm-test.inc (tgamma_test): Add more tests.
67889 * sysdeps/i386/fpu/libm-test-ulps: Update.
67890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67891
67892 2013-05-08 Ondƙej Bílka <neleai@seznam.cz>
67893
67894 * benchtests/bench-skeleton.c (main): Preheat CPU.
67895
67896 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67897
67898 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67899
67900 2013-05-07 Roland McGrath <roland@hack.frob.com>
67901
67902 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67903 and _dl_skip_args_internal.
67904
67905 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67906
67907 * manual/message.texi (Message Translation): Talk about users.
67908 Message to key mapping impacts design.
67909
67910 2013-05-06 Roland McGrath <roland@hack.frob.com>
67911
67912 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67913
67914 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67915
67916 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67917 * sysdeps/wordsize-64/glob64.c: ... here.
67918
67919 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67920 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67921 New macros.
67922
67923 * debug/getlogin_r_chk.c: Moved to ...
67924 * login/getlogin_r_chk.c: ... here.
67925 * debug/Makefile (routines): Move getlogin_r_chk to ...
67926 * login/Makefile (routines): ... here.
67927 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67928 * login/Versions (libc: GLIBC_2.4): ... here.
67929
67930 * io/poll.c (__poll): Renamed from poll.
67931 Add libc_hidden_def.
67932 (poll): Define as weak alias.
67933
67934 * debug/ptsname_r_chk.c: Moved to ...
67935 * login/ptsname_r_chk.c: ... here.
67936 * debug/Makefile (routines): Move ptsname_r_chk to ...
67937 * login/Makefile (routines): ... here.
67938 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67939 * login/Versions (libc: GLIBC_2.4): ... here.
67940
67941 * posix/getlogin.c: Moved to ...
67942 * login/getlogin.c: ... here.
67943 * posix/getlogin_r.c: Moved to ...
67944 * login/getlogin_r.c: ... here.
67945 * posix/getlogin_r.c: Moved to ...
67946 * login/getlogin_r.c: ... here.
67947 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67948 * login/Makefile (routines): ... here.
67949 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67950 * login/Versions (libc: GLIBC_2.0): ... here.
67951
67952 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67953 (setrlimit): Define as weak alias.
67954
67955 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67956 Call __ names for open, ftruncate, and close.
67957 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67958 (truncate): Define as weak alias.
67959
67960 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67961
67962 * math/gen-libm-test.pl (parse_args): Initialize x before each
67963 test of frexp, modf and remquo.
67964
67965 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67966 test signgam value.
67967
67968 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67969
67970 [BZ #15418]
67971 [BZ #15419]
67972 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67973 internal tests.
67974 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67975
67976 2013-05-06 Roland McGrath <roland@hack.frob.com>
67977
67978 * elf/dl-writev.h: New file.
67979 * elf/dl-misc.c: Include it.
67980 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67981 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67982
67983 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67984
67985 * math/libm-test.inc (noXFails): Remove variable.
67986 (noXPasses): Likewise.
67987 (BUILD_COMPLEX_INT): Remove macro.
67988 (print_screen): Remove xfail argument.
67989 (print_screen_max_error): Likewise.
67990 (update_stats): Likewise.
67991 (print_max_error): Likewise. Update calls to other affected
67992 functions.
67993 (print_complex_max_error): Likewise.
67994 (test_single_exception): Update calls to print_screen.
67995 (test_single_errno): Likewise.
67996 (check_float_internal): Remove xfail argument. Update calls to
67997 other affected functions.
67998 (check_float): Likewise.
67999 (check_complex): Likewise.
68000 (check_int): Likewise.
68001 (check_long): Likewise.
68002 (check_bool): Likewise.
68003 (check_longlong): Likewise.
68004 (main): Don't print noXFails and noXPasses.
68005 * math/gen-libm-test.pl (top level): Don't mention expected
68006 failure handling in comment.
68007 (new_test): Don't handle expected failures.
68008 (parse_args): Don't mention expected failure handling in comment.
68009 (generate_testfile): Don't handle expected failures.
68010 (parse_ulps): Likewise.
68011 (print_ulps_file): Likewise.
68012 (get_failure): Remove function.
68013 (output_test): Don't handle expected failures.
68014 * make/README.libm-test: Don't mention expected failure handling.
68015
68016 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68017 (minus_zero): Likewise.
68018 (plus_infty): Likewise.
68019 (minus_infty): Likewise.
68020 (qnan_value): Likewise.
68021 (max_value): Likewise.
68022 (min_value): Likewise.
68023 (min_subnorm_value): Likewise.
68024 (initialize): Do not initialize those variables dynamically.
68025
68026 2013-05-03 Roland McGrath <roland@hack.frob.com>
68027
68028 * io/open.c (__open_2): Moved to ...
68029 * io/open_2.c: ... this new file.
68030 * io/open64.c (__open64_2): Moved to ...
68031 * io/open64_2.c: ... this new file.
68032 * io/openat.c (__openat_2): Moved to ...
68033 * io/openat_2.c: ... this new file.
68034 * io/openat64.c (__openat64_2): Moved to ...
68035 * io/openat64_2.c: ... this new file.
68036 * io/Makefile (routines): Add them.
68037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68038 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68039 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68040 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68041 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68042 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68043 (__openat64): Add hidden_ver.
68044 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68045 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68046
68047 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68048 Separately conditionalize setting of GLRO(dl_sysinfo) so
68049 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68050 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68051
68052 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68053
68054 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68055 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68056 definition.
68057 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68059 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68060 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68061 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68062
68063 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68064
68065 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68066 test signgam value.
68067
68068 * math/libm-test.inc (hypot_test): Do not use
68069 IGNORE_ZERO_INF_SIGN.
68070
68071 2013-05-03 Andreas Jaeger <aj@suse.de>
68072
68073 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68074 Linux 3.9.
68075 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68076 (PF_MAX): Adjust for VSOCK change.
68077
68078 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68079
68080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68081
68082 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68083
68084 [BZ #15264]
68085 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68086 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68087 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68088
68089 2013-05-02 David S. Miller <davem@davemloft.net>
68090
68091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68092
68093 2013-05-01 Ondƙej Bílka <neleai@seznam.cz>
68094
68095 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68096
68097 2013-05-01 Roland McGrath <roland@hack.frob.com>
68098
68099 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68100
68101 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68102
68103 [BZ #14952]
68104 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68105 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68106 Use __attribute__ ((__gnu_inline__)).
68107 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68108 Don't use __attribute__ ((__gnu_inline__)).
68109
68110 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68111
68112 [BZ #15423]
68113 * math/s_catan.c (__catan): Handle small real or imaginary part of
68114 input specially to avoid spurious underflow.
68115 * math/s_catanf.c (__catanf): Likewise.
68116 * math/s_catanh.c (__catanh): Likewise.
68117 * math/s_catanhf.c (__catanhf): Likewise.
68118 * math/s_catanhl.c (__catanhl): Likewise.
68119 * math/s_catanl.c (__catanl): Likewise.
68120 * math/libm-test.inc (catan_test): Add more tests.
68121 (catanh_test): Likewise.
68122 * sysdeps/i386/fpu/libm-test-ulps: Update.
68123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68124
68125 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68126
68127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68128
68129 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68130
68131 [BZ #15416]
68132 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68133 accurately for denominator in atan2.
68134 * math/s_catanf.c (__catanf): Likewise.
68135 * math/s_catanh.c (__catanh): Likewise.
68136 * math/s_catanhf.c (__catanhf): Likewise.
68137 * math/s_catanhl.c (__catanhl): Likewise.
68138 * math/s_catanl.c (__catanl): Likewise.
68139 * math/libm-test.inc (catan_test): Add more tests.
68140 (catanh_test): Likewise.
68141 * sysdeps/i386/fpu/libm-test-ulps: Update.
68142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68143
68144 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68145
68146 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68147
68148 * benchtests/Makefile (bench): Remove slow benchmarks.
68149 * benchtests/atan-inputs: Add slow benchmark inputs.
68150 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68151 (BENCH_FUNC): Accept variant offset.
68152 (VARIANT): Define.
68153 * benchtests/bench-skeleton.c (main): Run benchmark for each
68154 variant.
68155 * benchtests/cos-inputs: Add slow benchmark inputs.
68156 * benchtests/exp-inputs: Likewise.
68157 * benchtests/pow-inputs: Likewise.
68158 * benchtests/sin-inputs: Likewise.
68159 * benchtests/slowatan-inputs: Remove.
68160 * benchtests/slowatan.c: Remove.
68161 * benchtests/slowcos-inputs: Remove.
68162 * benchtests/slowcos.c: Remove.
68163 * benchtests/slowexp-inputs: Remove.
68164 * benchtests/slowexp.c: Remove.
68165 * benchtests/slowpow-inputs: Remove.
68166 * benchtests/slowpow.c: Remove.
68167 * benchtests/slowsin-inputs: Remove.
68168 * benchtests/slowsin.c: Remove.
68169 * benchtests/slowtan-inputs: Remove.
68170 * benchtests/slowtan.c: Remove.
68171 * benchtests/tan-inputs: Add slow benchmark inputs.
68172 * scripts/bench.pl: Parse comments and directives.
68173
68174 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68175 in CPPFLAGS.
68176 ($(objpfx)bench-%.c): Remove *-ITER.
68177 * benchtests/bench-modf.c: Remove definition of ITER.
68178 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68179 (main): Loop for DURATION seconds instead of fixed number of
68180 iterations.
68181 * scripts/bench.pl: Don't expect iterations in parameters.
68182
68183 2013-04-29 Roland McGrath <roland@hack.frob.com>
68184
68185 * io/fchdir.c (__fchdir): Renamed from fchdir.
68186 (fchdir): Define as weak alias.
68187
68188 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68189
68190 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68191 (ERRNO_EDOM): Likewise.
68192 (ERRNO_ERANGE): Likewise.
68193 (noErrnoTests): New variable.
68194 (init_max_error): Set errno to 0.
68195 (test_single_errno): New function.
68196 (test_errno): Likewise.
68197 (check_float_internal): Call test_errno. Set errno to 0.
68198 (check_complex): Refer to errno tests in comment.
68199 (check_int): Call test_errno. Set errno to 0.
68200 (check_long): Likewise.
68201 (check_bool): Likewise.
68202 (check_longlong): Likewise.
68203 (cos_test): Use ERRNO_* flags for errno tests instead of
68204 check_int.
68205 (expm1_test): Likewise.
68206 (fmod_test): Likewise.
68207 (ilogb_test): Likewise.
68208 (lgamma_test): Likewise.
68209 (pow_test): Likewise.
68210 (remainder_test): Likewise.
68211 (sin_test): Likewise.
68212 (tan_test): Likewise.
68213 (yn_test): Likewise.
68214 (initialize): Set errno to 0.
68215 (main): Print number of errno tests.
68216 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68217
68218 2013-04-29 Andreas Jaeger <aj@suse.de>
68219
68220 [BZ #15084]
68221 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68222 and RES_USEVC.
68223
68224 [BZ #15085]
68225 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68226 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68227 unimplemented.
68228
68229 [BZ #15380]
68230 * stdlib/random.c (__initstate): Return NULL if
68231 __initstate fails.
68232
68233 [BZ #15086]
68234 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68235 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68236 RES_SNGLKUPREOP.
68237
68238 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68239
68240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68241
68242 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68243
68244 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68245 of individual tests.
68246 (casin_test): Likewise.
68247 (casinh_test): Likewise.
68248
68249 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68250
68251 [BZ #15409]
68252 * math/s_catan.c (__catan): Handle arguments with large real or
68253 imaginary part separately without squaring.
68254 * math/s_catanf.c (__catanf): Likewise.
68255 * math/s_catanh.c (__catanh): Likewise.
68256 * math/s_catanhf.c (__catanhf): Likewise.
68257 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68258 and redefine.
68259 (__catanhl): Handle arguments with large real or imaginary part
68260 separately without squaring.
68261 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68262 and redefine.
68263 (__catanl): Handle arguments with large real or imaginary part
68264 separately without squaring.
68265 * math/libm-test.inc (catan_test): Add more tests.
68266 (catanh_test): Likewise.
68267 * sysdeps/i386/fpu/libm-test-ulps: Update.
68268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68269
68270 2013-04-27 Andreas Jaeger <aj@suse.de>
68271
68272 [BZ #15007]
68273 * stdlib/stdlib.h: Update guards for qecvt.
68274 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68275 <stdlib.h>.
68276
68277 2013-04-27 Allan McRae <allan@archlinux.org>
68278
68279 * sysdeps/i386/fpu/libm-test-ulps: Update.
68280
68281 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68282
68283 [BZ #15406]
68284 * math/s_catan.c: Include <float.h>.
68285 (__catan): Ensure underflow exception occurs for underflowed
68286 result.
68287 * math/s_catanf.c: Include <float.h>.
68288 (__catanf): Ensure underflow exception occurs for underflowed
68289 result.
68290 * math/s_catanh.c: Include <float.h>.
68291 (__catanh): Ensure underflow exception occurs for underflowed
68292 result.
68293 * math/s_catanhf.c: Include <float.h>.
68294 (__catanhf): Ensure underflow exception occurs for underflowed
68295 result.
68296 * math/s_catanhl.c: Include <float.h>.
68297 (__catanhl): Ensure underflow exception occurs for underflowed
68298 result.
68299 * math/s_catanl.c: Include <float.h>.
68300 (__catanl): Ensure underflow exception occurs for underflowed
68301 result.
68302 * math/libm-test.inc (catan_test): Add more tests.
68303 (catanh_test): Likewise.
68304
68305 [BZ #15405]
68306 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68307 underflowed result.
68308 * math/s_ccoshf.c (__ccoshf): Likewise.
68309 * math/s_ccoshl.c (__ccoshl): Likewise.
68310 * math/s_csin.c (__csin): Likewise.
68311 * math/s_csinf.c (__csinf): Likewise.
68312 * math/s_csinh.c (__csinh): Likewise.
68313 * math/s_csinhf.c (__csinhf): Likewise.
68314 * math/s_csinhl.c (__csinhl): Likewise.
68315 * math/s_csinl.c (__csinl): Likewise.
68316 * math/libm-test.inc (ccos_test): Add more tests.
68317 (ccosh_test): Likewise.
68318 (csin_test): Likewise.
68319 (csinh_test): Likewise.
68320
68321 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68322
68323 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68324 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68325 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68326 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68327 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68328 powerpc/power5+/fpu folders.
68329 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68330
68331
68332 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68333
68334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68335
68336 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68337
68338 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68339 additions to variable.
68340 [$(config-machine) = x86_64] (modules-names): Likewise.
68341 ($(objpfx)tst-audit3): Remove dependency.
68342 ($(objpfx)tst-audit3.out): Likewise.
68343 ($(objpfx)tst-audit4): Likewise.
68344 ($(objpfx)tst-audit4.out): Likewise.
68345 ($(objpfx)tst-audit5): Likewise.
68346 ($(objpfx)tst-audit5.out): Likewise.
68347 ($(objpfx)tst-audit6): Likewise.
68348 ($(objpfx)tst-audit6.out): Likewise.
68349 ($(objpfx)tst-audit7): Likewise.
68350 ($(objpfx)tst-audit7.out): Likewise.
68351 (tst-audit3-ENV): Remove variable.
68352 (tst-audit4-ENV): Likewise.
68353 (tst-audit5-ENV): Likewise.
68354 (tst-audit6-ENV): Likewise.
68355 (tst-audit7-ENV): Likewise.
68356 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68357 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68358 addition to variable.
68359 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68360 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68361 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68362 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68363 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68364 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68365 tst-audit3, tst-audit4 and tst-audit5.
68366 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68367 tst-audit6 and tst-audit7.
68368 [$(subdir) = elf] (modules-names): Add audit modules for those
68369 tests.
68370 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68371 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68372 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68373 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68374 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68375 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68376 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68377 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68378 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68379 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68380 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68381 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68382 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68383 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68384 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68385 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68386 Likewise.
68387 [$(subdir) = elf && $(config-cflags-avx) = yes]
68388 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68389 [$(subdir) = elf && $(config-cflags-avx) = yes]
68390 (CFLAGS-tst-auditmod4a.c): Likewise.
68391 [$(subdir) = elf && $(config-cflags-avx) = yes]
68392 (CFLAGS-tst-auditmod4b.c): Likewise.
68393 [$(subdir) = elf && $(config-cflags-avx) = yes]
68394 (CFLAGS-tst-auditmod6b.c): Likewise.
68395 [$(subdir) = elf && $(config-cflags-avx) = yes]
68396 (CFLAGS-tst-auditmod6c.c): Likewise.
68397 [$(subdir) = elf && $(config-cflags-avx) = yes]
68398 (CFLAGS-tst-auditmod7b.c): Likewise.
68399 * elf/tst-audit3.c: Move to ...
68400 * sysdeps/x86_64/tst-audit3.c: ... here.
68401 * elf/tst-audit4.c: Move to ...
68402 * sysdeps/x86_64/tst-audit4.c: ... here.
68403 * elf/tst-audit5.c: Move to ...
68404 * sysdeps/x86_64/tst-audit5.c: ... here.
68405 * elf/tst-audit6.c: Move to ...
68406 * sysdeps/x86_64/tst-audit6.c: ... here.
68407 * elf/tst-audit7.c: Move to ...
68408 * sysdeps/x86_64/tst-audit7.c: ... here.
68409 * elf/tst-auditmod3a.c: Move to ...
68410 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68411 * elf/tst-auditmod3b.c: Move to ...
68412 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68413 * elf/tst-auditmod4a.c: Move to ...
68414 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68415 * elf/tst-auditmod4b.c: Move to ...
68416 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68417 * elf/tst-auditmod5a.c: Move to ...
68418 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68419 * elf/tst-auditmod5b.c: Move to ...
68420 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68421 * elf/tst-auditmod6a.c: Move to ...
68422 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68423 * elf/tst-auditmod6b.c: Move to ...
68424 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68425 * elf/tst-auditmod6c.c: Move to ...
68426 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68427 * elf/tst-auditmod7a.c: Move to ...
68428 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68429 * elf/tst-auditmod7b.c: Move to ...
68430 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68431
68432 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68433
68434 [BZ #15366]
68435 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68436 define unconditionally.
68437 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68438 define unconditionally.
68439 (INT8_C, INT16_C, etc.): Likewise.
68440
68441 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68442
68443 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68444 __ehdr_start with hidden visibility.
68445
68446 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68447
68448 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68449
68450 * math/libm-test.inc (cos_test): Use accurate hex constants.
68451 (sincost_test): Likewise.
68452
68453 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68454
68455 * math/libm-test.inc (catan_test): Add more tests.
68456 (catanh_test): Likewise.
68457
68458 * math/s_catanf.c (__catanf): Use suffixed floating-point
68459 constants.
68460 * math/s_catanhf.c (__catanhf): Likewise.
68461 * math/s_catanhl.c (__catanhl): Likewise.
68462 * math/s_catanl.c (__catanl): Likewise.
68463
68464 [BZ #15394]
68465 * math/s_catan.c (__catan): Calculate imaginary part of result
68466 with log1p not log unless computing log of number close to 0.
68467 * math/s_catanf.c (__catanf): Likewise.
68468 * math/s_catanl.c (__catanl): Likewise.
68469 * math/s_catanh.c (__catanh): Calculate real part of result with
68470 log1p not log unless computing log of number close to 0.
68471 * math/s_catanhf.c (__catanhf): Likewise.
68472 * math/s_catanhl.c (__catanhl): Likewise.
68473 * math/libm-test.inc (catan_test): Add more tests.
68474 (catanh_test): Likewise.
68475 * sysdeps/i386/fpu/libm-test-ulps: Update.
68476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68477
68478 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68479
68480 * benchtests/Makefile: Mention files in which fast and slow
68481 paths of math functions are implemented.
68482
68483 2013-04-23 Roland McGrath <roland@hack.frob.com>
68484
68485 * sysdeps/posix/timespec_get.c: New file.
68486
68487 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68488
68489 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68490 POWER.
68491 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68492 for POWER.
68493 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68494 powerpc/power5/fpu folders.
68495 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68496 * benchtests/Makefile: Add modf testcase.
68497 * benchtests/bench-modf.c: New file: Benchmark test for mo
68498
68499 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68500
68501 [BZ #14888]
68502 * time/Makefile (tests): Add tst-strptime-whitespace.
68503 * time/strptime_l.c (get_number): Use ISSPACE.
68504 (__strptime_internal): Likewise.
68505 * time/tst-strptime-whitespace.c: New test case.
68506
68507 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68508
68509 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68510 member.
68511 (_nss_files_init): Set it here.
68512
68513 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68514
68515 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68516 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68517 unsigned.
68518
68519 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68520
68521 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68522
68523 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68524
68525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68526 size just once.
68527
68528 2013-04-21 David S. Miller <davem@davemloft.net>
68529
68530 * po/ru.po: Update Russion translation from translation project.
68531
68532 2013-04-17 Adam Conrad <adconrad@0c3.net>
68533
68534 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68535 and setfsgid.
68536
68537 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68538
68539 * configure.in: Remove i386 configure warning. Remove i386 case.
68540 * configure: Regenerate.
68541 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68542 Add example to error message.
68543 * sysdeps/i386/configure: Regenerate.
68544
68545 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68546
68547 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68548 slowtan.
68549 * benchtests/cos-inputs: New file.
68550 * benchtests/slowcos-inputs: New file.
68551 * benchtests/slowcos.c: New file.
68552 * benchtests/slowtan-inputs: New file.
68553 * benchtests/slowtan.c: New file.
68554 * benchtests/tan-inputs: New file.
68555
68556 2013-04-16 Roland McGrath <roland@hack.frob.com>
68557
68558 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68559 considered kosher.
68560
68561 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68562
68563 * benchtests/Makefile: Include cppflags-iterator.mk to add
68564 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68565
68566 * Makefile.in (bench-clean): New target.
68567 * benchtests/Makefile (bench-clean): Likewise.
68568
68569 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68570
68571 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68572
68573 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68574
68575 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68576
68577 2013-04-15 Andreas Schwab <schwab@suse.de>
68578
68579 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68581 * nscd/pwdcache.c (cache_addpw): Likewise.
68582 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68583 more than recsize.
68584
68585 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68586
68587 * benchtests/Makefile (bench): Write all output to
68588 bench-out.tmp together.
68589
68590 2013-04-15 Andreas Schwab <schwab@suse.de>
68591
68592 * nscd/nscd.c (main): Don't fork again after closing files.
68593
68594 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68595
68596 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68597
68598 * benchtests/Rules (bench-deps): Collect dependencies into a
68599 single variable. Add Makefile to dependencies.
68600 ($(objpfx)bench-%.c): Depend on bench-deps.
68601
68602 2013-04-12 Roland McGrath <roland@hack.frob.com>
68603 Xavier Roche <roche+kml2@exalead.com>
68604
68605 [BZ #15361]
68606 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68607 just that it's a file descriptor.
68608 * manual/llio.texi (Synchronizing AIO Operations): Update description
68609 for EBADF error from aio_fsync.
68610
68611 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68612
68613 * Rules (bench): Move target definition...
68614 * benchtests/Makefile: ... here.
68615
68616 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68617
68618 * math/libm-test.inc (cos_test): Fix PI/2 test.
68619 (sincos_test): Likewise.
68620 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68621 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68622
68623 2013-04-11 Andreas Schwab <schwab@suse.de>
68624
68625 [BZ #13988]
68626 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68627 accept exponent character only when digits were seen.
68628 * stdio-common/Makefile (tests): Add bug26.
68629 * stdio-common/bug26.c: New file.
68630
68631 [BZ #14293]
68632 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68633 non-freeable.
68634
68635 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68636
68637 * Makeconfig (rtld-prefix): Define built linker prefix.
68638 * Rules (run-bench): Use it.
68639 * math/Makefile (run-regen-ulps): Likewise.
68640
68641 * Rules (bench): Remove eval.
68642
68643 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68644 Roland McGrath <roland@hack.frob.com>
68645 Ondrej Bilka <neleai@seznam.cz>
68646
68647 [BZ #15346]
68648 * time/getdate.c: Include ctype.h and alloca.h.
68649 (__getdate_r): Trim leading and trailing spaces of input.
68650 * time/tst-getdate.c (tests): Add tests with leading and
68651 trailing spaces.
68652
68653 2013-04-08 Roland McGrath <roland@hack.frob.com>
68654
68655 [BZ #14280]
68656 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68657 when computing value.
68658
68659 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68660
68661 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68662 Use testrun.sh to run libm tests.
68663
68664 [BZ #15309]
68665 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68666
68667 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68668
68669 [BZ #15264]
68670 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68671
68672 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68673
68674 * Makefile.in (regen-ulps): New target.
68675 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68676 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68677 [ifneq (no,$(PERL)] (regen-ulps): New target.
68678 [ifeq (no,$(PERL)] (regen-ulps): New target.
68679 * math/libm-test.inc (ulps_file_name): Define.
68680 (output_dir): New variable.
68681 (options): Add "output-dir" option.
68682 (parse_opt): Handle 'o' case.
68683 (main): If output_dir is non-NULL use it as a prefix
68684 otherwise use "".
68685 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68686
68687 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68688
68689 [BZ #10060, #10062]
68690 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68691 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68692 fail configure if __sync_val_compare_and_swap is not inlined.
68693 * sysdeps/i386/configure: Regenerate.
68694 * configure.in: Build for i686 when configured for i386.
68695 * configure: Regenerate.
68696 * README: Remove i386 reference.
68697
68698 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68699
68700 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68702
68703 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68704
68705 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68706 (lmsnanval): New variables.
68707 (F): Add conversion tests.
68708 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68709 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68710
68711 * stdio-common/tstdiomisc.c (F): Properly collect individual
68712 tests' results.
68713
68714 [BZ #14686, #15336]
68715 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68716 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68717 Instead, use input NaN values or generate a qNaN by arithmetic
68718 operation. Also fix bugs to comply with the standard.
68719 * math/libm-test.inc (remainder_test): Add more tests.
68720
68721 [BZ #15335, #15342]
68722 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68724 input NaN values or generate a qNaN by arithmetic operation.
68725
68726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68727 unreachable code.
68728
68729 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68730 definitions.
68731
68732 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68733
68734 [BZ #14478]
68735 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68736 underflowed result.
68737 * math/s_cexpf.c (__cexpf): Likewise.
68738 * math/s_cexpl.c (__cexpl): Likewise.
68739 * math/libm-test.inc (cexp_test): Add more tests.
68740
68741 2013-04-03 Andreas Schwab <schwab@suse.de>
68742
68743 [BZ #15330]
68744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68745 order arrays from heap if bigger than alloca cutoff.
68746
68747 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68748
68749 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68750 (SNAN_TESTS_double): Refer to GCC PR56831.
68751 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68752 GCC PR56828.
68753
68754 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68755
68756 * Rules (bench): Move bench.out after the run is complete.
68757
68758 * Rules (bench): Echo currently running benchmark.
68759
68760 * benchtests/Makefile (bench): Add atan and slowatan.
68761 * benchtests/atan-inputs: New file.
68762 * benchtests/slowatan-inputs: New file.
68763 * benchtests/slowatan.c: New file.
68764
68765 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68766 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68767 its value.
68768
68769 [BZ #15305]
68770 * sysdeps/unix/sysv/linux/kernel-features.h
68771 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68772 __ASSUME_XFS_RESTRICTED_CHOWN.
68773 * sysdeps/unix/sysv/linux/pathconf.c
68774 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68775 Save and restore errno.
68776
68777 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68778
68779 [BZ #15327]
68780 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68781 arguments using __kernel_casinh.
68782 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68783 arguments using __kernel_casinhf.
68784 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68785 arguments using __kernel_casinhl.
68786 * math/libm-test.inc (cacosh_test): Add more tests.
68787 * sysdeps/i386/fpu/libm-test-ulps: Update.
68788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68789
68790 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68791
68792 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68794
68795 * bench/Makefile (bench): Add sin and slowsin.
68796 * benchtests/sin-inputs: New file.
68797 * benchtests/slowsin-inputs: New file.
68798 * benchtests/slowsin.c: New file.
68799
68800 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68801 (bench): Add slowexp and slowpow.
68802 (exp-ITER): Increase iterations.
68803 (pow-ITER): Likewise.
68804 * benchtests/exp-inputs: Change input.
68805 * benchtests/pow-inputs: Likewise.
68806 * benchtests/slowexp-inputs: New file.
68807 * benchtests/slowexp.c: New file.
68808 * benchtests/slowpow-inputs: New file.
68809 * benchtests/slowpow.c: New file.
68810
68811 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68812
68813 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68814 instructions.
68815 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68816 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68817 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68818 * benchtests/Makefile: Add rint benchtest.
68819 * benchtests/rint-inputs: Input for rint benchtest.
68820
68821 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68822
68823 * Versions.def (libm): Add GLIBC_2.18.
68824 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68825 hidden libm prototypes.
68826 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68827 * math/Makefile (libm-calls): Add s_issignaling.
68828 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68829 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68830 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68831 declaration.
68832 * math/math.h [__USE_GNU] (issignaling): New macro.
68833 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68834 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68835 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68836 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68837 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68838 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68839 * manual/arith.texi (issignaling): New section.
68840 * manual/libm-err-tab.pl (@all_functions): Update comment.
68841 * math/gen-libm-test.pl (parse_args): Apply special handling for
68842 issignaling.
68843 * math/libm-test.inc (print_float, issignaling_test): New
68844 functions.
68845 (check_float_internal): Add issignaling checks.
68846 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68847 default definition.
68848 * sysdeps/powerpc/math-tests.h: New file.
68849 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68850 tests.
68851 * math/test-snan.c (TEST_FUNC): Likewise.
68852
68853 2013-03-30 David S. Miller <davem@davemloft.net>
68854
68855 * po/de.po: Update from translation team.
68856
68857 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68858
68859 [BZ #10357]
68860 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68861 imaginary part less than 1.0 and real part less than 0.5
68862 specially.
68863 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68864 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68865 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68866 (cacos_test): Add more tests.
68867 (casin_test): Likewise.
68868 (casinh_test): Likewise.
68869 * sysdeps/i386/fpu/libm-test-ulps: Update.
68870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68871
68872 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68873
68874 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68875 ONE with its value.
68876
68877 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68878 (__pow_mp): Replace ONE and MONE with their values.
68879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68882 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68883 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68884 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68885
68886 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68887
68888 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68889 (__pow_mp): Replace ZERO and MZERO with their values.
68890 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68892 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68894 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68895 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68896 (__sqr): Likewise.
68897
68898 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68899
68900 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68901
68902 2013-03-28 Roland McGrath <roland@hack.frob.com>
68903
68904 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68905 Declare with __attribute__ ((weak)).
68906 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68907 Call __call_tls_dtors only if it's not NULL.
68908
68909 2013-03-28 Roland McGrath <roland@hack.frob.com>
68910
68911 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68912 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68913 magic __ehdr_start linker symbol if it's defined.
68914 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68915 them up here if it was already done.
68916
68917 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68918 (_dl_aux_init): Use const in cast when setting it.
68919 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68920 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68921 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68922
68923 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68924 Declare them here.
68925 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68926 * csu/libc-tls.c: Nor here.
68927 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68928
68929 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68930 (__libc_message): Never call vsyslog.
68931
68932 2013-03-28 Alan Modra <amodra@gmail.com>
68933
68934 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68935 Define as empty.
68936 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68937 Likewise.
68938
68939 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68940
68941 [BZ #15214]
68942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68943 underflow.
68944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68945
68946 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68947
68948 [BZ #15304]
68949 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68950 Don't add gid passed as argument.
68951
68952 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68953
68954 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68955
68956 [BZ #15307]
68957 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68958 imaginary part between 1.0 and 1.5 and real part less than 0.5
68959 specially.
68960 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68961 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68962 * math/libm-test.inc (cacos_test): Add more tests.
68963 (casin_test): Likewise.
68964 (casinh_test): Likewise.
68965 * sysdeps/i386/fpu/libm-test-ulps: Update.
68966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68967
68968 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68969
68970 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68971 constants.
68972 (norm): Likewise.
68973 (denorm): Likewise.
68974 (__dbl_mp): Likewise.
68975 (add_magnitudes): Likewise.
68976 (sub_magnitudes): Likewise.
68977 (__add): Likewise.
68978 (__sub): Likewise.
68979 (__mul): Likewise.
68980 (__sqr): Likewise.
68981 (__inv): Likewise.
68982 (__dvd): Likewise.
68983
68984 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68985 commented code.
68986 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68987 (__dubcos): Likewise.
68988 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68989 (__ieee754_acos): Likewise.
68990 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68991 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68992 (__exp1): Likewise.
68993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68995 (log1): Likewise.
68996 (my_log2): Likewise.
68997 (checkint): Likewise.
68998 * sysdeps/ieee754/dbl-64/e_remainder.c
68999 (__ieee754_remainder): Likewise.
69000 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69002 (bsloww): Likewise.
69003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69004
69005 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69007 MANTISSA_STORE_T to store computations on mantissa. Use
69008 macros for rounding and division.
69009 (denorm): Likewise.
69010 (__dbl_mp): Likewise.
69011 (add_magnitudes): Likewise.
69012 (sub_magnitudes): Likewise.
69013 (__mul): Likewise.
69014 (__sqr): Likewise.
69015 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69016 powers of two in terms of TWOPOW macro.
69017 (mp_no): Make type of mantissa as MANTISSA_T.
69018 [!RADIXI]: Define RADIXI.
69019 [!TWO52]: Define TWO52.
69020 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69021
69022 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69023
69024 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69025 llroundl symbol when building for PPC32.
69026
69027 2013-03-24 Mark H Weaver <mhw@netris.org>
69028
69029 * manual/arith.texi (Normalization Functions): Fix prototypes for
69030 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69031
69032 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69033
69034 [BZ #13889]
69035 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69036 high value to check if expl overflow.
69037 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69038 to check for underflow and overflow.
69039 * math/libm-test.inc: Add exp test.
69040
69041 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69042
69043 [BZ #11120]
69044 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69045 with NOT_IN_libc.
69046
69047 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69048
69049 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69050 symbol.
69051
69052 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69053
69054 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69055 wrap blocks consisting of several statements.
69056
69057 * sysdeps/generic/math-tests.h: New file.
69058 * sysdeps/i386/fpu/math-tests.h: Likewise.
69059 * math/test-snan.c: Include it.
69060 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69061
69062 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69063
69064 [BZ #15285]
69065 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69066 (__ieee754_j0l): Do not improve calculations using cos of twice
69067 input for inputs above LDBL_MAX / 2.0L.
69068 (__ieee754_y0l): Likewise.
69069 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69070 (__ieee754_j1l): Do not improve calculations using cos of twice
69071 input for inputs above LDBL_MAX / 2.0L.
69072 (__ieee754_y1l): Likewise.
69073 * math/libm-test.inc (j0_test): Add another test.
69074 (j1_test): Likewise.
69075 (y0_test): Likewise.
69076 (y1_test): Likewise.
69077 * sysdeps/i386/fpu/libm-test-ulps: Update.
69078
69079 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69080
69081 * Rules ($(objpfx)bench-%.c): Include code from a C source
69082 file.
69083
69084 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69085
69086 [BZ #15287]
69087 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69088 imaginary part 1.0 and real part less than 0.5 specially.
69089 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69090 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69091 * math/libm-test.inc (cacos_test): Add more tests.
69092 (casin_test): Likewise.
69093 (casinh_test): Likewise.
69094 * sysdeps/i386/fpu/libm-test-ulps: Update.
69095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69096
69097 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69098
69099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69100 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69101
69102 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69103
69104 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69105 * config.make.in (config-cflags-sse4): Remove variable.
69106 (config-cflags-avx): Likewise.
69107 (config-cflags-sse2avx): Likewise.
69108 (config-cflags-novzeroupper): Likewise.
69109 (config-asflags-i686): Likewise.
69110 (have-mfma4): Likewise.
69111 (have-as-vis3): Likewise.
69112 (MIG): Likewise.
69113 * configure.in (MIG): Do not AC_SUBST.
69114 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69115 (libc_cv_cc_sse4): Do not AC_SUBST.
69116 (libc_cv_cc_avx): Likewise.
69117 (libc_cv_cc_sse2avx): Likewise.
69118 (libc_cv_cc_novzeroupper): Likewise.
69119 (libc_cv_cc_fma4): Likewise.
69120 (libc_cv_as_i686): Likewise.
69121 (libc_cv_sparc_as_vis3): Likewise.
69122 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69123 LIBC_CONFIG_VAR.
69124 (config-asflags-i686): Likewise.
69125 (config-cflags-avx): Likewise.
69126 (config-cflags-sse2avx): Likewise.
69127 (have-mfma4): Likewise.
69128 (config-cflags-novzeroupper): Likewise.
69129 * sysdeps/mach/configure.in (MIG): Likewise.
69130 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69131 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69132 LIBC_CONFIG_VAR.
69133 (config-cflags-avx): Likewise.
69134 (config-cflags-sse2avx): Likewise.
69135 (have-mfma4): Likewise.
69136 (config-cflags-novzeroupper): Likewise.
69137 * configure: Regenerated.
69138 * sysdeps/i386/configure: Likewise.
69139 * sysdeps/mach/configure: Likewise.
69140 * sysdeps/sparc/configure: Likewise.
69141 * sysdeps/x86_64/configure: Likewise.
69142
69143 2013-03-20 Roland McGrath <roland@hack.frob.com>
69144
69145 [BZ #14812]
69146 * locale/programs/localedef.c (options): Put N_ translation marker
69147 on argument names, not just descriptions.
69148
69149 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69150
69151 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69152
69153 2013-03-20 Ondƙej Bílka <neleai@seznam.cz>
69154
69155 [BZ #14176]
69156 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69157
69158 2013-03-19 Roland McGrath <roland@hack.frob.com>
69159
69160 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69161 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69162 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69163 [!BEFORE_ABORT] (before_abort): New function.
69164 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69165 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69166 (writev_for_fatal): New function.
69167 (WRITEV_FOR_FATAL): New macro; call that.
69168 (backtrace_and_maps): New function.
69169 (BEFORE_ABORT): New macro; call that.
69170 (struct str_list): Type removed.
69171 (__libc_message, __libc_fatal): Functions removed.
69172 Include <sysdeps/posix/libc_fatal.c> instead.
69173
69174 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69175
69176 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69177 constants.
69178 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69179 double constants.
69180
69181 2013-03-19 Andreas Schwab <schwab@suse.de>
69182
69183 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69184 * sysdeps/gnu/configure: Regenerate.
69185
69186 * configure.in: Substitute libc_cv_rtlddir.
69187 * configure: Regenerate.
69188 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69189 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69190 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69191 * elf/Makefile (install-others, CFLAGS-interp.c)
69192 (ldso_install, common-ldd-rewrite): Likewise.
69193 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69194 $(inst_slibdir)/$(rtld-installed-name).
69195 * scripts/rellns-sh: Add -p option.
69196 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69197 for source.
69198
69199 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69200
69201 * manual/nptl.texi: Renamed to ...
69202 * manual/threads.texi: ... this.
69203 * manual/Makefile (chapters): Update.
69204
69205 2013-03-18 Roland McGrath <roland@hack.frob.com>
69206
69207 [BZ #14812]
69208 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69209 on argument names, not just descriptions.
69210 * malloc/memusagestat.c (options): Likewise.
69211 * nss/getent.c (options): Likewise.
69212
69213 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69214
69215 [BZ #14812]
69216 * iconv/iconv_prog.c (options): Put N_ translation marker
69217 on argument names, not just descriptions.
69218 * iconv/iconvconfig.c (options): Likewise.
69219
69220 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69221
69222 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69223 implementation which is faster on all x86_64 architectures.
69224 Tested on AMD, Intel Nehalem, SNB, IVB.
69225 * sysdeps/x86_64/strnlen.S: Likewise.
69226
69227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69228 Remove all multiarch strlen and strnlen versions.
69229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69230 Remove strlen and strnlen related parts.
69231
69232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69233 Inline strlen part.
69234 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69235
69236 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69237 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69238 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69239 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69240 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69241 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69242
69243 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69244
69245 * manual/memory.texi (Malloc Tunable Parameters):
69246 Sort parameters alphabetically. Add comments for missing entries.
69247
69248 2013-03-17 David S. Miller <davem@davemloft.net>
69249
69250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69251
69252 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69253
69254 [BZ #15283]
69255 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69256 for arguments at most half maximum finite value.
69257 * math/libm-test.inc (j0_test): Add more tests.
69258 (j1_test): Likewise.
69259 (y0_test): Likewise.
69260 (y1_test): Likewise.
69261 * sysdeps/i386/fpu/libm-test-ulps: Update.
69262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69263
69264 [BZ #14155]
69265 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69266 1 / x and functions P and Q for arguments above 0x1p256L.
69267 (__ieee754_y0l): Likewise.
69268 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69269 (__ieee754_y1l): Likewise.
69270 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69271 (j1_test): Likewise.
69272 (y0_test): Likewise.
69273 (y1_test): Likewise.
69274
69275 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69276
69277 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69278 variable.
69279
69280 2013-03-15 Roland McGrath <roland@hack.frob.com>
69281
69282 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69283 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69284 zero since it's initialized to EXEC_PAGESIZE.
69285
69286 * sysdeps/unix/sysv/linux/ldsodefs.h
69287 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69288 * sysdeps/generic/ldsodefs.h: ... here.
69289
69290 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69291
69292 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69293
69294 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69295 math/test-snan.c.
69296 * math/test-snan.c: Renamed from
69297 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69298 * math/Makefile (tests): Add test-snan.
69299 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69300 test-powerpc-snan.
69301
69302 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69303 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69304 functions.
69305 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69306 __builtin_nan family of functions.
69307 * math/libm-test.inc (initialize): Initialize qnan_value with
69308 __builtin_nan family of functions.
69309 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69310 Remove variables.
69311 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69312 Remove functions.
69313 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69314 storage class. Initialize qNaN_var and sNaN_var with
69315 __builtin_nan and __builtin_nans families of functions,
69316 respectively.
69317
69318 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69319 (sqrt_test): Remove duplicate test with qNaN input.
69320 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69321 (round_test, signbit_test, significand_test): Note missing +/-Inf
69322 as well as qNaN tests.
69323
69324 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69325 qNaN_var. Fix a few strings, too.
69326 * math/libm-test.inc (nan_value): Rename to qnan_value.
69327 * math/gen-libm-test.pl (%beautify): Adjust to that.
69328 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69329 * math/test-misc.c (main): Likewise.
69330 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69331 to __qnan_bytes, and __qnan_union, respectively.
69332 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69333 Likewise.
69334 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69335 and lqnanval, respectively.
69336 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69337 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69338 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69339 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69340
69341 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69342 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69343 doubles.
69344
69345 * math/test-misc.c (main): Fix copy'n'pastos.
69346 * misc/tst-efgcvt.c (special): Likewise.
69347
69348 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69349 Remove declarations.
69350
69351 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69352
69353 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69354 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69355 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69356 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69357
69358 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69359
69360 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69361 macro to return vdso values correctly in IFUNC implementations.
69362 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69363 Optimization by using IFUNC.
69364
69365 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69366 Richard Henderson <rth@redhat.com>
69367 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69368
69369 * Makefile.in (bench): New target.
69370 * NEWS: Mention the benchmark framework.
69371 * Rules (bench): Likewise.
69372 (binaries-bench): Generate binaries for functions to
69373 benchmark.
69374 * benchtests/Makefile: New makefile for benchmark tests.
69375 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69376 programs.
69377 * benchtests/exp-inputs: New input file for EXP function.
69378 * benchtests/pow-inputs: New input file for POW function.
69379 * scripts/bench.pl: New script to generate source files for
69380 benchmark programs.
69381
69382 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69383
69384 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69385 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69386 computations on mantissa. Use macros for rounding and
69387 division.
69388 (denorm): Likewise.
69389 (__dbl_mp): Likewise.
69390 (add_magnitudes): Likewise.
69391 (sub_magnitudes): Likewise.
69392 (__mul): Likewise.
69393 (__sqr): Likewise.
69394 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69395 powers of two in terms of TWOPOW macro.
69396 (mp_no): Make type of mantissa as MANTISSA_T.
69397 [!RADIXI]: Define RADIXI.
69398 [!TWO52]: Define TWO52.
69399 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69400
69401 * manual/nptl.texi (cindex): Modify threads to pthreads.
69402
69403 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69404
69405 * sysdeps/x86_64/preconfigure: Regenerated.
69406
69407 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69408
69409 [BZ #14155]
69410 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69411 0x1p28 and above.
69412 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69413 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69414 0x1p28 and above.
69415 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69416 * math/libm-test.inc (j0_test): Do not allow one spurious
69417 underflow exception.
69418 (y1_test): Likewise.
69419
69420 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69421
69422 * manual/Makefile (chapters): Add nptl.
69423 * manual/debug.texi (Debugging Support): Add link to Threads
69424 chapter.
69425 * manual/nptl.texi: New file.
69426
69427 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69428
69429 2013-03-14 Petr Baudis <pasky@ucw.cz>
69430
69431 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69432 for non-NULL pointer before the memory validity test. Pointed
69433 out by Holger Brunck <holger.brunck@keymile.com>.
69434
69435 2013-03-13 Andreas Schwab <schwab@suse.de>
69436
69437 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69438 instead of .os.
69439
69440 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69441
69442 * timezone/zic.c: Update from tzcode 2013b.
69443
69444 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69445
69446 * manual/install.texi (Configuring and compiling):
69447 Mention i686 and i586.
69448 * INSTALL: Regenerate.
69449
69450 2013-03-12 Roland McGrath <roland@hack.frob.com>
69451
69452 * sysdeps/init_array/elf-init.c: New file.
69453 * csu/elf-init.c
69454 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69455 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69456
69457 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69458 __gmon_start__ as global, but as static with a .preinit_array pointer.
69459 * sysdeps/init_array/gmon-start.c: New file. Use that.
69460 * sysdeps/init_array/crti.S: New file, empty except for comments.
69461 * sysdeps/init_array/crtn.S: Likewise.
69462
69463 2013-03-11 Ondƙej Bílka <neleai@seznam.cz>
69464
69465 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69466 definining bcopy.
69467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69468 Remove Prefer_SSE_for_memop.
69469 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69470 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69471 HAS_PREFER_SSE_FOR_MEMOP.
69472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69473 memset-x86-64.
69474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69475 Remove bzero, memset ifunc support.
69476 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69477 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69478 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69479 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69480
69481 2013-03-11 Andreas Schwab <schwab@suse.de>
69482
69483 [BZ #15234]
69484 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69485 by SHLIB_COMPAT.
69486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69487 (GLIBC_2.16): Remove pthread_atfork.
69488
69489 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69490
69491 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69492 (ptestcases.h): Likewise.
69493
69494 2013-03-08 Roland McGrath <roland@hack.frob.com>
69495
69496 * Makeconfig ($(common-objpfx)config.status): Depend on
69497 sysdeps/*/preconfigure{,.in} too.
69498
69499 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69500
69501 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69502 (__free_hook): Use void * instead of __malloc_ptr_t.
69503 (__malloc_hook): Likewise.
69504 (__realloc_hook): Likewise.
69505 (__memalign_hook): Likewise.
69506 (__after_morecore_hook): Likewise.
69507 * malloc/arena.c (save_malloc_hook): Likewise.
69508 (save_free_hook): Likewise.
69509 * malloc/hooks.c (malloc_hook_ini): Likewise.
69510 (realloc_hook_ini): Likewise.
69511 (memalign_hook_ini): Likewise.
69512 * malloc/malloc.c (malloc_hook_ini): Likewise.
69513 (realloc_hook_ini): Likewise.
69514 (memalign_hook_ini): Likewise.
69515 (__free_hook): Likewise.
69516 (__malloc_hook): Likewise.
69517 (__realloc_hook): Likewise.
69518 (__memalign_hook): Likewise.
69519 (__libc_malloc): Likewise.
69520 (__libc_free): Likewise.
69521 (__libc_realloc): Likewise.
69522 (__libc_memalign): Likewise.
69523 (__libc_valloc): Likewise.
69524 (__libc_pvalloc): Likewise.
69525 (__libc_calloc): Likewise.
69526 (__posix_memalign): Likewise.
69527 * malloc/morecore.c (__sbrk): Likewise.
69528 (__default_morecore): Likewise.
69529
69530 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69531
69532 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69533 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69534 __malloc_ptrdiff_t.
69535
69536 * malloc/malloc.h (__malloc_size_t): Remove macro.
69537 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69538 __malloc_size_t.
69539 (old_memalign_hook): Likewise.
69540 (old_realloc_hook): Likewise.
69541 (struct hdr): Likewise.
69542 (flood): Likewise.
69543 (mallochook): Likewise.
69544 (memalignhook): Likewise.
69545 (reallochook): Likewise.
69546 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69547 (tr_old_realloc_hook): Likewise.
69548 (tr_old_memalign_hook): Likewise.
69549 (tr_mallochook): Likewise.
69550 (tr_reallochook): Likewise.
69551 (tr_memalignhook): Likewise.
69552
69553 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69554
69555 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69556 default_ldbl_pack and using as default implementation.
69557 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69558 implementation.
69559 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69560 redundant definition.
69561 (ldbl_insert_mantissa): Likewise.
69562 (ldbl_canonicalize): Likewise.
69563 (ldbl_nearbyint): Likewise.
69564 (ldbl_pack): Rename to ldbl_pack_ppc.
69565 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69566 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69567 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69568
69569 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69570
69571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69572 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69574 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69576 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69577 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69578 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69579
69580 2013-03-07 Andreas Jaeger <aj@suse.de>
69581
69582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69583 bits/mman-linux.h.
69584
69585 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69586
69587 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69588 Include mpa.h and declare __MPEXP.
69589 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69590 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69591 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69592 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69593 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69594 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69595 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69596
69597 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69598 (__slowpow): Use long double EXPL and LOGL functions to
69599 compute POW.
69600 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69601 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69602 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69603 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69604 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69605 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69606
69607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69608 intermediate variable to calculate exponent.
69609 (__sqr): Likewise.
69610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69611 Likewise.
69612 (__sqr): Likewise.
69613
69614 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69615 [!NO__SQR]: Define __sqr.
69616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69617 and NO__SQR. Remove all code except __mul and __sqr. Include
69618 sysdeps/ieee754/dbl-64/mpa.c.
69619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69620
69621 [BZ #12723]
69622 * posix/Makefile (tests): Add tst-pathconf.
69623 * posix/tst-pathconf.c: New test case.
69624 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69625 _PC_PIPE_BUF.
69626 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69627
69628 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69629
69630 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69631
69632 2013-03-06 Andreas Jaeger <aj@suse.de>
69633
69634 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69635 definition via __MAP_ANONYMOUS.
69636
69637 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69638 it's not part of Linux headers.
69639
69640 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69641 (MAP_HUGE_MASK): Define.
69642
69643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69644 Define.
69645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69647 Define.
69648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69649 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69650 Define.
69651 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69653 Define.
69654 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69655
69656 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69657 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69658 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69659 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69660 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69661 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69662
69663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69664 Handle f2fs.
69665
69666 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69667 Handle f2fs and efivarfs.
69668
69669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69670 f2fs.
69671
69672 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69673 (EFIVARFS_MAGIC): Add.
69674 (F2FS_LINK_MAX): Add.
69675
69676 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69677
69678 * stdio-common/vfprintf.c: Replace __builtin_expect with
69679 __glibc_unlikely.
69680
69681 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69682
69683 [BZ #13550]
69684 * sysdeps/generic/bp-sym.h: Remove file.
69685 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69686 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69687 <bp-sym.h> and <bp-asm.h>.
69688 (__longjmp): Don't use BP_SYM.
69689 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69690 and <bp-asm.h>.
69691 (memcpy): Don't use BP_SYM.
69692 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69693 <bp-sym.h> and <bp-asm.h>.
69694 (memcpy): Don't use BP_SYM.
69695 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69696 <bp-asm.h>.
69697 (memcpy): Don't use BP_SYM.
69698 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69699 <bp-asm.h>.
69700 (memset): Don't use BP_SYM.
69701 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69702 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69703 (__bzero): Don't use BP_SYM.
69704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69706 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69707 <bp-sym.h> and <bp-asm.h>.
69708 (memcmp): Don't use BP_SYM. Remove comment about bounded
69709 pointers.
69710 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69711 <bp-sym.h> and <bp-asm.h>.
69712 (memcpy): Don't use BP_SYM.
69713 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69714 <bp-sym.h> and <bp-asm.h>.
69715 (memset): Don't use BP_SYM.
69716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69718 (__bzero): Don't use BP_SYM.
69719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69722 <bp-sym.h> and <bp-asm.h>.
69723 (strncmp): Don't use BP_SYM. Remove comment about bounded
69724 pointers.
69725 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69726 <bp-sym.h> and <bp-asm.h>.
69727 (memcpy): Don't use BP_SYM.
69728 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69729 <bp-sym.h> and <bp-asm.h>.
69730 (memset): Don't use BP_SYM.
69731 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69732 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69733 (__bzero): Don't use BP_SYM.
69734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69737 <bp-sym.h> and <bp-asm.h>.
69738 (__memchr): Don't use BP_SYM.
69739 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69740 <bp-sym.h> and <bp-asm.h>.
69741 (memcmp): Don't use BP_SYM. Remove comment about bounded
69742 pointers.
69743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69744 <bp-sym.h> and <bp-asm.h>.
69745 (memcpy): Don't use BP_SYM.
69746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69747 <bp-sym.h> and <bp-asm.h>.
69748 (__mempcpy): Don't use BP_SYM.
69749 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69750 <bp-sym.h> and <bp-asm.h>.
69751 (__memrchr): Don't use BP_SYM.
69752 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69753 <bp-sym.h> and <bp-asm.h>.
69754 (memset): Don't use BP_SYM.
69755 (__bzero): Likewise.
69756 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69757 <bp-sym.h> and <bp-asm.h>.
69758 (__rawmemchr): Don't use BP_SYM.
69759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69760 <bp-sym.h> and <bp-asm.h>.
69761 (__STRCMP): Don't use BP_SYM.
69762 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69763 <bp-sym.h> and <bp-asm.h>.
69764 (strchr): Don't use BP_SYM.
69765 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69766 <bp-sym.h> and <bp-asm.h>.
69767 (__strchrnul): Don't use BP_SYM.
69768 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69769 <bp-sym.h> and <bp-asm.h>.
69770 (strlen): Don't use BP_SYM.
69771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69772 <bp-sym.h> and <bp-asm.h>.
69773 (strncmp): Don't use BP_SYM. Remove comment about bounded
69774 pointers.
69775 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69776 <bp-sym.h> and <bp-asm.h>.
69777 (__strnlen): Don't use BP_SYM.
69778 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69779 <bp-sym.h> and <bp-asm.h>.
69780 (__GI__setjmp): Don't use BP_SYM.
69781 (_setjmp): Likewise.
69782 (__sigsetjmp): Likewise.
69783 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69784 (L(start_addresses)): Don't use BP_SYM.
69785 (_start): Likewise.
69786 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69787 <bp-asm.h>.
69788 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69789 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69790 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69791 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69792 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69793 <bp-asm.h>.
69794 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69795 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69796 about bounded pointers.
69797 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69798 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69799 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69800 <bp-asm.h>.
69801 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69802 about bounded pointers. Remove GKM FIXME comments.
69803 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69804 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69805 <bp-asm.h>.
69806 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69807 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69808 Remove GKM FIXME comments.
69809 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69810 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69811 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69812 <bp-asm.h>.
69813 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69814 about bounded pointers. Remove GKM FIXME comment.
69815 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69816 and <bp-asm.h>.
69817 (strncmp): Don't use BP_SYM. Remove comment about bounded
69818 pointers.
69819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69820 <bp-sym.h> and <bp-asm.h>.
69821 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69823 <bp-sym.h> and <bp-asm.h>.
69824 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69825 comment.
69826
69827 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69828
69829 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69830 call free(NULL).
69831
69832 2013-03-05 David S. Miller <davem@davemloft.net>
69833
69834 * po/es.po: Update from translation team.
69835
69836 2013-03-05 Andreas Jaeger <aj@suse.de>
69837
69838 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69839 <bits/mman-linux.h>.
69840 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69841 is fine.
69842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69843 <bits/mman-linux.h> to end of file.
69844 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69845 is fine.
69846 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69847 <bits/mman-linux.h> to end of file.
69848 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69849 is fine.
69850 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69851 <bits/mman-linux.h> to end of file.
69852
69853 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69854 (MCL_CURRENT, MCL_FUTURE): Define here.
69855
69856 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69857
69858 [BZ #15232]
69859 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69860 attribute_hidden.
69861 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69862
69863 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69864
69865 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69866 fourth parameter needed for rt_sigprocmask syscall.
69867 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69868 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69869 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69870 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69871 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69872 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69873
69874 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69875
69876 [BZ #13550]
69877 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69878 comment about bounded pointers.
69879 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69880 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69881
69882 2013-03-04 Andreas Jaeger <aj@suse.de>
69883
69884 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69885 common definitions.
69886
69887 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69888 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69889 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69890 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69891 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69892 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69893
69894 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69895
69896 [BZ #15055]
69897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69898 __ieee754_sqrl instead of __sqrl.
69899
69900 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69901
69902 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69903 * sysdeps/powerpc/fpu_control.h: ... here.
69904 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69905 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69906 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69907 * sysdeps/powerpc/bits/mathinline.h: ... here.
69908
69909 2013-03-01 Roland McGrath <roland@hack.frob.com>
69910
69911 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69912 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69913 to just [NEED_DL_SYSINFO_DSO].
69914 * elf/dl-support.c: Likewise.
69915 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69916 * elf/rtld.c (dl_main): Likewise.
69917 * elf/setup-vdso.h (setup_vdso): Likewise.
69918 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69919 * sysdeps/unix/sysv/linux/dl-sysdep.c
69920 (_dl_discover_osversion): Likewise.
69921
69922 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69923
69924 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69925 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69926
69927 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69928
69929 * NEWS: Mention libm performance improvements and non-x86 PI
69930 futex support.
69931
69932 * csu/libc-start.c (__pthread_initialize_minimal): Change
69933 function arguments.
69934 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69935
69936 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69937
69938 [BZ #13550]
69939 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69940 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69941 <bp-sym.h> and <bp-asm.h>.
69942 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69943 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69944 and <bp-asm.h>.
69945 (memcpy): Don't use BP_SYM.
69946 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69947 <bp-asm.h>.
69948 (__mpn_add_n): Don't use BP_SYM.
69949 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69950 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69951 and <bp-asm.h>.
69952 (__mpn_addmul_1): Don't use BP_SYM.
69953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69954 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69955 <bp-sym.h>.
69956 (_setjmp): Don't use BP_SYM.
69957 (__novmx_setjmp): Likewise.
69958 (__GI__setjmp): Likewise.
69959 (__vmx_setjmp): Likewise.
69960 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69961 <bp-sym.h>.
69962 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69963 (__bzero): Don't use BP_SYM.
69964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69966 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69967 <bp-sym.h> and <bp-asm.h>.
69968 (memcpy): Don't use BP_SYM.
69969 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69970 <bp-sym.h> and <bp-asm.h>.
69971 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69972 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69973 <bp-sym.h> and <bp-asm.h>.
69974 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69975 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69976 <bp-asm.h>.
69977 (__mpn_lshift): Don't use BP_SYM.
69978 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69979 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69980 <bp-asm.h>.
69981 (memset): Don't use BP_SYM.
69982 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69983 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69984 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69985 <bp-asm.h>.
69986 (__mpn_mul_1): Don't use BP_SYM.
69987 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69988 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69989 <bp-sym.h> and <bp-asm.h>.
69990 (memcmp): Don't use BP_SYM.
69991 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69992 <bp-sym.h> and <bp-asm.h>.
69993 (memcpy): Don't use BP_SYM.
69994 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69995 <bp-sym.h> and <bp-asm.h>.
69996 (memset): Don't use BP_SYM.
69997 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69998 <bp-sym.h> and <bp-asm.h>.
69999 (strncmp): Don't use BP_SYM.
70000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70001 <bp-sym.h> and <bp-asm.h>.
70002 (memcpy): Don't use BP_SYM.
70003 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70004 <bp-sym.h> and <bp-asm.h>.
70005 (memset): Don't use BP_SYM.
70006 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70007 <bp-sym.h> and <bp-asm.h>.
70008 (__memchr): Don't use BP_SYM.
70009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70010 <bp-sym.h> and <bp-asm.h>.
70011 (memcmp): Don't use BP_SYM.
70012 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70013 <bp-sym.h> and <bp-asm.h>.
70014 (memcpy): Don't use BP_SYM.
70015 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70016 <bp-sym.h> and <bp-asm.h>.
70017 (__mempcpy): Don't use BP_SYM.
70018 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70019 <bp-sym.h> and <bp-asm.h>.
70020 (__memrchr): Don't use BP_SYM.
70021 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70022 <bp-sym.h> and <bp-asm.h>.
70023 (memset): Don't use BP_SYM.
70024 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70025 <bp-sym.h> and <bp-asm.h>.
70026 (__rawmemchr): Don't use BP_SYM.
70027 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70028 <bp-sym.h> and <bp-asm.h>.
70029 (__STRCMP): Don't use BP_SYM.
70030 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70031 <bp-sym.h> and <bp-asm.h>.
70032 (strchr): Don't use BP_SYM.
70033 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70034 <bp-sym.h> and <bp-asm.h>.
70035 (__strchrnul): Don't use BP_SYM.
70036 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70037 <bp-sym.h> and <bp-asm.h>.
70038 (strlen): Don't use BP_SYM.
70039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70040 <bp-sym.h> and <bp-asm.h>.
70041 (strncmp): Don't use BP_SYM.
70042 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70043 <bp-sym.h> and <bp-asm.h>.
70044 (__strnlen): Don't use BP_SYM.
70045 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70046 <bp-asm.h>.
70047 (__mpn_rshift): Don't use BP_SYM.
70048 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70049 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70050 <bp-sym.h> and <bp-asm.h>.
70051 (__sigsetjmp): Don't use BP_SYM.
70052 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70053 (L(start_addresses)): Don't use BP_SYM.
70054 (_start): Likewise.
70055 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70056 <bp-asm.h>.
70057 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70058 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70059 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70060 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70061 <bp-asm.h>.
70062 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70063 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70064 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70065 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70066 <bp-asm.h>.
70067 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70068 comments.
70069 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70070 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70071 <bp-asm.h>.
70072 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70073 FIXME comments.
70074 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70075 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70076 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70077 <bp-asm.h>.
70078 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70079 comment.
70080 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70081 and <bp-asm.h>.
70082 (strncmp): Don't use BP_SYM,
70083 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70084 <bp-asm.h>.
70085 (__mpn_sub_n): Don't use BP_SYM.
70086 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70087 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70088 and <bp-asm.h>.
70089 (__mpn_submul_1): Don't use BP_SYM.
70090 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70092 <bp-sym.h> and <bp-asm.h>.
70093 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70095 <bp-sym.h> and <bp-asm.h>.
70096 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70097 comment.
70098
70099 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70100
70101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70102 Use ZK to minimize writes to Z.
70103 (sub_magnitudes): Simplify code a bit.
70104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70105 Use ZK to minimize writes to Z.
70106 (sub_magnitudes): Simplify code a bit.
70107
70108 2013-02-27 Roland McGrath <roland@hack.frob.com>
70109
70110 * csu/gmon-start.c: Add special exception to license text.
70111
70112 2013-02-27 Richard Henderson <rth@redhat.com>
70113
70114 * scripts/config.guess: Update from config.git.
70115 * scripts/config.sub: Likewise.
70116
70117 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70118
70119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70120
70121 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70122
70123 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70124
70125 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70126
70127 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70128
70129 2013-02-26 Roland McGrath <roland@hack.frob.com>
70130
70131 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70132 [$(build-shared = yes].
70133
70134 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70135
70136 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70137 (__mul): Reduce iterations for calculating mantissa.
70138
70139 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70140 MPTWO.
70141 (__mpranred): Likewise.
70142
70143 [BZ #15160]
70144 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70145 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70146
70147 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70148
70149 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70150 Define __attribute__.
70151
70152 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70153
70154 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70155 unused.
70156 * posix/regex_internal.h (__attribute): Remove.
70157 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70158 (re_string_context_at): Likewise.
70159 (bitset_not): Use __attribute__ and mark function as possibly
70160 unused.
70161 (bitset_merge): Likewise.
70162 (bitset_mask): Likewise.
70163 (re_string_char_size_at): Likewise.
70164 (re_string_wchar_at): Likewise.
70165 (re_string_elem_size_at): Likewise.
70166
70167 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70168
70169 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70170 code.
70171 (cc32): Likewise.
70172
70173 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70174 (__acr): Likewise.
70175 (__cpy): Likewise.
70176 (norm): Likewise.
70177 (denorm): Likewise.
70178 (__dbl_mp): Likewise.
70179 (add_magnitudes): Likewise.
70180 (sub_magnitudes): Likewise.
70181 (__mul): Likewise.
70182 (__inv): Likewise.
70183
70184 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70185 style.
70186
70187 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70188 style.
70189
70190 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70191 code.
70192
70193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70194 up changes with default code.
70195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70196 Likewise.
70197
70198 2013-02-24 Allan McRae <allan@archlinux.org>
70199
70200 * manual/socket.texi (The Internet Namespace): Order menu items
70201 to match that in the file.
70202
70203 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70204 node listing of the info page menu.
70205
70206 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70207
70208 [BZ #13550]
70209 * sysdeps/i386/bp-asm.h: Remove file.
70210 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70211 (PARMS): Do not use macros from bp-asm.h.
70212 (S1): Likewise.
70213 (S2): Likewise.
70214 (SIZE): Likewise.
70215 (__mpn_add_n): Do not use BP_SYM
70216 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70217 "bp-asm.h".
70218 (PARMS): Do not use macros from bp-asm.h.
70219 (S1): Likewise.
70220 (SIZE): Likewise.
70221 (__mpn_addmul_1): Do not use BP_SYM
70222 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70223 "bp-asm.h".
70224 (PARMS): Do not use macros from bp-asm.h.
70225 (SIGMSK): Likewise.
70226 (_setjmp): Likewise. Do not use BP_SYM.
70227 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70228 "bp-asm.h".
70229 (PARMS): Do not use macros from bp-asm.h.
70230 (SIGMSK): Likewise.
70231 (setjmp): Likewise. Do not use BP_SYM.
70232 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70233 "bp-asm.h".
70234 (PARMS): Do not use macros from bp-asm.h.
70235 (__frexp): Do not use BP_SYM.
70236 (frexp): Likewise.
70237 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70238 "bp-asm.h".
70239 (PARMS): Do not use macros from bp-asm.h.
70240 (__frexpf): Do not use BP_SYM.
70241 (frexpf): Likewise.
70242 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70243 "bp-asm.h".
70244 (PARMS): Do not use macros from bp-asm.h.
70245 (__frexpl): Do not use BP_SYM.
70246 (frexpl): Likewise.
70247 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70248 "bp-asm.h".
70249 (PARMS): Do not use macros from bp-asm.h.
70250 (__remquo): Do not use BP_SYM.
70251 (remquo): Likewise.
70252 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70253 "bp-asm.h".
70254 (PARMS): Do not use macros from bp-asm.h.
70255 (__remquof): Do not use BP_SYM.
70256 (remquof): Likewise.
70257 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70258 "bp-asm.h".
70259 (PARMS): Do not use macros from bp-asm.h.
70260 (__remquol): Do not use BP_SYM.
70261 (remquol): Likewise.
70262 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70263 "bp-asm.h".
70264 (PARMS): Do not use macros from bp-asm.h.
70265 (DEST): Likewise.
70266 (SRC): Likewise.
70267 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70268 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70269 "bp-asm.h".
70270 (PARMS): Do not use macros from bp-asm.h.
70271 (strlen): Do not use BP_SYM.
70272 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70273 "bp-asm.h".
70274 (PARMS): Do not use macros from bp-asm.h.
70275 (S1): Likewise.
70276 (S2): Likewise.
70277 (SIZE): Likewise.
70278 (__mpn_add_n): Do not use BP_SYM.
70279 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70280 "bp-asm.h".
70281 (PARMS): Do not use macros from bp-asm.h.
70282 (S1): Likewise.
70283 (SIZE): Likewise.
70284 (__mpn_addmul_1): Do not use BP_SYM.
70285 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70286 weak_alias.
70287 (bzero): Likewise.
70288 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70289 "bp-asm.h".
70290 (PARMS): Do not use macros from bp-asm.h.
70291 (S): Likewise.
70292 (SIZE): Likewise.
70293 (__mpn_lshift): Do not use BP_SYM.
70294 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70295 "bp-asm.h".
70296 (PARMS): Do not use macros from bp-asm.h.
70297 (DEST): Likewise.
70298 (SRC): Likewise.
70299 (LEN): Likewise.
70300 (memcpy): Likewise. Do not use BP_SYM.
70301 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70302 libc_hidden_def and weak_alias.
70303 (mempcpy): Do not use BP_SYM in weak_alias.
70304 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70305 "bp-asm.h".
70306 (PARMS): Do not use macros from bp-asm.h.
70307 (DEST): Likewise.
70308 (LEN): Likewise.
70309 [!BZERO_P] (CHR): Likewise.
70310 (memset): Likewise. Do not use BP_SYM.
70311 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
70317 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70318 "bp-asm.h".
70319 (PARMS): Do not use macros from bp-asm.h.
70320 (S): Likewise.
70321 (SIZE): Likewise.
70322 (__mpn_rshift): Do not use BP_SYM.
70323 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70324 "bp-asm.h".
70325 (PARMS): Do not use macros from bp-asm.h.
70326 (STR): Likewise.
70327 (CHR): Likewise.
70328 (strchr): Likewise. Do not use BP_SYM.
70329 (index): Do not use BP_SYM in weak_alias.
70330 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70331 "bp-asm.h".
70332 (PARMS): Do not use macros from bp-asm.h.
70333 (DEST): Likewise.
70334 (SRC): Likewise.
70335 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70336 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70337 "bp-asm.h".
70338 (PARMS): Do not use macros from bp-asm.h.
70339 (strlen): Do not use BP_SYM.
70340 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70341 "bp-asm.h".
70342 (PARMS): Do not use macros from bp-asm.h.
70343 (S1): Likewise.
70344 (S2): Likewise.
70345 (SIZE): Likewise.
70346 (__mpn_sub_n): Do not use BP_SYM.
70347 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70348 "bp-asm.h".
70349 (PARMS): Do not use macros from bp-asm.h.
70350 (S1): Likewise.
70351 (SIZE): Likewise.
70352 (__mpn_submul_1): Do not use BP_SYM.
70353 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70354 "bp-asm.h".
70355 (PARMS): Do not use macros from bp-asm.h.
70356 (S1): Likewise.
70357 (S2): Likewise.
70358 (SIZE): Likewise.
70359 (__mpn_add_n): Do not use BP_SYM.
70360 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70361 weak_alias.
70362 (bzero): Likewise.
70363 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70364 "bp-asm.h".
70365 (PARMS): Do not use macros from bp-asm.h.
70366 (BLK2): Likewise.
70367 (LEN): Likewise.
70368 (memcmp): Do not use BP_SYM.
70369 (bcmp): Do not use BP_SYM in weak_alias.
70370 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70371 "bp-asm.h".
70372 (PARMS): Do not use macros from bp-asm.h.
70373 (DEST): Likewise.
70374 (SRC): Likewise.
70375 (LEN): Likewise.
70376 (memcpy): Likewise. Do not use BP_SYM.
70377 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70378 "bp-asm.h".
70379 (PARMS): Do not use macros from bp-asm.h.
70380 (DEST): Likewise.
70381 (SRC): Likewise.
70382 (LEN): Likewise.
70383 (memmove): Likewise. Do not use BP_SYM.
70384 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70385 "bp-asm.h".
70386 (PARMS): Do not use macros from bp-asm.h.
70387 (DEST): Likewise.
70388 (SRC): Likewise.
70389 (LEN): Likewise.
70390 (__mempcpy): Likewise. Do not use BP_SYM.
70391 (mempcpy): Do not use BP_SYM in weak_alias.
70392 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70393 "bp-asm.h".
70394 (PARMS): Do not use macros from bp-asm.h.
70395 (DEST): Likewise.
70396 (LEN): Likewise.
70397 [!BZERO_P] (CHR): Likewise.
70398 (memset): Likewise. Do not use BP_SYM.
70399 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70400 "bp-asm.h".
70401 (PARMS): Do not use macros from bp-asm.h.
70402 (STR2): Likewise.
70403 (strcmp): Do not use BP_SYM.
70404 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70405 "bp-asm.h".
70406 (PARMS): Do not use macros from bp-asm.h.
70407 (STR): Likewise.
70408 (DELIM): Likewise.
70409 [USE_AS_STRTOK_R] (SAVE): Likewise.
70410 (FUNCTION): Likewise. Do not use BP_SYM.
70411 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70412 aliases.
70413 (strtok_r): Likewise.
70414 (__GI___strtok_r): Likewise.
70415 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70416 (PARMS): Do not use macros from bp-asm.h.
70417 (S): Likewise.
70418 (SIZE): Likewise.
70419 (__mpn_lshift): Do not use BP_SYM.
70420 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70421 (PARMS): Do not use macros from bp-asm.h.
70422 (STR): Likewise.
70423 (CHR): Likewise.
70424 (__memchr): Do not use BP_SYM.
70425 (memchr): Do not use BP_SYM in weak_alias.
70426 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70427 (PARMS): Do not use macros from bp-asm.h.
70428 (BLK2): Likewise.
70429 (LEN): Likewise.
70430 (memcmp): Do not use BP_SYM.
70431 (bcmp): Do not use BP_SYM in weak_alias.
70432 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70433 (PARMS): Do not use macros from bp-asm.h.
70434 (S1): Likewise.
70435 (SIZE): Likewise.
70436 (__mpn_mul_1): Do not use BP_SYM.
70437 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70438 "bp-asm.h".
70439 (PARMS): Do not use macros from bp-asm.h.
70440 (STR): Likewise.
70441 (CHR): Likewise.
70442 (__rawmemchr): Do not use BP_SYM.
70443 (rawmemchr): Do not use BP_SYM in weak_alias.
70444 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70445 (PARMS): Do not use macros from bp-asm.h.
70446 (S): Likewise.
70447 (SIZE): Likewise.
70448 (__mpn_rshift): Do not use BP_SYM.
70449 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70450 (PARMS): Do not use macros from bp-asm.h.
70451 (SIGMSK): Likewise.
70452 (__sigsetjmp): Likewise. Do not use BP_SYM.
70453 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70454 (_start): Do not use BP_SYM.
70455 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70456 (PARMS): Do not use macros from bp-asm.h.
70457 (DEST): Likewise.
70458 (SRC): Likewise.
70459 (__stpcpy): Likewise. Do not use BP_SYM.
70460 (stpcpy): Do not use BP_SYM in weak_alias.
70461 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70462 "bp-asm.h".
70463 (PARMS): Do not use macros from bp-asm.h.
70464 (DEST): Likewise.
70465 (SRC): Likewise.
70466 (LEN): Likewise.
70467 (__stpncpy): Likewise. Do not use BP_SYM.
70468 (stpncpy): Do not use BP_SYM in weak_alias.
70469 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70470 (PARMS): Do not use macros from bp-asm.h.
70471 (STR): Likewise.
70472 (CHR): Likewise.
70473 (strchr): Likewise. Do not use BP_SYM.
70474 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70475 "bp-asm.h".
70476 (PARMS): Do not use macros from bp-asm.h.
70477 (STR): Likewise.
70478 (CHR): Likewise.
70479 (__strchrnul): Likewise. Do not use BP_SYM.
70480 (strchrnul): Do not use BP_SYM in weak_alias.
70481 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70482 "bp-asm.h".
70483 (PARMS): Do not use macros from bp-asm.h.
70484 (STOP): Likewise.
70485 (strcspn): Do not use BP_SYM.
70486 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70487 "bp-asm.h".
70488 (PARMS): Do not use macros from bp-asm.h.
70489 (STR): Likewise.
70490 (STOP): Likewise.
70491 (strpbrk): Likewise. Do not use BP_SYM.
70492 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70493 "bp-asm.h".
70494 (PARMS): Do not use macros from bp-asm.h.
70495 (STR): Likewise.
70496 (CHR): Likewise.
70497 (strrchr): Likewise. Do not use BP_SYM.
70498 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70499 (PARMS): Do not use macros from bp-asm.h.
70500 (SKIP): Likewise.
70501 (strspn): Do not use BP_SYM.
70502 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70503 (PARMS): Do not use macros from bp-asm.h.
70504 (STR): Likewise.
70505 (DELIM): Likewise.
70506 (SAVE): Likewise.
70507 (FUNCTION): Likewise. Do not use BP_SYM.
70508 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70509 aliases.
70510 (strtok_r): Likewise.
70511 (__GI___strtok_r): Likewise.
70512 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70513 (PARMS): Do not use macros from bp-asm.h.
70514 (S1): Likewise.
70515 (S2): Likewise.
70516 (SIZE): Likewise.
70517 (__mpn_sub_n): Do not use BP_SYM.
70518 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70519 "bp-asm.h".
70520 (PARMS): Do not use macros from bp-asm.h.
70521 (S1): Likewise.
70522 (SIZE): Likewise.
70523 (__mpn_submul_1): Do not use BP_SYM.
70524 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70525 <bp-sym.h>.
70526 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70527 and <bp-asm.h>.
70528 (PARMS): Do not use macros from bp-asm.h.
70529 (FLAGS): Likewise.
70530 (PTID): Likewise.
70531 (TLS): Likewise.
70532 (CTID): Likewise.
70533 (__clone): Do not use BP_SYM.
70534 (clone): Do not use BP_SYM in weak_alias.
70535 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70536 and <bp-asm.h>.
70537 (PARMS): Do not use macros from bp-asm.h.
70538 (LEN): Likewise.
70539 (__mmap64): Do not use BP_SYM.
70540 (mmap64): Do not use BP_SYM in weak_alias.
70541 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70542 <bp-sym.h> and <bp-asm.h>.
70543 (PARMS): Do not use macros from bp-asm.h.
70544 (__posix_fadvise64_l64): Do not use BP_SYM.
70545 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70546 (PARMS): Do not use macros from bp-asm.h.
70547 (NSOPS): Likewise.
70548 (semtimedop): Do not use BP_SYM.
70549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70550 and <bp-asm.h>.
70551
70552 2013-02-21 Allan McRae <allan@archlinux.org>
70553
70554 * manual/message.texi (Charset conversion in gettext):
70555 Move @end statement to beginning of line.
70556
70557 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70558
70559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70560 static.
70561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70562 Likewise.
70563
70564 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70565 (denorm): Likewise.
70566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70568
70569 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70570
70571 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70572 tail-call to the resolved function if pltexit isn't needed.
70573
70574 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70575
70576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70577 or Y being zero as being unlikely.
70578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70579 Likewise.
70580
70581 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70582
70583 * manual/nss.texi (System Databases and Name Service Switch):
70584 Remove frobnicate @pxref.
70585
70586 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70587
70588 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70589 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70590
70591 2013-02-20 Petr Machata <pmachata@redhat.com>
70592
70593 * elf/elf.h (R_ARM_TARGET1): New macro.
70594 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70595 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70596 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70597 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70598 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70599 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70600 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70601 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70602 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70603 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70604 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70605 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70606 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70607 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70608 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70609 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70610 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70611 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70612 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70613 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70614 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70615 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70616 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70617 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70618 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70619 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70620 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70621 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70622 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70623 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70624 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70625 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70626 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70627 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70628 (R_ARM_THM_GOT_BREL12): Likewise.
70629 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70630 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70631 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70632 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70633 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70634 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70635 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70636 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70637 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70638
70639 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70640
70641 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70642 __attribute_used__ to __attribute__ ((unused)).
70643
70644 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70645
70646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70647 powerpc mpa.c.
70648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70649 comment formatting.
70650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70651
70652 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70653
70654 [BZ #13550]
70655 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70656 Remove macro.
70657 (ENTER): Remove both macro definitions.
70658 (LEAVE): Likewise.
70659 (CHECK_BOUNDS_LOW): Likewise.
70660 (CHECK_BOUNDS_HIGH): Likewise.
70661 (CHECK_BOUNDS_BOTH): Likewise.
70662 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70663 (RETURN_BOUNDED_POINTER): Likewise.
70664 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70665 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70666 (POP_ERRNO_LOCATION_RETURN): Likewise.
70667 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70668 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70669 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70670 macros.
70671 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70672 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70673 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70674 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70675 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70676 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70677 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70678 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70679 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70680 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70681 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70682 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70683 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70684 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70685 removed macros.
70686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70687 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70688 macros.
70689 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70690 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70691 * sysdeps/i386/i586/memset.S (memset): Likewise.
70692 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70693 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70694 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70695 macros.
70696 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70697 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70698 Change uses of L(2) to L(out).
70699 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70700 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70701 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70702 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70703 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70704 removed macros.
70705 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70706 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70707 macros.
70708 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70709 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70710 (RETURN): Do not use macro LEAVE.
70711 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70712 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70713 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70714 * sysdeps/i386/i686/memset.S (memset): Likewise.
70715 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70716 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70717 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70718 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70719 Likewise.
70720 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70721 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70722 L(1_2) and L(1_3) into L(1).
70723 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70724 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70725 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70726 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70727 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70728 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70729 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70730 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70731 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70732 macros.
70733 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70734 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70735 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70736 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70737 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70738 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70739 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70740 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70741 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70742 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70743 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70744 * sysdeps/i386/strspn.S (strspn): Likewise.
70745 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70746 conditional code.
70747 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70748 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70749 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70750 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70751 L(1_3) into L(1_1).
70752 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70753 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70754 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70755 macros.
70756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70757
70758 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70759
70760 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70761 macro.
70762
70763 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70764
70765 * math/atest-exp.c (exp_mpn): Remove ROUND.
70766 * math/atest-exp2.c (exp_mpn): Likewise.
70767 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70768
70769 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70770 * stdlib/tst-tls-atexit-lib.c: Likewise.
70771 * stdlib/tst-tls-atexit.c: Likewise.
70772
70773 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70774
70775 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70776 and __attribute_alloc_size__.
70777
70778 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70779
70780 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70781 __attribute_alloc_size__.
70782 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70783 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70784
70785 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70786
70787 * include/programs/xmalloc.h: New file.
70788 * catgets/gencat.c: Include it.
70789 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70790 * elf/pldd.c: Likewise.
70791 * iconv/iconv_charmap.c: Likewise.
70792 * iconv/iconvconfig.c: Likewise.
70793 * iconv/strtab.c: Likewise.
70794 * locale/programs/locale.c: Likewise.
70795 * locale/programs/localedef.h: Likewise.
70796 * locale/programs/simple-hash.c: Likewise.
70797 * nscd/nscd.h: Likewise.
70798 * nss/makedb.c: Likewise.
70799 * sysdeps/generic/ldconfig.h: Likewise.
70800
70801 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70802
70803 * Versions.def: Add GLIBC_2.18.
70804 * include/link.h (struct link_map): New member l_tls_dtor_count.
70805 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70806 (__call_tls_dtors): Likewise.
70807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70808 __cxa_thread_atexit_impl.
70809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70810 Likewise.
70811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70812 Likewise.
70813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70814 Likewise.
70815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70816 Likewise.
70817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70819 Likewise.
70820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70821 Likewise.
70822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70824 Likewise.
70825 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70826 (tests): Add test case tst-tls-atexit.
70827 (modules-names): Add shared library for tst-tls-atexit.
70828 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70829 (GLIBC_PRIVATE): Add __call_tls_dtors.
70830 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70831 for libstdc++.
70832 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70833 * stdlib/tst-tls-atexit.c: New test case.
70834 * stdlib/tst-tls-atexit-lib.c: New test case.
70835
70836 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70837
70838 * elf/Versions (ld): Add _dl_find_dso_for_object.
70839 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70840 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70841 (dl_open_worker): Use _dl_find_dso_for_object.
70842 * elf/dl-sym.c (do_sym): Likewise.
70843 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70844
70845 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70846
70847 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70848 Syntactic changes only.
70849 (_dl_runtime_profile): Do a tail-call to the resolved function.
70850
70851 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70852
70853 [BZ #13550]
70854 * sysdeps/x86_64/bp-asm.h: Remove file.
70855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70856 <bp-sym.h> and <bp-asm.h>.
70857 (__clone): Do not use BP_SYM.
70858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70859 <bp-sym.h> and <bp-asm.h>.
70860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70861 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70862 "bp-asm.h".
70863 (_setjmp): Do not use BP_SYM.
70864 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70865 "bp-asm.h".
70866 (setjmp): Do not use BP_SYM.
70867 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70868 libc_hidden_def.
70869 (mempcpy): Do not use BP_SYM in weak_alias.
70870 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70871 "bp-asm.h".
70872 (strchr): Do not use BP_SYM.
70873 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70874 "bp-asm.h".
70875 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70876 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70877 (_start): Do not use BP_SYM.
70878 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70879 "bp-asm.h".
70880 (strcat): Do not use BP_SYM.
70881 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70882 "bp-asm.h".
70883 (STRCMP): Do not use BP_SYM.
70884 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70885 "bp-asm.h".
70886 (STRCPY): Do not use BP_SYM.
70887 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70888 "bp-asm.h".
70889 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70890 "bp-asm.h".
70891 (FUNCTION): Do not use BP_SYM.
70892 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70893 weak_alias.
70894 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70895
70896 2013-02-17 Andreas Jaeger <aj@suse.de>
70897
70898 * time/Versions: Sort entries.
70899 * string/Versions: Likewise.
70900 * resolv/Versions: Likewise.
70901 * posix/Versions: Likewise.
70902 * iconv/Versions: Likewise.
70903 * elf/Versions: Likewise.
70904 * wcsmbs/Versions: Likewise.
70905
70906 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70907
70908 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70909 loop termination condition.
70910
70911 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70912 variable to calculate EZ.
70913 (__sqr): Likewise.
70914
70915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70916 the lower precision input.
70917
70918 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70919
70920 [BZ #13550]
70921 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70922 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70923 (run-via-rtld-prefix): Do not handle %-bp tests.
70924 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70925 (all-object-suffixes): Remove .ob.
70926 (bppfx): Remove variable.
70927 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70928 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70929 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70930 [$(build-bounded) = yes] (libtype.ob): Likewise.
70931 * Makerules (elide-routines.ob): Remove variable.
70932 (do-tests-clean): Do not handle *-bp.out.
70933 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70934 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70935 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70936 (tests): Do not include $(tests-bp.out).
70937 (xtests): Do not include $(xtests-bp.out).
70938 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70939 [$(build-bounded) = yes] ($(addprefix
70940 $(objpfx),$(binaries-bounded))): Remove rule.
70941 ($(objpfx)%-bp.out): Remove rule.
70942 * config.make.in (build-bounded): Remove variable.
70943 * crypt/Makefile [$(build-bounded) = yes]
70944 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70945 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70946 append to variable.
70947 [$(build-bounded) = yes] (install-lib): Likewise.
70948 [$(build-bounded) = yes] (generated): Likewise.
70949 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70950 Remove rule.
70951 * intl/Makefile [$(build-bounded) = yes]
70952 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70953 * math/Makefile [$(build-bounded) = yes]
70954 ($(tests:%=$(objpfx)%-bp): Likewise.
70955 * misc/Makefile [$(build-bounded) = yes]
70956 ($(objpfx)tst-tsearch-bp): Likewise.
70957 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70958 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70959 Remove dependency.
70960 * string/Makefile (o-objects.ob): Remove variable.
70961 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70962 (CFLAGS-.ob): Remove variable.
70963 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70964 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70965 both definitions of variable.
70966 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70967 (ASFLAGS-.ob): Remove variable.
70968
70969 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70970
70971 [BZ #13550]
70972 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70973 Remove __BOUNDED_POINTERS__ from condition.
70974 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70975 * string/bits/string2.h [!__NO_STRING_INLINES &&
70976 !__BOUNDED_POINTERS__]: Likewise.
70977 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70978 Likewise.
70979 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70980 Remove conditional code.
70981 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70982 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70983 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70984 condition.
70985
70986 [BZ #13550]
70987 * csu/libc-start.c: Do not include <bp-sym.h>.
70988 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70989 * elf/dl-open.c: Do not include <bp-sym.h>.
70990 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70991 * math/fegetenv.c: Do not include <bp-sym.h>.
70992 (fegetenv): Do not use BP_SYM in versioned symbols.
70993 * nptl/sysdeps/pthread/bits/libc-lockP.h
70994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70995 <bp-sym.h>.
70996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70997 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70999 (__pthread_mutex_destroy): Likewise.
71000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71001 (__pthread_mutex_lock): Likewise.
71002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71003 (__pthread_mutex_trylock): Likewise.
71004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71005 (__pthread_mutex_unlock): Likewise.
71006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71007 (__pthread_mutexattr_init): Likewise.
71008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71009 (__pthread_mutexattr_destroy): Likewise.
71010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71011 (__pthread_mutexattr_settype): Likewise.
71012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71013 (__pthread_rwlock_init): Likewise.
71014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71015 (__pthread_rwlock_destroy): Likewise.
71016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71017 (__pthread_rwlock_rdlock): Likewise.
71018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71019 (__pthread_rwlock_tryrdlock): Likewise.
71020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71021 (__pthread_rwlock_wrlock): Likewise.
71022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71023 (__pthread_rwlock_trywrlock): Likewise.
71024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71025 (__pthread_rwlock_unlock): Likewise.
71026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71027 (__pthread_key_create): Likewise.
71028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71029 (__pthread_setspecific): Likewise.
71030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71031 (__pthread_getspecific): Likewise.
71032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71033 Likewise.
71034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71035 (_pthread_cleanup_push_defer): Likewise.
71036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71037 (_pthread_cleanup_pop_restore): Likewise.
71038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71039 (pthread_setcancelstate): Likewise.
71040 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71041 <bp-sym.h>.
71042 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71043 (memchr): Do not use BP_SYM in weak_alias.
71044 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71045 (fegetenv): Do not use BP_SYM in versioned symbols.
71046 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71047 (fesetenv): Do not use BP_SYM in versioned symbols.
71048 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71049 (feupdateenv): Do not use BP_SYM in versioned symbols.
71050 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71051 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71052 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71053 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71054 (open64): Do not use BP_SYM in weak_alias.
71055 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71056 (fegetenv): Do not use BP_SYM in versioned symbols.
71057 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71058 (fesetenv): Do not use BP_SYM in versioned symbols.
71059 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71060 (feupdateenv): Do not use BP_SYM in versioned symbols.
71061 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71062 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71063 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71064 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71065 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71066 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71067 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71068 <bp-sym.h>.
71069 (__libc_start_main): Do not use BP_SYM.
71070
71071 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71072
71073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71074 redundant return line.
71075 (norm): Likewise.
71076 (denorm): Likewise.
71077 (dbl_mp): Likewise.
71078 (sub_magnitudes): Likewise.
71079 (__add): Likewise.
71080 (__sub): Likewise.
71081 (__mul): Likewise.
71082 (__inv): Likewise.
71083 (__dvd): Likewise.
71084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71085 (norm): Likewise.
71086 (denorm): Likewise.
71087 (dbl_mp): Likewise.
71088 (sub_magnitudes): Likewise.
71089 (__add): Likewise.
71090 (__sub): Likewise.
71091 (__mul): Likewise.
71092 (__inv): Likewise.
71093 (__dvd): Likewise.
71094
71095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71096 instead of __mul.
71097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71098 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71099 (cc32): Likewise.
71100
71101 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71102 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71104 of __mul for squares.
71105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71106 function
71107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71108 Likewise.
71109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71110 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71111
71112 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71113
71114 [BZ #13550]
71115 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71116 code.
71117 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71118 prototype or function definition. Rename ubp_* variables and
71119 parameters. Remove argv definitions conditional on
71120 [__BOUNDED_POINTERS__].
71121 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71122 * elf/dl-runtime.c (_dl_fixup): Likewise.
71123 * include/set-hooks.h (RUN_HOOK): Likewise.
71124 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71125 definition.
71126 * string/strcpy.c (strcpy): Do not use __unbounded.
71127 * sysdeps/generic/frame.h (struct layout): Likewise.
71128 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71129 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71130 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71131 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71132 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71133 (__backtrace): Likewise.
71134 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71135 use __ptrvalue.
71136 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71137 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71138 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71139 Likewise.
71140 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71141 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71142 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71143 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71144 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71145 Do not use __unbounded.
71146 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71147 Rename __unboundedrlimits parameter to rlimits in prototype.
71148 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71149 Do not use __unbounded.
71150 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71151 not use __ptrvalue.
71152 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71153 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71154 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71155 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71156 __ptrvalue or __unbounded.
71157 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71158 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71159 use __unbounded.
71160 (__new_msgctl): Do not use __ptrvalue.
71161 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71162 __unbounded.
71163 (__libc_msgrcv): Do not use __ptrvalue.
71164 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71165 startup_info): Do not use __unbounded.
71166 (__libc_start_main): Likewise. Rename ubp_* variables and
71167 parameters. Remove argv definitions conditional on
71168 [__BOUNDED_POINTERS__].
71169 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71170 __ptrvalue.
71171 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71172 use __unbounded.
71173 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71174 or __ptrvalue.
71175 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71176 use __unbounded.
71177 (__new_shmctl): Do not use __ptrvalue.
71178 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71179 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71180 Likewise.
71181 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71182 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71183 (__libc_sigaction): Likewise.
71184 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71185 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71186 Likewise.
71187 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71188
71189 2013-02-13 Ondƙej Bílka <neleai@seznam.cz>
71190
71191 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71192
71193 * string/mempcpy.c: Implement by calling memcpy.
71194
71195 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71196
71197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71198
71199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71200 evaluation.
71201
71202 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71203 values in the mantissa.
71204
71205 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71206 minimize writes to Z.
71207 (sub_magnitudes): Simplify code a bit.
71208
71209 2013-02-12 Roland McGrath <roland@hack.frob.com>
71210
71211 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71212 from the message. The linker prefixes all warnings with that already.
71213
71214 2013-02-12 Andreas Schwab <schwab@suse.de>
71215
71216 [BZ #15078]
71217 * posix/regexec.c (extend_buffers): Add parameter min_len.
71218 (check_matching): Pass minimum needed length.
71219 (clean_state_log_if_needed): Likewise.
71220 (get_subexp): Likewise.
71221 * posix/Makefile (tests): Add bug-regex34.
71222 (bug-regex34-ENV): Define.
71223 * posix/bug-regex34.c: New file.
71224
71225 [BZ #11561]
71226 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71227 elements compare against the byte sequence of it, not its name.
71228 * posix/Makefile (tests): Add bug-regex35.
71229 (bug-regex35-ENV): Define.
71230 * posix/bug-regex35.c: New file.
71231
71232 2013-02-11 Tom de Vries <tom@codesourcery.com>
71233
71234 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71235 comment.
71236 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71237 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71238 (CHECK_EOL): Add undef.
71239
71240 2013-02-11 Ondƙej Bílka <neleai@seznam.cz>
71241
71242 * bits/stdlib-bsearch.h: New file.
71243 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71244 * stdlib/stdlib.h: Likewise.
71245
71246 2013-02-11 Roland McGrath <roland@hack.frob.com>
71247
71248 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71249 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71250 declaration.
71251 * manual/search.texi (Array Search Function): Add missing const in
71252 lfind prototype.
71253 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71254 declaration to use rlim_t.
71255 (Basic Scheduling Functions): Remove erroneous const from
71256 sched_getparam prototype. Remove erroneous * from
71257 sched_get_priority_max and sched_get_priority_min prototypes.
71258 (Resource Usage): Fix summary @comment on vtimes to refer to
71259 sys/vtimes.h rather than vtimes.h.
71260 Add missing *s in vtimes prototype.
71261 (Limits on Resources): Fix ulimit prototype to return long int.
71262 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71263 prototypes to use long int rather than double.
71264 (BSD Random): Fix initstate and setstate to use char *, not void *.
71265 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71266 prototype to make second argument 'struct aiocb64 *const[]'.
71267 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71268 (Status of AIO Operations): Remove erroneous const in aio_return and
71269 aio_return64 prototypes.
71270 (Synchronizing I/O): Fix sync prototype to return void.
71271 * manual/startup.texi (Suboptions): Remove an erroneous const in
71272 getsubopt prototype.
71273 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71274 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71275 use size_t rather than int.
71276 (Scanning All Users): Likewise for getpwent_r.
71277 (Setting Groups): Add missing const to setgroups prototype.
71278 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71279 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71280 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71281 'const void *' rather than 'const char *'.
71282 (Host Address Functions): Likewise for inet_ntop.
71283 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71284 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71285 ssize_t for return value.
71286 (Sending Data): Likewise for send, sendto, sendmsg.
71287 (Socket Option Functions): Add a missing const in setsockopt prototype.
71288 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71289 use wchar_t for the argument.
71290 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71291 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71292 take no arguments.
71293 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71294 double/float/long double for second argument.
71295 Fix return types of significand, significandf, significandl.
71296 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71297 argument in fchmod prototype.
71298 (File Owner): Use uid_t and gid_t in fchown prototype.
71299 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71300 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71301 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71302 use 'const struct dirent **' as argument types to CMP function pointer
71303 argument.
71304 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71305 (File Times): Fix summary magic @comment for struct utimbuf and utime
71306 to refer to utime.h, not time.h.
71307 * manual/string.texi (Argz Functions): Add missing const in
71308 argz_extract and argz_next prototypes.
71309 (Finding Tokens in a String): Likewise for basename.
71310 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71311 (Copying and Concatenation): Fix typo in wmemmove prototype.
71312 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71313 (Signal Stack): Remove erroneous const in sigstack prototype.
71314 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71315 prototype.
71316 (Simple Calendar Time): Likewise for stime.
71317 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71318 prototype.
71319 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71320 say sys/sysctl.h instead.
71321 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71322 and vsyslog prototypes.
71323
71324 2013-02-11 Tom de Vries <tom@codesourcery.com>
71325
71326 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71327 Remove.
71328
71329 2013-02-11 Roland McGrath <roland@hack.frob.com>
71330
71331 * misc/sys/mman.h: Fix typo in mremap comment.
71332
71333 2013-02-08 Roland McGrath <roland@hack.frob.com>
71334
71335 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71336 the '\0' terminator.
71337
71338 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71339
71340 [BZ #13550]
71341 * debug/segfault.c: Don't include <bp-checks.h>.
71342 * sysdeps/generic/bp-checks.h: Remove file.
71343 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71344 (__GETDENTS): Don't use CHECK_N.
71345 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71346 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71347 (__getgroups): Don't use CHECK_N.
71348 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71349 (setgroups): Don't use CHECK_N.
71350 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71351 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71352 (__libc_msgrcv): Don't use CHECK_N.
71353 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71354 (__libc_msgsnd): Don't use CHECK_N.
71355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71356 <bp-checks.h>.
71357 (__libc_pread): Don't use CHECK_N.
71358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71359 include <bp-checks.h>.
71360 (__libc_pread64): Don't use CHECK_N.
71361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71362 include <bp-checks.h>.
71363 (__libc_pwrite): Don't use CHECK_N.
71364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71365 include <bp-checks.h>.
71366 (__libc_pwrite64): Don't use CHECK_N.
71367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71368 <bp-checks.h>.
71369 (__libc_pread): Don't use CHECK_N.
71370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71371 include <bp-checks.h>.
71372 (__libc_pread64): Don't use CHECK_N.
71373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71374 include <bp-checks.h>.
71375 (__libc_pwrite): Don't use CHECK_N.
71376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71377 include <bp-checks.h>.
71378 (__libc_pwrite64): Don't use CHECK_N.
71379 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71380 (do_pread): Don't use CHECK_N.
71381 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71382 (do_pread64): Don't use CHECK_N.
71383 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71384 (do_pwrite): Don't use CHECK_N.
71385 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71386 (do_pwrite64): Don't use CHECK_N.
71387 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71388 (__libc_readv): Don't use CHECK_N.
71389 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71390 (semop): Don't use CHECK_N.
71391 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71392 <bp-checks.h>.
71393 (semtimedop): Don't use CHECK_N.
71394 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71395 (__libc_pread): Don't use CHECK_N.
71396 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71397 <bp-checks.h>.
71398 (__libc_pread64): Don't use CHECK_N.
71399 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71400 <bp-checks.h>.
71401 (__libc_pwrite): Don't use CHECK_N.
71402 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71403 <bp-checks.h>.
71404 (__libc_pwrite64): Don't use CHECK_N.
71405 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71406 <bp-checks.h>.
71407 (__libc_msgrcv): Don't use CHECK_N.
71408 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71409 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71410 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71411 (__libc_writev): Don't use CHECK_N.
71412
71413 2013-02-08 Roland McGrath <roland@hack.frob.com>
71414
71415 * string/strcpy.c: Removed unused variable.
71416
71417 * Makeconfig (+sysdep-includes): Define with := rather than =.
71418 Use an existing include/ subdir of each sysdeps dir before it.
71419
71420 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71421
71422 * nscd/connection.c (register_traced_file): Comment function.
71423 [HAVE_INOTIFY] (union __inev): Define.
71424 [HAVE_INOTIFY] (inotify_check_files): New function.
71425 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71426 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71427 clear_db_cache.
71428 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71429
71430 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71431
71432 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71433 loaded if not already and that a failure is permanent.
71434
71435 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71436
71437 [BZ #15006]
71438 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71439 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71440
71441 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71442
71443 [BZ #13550]
71444 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71445 (CHECK_1_NULL_OK): Likewise.
71446 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71447 (__fxstat): Do not use CHECK_1.
71448 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71449 <bp-checks.h>.
71450 (___fxstat64): Do not use CHECK_1.
71451 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71452 <bp-checks.h>.
71453 (__fxstatat): Do not use CHECK_1.
71454 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71455 <bp-checks.h>.
71456 (__fxstatat64): Do not use CHECK_1.
71457 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71458 <bp-checks.h>.
71459 (__fxstat): Do not use CHECK_1.
71460 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71461 <bp-checks.h>.
71462 (__fxstatat): Do not use CHECK_1.
71463 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71464 <bp-checks.h>.
71465 (__getresgid): Do not use CHECK_1.
71466 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71467 <bp-checks.h>.
71468 (__getresuid): Do not use CHECK_1.
71469 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71470 <bp-checks.h>.
71471 (__lxstat): Do not use CHECK_1.
71472 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71473 <bp-checks.h>.
71474 (__old_msgctl): Do not use CHECK_1.
71475 (__new_msgctl): Likewise.
71476 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71477 <bp-checks.h>.
71478 (__new_setrlimit): Do not use CHECK_1.
71479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71480 <bp-checks.h>.
71481 (__old_shmctl): Do not use CHECK_1.
71482 (__new_shmctl): Likewise.
71483 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71484 <bp-checks.h>.
71485 (__xstat): Do not use CHECK_1.
71486 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71487 (__lxstat): Do not use CHECK_1.
71488 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71489 <bp-checks.h>.
71490 (___lxstat64): Do not use CHECK_1.
71491 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71492 (__old_msgctl): Do not use CHECK_1.
71493 (__new_msgctl): Likewise.
71494 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71495 <bp-checks.h>.
71496 (__gettimeofday): Do not use CHECK_1.
71497 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71498 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71500 <bp-checks.h>.
71501 (__gettimeofday): Do not use CHECK_1.
71502 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71503 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71504 (__new_shmctl): Do not use CHECK_1.
71505 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71506 <bp-checks.h>.
71507 (do_sigtimedwait): Do not use CHECK_1.
71508 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71509 <bp-checks.h>.
71510 (do_sigwaitinfo): Do not use CHECK_1.
71511 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71512 <bp-checks.h>.
71513 (msgctl): Do not use CHECK_1.
71514 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71515 <bp-checks.h>.
71516 (shmctl): Do not use CHECK_1.
71517 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71518 (ustat): Do not use CHECK_1.
71519 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71520 <bp-checks.h>.
71521 (__fxstat): Do not use CHECK_1.
71522 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71523 <bp-checks.h>.
71524 (__fxstatat): Do not use CHECK_1.
71525 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71526 <bp-checks.h>.
71527 (__lxstat): Do not use CHECK_1.
71528 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71529 <bp-checks.h>.
71530 (__xstat): Do not use CHECK_1.
71531 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71532 (__xstat): Do not use CHECK_1.
71533 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71534 (___xstat64): Do not use CHECK_1.
71535
71536 [BZ #13550]
71537 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71538 definitions.
71539 (CHECK_BOUNDS_HIGH): Likewise.
71540 * string/strcpy.c: Do not include <bp-checks.h>.
71541 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71542
71543 2013-02-07 Roland McGrath <roland@hack.frob.com>
71544
71545 * nscd/nscd-client.h (__nscd_drop_map_ref):
71546 Add __attribute__ ((unused)).
71547 * nis/nss-nisplus.h (niserr2nss): Likewise.
71548
71549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71550 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71551
71552 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71553 Remove inline keyword.
71554 * include/rounding-mode.h (round_away): Likewise.
71555 * libio/wfileops.c (adjust_wide_data): Likewise.
71556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71557 (__m128i_strloadu_tolower): Likewise.
71558 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71559 (__m128i_strloadu_tolower): Likewise.
71560 * time/mktime.c (ydhms_diff): Likewise.
71561 * locale/elem-hash.h (elem_hash): Likewise.
71562 * locale/setlocale.c (setdata): Likewise.
71563 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71564 (re_string_wchar_at): Likewise.
71565 (bitset_not, bitset_merge, bitset_mask): Likewise.
71566 [!(__GNUC__ > 3)] (inline): Remove macro.
71567 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71568 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71569 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71570 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71571 * string/memcmp.c (memcmp_bytes): Likewise.
71572 * locale/programs/locarchive.c (compute_hashval): Likewise.
71573 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71574 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71575 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71576 * nss/getent.c (print_rpc, print_protocols): Likewise.
71577 (print_passwd, print_group, print_aliases): Likewise.
71578 * nis/nss-nisplus.h (niserr2nss): Likewise.
71579 * nscd/connections.c (restart_p): Likewise.
71580 Change return type to bool.
71581
71582 2013-02-05 Roland McGrath <roland@hack.frob.com>
71583
71584 * Makeconfig (all-Depend-files): Add existing
71585 $(sorted-subdirs:=/Depend) files.
71586 (all-subdirs): Remove nss.
71587 * sysdeps/unix/inet/Subdirs: Add it here instead.
71588 * hesiod/Depend: New file.
71589
71590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71591 instead of calling alloca.
71592
71593 * io/lseek.c (__lseek): Rename to __libc_lseek.
71594 Define __lseek as an alias.
71595
71596 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71597
71598 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71599
71600 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71601 else clause and remove check for non-standard endianness.
71602
71603 2013-02-04 David S. Miller <davem@davemloft.net>
71604
71605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71606
71607 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71608
71609 [BZ #13550]
71610 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71611 (__ubp_memchr): Remove prototype.
71612 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71613 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71614 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71615 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71616 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71617 Remove alias.
71618 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71619 (__ubp_memchr): Likewise.
71620 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71621 (__ubp_memchr): Likewise.
71622 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71623 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71624 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71625 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71626 CHECK_STRING.
71627 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71628 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71629 (__getcwd): Do not use CHECK_STRING.
71630 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71631 <bp-checks.h>.
71632 (__real_chown): Do not use CHECK_STRING.
71633 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71634 <bp-checks.h>.
71635 (fchownat): Do not use CHECK_STRING.
71636 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71637 CHECK_STRING.
71638 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71639 <bp-checks.h>.
71640 (__lchown): Do not use CHECK_STRING.
71641 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71642 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71643 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71644 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71646 include <bp-checks.h>.
71647 (truncate64): Do not use CHECK_STRING.
71648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71649 <bp-checks.h>.
71650 (__real_chown): Do not use CHECK_STRING.
71651 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71652 <bp-checks.h>.
71653 (__lchown): Do not use CHECK_STRING.
71654 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71655 <bp-checks.h>.
71656 (__chown): Do not use CHECK_STRING.
71657 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71658 <bp-checks.h>.
71659 (truncate64): Do not use CHECK_STRING.
71660 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71661 Likewise.
71662 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71663 (__xmknod): Do not use CHECK_STRING.
71664 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71665 <bp-checks.h>.
71666 (__xmknodat): Do not use CHECK_STRING.
71667 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71668 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71669
71670 2013-02-04 Andreas Schwab <schwab@suse.de>
71671
71672 [BZ #14142]
71673 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71674 * include/netdb.h: Likewise for h_errno.
71675 * elf/tst-stackguard1.c: Include <tls.h>.
71676
71677 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71678
71679 * elf/link.h (struct link_map): Extend the l_addr comment.
71680 * include/link.h (struct link_map): Likewise.
71681
71682 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71683
71684 [BZ #13550]
71685 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71686 (BOUNDED_1): Remove macro.
71687 * debug/backtrace.c: Don't include <bp-checks.h>.
71688 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71689 (__backtrace): Likewise.
71690 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71691 <bp-checks.h>.
71692 (__backtrace): Don't use BOUNDED_1.
71693 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71694 <bp-checks.h>.
71695 (__backtrace): Don't use BOUNDED_1.
71696 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71697 (__backtrace): Don't use BOUNDED_1.
71698 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71699 (shmat): Don't use BOUNDED_N.
71700
71701 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71702
71703 [BZ #13550]
71704 * sysdeps/generic/bp-start.h: Remove file.
71705 * csu/libc-start.c: Don't include <bp-start.h>.
71706 (LIBC_START_MAIN): Set up __environ directly instead of using
71707 INIT_ARGV_and_ENVIRON.
71708 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71709 <bp-start.h>.
71710
71711 [BZ #13550]
71712 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71713 definitions.
71714 (CHECK_FCNTL): Likewise.
71715 (CHECK_N_PAGES): Likewise.
71716
71717 [BZ #13550]
71718 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71719 definitions.
71720 (CHECK_SIGSET_NULL_OK): Likewise.
71721 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71722 <bp-checks.h>.
71723 (sigpending): Don't use CHECK_SIGSET.
71724 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71725 <bp-checks.h>.
71726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71727 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71728 <bp-checks.h>.
71729 (do_sigsuspend): Don't use CHECK_SIGSET.
71730 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71731 use CHECK_SIGSET.
71732 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71733 (do_sigwait): Don't use CHECK_SIGSET.
71734 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71735 use CHECK_SIGSET.
71736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71737 include <bp-checks.h>.
71738 (sigpending): Don't use CHECK_SIGSET.
71739 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71740 include <bp-checks.h>.
71741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71742 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71743 <bp-checks.h>.
71744 (sigpending): Don't use CHECK_SIGSET.
71745 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71746 <bp-checks.h>.
71747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71748
71749 [BZ #13550]
71750 * sysdeps/generic/bp-semctl.h: Remove file.
71751 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71752 <bp-checks.h> and <bp-semctl.h>.
71753 (__old_semctl): Don't use CHECK_SEMCTL.
71754 (__new_semctl): Likewise.
71755 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71756 and <bp-semctl.h>.
71757 (__old_semctl): Don't use CHECK_SEMCTL.
71758 (__new_semctl): Likewise.
71759 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71760 <bp-checks.h> and <bp-semctl.h>.
71761 (__old_semctl): Don't use CHECK_SEMCTL.
71762 (__new_semctl): Likewise.
71763 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71764 <bp-checks.h> and <bp-semctl.h>.
71765 (semctl): Don't use CHECK_SEMCTL.
71766
71767 [BZ #13550]
71768 * Makerules (elide-bp-thunks): Remove variable.
71769 (elide-routines.oS): Don't use $(elide-bp-thunks).
71770 (elide-routines.os): Likewise.
71771 (elide-routines.o): Likewise.
71772 (elide-routines.op): Likewise.
71773 (elide-routines.og): Likewise.
71774 (objects): Don't use $(bp-thunks).
71775 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71776 include.
71777 (common-generated): Do not add s-proto-bp.d.
71778 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71779 (int): Likewise.
71780 (typ): Likewise.
71781 Do not generate makefile rules for bounded-pointer thunks.
71782 * sysdeps/generic/bp-thunks.h: Remove file.
71783 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71784 * sysdeps/unix/s-proto-bp.S: Likewise.
71785
71786 [BZ #15062]
71787 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71788 parts of result separately when argument is not close to line from
71789 -i to i and one part of argument is small.
71790 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71791 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71792 * math/libm-test.inc (cacos_test): Add more tests.
71793 (casin_test): Likewise.
71794 (casinh_test): Likewise.
71795 * sysdeps/i386/fpu/libm-test-ulps: Update.
71796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71797
71798 2013-01-31 David S. Miller <davem@davemloft.net>
71799
71800 * po/de.po: Update from translation team.
71801
71802 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71803
71804 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71805
71806 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71807
71808 * configure.in (_AC_PROG_CC_C89): New definition.
71809 * configure: Regenerate.
71810
71811 * configure.in (AC_PROG_CPP): New definition.
71812 * configure: Regenerate.
71813
71814 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71815
71816 * debug/tst-backtrace.h: New file.
71817 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71818 (ret): Remove variable.
71819 (x): Likewise.
71820 (FAIL): Remove macro.
71821 (NO_INLINE): Likewise.
71822 (fn1): Use match function instead of strstr.
71823 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71824 (ret): Remove variable.
71825 (x): Likewise.
71826 (FAIL): Remove macro.
71827 (NO_INLINE): Likewise.
71828 (fn): Use match function instead of strstr.
71829 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71830 (ret): Remove variable.
71831 (x): Likewise.
71832 (FAIL): Remove macro.
71833 (NO_INLINE): Likewise.
71834 (handle_signal): Use match function instead of strstr.
71835 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71836 (ret): Remove variable.
71837 (x): Likewise.
71838 (FAIL): Remove macro.
71839 (NO_INLINE): Likewise.
71840 (handle_signal): Use match function instead of strstr.
71841
71842 2013-01-23 Roland McGrath <roland@hack.frob.com>
71843
71844 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71845
71846 2013-01-23 David S. Miller <davem@davemloft.net>
71847
71848 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71849 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71850 argument of CAS if possible.
71851 * sysdeps/sparc/sparc64/bits/atomic.h
71852 (__arch_compare_and_exchange_val_32_acq): Likewise.
71853 (__arch_compare_and_exchange_val_64_acq): Likewise.
71854
71855 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71856
71857 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71858 * sysdeps/posix/ulimit.c: ... this.
71859 Include <limits.h>.
71860 * sysdeps/unix/bsd/ulimit.c: Remove file.
71861
71862 2013-01-23 Adam Conrad <adconrad@0c3.net>
71863
71864 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71865 (LDFLAGS-tst-array5): Likewise.
71866
71867 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71868
71869 [BZ #15036]
71870 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71871 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71872 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71873 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71874
71875 2013-01-21 David S. Miller <davem@davemloft.net>
71876
71877 * sysdeps/sparc/backtrace.c: New file.
71878 * sysdeps/sparc/sparc32/backtrace.h: New file.
71879 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71880 * sysdeps/sparc/sparc64/backtrace.h: New file.
71881 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71882 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71883 -funwind-tables.
71884
71885 2013-01-21 Andreas Schwab <schwab@suse.de>
71886
71887 [BZ #15020]
71888 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71889 closed its stdout.
71890
71891 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71892
71893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71894 "mpa2.h".
71895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71896
71897 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71898 Mark Mitchell <mark@codesourcery.com>
71899 Tom de Vries <tom@codesourcery.com>
71900 Paul Pluzhnikov <ppluzhnikov@google.com>
71901
71902 * debug/tst-backtrace2.c: New file.
71903 * debug/tst-backtrace3.c: Likewise.
71904 * debug/tst-backtrace4.c: Likewise.
71905 * debug/tst-backtrace5.c: Likewise.
71906 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71907 (CFLAGS-tst-backtrace3.c): Likewise.
71908 (CFLAGS-tst-backtrace4.c): Likewise.
71909 (CFLAGS-tst-backtrace5.c): Likewise.
71910 (LDFLAGS-tst-backtrace2): Likewise.
71911 (LDFLAGS-tst-backtrace3): Likewise.
71912 (LDFLAGS-tst-backtrace4): Likewise.
71913 (LDFLAGS-tst-backtrace5): Likewise.
71914 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71915 tst-backtrace4 and tst-backtrace5.
71916
71917 2013-01-18 Anton Blanchard <anton@samba.org>
71918 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71919
71920 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71921 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71922 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71923 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71925 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71926 "+r" and remove output regs list as redundant. Add explicit inline
71927 asm to specify register of return val to work around compiler codegen
71928 bug. Remove (int) cast on return value. Add return type parameter to
71929 use in macro so that this macro does not truncate return value for
71930 64-bit values.
71931 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71932 pass to INTERNAL_VSYSCALL_NCS.
71933 (INLINE_VSYSCALL): Add 'long int' as return type to
71934 INTERNAL_VSYSCALL_NCS macro invocation.
71935 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71936 INTERNAL_VSYSCALL_NCS macro invocation.
71937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71938
71939 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71940
71941 [BZ #14496]
71942 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71943 Fix application of SIMD FP exception mask.
71944
71945 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71946 mp_no from a power of two.
71947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71948 __mpexp_twomm1. Use __pow_mp.
71949
71950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71951 multiplication.
71952
71953 2013-01-17 David S. Miller <davem@davemloft.net>
71954
71955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71956
71957 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71958
71959 [BZ #15023]
71960 * include/complex.h: Condition contents on [!_COMPLEX_H].
71961 (__kernel_casinhf): New prototype.
71962 (__kernel_casinh): Likewise.
71963 (__kernel_casinhl): Likewise.
71964 * math/Makefile (libm_calls): Add k_casinh.
71965 * math/k_casinh.c: New file.
71966 * math/k_casinhf.c: Likewise.
71967 * math/k_casinhl.c: Likewise.
71968 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71969 finite nonzero arguments.
71970 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71971 finite nonzero arguments.
71972 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71973 finite nonzero arguments.
71974 * math/s_casinh.c: Do not include <float.h>.
71975 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71976 * math/s_casinhf.c: Do not include <float.h>.
71977 (__casinhf): Move code for finite nonzero arguments to
71978 k_casinhf.c.
71979 * math/s_casinhl.c: Do not include <float.h>.
71980 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71981 redefine.
71982 (__casinhl): Move code for finite nonzero arguments to
71983 k_casinhl.c.
71984 * math/libm-test.inc (cacos_test): Add more tests.
71985 * sysdeps/i386/fpu/libm-test-ulps: Update.
71986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71987
71988 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71989
71990 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71991 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71992 [!HAVE_MREMAP]: Remove [defined linux] case.
71993 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71994
71995 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71996
71997 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71998
71999 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72000
72001 * elf/elf.h (R_386_SIZE32): New relocation.
72002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72003 R_386_SIZE32.
72004 (elf_machine_rela): Likewise.
72005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72006 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72007
72008 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72009
72010 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72011 (FP_FAST_FMA): Do not define.
72012 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72013 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72014 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72015 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72016 !_SOFT_FLOAT]: Likewise.
72017 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72018 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72019 value.
72020 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72021 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72022 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72023 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72024 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72025 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72026 file.
72027
72028 2013-01-16 Andreas Schwab <schwab@suse.de>
72029
72030 [BZ #14327]
72031 * include/stdlib.h (__mktemp): Add declaration.
72032 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72033 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72034
72035 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72036
72037 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72038 definitions.
72039 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72040 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72041 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72042 definitions here.
72043 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72044 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72045 definitions.
72046 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72047 and ONE.
72048 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72049 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72050 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72051 definitions.
72052 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72053 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72054 definitions.
72055 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72056
72057 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72058
72059 2013-01-15 David S. Miller <davem@davemloft.net>
72060
72061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72062 trunc{,f} to libm-sysdep_routes.
72063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72065 file.
72066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72068 file.
72069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72070 file.
72071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72073 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72074 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72075 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72076 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72077 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72078 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72079
72080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72081 nearbyint{,f} to libm-sysdep_routes.
72082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72084 New file.
72085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72086 file.
72087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72088 New file.
72089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72090 file.
72091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72093 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72094 file.
72095 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72096 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72097 file.
72098 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72099 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72100 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72101
72102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72103 libc_feholdexcept and libc_fesetenv.
72104
72105 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72106
72107 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72108
72109 2013-01-14 David S. Miller <davem@davemloft.net>
72110
72111 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72112 (SPARC_ASM_VIS2_IFUNC): Likewise.
72113 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72115 use of 'siam' instruction.
72116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72117 Likewise.
72118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72119 Likewise.
72120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72121 Likewise.
72122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72127 file.
72128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72129 file.
72130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72131 file.
72132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72133 file.
72134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72139 new VIS2 routines.
72140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72143 Likewise.
72144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72149 routines to libm-sysdep_routines.
72150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72151
72152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72153 fdim/fdimf to libm-sysdep_routines.
72154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72155 file.
72156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72158 file.
72159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72162 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72163 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72164 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72165 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72166
72167 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72168
72169 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72170 to optimize copies.
72171
72172 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72175
72176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72177 local variable MPTWO.
72178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72179 Likewise.
72180
72181 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72182
72183 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72184 GLOB_NOESCAPE.
72185
72186 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72187
72188 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72189
72190 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72191
72192 * manual/pattern.texi (glob_t): Document gl_flags.
72193 (glob64_t): Likewise.
72194
72195 2013-01-11 David S. Miller <davem@davemloft.net>
72196
72197 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72198 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72199 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72200 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72201 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72202 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72203 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72204 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72205 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72206 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72207 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72208 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72209 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72210
72211 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72212 sparc V9 rather than using V8 code.
72213 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72214 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72215
72216 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72217 Move to...
72218 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72219 Here.
72220
72221 2013-01-11 Roland McGrath <roland@hack.frob.com>
72222
72223 [BZ #14941]
72224 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72225 not in the main loop.
72226 * configure: Regenerated.
72227
72228 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72229
72230 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72231 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72232 to just #else.
72233 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72234 [!__GLIBC_HAVE_LONG_LONG] case.
72235 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72236 condition to just #else.
72237 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72238 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72239 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72240 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72241 unconditional.
72242 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72243 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72244 #elif condition to just #else.
72245 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72246 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72247 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72248 #elif condition to just #else.
72249
72250 2013-01-11 Steve Ellcey <sellcey@mips.com>
72251
72252 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72253 (EF_MIPS_ARCH_64): Fix value.
72254 (EF_MIPS_ARCH_32R2): New.
72255 (EF_MIPS_ARCH_64R2): New.
72256
72257 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72258
72259 * Makeconfig (+link-pie-before-libc): New.
72260 (+link-pie-after-libc): Likewise.
72261 (+link-pie-tests): Likewise.
72262 (+link-pie): Rewritten.
72263 (link-before-libc): Remove $(config-LDFLAGS).
72264 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72265 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72266 (config-LDFLAGS): Renamed to ...
72267 (rtld-LDFLAGS): This.
72268 (rtld-tests-LDFLAGS): New macro.
72269 (link-libc-rpath-link): Likewise.
72270 (link-libc-tests-rpath-link): Likewise.
72271 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72272 (link-libc): Prepand $(link-libc-rpath-link).
72273 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72274 (test-program-prefix): New macro.
72275 (test-via-rtld-prefix): Likewise.
72276 (test-program-cmd): Likewise.
72277 (host-test-program-cmd): Likewise.
72278 * Makefile ($(common-objpfx)testrun.sh): Replace
72279 $(run-program-prefix) with $(test-program-prefix).
72280 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72281 $(rtld-LDFLAGS).
72282 ($(common-objpfx)shlib.lds): Likewise.
72283 (build-module-helper): Likewise.
72284 ($(common-objpfx)format.lds): Likewise.
72285 * Rules (binaries-pie-tests): New.
72286 (binaries-pie-notests): Likewise.
72287 (binaries-pie): Rewritten.
72288 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72289 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72290 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72291 (make-test-out): Replace $(host-built-program-cmd) with
72292 $(host-test-program-cmd).
72293 * config.make.in (build-hardcoded-path-in-tests): New variable.
72294 * configure.in (--enable-hardcoded-path-in-tests): New configure
72295 option.
72296 (hardcoded_path_in_tests): New AC_SUBST.
72297 * configure: Regenerated.
72298 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72299 $(built-program-cmd) with $(test-program-cmd).
72300 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72301 (test_program_cmd): This.
72302 * elf/Makefile ($(objpfx)order.out): Run test with
72303 $(test-program-prefix).
72304 ($(objpfx)order2.out): Likewise.
72305 ($(objpfx)tst-initorder.out): Likewise.
72306 ($(objpfx)tst-initorder2.out): Likewise.
72307 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72308 $(test-program-cmd).
72309 ($(objpfx)tst-array1-static.out): Likewise.
72310 ($(objpfx)tst-array2.out): Likewise.
72311 ($(objpfx)tst-array3.out): Likewise.
72312 ($(objpfx)tst-array4.out): Likewise.
72313 ($(objpfx)tst-array5.out): Likewise.
72314 ($(objpfx)tst-array5-static.out): Likewise.
72315 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72316 $(test-program-cmd).
72317 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72318 $(run-program-prefix) with $(test-program-prefix).
72319 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72320 (test_program_prefix): This.
72321 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72322 $(run-program-prefix) with $(test-program-prefix).
72323 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72324 (test_program_prefix): This.
72325 * iconvdata/tst-tables.sh: Likewise.
72326 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72327 $(run-program-prefix) with $(test-program-prefix).
72328 ($(objpfx)tst-translit.out): Likewise.
72329 ($(objpfx)tst-gettext2.out): Likewise.
72330 ($(objpfx)tst-gettext4.out): Likewise.
72331 ($(objpfx)tst-gettext6.out): Likewise.
72332 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72333 (test_program_prefix): This.
72334 * intl/tst-gettext2.sh: Likewise.
72335 * intl/tst-gettext4.sh Likewise.
72336 * intl/tst-gettext6.sh: Likewise.
72337 * intl/tst-translit.sh: Likewise.
72338 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72339 with $(test-program-cmd).
72340 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72341 $(run-program-prefix) with $(test-program-prefix).
72342 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72343 (test_program_prefix): This.
72344 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72345 $(run-program-prefix) with $(test-program-prefix).
72346 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72347 (test_program_prefix): This.
72348 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72349 * posix/Makefile ($(objpfx)globtest.out): Replace
72350 $(run-via-rtld-prefix) and $(test-wrapper) with
72351 $(test-program-prefix) and $(test-via-rtld-prefix).
72352 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72353 $(test-program-prefix).
72354 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72355 $(host-test-program-cmd).
72356 (tst-spawn-ARGS): Likewise.
72357 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72358 $(test-program-prefix).
72359 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72360 (test_via_rtld_prefix): This.
72361 (test_wrapper): Renamed to ...
72362 (test_program_prefix): This.
72363 (run_program_prefix): Replaced by test_program_prefix.
72364 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72365 (test_program_prefix): This.
72366 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72367 with $(host-test-program-cmd).
72368 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72369 $(run-program-prefix) with $(test-program-prefix).
72370 ($(objpfx)tst-printf.out): Likewise.
72371 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72372 $(test-program-cmd).
72373 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72374 (test_program_prefix): This.
72375 * stdio-common/tst-unbputc.sh: Likewise.
72376 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72377 $(run-program-prefix) with $(test-program-prefix).
72378 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72379 (test_program_prefix): This.
72380 * string/Makefile ($(objpfx)tst-svc.out): Replace
72381 $(built-program-cmd) with $(test-program-cmd).
72382
72383 2013-01-11 Andreas Jaeger <aj@suse.de>
72384
72385 [BZ #15003]
72386 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72387 value. Sync with Linux 3.7.
72388
72389 2013-01-10 David S. Miller <davem@davemloft.net>
72390
72391 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72392 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72393 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72394
72395 2013-01-10 Roland McGrath <roland@hack.frob.com>
72396
72397 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72398 never set.
72399 * configure: Regenerated.
72400
72401 2013-01-10 David S. Miller <davem@davemloft.net>
72402
72403 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72404 sparc V9 rather than using V8 code.
72405 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72406 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72407
72408 2013-01-10 Roland McGrath <roland@hack.frob.com>
72409
72410 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72411 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72412 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72413 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72414 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72415 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72416 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72417 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72418 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72419 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72420 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72421 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72422 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72423 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72424 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72425 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72426 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72427 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72428 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72429 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72430 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72431 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72432 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72433 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72434 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72435 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72436 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72437
72438 2013-01-10 David S. Miller <davem@davemloft.net>
72439
72440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72441
72442 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72443
72444 * posix/Makefile (tests-static): New variable.
72445 (tests): Add $(tests-static).
72446 (tst-exec-static-ARGS): New variable.
72447 (tst-spawn-static-ARGS): Likewise.
72448 * posix/tst-exec-static.c: New file.
72449 * posix/tst-spawn-static.c: Likewise.
72450 * posix/tst-exec.c: Support run directly.
72451 * posix/tst-spawn.c: Likewise.
72452
72453 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72454
72455 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72456 long.
72457 * math/bits/mathcalls.h (llrint): Likewise.
72458 (llround): Likewise.
72459 * stdlib/stdlib.h (struct drand48_data): Likewise.
72460 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72461 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72462 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72463 Likewise.
72464 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72465 Likewise.
72466 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72467 (elf_greg_t): Likewise.
72468 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72469 (__jmp_buf): Likewise.
72470 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72471 definitions.
72472 (llrint): Likewise, for all definitions.
72473 (llrintl): Likewise.
72474
72475 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72476 Remove [__GNUC__] condition.
72477 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72478 condition to just [__USE_ISOC99].
72479 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72480
72481 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72482
72483 [BZ #14200]
72484 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72485 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72486 defined.
72487 (_POSIX_V6_ILP32_OFF32): Likewise.
72488 (_XBS5_ILP32_OFF32): Likewise.
72489 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72490 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72491
72492 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72493
72494 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72495
72496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72497 doubles __mpexp_twomm1. Adjust usage.
72498 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72499 Remove.
72500
72501 2013-01-10 Andreas Schwab <schwab@suse.de>
72502
72503 [BZ #14964]
72504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72505 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72506
72507 2013-01-09 David S. Miller <davem@davemloft.net>
72508
72509 [BZ #15003]
72510 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72511 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72512 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72513 (TCP_FASTOPEN): Define.
72514 (tcp_repair_opt): New structure.
72515 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72516 enum values.
72517 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72518 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72519 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72520 (tcp_cookie_transactions): New structure.
72521
72522 2013-01-09 Anton Blanchard <anton@samba.org>
72523
72524 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72525 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72527 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72528
72529 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72530
72531 * include/features.h (__USE_ANSI): Remove.
72532
72533 2013-01-09 Roland McGrath <roland@hack.frob.com>
72534
72535 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72536
72537 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72538
72539 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72540
72541 * sysdeps/s390/fpu/libm-test-ulps: Update.
72542
72543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72544
72545 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72546 (__acr): Likewise.
72547 (__cpy): Likewise.
72548 (norm): Likewise.
72549 (denorm): Likewise.
72550 (__mp_dbl): Likewise.
72551 (__dbl_mp): Likewise.
72552 (add_magnitudes): Likewise.
72553 (sub_magnitudes): Likewise.
72554 (__add): Likewise.
72555 (__sub): Likewise.
72556 (__mul): Likewise.
72557 (__inv): Likewise.
72558 (__dvd): Likewise.
72559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72560 (__acr): Likewise.
72561 (__cpy): Likewise.
72562 (norm): Likewise.
72563 (denorm): Likewise.
72564 (__mp_dbl): Likewise.
72565 (__dbl_mp): Likewise.
72566 (add_magnitudes): Likewise.
72567 (sub_magnitudes): Likewise.
72568 (__add): Likewise.
72569 (__sub): Likewise.
72570 (__mul): Likewise.
72571 (__inv): Likewise.
72572 (__dvd): Likewise.
72573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72574 (__acr): Likewise.
72575 (__cpy): Likewise.
72576 (norm): Likewise.
72577 (denorm): Likewise.
72578 (__mp_dbl): Likewise.
72579 (__dbl_mp): Likewise.
72580 (add_magnitudes): Likewise.
72581 (sub_magnitudes): Likewise.
72582 (__add): Likewise.
72583 (__sub): Likewise.
72584 (__mul): Likewise.
72585 (__inv): Likewise.
72586 (__dvd): Likewise.
72587
72588 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72589
72590 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72591 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72592 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72593 2 && __USE_EXTERN_INLINES]: Likewise.
72594
72595 2013-01-08 Andreas Jaeger <aj@suse.de>
72596
72597 [BZ #14985]
72598 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72599 Remove.
72600 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72601 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72602
72603 2013-01-07 Anton Blanchard <anton@samba.org>
72604
72605 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72606 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72607 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72608 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72609 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72610 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72611 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72612 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72614 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72615 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72616 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72617 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72618 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72619 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72620 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72621 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72623 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72624 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72626 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72627 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72628 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72629 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72630 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72631 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72632 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72634 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72635 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72637 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72638 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72639 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72640 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72641 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72644 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72645 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72647 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72648
72649 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72650
72651 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72652 (__MALLOC_PMT): Likewise.
72653 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72654 [__GNUC__], only on [_LIBC].
72655 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72656 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72657 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72658 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72659 forward declaration.
72660 (realloc_hook_ini): Likewise.
72661 (memalign_hook_ini): Likewise.
72662 (__libc_memalign): Do not use __MALLOC_PMT in variable
72663 declaration.
72664 (__libc_valloc): Likewise.
72665 (__libc_pvalloc): Likewise.
72666 (__libc_calloc): Likewise.
72667 (__posix_memalign): Likewise.
72668
72669 [BZ #14996]
72670 * math/s_casinh.c: Include <float.h>.
72671 (__casinh): Do not do computation with squaring and square root
72672 for large arguments.
72673 * math/s_casinhf.c: Include <float.h>.
72674 (__casinhf): Do not do computation with squaring and square root
72675 for large arguments.
72676 * math/s_casinhl.c: Include <float.h>.
72677 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72678 (__casinhl): Do not do computation with squaring and square root
72679 for large arguments.
72680 * math/libm-test.inc (casin_test): Add more tests.
72681 (casinh_test): Likewise.
72682 * sysdeps/i386/fpu/libm-test-ulps: Update.
72683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72684
72685 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72686
72687 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72688 (__x86_64_raw_data_cache_size): Likewise.
72689 (__x86_64_data_cache_size_half): Likewise.
72690 (__x86_64_raw_data_cache_size_half): Likewise.
72691 (__x86_64_shared_cache_size): Likewise.
72692 (__x86_64_raw_shared_cache_size): Likewise.
72693 (__x86_64_shared_cache_size_half): Likewise.
72694 (__x86_64_raw_shared_cache_size_half): Likewise.
72695 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72696 to ...
72697 (__x86_data_cache_size): This.
72698 (__x86_64_raw_data_cache_size): Renamed to ...
72699 (__x86_raw_data_cache_size): This.
72700 (__x86_64_data_cache_size_half): Renamed to ...
72701 (__x86_data_cache_size_half): This.
72702 (__x86_64_raw_data_cache_size_half): Renamed to ...
72703 (__x86_raw_data_cache_size_half): This.
72704 (__x86_64_shared_cache_size): Renamed to ...
72705 (__x86_shared_cache_size): This.
72706 (__x86_64_raw_shared_cache_size): Renamed to ...
72707 (__x86_raw_shared_cache_size): This.
72708 (__x86_64_shared_cache_size_half): Renamed to ...
72709 (__x86_shared_cache_size_half): This.
72710 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72711 (__x86_raw_shared_cache_size_half): This.
72712 * sysdeps/x86_64/memcpy.S: Updated.
72713 * sysdeps/x86_64/memset.S: Likewise.
72714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72716 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72717
72718 2013-01-04 David S. Miller <davem@davemloft.net>
72719
72720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72721
72722 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72723
72724 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72725 1 to avoid redefinition warning.
72726 (__USE_GNU): Don't define.
72727 (init_signaling_nan): Protoize.
72728
72729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72730
72731 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72732
72733 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72735 (__cpymn): Likewise.
72736 (norm): Remove commented code.
72737 (denorm): Likewise.
72738 (__mp_dbl): Likewise.
72739 (__inv): Likewise.
72740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72741 (__cpymn): Likewise.
72742 (norm): Remove commented code.
72743 (denorm): Likewise.
72744 (__mp_dbl): Likewise.
72745 (__inv): Likewise.
72746
72747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72748 mp_no value for 1.0 and 2.0.
72749 (norm): Use RADIXI instead of radixi.d.
72750 (denorm): Likewise.
72751 (__mul): Use 0.0 instead of zero.d.
72752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72753 mp_no value for 1.0 and 2.0.
72754 (norm): Use RADIXI instead of radixi.d.
72755 (denorm): Likewise.
72756 (__mul): Use 0.0 instead of zero.d.
72757
72758 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72759
72760 [BZ #14994]
72761 * math/s_casinh.c (__casinh): Reduce finite argument to first
72762 quadrant then set signs of results at the end.
72763 * math/s_casinhf.c (__casinhf): Likewise.
72764 * math/s_casinhl.c (__casinhl): Likewise.
72765 * math/libm-test.inc (casin_test): Add more tests.
72766 (casinh_test): Likewise.
72767 * sysdeps/i386/fpu/libm-test-ulps: Update.
72768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72769
72770 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72771
72772 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72773
72774 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72775
72776 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72777 declarations.
72778 (denorm): Likewise.
72779 (__mp_dbl): Likewise.
72780 (__inv): Likewise.
72781
72782 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72783 and adjust the header comment.
72784
72785 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72786 variable name from declaration.
72787
72788 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72789
72790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72791 Initialize COMMON_CPUID_INDEX_7 element.
72792 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72793 (CPUID_RTM): Likewise.
72794 (HAS_RTM): Likewise.
72795 (COMMON_CPUID_INDEX_7): New enum.
72796
72797 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72798
72799 [BZ #14981]
72800 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72801 size is zero, record memory as freed.
72802
72803 2013-01-03 Andreas Jaeger <aj@suse.de>
72804
72805 * po/ia.po: Add new Interlingua translation.
72806
72807 2012-01-03 Allan McRae <allan@archlinux.org>
72808
72809 * locale/programs/localedef.c: Fix description of '--posix' flag.
72810
72811 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72812
72813 * NEWS: Update dates in second copyright notice.
72814 * README: Update copyright dates in example.
72815 * manual/libc.texinfo: Update copyright dates.
72816 * scripts/test-installation.pl: Update copyright date in --version
72817 output.
72818
72819 * hurd/ctty-input.c: Fix copyright notice formatting.
72820 * hurd/ctty-output.c: Likewise.
72821 * hurd/dtable.c: Likewise.
72822 * hurd/hurd-raise.c: Likewise.
72823 * hurd/hurdprio.c: Likewise.
72824 * hurd/msgportdemux.c: Likewise.
72825 * misc/sys/file.h: Likewise.
72826 * misc/sys/ioctl.h: Likewise.
72827 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72828 * sysdeps/mach/hurd/chdir.c: Likewise.
72829 * sysdeps/mach/hurd/fchdir.c: Likewise.
72830 * sysdeps/mach/hurd/rename.c: Likewise.
72831 * sysdeps/mach/hurd/rmdir.c: Likewise.
72832 * sysdeps/mach/hurd/seekdir.c: Likewise.
72833 * sysdeps/mach/hurd/setsid.c: Likewise.
72834 * sysdeps/posix/wait3.c: Likewise.
72835
72836 * All files with FSF copyright notices: Update copyright dates
72837 using scripts/update-copyrights.
72838 * intl/plural.c: Regenerated.
72839 * locale/programs/charmap-kw.h: Likewise.
72840 * locale/programs/locfile-kw.h: Likewise.
72841
72842 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72843
72844 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72845 four values.
72846
72847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72848 calculation loop and add branch prediction.
72849
72850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72851 check access beyond bounds of m1np.
72852
72853 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72854 MPTWO.
72855 (__inv): Remove local variable MPTWO to use the global
72856 constant.
72857 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72859 variable MPTWO.
72860 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72861 MP3HALFS static const.
72862
72863 2013-01-01 David S. Miller <davem@davemloft.net>
72864
72865 * po/ca.po: Update from translation team.
72866
72867 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72868
72869 * scripts/update-copyrights: New file.
72870 * Makeconfig: Reformat copyright notice.
72871 * ctype/ctype.h: Likewise.
72872 * debug/swprintf_chk.c: Likewise.
72873 * elf/dl-cache.c: Likewise.
72874 * elf/dl-debug.c: Likewise.
72875 * elf/dl-object.c: Likewise.
72876 * grp/initgroups.c: Likewise.
72877 * hurd/Makefile: Likewise.
72878 * hurd/hurd/signal.h: Likewise.
72879 * hurd/hurdfault.c: Likewise.
72880 * hurd/hurdioctl.c: Likewise.
72881 * hurd/hurdlookup.c: Likewise.
72882 * hurd/intr-msg.c: Likewise.
72883 * iconv/gconv_open.c: Likewise.
72884 * libio/swprintf.c: Likewise.
72885 * locale/lc-ctype.c: Likewise.
72886 * locale/nl_langinfo.c: Likewise.
72887 * mach/Machrules: Likewise.
72888 * mach/Makefile: Likewise.
72889 * malloc/obstack.h: Likewise.
72890 * manual/Makefile: Likewise.
72891 * manual/tsort.awk: Likewise.
72892 * misc/bits/stab.def: Likewise.
72893 * nis/nis_print_group_entry.c: Likewise.
72894 * nis/nis_table.c: Likewise.
72895 * nis/nss_compat/compat-pwd.c: Likewise.
72896 * nis/nss_compat/compat-spwd.c: Likewise.
72897 * po/Makefile: Likewise.
72898 * posix/fnmatch.c: Likewise.
72899 * posix/regex.h: Likewise.
72900 * resolv/Makefile: Likewise.
72901 * resolv/nss_dns/dns-network.c: Likewise.
72902 * resolv/res_hconf.c: Likewise.
72903 * scripts/gen-sorted.awk: Likewise.
72904 * soft-fp/soft-fp.h: Likewise.
72905 * stdio-common/printf.h: Likewise.
72906 * stdlib/monetary.h: Likewise.
72907 * stdlib/random.c: Likewise.
72908 * stdlib/random_r.c: Likewise.
72909 * sysdeps/generic/Makefile: Likewise.
72910 * sysdeps/gnu/Makefile: Likewise.
72911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72913 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72918 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72921 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72922 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72923 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72924 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72925 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72926 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72927 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72929 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72931 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72932 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72933 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72934 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72935 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72937 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72938 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72939 * sysdeps/mach/hurd/errnos.awk: Likewise.
72940 * sysdeps/mach/hurd/fork.c: Likewise.
72941 * sysdeps/mach/hurd/getcwd.c: Likewise.
72942 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72943 * sysdeps/mach/hurd/mmap.c: Likewise.
72944 * sysdeps/mach/hurd/utimes.c: Likewise.
72945 * sysdeps/mach/hurd/xmknod.c: Likewise.
72946 * sysdeps/posix/profil.c: Likewise.
72947 * sysdeps/posix/readdir_r.c: Likewise.
72948 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72949 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72950 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72951 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72953 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72954 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72955 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72957 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72958 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72959 * sysdeps/pthread/lio_listio.c: Likewise.
72960 * sysdeps/sparc/dl-procinfo.h: Likewise.
72961 * sysdeps/unix/i386/sysdep.S: Likewise.
72962 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72963 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72964 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72965 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72967 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72968 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72969 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72970 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72971 * sysdeps/wordsize-32/divdi3.c: Likewise.
72972 * time/sys/time.h: Likewise.
72973 * wcsmbs/Makefile: Likewise.
72974
72975 2013-01-01 David S. Miller <davem@davemloft.net>
72976
72977 * po/fr.po: Update from translation team.
72978
72979 * catgets/gencat.c: Update copyright year.
72980 * csu/version.c: Likewise.
72981 * debug/catchsegv.sh: Likewise.
72982 * debug/pcprofiledump.c: Likewise.
72983 * debug/xtrace.sh: Likewise.
72984 * elf/ldconfig.c: Likewise.
72985 * elf/ldd.bash.in: Likewise.
72986 * elf/pldd.c: Likewise.
72987 * elf/sotruss.ksh: Likewise.
72988 * elf/sprof.c: Likewise.
72989 * iconv/iconv_prog.c: Likewise.
72990 * iconv/iconvconfig.c: Likewise.
72991 * locale/programs/locale.c: Likewise.
72992 * locale/programs/localedef.c: Likewise.
72993 * login/programs/pt_chown.c: Likewise.
72994 * malloc/memusage.sh: Likewise.
72995 * malloc/memusagestat.c: Likewise.
72996 * malloc/mtrace.pl: Likewise.
72997 * nscd/nscd.c: Likewise.
72998 * nss/getent.c: Likewise.
72999 * nss/makedb.c: Likewise.
73000 * posix/getconf.c: Likewise.
73001
73002 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73003
73004 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73005 numbers.
73006
73007 2012-12-30 Mike Frysinger <vapier@gentoo.org>
73008
73009 * math/bits/mathcalls.h (modf): Use __nonnull.
73010
73011 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73012
73013 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73014 (split): Use macro CN instead of the bare value.
73015 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73016 could be used.
73017 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73018 instead of the bare value.
73019 (power1): Likewise.
73020
73021 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73022
73023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73024 __ATAN_TWOM.
73025 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73026
73027 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73028 their values.
73029 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73031 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73032 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73033
73034 2012-12-28 Andreas Jaeger <aj@suse.de>
73035
73036 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73037 values are from Linux 3.7.
73038
73039 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73040 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73041
73042 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73043
73044 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73045 TRUE case.
73046
73047 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73048 (norm): Likewise.
73049 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73050 variables with preprocessor constants.
73051 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73052 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73053 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73054
73055 2012-12-27 Bruno Haible <bruno@clisp.org>
73056
73057 [BZ #14317]
73058 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73059 only if needed.
73060
73061 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73062
73063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73064 and use variable directly.
73065 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73066
73067 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73068 MPONE.
73069 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73071 variable MPONE.
73072 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73074 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73075 include directive. Remove local variable MPONE.
73076 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73077 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73079
73080 2012-12-25 David S. Miller <davem@davemloft.net>
73081
73082 * version.h (RELEASE): Set to "development".
73083 (VERSION): Set to "2.17.90".
73084 * NEWS: Add 2.18 section.
73085
73086 2012-12-21 David S. Miller <davem@davemloft.net>
73087
73088 * po/hr.po: Update from translation team.
73089
73090 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73091
73092 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73093
73094 2012-12-19 Steve Ellcey <sellcey@mips.com>
73095
73096 * NEWS: Mention new memcpy for MIPS.
73097
73098 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73099
73100 * manual/contrib.texi (Contributors): Spelling correction.
73101
73102 2012-12-15 David S. Miller <davem@davemloft.net>
73103
73104 * po/ru.po: Update from translation team.
73105
73106 2012-12-13 David S. Miller <davem@davemloft.net>
73107
73108 * NEWS: Mention IFUNC testsuite enhancements.
73109
73110 * po/pl.po: Update from translation team.
73111 * po/bg.po: Likewise.
73112
73113 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73114 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73115
73116 2012-12-11 David S. Miller <davem@davemloft.net>
73117
73118 * po/sv.po: Update from translation team.
73119
73120 * po/vi.po: Update from translation team.
73121
73122 * po/cs.po: Update from translation team.
73123
73124 * po/de.po: Update from translation team.
73125 * po/eo.po: Likewise.
73126 * po/nl.po: Likewise.
73127
73128 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73129
73130 [BZ #14246]
73131 * manual/argp.texi (Argp Helper Functions): Move node to follow
73132 Argp Parsing State.
73133
73134 [BZ #14872]
73135 * manual/conf.texi (Limits on File System Capacity): Mention if
73136 terminating null is included in the max size.
73137
73138 2012-12-10 Andreas Jaeger <aj@suse.de>
73139
73140 * po/cs.po: Update from translation team.
73141
73142 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73143
73144 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73145 void pointer and cast to uintptr_t.
73146 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73147 path.
73148 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73149 * sysdeps/s390/s390-64/memset.S: Likewise.
73150
73151 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73152
73153 [BZ #14833]
73154 * menual/message.texi (Message Translation): Fix typos.
73155 (Helper programs for gettext): Likewise.
73156
73157 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73158
73159 [BZ #14898]
73160 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73161 Change to -1.
73162
73163 2012-12-07 David S. Miller <davem@davemloft.net>
73164
73165 * po/libc.pot: Update.
73166
73167 2012-12-07 Richard Henderson <rth@redhat.com>
73168
73169 [BZ #10114]
73170 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73171 normal/normal case to before the switch.
73172 (_FP_DIV): Likewise.
73173
73174 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73175 Mike Frysinger <vapier@gentoo.org>
73176
73177 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73178 check for __NR_fadvise64_64.
73179
73180 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73181
73182 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73183 0, not just to plain "0" as a statement.
73184 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73185 with cw.
73186
73187 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73188
73189 * NEWS: Use sourceware.org in Bugzilla URL.
73190
73191 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73192
73193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73194 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73195
73196 * stdio-common/tst-put-error.c (do_test): Add newline to the
73197 padded test to ensure flush.
73198
73199 2012-12-05 Jeff Law <law@redhat.com>
73200
73201 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73202
73203 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73204
73205 * README: Don't refer to ports add-on as distributed separately.
73206 Mention AArch64 in list of systems supported in the ports add-on.
73207
73208 * LICENSES: Add more non-FSF copyright and license notices.
73209
73210 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73211 ((unused)).
73212
73213 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73214
73215 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73216 10000 as width of padded output.
73217
73218 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73219
73220 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73221
73222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73223 variable LX with __attribute__ ((unused)).
73224 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73225 Likewise.
73226 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73229 with __attribute__ ((unused)).
73230
73231 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73232
73233 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73234
73235 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73236
73237 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73238 (CFLAGS-nldbl-acos.c): New variable.
73239 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73240 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73241 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73242 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73243 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73244 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73245 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73246 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73247 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73248 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73249 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73250 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73251 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73252 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73253 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73254 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73255 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73256 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73257 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73258 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73259 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73260 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73261 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73262 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73263 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73264 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73265 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73266 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73267 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73268 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73269 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73270 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73271 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73272 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73273 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73274 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73275 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73276 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73277 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73278 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73279 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73280 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73281 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73282 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73283 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73284 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73285 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73286 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73287 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73288 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73289 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73290 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73291 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73292 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73293 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73294 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73295 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73296 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73297 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73298 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73299 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73300 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73301 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73302 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73303 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73304 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73305 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73306 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73307 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73308 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73309 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73310 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73311 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73312 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73313 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73314 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73315 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73316 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73317 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73318 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73319 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73320 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73321 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73322 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73323 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73324 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73325 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73326 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73327 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73328 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73329 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73330 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73331 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73332 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73333 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73334 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73335 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73336
73337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73338 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73339
73340 [BZ #14914]
73341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73342 whole low double instead of just low 47 bits when splitting values
73343 into two parts.
73344
73345 2012-12-03 Allan McRae <allan@archlinux.org>
73346
73347 * manual/stdio.texi (Predefined Printf Handlers): Remove
73348 @hsep and @vsep usage.
73349
73350 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73351
73352 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73353 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73354
73355 2012-12-03 Jeff Law <law@redhat.com>
73356
73357 * time/sys/time.h (settimeofday): Do not mark TV argument
73358 as __nonnull.
73359
73360 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73361
73362 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73363 when currently writing and seek to current position when not.
73364 * libio/Makefile (tests): Remove bug-fclose1.
73365 * libio/bug-fclose1.c: Delete.
73366
73367 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73368
73369 * manual/arith.texi (feenableexcept): Fix typo.
73370 (fedisableexcept): Likewise.
73371
73372 2012-11-30 Roland McGrath <roland@hack.frob.com>
73373
73374 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73375 second, differently-typed declaration, rather than a cast.
73376
73377 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73378
73379 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73380 * include/rpc/svc.h: ... here.
73381
73382 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73383
73384 [BZ #13013]
73385 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73386 depending n and resplen2 to catch cases where answer
73387 equals answerp2.
73388
73389 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73390
73391 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73392 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73393
73394 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73395
73396 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73397
73398 2012-11-29 Roland McGrath <roland@hack.frob.com>
73399
73400 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73401
73402 2012-11-28 Jeff Law <law@redhat.com>
73403
73404 [BZ #13761]
73405 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73406 dataset_temporary. Track alloca usage into alloca_used.
73407 If dataset is large allocate and release it via malloc/free.
73408
73409 2012-06-04 Florian Weimer <fweimer@redhat.com>
73410
73411 [BZ #14197]
73412 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73413
73414 2012-11-28 David S. Miller <davem@davemloft.net>
73415
73416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73417
73418 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73419
73420 [BZ #14803]
73421 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73422 of pi/2 rounded to nearest to 64 bits.
73423 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73424 nearest to 64 bits.
73425 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73426 bits.
73427
73428 2012-11-28 Jeff Law <law@redhat.com>
73429 Martin Osvald <mosvald@redhat.com>
73430
73431 [BZ #14889]
73432 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73433 * sunrpc/svc.c: Include time.h.
73434 (__svc_accept_failed): New function.
73435 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73436 any reason other than EINTR, call __svc_accept_failed.
73437 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73438 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73439
73440 2012-11-28 Andreas Schwab <schwab@suse.de>
73441
73442 * scripts/abilist.awk: Also handle indirect functions in .opd
73443 section.
73444
73445 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73446
73447 [BZ #13881]
73448 * sysdeps/x86/fpu/powl_helper.c: New file.
73449 * sysdeps/x86/fpu/Makefile: Likewise.
73450 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73451 (p3): New object.
73452 (__ieee754_powl): Use __powl_helper for finite arguments except
73453 integer exponents below 8.
73454 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73455 (p3): New object.
73456 (__ieee754_powl): Use __powl_helper for finite arguments except
73457 integer exponents below 8.
73458 * math/libm-test.inc (pow_test): Add more tests and enable some
73459 previously disabled tests.
73460 * sysdeps/i386/fpu/libm-test-ulps: Update.
73461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73462
73463 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73464 Carlos O'Donell <carlos_odonell@mentor.com>
73465
73466 * nss/makedb.c (is_prime): Assert that input is odd and greater
73467 than 4. Note that fact in a comment too.
73468 (next_prime): Add 4 to input.
73469
73470 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73471
73472 [BZ #11741]
73473 * libio/Makefile (tests): Add test case tst-fwrite-error.
73474 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73475 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73476 * libio/tst-fwrite-error.c: New test case.
73477
73478 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73479
73480 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73481 before casting to void *.
73482 * include/libc-internal.h (__pointer_type): New macro.
73483 (__integer_if_pointer_type_sub): Likewise.
73484 (__integer_if_pointer_type): Likewise.
73485 (cast_to_integer): Likewise.
73486 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73487 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73488 before casting to atomic64_t.
73489 (atomic_exchange_acq): Likewise.
73490 (__arch_exchange_and_add_body): Likewise.
73491 (__arch_add_body): Likewise.
73492 (atomic_add_negative): Likewise.
73493 (atomic_add_zero): Likewise.
73494
73495 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73496
73497 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73498 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73499 (add_fdes): Likewise.
73500 (linear_search_fdes): Likewise.
73501 (binary_search_unencoded_fdes): Likewise.
73502
73503 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73504
73505 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73506
73507 2012-11-24 Adam Conrad <adconrad@0c3.net>
73508
73509 * configure.in: Autodetect C++ header directories.
73510 * configure: Regenerated.
73511
73512 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73513
73514 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73515
73516 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73517
73518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73519
73520 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73521
73522 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73523 LDBL_MANT_DIG == 106]: Disable some tests.
73524 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73525 Likewise.
73526 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73527 Likewise.
73528
73529 [BZ #14871]
73530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73531 input for small inputs. Return +/- pi/2 for large inputs.
73532 * math/libm-test.inc (atan_test): Add more tests.
73533
73534 * sysdeps/generic/unwind-dw2-fde-glibc.c
73535 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73536 __attribute__ ((unused)).
73537
73538 [BZ #14645]
73539 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73540 x * y if x and y are nonzero and z is zero.
73541
73542 [BZ #14811]
73543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73544 nonzero exponents with absolute value below 0x1p-117 to +/-
73545 0x1p-117.
73546
73547 [BZ #14869]
73548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73549 up arguments below 2**-450, not just those below 2**-500.
73550 * math/libm-test.inc (hypot_test): Add another test.
73551
73552 [BZ #14868]
73553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73554 Return a+b for ratio over 2**120, not 2**60.
73555 * math/libm-test.inc (hypot_test): Add another test.
73556
73557 * math/libm-test.inc (clog_test): Use
73558 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73559 (clog10_test): Likewise.
73560
73561 [BZ #6778]
73562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73563
73564 2012-11-22 Andreas Schwab <schwab@suse.de>
73565
73566 * sysdeps/i386/fpu/libm-test-ulps: Update.
73567
73568 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73569
73570 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73571 printf output with newline.
73572
73573 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73574
73575 [BZ #14865]
73576 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73577 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73578 -z nodlopen, -z initfirst and -z execstack support.
73579 * configure: Regenerated.
73580
73581 * elf/elf.h (DF_1_NODIRECT): New macro.
73582 (DF_1_IGNMULDEF): Likewise.
73583 (DF_1_NOKSYMS): Likewise.
73584 (DF_1_NOHDR): Likewise.
73585 (DF_1_EDITED): Likewise.
73586 (DF_1_NORELOC): Likewise.
73587 (DF_1_SYMINTPOSE): Likewise.
73588 (DF_1_GLOBAUDIT): Likewise.
73589 (DF_1_SINGLETON): Likewise.
73590 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73591 DT_1_SUPPORTED_MASK bits.
73592 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73593
73594 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73595
73596 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73597
73598 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73599
73600 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73601 macro.
73602
73603 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73604 (sendmmsg): Move declarations...
73605 * socket/sys/socket.h: ... here.
73606 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73607 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73608 include it from...
73609 * socket/recvmmsg.c: ... this new file.
73610 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73611 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73612 definition of __sendmmsg hidden.
73613 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73614 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73615 Move ENOSYS stub into and include it from...
73616 * socket/sendmmsg.c: ... this new file.
73617 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73618 (sysdep_routines): Move recvmmsg and sendmmsg...
73619 * socket/Makefile (routines): ... here.
73620 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73621 (GLIBC_PRIVATE): Add __sendmmsg.
73622 * include/sys/socket.h (__sendmmsg): Add declarations.
73623 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73624 sendmmsg.
73625
73626 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73627
73628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73629 variable I1 with __attribute__ ((unused)).
73630 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73631
73632 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73633
73634 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73635 DUMMY variables with __attribute__ ((unused)).
73636
73637 * bits/byteswap.h: Include <bits/types.h>.
73638 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73639
73640 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73641
73642 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73643 string_t. Do not manually set errno.
73644 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73645 length with __strnlen. Make sure to both set errno and return it on
73646 failure.
73647
73648 2012-11-19 David S. Miller <davem@davemloft.net>
73649
73650 With help from Joseph Myers.
73651 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73652 very large arguments properly.
73653 * math/libm-test.inc (atan_test): New tests.
73654 (atan2_test): New tests.
73655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73657
73658 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73659
73660 [BZ #14856]
73661 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73662 Define to 3.
73663
73664 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73665 [POSIX] (EADDRNOTAVAIL): Likewise.
73666 [POSIX] (EAFNOSUPPORT): Likewise.
73667 [POSIX] (EALREADY): Likewise.
73668 [POSIX] (ECONNABORTED): Likewise.
73669 [POSIX] (ECONNREFUSED): Likewise.
73670 [POSIX] (ECONNRESET): Likewise.
73671 [POSIX] (EDESTADDRREQ): Likewise.
73672 [POSIX] (EDQUOT): Likewise.
73673 [POSIX] (EHOSTUNREACH): Likewise.
73674 [POSIX] (EIDRM): Likewise.
73675 [POSIX] (EISCONN): Likewise.
73676 [POSIX] (ELOOP): Likewise.
73677 [POSIX] (EMULTIHOP): Likewise.
73678 [POSIX] (ENETDOWN): Likewise.
73679 [POSIX] (ENETUNREACH): Likewise.
73680 [POSIX] (ENOBUFS): Likewise.
73681 [POSIX] (ENODATA): Likewise.
73682 [POSIX] (ENOLINK): Likewise.
73683 [POSIX] (ENOMSG): Likewise.
73684 [POSIX] (ENOPROTOOPT): Likewise.
73685 [POSIX] (ENOSR): Likewise.
73686 [POSIX] (ENOSTR): Likewise.
73687 [POSIX] (ENOTCONN): Likewise.
73688 [POSIX] (ENOTSOCK): Likewise.
73689 [POSIX] (EOPNOTSUPP): Likewise.
73690 [POSIX] (EOVERFLOW): Likewise.
73691 [POSIX] (EPROTO): Likewise.
73692 [POSIX] (EPROTONOSUPPORT): Likewise.
73693 [POSIX] (EPROTOTYPE): Likewise.
73694 [POSIX] (ESTALE): Likewise.
73695 [POSIX] (ETIME): Likewise.
73696 [POSIX] (ETXTBSY): Likewise.
73697 [POSIX] (EWOULDBLOCK): Likewise.
73698 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73699 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73700 [POSIX] (SEEK_CUR): Likewise.
73701 [POSIX] (SEEK_END): Likewise.
73702 [POSIX || UNIX98] (mode_t): Do not require.
73703 [POSIX] (off_t): Likewise.
73704 [POSIX] (pid_t): Likewise.
73705 [POSIX] (sys/stat.h): Do not allow header.
73706 [POSIX] (unistd.h): Likewise.
73707 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73708 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73709 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73710 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73711 require.
73712 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73713 sigevent): Specify elements.
73714 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73715 entry.
73716 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73717 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73718
73719 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73720 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73721 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73722 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73723 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73724 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73725 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73726 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73727 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73728 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73729 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73730 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73731 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73732 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73733 Likewise.
73734 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73735 Likewise.
73736 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73737 Likewise.
73738 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73739 Likewise.
73740 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73741 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73742 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73743 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73744 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73745 Specify lower bound on value.
73746 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73747 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73748 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73749 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73750 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73751 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73752 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73753 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73754 value.
73755 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73756 as optional.
73757 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73758 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73759 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73760 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73761 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73762 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73763 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73764 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73765 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73766 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73767 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73768 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73769 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73770 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73771 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73772 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73773 entry.
73774 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73775 optional.
73776 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73777 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73778 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73779 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73780 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73781 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73782 Likewise.
73783 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73784 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73785 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73786 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73787 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73788 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73789 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73790 as optional.
73791 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73792 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73793 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73794 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73795 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73796 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73797 specify as optional.
73798 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73799 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73800 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73801 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73802 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73803 [XPG3] (NL_LANGMAX): Likewise.
73804 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73805 [POSIX || XPG3] (NL_NMAX): Likewise.
73806 [POSIX || XPG3] (NL_SETMAX): Likewise.
73807 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73808 [XPG3] (NZERO): Likewise.
73809 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73810 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73811 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73812 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73813 (REG_ERANGE): Expect.
73814 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73815 optional-constant.
73816 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73817 Use (void) in prototype.
73818 [POSIX] (*_t): Allow.
73819 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73820 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73821 (WRDE_BADVAL): Expect.
73822
73823 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73824 expect.
73825 [XPG3 || XPG4] (O_RSYNC): Likewise.
73826 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73827 Likewise.
73828 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73829 [XPG3 || XPG4] (sigqueue): Likewise.
73830 [XPG3 || XPG4] (sigtimedwait): Likewise.
73831 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73832 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73833 [XPG3 || XPG4] (vsnprintf): Likewise.
73834 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73835 Likewise.
73836 [XPG3 || XPG4] (blksize_t): Likewise.
73837 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73838 Likewise.
73839 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73840 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73841 [XPG3 || XPG4] (struct itimerspec): Likewise.
73842 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73843 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73844 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73845 [XPG3 || XPG4] (clockid_t): Likewise.
73846 [XPG3 || XPG4] (timer_t): Likewise.
73847 [XPG3 || XPG4] (clock_getres): Likewise.
73848 [XPG3 || XPG4] (clock_gettime): Likewise.
73849 [XPG3 || XPG4] (clock_settime): Likewise.
73850 [XPG3 || XPG4] (nanosleep): Likewise.
73851 [XPG3 || XPG4] (timer_create): Likewise.
73852 [XPG3 || XPG4] (timer_delete): Likewise.
73853 [XPG3 || XPG4] (timer_gettime): Likewise.
73854 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73855 [XPG3 || XPG4] (timer_settime): Likewise.
73856 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73857 [XPG3 || XPG4] (getlogin_r): Likewise.
73858 [XPG3 || XPG4] (pread): Likewise.
73859 [XPG3 || XPG4] (pthread_atfork): Likewise.
73860 [XPG3 || XPG4] (pwrite): Likewise.
73861
73862 [BZ #14835]
73863 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73864 <bits/siginfo.h>.
73865
73866 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73867
73868 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73869 finalizing MALLSTREAM.
73870
73871 * sysdeps/mach/hurd/syncfs.c: New file.
73872
73873 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73874
73875 [BZ #14719]
73876 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73877 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73878 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73879 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73880 (_nss_dns_gethostbyname4_r): Likewise.
73881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73882 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73883
73884 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73885
73886 [BZ #13763]
73887 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73888
73889 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73890
73891 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73892 * elf/cache.c (print_entry): Print ",AArch64" for
73893 FLAG_AARCH64_LIB64
73894
73895 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73896 * elf/cache.c (print_entry): Print ",hard-float" for
73897 FLAG_ARM_LIBHF.
73898
73899 2012-11-18 David S. Miller <davem@davemloft.net>
73900
73901 With help from Joseph Myers.
73902 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73903 cutoff to 2**-13.
73904 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73905 cutoff to 2**-25.
73906 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73907 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73908 small.
73909 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73910 * math/libm-test.inc (y0_test): New tests.
73911 (y1_test): New tests.
73912 * sysdeps/i386/fpu/libm-test-ulps: Update.
73913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73915
73916 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73917
73918 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73919 64-bit targets.
73920 * configure: Regenerated.
73921
73922 2012-11-17 David S. Miller <davem@davemloft.net>
73923
73924 [BZ #14811]
73925 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73926 nonzero exponents with absolute value below 0x1p-128 to +/-
73927 0x1p-128.
73928
73929 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73930
73931 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73932
73933 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73934
73935 * posix/getconf-speclist.c: New file.
73936 * posix/posix-envs.def: Likewise.
73937 * posix/confstr.c (START_ENV_GROUP): New macro.
73938 (END_ENV_GROUP): Likewise.
73939 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73940 (KNOWN_PRESENT_ENV_STRING): Likewise.
73941 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73942 (UNKNOWN_ENVIRONMENT): Likewise.
73943 (confstr): Include posix-envs.def instead of handling
73944 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73945 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73946 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73947 (END_ENV_GROUP): Likewise.
73948 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73949 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73950 (UNKNOWN_ENVIRONMENT): Likewise.
73951 (__sysconf): Include posix-envs.def instead of handling associated
73952 cases directly here.
73953 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73954 preprocessing getconf-speclist.c rather than running getconf or
73955 generating empty file.
73956
73957 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73958
73959 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73960
73961 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73962
73963 [BZ #14672]
73964 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73965
73966 2012-11-16 David S. Miller <davem@davemloft.net>
73967
73968 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73969 smaller than LDBL_EPSILON/2.0L, just return xm1.
73970
73971 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73972
73973 * elf/tst-array1.c (init): Set constructor priority to 1000.
73974 (fini): Set destructor priority to 1000.
73975 * elf/tst-array2dep.c: Likewise.
73976
73977 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73978
73979 [BZ #11741]
73980 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73981 (_IO_new_file_xsputn): Also return EOF if none of the input
73982 data was written when overflow failed.
73983 * libio/iopadn.c (_IO_padn): Likewise.
73984 * libio/iowpadn.c (_IO_wpadn): Likewise.
73985 * stdio-common/tst-put-error.c: Add copyright notice.
73986 (do_test): Add case for printing padded string.
73987 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73988 _IO_padn returned error.
73989 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73990 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73991 return EOF.
73992
73993 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73994
73995 * libio/libioP.h: Add comment note that the references to C++
73996 bits are now obsolete.
73997
73998 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73999
74000 * math/libm-test.inc (check_complex): Use asprintf.
74001
74002 2012-11-14 Joseph Myers <joseph@codesourcery.com>
74003
74004 * debug/pcprofiledump.c (print_version): Update copyright year.
74005 * malloc/memusagestat.c (print_version): Likewise.
74006
74007 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74008
74009 [BZ #14831]
74010 * elf/Makefile (tests): Add tst-audit8.
74011 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74012 ($(objpfx)tst-audit8.out): New target.
74013 (tst-audit8-ENV): New variable.
74014 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74015 audit if l_reloc_result is NULL.
74016 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74017 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74018 * elf/tst-audit8.c: New file.
74019
74020 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74021
74022 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74023 * misc/Makefile (CFLAGS-select.c): Define.
74024 * posix/Makefile (CFLAGS-pause.c): Define.
74025
74026 2012-11-13 David S. Miller <davem@davemloft.net>
74027
74028 * crypt/Makefile: Move test targets after toplevel Rules
74029 inclusion. Grab any necessary sysdep routines when linking.
74030 * crypt/md5.c (md5_process_block): Remove define, we will always
74031 name it __md5_process_block.
74032 (md5_finish_ctx): Update md5_process_block call.
74033 (md5_stream): Likewise.
74034 (md5_process_bytes): Likewise.
74035 (md5_process_block): Rename to __md5_process_block and move to ...
74036 * crypt/md5-block.c: ... here.
74037 * crypt/sha256.c (sha256_process_block): Move to ...
74038 * crypt/sha256-block.c: ... here.
74039 * crypt/sha512.c (sha512_process_block): Move to ...
74040 * crypt/sha512-block.c: ... here.
74041 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74042 path.
74043 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74044 * sysdeps/sparc/sparc64/multiarch/Makefile
74045 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74046 crypt subdir.
74047 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74048 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74049 multiarch changes.
74050 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74051 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74052 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74053 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74054 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74055 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74056 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74057 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74058 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74059 file.
74060 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74061 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74062 file.
74063 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74064
74065 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74066
74067 * timezone/tzselect.ksh: Update from tzcode git revision
74068 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74069 * timezone/zdump.c: Likewise.
74070 * timezone/zic.c: Likewise.
74071 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74072 in TZVERSION setting, not $(PKGVERSION).
74073 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74074 REPORT_BUGS_TO settings.
74075
74076 [BZ #14838]
74077 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74078 macro.
74079
74080 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74081
74082 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74083 detection to immediately after _FP_ROUND().
74084 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74085 bits are 0.
74086
74087 2012-11-11 David S. Miller <davem@davemloft.net>
74088
74089 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74090 inttypes.h
74091 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74092 __close rather than their public counterparts.
74093
74094 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74095
74096 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74097 file.
74098 [UNIX98] (sem_timedwait): Do not expect.
74099 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74100 [XPG4 || UNIX98] (sockatmark): Do not expect.
74101 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74102 (clock_getcpuclockid): Do not expect.
74103 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74104 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74105 Do not expect.
74106 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74107 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74108 [UNIX98] (vwscanf): Likewise.
74109 [UNIX98] (vswscanf): Likewise.
74110
74111 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74112
74113 * timezone/version.h: Remove file.
74114 * timezone/README: Do not refer to version.h.
74115 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74116 $(objpfx)version.h.
74117 ($(objpfx)zdump.o): Likewise.
74118 ($(objpfx)version.h): New target.
74119
74120 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74121 2012i.
74122 * timezone/README: Don't mention modification to tzselect.ksh.
74123 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74124 work on unmodified tzselect.ksh. Substitute version numbers in
74125 tzselect.ksh.
74126
74127 * Makefile (format-me): Remove.
74128 (INSTALL): Adjust indentation. Use commands directly instead of
74129 using $(format-me).
74130
74131 * aclocal.m4 (ACX_PKGVERSION): New macro.
74132 (ACX_BUGURL): Likewise.
74133 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74134 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74135 (REPORT_BUGS_TO): Likewise.
74136 * configure: Regenerated.
74137 * config.h.in (PKGVERSION): New macro.
74138 (REPORT_BUGS_TO): Likewise.
74139 * config.make.in (PKGVERSION): New variable.
74140 (PKGVERSION_TEXI): Likewise.
74141 (REPORT_BUGS_TO): Likewise.
74142 (REPORT_BUGS_TEXI): Likewise.
74143 * Makefile (format-me): Use -I$(common-objpfx)manual.
74144 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74145 ($(common-objpfx)manual/%): New target.
74146 (manual/%): Remove target.
74147 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74148 (print_version): Use PKGVERSION.
74149 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74150 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74151 and REPORT_BUGS_TO.
74152 ($(objpfx)xtrace): Likewise.
74153 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74154 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74155 (print_version): Use PKGVERSION.
74156 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74157 (do_version): Use PKGVERSION.
74158 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74159 REPORT_BUGS_TO.
74160 (common-ldd-rewrite): Likewise.
74161 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74162 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74163 (print_version): Use PKGVERSION.
74164 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74165 * elf/pldd.c (argp_program_bug_address): Remove variable.
74166 (more_help): New function.
74167 (argp): Use more_help.
74168 (print_version): Use PKGVERSION.
74169 * elf/sln.c (main): Use PKGVERSION.
74170 (usage): Use REPORT_BUGS_TO.
74171 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74172 (top level): Use PKGVERSION.
74173 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74174 (print_version): Use PKGVERSION.
74175 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74176 (print_version): Use PKGVERSION.
74177 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74178 (print_version): Use PKGVERSION.
74179 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74180 (print_version): Use PKGVERSION.
74181 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74182 (print_version): Use PKGVERSION.
74183 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74184 (print_version): Use PKGVERSION.
74185 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74186 and BUGURL.
74187 ($(objpfx)memusage): Likewise.
74188 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74189 (do_version): Use PKGVERSION.
74190 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74191 (print_version): Use PKGVERSION.
74192 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74193 ($PKGVERSION): New variable.
74194 ($REPORT_BUGS_TO): Likewise.
74195 (usage): Use $REPORT_BUGS_TO.
74196 (top level): Use $PKGVERSION.
74197 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74198 ($(objpfx)pkgvers.texi): New rule.
74199 ($(objpfx)stamp-pkgvers): Likewise.
74200 * manual/install.texi: Include pkgvers.texi.
74201 (--with-pkgversion): Document new configure option.
74202 (--with-bugurl): Likewise.
74203 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74204 than necessarily for this particular distribution. Use
74205 REPORT_BUGS_TO for where to report bugs.
74206 * INSTALL: Regenerated.
74207 * manual/libc.texinfo: Include pkgvers.texi.
74208 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74209 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74210 (print_version): Use PKGVERSION.
74211 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74212 (print_version): Use PKGVERSION.
74213 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74214 (print_version): Use PKGVERSION.
74215 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74216 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74217 macro.
74218 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74219 (print_version): Use PKGVERSION.
74220 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74221 (print_version): Use PKGVERSION.
74222 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74223 and PKGVERSION.
74224
74225 * timezone/checktab.awk: Update from tzcode 2012i.
74226 * timezone/ialloc.c: Likewise.
74227 * timezone/private.h: Likewise.
74228 * timezone/scheck.c: Likewise.
74229 * timezone/tzfile.h: Likewise.
74230 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74231 (TZVERSION): Hardcode tzcode version number.
74232 * timezone/zdump.c: Update from tzcode 2012i.
74233 * timezone/zic.c: Likewise.
74234 * timezone/version.h: New file.
74235 * timezone/README: Describe version.h. Update upstream location.
74236
74237 [BZ #14824]
74238 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74239 (mktemp): Enable declaration.
74240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74244 Likewise.
74245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74246 Likewise.
74247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74248 Likewise.
74249 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74250 Likewise.
74251 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74252 Likewise.
74253 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74254 Likewise.
74255
74256 [BZ #14821]
74257 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74258 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74259 for copies of such integer values.
74260 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74261 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74262
74263 2012-11-09 Andreas Jaeger <aj@suse.de>
74264
74265 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74266 definitions and declarations that are provided by
74267 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74268
74269 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74270
74271 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74272 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74273 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74274 definition.
74275
74276 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74277
74278 * elf/elf.h: Update comment before AArch64 relocations.
74279
74280 2012-11-07 David S. Miller <davem@davemloft.net>
74281
74282 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74283 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74284 (__start_context): Declare.
74285 (__makecontext_ret): Delete.
74286 (__makecontext): Hook up __start_context instead of
74287 __makecontext_ret.
74288 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74289 (sysdep_routines): Add __start_context when in stdlib.
74290
74291 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74292
74293 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74294 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74295 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74296 hardcoded "nm".
74297 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74298 (READELF): New variable. Use it instead of hardcoded "readelf".
74299
74300 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74301
74302 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74303 * sysdeps/x86/Makefile: Here.
74304 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74305 * sysdeps/x86/tst-xmmymm.sh: This.
74306
74307 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74308
74309 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74310 expectations.
74311 [UNIX98] (pthread_barrier_t): Do not expect.
74312 [UNIX98] (pthread_barrierattr_t): Likewise.
74313 [UNIX98] (pthread_spinlock_t): Likewise.
74314 [UNIX98] (pthread_barrier_destroy): Likewise.
74315 [UNIX98] (pthread_barrier_init): Likewise.
74316 [UNIX98] (pthread_barrier_wait): Likewise.
74317 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74318 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74319 [UNIX98] (pthread_barrierattr_init): Likewise.
74320 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74321 [UNIX98] (pthread_getcpuclockid): Likewise.
74322 [UNIX98] (pthread_mutex_timedlock): Likewise.
74323 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74324 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74325 [UNIX98] (pthread_sigmask): Likewise.
74326 [UNIX98] (pthread_spin_destroy): Likewise.
74327 [UNIX98] (pthread_spin_init): Likewise.
74328 [UNIX98] (pthread_spin_lock): Likewise.
74329 [UNIX98] (pthread_spin_trylock): Likewise.
74330 [UNIX98] (pthread_spin_unlock): Likewise.
74331 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74332 Do not expect.
74333 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74334 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74335 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74336 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74337 [XPG3 || XPG4] (pthread_key_t): Likewise.
74338 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74339 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74340 [XPG3 || XPG4] (pthread_once_t): Likewise.
74341 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74342 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74343 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74344 [XPG3 || XPG4] (pthread_t): Likewise.
74345
74346 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74347 not expect.
74348 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74349
74350 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74351 Change function return type to int.
74352
74353 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74354 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74355 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74356 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74357 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74358 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74359 [!POSIX] (posix_madvise): Likewise.
74360 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74361 && !UNIX98].
74362 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74363 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74364 (mode_t): Likewise.
74365 (posix_mem_offset): Likewise.
74366 (posix_typed_mem_get_info): Likewise.
74367 (posix_typed_mem_open): Likewise.
74368
74369 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74370 Change condition to [XOPEN2K8].
74371
74372 * conform/conformtest.pl: Preprocess allow-header data with -x c
74373 instead of from stdin.
74374 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74375 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74376 [C99-based standards] (cerfc): Likewise.
74377 [C99-based standards] (cexp2): Likewise.
74378 [C99-based standards] (cexpm1): Likewise.
74379 [C99-based standards] (clog10): Likewise.
74380 [C99-based standards] (clog1p): Likewise.
74381 [C99-based standards] (clog2): Likewise.
74382 [C99-based standards] (clgamma): Likewise.
74383 [C99-based standards] (ctgamma): Likewise.
74384 [C99-based standards] (cerff): Likewise.
74385 [C99-based standards] (cerfcf): Likewise.
74386 [C99-based standards] (cexp2f): Likewise.
74387 [C99-based standards] (cexpm1f): Likewise.
74388 [C99-based standards] (clog10f): Likewise.
74389 [C99-based standards] (clog1pf): Likewise.
74390 [C99-based standards] (clog2f): Likewise.
74391 [C99-based standards] (clgammaf): Likewise.
74392 [C99-based standards] (ctgammaf): Likewise.
74393 [C99-based standards] (cerfl): Likewise.
74394 [C99-based standards] (cerfcl): Likewise.
74395 [C99-based standards] (cexp2l): Likewise.
74396 [C99-based standards] (cexpm1l): Likewise.
74397 [C99-based standards] (clog10l): Likewise.
74398 [C99-based standards] (clog1pl): Likewise.
74399 [C99-based standards] (clog2l): Likewise.
74400 [C99-based standards] (clgammal): Likewise.
74401 [C99-based standards] (ctgammal): Likewise.
74402 * conform/data/inttypes.h-data [C99-based standards]: Include
74403 stdint.h-data. Remove all expectations for stdint.h contents.
74404 [C99-based standards] (PRI*): Do not allow.
74405 [C99-based standards] (SCN*): Likewise.
74406 [C99-based standards] (*_t): Likewise.
74407 [C99-based-standards] (PRId8): Expect macro.
74408 [C99-based-standards] (PRIi8): Likewise.
74409 [C99-based-standards] (PRIo8): Likewise.
74410 [C99-based-standards] (PRIu8): Likewise.
74411 [C99-based-standards] (PRIx8): Likewise.
74412 [C99-based-standards] (PRIX8): Likewise.
74413 [C99-based-standards] (SCNd8): Likewise.
74414 [C99-based-standards] (SCNi8): Likewise.
74415 [C99-based-standards] (SCNo8): Likewise.
74416 [C99-based-standards] (SCNu8): Likewise.
74417 [C99-based-standards] (SCNx8): Likewise.
74418 [C99-based-standards] (PRIdLEAST8): Likewise.
74419 [C99-based-standards] (PRIiLEAST8): Likewise.
74420 [C99-based-standards] (PRIoLEAST8): Likewise.
74421 [C99-based-standards] (PRIuLEAST8): Likewise.
74422 [C99-based-standards] (PRIxLEAST8): Likewise.
74423 [C99-based-standards] (PRIXLEAST8): Likewise.
74424 [C99-based-standards] (SCNdLEAST8): Likewise.
74425 [C99-based-standards] (SCNiLEAST8): Likewise.
74426 [C99-based-standards] (SCNoLEAST8): Likewise.
74427 [C99-based-standards] (SCNuLEAST8): Likewise.
74428 [C99-based-standards] (SCNxLEAST8): Likewise.
74429 [C99-based-standards] (PRIdFAST8): Likewise.
74430 [C99-based-standards] (PRIiFAST8): Likewise.
74431 [C99-based-standards] (PRIoFAST8): Likewise.
74432 [C99-based-standards] (PRIuFAST8): Likewise.
74433 [C99-based-standards] (PRIxFAST8): Likewise.
74434 [C99-based-standards] (PRIXFAST8): Likewise.
74435 [C99-based-standards] (SCNdFAST8): Likewise.
74436 [C99-based-standards] (SCNiFAST8): Likewise.
74437 [C99-based-standards] (SCNoFAST8): Likewise.
74438 [C99-based-standards] (SCNuFAST8): Likewise.
74439 [C99-based-standards] (SCNxFAST8): Likewise.
74440 [C99-based-standards] (PRId16): Likewise.
74441 [C99-based-standards] (PRIi16): Likewise.
74442 [C99-based-standards] (PRIo16): Likewise.
74443 [C99-based-standards] (PRIu16): Likewise.
74444 [C99-based-standards] (PRIx16): Likewise.
74445 [C99-based-standards] (PRIX16): Likewise.
74446 [C99-based-standards] (SCNd16): Likewise.
74447 [C99-based-standards] (SCNi16): Likewise.
74448 [C99-based-standards] (SCNo16): Likewise.
74449 [C99-based-standards] (SCNu16): Likewise.
74450 [C99-based-standards] (SCNx16): Likewise.
74451 [C99-based-standards] (PRIdLEAST16): Likewise.
74452 [C99-based-standards] (PRIiLEAST16): Likewise.
74453 [C99-based-standards] (PRIoLEAST16): Likewise.
74454 [C99-based-standards] (PRIuLEAST16): Likewise.
74455 [C99-based-standards] (PRIxLEAST16): Likewise.
74456 [C99-based-standards] (PRIXLEAST16): Likewise.
74457 [C99-based-standards] (SCNdLEAST16): Likewise.
74458 [C99-based-standards] (SCNiLEAST16): Likewise.
74459 [C99-based-standards] (SCNoLEAST16): Likewise.
74460 [C99-based-standards] (SCNuLEAST16): Likewise.
74461 [C99-based-standards] (SCNxLEAST16): Likewise.
74462 [C99-based-standards] (PRIdFAST16): Likewise.
74463 [C99-based-standards] (PRIiFAST16): Likewise.
74464 [C99-based-standards] (PRIoFAST16): Likewise.
74465 [C99-based-standards] (PRIuFAST16): Likewise.
74466 [C99-based-standards] (PRIxFAST16): Likewise.
74467 [C99-based-standards] (PRIXFAST16): Likewise.
74468 [C99-based-standards] (SCNdFAST16): Likewise.
74469 [C99-based-standards] (SCNiFAST16): Likewise.
74470 [C99-based-standards] (SCNoFAST16): Likewise.
74471 [C99-based-standards] (SCNuFAST16): Likewise.
74472 [C99-based-standards] (SCNxFAST16): Likewise.
74473 [C99-based-standards] (PRId32): Likewise.
74474 [C99-based-standards] (PRIi32): Likewise.
74475 [C99-based-standards] (PRIo32): Likewise.
74476 [C99-based-standards] (PRIu32): Likewise.
74477 [C99-based-standards] (PRIx32): Likewise.
74478 [C99-based-standards] (PRIX32): Likewise.
74479 [C99-based-standards] (SCNd32): Likewise.
74480 [C99-based-standards] (SCNi32): Likewise.
74481 [C99-based-standards] (SCNo32): Likewise.
74482 [C99-based-standards] (SCNu32): Likewise.
74483 [C99-based-standards] (SCNx32): Likewise.
74484 [C99-based-standards] (PRIdLEAST32): Likewise.
74485 [C99-based-standards] (PRIiLEAST32): Likewise.
74486 [C99-based-standards] (PRIoLEAST32): Likewise.
74487 [C99-based-standards] (PRIuLEAST32): Likewise.
74488 [C99-based-standards] (PRIxLEAST32): Likewise.
74489 [C99-based-standards] (PRIXLEAST32): Likewise.
74490 [C99-based-standards] (SCNdLEAST32): Likewise.
74491 [C99-based-standards] (SCNiLEAST32): Likewise.
74492 [C99-based-standards] (SCNoLEAST32): Likewise.
74493 [C99-based-standards] (SCNuLEAST32): Likewise.
74494 [C99-based-standards] (SCNxLEAST32): Likewise.
74495 [C99-based-standards] (PRIdFAST32): Likewise.
74496 [C99-based-standards] (PRIiFAST32): Likewise.
74497 [C99-based-standards] (PRIoFAST32): Likewise.
74498 [C99-based-standards] (PRIuFAST32): Likewise.
74499 [C99-based-standards] (PRIxFAST32): Likewise.
74500 [C99-based-standards] (PRIXFAST32): Likewise.
74501 [C99-based-standards] (SCNdFAST32): Likewise.
74502 [C99-based-standards] (SCNiFAST32): Likewise.
74503 [C99-based-standards] (SCNoFAST32): Likewise.
74504 [C99-based-standards] (SCNuFAST32): Likewise.
74505 [C99-based-standards] (SCNxFAST32): Likewise.
74506 [C99-based-standards] (PRId64): Likewise.
74507 [C99-based-standards] (PRIi64): Likewise.
74508 [C99-based-standards] (PRIo64): Likewise.
74509 [C99-based-standards] (PRIu64): Likewise.
74510 [C99-based-standards] (PRIx64): Likewise.
74511 [C99-based-standards] (PRIX64): Likewise.
74512 [C99-based-standards] (SCNd64): Likewise.
74513 [C99-based-standards] (SCNi64): Likewise.
74514 [C99-based-standards] (SCNo64): Likewise.
74515 [C99-based-standards] (SCNu64): Likewise.
74516 [C99-based-standards] (SCNx64): Likewise.
74517 [C99-based-standards] (PRIdLEAST64): Likewise.
74518 [C99-based-standards] (PRIiLEAST64): Likewise.
74519 [C99-based-standards] (PRIoLEAST64): Likewise.
74520 [C99-based-standards] (PRIuLEAST64): Likewise.
74521 [C99-based-standards] (PRIxLEAST64): Likewise.
74522 [C99-based-standards] (PRIXLEAST64): Likewise.
74523 [C99-based-standards] (SCNdLEAST64): Likewise.
74524 [C99-based-standards] (SCNiLEAST64): Likewise.
74525 [C99-based-standards] (SCNoLEAST64): Likewise.
74526 [C99-based-standards] (SCNuLEAST64): Likewise.
74527 [C99-based-standards] (SCNxLEAST64): Likewise.
74528 [C99-based-standards] (PRIdFAST64): Likewise.
74529 [C99-based-standards] (PRIiFAST64): Likewise.
74530 [C99-based-standards] (PRIoFAST64): Likewise.
74531 [C99-based-standards] (PRIuFAST64): Likewise.
74532 [C99-based-standards] (PRIxFAST64): Likewise.
74533 [C99-based-standards] (PRIXFAST64): Likewise.
74534 [C99-based-standards] (SCNdFAST64): Likewise.
74535 [C99-based-standards] (SCNiFAST64): Likewise.
74536 [C99-based-standards] (SCNoFAST64): Likewise.
74537 [C99-based-standards] (SCNuFAST64): Likewise.
74538 [C99-based-standards] (SCNxFAST64): Likewise.
74539 [C99-based-standards] (PRIdMAX): Likewise.
74540 [C99-based-standards] (PRIiMAX): Likewise.
74541 [C99-based-standards] (PRIoMAX): Likewise.
74542 [C99-based-standards] (PRIuMAX): Likewise.
74543 [C99-based-standards] (PRIxMAX): Likewise.
74544 [C99-based-standards] (PRIXMAX): Likewise.
74545 [C99-based-standards] (SCNdMAX): Likewise.
74546 [C99-based-standards] (SCNiMAX): Likewise.
74547 [C99-based-standards] (SCNoMAX): Likewise.
74548 [C99-based-standards] (SCNuMAX): Likewise.
74549 [C99-based-standards] (SCNxMAX): Likewise.
74550 [C99-based-standards] (PRIdPTR): Likewise.
74551 [C99-based-standards] (PRIiPTR): Likewise.
74552 [C99-based-standards] (PRIoPTR): Likewise.
74553 [C99-based-standards] (PRIuPTR): Likewise.
74554 [C99-based-standards] (PRIxPTR): Likewise.
74555 [C99-based-standards] (PRIXPTR): Likewise.
74556 [C99-based-standards] (SCNdPTR): Likewise.
74557 [C99-based-standards] (SCNiPTR): Likewise.
74558 [C99-based-standards] (SCNoPTR): Likewise.
74559 [C99-based-standards] (SCNuPTR): Likewise.
74560 [C99-based-standards] (SCNxPTR): Likewise.
74561 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74562 allow.
74563 * conform/data/stdint.h-data: Update comments to clarify
74564 requirements.
74565 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74566 type.
74567 [C99-based standards] (INT8_MAX): Likewise.
74568 [C99-based standards] (INT16_MIN): Likewise.
74569 [C99-based standards] (INT16_MAX): Likewise.
74570 [C99-based standards] (INT32_MIN): Likewise.
74571 [C99-based standards] (INT32_MAX): Likewise.
74572 [C99-based standards] (INT64_MIN): Likewise.
74573 [C99-based standards] (INT64_MAX): Likewise.
74574 [C99-based standards] (UINT8_MAX): Likewise.
74575 [C99-based standards] (UINT16_MAX): Likewise.
74576 [C99-based standards] (UINT32_MAX): Likewise.
74577 [C99-based standards] (UINT64_MAX): Likewise.
74578 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74579 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74580 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74581 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74582 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74583 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74584 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74585 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74586 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74587 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74588 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74589 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74590 [C99-based standards] (INT_FAST8_MIN): Likewise.
74591 [C99-based standards] (INT_FAST8_MAX): Likewise.
74592 [C99-based standards] (INT_FAST16_MIN): Likewise.
74593 [C99-based standards] (INT_FAST16_MAX): Likewise.
74594 [C99-based standards] (INT_FAST32_MIN): Likewise.
74595 [C99-based standards] (INT_FAST32_MAX): Likewise.
74596 [C99-based standards] (INT_FAST64_MIN): Likewise.
74597 [C99-based standards] (INT_FAST64_MAX): Likewise.
74598 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74599 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74600 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74601 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74602 [C99-based standards] (INTPTR_MIN): Likewise.
74603 [C99-based standards] (INTPTR_MAX): Likewise.
74604 [C99-based standards] (UINTPTR_MAX): Likewise.
74605 [C99-based standards] (INTMAX_MIN): Likewise.
74606 [C99-based standards] (INTMAX_MAX): Likewise.
74607 [C99-based standards] (UINTMAX_MAX): Likewise.
74608 [C99-based standards] (PTRDIFF_MIN): Likewise.
74609 [C99-based standards] (PTRDIFF_MAX): Likewise.
74610 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74611 [C99-based standards] (SIZE_MAX): Likewise.
74612 [C99-based standards] (WCHAR_MAX): Likewise.
74613 [C99-based standards] (WINT_MAX): Likewise.
74614 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74615 constraint on value.
74616 [C99-based standards] (WCHAR_MIN): Likewise.
74617 [C99-based standards] (WINT_MIN): Likewise.
74618 [C99-based standards] (*_t): Allow.
74619 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74620 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74621 Include math.h-data and complex.h-data. Remove all expectations
74622 of math.h and complex.h contents.
74623 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74624 at end of line.
74625 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74626 (struct tm): Expect tag.
74627 [C99-based-standards] (wcstof): Expect function.
74628 [C99-based-standards] (wcstold): Likewise.
74629 [C99-based-standards] (wcstoll): Likewise.
74630 [C99-based-standards] (wcstoull): Likewise.
74631 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74632 macro-int-constant. Specify type.
74633 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74634 constraint on value.
74635 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74636 Specify type.
74637 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74638 Specify value.
74639 [ISO C standards]: Do not allow headers.
74640 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74641 wcs[abcdefghijklmnopqrstuvwxyz]*.
74642 [ISO C standards] (*_t): Do not allow.
74643 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74644 Expect function.
74645 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74646 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74647 Specify type.
74648 [ISO C standards]: Do not allow headers.
74649 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74650 is[abcdefghijklmnopqrstuvwxyz]*.
74651 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74652 to[abcdefghijklmnopqrstuvwxyz]*.
74653 [ISO C standards] (*_t): Do not allow.
74654 * conform/data/stdalign.h-data: New file.
74655 * conform/data/stdbool.h-data: Likewise.
74656 * conform/data/stdnoreturn.h-data: Likewise.
74657
74658 2012-11-07 Roland McGrath <roland@hack.frob.com>
74659
74660 [BZ #14815]
74661 * manual/filesys.texi (Directory Entries): Typo fix.
74662 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74663
74664 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74665
74666 * elf/elf.h (EM_AARCH64): New macro.
74667 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74668 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74669 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74670 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74671 (R_AARCH64_TLSDESC): Likewise.
74672 (NT_ARM_TLS): Likewise.
74673 (NT_ARM_HW_BREAK): Likewise.
74674 (NT_ARM_HW_WATCH): Likewise.
74675
74676 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74677
74678 [BZ #14811]
74679 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74680 (__ieee754_powl): Saturate nonzero exponents with absolute value
74681 below 0x1p-79 to +/- 0x1p-79.
74682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74683 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74684 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74685 nonzero exponents with absolute value below 0x1p-32 to +/-
74686 0x1p-32.
74687 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74688 (__ieee754_powl): Saturate nonzero exponents with absolute value
74689 below 0x1p-79 to +/- 0x1p-79.
74690 * math/libm-test.inc (pow_test): Add more tests.
74691
74692 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74693
74694 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74695 _dl_s390_cap_flags with kernel. Increase string length.
74696 (_dl_s390_platforms): Add z196 and zEC12.
74697
74698 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74699
74700 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74701 Change XOPEN21K to XOPEN2K.
74702
74703 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74704
74705 * string/memmove.c: Use memcpy when possible.
74706
74707 2012-11-06 Andreas Jaeger <aj@suse.de>
74708
74709 * po/eo.po: Update from translation team.
74710
74711 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74712
74713 [BZ #14793]
74714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74715 exponent and small x and y exponents, scale x or y up. Increase
74716 by 2 the exponent used in scaling up.
74717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74719 * math/libm-test.inc (fma_test): Add more tests.
74720 (fma_test_towardzero): Likewise.
74721 (fma_test_downward): Likewise.
74722 (fma_test_upward): Likewise.
74723
74724 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74725
74726 [BZ #14805]
74727 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74728 fenv_t *.
74729
74730 [BZ #14801]
74731 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74732 namespace for names of struct fields.
74733 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74734 fenv_t fields.
74735 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74736 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74737
74738 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74739
74740 [BZ #3665]
74741 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74742
74743 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74744
74745 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74746 PTR_DEMANGLE.
74747
74748 [BZ #5246]
74749 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74750 PTR_DEMANGLE.
74751
74752 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74753
74754 [BZ #14797]
74755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74756 definitely overflow as x * y not x * y + z.
74757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74759 * math/libm-test.inc (fma_test): Add more tests.
74760 (fma_test_towardzero): Likewise.
74761 (fma_test_downward): Likewise.
74762 (fma_test_upward): Likewise.
74763
74764 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74765
74766 [BZ #157]
74767
74768 * include/stub-tag.h: Remove file.
74769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74770 '#include' of it.
74771 * manual/maint.texi (Porting): Don't reference it.
74772 * Makerules ($(objpfx)stubs): Likewise.
74773 * dirent/closedir.c: Don't include <stub-tag.h>.
74774 * dirent/dirfd.c: Likewise.
74775 * dirent/fdopendir.c: Likewise.
74776 * dirent/getdents.c: Likewise.
74777 * dirent/getdents64.c: Likewise.
74778 * dirent/opendir.c: Likewise.
74779 * dirent/readdir.c: Likewise.
74780 * dirent/readdir64.c: Likewise.
74781 * dirent/readdir64_r.c: Likewise.
74782 * dirent/readdir_r.c: Likewise.
74783 * dirent/rewinddir.c: Likewise.
74784 * dirent/seekdir.c: Likewise.
74785 * dirent/telldir.c: Likewise.
74786 * gmon/profil.c: Likewise.
74787 * grp/setgroups.c: Likewise.
74788 * inet/if_index.c: Likewise.
74789 * io/access.c: Likewise.
74790 * io/chdir.c: Likewise.
74791 * io/chmod.c: Likewise.
74792 * io/chown.c: Likewise.
74793 * io/close.c: Likewise.
74794 * io/dup.c: Likewise.
74795 * io/dup2.c: Likewise.
74796 * io/dup3.c: Likewise.
74797 * io/euidaccess.c: Likewise.
74798 * io/faccessat.c: Likewise.
74799 * io/fchdir.c: Likewise.
74800 * io/fchmod.c: Likewise.
74801 * io/fchmodat.c: Likewise.
74802 * io/fchown.c: Likewise.
74803 * io/fchownat.c: Likewise.
74804 * io/fcntl.c: Likewise.
74805 * io/flock.c: Likewise.
74806 * io/fstatfs.c: Likewise.
74807 * io/fstatfs64.c: Likewise.
74808 * io/fstatvfs.c: Likewise.
74809 * io/fstatvfs64.c: Likewise.
74810 * io/futimens.c: Likewise.
74811 * io/fxstat.c: Likewise.
74812 * io/fxstat64.c: Likewise.
74813 * io/fxstatat.c: Likewise.
74814 * io/fxstatat64.c: Likewise.
74815 * io/getcwd.c: Likewise.
74816 * io/isatty.c: Likewise.
74817 * io/lchmod.c: Likewise.
74818 * io/lchown.c: Likewise.
74819 * io/link.c: Likewise.
74820 * io/linkat.c: Likewise.
74821 * io/lseek.c: Likewise.
74822 * io/lseek64.c: Likewise.
74823 * io/lxstat64.c: Likewise.
74824 * io/mkdir.c: Likewise.
74825 * io/mkdirat.c: Likewise.
74826 * io/mkfifo.c: Likewise.
74827 * io/mkfifoat.c: Likewise.
74828 * io/open.c: Likewise.
74829 * io/open64.c: Likewise.
74830 * io/openat.c: Likewise.
74831 * io/openat64.c: Likewise.
74832 * io/pipe.c: Likewise.
74833 * io/pipe2.c: Likewise.
74834 * io/poll.c: Likewise.
74835 * io/posix_fadvise.c: Likewise.
74836 * io/posix_fadvise64.c: Likewise.
74837 * io/posix_fallocate.c: Likewise.
74838 * io/posix_fallocate64.c: Likewise.
74839 * io/read.c: Likewise.
74840 * io/readlink.c: Likewise.
74841 * io/readlinkat.c: Likewise.
74842 * io/rmdir.c: Likewise.
74843 * io/sendfile.c: Likewise.
74844 * io/sendfile64.c: Likewise.
74845 * io/statfs.c: Likewise.
74846 * io/statfs64.c: Likewise.
74847 * io/statvfs.c: Likewise.
74848 * io/statvfs64.c: Likewise.
74849 * io/symlink.c: Likewise.
74850 * io/symlinkat.c: Likewise.
74851 * io/ttyname.c: Likewise.
74852 * io/ttyname_r.c: Likewise.
74853 * io/umask.c: Likewise.
74854 * io/unlink.c: Likewise.
74855 * io/unlinkat.c: Likewise.
74856 * io/utime.c: Likewise.
74857 * io/utimensat.c: Likewise.
74858 * io/write.c: Likewise.
74859 * io/xmknod.c: Likewise.
74860 * io/xmknodat.c: Likewise.
74861 * io/xstat.c: Likewise.
74862 * io/xstat64.c: Likewise.
74863 * login/getpt.c: Likewise.
74864 * login/grantpt.c: Likewise.
74865 * login/unlockpt.c: Likewise.
74866 * math/e_acoshl.c: Likewise.
74867 * math/e_acosl.c: Likewise.
74868 * math/e_asinl.c: Likewise.
74869 * math/e_atan2l.c: Likewise.
74870 * math/e_atanhl.c: Likewise.
74871 * math/e_coshl.c: Likewise.
74872 * math/e_expl.c: Likewise.
74873 * math/e_fmodl.c: Likewise.
74874 * math/e_gammal_r.c: Likewise.
74875 * math/e_hypotl.c: Likewise.
74876 * math/e_j0l.c: Likewise.
74877 * math/e_j1l.c: Likewise.
74878 * math/e_jnl.c: Likewise.
74879 * math/e_lgammal_r.c: Likewise.
74880 * math/e_log10l.c: Likewise.
74881 * math/e_log2l.c: Likewise.
74882 * math/e_logl.c: Likewise.
74883 * math/e_powl.c: Likewise.
74884 * math/e_rem_pio2l.c: Likewise.
74885 * math/e_sinhl.c: Likewise.
74886 * math/e_sqrtl.c: Likewise.
74887 * math/fclrexcpt.c: Likewise.
74888 * math/fedisblxcpt.c: Likewise.
74889 * math/feenablxcpt.c: Likewise.
74890 * math/fegetenv.c: Likewise.
74891 * math/fegetexcept.c: Likewise.
74892 * math/fegetround.c: Likewise.
74893 * math/feholdexcpt.c: Likewise.
74894 * math/fesetenv.c: Likewise.
74895 * math/fesetround.c: Likewise.
74896 * math/feupdateenv.c: Likewise.
74897 * math/fgetexcptflg.c: Likewise.
74898 * math/fraiseexcpt.c: Likewise.
74899 * math/fsetexcptflg.c: Likewise.
74900 * math/ftestexcept.c: Likewise.
74901 * math/k_cosl.c: Likewise.
74902 * math/k_rem_pio2l.c: Likewise.
74903 * math/k_sinl.c: Likewise.
74904 * math/k_tanl.c: Likewise.
74905 * math/s_asinhl.c: Likewise.
74906 * math/s_atanl.c: Likewise.
74907 * math/s_cbrtl.c: Likewise.
74908 * math/s_erfl.c: Likewise.
74909 * math/s_expm1l.c: Likewise.
74910 * math/s_log1pl.c: Likewise.
74911 * math/s_tanhl.c: Likewise.
74912 * misc/acct.c: Likewise.
74913 * misc/brk.c: Likewise.
74914 * misc/chflags.c: Likewise.
74915 * misc/chroot.c: Likewise.
74916 * misc/fchflags.c: Likewise.
74917 * misc/fgetxattr.c: Likewise.
74918 * misc/flistxattr.c: Likewise.
74919 * misc/fremovexattr.c: Likewise.
74920 * misc/fsetxattr.c: Likewise.
74921 * misc/fsync.c: Likewise.
74922 * misc/ftruncate.c: Likewise.
74923 * misc/futimes.c: Likewise.
74924 * misc/futimesat.c: Likewise.
74925 * misc/getdomain.c: Likewise.
74926 * misc/getdtsz.c: Likewise.
74927 * misc/gethostid.c: Likewise.
74928 * misc/gethostname.c: Likewise.
74929 * misc/getloadavg.c: Likewise.
74930 * misc/getpagesize.c: Likewise.
74931 * misc/getsysstats.c: Likewise.
74932 * misc/getxattr.c: Likewise.
74933 * misc/gtty.c: Likewise.
74934 * misc/ioctl.c: Likewise.
74935 * misc/lgetxattr.c: Likewise.
74936 * misc/listxattr.c: Likewise.
74937 * misc/llistxattr.c: Likewise.
74938 * misc/lremovexattr.c: Likewise.
74939 * misc/lsetxattr.c: Likewise.
74940 * misc/lutimes.c: Likewise.
74941 * misc/madvise.c: Likewise.
74942 * misc/mincore.c: Likewise.
74943 * misc/mlock.c: Likewise.
74944 * misc/mlockall.c: Likewise.
74945 * misc/mmap.c: Likewise.
74946 * misc/mprotect.c: Likewise.
74947 * misc/msync.c: Likewise.
74948 * misc/munlock.c: Likewise.
74949 * misc/munlockall.c: Likewise.
74950 * misc/munmap.c: Likewise.
74951 * misc/preadv.c: Likewise.
74952 * misc/preadv64.c: Likewise.
74953 * misc/ptrace.c: Likewise.
74954 * misc/pwritev.c: Likewise.
74955 * misc/pwritev64.c: Likewise.
74956 * misc/readv.c: Likewise.
74957 * misc/reboot.c: Likewise.
74958 * misc/remap_file_pages.c: Likewise.
74959 * misc/removexattr.c: Likewise.
74960 * misc/revoke.c: Likewise.
74961 * misc/select.c: Likewise.
74962 * misc/setdomain.c: Likewise.
74963 * misc/setegid.c: Likewise.
74964 * misc/seteuid.c: Likewise.
74965 * misc/sethostid.c: Likewise.
74966 * misc/sethostname.c: Likewise.
74967 * misc/setregid.c: Likewise.
74968 * misc/setreuid.c: Likewise.
74969 * misc/setxattr.c: Likewise.
74970 * misc/sstk.c: Likewise.
74971 * misc/stty.c: Likewise.
74972 * misc/swapoff.c: Likewise.
74973 * misc/swapon.c: Likewise.
74974 * misc/sync.c: Likewise.
74975 * misc/syncfs.c: Likewise.
74976 * misc/syscall.c: Likewise.
74977 * misc/truncate.c: Likewise.
74978 * misc/ualarm.c: Likewise.
74979 * misc/usleep.c: Likewise.
74980 * misc/ustat.c: Likewise.
74981 * misc/utimes.c: Likewise.
74982 * misc/vhangup.c: Likewise.
74983 * misc/writev.c: Likewise.
74984 * posix/_exit.c: Likewise.
74985 * posix/alarm.c: Likewise.
74986 * posix/execve.c: Likewise.
74987 * posix/fexecve.c: Likewise.
74988 * posix/fork.c: Likewise.
74989 * posix/fpathconf.c: Likewise.
74990 * posix/getaddrinfo.c: Likewise.
74991 * posix/getegid.c: Likewise.
74992 * posix/geteuid.c: Likewise.
74993 * posix/getgid.c: Likewise.
74994 * posix/getgroups.c: Likewise.
74995 * posix/getlogin.c: Likewise.
74996 * posix/getlogin_r.c: Likewise.
74997 * posix/getpgid.c: Likewise.
74998 * posix/getpid.c: Likewise.
74999 * posix/getppid.c: Likewise.
75000 * posix/getresgid.c: Likewise.
75001 * posix/getresuid.c: Likewise.
75002 * posix/getsid.c: Likewise.
75003 * posix/getuid.c: Likewise.
75004 * posix/glob64.c: Likewise.
75005 * posix/nanosleep.c: Likewise.
75006 * posix/pathconf.c: Likewise.
75007 * posix/pause.c: Likewise.
75008 * posix/posix_madvise.c: Likewise.
75009 * posix/pread.c: Likewise.
75010 * posix/pread64.c: Likewise.
75011 * posix/pwrite.c: Likewise.
75012 * posix/pwrite64.c: Likewise.
75013 * posix/sched_getaffinity.c: Likewise.
75014 * posix/sched_getp.c: Likewise.
75015 * posix/sched_gets.c: Likewise.
75016 * posix/sched_primax.c: Likewise.
75017 * posix/sched_primin.c: Likewise.
75018 * posix/sched_rr_gi.c: Likewise.
75019 * posix/sched_setaffinity.c: Likewise.
75020 * posix/sched_setp.c: Likewise.
75021 * posix/sched_sets.c: Likewise.
75022 * posix/sched_yield.c: Likewise.
75023 * posix/setgid.c: Likewise.
75024 * posix/setlogin.c: Likewise.
75025 * posix/setpgid.c: Likewise.
75026 * posix/setresgid.c: Likewise.
75027 * posix/setresuid.c: Likewise.
75028 * posix/setsid.c: Likewise.
75029 * posix/setuid.c: Likewise.
75030 * posix/sleep.c: Likewise.
75031 * posix/spawni.c: Likewise.
75032 * posix/sysconf.c: Likewise.
75033 * posix/times.c: Likewise.
75034 * posix/wait.c: Likewise.
75035 * posix/wait3.c: Likewise.
75036 * posix/wait4.c: Likewise.
75037 * posix/waitpid.c: Likewise.
75038 * resolv/gai_sigqueue.c: Likewise.
75039 * resource/getpriority.c: Likewise.
75040 * resource/getrlimit.c: Likewise.
75041 * resource/getrusage.c: Likewise.
75042 * resource/nice.c: Likewise.
75043 * resource/setpriority.c: Likewise.
75044 * resource/setrlimit.c: Likewise.
75045 * resource/ulimit.c: Likewise.
75046 * rt/aio_cancel.c: Likewise.
75047 * rt/aio_fsync.c: Likewise.
75048 * rt/aio_read.c: Likewise.
75049 * rt/aio_sigqueue.c: Likewise.
75050 * rt/aio_suspend.c: Likewise.
75051 * rt/aio_write.c: Likewise.
75052 * rt/clock_getres.c: Likewise.
75053 * rt/clock_gettime.c: Likewise.
75054 * rt/clock_nanosleep.c: Likewise.
75055 * rt/clock_settime.c: Likewise.
75056 * rt/lio_listio.c: Likewise.
75057 * rt/mq_close.c: Likewise.
75058 * rt/mq_getattr.c: Likewise.
75059 * rt/mq_notify.c: Likewise.
75060 * rt/mq_open.c: Likewise.
75061 * rt/mq_receive.c: Likewise.
75062 * rt/mq_send.c: Likewise.
75063 * rt/mq_setattr.c: Likewise.
75064 * rt/mq_timedreceive.c: Likewise.
75065 * rt/mq_timedsend.c: Likewise.
75066 * rt/mq_unlink.c: Likewise.
75067 * rt/shm_open.c: Likewise.
75068 * rt/shm_unlink.c: Likewise.
75069 * rt/timer_create.c: Likewise.
75070 * rt/timer_delete.c: Likewise.
75071 * rt/timer_getoverr.c: Likewise.
75072 * rt/timer_gettime.c: Likewise.
75073 * rt/timer_settime.c: Likewise.
75074 * setjmp/__longjmp.c: Likewise.
75075 * setjmp/setjmp.c: Likewise.
75076 * signal/kill.c: Likewise.
75077 * signal/killpg.c: Likewise.
75078 * signal/raise.c: Likewise.
75079 * signal/sigaction.c: Likewise.
75080 * signal/sigaltstack.c: Likewise.
75081 * signal/sigblock.c: Likewise.
75082 * signal/sigignore.c: Likewise.
75083 * signal/sigintr.c: Likewise.
75084 * signal/signal.c: Likewise.
75085 * signal/sigpause.c: Likewise.
75086 * signal/sigpending.c: Likewise.
75087 * signal/sigqueue.c: Likewise.
75088 * signal/sigreturn.c: Likewise.
75089 * signal/sigset.c: Likewise.
75090 * signal/sigsetmask.c: Likewise.
75091 * signal/sigstack.c: Likewise.
75092 * signal/sigsuspend.c: Likewise.
75093 * signal/sigtimedwait.c: Likewise.
75094 * signal/sigvec.c: Likewise.
75095 * signal/sigwait.c: Likewise.
75096 * signal/sigwaitinfo.c: Likewise.
75097 * signal/sysv_signal.c: Likewise.
75098 * socket/accept.c: Likewise.
75099 * socket/accept4.c: Likewise.
75100 * socket/bind.c: Likewise.
75101 * socket/connect.c: Likewise.
75102 * socket/getpeername.c: Likewise.
75103 * socket/getsockname.c: Likewise.
75104 * socket/getsockopt.c: Likewise.
75105 * socket/isfdtype.c: Likewise.
75106 * socket/listen.c: Likewise.
75107 * socket/recv.c: Likewise.
75108 * socket/recvfrom.c: Likewise.
75109 * socket/recvmsg.c: Likewise.
75110 * socket/send.c: Likewise.
75111 * socket/sendmsg.c: Likewise.
75112 * socket/sendto.c: Likewise.
75113 * socket/setsockopt.c: Likewise.
75114 * socket/shutdown.c: Likewise.
75115 * socket/sockatmark.c: Likewise.
75116 * socket/socket.c: Likewise.
75117 * socket/socketpair.c: Likewise.
75118 * stdio-common/ctermid.c: Likewise.
75119 * stdio-common/cuserid.c: Likewise.
75120 * stdio-common/remove.c: Likewise.
75121 * stdio-common/rename.c: Likewise.
75122 * stdio-common/renameat.c: Likewise.
75123 * stdio-common/tempname.c: Likewise.
75124 * stdlib/getcontext.c: Likewise.
75125 * stdlib/makecontext.c: Likewise.
75126 * stdlib/setcontext.c: Likewise.
75127 * stdlib/swapcontext.c: Likewise.
75128 * stdlib/system.c: Likewise.
75129 * streams/fattach.c: Likewise.
75130 * streams/fdetach.c: Likewise.
75131 * streams/getmsg.c: Likewise.
75132 * streams/getpmsg.c: Likewise.
75133 * streams/putmsg.c: Likewise.
75134 * streams/putpmsg.c: Likewise.
75135 * sysdeps/unix/bsd/getpt.c: Likewise.
75136 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75137 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75138 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75140 Likewise.
75141 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75142 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75143 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75144 * sysvipc/msgctl.c: Likewise.
75145 * sysvipc/msgget.c: Likewise.
75146 * sysvipc/msgrcv.c: Likewise.
75147 * sysvipc/msgsnd.c: Likewise.
75148 * sysvipc/semctl.c: Likewise.
75149 * sysvipc/semget.c: Likewise.
75150 * sysvipc/semop.c: Likewise.
75151 * sysvipc/semtimedop.c: Likewise.
75152 * sysvipc/shmat.c: Likewise.
75153 * sysvipc/shmctl.c: Likewise.
75154 * sysvipc/shmdt.c: Likewise.
75155 * sysvipc/shmget.c: Likewise.
75156 * termios/tcdrain.c: Likewise.
75157 * termios/tcflow.c: Likewise.
75158 * termios/tcflush.c: Likewise.
75159 * termios/tcgetattr.c: Likewise.
75160 * termios/tcgetpgrp.c: Likewise.
75161 * termios/tcsendbrk.c: Likewise.
75162 * termios/tcsetattr.c: Likewise.
75163 * termios/tcsetpgrp.c: Likewise.
75164 * time/adjtime.c: Likewise.
75165 * time/clock.c: Likewise.
75166 * time/getitimer.c: Likewise.
75167 * time/gettimeofday.c: Likewise.
75168 * time/setitimer.c: Likewise.
75169 * time/settimeofday.c: Likewise.
75170 * time/stime.c: Likewise.
75171 * time/time.c: Likewise.
75172
75173 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75174
75175 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75176 /usr/old/bin.
75177
75178 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75179 instead of spaces.
75180 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75181
75182 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75183
75184 [BZ #14796]
75185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75186 FE_TONEAREST before applying Dekker multiplication and Knuth
75187 addition. Clear inexact exceptions and check for exact zero
75188 results afterwards.
75189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75190 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75192 * math/libm-test.inc (fma_test): Add more tests.
75193 (fma_test_towardzero): Likewise.
75194 (fma_test_downward): Likewise.
75195 (fma_test_upward): Likewise.
75196 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75197 function.
75198 (libc_fesetround): New macro.
75199 (libc_fesetroundf): Likewise.
75200 (libc_fesetroundl): Likewise.
75201 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75202 function.
75203 (libc_fesetround_387): Likewise.
75204 (libc_fesetroundf): New macro.
75205 (libc_fesetround): Likewise.
75206 (libc_fesetroundl): Likewise.
75207 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75208 function.
75209 (libc_fesetroundf): New macro.
75210 (libc_fesetround): Likewise.
75211 (libc_fesetroundl): Likewise.
75212 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75213 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75214 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75215 libm_hidden_ver.
75216 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75217 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75218 libm_hidden_def.
75219 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75220 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75221 libm_hidden_ver.
75222 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75223 libm_hidden_def.
75224
75225 [BZ #3439]
75226 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75227 integer constant usable in #if and use that to give value to enum
75228 constant.
75229 (FE_DIVBYZERO): Likewise.
75230 (FE_UNDERFLOW): Likewise.
75231 (FE_OVERFLOW): Likewise.
75232 (FE_INVALID): Likewise.
75233 (FE_INVALID_SNAN): Likewise.
75234 (FE_INVALID_ISI): Likewise.
75235 (FE_INVALID_IDI): Likewise.
75236 (FE_INVALID_ZDZ): Likewise.
75237 (FE_INVALID_IMZ): Likewise.
75238 (FE_INVALID_COMPARE): Likewise.
75239 (FE_INVALID_SOFTWARE): Likewise.
75240 (FE_INVALID_SQRT): Likewise.
75241 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75242 (FE_TONEAREST): Likewise.
75243 (FE_TOWARDZERO): Likewise.
75244 (FE_UPWARD): Likewise.
75245 (FE_DOWNWARD): Likewise.
75246 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75247 (FE_DIVBYZERO): Likewise.
75248 (FE_OVERFLOW): Likewise.
75249 (FE_UNDERFLOW): Likewise.
75250 (FE_INEXACT): Likewise.
75251 (FE_TONEAREST): Likewise.
75252 (FE_DOWNWARD): Likewise.
75253 (FE_UPWARD): Likewise.
75254 (FE_TOWARDZERO): Likewise.
75255 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75256 (FE_UNDERFLOW): Likewise.
75257 (FE_OVERFLOW): Likewise.
75258 (FE_DIVBYZERO): Likewise.
75259 (FE_INVALID): Likewise.
75260 (FE_TONEAREST): Likewise.
75261 (FE_TOWARDZERO): Likewise.
75262 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75263 (FE_OVERFLOW): Likewise.
75264 (FE_UNDERFLOW): Likewise.
75265 (FE_DIVBYZERO): Likewise.
75266 (FE_INEXACT): Likewise.
75267 (FE_TONEAREST): Likewise.
75268 (FE_TOWARDZERO): Likewise.
75269 (FE_UPWARD): Likewise.
75270 (FE_DOWNWARD): Likewise.
75271 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75272 (FE_DIVBYZERO): Likewise.
75273 (FE_OVERFLOW): Likewise.
75274 (FE_UNDERFLOW): Likewise.
75275 (FE_INEXACT): Likewise.
75276 (FE_TONEAREST): Likewise.
75277 (FE_DOWNWARD): Likewise.
75278 (FE_UPWARD): Likewise.
75279 (FE_TOWARDZERO): Likewise.
75280
75281 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75282
75283 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75284
75285 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75286
75287 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75288 commands. Quote $PWD.
75289 (blacklist_exports): Don't use remove_newlines. Replace "declare
75290 -x" by "export".
75291 (remove_newlines): Remove.
75292
75293 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75294
75295 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75296 * stdlib/stdlib.h (atof): Moved to ...
75297 * include/bits/stdlib-float.h: Here. New file.
75298 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75299 * stdlib/bits/stdlib-float.h: New file.
75300 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75301 -mno-sse -mno-mmx.
75302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75303 <xmmintrin.h>.
75304
75305 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75306
75307 * conform/conformtest.pl (@headers): Add fenv.h.
75308 * conform/data/fenv.h-data: New file.
75309 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75310 include of <math/fenv.h>.
75311
75312 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75313 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75314 && !UNIX98]. Enables tests for XOPEN2K8.
75315 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75316 POSIX2008]: Likewise.
75317
75318 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75319 (struct rusage): Do not expect type or its members.
75320
75321 [BZ #3439]
75322 * math/math.h (FP_NAN): Define macro to integer constant usable in
75323 #if and use that to give value to enum constant.
75324 (FP_INFINITE): Likewise.
75325 (FP_ZERO): Likewise.
75326 (FP_SUBNORMAL): Likewise.
75327 (FP_NORMAL): Likewise.
75328
75329 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75330
75331 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75332 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75333 arguments.
75334
75335 2012-11-02 Roland McGrath <roland@hack.frob.com>
75336
75337 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75338 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75339 autoconf-time if not.
75340 * configure.in: Remove AC_PREREQ.
75341
75342 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75343
75344 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75345 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75346 of the internal implementation.
75347
75348 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75349
75350 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75351 except include of <misc/sys/syslog.h>.
75352
75353 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75354
75355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75356 function returns with a NULL context exit with zero.
75357
75358 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75359
75360 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75361
75362 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75363
75364 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75365 (run_program_cmd): This.
75366 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75367 (tst_langinfo): New variable. Use it.
75368
75369 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75370
75371 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75372 floating point opcodes.
75373
75374 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75375
75376 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75377 variable.
75378
75379 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75380
75381 * sysdeps/mach/hurd/powerpc: Remove directory.
75382 * sysdeps/mach/powerpc: Likewise.
75383
75384 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75385
75386 * scripts/check-local-headers.sh: Ignore c++ headers.
75387
75388 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75389
75390 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75391 __libc_cleanup_region_start argument.
75392
75393 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75394
75395 [BZ #14784]
75396 [BZ #14785]
75397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75398 x * y using scaling, not as x * y + z.
75399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75400 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75401 * math/libm-test.inc (fma_test): Add more tests.
75402 (fma_test_towardzero): Likewise.
75403 (fma_test_downward): Likewise.
75404 (fma_test_upward): Likewise.
75405
75406 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75407
75408 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75409
75410 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75411
75412 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75413 New variable.
75414
75415 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75416
75417 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75418
75419 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75420
75421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75422 Fix sort order.
75423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75424 Likewise.
75425
75426 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75427
75428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75429 Fix the order of the list for glibc 2.17.
75430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75431 Likewise.
75432
75433 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75434
75435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75436
75437 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75438
75439 [BZ #14610]
75440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75441 for low part of x being zero before using __atanl (y).
75442 * math/libm-test.inc (atan2_test): Add another test.
75443
75444 * manual/install.texi (Configuring and compiling): Document
75445 general use of test-wrapper and test-wrapper-env.
75446 * INSTALL: Regenerated.
75447
75448 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75449 (__fma): Do not extract and scale down low bits on after-rounding
75450 systems when result rounded to normal precision would have normal
75451 exponent.
75452 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75453 (__fmal): Do not extract and scale down low bits on after-rounding
75454 systems when result rounded to normal precision would have normal
75455 exponent.
75456 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75457 (__fmal): Do not extract and scale down low bits on after-rounding
75458 systems when result rounded to normal precision would have normal
75459 exponent.
75460 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75461 macro.
75462 (fma_test): Add more tests.
75463 (fma_test_towardzero): Likewise.
75464 (fma_test_downward): Likewise.
75465 (fma_test_upward): Likewise.
75466
75467 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75468
75469 * sysdeps/i386/tininess.h: Renamed to ...
75470 * sysdeps/x86/tininess.h: This.
75471 * sysdeps/x86_64/tininess.h: Removed.
75472
75473 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75474
75475 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75476 input. Use $(build-program-cmd).
75477 ($(objpfx)tst-array1-static.out): Likewise.
75478 ($(objpfx)tst-array2.out): Likewise.
75479 ($(objpfx)tst-array3.out): Likewise.
75480 ($(objpfx)tst-array4.out): Likewise.
75481 ($(objpfx)tst-array5.out): Likewise.
75482 ($(objpfx)tst-array5-static.out): Likewise.
75483
75484 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75485
75486 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75487 if defined.
75488
75489 * nss/nsswitch.h (nss_interface_function): Provide new
75490 macro for use with NSS functions.
75491 * grp/initgroups.c: Use new macro.
75492 * nss/getXXbyYY.c: Likewise.
75493 * nss/getXXbyYY_r.c: Likewise.
75494 * nss/getXXent.c: Likewise.
75495 * nss/getXXent_r.c: Likewise.
75496 * sysdeps/posix/getaddrinfo.c: Likewise.
75497
75498 2012-10-30 Andreas Jaeger <aj@suse.de>
75499
75500 * po/ru.po: Update Russion translation from translation project.
75501
75502 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75503
75504 [BZ #14152]
75505 [BZ #14783]
75506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75507 result and shift together with sticky bit instead of replicating
75508 round-to-nearest rounding.
75509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75511 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75512 missing underflow exceptions.
75513 (fma_test_towardzero): Add more tests.
75514 (fma_test_downward): Likewise.
75515 (fma_test_upward): Likewise.
75516
75517 [BZ #14047]
75518 * sysdeps/generic/tininess.h: New file.
75519 * sysdeps/i386/tininess.h: Likewise.
75520 * sysdeps/sh/tininess.h: Likewise.
75521 * sysdeps/x86_64/tininess.h: Likewise.
75522 * stdlib/tst-strtod-underflow.c: Likewise.
75523 * stdlib/tst-tininess.c: Likewise.
75524 * stdlib/strtod_l.c: Include <tininess.h>.
75525 (round_and_return): Do not set errno for exact underflow cases.
75526 Force an underflow exception when setting errno for underflow.
75527 Determine underflow based on rounding to normal precision if
75528 TININESS_AFTER_ROUNDING.
75529 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75530 ERANGE for exact underflow cases.
75531 * stdlib/Makefile (tests): Add tst-tininess and
75532 tst-strtod-underflow.
75533 ($(objpfx)tst-tininess): Use $(link-libm).
75534 ($(objpfx)tst-strtod-underflow): Likewise.
75535
75536 2012-10-30 Andreas Jaeger <aj@suse.de>
75537
75538 [BZ #14767]
75539 * elf/Makefile (tests): Remove conditional for have-initfini-array
75540 since this is now always required and the variable does not exist
75541 anymore.
75542 (tests-static): Likewise.
75543 (modules-names): Likewise.
75544
75545 * po/eo.po: Add Esperanto translation from translation project.
75546
75547 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75548 merged with constructor/destructor.
75549 (init_array): Likewise.
75550 * elf/tst-array2dep.c (fini_array): Likewise.
75551 (init_array): Likewise.
75552
75553 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75554
75555 * manual/message.texi: Delete @cartouche tags.
75556
75557 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75558
75559 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75560 EOPNOTSUPP.
75561 * sysdeps/mach/hurd/fsync.c: Likewise.
75562
75563 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75564 [_POSIX_REALTIME_SIGNALS]: Change condition to
75565 [_POSIX_REALTIME_SIGNALS > 0].
75566
75567 2012-10-27 Andreas Jaeger <aj@suse.de>
75568
75569 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75570 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75572 [__WORDSIZE != 64]: Likewise.
75573
75574 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75575
75576 * iconvdata/tst-table.sh: Remove ${SHELL}.
75577 * iconvdata/tst-tables.sh: Likewise.
75578
75579 2012-10-25 David S. Miller <davem@davemloft.net>
75580
75581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75582 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75583 of strtoull.
75584
75585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75586 ifunc-impl-list.c
75587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75588 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75589 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75590 file.
75591
75592 2012-10-25 Roland McGrath <roland@hack.frob.com>
75593
75594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75595 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75596 __getdirentries.
75597
75598 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75599 Jim Blandy <jimb@codesourcery.com>
75600
75601 * scripts/cross-test-ssh.sh: New file.
75602 * manual/install.texi (Configuring and compiling): Document use of
75603 cross-test-ssh.sh.
75604 * INSTALL: Regenerated.
75605
75606 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75607
75608 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75609 EOPNOTSUPP.
75610
75611 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75612
75613 * Makeconfig (run-program-prefix): Fix comment.
75614
75615 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75616 Jim Blandy <jimb@codesourcery.com>
75617
75618 * Makeconfig (test-wrapper): New variable,
75619 (test-wrapper-env): Likewise.
75620 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75621 (run-built-tests): Define to yes.
75622 (run-program-prefix): Use $(test-wrapper).
75623 (built-program-cmd): Likewise.
75624 * Rules (make-test-out): Use $(test-wrapper-env) and
75625 $(host-built-program-cmd).
75626 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75627 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75628 tst-pathopt.sh.
75629 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75630 $(test-wrapper-env) to tst-rtld-load-self.sh.
75631 ($(objpfx)order2.out): Use $(test-wrapper).
75632 ($(objpfx)tst-initorder.out): Likewise.
75633 ($(objpfx)tst-initorder2.out): Likewise.
75634 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75635 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75636 (test_wrapper_env): New variable. Use it to run ld.so.
75637 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75638 Use it to run ld.so.
75639 (test_wrapper_env): Likewise.
75640 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75641 $(test-wrapper) to run-iconv-test.sh.
75642 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75643 (ICONV): Use $test_wrapper.
75644 * posix/Makefile ($(objpfx)globtest.out): Pass
75645 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75646 globtest.sh, not $(run-program-prefix).
75647 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75648 (test_wrapper): Likewise.
75649 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75650 set together with run_via_rtld_prefix.
75651 (run_program_prefix): Define in terms of test_wrapper and
75652 run_via_rtld_prefix.
75653
75654 2012-10-24 Roland McGrath <roland@hack.frob.com>
75655
75656 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75657 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75658 Targets removed.
75659
75660 [BZ #14743]
75661 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75662 Declare __clock_getres, __clock_gettime, __clock_settime,
75663 __clock_nanosleep, and __clock_getcpuclockid.
75664 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75665 Remove librt_hidden_def (clock_gettime).
75666 * sysdeps/unix/clock_gettime.c: Likewise.
75667 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75669 * rt/clock_getres.c: Define __clock_getres as an alias.
75670 * sysdeps/posix/clock_getres.c: Likewise.
75671 * rt/clock_settime.c: Define __clock_settime as an alias.
75672 * sysdeps/unix/clock_settime.c: Likewise.
75673 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75674 * sysdeps/unix/clock_nanosleep.c: Likewise.
75675 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75676 * rt/clock-compat.c: New file.
75677 * rt/Makefile (librt-routines): Add clock-compat and move
75678 $(clock-routines) to ...
75679 (routines): ... here, new variable.
75680 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75681 Don't add get_clockfreq here.
75682 * rt/Versions (libc: GLIBC_2.17): New version set.
75683 Add clock_* symbols here.
75684 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75686 (GLIBC_2.17): Add clock_* symbols.
75687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75691 Likewise.
75692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75693 Likewise.
75694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75698 * NEWS: Mention the move.
75699
75700 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75701 Use __open, __read, __close rather than their public counterparts.
75702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75703 (__get_clockfreq_via_cpuinfo): Likewise.
75704 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75705 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75706
75707 * config.h.in (HAVE_IFUNC): New #undef.
75708 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75709 was successful.
75710 * configure: Regenerated.
75711
75712 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75713
75714 * configure.in: Move READELF check to start of file.
75715 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75716 libc_cv_asm_gnu_indirect_function in the process.
75717 * configure: Regenerated.
75718
75719 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75720
75721 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75722 send the output to /dev/null.
75723 (libc_cv_cc_with_libunwind): Likewise.
75724 (libc_cv_as_noexecstack): Likewise.
75725 * configure: Regenerate.
75726
75727 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75728
75729 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75730
75731 * posix/globtest.sh (TMPDIR): Do not set.
75732 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75733 (testout): Likewise.
75734
75735 2012-10-24 Andreas Jaeger <aj@suse.de>
75736
75737 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75738 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75739 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75740 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75741 posix_fadvise64, posix_fallocate64.
75742
75743 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75744 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75745 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75746 Likewise.
75747 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75748 Likewise.
75749 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75750
75751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75752 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75753 <bits/fcntl-linux.h>.
75754 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75755
75756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75757 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75758 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75759 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75760 [__WORDSIZE != 64]: Likewise.
75761
75762 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75763
75764 * Makeconfig (run-built-tests): New variable.
75765 * Rules [$(cross-compiling) = yes]: Change condition to
75766 [$(run-built-tests) = no].
75767 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75768 to [$(run-built-tests) = yes].
75769 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75770 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75771 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75772 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75773 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75774 * io/Makefile [$(cross-compiling) = no]: Likewise.
75775 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75776 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75777 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75778 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75779 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75780 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75781 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75782 * string/Makefile [$(cross-compiling) = no]: Likewise.
75783
75784 * posix/Makefile ($(objpfx)globtest.out): Pass
75785 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75786 $(rtld-installed-name).
75787 * posix/globtest.sh (elf_objpfx): Remove variable.
75788 (rtld_installed_name): Likewise.
75789 (library_path): Likewise.
75790 (run_program_prefix): New variable. Use for running globtest
75791 binary.
75792
75793 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75794 Joseph Myers <joseph@codesourcery.com>
75795
75796 * Makeconfig (host-built-program-cmd): New variable.
75797 * elf/Makefile (tst-stackguard1-ARGS): Use
75798 $(host-built-program-cmd).
75799 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75800 (tst-spawn-ARGS): Likewise.
75801 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75802
75803 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75804 Jim Blandy <jimb@codesourcery.com>
75805
75806 * Makeconfig (run-via-rtld-prefix): New variable.
75807 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75808 (built-program-cmd): Likewise.
75809
75810 2012-10-22 Andreas Jaeger <aj@suse.de>
75811
75812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75813 __O_RSYNC if it exists, otherwise to O_SYNC.
75814
75815 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75816 Joseph Myers <joseph@codesourcery.com>
75817
75818 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75819 /dev/null.
75820 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75821 from /dev/null
75822 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75823 /dev/null.
75824
75825 2012-10-22 Andreas Jaeger <aj@suse.de>
75826
75827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75828 Define always.
75829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75830
75831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75832 bits/fcntl-linux.h.
75833
75834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75835 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75836
75837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75838 to __O_LARGEFILE.
75839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75840 to __O_LARGEFILE.
75841
75842 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75843 Joseph Myers <joseph@codesourcery.com>
75844
75845 * config.make.in (NM): New variable.
75846
75847 2012-10-21 Andreas Jaeger <aj@suse.de>
75848
75849 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75850 definitions and declarations that are provided by
75851 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75852
75853 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75854
75855 [BZ #14683]
75856 * elf/Makefile (tests-static): Add tst-leaks1-static.
75857 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75858 ($(objpfx)tst-leaks1-static): New rule.
75859 ($(objpfx)tst-leaks1-static-mem): Likewise.
75860 (tst-leaks1-static-ENV): New macro.
75861 * elf/dl-open.c (dl_open_worker): Check the main application
75862 only if SHARED is defined.
75863 * elf/tst-leaks1-static.c: New file.
75864
75865 2012-10-20 Andreas Jaeger <aj@suse.de>
75866
75867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75868 generic values for Linux.
75869 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75870 and declarations that are provided by <bits/fcntl-linux.h> and
75871 include <bits/fcntl-linux.h>.
75872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75874
75875 2012-10-20 Roland McGrath <roland@hack.frob.com>
75876
75877 * io/fcntl.h: Move include of <bits/types.h> to the top and
75878 include it unconditionally.
75879
75880 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75881
75882 * wcsmbs/Makefile (tests-ifunc): New variable.
75883 (tests): Add $(tests-ifunc).
75884 * wcsmbs/test-wcschr-ifunc.c: New file.
75885 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75886 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75887 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75888 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75889 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75890
75891 * string/Makefile (tests-ifunc): New variable.
75892 (tests): Add $(tests-ifunc).
75893 * string/test-memccpy.c (TEST_NAME): New macro.
75894 * string/test-memchr.c (TEST_NAME): Likewise.
75895 * string/test-memcmp.c (TEST_NAME): Likewise.
75896 * string/test-memcpy.c (TEST_NAME): Likewise.
75897 * string/test-memmem.c (TEST_NAME): Likewise.
75898 * string/test-memmove.c (TEST_NAME): Likewise.
75899 * string/test-memset.c (TEST_NAME): Likewise.
75900 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75901 * string/test-stpcpy.c (TEST_NAME): Likewise.
75902 * string/test-stpncpy.c (TEST_NAME): Likewise.
75903 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75904 * string/test-strcasestr.c (TEST_NAME): Likewise.
75905 * string/test-strcat.c (TEST_NAME): Likewise.
75906 * string/test-strchr.c (TEST_NAME): Likewise.
75907 * string/test-strcmp.c(TEST_NAME): Likewise.
75908 * string/test-strcpy.c (TEST_NAME): Likewise.
75909 * string/test-strcspn.c (TEST_NAME): Likewise.
75910 * string/test-strlen.c (TEST_NAME): Likewise.
75911 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75912 * string/test-strncmp.c (TEST_NAME): Likewise.
75913 * string/test-strncpy.c (TEST_NAME): Likewise.
75914 * string/test-strnlen.c (TEST_NAME): Likewise.
75915 * string/test-strpbrk.c (TEST_NAME): Likewise.
75916 * string/test-strrchr.c (TEST_NAME): Likewise.
75917 * string/test-strspn.c (TEST_NAME): Likewise.
75918 * string/test-strstr.c (TEST_NAME): Likewise.
75919 * string/test-bcopy-ifunc.c: New file.
75920 * string/test-bzero-ifunc.c: Likewise.
75921 * string/test-memccpy-ifunc.c: Likewise.
75922 * string/test-memchr-ifunc.c: Likewise.
75923 * string/test-memcmp-ifunc.c: Likewise.
75924 * string/test-memcpy-ifunc.c: Likewise.
75925 * string/test-memmem-ifunc.c: Likewise.
75926 * string/test-memmove-ifunc.c: Likewise.
75927 * string/test-mempcpy-ifunc.c: Likewise.
75928 * string/test-memset-ifunc.c: Likewise.
75929 * string/test-rawmemchr-ifunc.c: Likewise.
75930 * string/test-stpcpy-ifunc.c: Likewise.
75931 * string/test-stpncpy-ifunc.c: Likewise.
75932 * string/test-strcasecmp-ifunc.c: Likewise.
75933 * string/test-strcasestr-ifunc.c: Likewise.
75934 * string/test-strcat-ifunc.c: Likewise.
75935 * string/test-strchr-ifunc.c: Likewise.
75936 * string/test-strchrnul-ifunc.c: Likewise.
75937 * string/test-strcmp-ifunc.c: Likewise.
75938 * string/test-strcpy-ifunc.c: Likewise.
75939 * string/test-strcspn-ifunc.c: Likewise.
75940 * string/test-strlen-ifunc.c: Likewise.
75941 * string/test-strncasecmp-ifunc.c: Likewise.
75942 * string/test-strncat-ifunc.c: Likewise.
75943 * string/test-strncmp-ifunc.c: Likewise.
75944 * string/test-strncpy-ifunc.c: Likewise.
75945 * string/test-strnlen-ifunc.c: Likewise.
75946 * string/test-strpbrk-ifunc.c: Likewise.
75947 * string/test-strrchr-ifunc.c: Likewise.
75948 * string/test-strspn-ifunc.c: Likewise.
75949 * string/test-strstr-ifunc.c: Likewise.
75950
75951 * debug/Makefile (tests-ifunc): New variable.
75952 (tests): Add $(tests-ifunc).
75953 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75954 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75955 * debug/test-stpcpy_chk-ifunc.c: New file.
75956 * debug/test-strcpy_chk-ifunc.c: Likewise.
75957
75958 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75959
75960 [BZ #13601]
75961 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75962 header is not read in.
75963
75964 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75965
75966 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75967 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75968 directly. Pass built executable to script as
75969 $(built-program-cmd).
75970 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75971 $testprogram without using LD_LIBRARY_PATH and $ldso.
75972
75973 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75974 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75975 $(rtld-installed-name).
75976 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75977 (rtld_installed_name): Likewise.
75978 (library_path): Likewise.
75979 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75980 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75981 $(run-program-prefix) to tst-tables.sh.
75982 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75983 it to run tst-table-from and tst-table-to.
75984 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75985 Pass it to tst-table.sh.
75986 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75987 $(run-program-prefix) to tst-gettext.sh.
75988 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75989 tst-translit.sh.
75990 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75991 tst-gettext2.sh.
75992 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75993 to run tst-gettext.
75994 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75995 to run tst-gettext2.
75996 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75997 to run tst-translit.
75998 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75999 $(run-program-prefix) to tst-mtrace.sh.
76000 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76001 to run tst-mtrace.
76002 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76003 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76004 $(rtld-installed-name).
76005 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76006 (rtld_installed_name): Likewise.
76007 (run_program_prefix): New variable. Use it to run wordexp-test.
76008
76009 * Makeconfig (ARCH): Remove all definitions.
76010 (machine): Likewise.
76011 [ARCH]: Remove conditional code.
76012 [!objdir]: Give error.
76013 [!objdir] (objpfx): Remove.
76014 [!objdir] (common-objpfx): Likewise.
76015 [!objdir] (common-objdir): Likewise.
76016 * configure.in (config_makefile): Remove. Hardcode Makefile in
76017 AC_CONFIG_FILES call.
76018 * configure: Regenerated.
76019
76020 [BZ #13888]
76021 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76022 or TMPDIR.
76023 (testout): Likewise.
76024
76025 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76026 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76027 $(rtld-installed-name).
76028 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76029 (rtld_installed_name): Likewise.
76030 (runit): Remove function.
76031 (run_getconf): New variable, Use it for running getconf binary.
76032
76033 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
76034
76035 [BZ #14716]
76036 * string/test-memmem.c (check_result): New function.
76037 (do_one_test): Use it.
76038 (check1): New function.
76039 (test_main): Use it.
76040
76041 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76042
76043 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76044
76045 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76046
76047 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76048 (_G_LSEEK64): Likewise.
76049 (_G_MMAP64): Likewise.
76050 (_G_FSTAT64): Likewise.
76051 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76052 (_G_LSEEK64): Likewise.
76053 (_G_MMAP64): Likewise.
76054 (_G_FSTAT64): Likewise.
76055 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76056 unconditional. Call __mmap64 directly.
76057 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76058 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76059 __lseek64 directly.
76060 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76061 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76062 __mmap64 directly.
76063 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76064 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76065 __lseek64 directly.
76066 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76067 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76068 __lseek64 directly.
76069 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76070 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76071 __lseek64 directly.
76072 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76073 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76074 __fxstat64 directly.
76075 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76076 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76077 unconditional.
76078 (freopen64) [!_G_OPEN64]: Remove conditional code.
76079 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76080 unconditional.
76081 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76082 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76083 unconditional.
76084 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76085 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76086 unconditional.
76087 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76088 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76089 unconditional.
76090 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76091 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76092 unconditional.
76093 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76094 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76095 unconditional.
76096 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76097 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76098 unconditional.
76099 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76100
76101 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76102
76103 [BZ #12140]
76104 * manual/memory.texi (Malloc Tunable Parameters): Add note
76105 about free list pointers overwriting some perturb bytes.
76106 Wording suggested by Roland McGrath.
76107
76108 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76109
76110 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76111 (lgamma_test): Likewise.
76112 (tgamma_test): Likewise.
76113
76114 2012-10-16 Florian Weimer <fweimer@redhat.com>
76115
76116 [BZ #14700]
76117 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76118 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76119
76120 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76121
76122 * NEWS: Mention BZ #14716.
76123 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76124 when removing AVAILABLE1_USES_J macro.
76125
76126 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76127
76128 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76129 (__bswap_64): __uint64_t for unsigned 64-bit int.
76130
76131 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76132
76133 * include/string.h (memmem): Declare libc hidden alias.
76134 * string/memmem.c (memmem): Define libc hidden alias.
76135 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76136 __read, __close instead of open, read, close.
76137
76138 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76139
76140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76141 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76142 global and hidden.
76143 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76144 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76145 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76146 Likewise.
76147 (__rawmemchr_sse2): Likewise.
76148 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76149 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76150 (__strchr_sse2): Likewise.
76151 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76152 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76153 (__strcasecmp_sse2): Likewise.
76154 (__strncasecmp_sse2): Likewise.
76155 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76156 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76157 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76158 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76159 (__strrchr_sse2): Likewise.
76160 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76161 ifunc-impl-list.c.
76162 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76163 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76164 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76165 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76166 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76167 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76168 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76169 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76170 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76171 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76172 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76173 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76174 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76175 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76176 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76177 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76178 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76179 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76180 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76181 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76182 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76183 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76184 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76185 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76186 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76188 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76189 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76190 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76191 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76192
76193 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76194 global and hidden.
76195 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76196 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76197 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76198 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76199 Likewise.
76200 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76201 Likewise.
76202 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76203 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76204 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76205 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76206 ifunc-impl-list.c.
76207 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76208 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76209 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76210 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76211 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76212 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76213 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76214 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76215 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76216 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76217 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76218 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76219 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76220 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76221 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76222 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76223 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76224 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76225 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76226 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76227 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76228 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76229 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76230 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76231 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76232 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76233 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76234 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76235 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76236 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76237 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76238 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76239 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76240 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76241 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76242 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76243 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76244 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76245 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76246 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76247 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76248
76249 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76250 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76251 * include/ifunc-impl-list.h: New file.
76252 * misc/ifunc-impl-list.c: Likewise.
76253 * misc/Makefile (routines): Add ifunc-impl-list.
76254 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76255 * string/test-string.h: Include <ifunc-impl-list.h>.
76256 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76257 TEST_NAME]: New variables.
76258 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76259 are defined.
76260 (test_init): Call __libc_ifunc_impl_list to initialize
76261 func_list if TEST_IFUNC and TEST_NAME are defined.
76262
76263 * string/Makefile (strop-tests): Add bcopy and bzero.
76264 * string/test-bcopy.c: New file.
76265 * string/test-bzero.c: Likewise.
76266 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76267 defined.
76268 * string/test-memset.c: Support bzero test if TEST_BZERO is
76269 defined.
76270 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76271 __libc_memmove.
76272 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76273 __libc_memset.
76274 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76275 of memset.
76276
76277 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76278
76279 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76280 * configure: Regenerated.
76281
76282 * Makeconfig (+link-static-before-libc): Don't include
76283 $(link-static-libc).
76284
76285 * libio/libio.h (_IO_pos_t): Remove.
76286
76287 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76288
76289 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76290 McGrath.
76291
76292 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76293
76294 * crypt/crypt-entry.c: Include fips-private.h.
76295 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76296 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76297 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76298 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76299
76300 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76301
76302 * crypt/crypt-private.h: Include stdbool.h.
76303 (_ufc_setup_salt_r): Return bool.
76304 * crypt/crypt-entry.c: Include errno.h.
76305 (__crypt_r): Return NULL with EINVAL for bad salt.
76306 * crypt/crypt_util.c (bad_for_salt): New.
76307 (_ufc_setup_salt_r): Check that salt is long enough and within
76308 the specified alphabet.
76309 * crypt/badsalttest.c: New file.
76310 * crypt/Makefile (tests): Add it.
76311 ($(objpfx)badsalttest): New.
76312
76313 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76314
76315 * NEWS: Add entry for BZ #14602.
76316
76317 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76318
76319 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76320 type-generic.
76321 * math/libm-test.inc: Update comment listing what functions and
76322 macros are tested.
76323 (isgreater_test): New function.
76324 (isgreaterequal_test): Likewise.
76325 (isless_test): Likewise.
76326 (islessequal_test): Likewise.
76327 (islessgreater_test): Likewise.
76328 (isunordered_test): Likewise.
76329 (main): Call the new functions.
76330
76331 2012-10-09 Roland McGrath <roland@hack.frob.com>
76332
76333 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76334 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76335 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76336 * sysdeps/i386/configure: Regenerated.
76337 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76338 * sysdeps/mach/configure: Regenerated.
76339 * sysdeps/mach/hurd/configure: Regenerated.
76340 * sysdeps/powerpc/configure: Regenerated.
76341 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76342 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76343 * sysdeps/s390/s390-32/configure: Regenerated.
76344 * sysdeps/s390/s390-64/configure: Regenerated.
76345 * sysdeps/sh/configure: Regenerated.
76346 * sysdeps/sparc/configure: Regenerated.
76347 * sysdeps/unix/sysv/linux/configure: Regenerated.
76348 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76349 * sysdeps/x86_64/configure: Regenerated.
76350
76351 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76352 defined. Don't check if MAP is NULL.
76353
76354 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76355
76356 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76357 (_G_stat64): Likewise.
76358 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76359 (_G_stat64): Likewise.
76360 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76361 instead of struct _G_stat64.
76362 * libio/fileops.c (mmap_remap_check): Likewise.
76363 (decide_maybe_mmap): Likewise.
76364 (_IO_new_file_seekoff): Likewise.
76365 (_IO_file_stat): Likewise.
76366 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76367 _G_off64_t.
76368 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76369 instead of struct _G_stat64.
76370 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76371
76372 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76373
76374 [BZ #14602]
76375 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76376 Replace with ...
76377 (CHECK_EOL): New macro.
76378 (two_way_short_needle): Check beginning of haystack for EOL. Use
76379 CHECK_EOL.
76380 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76381 Replace with CHECK_EOL.
76382 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76383 Replace with CHECK_EOL.
76384
76385 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76386
76387 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76388 type-generic.
76389 * math/libm-test.inc: Update comment listing what functions and
76390 macros are tested.
76391 (finite_test): New function.
76392 (isinf_test): Likewise.
76393 (isnan_test): Likewise.
76394 (fpclassify_test): Test subnormal input.
76395 (isfinite_test): Likewise.
76396 (isnormal_test): Likewise.
76397 (main): Call the new functions.
76398
76399 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76400
76401 [BZ #14660]
76402 * Makerules (%.dynsym): Force C locale when running
76403 $(OBJDUMP) --dynamic-syms.
76404
76405 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76406
76407 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76408 <stdint.h>.
76409
76410 2012-10-06 David S. Miller <davem@davemloft.net>
76411
76412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76413 upper 32-bits of the length value in %o2 since we use branch-on-register
76414 tests which consider the entire 64-bit register.
76415
76416 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76417
76418 * string/test-strstr.c (check2): Add a test for page boundary.
76419
76420 2012-10-05 David S. Miller <davem@davemloft.net>
76421
76422 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76423 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76424 file.
76425 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76426 sysdep_routines.
76427 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76428 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76429 and bzero when HWCAP_SPARC_CRYPTO is present.
76430
76431 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76432
76433 [BZ #14602]
76434 * string/test-strstr.c (check2): New function.
76435 (test_main): Call check2.
76436
76437 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76438 and bug-strchr1.
76439 * string/bug-strcasestr1.c (do_test): Moved to ...
76440 * string/test-strcasestr.c (check1): Here. New function.
76441 (do_one_test): Break out result checking code into ...
76442 (check_result): This. New function.
76443 (do_one_test): Call check_result.
76444 (test_main): Call check1.
76445 * string/bug-strchr1.c (do_test): Moved to ...
76446 * string/test-strchr.c (check1): Here. New function.
76447 (do_one_test): Break out result checking code into ...
76448 (check_result): This. New function.
76449 (do_one_test): Call check_result.
76450 (test_main): Call check1.
76451 * string/bug-strstr1.c (main): Moved to ...
76452 * string/test-strstr.c (check1): Here. New function.
76453 (do_one_test): Break out result checking code into ...
76454 (check_result): This. New function.
76455 (do_one_test): Call check_result.
76456 (test_main): Call check1.
76457 * string/bug-strcasestr1.c: Removed.
76458 * string/bug-strchr1.c: Likewise.
76459 * string/bug-strstr1.c: Likewise.
76460
76461 * elf/Makefile (dl-routines): Add hwcaps.
76462 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76463 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76464 (_dl_important_hwcaps): Moved to ...
76465 * elf/dl-hwcaps.c: Here. New file.
76466 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76467
76468 [BZ #14557]
76469 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76470 if IS_IN_rtld isn't defined.
76471
76472 * elf/dl-support.c (_dl_sysinfo_map): New.
76473 Include "get-dynamic-info.h" and "setup-vdso.h".
76474 (_dl_non_dynamic_init): Call setup_vdso.
76475 * elf/dynamic-link.h: Don't include <assert.h>.
76476 (elf_get_dynamic_info): Moved to ...
76477 * elf/get-dynamic-info.h: Here. New file.
76478 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76479 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76480 * elf/setup-vdso.h: Here. New file.
76481 * elf/rtld.c: Include "setup-vdso.h".
76482 (dl_main): Call setup_vdso.
76483
76484 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76485
76486 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76487 creal in comment listing functions tested. List finite, isinf,
76488 isnan, isless, islessequal, isgreater, isgreaterequal,
76489 islessgreater, isunordered, lgamma_r and pow10 as functions and
76490 macros not tested. Mention which functions not tested are aliases
76491 for other functions. Fix typo. Note that signs of NaNs are not
76492 tested.
76493
76494 * scripts/config.guess: Update from config.git.
76495 * scripts/config.sub: Likewise.
76496
76497 2012-10-04 Roland McGrath <roland@hack.frob.com>
76498
76499 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76500 * misc/madvise.c (madvise): Renamed to __madvise.
76501 Make madvise a weak alias.
76502 * include/sys/mman.h: Declare __madvise.
76503 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76504 * sysdeps/unix/syscalls.list
76505 (madvise): Make __madvise the strong name, and madvise a weak alias.
76506 * sysdeps/unix/sysv/linux/syscalls.list
76507 (madvise, mmap): Remove redundant entries.
76508 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76509 * malloc/malloc.c (mtrim): Likewise.
76510 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76511
76512 2012-10-03 Roland McGrath <roland@hack.frob.com>
76513
76514 * sysdeps/mach/hurd/dl-cache.c: File removed.
76515 * config.h.in (USE_LDCONFIG): New #undef.
76516 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76517 * configure: Regenerated.
76518 * elf/Makefile (dl-routines): Add dl-cache only under
76519 [$(use-ldconfig) = yes].
76520 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76521 cache on [USE_LDCONFIG].
76522 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76523 [USE_LDCONFIG].
76524 * elf/rtld.c (dl_main): Likewise.
76525
76526 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76527
76528 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76529 _SC_LEVEL4_CACHE_LINESIZE.
76530
76531 2012-10-03 Roland McGrath <roland@hack.frob.com>
76532
76533 * sysdeps/unix/bsd/confstr.h: File removed.
76534
76535 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76536
76537 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76538 sys/sdt-config.h.
76539
76540 2012-10-02 Roland McGrath <roland@hack.frob.com>
76541
76542 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76543 Make 'mapoff' field ElfW(Off) rather than off_t.
76544
76545 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76546
76547 * nscd/Makefile: Remove nscd-cflags and all its users.
76548 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76549 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76550
76551 [BZ #10631]
76552 * malloc.c (malloc_printerr): Clarify error message.
76553
76554 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76555
76556 [BZ #14648]
76557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76558 Set bit_FMA_Usable if FMA is supported.
76559 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76560 macro.
76561 (bit_FMA4_Usable): Updated.
76562 (index_FMA_Usable): New macro.
76563 (CPUID_FMA): Likewise.
76564 (HAS_FMA): Defined with bit_FMA_Usable.
76565
76566 2012-10-01 Roland McGrath <roland@hack.frob.com>
76567
76568 * bits/types.h (__swblk_t): Type removed.
76569 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76570 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76572 (__SWBLK_T_TYPE): Likewise.
76573 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76574 (__SWBLK_T_TYPE): Likewise.
76575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76576 (__SWBLK_T_TYPE): Likewise.
76577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76578 (__SWBLK_T_TYPE): Likewise.
76579
76580 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76581 Honza Horak <hhorak@redhat.com>
76582
76583 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76584 (xdr_mapname): Use YPMAXMAP as maxsize.
76585 (xdr_peername): Use YPMAXPEER as maxsize.
76586 (xdr_keydat): Use YPAXRECORD as maxsize.
76587 (xdr_valdat): Use YPMAXRECORD as maxsize.
76588
76589 2012-10-01 Roland McGrath <roland@hack.frob.com>
76590
76591 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76592
76593 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76594 * csu/init-first.c: ... here.
76595 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76596 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76597 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76598 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76599 * sysdeps/i386/init-first.c: File removed.
76600 * sysdeps/sh/init-first.c: File removed.
76601
76602 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76603
76604 [BZ #14645]
76605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76606 if x * y might underflow to zero and z is zero.
76607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76608 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76609 * math/libm-test.inc (min_subnorm_value): New variable.
76610 (fma_test): Add more tests.
76611 (fma_test_towardzero): Likewise.
76612 (fma_test_downward): Likewise.
76613 (fma_test_upward): Likewise.
76614 (initialize): Set min_subnorm_value.
76615
76616 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76617
76618 [BZ #14638]
76619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76620 0 + 0.
76621 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76622 mode for addition resulting in exact zero.
76623 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76625 exact 0 + 0.
76626 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76628 * math/libm-test.inc (fma_test): Add more tests.
76629 (fma_test_towardzero): New function.
76630 (fma_test_downward): Likewise.
76631 (fma_test_upward): Likewise.
76632 (main): Call the new functions.
76633
76634 2012-09-28 David S. Miller <davem@davemloft.net>
76635
76636 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76637
76638 2012-09-28 Roland McGrath <roland@hack.frob.com>
76639
76640 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76641 instead of SIGALRM.
76642
76643 * sysdeps/gnu/_G_config.h: Moved to ...
76644 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76645 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76646 * sysdeps/generic/_G_config.h: ... here.
76647
76648 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76649
76650 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76651
76652 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76653 Conditionalize target on [libnss_test1.so-version].
76654
76655 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76656
76657 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76658 (elfobjdir): Move out of conditionals.
76659
76660 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76661 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76662 (__nss_lookup_function): Conditionalize label remove_from_tree on
76663 [!DO_STATIC_NSS || SHARED], matching its only use.
76664
76665 2012-09-28 David S. Miller <davem@davemloft.net>
76666
76667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76668 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76669 file.
76670 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76671 sysdep_routines.
76672 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76674 when HWCAP_SPARC_CRYPTO is present.
76675
76676 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76677
76678 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76679
76680 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76681
76682 [BZ #6530]
76683 * stdio-common/vfprintf.c (process_string_arg): Revert
76684 2000-07-22 change.
76685
76686 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76687
76688 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76689 for testcase.
76690 * stdio-common/tst-sprintf.c: Include <locale.h>
76691 (main): Test sprintf's handling of incomplete multibyte
76692 characters.
76693
76694 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76695
76696 * elf/dl-runtime.c (VERSYMIDX): Removed.
76697 * elf/dl-version.c (VERSYMIDX): Likewise.
76698 * elf/do-rel.h (VERSYMIDX): Likewise.
76699 (VALIDX): Likewise.
76700 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76701 * elf/rtld.c (VALIDX): Likewise.
76702 (ADDRIDX): Likewise.
76703 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76704 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76705 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76706 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76707 (VALIDX): Likewise.
76708 (ADDRIDX): Likewise.
76709
76710 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76711
76712 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76713
76714 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76715
76716 [BZ #11438]
76717 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76718 to global scope.
76719 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76720 addresses are in the same scope as 192.0.2/24.
76721 * posix/gai.conf: Document new scope table defaults.
76722
76723 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76724
76725 [BZ #5298]
76726 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76727 for ftell. Compute offsets from write pointers instead.
76728 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76729
76730 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76731
76732 [BZ #14543]
76733 * libio/Makefile (tests): New test case tst-fseek.
76734 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76735 combination works in wide mode.
76736 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76737 state when the external buffer state changes.
76738
76739 2012-09-27 David S. Miller <davem@davemloft.net>
76740
76741 [BZ #14376]
76742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76743 pass reloc->r_addend in as the 'high' argument to
76744 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76745
76746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76747
76748 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76749
76750 * rt/tst-aio2.c: Include <pthread.h>.
76751 * rt/tst-aio3.c: Likewise.
76752
76753 2012-09-27 Steve Ellcey <sellcey@mips.com>
76754
76755 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76756
76757 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76758
76759 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76760 contents on [SHARED].
76761
76762 2012-09-26 Marek Polacek <polacek@redhat.com>
76763
76764 [BZ #14530]
76765 [BZ #13741]
76766 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76767 for C++ and GCC <4.3 as well as for non GCC compilers.
76768
76769 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76770
76771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76772
76773 2012-09-25 Roland McGrath <roland@hack.frob.com>
76774
76775 * Makefile.in (all, install): Declare with .PHONY.
76776 Reported by Michael Hope <michael.hope@linaro.org>.
76777
76778 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76779
76780 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76781 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76782 system header.
76783 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76784 Likewise.
76785 (sydep_routines): Add the new and the internal functions.
76786 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76787 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76789 (GLIBC_2.17): Add the new function.
76790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76791 (GLIBC_2.17): Likewise.
76792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76793 (GLIBC_2.17): Likewise.
76794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76795 (GLIBC_2.17): Likewise.
76796 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76797
76798 2012-09-25 Alan Modra <amodra@gmail.com>
76799
76800 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76801 Add release barrier before setting once_control to say
76802 initialisation is done. Add hints on lwarx. Use macro in
76803 place of isync.
76804 (clear_once_control): Add release barrier.
76805
76806 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76807
76808 [BZ #13629]
76809 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76810 specially.
76811 * math/s_clog10.c (__clog10): Likewise.
76812 * math/s_clog10f.c (__clog10f): Likewise.
76813 * math/s_clog10l.c (__clog10l): Likewise.
76814 * math/s_clogf.c (__clogf): Likewise.
76815 * math/s_clogl.c (__clogl): Likewise.
76816 * math/Makefile (libm-calls): Add x2y2m1.
76817 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76818 (__x2y2m1): Likewise.
76819 (__x2y2m1l): Likewise.
76820 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76821 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76822 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76823 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76824 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76825 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76826 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76827 * sysdeps/i386/fpu/libm-test-ulps: Update.
76828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76829
76830 [BZ #14621]
76831 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76832 int as type of variable DEPTH.
76833 (glob): Use size_t instead of int as type of variables NEWCOUNT
76834 and OLD_PATHC.
76835
76836 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76837
76838 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76839 Add s_sincosf-sse2.
76840 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76841 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76842 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76843 macros for using routine as __sincosf_ia32.
76844 Use macro for function declaration and weak_alias.
76845 * sysdeps/i386/fpu/libm-test-ulps: Update.
76846
76847 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76849
76850 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76851 subnormal argument.
76852 * math/s_cexpf.c (__cexpf): Likewise.
76853 * math/s_csinf.c (__csinf): Likewise.
76854 * math/s_csinhf.c (__csinhf): Likewise.
76855 * math/s_ctanf.c (__ctanf): Likewise.
76856 * math/s_ctanhf.c (__ctanhf): Likewise.
76857 * math/s_ccosh.c (__ccoshf): Likewise.
76858 * math/s_cexp.c (__cexpl): Likewise.
76859 * math/s_csin.c (__csin): Likewise.
76860 * math/s_csinh.c (__csinh): Likewise.
76861 * math/s_ctan.c (__ctan): Likewise.
76862 * math/s_ctanh.c (ctanh): Likewise.
76863 * math/s_ccoshl.c (__ccoshl): Likewise.
76864 * math/s_cexpl.c (__cexpl): Likewise.
76865 * math/s_csinl.c (__csinl): Likewise.
76866 * math/s_csinhl.c (__csinhl): Likewise.
76867 * math/s_ctanl.c (__ctanl): Likewise.
76868 * math/s_ctanhl.c (__ctanhl): Likewise.
76869
76870 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76871
76872 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76873 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76874 (_IO_off_t): Define to __off_t, not _G_off_t.
76875 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76876 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76877 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76878 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76879 type of __dummy and __dummy2 fields.
76880 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76881 (_G_ssize_t): Likewise.
76882 (_G_off_t): Likewise.
76883 (_G_pid_t): Likewise.
76884 (_G_uid_t): Likewise.
76885 (_G_wchar_t): Likewise.
76886 (_G_wint_t): Likewise.
76887 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76888 (_G_ssize_t): Likewise.
76889 (_G_off_t): Likewise.
76890 (_G_pid_t): Likewise.
76891 (_G_uid_t): Likewise.
76892 (_G_wchar_t): Likewise.
76893 (_G_wint_t): Likewise.
76894 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76895 (_G_ssize_t): Likewise.
76896 (_G_off_t): Likewise.
76897 (_G_pid_t): Likewise.
76898 (_G_uid_t): Likewise.
76899 (_G_wchar_t): Likewise.
76900 (_G_wint_t): Likewise.
76901
76902 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76903
76904 * malloc/arena.c: Include malloc-sysdep.h.
76905 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76906 is sufficient to shrink the heap or an unmap is needed.
76907 * sysdeps/generic/malloc-sysdep.h: New file. Define
76908 new function check_may_shrink_heap.
76909 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76910 new function check_may_shrink_heap.
76911
76912 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76913
76914 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76915 comments.
76916
76917 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76918
76919 * catgets/test-gencat.sh: Add "set -e".
76920 * elf/tst-pathopt.sh: Likewise.
76921 * grp/tst_fgetgrent.sh: Likewise.
76922 * iconvdata/run-iconv-test.sh: Likewise.
76923 * intl/tst-gettext.sh: Likewise.
76924 * intl/tst-gettext2.sh: Likewise.
76925 * intl/tst-gettext4.sh: Likewise.
76926 * intl/tst-gettext6.sh: Likewise.
76927 * intl/tst-translit.sh: Likewise.
76928 * io/ftwtest-sh: Likewise.
76929 * libio/test-freopen.sh: Likewise.
76930 * malloc/tst-mtrace.sh: Likewise.
76931 * posix/globtest.sh: Likewise.
76932 * posix/tst-getconf.sh: Likewise.
76933 * posix/wordexp-tst.sh: Likewise.
76934 * stdio-common/tst-printf.sh: Likewise.
76935 * stdio-common/tst-unbputc.sh: Likewise.
76936 * stdlib/tst-fmtmsg.sh: Likewise.
76937 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76938 * catgets/Makefile: Do not specify -e option when running
76939 testsuite shell scripts.
76940 * elf/Makefile: Likewise.
76941 * grp/Makefile: Likewise.
76942 * iconvdata/Makefile: Likewise.
76943 * intl/Makefile: Likewise.
76944 * io/Makefile: Likewise.
76945 * libio/Makefile: Likewise.
76946 * malloc/Makefile: Likewise.
76947 * posix/Makefile: Likewise.
76948 * stdio-common/Makefile: Likewise.
76949 * stdlib/Makefile: Likewise.
76950 * sysdeps/x86_64/Makefile: Likewise.
76951
76952 * io/ftwtest-sh: Add copyright header.
76953 * posix/globtest.sh: Likewise.
76954 * posix/tst-getconf.sh: Likewise.
76955 * posix/wordexp-tst.sh: Likewise.
76956 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76957
76958 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76959
76960 [BZ #13679]
76961 * Makeconfig (+link): Defined as $(+link-static) if
76962 $(build-shared) isn't yes.
76963 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76964 isn't yes.
76965 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76966
76967 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76968
76969 [BZ #14562]
76970 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76971 new chunk size with MALLOC_ALIGN_MASK.
76972
76973 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76974
76975 [BZ #5044]
76976 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76977 <rounding-mode.h>.
76978 (__printf_fphex): Determine rounding using get_rounding_mode and
76979 round_away.
76980 * stdio-common/tst-printf-round.c (struct hex_test): New
76981 structure.
76982 (hex_tests): New variable.
76983 (test_hex_in_one_mode): New function.
76984 (do_test): Also run tests for hex float output.
76985
76986 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76987
76988 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76989 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76990 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76991 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76992 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76993 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76994 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76995 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76996
76997 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76998
76999 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77000 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77001 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77002 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77003
77004 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
77005
77006 [BZ #14579]
77007 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77008 mode only.
77009 * elf/tst-rtld-load-self.sh: New test.
77010 * elf/Makefile: Run it.
77011
77012 2012-09-18 Joseph Myers <joseph@codesourcery.com>
77013
77014 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77015 (tst-writev-ENV): Remove.
77016 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77017
77018 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
77019
77020 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77021
77022 2012-09-17 Joseph Myers <joseph@codesourcery.com>
77023
77024 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77025 unconditional.
77026 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77027 Likewise.
77028 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77029 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77030 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77031 Likewise.
77032
77033 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77034
77035 [BZ #14587]
77036 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77037 * config.make.in (have-cpp-asm-debuginfo): Removed.
77038 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77039 * configure: Regenerated.
77040
77041 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77042
77043 [BZ #5044]
77044 * stdio-common/printf_fp.c: Include <stdbool.h> and
77045 <rounding-mode.h>.
77046 (___printf_fp): Determine rounding using get_rounding_mode and
77047 round_away.
77048 * stdio-common/tst-printf-round.c: New file.
77049 * stdio-common/Makefile (tests): Add tst-printf-round.
77050 (link-libm): New variable.
77051 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77052
77053 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77054
77055 [BZ #14576]
77056 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77057 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77058 Likewise.
77059 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77060 Likewise.
77061
77062 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77063
77064 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77065 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77066 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77067 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77068
77069 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77070
77071 [BZ #14518]
77072 * include/rounding-mode.h: New file.
77073 * sysdeps/generic/get-rounding-mode.h: Likewise.
77074 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77075 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77076 (MAX_VALUE): New macro.
77077 (MIN_VALUE): Likewise.
77078 (overflow_value): New function.
77079 (underflow_value): Likewise.
77080 (round_and_return): Use overflow_value and underflow_value to
77081 determine return values in overflow and underflow cases. Use
77082 round_away to determine rounding depending on rounding mode.
77083 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77084 determine return values in overflow and underflow cases.
77085 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77086 (struct test_results): New structure.
77087 (struct test): Use struct test_results to store expected results
77088 for all rounding modes.
77089 (TEST): Include expected results for all rounding modes.
77090 (test_in_one_mode): New function.
77091 (do_test): Use test_in_one_mode to compute and check results.
77092 Check results for all rounding modes.
77093 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77094 $(link-libm).
77095
77096 2012-12-09 Allan McRae <allan@archlinux.org>
77097
77098 * sysdeps/i386/fpu/libm-test-ulps: Update
77099
77100 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77101
77102 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77103 (_G_int32_t): Likewise.
77104 (_G_uint16_t): Likewise.
77105 (_G_uint32_t): Likewise.
77106 (_G_HAVE_BOOL): Likewise.
77107 (_G_HAVE_ATEXIT): Likewise.
77108 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77109 (_G_HAVE_IO_FILE_OPEN): Likewise.
77110 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77111 (_G_int32_t): Likewise.
77112 (_G_uint16_t): Likewise.
77113 (_G_uint32_t): Likewise.
77114 (_G_HAVE_BOOL): Likewise.
77115 (_G_HAVE_ATEXIT): Likewise.
77116 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77117 (_G_HAVE_IO_FILE_OPEN): Likewise.
77118 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77119 (_G_int32_t): Likewise.
77120 (_G_uint16_t): Likewise.
77121 (_G_uint32_t): Likewise.
77122 (_G_HAVE_BOOL): Likewise.
77123 (_G_HAVE_ATEXIT): Likewise.
77124 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77125 (_G_HAVE_IO_FILE_OPEN): Likewise.
77126
77127 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77128
77129 * csu/libc-tls.c: Update copyright years.
77130
77131 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77132
77133 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77134 [!_G_USING_THUNKS]: Remove conditional code.
77135 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77136 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77137
77138 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77139 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77140 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77141 (_G_VTABLE_LABEL_PREFIX): Likewise.
77142 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77143 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77144 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77145 (_G_VTABLE_LABEL_PREFIX): Likewise.
77146 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77147 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77148 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77149 (_G_VTABLE_LABEL_PREFIX): Likewise.
77150 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77151
77152 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77153
77154 * libio/Makefile: Include ../Makeconfig before tests.
77155 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77156 only if $(build-shared) is yes.
77157
77158 * iconv/gconv_db.c: Update copyright years.
77159
77160 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77161
77162 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77163 unwind info if defined PIC. Fix special cases description.
77164 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77165
77166 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77167 DP_HI_MASK entry.
77168 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77169
77170 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77171
77172 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77173
77174 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77175 is NULL.
77176
77177 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77178 (LDLIBS-tst-chk4): This.
77179 (LDFLAGS-tst-chk5): Renamed to ...
77180 (LDLIBS-tst-chk5): This.
77181 (LDFLAGS-tst-chk6): Renamed to ...
77182 (LDLIBS-tst-chk6): This.
77183 (LDFLAGS-tst-lfschk4): Renamed to ...
77184 (LDLIBS-tst-lfschk4): This.
77185 (LDFLAGS-tst-lfschk5): Renamed to ...
77186 (LDLIBS-tst-lfschk5): This.
77187 (LDFLAGS-tst-lfschk6): Renamed to ...
77188 (LDLIBS-tst-lfschk6): This.
77189
77190 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77191 on $(common-objpfx)soversions.mk.
77192
77193 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77194
77195 [BZ #10014]
77196 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77197 example host name.
77198
77199 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77200
77201 * malloc/arena.c (arena_get_retry): New function that gets
77202 another arena for the caller to try its request on.
77203 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77204 current arena cannot fulfill the request.
77205 (__libc_memalign): Likewise.
77206 (__libc_memalign): Likewise.
77207 (__libc_pvalloc): Likewise.
77208 (__libc_calloc): Likewise.
77209
77210 2012-09-05 John Tobey <john.tobey@gmail.com>
77211
77212 [BZ #13542]
77213 * manual/arith.texi (Operations on Complex): Fix description
77214 of carg branch cut.
77215
77216 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77217
77218 [BZ #10014]
77219 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77220 host name.
77221
77222 [BZ #10038]
77223 * manual/memory.texi (Memory): Make order of menu items match
77224 order of sections.
77225
77226 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77227
77228 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77229 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77230 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77231
77232 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77233
77234 * csu/libc-tls.c (static_dtv): Renamed to ...
77235 (_dl_static_dtv): This. Make it global.
77236 (_dl_initial_dtv): Removed.
77237 (__libc_setup_tls): Updated.
77238 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77239 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77240 DL_INITIAL_DTV.
77241
77242 2012-09-06 Petr Machata <pmachata@redhat.com>
77243
77244 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77245 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77246 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77247 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77248
77249 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77250
77251 [BZ #14545]
77252 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77253 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77254 freeing dtv[-1].
77255
77256 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77257
77258 [BZ #14544]
77259 * Makeconfig (link-static-before-libc): Replace $(+prector)
77260 with $(+prectorT).
77261 (link-static-after-libc): Replace $(+postctor) with
77262 $(+postctorT).
77263 (link-bounded): Replace $(+prector)/$(+postctor) with
77264 $(+prectorT)/$(+postctorT).
77265 (+prectorT): New macro.
77266 (+postctorT): Likewise.
77267
77268 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77269
77270 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77271 (round_str): Handle values above the maximum for IBM long double
77272 as inexact.
77273 * stdlib/tst-strtod-round.c (tests): Regenerated.
77274
77275 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77276
77277 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77278 assembler flag.
77279 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77280 zarch_nohighgprs around the zarch optimized routines.
77281 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77282 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77283 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77284 for zarch.
77285
77286 2012-09-05 David S. Miller <davem@davemloft.net>
77287
77288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77289
77290 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77291 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77292 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77293 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77294 entries.
77295
77296 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77297
77298 * malloc/arena.c: Fold copyright years.
77299 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77300
77301 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77302
77303 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77304
77305 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77306
77307 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77308
77309 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77310
77311 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77312 change internal state upon failure.
77313
77314 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77315
77316 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77317 * malloc/memusage.c (mmap): Likewise.
77318 (mmap64, mremap): Likewise. Adjust name in comment.
77319
77320 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77321
77322 * libio/fileops.c: Fix typos in comments.
77323 * libio/oldfileops.c: Likewise.
77324 * libio/wfileops.c: Likewise.
77325
77326 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77327
77328 [BZ #1349]
77329 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77330 (tst-malloc-usable-ENV): Set environment for test case.
77331 * malloc/hooks.c (malloc_check_get_size): New function to get
77332 requested size.
77333 * malloc/malloc.c (musable): Use malloc_check_get_size.
77334 * malloc/tst-malloc-usable.c: New test case.
77335
77336 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77337
77338 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77339
77340 2012-09-05 Allan McRae <allan@archlinux.org>
77341
77342 [BZ #13966]
77343 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77344 determine header location.
77345 * configure: Regenerated.
77346
77347 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77348
77349 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77350 float format.
77351 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77352 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77353 format.
77354 (test): Regenerate.
77355
77356 2012-09-04 David S. Miller <davem@davemloft.net>
77357
77358 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77359 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77360 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77361
77362 2012-09-04 Florian Weimer <fweimer@redhat.com>
77363
77364 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77365 failures.
77366
77367 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77368
77369 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77370
77371 [BZ #9914]
77372 * libio/iogetdelim.c: Include <limits.h>.
77373 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77374 + len + 1 would overflow.
77375
77376 2012-09-03 Andreas Jaeger <aj@suse.de>
77377
77378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77379 * sysdeps/i386/fpu/libm-test-ulps: Update.
77380
77381 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77382
77383 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77384 Add s_sinf-sse2, s_conf-sse2.
77385
77386 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77387 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77388 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77389 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77390
77391 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77392 for using routine as __sinf_ia32.
77393 Use macro for function declaration and weak_alias.
77394 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77395 for using routine as __cosf_ia32.
77396 Use macro for function declaration and weak_alias.
77397
77398 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77399 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77400
77401 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77402 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77404
77405 * math/libm-test.inc (cos_test): Add more test cases.
77406 (sin_test): Likewise.
77407 (sincos_test): Likewise.
77408
77409 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77410
77411 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77412 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77413 hidden.
77414 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77415
77416 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77417
77418 [BZ #14538]
77419 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77420 first element of the GOT.
77421 (elf_machine_load_address): Return the difference between
77422 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77423
77424 2012-09-01 Allan McRae <allan@archlinux.org>
77425
77426 [BZ #13412]
77427 * configure.in (AWK): Require gawk version 3.0 or later.
77428 * configure: Regenerated.
77429
77430 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77431
77432 * sysdeps/unix/sysv/linux/kernel-features.h
77433 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77435 [__NR_clock_getres]: Make code unconditional.
77436 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77437 (clock_getcpuclockid): Remove code left unreachable by removal of
77438 conditionals.
77439 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77440 code unconditional.
77441 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77442 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77443 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77444 Make code unconditional.
77445 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77446 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77447 * sysdeps/unix/sysv/linux/clock_settime.c
77448 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77449 conditional code.
77450 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77451 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77452
77453 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77454
77455 [BZ #14476]
77456 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77457 scripts/test-installation.pl.
77458
77459 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77460 and $ld_so_version if it is set.
77461
77462 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77463
77464 [BZ #14516]
77465 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77466 failure if reading from procfs failed.
77467 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77468
77469 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77470
77471 * sysdeps/unix/sysv/linux/kernel-features.h
77472 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77473 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77474 Remove conditional code.
77475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77476 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77477 Remove conditional code.
77478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77479 * sysdeps/unix/sysv/linux/i386/fxstat.c
77480 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77482 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77483 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77485 * sysdeps/unix/sysv/linux/i386/lxstat.c
77486 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77488 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77489 Remove conditional code.
77490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77491 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77492 Remove conditional code.
77493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77494 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77495 <kernel-features.h>.
77496 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77497 Remove.
77498 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77499 Remove conditional code.
77500 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77501 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77502 Remove conditional.
77503
77504 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77505
77506 [BZ #5400]
77507 * NEWS: Add fixed bug number.
77508
77509 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77510
77511 [BZ #14519]
77512 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77513 underflowing exponent in case of negative sign.
77514 * stdlib/tst-strtod-round-data: Add more tests.
77515 * stdlib/tst-strtod-round.c (tests): Regenerated.
77516
77517 [BZ #3479]
77518 * stdlib/strtod_l.c (NDIG): Remove.
77519 (HEXNDIG): Likewise.
77520 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77521 smallest representable value.
77522 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77523 lie within an exact representation of 1/2 ulp of the result.
77524 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77525 unconditionally.
77526 (TENS_P9_IDX): Define unconditionally.
77527 (TENS_P9_SIZE): Likewise.
77528 (TENS_P10_IDX): Likewise.
77529 (TENS_P10_SIZE): Likewise.
77530 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77531 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77532 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77533 entries for 10^2^13 and 10^2^14.
77534 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77535 (TENS_P13_IDX): Define.
77536 (TENS_P13_SIZE): Likewise.
77537 (TENS_P14_IDX): Likewise.
77538 (TENS_P14_SIZE): Likewise.
77539 (_fpioconst_pow10): Change array size to
77540 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77541 unconditional.
77542 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77543 1024]: Add entries for 10^2^13 and 10^2^14.
77544 [LAST_POW10 > _LAST_POW10]: Remove #error.
77545 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77546 (_fpioconst_pow10): Change array size to
77547 FPIOCONST_POW10_ARRAY_SIZE.
77548 * stdlib/gen-fpioconst.c: New file.
77549 * stdlib/gen-tst-strtod-round.c: Likewise.
77550 * stdlib/tst-strtod-round-data: Likewise.
77551 * stdlib/tst-strtod-round.c: Likewise.
77552 * stdlib/Makefile (tests): Add tst-strtod-round.
77553
77554 [BZ #14459]
77555 * stdlib/strtod_l.c: Include <stdint.h>.
77556 (NDEBUG): Do not define.
77557 (round_and_return): Change EXPONENT parameter to type intmax_t.
77558 Rearrange calculations to avoid internal overflow possibilities.
77559 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77560 Rearrange calculations to avoid internal overflow possibilities.
77561 Assert that number fits inside MPNSIZE limbs.
77562 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77563 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77564 calculations and add assertions to avoid internal overflow
77565 possibilities. Add casts to avoid signed/unsigned operations.
77566 * stdlib/tst-strtod-overflow.c: New file.
77567 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77568
77569 2012-08-25 Marek Polacek <polacek@redhat.com>
77570
77571 * time/time.h: Fix some typos in comments.
77572
77573 2012-08-23 Roland McGrath <roland@hack.frob.com>
77574
77575 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77576 * posix/tst-rfc3484-2.c: Likewise.
77577 * posix/tst-rfc3484-3.c: Likewise.
77578
77579 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77580
77581 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77582 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77583
77584 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77585
77586 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77587 #include of fxstatat64.c.
77588
77589 2012-08-22 Roland McGrath <roland@hack.frob.com>
77590
77591 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77592 * shadow/getspent_r.c: Likewise.
77593 * shadow/getspnam.c: Likewise.
77594 * shadow/getspnam_r.c: Likewise.
77595 * gshadow/getsgent.c: Likewise.
77596 * gshadow/getsgent_r.c: Likewise.
77597 * gshadow/getsgnam.c: Likewise.
77598 * gshadow/getsgnam_r.c: Likewise.
77599 * inet/getnetbyad.c: Likewise.
77600 * inet/getnetbyad_r.c: Likewise.
77601 * inet/getnetbynm.c: Likewise.
77602 * inet/getnetbynm_r.c: Likewise.
77603 * inet/getnetent.c: Likewise.
77604 * inet/getnetent_r.c: Likewise.
77605 * inet/getproto.c: Likewise.
77606 * inet/getproto_r.c: Likewise.
77607 * inet/getprtent.c: Likewise.
77608 * inet/getprtent_r.c: Likewise.
77609 * inet/getprtname.c: Likewise.
77610 * inet/getprtname_r.c: Likewise.
77611 * inet/getrpcbyname.c: Likewise.
77612 * inet/getrpcbyname_r.c: Likewise.
77613 * inet/getrpcbynumber.c: Likewise.
77614 * inet/getrpcbynumber_r.c: Likewise.
77615 * inet/getrpcent.c: Likewise.
77616 * inet/getrpcent_r.c: Likewise.
77617 * inet/getaliasent.c: Likewise.
77618 * inet/getaliasent_r.c: Likewise.
77619 * inet/getaliasname.c: Likewise.
77620 * inet/getaliasname_r.c: Likewise.
77621 * nscd/getgrgid_r.c: Likewise.
77622 * nscd/getgrnam_r.c: Likewise.
77623 * nscd/gethstbyad_r.c: Likewise.
77624 * nscd/gethstbynm3_r.c: Likewise.
77625 * nscd/getpwnam_r.c: Likewise.
77626 * nscd/getpwuid_r.c: Likewise.
77627 * nscd/getsrvbynm_r.c: Likewise.
77628 * nscd/getsrvbypt_r.c: Likewise.
77629 * nscd/gai.c: Likewise.
77630
77631 * configure.in (build_nscd): New substituted variable, set
77632 by --disable-build-nscd and defaults to $use_nscd.
77633 * configure: Regenerated.
77634 * config.make.in (build-nscd): New substituted variable.
77635 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77636 Change conditional to require [$(build-nscd) = yes] as well.
77637 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77638
77639 [BZ #13696]
77640 * configure.in (use_nscd): New substituted variable, set by
77641 --disable-nscd. If enabled, define USE_NSCD.
77642 * configure: Regenerated.
77643 * config.h.in: Add USE_NSCD.
77644 * config.make.in (use-nscd): New substituted variable.
77645 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77646 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77647 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77648 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77649 (CFLAGS-getgrnam_r.c): Likewise.
77650 (CFLAGS-initgroups.c): Likewise.
77651 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77652 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77653 Variables removed.
77654 * inet/getnetgrent_r.c
77655 (nscd_setnetgrent): New function, broken out of ...
77656 (setnetgrent): ... here. Call it.
77657 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77658 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77659 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77660 * nscd/Makefile (routines, aux): Move definitions after include of
77661 Makeconfig. Conditionalize on [$(use-nscd) != no].
77662 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77663 Conditionalize on [USE_NSCD].
77664 (is_nscd, nscd_init_cb): Likewise.
77665 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77666 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77667 * nss/nss_db/db-init.c: Likewise.
77668 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77669 [USE_NSCD].
77670 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77671 (make_request): Use it.
77672 (cache_valid_p): New function.
77673 (__check_pf): Use it.
77674 * NEWS: Add item for --disable-nscd.
77675
77676 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77677
77678 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77679 to support sed >= 4.2.1-20-ga9bf076.
77680 * configure: Regenerated.
77681
77682 2012-08-22 Roland McGrath <roland@hack.frob.com>
77683
77684 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77685 Conditionalize whole body on [IREL].
77686
77687 2012-08-22 Jeff Law <law@redhat.com>
77688
77689 [BZ #14505]
77690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77691 if the family is PF_UNSPEC.
77692
77693 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77694
77695 * Makerules (lib-version): Rename from V.
77696 (install-lib-nosubdir): Change V to lib-version.
77697
77698 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77699
77700 [BZ #14252]
77701 * powerpc32/power6/wcschr.c: New file.
77702 * powerpc32/power6/wcscpy.c: New file.
77703 * powerpc32/power6/wcsrchr.c: New file.
77704 * powerpc64/power6/wcschr.c: New file.
77705 * powerpc64/power6/wcscpy.c: New file.
77706 * powerpc64/power6/wcsrchr.c: New file.
77707
77708 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77709
77710 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77711 (two_way_short_needle): Use it.
77712 * string/strstr.c (AVAILABLE1_USES_J): Define.
77713 * string/strcasestr.c: Likewise.
77714
77715 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77716 array references.
77717 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77718
77719 [BZ #11607]
77720 * NEWS: Add an entry.
77721 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77722 define their defaults.
77723 (two_way_short_needle): Detect end-of-string on-the-fly.
77724 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77725 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77726 * string/bug-strcasestr1.c: New test.
77727 * string/Makefile: Run it.
77728
77729 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77730
77731 [BZ #11607]
77732 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77733 the first character.
77734
77735 2012-08-21 Roland McGrath <roland@hack.frob.com>
77736
77737 * csu/elf-init.c (__libc_csu_irel): Function removed.
77738 * csu/libc-start.c (apply_irel): New function.
77739 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77740
77741 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77742
77743 * sysdeps/unix/sysv/linux/kernel-features.h
77744 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77745 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77746 <kernel-features.h>.
77747 [__NR_fadvise64_64]: Make code unconditional.
77748 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77749 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77750 !__NR_fadvise64_64)]: Likewise.
77751 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77752 !__NR_fadvise64_64))]: Likewise.
77753 [__NR_fadvise64]: Make code unconditional.
77754 [!__NR_fadvise64]: Remove conditional code.
77755 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77756 <kernel-features.h>.
77757 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77758 unconditional.
77759 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77760 conditional code.
77761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77762 not include <kernel-features.h>.
77763 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77764 unconditional.
77765 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77766 conditional code.
77767 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77768 include <kernel-features.h>.
77769 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77770 unconditional.
77771 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77772 conditional code.
77773
77774 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77775
77776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77777 slight instruction rearrangements per scrollpipe analysis.
77778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77779
77780 2012-08-20 Roland McGrath <roland@hack.frob.com>
77781
77782 * manual/syslog.texi (syslog; vsyslog, closelog):
77783 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77784 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77785
77786 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77787 DSOCAPS to match condition on defining it.
77788
77789 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77790
77791 * sysdeps/unix/sysv/linux/kernel-features.h
77792 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77794 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77795 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77797 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77798 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77800 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77801 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77802
77803 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77804 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77805
77806 * sysdeps/unix/sysv/linux/kernel-features.h
77807 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77808 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77809 unconditional.
77810 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77811 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77812 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77813 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77814 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77815 Make code unconditional.
77816 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77817 (__mmap64) [!__NR_mmap2]: Likewise.
77818 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77819 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77820 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77821 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77822 [__NR_mmap2]: Make code unconditional.
77823 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77824 (__mmap64) [!__NR_mmap2]: Likewise.
77825
77826 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77827
77828 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77829
77830 2012-08-18 Andreas Jaeger <aj@suse.de>
77831
77832 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77833
77834 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77835
77836 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77837 * include/unistd.h (__have_sock_cloexec): Likewise.
77838 (__have_pipe2): Likewise.
77839 (__have_dup3): Likewise.
77840
77841 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77842
77843 [BZ #9685]
77844 * include/unistd.h (__have_pipe2): Change define into an extern int.
77845 (__have_dup3): Likewise.
77846 * socket/have_sock_cloexec.c: Include fcntl.h.
77847 (__have_pipe2): New variable.
77848 (__have_dup3): Likewise.
77849
77850 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77851
77852 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77853
77854 2012-08-17 Marek Polacek <polacek@redhat.com>
77855
77856 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77857 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77858
77859 2012-08-17 Roland McGrath <roland@hack.frob.com>
77860
77861 * configure.in: Add AC_SUBST for sysheaders.
77862 * configure: Regenerated.
77863 * config.make.in (sysheaders): New substituted variable.
77864
77865 * sysdeps/unix/mkfifo.c: Moved ...
77866 * sysdeps/posix/mkfifo.c: ... here.
77867 * sysdeps/unix/mkfifoat.c: Moved ...
77868 * sysdeps/posix/mkfifoat.c: ... here.
77869
77870 * sysdeps/unix/utime.c: Moved ...
77871 * sysdeps/posix/utime.c: ... here.
77872
77873 * sysdeps/unix/time.c: Moved ...
77874 * sysdeps/posix/time.c: ... here.
77875 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77876 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77877
77878 * sysdeps/unix/nice.c: Moved ...
77879 * sysdeps/posix/nice.c: ... here.
77880
77881 * sysdeps/unix/alarm.c: Moved ...
77882 * sysdeps/posix/alarm.c: ... here.
77883
77884 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77885
77886 2012-08-17 Jeff Law <law@redhat.com>
77887
77888 * intl/Makefile (codeset_mo): New variable.
77889 ($(codeset_mo)): New target.
77890 (tst-codeset.out): Depend on that. Remove explicit rule.
77891 (tst-gettext3.out, tst-gettext5.out): Likewise.
77892 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77893 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77894 * intl/tst-codeset.sh: Remove.
77895 * intl/tst-gettext3.sh: Likewise.
77896 * intl/tst-gettext5.sh: Likewise.
77897
77898 2012-08-17 Roland McGrath <roland@hack.frob.com>
77899
77900 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77901 * sysdeps/unix/syscalls.list: ... here.
77902
77903 * sysdeps/posix/getaddrinfo.c
77904 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77905 (gaiconf_init, gaiconf_reload): Use them.
77906 [!_STATBUF_ST_NSEC]
77907 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77908 Define using time_t rather than struct timespec.
77909
77910 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77911 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77912 Macros removed.
77913 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77914 [!NO_THREADS].
77915 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77916 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77917 Likewise.
77918
77919 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77920 __libc_cleanup_push argument.
77921
77922 * bits/param.h: New file.
77923 * misc/sys/param.h: New file.
77924 * include/sys/param.h: New file.
77925 * misc/Makefile (headers): Add bits/param.h.
77926 * sysdeps/generic/sys/param.h: File removed.
77927 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77928 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77929 * sysdeps/mach/hurd/bits/param.h: New file.
77930 * sysdeps/mach/hurd/sys/param.h: File removed.
77931
77932 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77933 last change.
77934
77935 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77936 [_IO_MTSAFE_IO].
77937 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77938 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77939 New macros.
77940
77941 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77942 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77943 rather than -D_IO_MTSAFE_IO conditionally.
77944 * stdio-common/Makefile (CPPFLAGS): Likewise.
77945 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77946 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77947 Use $(libio-mtsafe).
77948 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77949 of -D_IO_MTSAFE_IO.
77950 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77951 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77952 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77953 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77954 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77955 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77956 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77957 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77958 (CFLAGS-fread_u_chk.c): Likewise.
77959 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77960 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77961 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77962 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77963 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77964 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77965 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77966 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77967 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77968
77969 * libio/Makefile: Test [$(libc-reentrant) = yes]
77970 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77971
77972 * Makeconfig
77973 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77974 * sysdeps/pthread/configure: File removed.
77975 * sysdeps/pthread/Makeconfig: New file.
77976 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77977 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77978
77979 2012-08-16 Gary Benson <gbenson@redhat.com>
77980
77981 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77982 unmapping the first object in a namespace.
77983
77984 2012-08-16 Roland McGrath <roland@hack.frob.com>
77985
77986 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77987 (__internal_setnetgrent): ... this. Add internal_function to
77988 definition. Add libc_hidden_def.
77989 (setnetgrent): Update caller.
77990 (internal_endnetgrent): Renamed to ...
77991 (__internal_endnetgrent): ... this. Add internal_function to
77992 definition. Add libc_hidden_def.
77993 (endnetgrent): Update caller.
77994 (internal_getnetgrent_r): Renamed to ...
77995 (__internal_getnetgrent_r): ... this. Add internal_function to
77996 definition. Add libc_hidden_def.
77997 (__getnetgrent_r): Update caller.
77998 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77999
78000 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78001
78002 * stdlib/longlong.h: Update from GCC.
78003
78004 2012-08-16 Roland McGrath <roland@hack.frob.com>
78005
78006 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78007 on _QL, which is set by umul_ppmm but never used.
78008 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78009 variables, which are set by GMP macros but never used.
78010 * stdio-common/_itowa.c (_itowa): Likewise.
78011 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78012 * stdlib/mod_1.c (mpn_mod_1): Likewise.
78013
78014 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
78015
78016 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78017 struct La_sh_regs is not constant.
78018 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78019 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78020 and struct La_sparc64_regs are not constant.
78021
78022 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78023
78024 * sysdeps/unix/sysv/linux/kernel-features.h
78025 (__ASSUME_POSIX_TIMERS): Remove.
78026 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78028 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78029 Make code unconditional.
78030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78031 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78032 Make code unconditional.
78033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78034 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78035 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78037 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78038 Make code unconditional.
78039 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78040 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78041 (__libc_missing_posix_timers): Remove.
78042
78043 2012-08-15 Roland McGrath <roland@hack.frob.com>
78044
78045 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78046 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78047
78048 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78049
78050 * elf/dl-sym.c: Include <stdlib.h>.
78051
78052 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78053 constants, which avoids warnings in 32-bit builds.
78054
78055 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78056 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78057
78058 * misc/lseek.c: File moved to ...
78059 * io/lseek.c: ... here.
78060
78061 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78062
78063 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78064 shifting LEN more than 31 bits at once.
78065
78066 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78067
78068 [BZ #14195]
78069 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78070 segmentation fault for a case of two empty input strings.
78071 * string/test-strncasecmp.c (check1): Renamed to...
78072 (bz12205): ...this.
78073 (bz14195): Add new testcase for two empty input strings and N > 0.
78074 (test_main): Call new testcase, adapt for renamed function.
78075
78076 2012-08-15 Andreas Jaeger <aj@suse.de>
78077
78078 [BZ #14090]
78079 * crypt/md5test2.c: New test, based on test supplied by Serge
78080 Belyshev <belyshev@depni.sinp.msu.ru>.
78081 * crypt/Makefile (xtests): Add md5test-giant..
78082 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78083
78084 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78085
78086 [BZ #14090]
78087 * crypt/md5.c (md5_process_block): Don't assume the buffer
78088 length is less than 2**32.
78089 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78090 length is less than 2**64.
78091
78092 2012-08-15 Roland McGrath <roland@hack.frob.com>
78093
78094 * string/str-two-way.h: Include <sys/param.h>.
78095 (MAX): Macro removed.
78096
78097 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78098 Move #define and #undef of memmove to just before and after
78099 including <string.h>.
78100
78101 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78102 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78103 and after including <string.h>. Move declarations of
78104 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78105 to before #include "string/memmove.c".
78106
78107 * include/dirent.h: Declare __getdirentries.
78108
78109 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78110 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78111
78112 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78113
78114 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78115 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78116 * sysdeps/i386/configure: Regenerated.
78117 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78118 STABS_CURRENT_FILE, and STABS_FUN.
78119 (END): Remove call to STABS_FUN_END.
78120 (STABS_CURRENT_FILE1): Delete.
78121 (STABS_CURRENT_FILE): Likewise.
78122 (STABS_FUN): Likewise.
78123 (STABS_FUN_END): Likewise.
78124 (STABS_FUN2): Likewise.
78125 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78126 * sysdeps/x86_64/configure: Regenerated.
78127
78128 2012-08-14 Roland McGrath <roland@hack.frob.com>
78129
78130 * elf/dl-open.c: Include <atomic.h>.
78131 * elf/dl-lookup.c: Likewise.
78132
78133 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78134
78135 * sysdeps/unix/sysv/linux/kernel-features.h
78136 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78137 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78138 unconditionally.
78139 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78140 unconditionally.
78141 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78142 condition on __ASSUME_CLONE_THREAD_FLAGS.
78143
78144 2012-08-14 Andreas Jaeger <aj@suse.de>
78145
78146 * sysdeps/i386/fpu/libm-test-ulps: Update.
78147
78148 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78149
78150 * include/atomic.h (atomic_exchange_and_add): Split into ...
78151 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78152 New atomic macros.
78153
78154 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78155
78156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78157
78158 2012-08-13 Jeff Law <law@redhat.com>
78159
78160 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78161 null byte in the output string.
78162
78163 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78164
78165 * sysdeps/unix/sysv/linux/kernel-features.h
78166 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78167 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78168 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78169 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78170 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78171 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78172 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78173
78174 2012-08-09 Jeff Law <law@redhat.com>
78175
78176 [BZ #13939]
78177 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78178 When avoid_arena is set, don't retry in the that arena. Pick the
78179 next one, whatever it might be.
78180 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78181 (arena_lock): Pass in new parameter to arena_get2.
78182 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78183 arena_get2.
78184 (__libc_malloc): Unify retrying after main arena failure with
78185 __libc_memalign version.
78186 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78187
78188 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78189
78190 [BZ #14166]
78191 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78192 to __redirect_strstr.
78193 (__strstr_sse42): Use typeof __redirect_strstr.
78194 (__strstr_ia32): Likewise.
78195 (__libc_strstr): New prototype.
78196 (strstr): Renamed to ...
78197 (__libc_strstr): This.
78198 (strstr): New strong alias of __libc_strstr.
78199 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78200 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78201 __redirect_time.
78202 Include <time.h>.
78203 (__libc_time): New prototype.
78204 (time_ifunc): Replace time with __libc_time.
78205 (time): New strong alias and hidden definition of __libc_time.
78206 (__GI_time): Remove strong alias.
78207 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78208 Include <stddef.h>.
78209 (memmove): Redefined to __redirect_memmove.
78210 (__memmove_sse2): Use typeof __redirect_memmove.
78211 (__memmove_ssse3): Likewise.
78212 (__memmove_ssse3_back): Likewise.
78213 (__libc_memmove): New prototype.
78214 (memmove): Renamed to ...
78215 (__libc_memmove): This.
78216 (memmove): New strong alias of __libc_memmove.
78217
78218 2012-08-08 Mark Salter <msalter@redhat.com>
78219
78220 * elf/elf.h
78221 (R_MN10300_TLS_GD): Define.
78222 (R_MN10300_TLS_LD): Likewise.
78223 (R_MN10300_TLS_LDO): Likewise.
78224 (R_MN10300_TLS_GOTIE): Likewise.
78225 (R_MN10300_TLS_IE): Likewise.
78226 (R_MN10300_TLS_LE): Likewise.
78227 (R_MN10300_TLS_DTPMOD): Likewise.
78228 (R_MN10300_TLS_DTPOFF): Likewise.
78229 (R_MN10300_TLS_TPOFF): Likewise.
78230 (R_MN10300_SYM_DIFF): Likewise.
78231 (R_MN10300_ALIGN): Likewise.
78232 (R_MN10300_NUM): Update.
78233
78234 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78235
78236 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78237 Remove.
78238
78239 2012-08-08 Roland McGrath <roland@hack.frob.com>
78240
78241 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78242
78243 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78244 sysdeps/unix -> sysdeps/posix move.
78245 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78246
78247 2012-08-07 Allan McRae <allan@archlinux.org>
78248
78249 [BZ #14303]
78250 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78251 (SUNOS_CPP): Likewise.
78252 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78253 not found.
78254 (open_input): Call CPP using execvp.
78255
78256 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78257
78258 * sysdeps/unix/sysv/linux/kernel-features.h
78259 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78260 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78261 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78262 (__ASSUME_WAITID_SYSCALL): Likewise.
78263 * sysdeps/unix/sysv/linux/dl-execstack.c
78264 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78265 code unconditional.
78266 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78267 conditional code.
78268 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78269 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78270 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78271 code.
78272 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78273 unconditional.
78274 [__ASSUME_WAITID_SYSCALL]: Likewise.
78275 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78276
78277 2012-08-07 Roland McGrath <roland@hack.frob.com>
78278
78279 * sysdeps/unix/closedir.c: Renamed to ...
78280 * sysdeps/posix/closedir.c: ... here.
78281 * sysdeps/unix/dirfd.c: Renamed to ...
78282 * sysdeps/posix/dirfd.c: ... here.
78283 * sysdeps/unix/dirstream.h: Renamed to ...
78284 * sysdeps/posix/dirstream.h: ... here.
78285 * sysdeps/unix/fdopendir.c: Renamed to ...
78286 * sysdeps/posix/fdopendir.c: ... here.
78287 * sysdeps/unix/opendir.c: Renamed to ...
78288 * sysdeps/posix/opendir.c: ... here.
78289 * sysdeps/unix/readdir.c: Renamed to ...
78290 * sysdeps/posix/readdir.c: ... here.
78291 * sysdeps/unix/readdir_r.c: Renamed to ...
78292 * sysdeps/posix/readdir_r.c: ... here.
78293 * sysdeps/unix/rewinddir.c: Renamed to ...
78294 * sysdeps/posix/rewinddir.c: ... here.
78295 * sysdeps/unix/seekdir.c: Renamed to ...
78296 * sysdeps/posix/seekdir.c: ... here.
78297 * sysdeps/unix/telldir.c: Renamed to ...
78298 * sysdeps/posix/telldir.c: ... here.
78299 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78300 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78301 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78302 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78303
78304 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78305 * bits/fcntl.h: ... here.
78306
78307 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78308 not 0.
78309 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78310 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78311 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78312 (struct flock): Move l_start, l_len to the beginning.
78313 Use __pid_t for l_pid.
78314 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78315 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78316 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78317 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78318 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78319 [__USE_LARGEFILE64] (struct flock64): New type.
78320 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78321
78322 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78323 * bits/dirent.h: ... here.
78324
78325 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78326 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78327
78328 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78329
78330 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78331 Change from 2.6.0 to 2.6.16.
78332 * sysdeps/unix/sysv/linux/configure: Regenerated.
78333 * sysdeps/unix/sysv/linux/kernel-features.h
78334 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78335 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78336 version.
78337 (__ASSUME_UTIMES): Likewise.
78338 (__ASSUME_CLONE_STOPPED): Remove.
78339 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78340 architectures, not kernel version.
78341 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78342 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78343 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78344 (__ASSUME_WAITID_SYSCALL): Likewise.
78345 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78346 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78347 * README: State 2.6.16 as minimum Linux kernel version. Do not
78348 refer to older versions.
78349
78350 2012-08-06 Roland McGrath <roland@hack.frob.com>
78351
78352 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78353 Define alphasort64 as an alias.
78354 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78355 Define versionsort64 as an alias.
78356 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78357 Define scandir64 as an alias.
78358 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78359 Define scandirat64 as an alias.
78360 * dirent/alphasort64.c (alphasort64):
78361 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78362 * dirent/versionsort64.c: Likewise.
78363 * dirent/scandir64.c: Likewise.
78364 * dirent/scandirat64.c: Likewise.
78365 * sysdeps/wordsize-64/alphasort.c: File removed.
78366 * sysdeps/wordsize-64/alphasort64.c: File removed.
78367 * sysdeps/wordsize-64/scandir.c: File removed.
78368 * sysdeps/wordsize-64/scandir64.c: File removed.
78369 * sysdeps/wordsize-64/scandirat.c: File removed.
78370 * sysdeps/wordsize-64/scandirat64.c: File removed.
78371 * sysdeps/wordsize-64/versionsort.c: File removed.
78372 * sysdeps/wordsize-64/versionsort64.c: File removed.
78373 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78374 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78379 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78381
78382 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78384 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78386 [defined __arch64__ || defined __sparcv9]
78387 (__INO_T_MATCHES_INO64_T): New macro.
78388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78389 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78390 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78391 * sysdeps/unix/sysv/linux/bits/dirent.h
78392 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78393 (_DIRENT_MATCHES_DIRENT64): New macro.
78394
78395 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78396 Define lockf64 as an alias.
78397 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78398 Define fseeko64 as an alias.
78399 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78400 Define ftello64 as an alias.
78401 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78402 Define _IO_fgetpos64 and fgetpos64 as aliases.
78403 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78404 Define _IO_fsetpos64 and fsetpos64 as aliases.
78405 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78406 Conditionalize body on this.
78407 * libio/fseeko64.c: Likewise.
78408 * libio/ftello64.c: Likewise.
78409 * libio/iofgetpos64.c: Likewise.
78410 * libio/iofsetpos64.c: Likewise.
78411 * sysdeps/wordsize-64/lockf.c: File removed.
78412 * sysdeps/wordsize-64/lockf64.c: File removed.
78413 * sysdeps/wordsize-64/fseeko.c: File removed.
78414 * sysdeps/wordsize-64/fseeko64.c: File removed.
78415 * sysdeps/wordsize-64/ftello.c: File removed.
78416 * sysdeps/wordsize-64/ftello64.c: File removed.
78417 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78418 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78419 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78420 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78421 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78423 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78424 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78425 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78426 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78427 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78429 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78431
78432 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78434 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78436 [defined __arch64__ || defined __sparcv9]
78437 (__OFF_T_MATCHES_OFF64_T): New macro.
78438 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78439 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78441 (__OFF_T_MATCHES_OFF64_T): New macro.
78442
78443 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78444
78445 * stdlib/secure-getenv.c (__secure_getenv): Replace
78446 GLIBC_2_16 with GLIBC_2_17.
78447
78448 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78449
78450 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78451 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78452
78453 2012-08-03 David S. Miller <davem@davemloft.net>
78454
78455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78456
78457 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78458
78459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78460 Remove.
78461 (__ASSUME_CORRECT_SI_PID): Likewise.
78462 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78463 (__ASSUME_TMPFS_NAME): Likewise.
78464 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78465 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78466 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78467 (HAVE_AUX_SECURE): Make definition unconditional.
78468 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78469 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78470
78471 2012-08-03 Roland McGrath <roland@hack.frob.com>
78472
78473 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78474 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78475 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78476 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78477 __eloop_threshold instead of SYMLOOP_MAX.
78478
78479 * sysdeps/generic/eloop-threshold.h: New file.
78480 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78481 of MAXSYMLINKS.
78482 * elf/chroot_canon.c (chroot_canon): Likewise.
78483
78484 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78485
78486 [BZ #13717]
78487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78488 Change to 2.6.0 everywhere.
78489 * sysdeps/unix/sysv/linux/configure: Regenerated.
78490 * sysdeps/unix/sysv/linux/kernel-features.h
78491 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78492 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78493 kernel versions.
78494 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78495 (__ASSUME_FUTEX_REQUEUE): Remove.
78496 (__ASSUME_STATFS64): Define unconditionally.
78497 (__ASSUME_AT_SECURE): Likewise.
78498 (__ASSUME_CORRECT_SI_PID): Likewise.
78499 (__ASSUME_TGKILL): Define without depending on kernel version for
78500 i386.
78501 (__ASSUME_UTIMES): Likewise.
78502 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78503 kernel version.
78504 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78505 (__ASSUME_TMPFS_NAME): Likewise.
78506 * README: Update reference to Linux kernel versions.
78507
78508 2012-08-02 Marek Polacek <polacek@redhat.com>
78509
78510 [BZ #14150]
78511 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78512 libc_cv_asm_type_prefix with %.
78513 * configure: Regenerated.
78514 * include/libc-symbols.h: Remove comment about
78515 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78516 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78517 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78518 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78519 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78520 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78521 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78522 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78523 * elf/tst-unique2mod1.c: Likewise.
78524 * elf/tst-unique1mod2.c: Likewise.
78525 * elf/tst-unique1mod1.c: Likewise.
78526 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78527 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78528 Replace ASM_TYPE_DIRECTIVE with .type.
78529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78530 * sysdeps/i386/sysdep.h: Likewise.
78531 * sysdeps/x86_64/sysdep.h: Likewise.
78532 * sysdeps/sh/sysdep.h: Likewise.
78533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78534 Do not define ASM_TYPE_DIRECTIVE.
78535 * sysdeps/powerpc/sysdep.h: Likewise.
78536 * sysdeps/powerpc/powerpc32/sysdep.h:
78537 Replace ASM_TYPE_DIRECTIVE with .type.
78538 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78539 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78540 * sysdeps/i386/fpu/e_powf.S: Likewise.
78541 * sysdeps/i386/fpu/e_expl.S: Likewise.
78542 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78543 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78544 * sysdeps/i386/fpu/e_pow.S: Likewise.
78545 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78546 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78547 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78548 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78549 * sysdeps/i386/fpu/e_log2.S: Likewise.
78550 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78551 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78552 * sysdeps/i386/fpu/e_powl.S: Likewise.
78553 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78554 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78555 * sysdeps/i386/fpu/e_logl.S: Likewise.
78556 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78557 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78558 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78559 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78560 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78561 * sysdeps/i386/fpu/e_log.S: Likewise.
78562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78563 * sysdeps/i386/fpu/e_logf.S: Likewise.
78564 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78565 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78566 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78567 * sysdeps/i386/fpu/e_log10.S: Likewise.
78568 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78570 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78571 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78573 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78574 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78575 * sysdeps/i386/i686/strtok.S: Likewise.
78576 * sysdeps/i386/i386-mcount.S: Likewise.
78577 * sysdeps/i386/strtok.S: Likewise.
78578 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78579 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78581 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78582 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78584 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78585 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78587 * sysdeps/x86_64/_mcount.S: Likewise.
78588 * sysdeps/x86_64/strtok.S: Likewise.
78589 * sysdeps/sh/_mcount.S: Likewise.
78590
78591 2012-08-01 Roland McGrath <roland@hack.frob.com>
78592
78593 * libio/iofopen.c: Include <fcntl.h>.
78594 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78595 (_IO_fopen64, fopen64): Define as aliases.
78596 * libio/iofopen64.c: Include <fcntl.h>.
78597 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78598 Conditionalize body on this.
78599 * sysdeps/wordsize-64/iofopen.c: File removed.
78600 * sysdeps/wordsize-64/iofopen64.c: File removed.
78601
78602 2012-08-01 Marek Polacek <polacek@redhat.com>
78603
78604 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78605 Use dlfcn directly instead of a variable.
78606 (binfmt-subdir): Do not define.
78607 (dlfcn): Likewise.
78608
78609 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78610
78611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78612 Remove all definitions.
78613 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78614 <kernel-features.h>.
78615 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78616 (miss_F_GETOWN_EX): Remove all definitions.
78617 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78618 macro definition.
78619 [!__ASSUME_FCNTL64]: Remove conditional code.
78620 [__ASSUME_FCNTL64]: Make code unconditional.
78621 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78622 <kernel-features.h>.
78623 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78624 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78625 (lockf64) [__NR_fcntl64]: Make code unconditional.
78626 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78627
78628 * sysdeps/unix/sysv/linux/kernel-features.h
78629 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78630 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78631 Make code unconditional.
78632 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78633 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78635 [__NR_vfork]: Make code unconditional.
78636 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78637 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78639 [__NR_vfork]: Make code unconditional.
78640 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78641 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78642
78643 2012-08-01 Roland McGrath <roland@hack.frob.com>
78644
78645 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78646 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78647
78648 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78649 Define mkstemp64 as an alias.
78650 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78651 Define mkstemps64 as an alias.
78652 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78653 Define mkostemp64 as an alias.
78654 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78655 Define mkostemps64 as an alias.
78656 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78657 Conditionalize body on this.
78658 * misc/mkostemp64.c: Likewise.
78659 * misc/mkostemps64.c: Likewise.
78660 * misc/mkstemps64.c: Likewise.
78661 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78662 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78663 * sysdeps/wordsize-64/mkostemp.c: File removed.
78664 * sysdeps/wordsize-64/mkstemp.c: File removed.
78665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78669
78670 [BZ #14138]
78671 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78672 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78673 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78674 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78675
78676 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78677 compat_symbol macros from <shlib-compat.h> rather than the underlying
78678 default_symbol_version and symbol_version macros, so that DEFAULT
78679 lines in shlib-versions are respected.
78680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78681
78682 2012-08-01 Florian Weimer <fweimer@redhat.com>
78683
78684 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78685 Declare with warn_unused_result.
78686 (setgid, setregid, setegid, setresgid): Likewise.
78687 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78688 Likewise.
78689 * WUR-REPORT: Remove set*id functions.
78690
78691 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78692
78693 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78694
78695 2012-07-31 Roland McGrath <roland@hack.frob.com>
78696
78697 [BZ #10191]
78698 * include/sys/socket.h (__libc_accept, __libc_accept4):
78699 Add attribute_hidden.
78700 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78701
78702 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78703 use of PTR_MANGLE.
78704 * inet/getnetgrent_r.c (setup): Likewise.
78705
78706 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78707
78708 2012-07-31 David S. Miller <davem@davemloft.net>
78709
78710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78711
78712 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78713
78714 [BZ #13629]
78715 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78716 value between 1.0 and 2.0 and smaller part has absolute value less
78717 than 1.0.
78718 * math/s_clog10.c (__clog10): Likewise.
78719 * math/s_clog10f.c (__clog10f): Likewise.
78720 * math/s_clog10l.c (__clog10l): Likewise.
78721 * math/s_clogf.c (__clogf): Likewise.
78722 * math/s_clogl.c (__clogl): Likewise.
78723 * math/libm-test.inc (clog_test): Add more tests.
78724 (clog10_test): Likewise.
78725 * sysdeps/i386/fpu/libm-test-ulps: Update.
78726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78727
78728 2012-07-31 Florian Weimer <fweimer@redhat.com>
78729
78730 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78731 Exit with zero in case no suitable GID is found, and write a
78732 message to standard error.
78733
78734 2012-07-30 Roland McGrath <roland@hack.frob.com>
78735
78736 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78737 rather than to 1.
78738 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78739 (MAXPATHLEN): Removed.
78740 (NOGROUP, NODEV): New macros.
78741 (setbit, clrbit, isset, isclr): New macros.
78742 (howmany, roundup, powerof2): New macros.
78743 (DEV_BSIZE): New macro.
78744
78745 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78746 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78747
78748 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78749 definition on [!__NO_LONG_DOUBLE_MATH].
78750
78751 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78752 PTR_MANGLE and PTR_DEMANGLE.
78753
78754 * socket/accept4.c (accept4): Rename to __libc_accept4.
78755 Define accept4 as a weak alias.
78756
78757 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78758 on [_DIRENT_HAVE_D_TYPE].
78759 * io/ftw.c (ftw_dir): Likewise.
78760
78761 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78762
78763 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78764
78765 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78766 Use the BSD numbers rather than the arbitrary ones we had.
78767 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78768 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78769 (SIGXCPU, SIGXFSZ): New macros.
78770 (_NSIG): Now 32.
78771
78772 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78773 initializer on [_LIBC_REENTRANT].
78774
78775 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78776 definitions inside [_POSIX_MAPPED_FILES].
78777
78778 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78779
78780 * dirent/opendir.c: Include <fcntl.h>.
78781
78782 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78783 (__libc_getspecific): Likewise.
78784 (__libc_key_create): Likewise.
78785
78786 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78787 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78788 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78789 (tmpfile64): Define as alias.
78790 * sysdeps/wordsize-64/tmpfile.c: File removed.
78791 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78794
78795 * stdio-common/vfscanf.c: Include <stdbool.h>.
78796 * nss/makedb.c: Likewise.
78797 * stdio-common/_i18n_number.h: Likewise.
78798 * argp/argp-help.c: Likewise.
78799 * posix/wordexp.c: Likewise.
78800 * sysdeps/posix/spawni.c: Likewise.
78801 * nss/nss_files/files-initgroups.c: Likewise.
78802 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78803 * nss/nss_files/files-initgroups.c: Likewise.
78804 * nss/nss_db/db-netgrp.c: Likewise.
78805 * nss/nss_db/db-initgroups.c: Likewise.
78806 * io/fchmodat.c: Include <sys/stat.h>.
78807
78808 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78809 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78810
78811 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78812 [HAVE_MMAP].
78813
78814 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78815 Add multiple inclusion protection.
78816
78817 2012-07-27 David S. Miller <davem@davemloft.net>
78818
78819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78820
78821 2012-07-27 Gary Benson <gbenson@redhat.com>
78822
78823 [BZ #14298]
78824 * elf/rtld.c: Include <stap-probe.h>.
78825 (dl_main): Added static probes "init_start" and "init_complete".
78826 * elf/dl-load.c: Include <stap-probe.h>.
78827 (lose): Take new parameter "nsid".
78828 Added static probe "map_failed".
78829 (_dl_map_object_from_fd): Pass namespace id to lose.
78830 Added static probe "map_start".
78831 (open_verify): Pass namespace id to lose.
78832 * elf/dl-open.c: Include <stap-probe.h>.
78833 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78834 and "reloc_complete".
78835 * elf/dl-close.c: Include <stap-probe.h>.
78836 (_dl_close_worker): Added static probes "unmap_start" and
78837 "unmap_complete".
78838 * elf/rtld-debugger-interface.txt: New file documenting the above.
78839
78840 2012-07-26 Roland McGrath <roland@hack.frob.com>
78841
78842 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78843 rather than a string variable.
78844 * sunrpc/rpc_main.c (h_output): Likewise.
78845 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78846
78847 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78848
78849 * inet/check_native.c: New file.
78850
78851 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78852
78853 [BZ #13629]
78854 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78855 if larger part has absolute value 1.0.
78856 * math/s_clog10.c (__clog10): Likewise.
78857 * math/s_clog10f.c (__clog10f): Likewise.
78858 * math/s_clog10l.c (__clog10l): Likewise.
78859 * math/s_clogf.c (__clogf): Likewise.
78860 * math/s_clogl.c (__clogl): Likewise.
78861 * math/libm-test.inc (clog_test): Add more tests.
78862 (clog10_test): Likewise.
78863 * sysdeps/i386/fpu/libm-test-ulps: Update.
78864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78865
78866 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78867 (pltexit): Likewise.
78868 (La_regs): Likewise.
78869 (La_retval): Likewise.
78870 (int_retval): Likewise.
78871 Update #error for removed macros to refer only to definitions in
78872 tst-audit.h.
78873 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78874 macro.
78875 (pltexit): Likewise.
78876 (La_regs): Likewise.
78877 (La_retval): Likewise.
78878 (int_retval): Likewise.
78879 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78880 macro.
78881 (pltexit): Likewise.
78882 (La_regs): Likewise.
78883 (La_retval): Likewise.
78884 (int_retval): Likewise.
78885 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78886 macro.
78887 (pltexit): Likewise.
78888 (La_regs): Likewise.
78889 (La_retval): Likewise.
78890 (int_retval): Likewise.
78891 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78892 macro.
78893 (pltexit): Likewise.
78894 (La_regs): Likewise.
78895 (La_retval): Likewise.
78896 (int_retval): Likewise.
78897 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78898 macro.
78899 (pltexit): Likewise.
78900 (La_regs): Likewise.
78901 (La_retval): Likewise.
78902 (int_retval): Likewise.
78903 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78904 macro.
78905 (pltexit): Likewise.
78906 (La_regs): Likewise.
78907 (La_retval): Likewise.
78908 (int_retval): Likewise.
78909 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78910 macro definitions in tst-audit.h.
78911 * sysdeps/i386/tst-audit.h: New file.
78912 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78913 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78914 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78915 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78916 * sysdeps/sh/tst-audit.h: Likewise.
78917 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78918 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78919 * sysdeps/x86_64/tst-audit.h: Likewise.
78920
78921 2012-07-26 Andreas Jaeger <aj@suse.de>
78922
78923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78924 ptrace.
78925
78926 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78927 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78928 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78929 PTRACE_O_MASK.
78930 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78931 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78932 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78933
78934 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78935 value.
78936
78937 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78938 _sigsys.
78939 (si_call_addr, si_syscall, si_arch): Define new macro.
78940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78941 _sigsys.
78942 (si_call_addr, si_syscall, si_arch): Define new marcro.
78943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78944 _sigsys.
78945 (si_call_addr, si_syscall, si_arch): Define new macro.
78946 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78947 _sigsys.
78948 (si_call_addr, si_syscall, si_arch): Define new macro.
78949
78950 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78951
78952 [BZ #13717]
78953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78954 Change to 2.4.21 where previously 2.4.1.
78955 * sysdeps/unix/sysv/linux/configure: Regenerated.
78956 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78957 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78958 Linux kernel version.
78959 (__ASSUME_STD_AUXV): Remove.
78960 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78961 kernel version.
78962 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78963 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78964 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78965 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78966 (__ASSUME_NETLINK_SUPPORT): Likewise.
78967 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78968 (__no_netlink_support): Remove conditional definition.
78969 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78970 Remove.
78971 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78972 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78973 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78974 (if_nameindex_ioctl): Remove.
78975 (if_nameindex_netlink): Do not handle __no_netlink_support.
78976 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78977 code.
78978 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78979 Remove conditional code.
78980 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78981 code.
78982 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78983 unconditional.
78984 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78985 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78986 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78987 Remove.
78988 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78989 [!__ASSUME_STD_AUXV]: Remove conditional code.
78990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78991 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78992 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78994 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78995 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78996 code.
78997 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78999 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79000 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79001 conditional code.
79002 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79004 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79005 code.
79006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79007 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79008 conditional code.
79009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79010 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79011 code unconditional.
79012 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79013 conditional code.
79014 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79015 unconditional.
79016 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79017 conditional code.
79018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79019 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79020 unconditional.
79021 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79022 conditional code.
79023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79024 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79025 code unconditional.
79026 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79027 conditional code.
79028 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79029 unconditional.
79030 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79031 conditional code.
79032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79033 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79034 code unconditional.
79035 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79036 conditional code.
79037 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79038 unconditional.
79039 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79040 conditional code.
79041
79042 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79043
79044 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79045 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79046 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79047 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79048 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79049 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79050 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79051 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79052 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79053 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79054 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79055 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79056 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79057 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79058 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79059 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79060 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79062 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79064 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79065 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79067
79068 2012-07-25 Florian Weimer <fweimer@redhat.com>
79069
79070 * Versions.def: Add GLIBC_2.17.
79071 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79072 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79073 Introduce __libc_secure_getenv.
79074 * stdlib/Versions (2.17): Add secure_getenv
79075 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79076 * stdlib/secure-getenv.c: Rename __secure_getenv to
79077 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79078 symbol __secure_getenv for GLIBC_2.0.
79079 * stdlib/tst-secure-getenv.c: New.
79080 * stdlib/Makefile (tests): Add testcase.
79081 * manual/startup.texi (Environment Access): Document
79082 secure_getenv.
79083 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79084 __libc_secure_getenv.
79085 * inet/ruserpass.c (ruserpass): Likewise.
79086 * malloc/mtrace.c (mtrace): Likewise.
79087 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79088 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79089 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79090 * sysdeps/posix/tempname.c: Likewise. Evaluate
79091 HAVE_SECURE_GETENV.
79092 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79093 __secure_getenv to __libc_secure_getenv.
79094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79096 Likewise.
79097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79098 Likewise.
79099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79106
79107 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79108
79109 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79110 (struct La_i86_retval): Likewise.
79111 (struct La_x86_64_regs): Likewise.
79112 (struct La_x86_64_retval): Likewise.
79113 (struct La_x32_regs): Likewise.
79114 (struct La_x32_retval): Likewise.
79115 (struct La_ppc32_regs): Likewise.
79116 (struct La_ppc32_retval): Likewise.
79117 (struct La_ppc64_regs): Likewise.
79118 (struct La_ppc64_retval): Likewise.
79119 (struct La_sh_regs): Likewise.
79120 (struct La_sh_retval): Likewise.
79121 (struct La_s390_32_regs): Likewise.
79122 (struct La_s390_32_retval): Likewise.
79123 (struct La_s390_64_regs): Likewise.
79124 (struct La_s390_64_retval): Likewise.
79125 (struct La_sparc32_regs): Likewise.
79126 (struct La_sparc32_retval): Likewise.
79127 (struct La_sparc64_regs): Likewise.
79128 (struct La_sparc64_retval): Likewise.
79129 (struct audit_ifaces): Remove architecture-specific pltenter and
79130 pltexit members.
79131 * sysdeps/i386/ldsodefs.h: New file.
79132 * sysdeps/powerpc/ldsodefs.h: Likewise.
79133 * sysdeps/s390/ldsodefs.h: Likewise.
79134 * sysdeps/sh/ldsodefs.h: Likewise.
79135 * sysdeps/sparc/ldsodefs.h: Likewise.
79136 * sysdeps/x86_64/ldsodefs.h: Likewise.
79137
79138 2012-07-25 Marek Polacek <polacek@redhat.com>
79139
79140 [BZ #6808]
79141 * math/libm-test.inc (yn_test): Add another test.
79142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79143 to ERANGE when the result is +-Inf.
79144 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79145 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79146 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79147 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79148
79149 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79150
79151 * conform/data/time.h-data (NULL): Use macro-constant. Require
79152 equal to 0.
79153 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79154 clock_t.
79155 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79156
79157 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79158
79159 * configure.in <sysdeps resolving>: Correct printing
79160 Implies_before.
79161 * configure: Regenerate.
79162
79163 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79164
79165 * math/w_ilogb.c: Include <limits.h>.
79166 * math/w_ilogbl.c: Likewise.
79167
79168 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79169
79170 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79171 va_copy. Document allowing for unavailable va_copy only as
79172 pre-C99 compatibility.
79173 * manual/string.texi (Copying and Concatenation): Use va_copy
79174 instead of __va_copy in concat example.
79175
79176 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79177
79178 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79179 (__sendto): Use create_address_port. Initialize APORT and deallocate
79180 it if not null.
79181
79182 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79183 with O_NOLINK passed to __file_name_lookup.
79184
79185 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79186 with O_NOLINK passed to __file_name_lookup.
79187
79188 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79189 negative N or less than NGIDS.
79190
79191 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79192 type to string_t. Set ERANGE as errno and return it if NAME is not big
79193 enough. Use memcpy instead of strncpy.
79194
79195 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79196
79197 * elf/Makefile (check-data): Remove.
79198 (localplt.data): New vpath directive.
79199 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79200 instead of $(check-data).
79201 * scripts/data/localplt-generic.data: Move to ...
79202 * sysdeps/generic/localplt.data: ... here.
79203 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79204 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79205 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79207 ... here.
79208 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79210 ... here.
79211 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79213 ... here.
79214 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79216 ... here.
79217 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79219 ... here.
79220 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79222 ... here.
79223
79224 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79225
79226 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79227 PPC32 and PPC64 files.
79228 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79229 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79230
79231 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79232
79233 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79234 __makecontext_ret to ...
79235 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79236 ... here and call exit if uc_link is NULL. New file.
79237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79238 __makecontext_ret.S.
79239 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79240 __makecontext_ret to ...
79241 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79242 ... here and call exit if uc_link is NULL. New file.
79243 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79244 __makecontext_ret.S.
79245
79246 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79247
79248 * elf/elf.h (R_390_IRELATIVE): New definition.
79249 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79250 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79251 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79252 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79253 (elf_machine_lazy_rel): Likewise.
79254 * sysdeps/s390/dl-irel.h: New file.
79255 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79256 * sysdeps/s390/s390-64/memset.S: New asm code.
79257 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79258 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79259 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79260 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79261 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79262 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79264 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79265 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79266 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79267 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79268 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79269 * sysdeps/s390/s390-32/memset.S: New asm code.
79270 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79271
79272 2012-07-17 Marek Polacek <polacek@redhat.com>
79273
79274 [BZ #14349]
79275 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79276 * sysdeps/s390/s390-64/configure.in: Likewise.
79277 * sysdeps/sparc/configure.in: Likewise.
79278 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79279 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79280 * sysdeps/i386/configure.in: Likewise.
79281 * sysdeps/x86_64/configure.in: Likewise.
79282 * sysdeps/sh/configure.in: Likewise.
79283 * sysdeps/s390/s390-32/configure: Regenerated.
79284 * sysdeps/s390/s390-64/configure: Likewise.
79285 * sysdeps/x86_64/configure: Likewise.
79286 * sysdeps/sh/configure: Likewise.
79287 * sysdeps/powerpc/powerpc64/configure: Likewise.
79288 * sysdeps/powerpc/powerpc32/configure: Likewise.
79289 * sysdeps/sparc/configure: Likewise.
79290 * sysdeps/i386/configure: Likewise.
79291
79292 * elf/dl-open.c: Comment fixes.
79293
79294 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79295
79296 * Makefile [CXX] (check-data): Remove.
79297 [CXX] (c++-types.data): New vpath directive.
79298 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79299 vpath. Do not allow for C++ type data being missing.
79300 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79301 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79302 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79303 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79304 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79305 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79306 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79308 ... here.
79309 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79311 ... here.
79312 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79314 ... here.
79315 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79317 ... here.
79318 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79320 ... here.
79321 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79323 ... here.
79324 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79326 ... here.
79327 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79329
79330 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79331 definitions to architecture-specific files.
79332 (TLS_IE): Likewise.
79333 (TLS_LD): Likewise.
79334 (TLS_GD): Likewise.
79335 * sysdeps/i386/tls-macros.h: New file.
79336 * sysdeps/powerpc/tls-macros.h: Likewise.
79337 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79338 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79339 * sysdeps/sh/tls-macros.h: Likewise.
79340 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79341 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79342 * sysdeps/x86_64/tls-macros.h: Likewise.
79343
79344 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79345
79346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79347 zero value for regular exit case.
79348
79349 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79350 (__start_context): Preserve zero value for regular exit case.
79351
79352 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79353 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79354
79355 * manual/setjmp.texi (setcontext): Clarify normal process
79356 termination when uc_link is the null pointer.
79357 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79358 exit call.
79359
79360 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79361
79362 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79363 preprocessor. Test for each exception mask separately.
79364
79365 2012-07-16 Andreas Jaeger <aj@suse.de>
79366
79367 * po/ru.po: Update from translation team.
79368
79369 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79370
79371 * conform/data/string.h-data (NULL): Use macro-constant. Require
79372 equal to 0.
79373 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79374 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79375 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79376 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79378
79379 2012-07-13 Andreas Jaeger <aj@suse.de>
79380
79381 * po/fr.po: Update from translation team.
79382
79383 2012-07-12 Marek Polacek <polacek@redhat.com>
79384
79385 [BZ #14173]
79386 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79387 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79388 loop condition.
79389
79390 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79391
79392 [BZ #13717]
79393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79394 Change to 2.4.1 where previously 2.4.0.
79395 * sysdeps/unix/sysv/linux/configure: Regenerated.
79396 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79397 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79398 version.
79399 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79400 (__ASSUME_AT_CLKTCK): Remove.
79401 (__ASSUME_AT_PAGESIZE): Likewise.
79402 (__ASSUME_AT_XID): Likewise.
79403 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79404 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79405 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79406 unconditionally.
79407 (HAVE_AUX_PAGESIZE): Likewise.
79408 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79409 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79410 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79411
79412 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79413
79414 [BZ #14307]
79415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79416 the temporary buffer used to invoke __gethostbyname2_r,
79417 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79418 host_data / struct gaih_addrtuple.
79419 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79420 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79421 header file nss/nsswitch.h.
79422 * nss/nsswitch.h (global scope): Add definition of implementation
79423 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79424 resolv/nss_dns/dns-host.c).
79425
79426 2012-07-11 Andreas Jaeger <aj@suse.de>
79427
79428 * po/fr.po: Update from translation team.
79429
79430 * po/sv.po: Update from translation team
79431 * po/fr.po: Another update from translation team.
79432
79433 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79434
79435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79436 for subnormals or multiply small sinh result by itself.
79437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79439
79440 2012-07-11 David S. Miller <davem@davemloft.net>
79441
79442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79443
79444 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79445
79446 [BZ #14347]
79447 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79448 (INTERNAL_MARK): Shift it here.
79449
79450 2012-07-10 Marek Polacek <polacek@redhat.com>
79451
79452 [BZ #14151]
79453 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79454 libc_cv_asm_global_directive with .globl.
79455 * configure: Regenerated.
79456 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79457 with .globl.
79458 * sysdeps/i386/configure: Regenerated.
79459 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79460 with .globl.
79461 * sysdeps/x86_64/configure: Regenerated.
79462 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79463 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79464 * elf/tst-unique2mod2.c: Likewise.
79465 * elf/tst-unique2mod1.c: Likewise.
79466 * elf/tst-unique1mod2.c: Likewise.
79467 * elf/tst-unique1mod1.c: Likewise.
79468 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79469 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79472 * sysdeps/mach/sysdep.h: Likewise.
79473 * sysdeps/i386/sysdep.h: Likewise.
79474 * sysdeps/i386/i386-mcount.S: Likewise.
79475 * sysdeps/x86_64/_mcount.S: Likewise.
79476 * sysdeps/x86_64/sysdep.h: Likewise.
79477 * sysdeps/sh/_mcount.S: Likewise.
79478 * sysdeps/sh/sysdep.h: Likewise.
79479 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79480 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79481 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79482 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79483 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79484 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79485 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79486 * locale/localeinfo.h: Likewise.
79487 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79488 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79489
79490 2012-07-09 Roland McGrath <roland@hack.frob.com>
79491
79492 [BZ #14336]
79493 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79494 system".
79495 * manual/message.texi (The Uniforum approach): Likewise.
79496 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79497 (glibc iconv Implementation): Likewise.
79498
79499 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79500
79501 [BZ #14337]
79502 * math/s_clog.c (__clog): Avoid scaling a value down where that
79503 could result in underflow.
79504 * math/s_clog10.c (__clog10): Likewise.
79505 * math/s_clog10f.c (__clog10f): Likewise.
79506 * math/s_clog10l.c (__clog10l): Likewise.
79507 * math/s_clogf.c (__clogf): Likewise.
79508 * math/s_clogl.c (__clogl): Likewise.
79509 * math/libm-test.inc (clog_test): Add more tests.
79510 (clog10_test): Likewise.
79511 * sysdeps/i386/fpu/libm-test-ulps: Update.
79512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79513
79514 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79515
79516 [BZ #14283]
79517 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79518 by 7 not 8 to examine high bit of fractional part.
79519
79520 [BZ #14042]
79521 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79522 for call to __mcount_internal.
79523 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79524 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79525 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79526
79527 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79528
79529 [BZ #14154]
79530 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79531 approximation for values within 0x1p-13f of an odd multiple of
79532 pi/4.
79533 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79534 exception. Add more tests.
79535 * sysdeps/i386/fpu/libm-test-ulps: Update.
79536
79537 [BZ #6778]
79538 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79539 inputs and return -1 for them. Do not check for +Inf in case not
79540 reachable for +Inf.
79541 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79542 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79543 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79544 and return -1 for them. Do not check for +Inf in case not
79545 reachable for +Inf.
79546 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79547 define.
79548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79549 and return -1 for them. Do not check for +Inf in case not
79550 reachable for +Inf.
79551 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79552 spurious underflow.
79553 * sysdeps/i386/fpu/libm-test-ulps: Update.
79554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79555
79556 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79557
79558 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79559
79560 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79561
79562 [BZ #14157]
79563 [BZ #14331]
79564 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79565 could result in spurious underflow. Scale down values above
79566 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79567 * math/s_csqrtf.c (__csqrtf): Likewise.
79568 * math/s_csqrtl.c (__csqrtl): Likewise.
79569 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79570 spurious underflow.
79571 * sysdeps/i386/fpu/libm-test-ulps: Update.
79572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79573
79574 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79575
79576 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79577 xopen-msg.sed.
79578 * catgets/xopen-msg.awk: New file.
79579 * catgets/xopen-msg.sed: Removed.
79580
79581 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79582 po2text.sed.
79583 * intl/po2test.awk: New file.
79584 * intl/po2test.sed: Removed.
79585
79586 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79587
79588 [BZ #14328]
79589 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79590 or multiply small sinh result by itself.
79591 * math/s_ctanf.c (__ctanf): Likewise.
79592 * math/s_ctanh.c (__ctanh): Likewise.
79593 * math/s_ctanhf.c (__ctanhf): Likewise.
79594 * math/s_ctanhl.c (__ctanhl): Likewise.
79595 * math/s_ctanl.c (__ctanl): Likewise.
79596 * math/libm-test.inc (ctan_test_tonearest): New function.
79597 (ctan_test_towardzero): Likewise.
79598 (ctan_test_downward): Likewise.
79599 (ctan_test_upward): Likewise.
79600 (ctanh_test_tonearest): Likewise.
79601 (ctanh_test_towardzero): Likewise.
79602 (ctanh_test_downward): Likewise.
79603 (ctanh_test_upward): Likewise.
79604 (main): Call these new functions.
79605 * sysdeps/i386/fpu/libm-test-ulps: Update.
79606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79607
79608 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79609
79610 * .gitignore: Delete /ports entry.
79611
79612 2012-07-03 Andreas Jaeger <aj@suse.de>
79613
79614 * po/bg.po: Update from translation team.
79615 * po/cs.po: Likewise.
79616 * po/de.po: Likewise.
79617 * po/hr.po: Likewise.
79618 * po/nl.pl: Likewise.
79619 * po/pl.po: Likewise.
79620 * po/vi.po: Likewise.
79621
79622 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79623
79624 * Makeconfig [!+link] (+link-before-libc): New variable.
79625 [!+link] (+link-after-libc): Likewise.
79626 [!+link] (+link-tests): Likewise.
79627 [!+link] (+link): Define in terms of $(+link-before-libc) and
79628 $(+link-after-libc).
79629 [!+link-static] (+link-static-before-libc): New variable.
79630 [!+link-static] (+link-static-after-libc): Likewise.
79631 [!+link-static] (+link-static-tests): Likewise.
79632 [!+link-static] (+link-static): Define in terms of
79633 $(+link-static-before-libc) and $(+link-static-after-libc).
79634 [build-shared] (link-libc-before-gnulib): New variable.
79635 [build-shared] (link-libc-tests): Likewise.
79636 [build-shared] (link-libc): Define in terms of
79637 $(link-libc-before-gnulib).
79638 [!build-shared] (link-libc-tests): New variable.
79639 (link-libc-static-tests): New variable.
79640 [!gnulib] (gnulib-arch): New variable.
79641 [!gnulib] (gnulib-tests): Likewise.
79642 [!gnulib] (static-gnulib-arch): Likewise.
79643 [!gnulib] (static-gnulib-tests): Likewise.
79644 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79645 Define with "=" instead of ":=".
79646 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79647 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79648 * Rules (binaries-all-notests): New variable.
79649 (binaries-all-tests): Likewise.
79650 (binaries-static-notests): Likewise.
79651 (binaries-static-tests): Likewise.
79652 (binaries-all): Define using $(binaries-all-notests) and
79653 $(binaries-all-tests).
79654 (binaries-static): Define using $(binaries-static-notests) and
79655 $(binaries-static-tests).
79656 (binaries-shared-tests): New variable.
79657 (binaries-shared-notests): Likewise.
79658 (binaries-shared): Remove variable.
79659 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79660 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79661 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79662 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79663 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79664 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79665 * elf/Makefile (sln-modules): New variable.
79666 (extra-objs): Add $(sln-modules:=.o).
79667 (ldconfig-modules): Add static-stubs.
79668 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79669 * elf/static-stubs.c: New file.
79670
79671 [BZ #14283]
79672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79673 by 7 not 8 to examine high bit of fractional part. Use volatile
79674 variables when splitting into final array of floats if
79675 __FLT_EVAL_METHOD__ != 0.
79676 * math/libm-test.inc (cos_test): Add another test.
79677 (sin_test): Likewise.
79678 * sysdeps/i386/fpu/libm-test-ulps: Update.
79679
79680 [BZ #14273]
79681 * math/libm-test.inc (cosh_test): Add more tests.
79682
79683 * version.h (RELEASE): Set to "development".
79684 (VERSION): Set to "2.16.90".
79685
79686 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79687
79688 * NEWS: Update copyright. Remove last-updated date.
79689 Mention math library bug fixes and timezone data changes.
79690 * README: Mention GNU/Hurd, x32, and HPPA support status.
79691
79692 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79693
79694 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79695
79696 2012-06-27 Andreas Jaeger <aj@suse.de>
79697
79698 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79699
79700 2012-06-25 Andreas Jaeger <aj@suse.de>
79701
79702 * sysdeps/s390/fpu/libm-test-ulps: Update.
79703
79704 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79705 Thomas Schwinge <thomas@codesourcery.com>
79706
79707 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79708 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79710 fanotify_mark.
79711
79712 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79713
79714 * sysdeps/mach/start.c: Remove file.
79715 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79716 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79717 * sysdeps/sh/init-first.c: Likewise.
79718
79719 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79720 registers for frame unwinding purposes, add CFI directives.
79721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79722 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79723 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79724 Likewise.
79725
79726 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79727 __fortify_fail returning.
79728 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79729
79730 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79731 sysdeps/sh/____longjmp_chk.S.
79732 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79733 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79734 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79735 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79736
79737 * sysdeps/sh/abort-instr.h: New file.
79738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79739 process in case exit returns.
79740
79741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79742 initialize the GOT register before use.
79743
79744 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79745 calculation of ARGC > 4.
79746
79747 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79748 meaningful names to some local labels.
79749
79750 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79751 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79752
79753 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79754 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79755 (__arch_compare_and_exchange_val_16_acq): Likewise.
79756 (__arch_compare_and_exchange_val_32_acq): Likewise.
79757 (atomic_exchange_and_add): Fix gUSA sequence.
79758 (atomic_add): Likewise.
79759 (atomic_add_negative): Likewise.
79760 (atomic_add_zero): Likewise.
79761 (atomic_bit_test_set): Likewise.
79762
79763 2012-06-22 Andreas Schwab <schwab@redhat.com>
79764
79765 [BZ #13579]
79766 * include/link.h (struct link_map): Add l_free_initfini.
79767 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79768 l_initfini.
79769 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79770 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79771 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79772 set.
79773
79774 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79775
79776 * configure.in: Use AC_LANG_SOURCE.
79777 * configure: Regenerate.
79778
79779 2012-06-22 Roland McGrath <roland@hack.frob.com>
79780
79781 * configure.in (libc_cv_localstatedir): New substituted variable.
79782 * configure: Regenerated.
79783 * config.make.in (localstatedir): New variable, substituted from
79784 libc_cv_localstatedir.
79785 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79786 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79787 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79788 * sysdeps/gnu/configure: Regenerated.
79789
79790 2012-06-21 Jeff Law <law@redhat.com>
79791
79792 [BZ #14277]
79793 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79794 free. Simplify list management for _LIBC case.
79795
79796 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79797
79798 [BZ #14273]
79799 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79800 Clear sign bit of 64-bit integer value before comparing against
79801 overflow value.
79802
79803 * sysdeps/mach/configure: Regenerated.
79804
79805 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79806
79807 [BZ #14278]
79808 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79809
79810 2012-06-21 Jeff Law <law@redhat.com>
79811
79812 [BZ #13882]
79813 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79814 uint16_t for elements in the "seen" array to avoid char overflows.
79815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79816 * elf/dl-open.c (dl_open_worker): Likewise.
79817
79818 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79819
79820 * scripts/list-sources.sh: Scan PORTS for translations.
79821 * po/libc.pot: Regenerated.
79822
79823 2012-06-21 Andreas Jaeger <aj@suse.de>
79824
79825 [BZ #12194]
79826 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79827 warning.
79828 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79829 * bits/byteswap-16.h (__bswap_16): Likewise.
79830 * bits/byteswap.h (__bswap_constant_16): Likewise.
79831
79832 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79833
79834 [BZ #14117]
79835 * sysdeps/i386/fpu_control.h: Removed.
79836 * sysdeps/x86_64/fpu_control.h: Moved to ...
79837 * sysdeps/x86/fpu_control.h: Here.
79838
79839 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79840 (_FPU_SETCW): Likewise.
79841
79842 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79843
79844 [BZ #14117]
79845 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79846 * sysdeps/x86/fpu/bits/mathinline.h: This.
79847 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79848
79849 [BZ #14050]
79850 [BZ #14117]
79851 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79852 functions if __x86_64__ is defined.
79853
79854 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79855
79856 * string/endian.h: Add !__ASSEMBLER__ condition for including
79857 conversion interfaces.
79858
79859 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79860
79861 [BZ #14241]
79862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79863 of ABS(x) in calculating zero to negative powers other than odd
79864 integers.
79865 * math/libm-test.inc (pow_test): Add more tests.
79866
79867 2012-06-15 Andreas Jaeger <aj@suse.de>
79868
79869 * manual/contrib.texi (Contributors): Update entry of Liubov
79870 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79871 Machado Filho.
79872
79873 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79874
79875 * string/string.h: Add __wur to GNU version of strerror_r.
79876
79877 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79878
79879 [BZ #14229]
79880 * string/Makefile (tests): Add tst-strtok_r.
79881 * string/tst-strtok_r.c: New file.
79882 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79883 RAX_LP/RDX_LP on SAVE_PTR.
79884
79885 2012-06-14 Roland McGrath <roland@hack.frob.com>
79886
79887 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79888
79889 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79890
79891 * libm_test.inc (csqrt_test): Allow more spurious underflow
79892 exceptions.
79893 (j0_test): Likewise.
79894 (j1_test): Likewise.
79895 (y0_test): Likewise.
79896 (y1_test): Likewise.
79897
79898 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79899
79900 * po/Makefile (libc.pot): Use UTF-8 charset.
79901
79902 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79903
79904 [BZ #14210]
79905 Suppress sign-conversion warning from FD_SET.
79906 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79907 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79908 not unsigned long int.
79909 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79910
79911 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79912
79913 [BZ #14050]
79914 [BZ #14117]
79915 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79916 __extern_always_inline instead of __extern_inline.
79917 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79918 (__signbit): Likewise.
79919 (__signbitl): Support C++ namespace.
79920 (lrintf): New inline function.
79921 (lrint): Likewise.
79922 (llrintf): Likewise.
79923 (llrint): Likewise.
79924 (fmaxf): Likewise.
79925 (fmax): Likewise.
79926 (fminf): Likewise.
79927 (fmin): Likewise.
79928 (rint): Likewise.
79929 (rintf): Likewise.
79930 (ceil): Likewise.
79931 (ceilf): Likewise.
79932 (floor): Likewise.
79933 (floorf): Likewise.
79934 (nearbyint): Likewise.
79935 (nearbyintf): Likewise.
79936
79937 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79938
79939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79940 non-default versions.
79941
79942 2012-06-11 Roland McGrath <roland@hack.frob.com>
79943
79944 [BZ #14218]
79945 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79946
79947 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79948
79949 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79950 (FE_UPWARD, FE_DOWNWARD): Don't define.
79951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79952 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79953
79954 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79955 reading it.
79956 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79958
79959 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79960
79961 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79963 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79964 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79965
79966 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79967
79968 [BZ #14117]
79969 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79970 * sysdeps/i386/fpu/Implies: New file.
79971 * sysdeps/x86_64/fpu/Implies: Likewise.
79972 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79973 * sysdeps/x86/fpu/bits/fenv.h: This.
79974
79975 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79976 __SSE_MATH__.
79977
79978 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79979
79980 [BZ #14134]
79981 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79982 character 0xffff that matches the last element of the
79983 conversion table.
79984
79985 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79986
79987 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79988 fmodl commit.
79989
79990 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79991
79992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79993 values higher than 25.6283.
79994
79995 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79996
79997 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79998 subnormal exponent extraction and add some __builtin_expect.
79999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80000 Fix for subnormal mantissa calculation.
80001
80002 2012-06-04 Mike Frysinger <vapier@gentoo.org>
80003
80004 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80005 cpu2 is -1 and errno is not ENOSYS.
80006
80007 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
80008
80009 [BZ #14117]
80010 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80011 * sysdeps/x86/bits/string.h: This.
80012 * sysdeps/x86_64/bits/string.h: Removed.
80013
80014 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80015 if not compiling for x86-64, but compiling for >= i486.
80016
80017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80018 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80019
80020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80021 New macro from Linux kernel 3.4.0.
80022 (FP_XSTATE_MAGIC2): Likewise.
80023 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80024 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80025 (struct _fpx_sw_bytes): New struct.
80026 (struct _xsave_hdr): Likewise.
80027 (struct _ymmh_state): Likewise.
80028 (struct _xstate): Likewise.
80029
80030 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80031 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80033 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80034 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80035 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80036
80037 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80039 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80040 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80041 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80042 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80043
80044 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80045
80046 [BZ #13743]
80047 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80048 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80049 (sysdep_headers): Include sys/platform/ppc.h.
80050 * sysdeps/powerpc/test-gettimebase.c: Test for
80051 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80052 * manual/Makefile (appendices): Include platform.texi.
80053 * manual/contrib.texi (Contributors): Update @node pointers.
80054 * manual/maint.texi (Maintenance): Likewise.
80055 (Platform): New node.
80056 * manual/platform.texi: New file. Document the new features.
80057
80058 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80059 Jakub Jelinek <jakub@redhat.com>
80060
80061 [BZ #14188]
80062 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80063 where __builtin_expect is unavailable.
80064
80065 2012-06-03 David S. Miller <davem@davemloft.net>
80066
80067 * stdlib/longlong.h: Updated from GCC.
80068
80069 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80070
80071 [BZ #14042]
80072 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80073 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80074 __mcount_internal.
80075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80076 (GLIBC_2.16): Likewise.
80077
80078 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80079
80080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80081
80082 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80083
80084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80085 (default-abi): New variable.
80086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80087 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80088 variable.
80089 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80090 Likewise.
80091 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80092 Likewise.
80093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80094 Likewise.
80095
80096 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80097 definition. Document in comment.
80098
80099 2012-06-01 David S. Miller <davem@davemloft.net>
80100
80101 * stdlib/longlong.h: Updated from GCC.
80102
80103 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80104
80105 [BZ #14117]
80106 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80107 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80108 sys/debugreg.h sys/io.h here.
80109 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80110 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80111 sys/io.h.
80112 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80113 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80114 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80115 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80116 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80117 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80118
80119 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80120 Define only if __x86_64__ is defined.
80121
80122 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80123
80124 [BZ #14048]
80125 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80126 Use int64_t for variable i.
80127 * math/libm-test.inc (fmod_test): Add more tests.
80128
80129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80130 z computation is not scheduled after fetestexcept.
80131 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80132 Use math_force_eval instead of asm to ensure calculation scheduled
80133 before exception test.
80134 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80135 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80136
80137 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80138
80139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80140 computation is not scheduled after fetestexcept.
80141
80142 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80143
80144 [BZ #14117]
80145 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80146 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80147
80148 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80149
80150 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80151 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80152
80153 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80154
80155 [BZ #14117]
80156 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80157 <bits/wordsize.h>.
80158 (__WCHAR_MIN): Support __WORDSIZE == 64.
80159 (__WCHAR_MAX): Likewise.
80160
80161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80163
80164 [BZ #14183]
80165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80166 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80167
80168 [BZ #14117]
80169 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80170 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80171
80172 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80173 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80174
80175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80176 Defined to 1 if __x86_64__ isn't defined.
80177 (_STAT_VER_LINUX_OLD): New.
80178 (st_atime): Remove duplicate.
80179 (st_mtime): Likewise.
80180 (st_ctime): Likewise.
80181
80182 2012-05-31 David S. Miller <davem@davemloft.net>
80183
80184 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80185 entries.
80186
80187 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80188
80189 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80190 gen-libm-test.pl.
80191
80192 [BZ #14132]
80193 * elf/dl-reloc.c: Include <_itoa.h>.
80194 (_dl_reloc_bad_type): Remove use of INTUSE.
80195 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80196 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80197 * stdio-common/psiginfo.c (psiginfo): Likewise.
80198 * stdio-common/psignal.c (psignal): Likewise.
80199 * string/strsignal.c (strsignal): Likewise.
80200 * include/signal.h (_sys_siglist): Declare hidden proto.
80201 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80202 INTVARDEF with libc_hidden_data_def.
80203 * stdio-common/itoa-udigits.c: Likewise.
80204 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80205 (_itoa_lower_digits_internal): Remove declaration.
80206 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80207 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80208 (_sys_sigabbrev_internal): Remove aliases.
80209 (_sys_siglist): Define hidden alias.
80210
80211 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80212
80213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80214 bits/sysctl.h.
80215
80216 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80217
80218 [BZ #14117]
80219 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80220 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80221
80222 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80223 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80224 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80225 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80227 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80228
80229 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80230 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80231 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80232
80233 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80234 with __addr.
80235 (insw): Likewise.
80236 (insl): Likewise.
80237 (outsb): Likewise.
80238 (outsw): Likewise.
80239 (outsl): Likewise.
80240
80241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80243 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80244
80245 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80246 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80248 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80249 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80250 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80251
80252 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80253 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80254
80255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80256 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80257
80258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80260 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80261
80262 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80263 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80264 to ...
80265 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80266
80267 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80268 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80269 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80270
80271 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80272 for x86-64.
80273 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80274
80275 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80276
80277 * math/math.h (M_El): Use two more decimal places.
80278 (M_LOG2El): Likewise.
80279 (M_LOG10El): Likewise.
80280 (M_LN2l): Likewise.
80281 (M_LN10l): Likewise.
80282 (M_PIl): Likewise.
80283 (M_PI_2l): Likewise.
80284 (M_PI_4l): Likewise.
80285 (M_1_PIl): Likewise.
80286 (M_2_PIl): Likewise.
80287 (M_2_SQRTPIl): Likewise.
80288 (M_SQRT2l): Likewise.
80289 (M_SQRT1_2l): Likewise.
80290
80291 2012-05-31 David S. Miller <davem@davemloft.net>
80292
80293 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80294 values between float registers.
80295 * sysdeps/sparc/sparc64/memset.S: Likewise.
80296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80297
80298 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80299
80300 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80301 -D_FORTIFY_SOURCE=1.
80302 (CPPFLAGS-tst-longjmp_chk.c): Define.
80303 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80304 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80305 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80306 CFLAGS-tst-wchar-h.c.
80307
80308 2012-05-31 Marek Polacek <polacek@redhat.com>
80309
80310 [BZ #14132]
80311 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80312 __endmntent_internal): Remove declaration.
80313 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80314 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80315 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80316
80317 2012-05-30 David S. Miller <davem@davemloft.net>
80318
80319 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80320 (___Q_simulate_exceptions): Use real FP ops rather than writing
80321 into the %fsr.
80322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80323 Likewise.
80324
80325 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80326
80327 [BZ #14117]
80328 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80329 * sysdeps/x86/bits/xtitypes.h: This.
80330
80331 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80332 * sysdeps/x86/bits/wordsize.h: This.
80333
80334 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80335 * sysdeps/x86/bits/huge_vall.h: This.
80336
80337 * sysdeps/i386/bits/select.h: Removed.
80338 * sysdeps/x86_64/bits/select.h: Renamed to ...
80339 * sysdeps/x86/bits/select.h: This.
80340
80341 * sysdeps/i386/bits/setjmp.h: Removed.
80342 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80343 * sysdeps/x86/bits/setjmp.h: This.
80344
80345 * sysdeps/i386/bits/mathdef.h: Removed.
80346 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80347 * sysdeps/x86/bits/mathdef.h: This.
80348
80349 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80350
80351 [BZ #14132]
80352 * include/sys/socket.h (__connect_internal)
80353 (__libc_sa_len_internal): Remove declaration.
80354 (__connect, __libc_sa_len): Declare hidden_proto.
80355 (SA_LEN): Remove use of INTUSE.
80356 * socket/connect.c: Add libc_hidden_def.
80357 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80358 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80359 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80360 alias.
80361 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80362 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80363 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80364 of adding _internal alias.
80365
80366 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80367
80368 [BZ #14117]
80369 * sysdeps/i386/bits/link.h: Removed.
80370 * sysdeps/i386/bits/linkmap.h: Likewise.
80371 * sysdeps/x86_64/bits/link.h: Renamed to ...
80372 * sysdeps/x86/bits/link.h: This.
80373 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80374 * sysdeps/x86/bits/linkmap.h: This.
80375
80376 * sysdeps/i386/bits/endian.h: Removed.
80377 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80378 * sysdeps/x86/bits/endian.h: This.
80379
80380 * sysdeps/i386/bits/byteswap.h: Removed.
80381 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80382 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80383 * sysdeps/x86/bits/byteswap.h: This.
80384 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80385 * sysdeps/x86/bits/byteswap-16.h: This.
80386 * sysdeps/i386/Implies: Add x86.
80387 * sysdeps/x86_64/Implies: Likewise.
80388
80389 2012-05-30 David S. Miller <davem@davemloft.net>
80390
80391 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80392 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80393 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80394 (FP_TRAPPING_EXCEPTIONS): Define.
80395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80396 (FP_TRAPPING_EXCEPTIONS): Define.
80397 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80398 subnormals only when inexact has been signalled or underflow
80399 exceptions are enabled.
80400 (_FP_PACK_CANONICAL): Likewise.
80401
80402 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80403
80404 [BZ #14183]
80405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80406 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80407
80408 2012-05-30 Richard Henderson <rth@twiddle.net>
80409
80410 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80411 with #ifndef NOT_IN_libc.
80412
80413 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80414 marked to avoid plt entry.
80415
80416 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80417
80418 [BZ #14112]
80419 * Makeconfig (default-abi): New macro.
80420 (abi-includes): Likewise.
80421 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80422 $(abi-$(default-abi)-lib-soname) for soname if defined.
80423 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80424 abi-variants.
80425 * Makefile (installed-stubs): Likewise.
80426 * include/stubs-biarch.h: Removed.
80427 * scripts/lib-names.awk: Only handle one library at a time.
80428 * scripts/soversions.awk: Remove WORDSIZE support.
80429 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80430 entries.
80431 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80432 Removed.
80433 (syscall-list-default-condition): Likewise.
80434 (syscall-list-default-condition): Likewise.
80435 (syscall-list-includes): Likewise.
80436 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80437 syscall-list-* with abi-*. Handle undefined abi-variants.
80438 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80439 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80440 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80441 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80442 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80443 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80444 Removed.
80445 (syscall-list-32-options): Likewise.
80446 (syscall-list-32-condition): Likewise.
80447 (syscall-list-64-options): Likewise.
80448 (syscall-list-64-condition): Likewise.
80449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80450 macro.
80451 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80452 Renamed to ...
80453 (abi-*): This.
80454 (abi-64-ld-soname): New macro.
80455 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80456 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80457 Renamed to ...
80458 (abi-*): This.
80459 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80460 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80461
80462 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80463
80464 * sysdeps/unix/sysv/linux/kernel-features.h
80465 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80466 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80467 include <kernel-features.h>.
80468 [!__NR_ftruncate64]: Remove conditional code.
80469 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80470 [__NR_ftruncate64]: Make code unconditional.
80471 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80472 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80473 include <kernel-features.h>.
80474 [!__NR_ftruncate64]: Remove conditional code.
80475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80476 [__NR_ftruncate64]: Make code unconditional.
80477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80479 include <kernel-features.h>.
80480 [!__NR_ftruncate64]: Remove conditional code.
80481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80482 [__NR_ftruncate64]: Make code unconditional.
80483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80485 include <kernel-features.h>.
80486 [!__NR_ftruncate64]: Remove conditional code.
80487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80488 [__NR_ftruncate64]: Make code unconditional.
80489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80490
80491 * configure.in (libc_cv_fpie): Weaken to a compile test using
80492 LIBC_TRY_CC_OPTION.
80493 * configure: Regenerated.
80494
80495 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80496
80497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80501 Refreshed.
80502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80508 Refreshed.
80509
80510 2012-05-27 David S. Miller <davem@davemloft.net>
80511
80512 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80513 (___Q_zero): New.
80514 (__Q_simulate_exceptions): Return void. Change to simulate
80515 exceptions by writing into the %fsr.
80516 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80517 (__Qp_handle_exceptions): Likewise.
80518 (numbers): Delete.
80519 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80520 __Qp_handle_exceptions.
80521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80522 __Qp_handle_exceptions.
80523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80524 as unused and give dummy FP_RND_NEAREST initializer.
80525 (FP_INHIBIT_RESULTS): Define.
80526 (___Q_simulate_exceptions): Update declaration.
80527 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80528 formatting.
80529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80530 as unused and give dummy FP_RND_NEAREST initializer.
80531 (__Qp_handle_exceptions): Update declaration.
80532 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80533 formatting.
80534
80535 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80536
80537 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80538 the temporary FPU control word.
80539 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80540 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80542 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80543 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80544 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80545 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80546 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80547 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80548 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80549 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80550
80551 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80552
80553 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80554 fields.
80555
80556 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80557
80558 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80559 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80560 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80561 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80562 Likewise.
80563 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80564 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80565 Likewise.
80566
80567 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80568
80569 * po/h.po: Update from translation team.
80570
80571 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80572
80573 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80574
80575 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80576 handling of denormals.
80577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80578 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80579 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80580 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80584 Likewise.
80585
80586 2012-05-26 Marek Polacek <polacek@redhat.com>
80587
80588 [BZ #14152]
80589 * math/libm-test.inc (fma_test): Don't always expect underflow
80590 exception.
80591
80592 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80593
80594 [BZ #12416]
80595 * elf/tst-execstack.c: Include stackinfo.h.
80596 (do_test): Adjust test case to ensure that pthread_getattr_np
80597 behaviour remains the same after marking stack executable.
80598
80599 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80600
80601 * sysdeps/unix/sysv/linux/kernel-features.h
80602 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80603 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80604 kernel-features.h.
80605 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80606 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80607 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80608 kernel-features.h.
80609 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80610 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80611
80612 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80613
80614 * configure.in: Define the default includes to being none.
80615 * configure: Regenerated.
80616
80617 2012-05-25 Roland McGrath <roland@hack.frob.com>
80618
80619 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80620 * sysdeps/x86_64/setjmp.S: Likewise.
80621 * sysdeps/i386/bsd-setjmp.S: Likewise.
80622 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80623 * sysdeps/i386/setjmp.S: Likewise.
80624 * sysdeps/i386/__longjmp.S: Likewise.
80625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80626 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80627
80628 * include/stap-probe.h: New file.
80629 * configure.in: Handle --enable-systemtap.
80630 * configure: Regenerated.
80631 * config.h.in (USE_STAP_PROBE): New #undef.
80632 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80633 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80634 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80635
80636 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80637
80638 [BZ #13717]
80639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80640 to 2.4.0 where earlier.
80641 * sysdeps/unix/sysv/linux/configure: Regenerated.
80642 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80643 <kernel-features.h>.
80644 [__ASSUME_32BITUIDS]: Make code unconditional.
80645 [!__ASSUME_32BITUIDS]: Remove conditional code.
80646 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80647 <kernel-features.h>.
80648 [__ASSUME_32BITUIDS]: Make code unconditional.
80649 [!__ASSUME_32BITUIDS]: Remove conditional code.
80650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80651 [__ASSUME_32BITUIDS]: Make code unconditional.
80652 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80653 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80654 <kernel-features.h>.
80655 [__ASSUME_32BITUIDS]: Make code unconditional.
80656 [!__ASSUME_32BITUIDS]: Remove conditional code.
80657 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80658 <kernel-features.h>.
80659 [__ASSUME_32BITUIDS]: Make code unconditional.
80660 [!__ASSUME_32BITUIDS]: Remove conditional code.
80661 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80662 <kernel-features.h>.
80663 [__ASSUME_32BITUIDS]: Make code unconditional.
80664 [!__ASSUME_32BITUIDS]: Remove conditional code.
80665 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80666 <kernel-features.h>.
80667 [__ASSUME_32BITUIDS]: Make code unconditional.
80668 [!__ASSUME_32BITUIDS]: Remove conditional code.
80669 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80670 <kernel-features.h>.
80671 [__ASSUME_32BITUIDS]: Make code unconditional.
80672 [!__ASSUME_32BITUIDS]: Remove conditional code.
80673 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80674 <kernel-features.h>.
80675 [__ASSUME_32BITUIDS]: Make code unconditional.
80676 [!__ASSUME_32BITUIDS]: Remove conditional code.
80677 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80678 <kernel-features.h>.
80679 [__ASSUME_32BITUIDS]: Make code unconditional.
80680 [!__ASSUME_32BITUIDS]: Remove conditional code.
80681 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80682 <kernel-features.h>.
80683 [__ASSUME_32BITUIDS]: Make code unconditional.
80684 [!__ASSUME_32BITUIDS]: Remove conditional code.
80685 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80686 <kernel-features.h>.
80687 [__ASSUME_32BITUIDS]: Make code unconditional.
80688 [!__ASSUME_32BITUIDS]: Remove conditional code.
80689 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80690 <kernel-features.h>.
80691 [__ASSUME_32BITUIDS]: Make code unconditional.
80692 [!__ASSUME_32BITUIDS]: Remove conditional code.
80693 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80694 <kernel-features.h>.
80695 [__NR_setresgid] (__setresgid): Do not declare.
80696 [__ASSUME_32BITUIDS]: Make code unconditional.
80697 [!__ASSUME_32BITUIDS]: Remove conditional code.
80698 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80699 <kernel-features.h>.
80700 [__NR_setresuid] (__setresuid): Do not declare.
80701 [__ASSUME_32BITUIDS]: Make code unconditional.
80702 [!__ASSUME_32BITUIDS]: Remove conditional code.
80703 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80704 <kernel-features.h>.
80705 [__ASSUME_32BITUIDS]: Make code unconditional.
80706 [!__ASSUME_32BITUIDS]: Remove conditional code.
80707 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80708 <kernel-features.h>.
80709 [__ASSUME_32BITUIDS]: Make code unconditional.
80710 [!__ASSUME_32BITUIDS]: Remove conditional code.
80711 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80712 <kernel-features.h>.
80713 [__ASSUME_32BITUIDS]: Make code unconditional.
80714 [!__ASSUME_32BITUIDS]: Remove conditional code.
80715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80716 <kernel-features.h>.
80717 [__ASSUME_32BITUIDS]: Make code unconditional.
80718 [!__ASSUME_32BITUIDS]: Remove conditional code.
80719 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80720 <kernel-features.h>.
80721 [__ASSUME_32BITUIDS]: Make code unconditional.
80722 [!__ASSUME_32BITUIDS]: Remove conditional code.
80723 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80724 <kernel-features.h>.
80725 [__ASSUME_32BITUIDS]: Make code unconditional.
80726 [!__ASSUME_32BITUIDS]: Remove conditional code.
80727 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80728 <kernel-features.h>.
80729 [__ASSUME_32BITUIDS]: Make code unconditional.
80730 [!__ASSUME_32BITUIDS]: Remove conditional code.
80731 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80732 <kernel-features.h>.
80733 [__ASSUME_32BITUIDS]: Make code unconditional.
80734 [!__ASSUME_32BITUIDS]: Remove conditional code.
80735 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80736 <kernel-features.h>.
80737 [__ASSUME_32BITUIDS]: Make code unconditional.
80738 [!__ASSUME_32BITUIDS]: Remove conditional code.
80739 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80740 <kernel-features.h>.
80741 [__ASSUME_32BITUIDS]: Make code unconditional.
80742 [!__ASSUME_32BITUIDS]: Remove conditional code.
80743 * sysdeps/unix/sysv/linux/kernel-features.h
80744 (__ASSUME_SETRESUID_SYSCALL): Remove.
80745 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80746 (__ASSUME_32BITUIDS): Likewise.
80747 (__ASSUME_LDT_WORKS): Likewise.
80748 (__ASSUME_O_DIRECTORY): Likewise.
80749 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80750 architecture but not kernel version.
80751 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80752 (__ASSUME_MMAP2_SYSCALL): Likewise.
80753 (__ASSUME_STAT64_SYSCALL): Likewise.
80754 (__ASSUME_IPC64): Likewise.
80755 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80756 <kernel-features.h>.
80757 [__ASSUME_32BITUIDS]: Make code unconditional.
80758 [!__ASSUME_32BITUIDS]: Remove conditional code.
80759 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80760 <kernel-features.h>.
80761 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80762 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80763 132096]: Remove conditional code.
80764 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80765 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80766 <kernel-features.h>.
80767 [__ASSUME_32BITUIDS]: Make code unconditional.
80768 [!__ASSUME_32BITUIDS]: Remove conditional code.
80769 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80770 <kernel-features.h>.
80771 [__ASSUME_32BITUIDS]: Make code unconditional.
80772 [!__ASSUME_32BITUIDS]: Remove conditional code.
80773 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80774 <kernel-features.h>.
80775 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80776 unconditional.
80777 (__setresgid): Do not declare.
80778 [__ASSUME_32BITUIDS]: Make code unconditional.
80779 [!__ASSUME_32BITUIDS]: Remove conditional code.
80780 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80781 <kernel-features.h>.
80782 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80783 unconditional.
80784 (__setresuid): Do not declare.
80785 [__ASSUME_32BITUIDS]: Make code unconditional.
80786 [!__ASSUME_32BITUIDS]: Remove conditional code.
80787 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80788 <kernel-features.h>.
80789 [__ASSUME_32BITUIDS]: Make code unconditional.
80790 [!__ASSUME_32BITUIDS]: Remove conditional code.
80791 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80792 <kernel-features.h>.
80793 [__ASSUME_32BITUIDS]: Make code unconditional.
80794 [!__ASSUME_32BITUIDS]: Remove conditional code.
80795
80796 2012-05-25 Richard Henderson <rth@twiddle.net>
80797
80798 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80799 dl_hwcap to ifunc resolver.
80800 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80801 elf_ifunc_invoke.
80802 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80803 dl_hwcap to ifunc resolver.
80804 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80805
80806 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80807
80808 [BZ #14153]
80809 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80810 for |x| <= 2**-26, not 2**-57.
80811 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80812 exception.
80813
80814 2012-05-24 Jeff Law <law@redhat.com>
80815
80816 * stdio-common/Makefile (tests): Add bug25.
80817 * stdio-common/bug25.c: New test.
80818
80819 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80820
80821 [BZ #13576]
80822 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80823 multiple of MALLOC_ALIGNMENT in size.
80824 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80825
80826 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80827
80828 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80829 Require >= 256.
80830 (FILENAME_MAX): Use macro-int-constant.
80831 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80832 (_IOFBF): Use macro-int-constant.
80833 (_IOLBF): Likewise.
80834 (_IONBF): Likewise.
80835 (SEEK_CUR): Likewise.
80836 (SEEK_END): Likewise.
80837 (SEEK_SET): Likewise.
80838 (TMP_MAX): Likewise.
80839 (EOF): Use macro-int-constant. Require < 0.
80840 (NULL): Use macro-constant. Require == 0.
80841 (stdin): Require type to be FILE *.
80842 (stdout): Likewise.
80843 (stderr): Likewise.
80844 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80845 macro-int-constant.
80846 (EXIT_SUCCESS): Likewise.
80847 (NULL): Use macro-constant. Require == 0.
80848 (RAND_MAX): Use macro-int-constant.
80849 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80850 [C99-based standards] (strtof): Require function.
80851 [C99-based standards] (strtold): Likewise.
80852 [C99-based standards] (strtoll): Likewise.
80853 [C99-based standards] (strtoull): Likewise.
80854 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80855 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80856 [ISO || ISO99 || ISO11] (math.h): Likewise.
80857 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80858 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80860
80861 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80862
80863 [BZ #14132]
80864 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80865 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80866 * intl/dgettext.c (DCGETTEXT): Likewise.
80867 * intl/gettext.c (DCGETTEXT): Likewise.
80868 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80869 * posix/regex_internal.h (gettext): Likewise.
80870 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80871 Remove declaration.
80872 * include/argz.h (__argz_count_internal)
80873 (__argz_stringify_internal): Remove declaration.
80874 (__argz_count, __argz_stringify): Declare hidden proto.
80875 * intl/dcgettext.c: Remove use of INTDEF.
80876 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80877 * string/argz-stringify.c: Likewise.
80878 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80879 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80880 Declare hidden proto.
80881 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80882 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80883 Declare hidden proto.
80884 * include/stdio.h (__asprintf_internal): Don't declare.
80885 (__asprintf): Don't define as macro. Declare hidden proto.
80886 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80887 (__fsetlocking): Declare hidden proto.
80888 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80889 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80890 hidden proto.
80891 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80892 (_IO_setlinebuf): Remove use of INTUSE.
80893 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80894 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80895 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80896 Remove declaration.
80897 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80898 (_IO_do_flush): Remove use of INTUSE.
80899 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80900 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80901 (_IO_adjust_column, _IO_least_wmarker)
80902 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80903 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80904 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80905 (_IO_default_doallocate, _IO_wdefault_doallocate)
80906 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80907 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80908 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80909 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80910 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80911 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80912 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80913 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80914 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80915 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80916 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80917 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80918 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80919 proto.
80920 (_IO_flush_all_internal, _IO_adjust_column_internal)
80921 (_IO_default_uflow_internal, _IO_default_finish_internal)
80922 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80923 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80924 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80925 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80926 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80927 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80928 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80929 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80930 (_IO_file_close_internal, _IO_file_close_it_internal)
80931 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80932 (_IO_file_init_internal, _IO_file_attach_internal)
80933 (_IO_file_fopen_internal, _IO_file_read_internal)
80934 (_IO_file_sync_internal, _IO_file_seek_internal)
80935 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80936 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80937 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80938 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80939 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80940 (_IO_list_all_internal, _IO_link_in_internal)
80941 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80942 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80943 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80944 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80945 (_IO_do_write_internal, _IO_padn_internal)
80946 (_IO_getline_info_internal, _IO_getline_internal)
80947 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80948 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80949 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80950 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80951 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80952 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80953 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80954 with libc_hidden_ver, remove use of INTUSE.
80955 * libio/genops.c: Likewise.
80956 * libio/freopen.c: Likewise.
80957 * libio/freopen64.c: Likewise.
80958 * libio/iofclose.c: Likewise.
80959 * libio/iofdopen.c: Likewise.
80960 * libio/iofflush.c: Likewise.
80961 * libio/iofflush_u.c: Likewise.
80962 * libio/iofgets.c: Likewise.
80963 * libio/iofgets_u.c: Likewise.
80964 * libio/iofopen.c: Likewise.
80965 * libio/iofopncook.c: Likewise.
80966 * libio/iofread.c: Likewise.
80967 * libio/iofread_u.c: Likewise.
80968 * libio/ioftell.c: Likewise.
80969 * libio/iofwrite.c: Likewise.
80970 * libio/iogetline.c: Likewise.
80971 * libio/iogets.c: Likewise.
80972 * libio/iogetwline.c: Likewise.
80973 * libio/iopadn.c: Likewise.
80974 * libio/iopopen.c: Likewise.
80975 * libio/ioseekoff.c: Likewise.
80976 * libio/ioseekpos.c: Likewise.
80977 * libio/iosetbuffer.c: Likewise.
80978 * libio/iosetvbuf.c: Likewise.
80979 * libio/ioungetc.c: Likewise.
80980 * libio/ioungetwc.c: Likewise.
80981 * libio/iovdprintf.c: Likewise.
80982 * libio/iovsprintf.c: Likewise.
80983 * libio/iovsscanf.c: Likewise.
80984 * libio/memstream.c: Likewise.
80985 * libio/obprintf.c: Likewise.
80986 * libio/oldfileops.c: Likewise.
80987 * libio/oldiofclose.c: Likewise.
80988 * libio/oldiofdopen.c: Likewise.
80989 * libio/oldiofopen.c: Likewise.
80990 * libio/oldiopopen.c: Likewise.
80991 * libio/oldstdfiles.c: Likewise.
80992 * libio/putc.c: Likewise.
80993 * libio/setbuf.c: Likewise.
80994 * libio/setlinebuf.c: Likewise.
80995 * libio/stdfiles.c: Likewise.
80996 * libio/strops.c: Likewise.
80997 * libio/vasprintf.c: Likewise.
80998 * libio/vscanf.c: Likewise.
80999 * libio/vsnprintf.c: Likewise.
81000 * libio/vswprintf.c: Likewise.
81001 * libio/wfiledoalloc.c: Likewise.
81002 * libio/wfileops.c: Likewise.
81003 * libio/wgenops.c: Likewise.
81004 * libio/wmemstream.c: Likewise.
81005 * libio/wstrops.c: Likewise.
81006 * libio/__fpurge.c: Likewise.
81007 * libio/__fsetlocking.c: Likewise.
81008 * assert/assert.c: Likewise.
81009 * debug/fgets_chk.c: Likewise.
81010 * debug/fgets_u_chk.c: Likewise.
81011 * debug/fread_chk.c: Likewise.
81012 * debug/fread_u_chk.c: Likewise.
81013 * debug/gets_chk.c: Likewise.
81014 * debug/obprintf_chk.c: Likewise.
81015 * debug/vasprintf_chk.c: Likewise.
81016 * debug/vdprintf_chk.c: Likewise.
81017 * debug/vsnprintf_chk.c: Likewise.
81018 * debug/vsprintf_chk.c: Likewise.
81019 * malloc/mtrace.c: Likewise.
81020 * misc/error.c: Likewise.
81021 * misc/syslog.c: Likewise.
81022 * stdio-common/asprintf.c: Likewise.
81023 * stdio-common/fxprintf.c: Likewise.
81024 * stdio-common/getw.c: Likewise.
81025 * stdio-common/isoc99_fscanf.c: Likewise.
81026 * stdio-common/isoc99_scanf.c: Likewise.
81027 * stdio-common/isoc99_vfscanf.c: Likewise.
81028 * stdio-common/isoc99_vscanf.c: Likewise.
81029 * stdio-common/isoc99_vsscanf.c: Likewise.
81030 * stdio-common/printf-prs.c: Likewise.
81031 * stdio-common/printf_fp.c: Likewise.
81032 * stdio-common/printf_fphex.c: Likewise.
81033 * stdio-common/printf_size.c: Likewise.
81034 * stdio-common/putw.c: Likewise.
81035 * stdio-common/scanf.c: Likewise.
81036 * stdio-common/sprintf.c: Likewise.
81037 * stdio-common/tmpfile.c: Likewise.
81038 * stdio-common/vfprintf.c: Likewise.
81039 * stdio-common/vfscanf.c: Likewise.
81040 * stdlib/strfmon_l.c: Likewise.
81041 * sunrpc/openchild.c: Likewise.
81042 * sunrpc/xdr_stdio.c: Likewise.
81043 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81044 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81045
81046 2012-05-24 Roland McGrath <roland@hack.frob.com>
81047
81048 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81049
81050 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81051 in the third column, to generate for the shared library an IFUNC
81052 that uses _dl_vdso_vsym.
81053 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81054 * Makeconfig (object-suffixes-noshared): New variable.
81055
81056 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81057 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81058 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81059 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81060
81061 [BZ #14132]
81062 * include/sys/time.h (__gettimeofday): Remove macro.
81063 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81064 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81065 Remove INTDEF.
81066 (__gettimeofday): Add libc_hidden_def.
81067 (gettimeofday): Add libc_hidden_weak.
81068 * sysdeps/mach/gettimeofday.c: Likewise.
81069 * sysdeps/posix/gettimeofday.c: Likewise.
81070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81071 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81073 (__gettimeofday_internal): Remove strong_alias.
81074 (__gettimeofday): Add libc_hidden_def.
81075 (gettimeofday): Add libc_hidden_weak.
81076 * sysdeps/unix/syscalls.list (gettimeofday):
81077 Remove __gettimeofday_internal alias.
81078
81079 2012-05-24 Daniel Jacobowitz <drow@false.org>
81080 H.J. Lu <hongjiu.lu@intel.com>
81081
81082 [BZ #12495]
81083 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81084 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81085 (largebin_index_32_big): New.
81086 (largebin_index): Use it for 16-byte alignment.
81087 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81088 correction with front_misalign.
81089
81090 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81091
81092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81094 Likewise.
81095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81096 Likewise.
81097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81098 Likewise.
81099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81100 Likewise.
81101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81102 Likewise.
81103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81104 Likewise.
81105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81106 Likewise.
81107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81108 Likewise.
81109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81110 Likewise.
81111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81112 Likewise.
81113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81114 Likewise.
81115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81116 Likewise.
81117
81118 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81119 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81120
81121 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81122
81123 [BZ #10846]
81124 [BZ #14036]
81125 * math/libm-test.inc (exp_test): Add test from bug 14036.
81126 (pow_test): Add test from bug 10846.
81127
81128 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81129 and other flags.
81130 (special_function): Do not include flags in test name.
81131 (parse_args): Likewise.
81132 * sysdeps/i386/fpu/libm-test-ulps: Update.
81133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81134 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81135 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81137
81138 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81139 exceptions.
81140 * math/libm-test.inc ("Philosophy"): Update comment about
81141 exception testing.
81142 (UNDERFLOW_EXCEPTION): New macro.
81143 (UNDERFLOW_EXCEPTION_OK): Likewise.
81144 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81145 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81146 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81147 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81148 (INVALID_EXCEPTION_OK): Update value.
81149 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81150 (OVERFLOW_EXCEPTION_OK): Likewise.
81151 (IGNORE_ZERO_INF_SIGN): Likewise.
81152 (test_exceptions): Handle underflow exceptions.
81153 (acos_test): Update for underflow exception expectations.
81154 (cexp_test): Likewise.
81155 (clog_test): Likewise.
81156 (clog10_test): Likewise.
81157 (csqrt_test): Likewise.
81158 (ctan_test): Likewise.
81159 (ctanh_test): Likewise.
81160 (exp_test): Likewise.
81161 (exp10_test): Likewise.
81162 (exp2_test): Likewise.
81163 (expm1_test): Likewise.
81164 (fma_test): Likewise.
81165 (j0_test): Likewise.
81166 (jn_test): Likewise.
81167 (nexttoward_test): Likewise.
81168 (pow_test): Likewise.
81169 (scalbn_test): Likewise.
81170 (scalbln_test): Likewise.
81171 (tan_test): Likewise.
81172 (y1_test): Likewise.
81173 * sysdeps/i386/fpu/libm-test-ulps: Update.
81174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81175
81176 2012-05-23 David S. Miller <davem@davemloft.net>
81177
81178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81179 (__libc_sigaction): Remove unused local variables.
81180
81181 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81182
81183 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81184
81185 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81186
81187 mktime: avoid signed integer overflow
81188 * time/mktime.c (__mktime_internal): Do not mishandle the case
81189 where diff == INT_MIN.
81190
81191 mktime: simplify computation of average
81192 * time/mktime.c (ranged_convert): Use new time_t_avg function
81193 instead of rolling our own (probably-slower) code.
81194
81195 mktime: do not assume signed right shift propagates sign bit
81196 * time/mktime.c (isdst_differ): New static function.
81197 (__mktime_internal): No need to normalize tm_isdst now.
81198 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81199 tm_isdst values.
81200
81201 mktime: merge another wrapv change from gnulib
81202 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81203 from some compilers.
81204
81205 mktime: remove incorrect attempt at unusual arithmetics
81206 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81207 The code didn't really work on such machines anyway.
81208 (TYPE_MINIMUM): Assume two's complement.
81209 (twos_complement_arithmetic): Verify that long_int and time_t
81210 are two's complement (or unsigned, in the latter case).
81211
81212 mktime: check signed shifts on long_int and time_t, too
81213 * time/mktime.c (SHR): Check that shifts work as desired
81214 on the types long_int and time_t too, as SHR is used on
81215 such types.
81216
81217 mktime: do not assume 'long' is wide enough
81218 * time/mktime.c (verify): Move decl up.
81219 (long_int): New type.
81220 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81221 to remove assumption in the code that 'long' is wide enough to
81222 store year values. This assumption is not true on x32 and on
81223 some non-glibc platforms.
81224
81225 mktime: merge wrapv change from gnulib
81226 * time/mktime.c (WRAPV): New macro.
81227 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81228 (guess_time_tm, __mktime_internal): Do not assume that signed
81229 integer overflow wraps around; modern compilers generate code
81230 where this assumption is no longer valid.
81231
81232 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81233
81234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81235 Replace "jmp L(pseudo_end)" with "ret".
81236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81237 Likewise.
81238
81239 2012-05-23 Andreas Jaeger <aj@suse.de>
81240
81241 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81242 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81243
81244 2012-05-23 Andreas Jaeger <aj@suse.de>
81245 Maximilian Attems <max@stro.at>
81246
81247 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81248 New macros.
81249
81250 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81251
81252 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81253 code so that pseudo_end is just ret and the stack pointer is
81254 correct also for static library in error case.
81255
81256 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81257
81258 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81259 move to syscalls.list.
81260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81264
81265 * manual/install.texi (Running make install): Do not mention Linux
81266 kernel version for which pt_chown is not needed.
81267 (Linux): Do not mention problems with nscd with 2.0 kernels.
81268 * INSTALL: Regenerated.
81269
81270 2012-05-23 Andreas Jaeger <aj@suse.de>
81271
81272 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81273 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81274 macro.
81275 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81277 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81279 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81281 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81283 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81285 * sysdeps/unix/sysv/linux/bits/in.h
81286 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81287
81288 2012-05-22 Roland McGrath <roland@hack.frob.com>
81289
81290 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81291 (PREPARE_VERSION): Just use assert instead, it will be elided
81292 under [NDEBUG] anyway.
81293
81294 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81295
81296 * sysdeps/unix/sysv/linux/Makefile: Include
81297 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81298 (sysdep_routines): Remove sysctl.
81299 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81300 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81301 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81302 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81303 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81304
81305 2012-05-22 Andreas Jaeger <aj@suse.de>
81306
81307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81308 that pseudo_end is just ret and the stack pointer is correct also
81309 for static library in error case.
81310
81311 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81312
81313 [BZ #14122]
81314 * nss/nsswitch.c (defconfig_entries): New variable.
81315 (__nss_database_lookup): Don't leak defconfig entries.
81316 (nss_parse_service_list): Don't leak on error paths.
81317 (free_database_entries): New function.
81318 (free_defconfig): New function.
81319 (free_mem): Move common code to free_database_entries.
81320
81321 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81322
81323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81324 Add arch_prctl.
81325 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81326
81327 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81328 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81330 New macro.
81331 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81332 (INTERNAL_SYSCALL_TYPES): Likewise.
81333 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81334 (LOAD_REGS_TYPES_[1-6]): Likewise.
81335 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81336 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81337
81338 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81339
81340 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81341 copysignl for GLIBC_2_0.
81342 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81343 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81345 logbl for GLIBC_2_0.
81346 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81347 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81348
81349 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81350
81351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81352 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81353
81354 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81355 Use "neg %eax".
81356
81357 * time/mktime.c: Update copyright years.
81358
81359 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81360
81361 mktime: merge comment-quoting-style change from gnulib
81362 * time/mktime.c: Quote 'like this' in comments.
81363 The GNU coding standards suggest that we no longer quote `like this',
81364 as "`" and "'" are typically rendered asymmetrically nowadays.
81365 The typical gnulib style is to quote 'like this' when quoting
81366 code, and "like this" when quoting English.
81367
81368 * time/mktime.c (compile-command): Add "-I.".
81369
81370 mktime: merge mktime-internal.h change from gnulib
81371 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81372
81373 mktime: merge time_r change from gnulib
81374 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81375
81376 mktime: merge DEBUG change from gnulib
81377 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81378 case system <time.h> has a #define.
81379
81380 mktime: merge <sys/types.h> change from gnulib
81381 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81382 since <time.t> is now guaranteed to define time_t.
81383
81384 mktime: merge HAVE_CONFIG_H change from gnulib
81385 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81386
81387 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81388
81389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81390 Use "neg %eax".
81391
81392 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81393 __rlim_t cast.
81394 (struct rusage): Use anonymous union to pad each field to
81395 __syscall_slong_t.
81396
81397 2012-05-21 David S. Miller <davem@davemloft.net>
81398
81399 * Makefules (o-iterator): Remove .s cases.
81400 (compile-command.s): Delete.
81401 (COMPILE.s): Delete.
81402 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81403
81404 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81405
81406 * configure.in (libc_cv_predef_stack_protector): Only consider
81407 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81408 * configure: Regenerated.
81409
81410 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81411
81412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81413 New macro. Use R*LP on int and pointer.
81414 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81415 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81416 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81417 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81418
81419 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81420 [__WORDSIZE_TIME64_COMPAT32] instead of
81421 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81422 (struct utmp): Likewise.
81423 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81424 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81425 Renamed to ...
81426 (__WORDSIZE_TIME64_COMPAT32): This.
81427 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81428 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81429 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81430 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81431 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81432 (__WORDSIZE_TIME64_COMPAT32): New macro.
81433
81434 2012-05-21 Andreas Jaeger <aj@suse.de>
81435
81436 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81437 only if [SHARED]. Add prototype for __wcschr_ia32.
81438
81439 2012-05-21 Roland McGrath <roland@hack.frob.com>
81440
81441 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81442 of %rbp unmolested in the jmp_buf while mangling the low bits.
81443 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81444 unmolested high bits of %rbp while demangling the low bits.
81445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81446
81447 2012-05-21 Andreas Jaeger <aj@suse.de>
81448
81449 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81450 * sunrpc/svc_simple.c: Use it for registerrpc.
81451 * sunrpc/xcrypt.c: Use it for passwd2des.
81452
81453 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81454
81455 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81456
81457 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81458 Don't define if [__SYSCALL_WORDSIZE != 32].
81459 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81460 New macro.
81461
81462 2012-05-21 Bruno Haible <bruno@clisp.org>
81463 Andreas Jaeger <aj@suse.de>
81464
81465 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81466 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81467 inptr and inend for must_buffer_ch.
81468 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81469 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81470 * stdio-common/Makefile (tests): Remove bug15.
81471 (bug15-ENV): Remove macro.
81472 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81473 anymore.
81474
81475 2012-05-19 Andreas Jaeger <aj@suse.de>
81476 Roland McGrath <roland@hack.frob.com>
81477
81478 * manual/contrib.texi: Completely rewritten. It contains now an
81479 alphabetical list of contributors and their contributions.
81480
81481 2012-05-21 Richard Henderson <rth@twiddle.net>
81482
81483 * misc/getauxval.c (__getauxval): Use unsigned long int.
81484 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81485 (getauxval): Use unsigned long int.
81486
81487 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81488
81489 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81490
81491 2012-05-21 Roland McGrath <roland@hack.frob.com>
81492
81493 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81494 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81495 __alignof__ (long double).
81496
81497 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81498
81499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81500
81501 2012-05-20 Richard Henderson <rth@twiddle.net>
81502
81503 * misc/getauxval.c: New file.
81504 * misc/sys/auxv.h: New file.
81505 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81506 (routines): Add getauxval.
81507 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81508 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81509 * elf/dl-sysdep.c (_dl_auxv): Remove.
81510 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81511 * elf/dl-support.c (_dl_auxv): New variable.
81512 (_dl_aux_init): Initialize it.
81513 * manual/startup.texi (Auxiliary Vector): New node.
81514 * sysdeps/generic/bits/hwcap.h: New file.
81515 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81516 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81517 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81518 * sysdeps/sparc/sysdep.h: ... here. Include it.
81519 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81522 Update.
81523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81531
81532 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81533
81534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81535
81536 2012-05-19 David S. Miller <davem@davemloft.net>
81537
81538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81539
81540 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81541
81542 [BZ #14123]
81543 * math/s_ccosh.c: Include <float.h>
81544 (__ccosh): Avoid internal overflow calculating sinh and cosh
81545 values before multiplying by sin and cos values.
81546 * math/s_ccoshf.c: Likewise.
81547 * math/s_ccoshl.c: Likewise.
81548 * math/s_csin.c: Likewise.
81549 * math/s_csinf.c: Likewise.
81550 * math/s_csinl.c: Likewise.
81551 * math/s_csinh.c: Likewise.
81552 * math/s_csinhf.c: Likewise.
81553 * math/s_csinhl.c: Likewise.
81554 * math/libm-test.inc (ccos_test): Add more tests.
81555 (ccosh_test): Likewise.
81556 (csin_test): Likewise.
81557 (csinh_test): Likewise.
81558 * sysdeps/i386/fpu/libm-test-ulps: Update.
81559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81560
81561 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81562
81563 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81564 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81565
81566 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81567
81568 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81569
81570 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81571 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81572 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81573 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81574 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81575 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81576 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81577 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81578 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81579 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81580 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81581 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81582 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81583 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81584 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81585 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81586 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81587 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81588 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81589 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81590 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81591 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81592 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81593 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81594 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81595 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81596 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81597 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81598 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81599 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81600 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81601
81602 2012-05-18 Andreas Jaeger <aj@suse.de>
81603
81604 * csu/.gitignore: Delete.
81605
81606 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81607
81608 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81609 (timex): Use __syscall_slong_t.
81610
81611 2012-05-18 Andreas Jaeger <aj@suse.de>
81612 Carlos O'Donell <carlos_odonell@mentor.com>
81613
81614 * manual/install.texi (Configuring and compiling): Update
81615 description about files modified in the source directory.
81616 * INSTALL: Regenerated.
81617
81618 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81619
81620 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81621 value. Use "or" to set return value to -1.
81622 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81623 negate return value.
81624
81625 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81626
81627 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81628 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81629 failure if the compiler has Graphite support disabled.
81630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81631 Likewise.
81632 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81633 (CFLAGS-memmove.c): Likewise.
81634 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81635 Likewise.
81636
81637 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81638
81639 * sysdeps/x86_64/x32/_itoa.h: New file.
81640
81641 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81642 getdents system call only if kernel and user dirents have the
81643 same d_ino and d_off.
81644
81645 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81646 LLONG_MAX != LONG_MAX.
81647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81648 (_fitoa_word): Likewise.
81649
81650 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81651 years.
81652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81653 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81655
81656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81657 include <bits/wordsize.h>. Check __x86_64__ instead of
81658 __WORDSIZE.
81659 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81660 if __x86_64__ is defined. Use anonymous union on fpstate.
81661
81662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81663 anonymous union.
81664
81665 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81666
81667 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81668 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81669 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81670 Refer to _rtld_local_ro instead of _rtld_global_ro.
81671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81672 Likewise.
81673 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81674 Likewise.
81675 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81676 Likewise.
81677 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81678 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81679 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81680
81681 [BZ #10882]
81682 * sysdeps/powerpc/powerpc32/dl-machine.c
81683 (__elf_machine_runtime_setup) [PROF]: Don't reference
81684 _dl_prof_resolve.
81685
81686 2012-05-18 Andreas Jaeger <aj@suse.de>
81687
81688 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81689 function only available for GCCs before 3.4 since GCC 3.4
81690 introduced a builtin.
81691 (lrint): Likewise.
81692 (llrintf): Likewise.
81693 (llrint): Likewise.
81694 (fmaxf): Likewise.
81695 (fmax): Likewise.
81696 (fminf): Likewise.
81697 (fmin): Likewise.
81698 (rint): Likewise.
81699 (rintf): Likewise.
81700 (nearbyint): Likewise.
81701 (nearbyintf): Likewise.
81702 (ceil): Likewise.
81703 (ceilf): Likewise.
81704 (floor): Likewise.
81705 (floorf): Likewise.
81706
81707 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81708
81709 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81710 on both fields and cast pointer to __syscall_ulong_t.
81711
81712 * bits/types.h (__fsword_t): New type.
81713 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81714 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81716 (__FSWORD_T_TYPE): Likewise.
81717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81718 (__FSWORD_T_TYPE): Likewise.
81719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81720 (__FSWORD_T_TYPE): Likewise.
81721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81722 (__FSWORD_T_TYPE): Likewise.
81723 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81724 __SWORD_TYPE with __fsword_t.
81725 (statfs64): Likewise.
81726
81727 2012-05-17 David S. Miller <davem@davemloft.net>
81728
81729 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81730
81731 2012-05-17 Andreas Jaeger <aj@suse.de>
81732
81733 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81734 warning.
81735
81736 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81737
81738 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81739
81740 2012-05-17 Andreas Jaeger <aj@suse.de>
81741
81742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81743 when it is used.
81744
81745 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81746
81747 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81748
81749 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81750
81751 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81752 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81753
81754 2012-05-17 Andreas Jaeger <aj@suse.de>
81755 Carlos O'Donell <carlos_odonell@mentor.com>
81756
81757 [BZ #14059]
81758 * sysdeps/x86_64/multiarch/init-arch.h
81759 (bit_YMM_Usable): Rename to...
81760 (bit_AVX_Usable): ... this.
81761 (bit_FMA4_Usable): New macro.
81762 (bit_XMM_state): New macro.
81763 (bit_YMM_state): New macro.
81764 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81765 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81766 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81767 (CPUID_OSXSAVE): New macro.
81768 (CPUID_AVX): New macro.
81769 (CPUID_FMA4): New macro.
81770 (index_YMM_Usable): Rename to...
81771 (index_AVX_Usable): ... this.
81772 (HAS_AVX): Use HAS_ARCH_FEATURE.
81773 (HAS_FMA4): Likewise.
81774 (HAS_YMM_USABLE): Remove.
81775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81776 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81777 are present.
81778 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81779 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81780 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81781 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81782 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81783
81784 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81785
81786 * math/libm-test.c: Support platforms without multiple rounding modes.
81787 * math/bug-nextafter.c: Support platforms without FP exceptions.
81788 * math/bug-nexttoward.c: Likewise.
81789 * math/test-fenv.c: Likewise.
81790 * math/test-misc.c: Likewise.
81791 * stdlib/bug-getcontext.c: Likewise.
81792
81793 2012-05-17 Andreas Jaeger <aj@suse.de>
81794
81795 * manual/examples/search.c (critter_cmp): Change signature to
81796 avoid warnings.
81797 * manual/string.texi (Collation Functions): Likewise.
81798
81799 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81800
81801 * bits/types.h: Fold copyright years.
81802 * bits/typesizes.h: Likewise.
81803 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81807 * time/time.h: Likewise.
81808
81809 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81810
81811 [BZ #208]
81812 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81813 in instead of returning them. Return void.
81814 (__libc_mallinfo): Accumulate over all arenas.
81815 (__malloc_stats): Adjust for change in int_mallinfo interface.
81816
81817 2012-05-16 Roland McGrath <roland@hack.frob.com>
81818
81819 [BZ #10375]
81820 * configure.in (NM): Add AC_CHECK_TOOL for it.
81821 (libc_extra_cflags): New substituted variable.
81822 Check for -fstack-protector being used implicitly.
81823 * configure: Regenerated.
81824 * config.make.in (config-extra-cflags): New variable,
81825 gets @libc_extra_cflags@.
81826 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81827
81828 [BZ #10375]
81829 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81830 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81831 * configure: Regenerated.
81832 * config.make.in (CPPUNDEFS): New substituted variable.
81833 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81834 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81835 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81836
81837 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81838
81839 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81840 (mq_attr): Use __syscall_slong_t.
81841
81842 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81843
81844 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81845 Check __x86_64__ instead of __WORDSIZE.
81846 (_STAT_VER_LINUX): Likewise.
81847 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81848 __syscall_ulong_t and __syscall_slong_t.
81849 (stat64): Likewise.
81850
81851 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81852
81853 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81854
81855 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81856
81857 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81858
81859 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81860
81861 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81862 __syscall_ulong_t.
81863
81864 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81865 include <bits/wordsize.h>. Check __x86_64__ instead of
81866 __WORDSIZE.
81867 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81868 defined.
81869 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81870
81871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81872 include <bits/wordsize.h>. Check __x86_64__ instead of
81873 __WORDSIZE.
81874 (user_regs_struct): Use "__extension__ unsigned long long"
81875 instead of "unsigned long" if __x86_64__ is defined.
81876 (user): Likewise. Pad after pointer field if __ILP32__ is
81877 defined.
81878
81879 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81880
81881 * configure.in (makeinfo): Require version 4.5 or later. Allow
81882 versions 5 to 9.
81883 * configure: Regenerated.
81884 * manual/install.texi (texinfo): Increase version requirement to
81885 4.5 or later.
81886 * INSTALL: Regenerated.
81887
81888 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81889
81890 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81891
81892 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81893
81894 * sysdeps/x86_64/x32/ffs.c: New file.
81895
81896 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81897 __syscall_ulong_t.
81898 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81899 defined. Use __syscall_ulong_t.
81900 (shminfo): Use __syscall_ulong_t.
81901 (shm_info): Likewise.
81902
81903 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81904 __syscall_ulong_t.
81905
81906 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81907 <bits/wordsize.h>.
81908 (msgqnum_t): Use __syscall_ulong_t.
81909 (msglen_t): Likewise.
81910 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81911 __syscall_ulong_t.
81912
81913 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81914 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81915
81916 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81917
81918 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81919 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81920
81921 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81922 __syscall_slong_t.
81923
81924 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81925 include <bits/wordsize.h>. Check __x86_64__ instead of
81926 __WORDSIZE.
81927
81928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81929 "unsigned long long int" if __x86_64__ is defined.
81930 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81931
81932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81933 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81934 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81935
81936 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81937 <stdint.h>.
81938 (GET_PC): Cast to uintptr_t first.
81939 (GET_FRAME): Likewise.
81940 (GET_STACK): Likewise.
81941
81942 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81944 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81945 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81946 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81947 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81948 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81949 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81950 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81951 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81952 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81953 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81954 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81955 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81956 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81958 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81959 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81960 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81961 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81962 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81963 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81964 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81965 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81966 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81968 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81969 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81971
81972 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81973
81974 * Makerules (+depfiles): Also collect depfiles from .oS in
81975 $(extra-objs).
81976 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81977 .oS, $(libnldbl-routines)).
81978
81979 * Makerules (native-compile-mkdep-flags): Define.
81980 * sunrpc/Makefile (extra-objs): Add $(addprefix
81981 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81982 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81983 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81984 calling $(make-target-directory).
81985
81986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81987
81988 * bits/types.h (__snseconds_t): Removed.
81989 * time/time.h (struct timespec): Replace __snseconds_t with
81990 __syscall_slong_t.
81991 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81992 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81993 Likewise.
81994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81995 (__SNSECONDS_T_TYPE): Likewise.
81996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81997 (__SNSECONDS_T_TYPE): Likewise.
81998 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81999 (__SNSECONDS_T_TYPE): Likewise.
82000
82001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82002
82003 * sysdeps/mach/hurd/bits/typesizes.h
82004 (__SYSCALL_SLONG_TYPE): New macro.
82005 (__SYSCALL_ULONG_TYPE): Likewise.
82006
82007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82008
82009 * bits/types.h (__syscall_slong_t): New type.
82010 (__syscall_ulong_t): Likewise.
82011
82012 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82013 (__SYSCALL_ULONG_TYPE): Likewise.
82014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82015 (__SYSCALL_SLONG_TYPE): Likewise.
82016 (__SYSCALL_ULONG_TYPE): Likewise.
82017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82018 (__SYSCALL_SLONG_TYPE): Likewise.
82019 (__SYSCALL_ULONG_TYPE): Likewise.
82020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82021 (__SYSCALL_SLONG_TYPE): Likewise.
82022 (__SYSCALL_ULONG_TYPE): Likewise.
82023
82024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82025
82026 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82027 Add sigaltstack-offsets.sym.
82028 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82029 <sigaltstack-offsets.h>.
82030 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82031 longjmp_msg pointer.
82032 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82033 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82034 signal stack.
82035 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82036
82037 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82038
82039 * elf/stackguard-macros.h: Remove file.
82040 * sysdeps/generic/stackguard-macros.h: New file.
82041 * sysdeps/i386/stackguard-macros.h: Likewise.
82042 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82043 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82044 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82045 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82046 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82047 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82048 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82049 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82050 <elf/stackguard-macros.h>.
82051
82052 [BZ #14109]
82053 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82054 __aligned__ in attribute.
82055 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82056 (gregset_t): Likewise.
82057
82058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82059
82060 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82061 * sysdeps/x86_64/64/Implies-after: Here. New file.
82062 * sysdeps/x86_64/x32/Implies-after: New file.
82063
82064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82065
82066 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82067 and access return value for _dl_profile_fixup. Use R10_LP to
82068 load frame size.
82069
82070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82071
82072 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82073
82074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82075
82076 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82077 * sysdeps/x86_64/x32/sysdep.h: New file.
82078
82079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82080
82081 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82082 * sysdeps/x86_64/setjmp.S: Likewise.
82083
82084 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82085
82086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82088 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82089 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82090 remove unused global constant.
82091
82092 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82093
82094 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82095 include of <not-cancel.h>.
82096
82097 2012-05-15 Roland McGrath <roland@hack.frob.com>
82098
82099 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82100
82101 2012-05-15 Jeff Law <law@redhat.com>
82102 Andreas Jaeger <aj@suse.de>
82103
82104 [BZ #13594]
82105 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82106 out from...
82107 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82108 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82109 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82110 code changing __hst_map_handle.map.
82111
82112 2012-05-15 Roland McGrath <roland@hack.frob.com>
82113
82114 * configure.in (sysnames): Look for Implies-before and Implies-after
82115 files.
82116 * configure: Regenerated.
82117
82118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82119
82120 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82121 8-byte data alignment with LP_SIZE alignment.
82122
82123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82124
82125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82126 into R10_LP.
82127
82128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82129
82130 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82131
82132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82133
82134 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82135 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82137 Likewise.
82138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82139
82140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82141
82142 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82143 (stackinfo_sub_sp): Likewise.
82144
82145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82146
82147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82148 RAX_LP.
82149
82150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82151
82152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82153 into R*_LP.
82154
82155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82156
82157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82158 sizes into R*_LP.
82159
82160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82161
82162 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82163
82164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82165
82166 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82167 into R11_LP and load __x86_64_shared_cache_size_half into
82168 R8_LP.
82169
82170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82171
82172 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82173 R8_LP.
82174
82175 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82176
82177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82178 logb for POWER7.
82179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82180 logbf for POWER7.
82181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82182 logbl for POWER7.
82183 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82184 powerpc32/power7/fpu/s_logb.c via #include.
82185 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82186 powerpc32/power7/fpu/s_logbf.c via #include.
82187 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82188 powerpc32/power7/fpu/s_logbl.c via #include.
82189
82190 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82191
82192 * README.libm: Remove file.
82193
82194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82195
82196 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82197 count for x32. Use R*_LP and omit operand-size suffix.
82198
82199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82200
82201 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82202 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82203 * sysdeps/x86_64/x32/shlib-versions: New file.
82204
82205 2012-05-14 Roland McGrath <roland@hack.frob.com>
82206
82207 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82208 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82209 Use _dl_fatal_printf instead.
82210
82211 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82212
82213 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82214 set if not set by the user. Do not allow for being unset.
82215 * sysdeps/unix/sysv/linux/configure: Regenerated.
82216
82217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82218
82219 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82220 the `q' suffix from lea and replace .quad with ASM_ADDR.
82221
82222 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82223
82224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82225 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82226 instead of $17.
82227 (PTR_DEMANGLE): Likewise.
82228
82229 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82230
82231 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82232 (LP_OP): Likewise.
82233 (ASM_ADDR): Likewise.
82234 (RAX_LP): Likewise.
82235 (RBP_LP): Likewise.
82236 (RBX_LP): Likewise.
82237 (RCX_LP): Likewise.
82238 (RDI_LP): Likewise.
82239 (RSI_LP): Likewise.
82240 (RSP_LP): Likewise.
82241 (R8_LP): Likewise.
82242 (R9_LP): Likewise.
82243 (R10_LP): Likewise.
82244 (R10_LP): Likewise.
82245 (R11_LP): Likewise.
82246 (R12_LP): Likewise.
82247 (R13_LP): Likewise.
82248 (R14_LP): Likewise.
82249 (R15_LP): Likewise.
82250
82251 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82252
82253 * sysdeps/x86_64/x32/dl-machine.h: New file.
82254
82255 2012-05-14 Andreas Jaeger <aj@suse.de>
82256
82257 * manual/Makefile (subdir): Remove export of subdir.
82258 (all): Remove target.
82259 (.PHONY): Remove all from list.
82260 (mkinstalldirs): Remove.
82261 (.PHONY): Remove installdirs from list.
82262 ($(inst_infodir)/libc.info): Use make-target-directory.
82263 (installdirs): Remove.
82264 (subdir_%): Remove.
82265 (glibc-targets): Remove.
82266 (lib): Remove.
82267 (stubs): Remove.
82268 ($(objpfx)stubs ../po/manual.pot): Remove.
82269 ($(objpfx)stamp%): Remove.
82270 (make-target-directory): Remove.
82271 (subdir_install): Remove.
82272 (routines): Remove.
82273 (aux): Remove.
82274 (sources): Remove.
82275 (objects): Remove.
82276 (headers): Remove.
82277
82278 [BZ #13750]
82279 * manual/.gitignore: Remove, it's not needed anymore.
82280 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82281 all files in it.
82282 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82283 directory.
82284 (texis): Renamed to $(objpfx)texis.
82285 (texis-path): New, contains path to generated files.
82286 (chapters.%): Use texis-path for complete path, add extra argument
82287 libc-texinfo.sh.
82288 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82289 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82290 (summary,texi, stamp-summary): Use complete path of
82291 files. Generate files in build dir.
82292 (dir-add.texi): Build in build dir.
82293 (libm-err.texi,stamp-libm-err): Likewise.
82294 (version.texi, stamp-version): Likewise.
82295 (.%c.texi): Likewise.
82296 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82297 (mostlyclean): Remove target.
82298 (realclean): Remove target.
82299 (generated): Add new variable with contents from mostlyclean and
82300 realclean, remove entries duplicated in common-mostlyclean, add
82301 stamp-libm-err and stamp-version.
82302 (generated-dirs): Add libc directory.
82303 ($(inst_infodir)/libc.info): Install files from build dir.
82304
82305 * manual/install.texi (Configuring and compiling): Adjust since
82306 the info files are not part of the tar ball anymore.
82307
82308 2012-05-14 Andreas Jaeger <aj@suse.de>
82309
82310 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82311 variable.
82312
82313 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82314
82315 [BZ #13717]
82316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82317 to 2.2.0 where earlier.
82318 * sysdeps/unix/sysv/linux/configure: Regenerated.
82319 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82320 Remove conditional code.
82321 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82322 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82323 Remove conditional code.
82324 [!__NR_lchown]: Likewise.
82325 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82326 [__NR_lchown]: Likewise.
82327 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82328 comment referencing __ASSUME_LCHOWN_SYSCALL.
82329 * sysdeps/unix/sysv/linux/i386/sigaction.c
82330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82332 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82333 Remove conditional code.
82334 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82335 (__protocol_available): Remove #if 0 code.
82336 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82337 conditional code.
82338 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82339 * sysdeps/unix/sysv/linux/kernel-features.h
82340 (__ASSUME_GETCWD_SYSCALL): Don't define.
82341 (__ASSUME_REALTIME_SIGNALS): Likewise.
82342 (__ASSUME_PREAD_SYSCALL): Likewise.
82343 (__ASSUME_PWRITE_SYSCALL): Likewise.
82344 (__ASSUME_POLL_SYSCALL): Likewise.
82345 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82346 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82347 non-SPARC.
82348 (__ASSUME_SIOCGIFNAME): Don't define.
82349 (__ASSUME_MSG_NOSIGNAL): Likewise.
82350 (__ASSUME_SENDFILE): Define unconditionally.
82351 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82352 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82353 conditional code.
82354 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82355 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82356 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82357 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82358 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82359 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82360 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82362 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82365 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82368 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82374 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82377 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82380 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82385 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82386 Remove conditional code.
82387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82388 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82389 Remove conditional code.
82390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82391 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82392 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82393 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82394 Remove conditional code.
82395 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82396 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82397 Remove conditional code.
82398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82399 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82400 Remove conditional code.
82401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82402 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82403 Remove conditional code.
82404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82405 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82406 Remove conditional code.
82407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82408 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82409 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82411 * sysdeps/unix/sysv/linux/sigaction.c
82412 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82413 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82414 * sysdeps/unix/sysv/linux/sigpending.c
82415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82417 * sysdeps/unix/sysv/linux/sigprocmask.c
82418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82420 * sysdeps/unix/sysv/linux/sigsuspend.c
82421 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82422 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82424 (__libc_missing_rt_sigs): Remove.
82425 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82426 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82427 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82428 Remove conditional code.
82429 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82430 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82431 return 1.
82432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82433 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82434 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82435 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82436
82437 2012-05-14 Andreas Jaeger <aj@suse.de>
82438
82439 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82440 it's not used in glibc.
82441 (__coshm1): Likewise.
82442 (__acosh1p): Likewise.
82443 (__sgn): Likewise.
82444
82445 * manual/string.texi (Copying and Concatenation): Add missing
82446 variable in concat example.
82447 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82448
82449 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82450
82451 [BZ #14103]
82452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82453 __builtin_clzl with __builtin_clzll.
82454
82455 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82456
82457 [BZ #14104]
82458 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82459 libc_freeres_ptr.
82460
82461 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82462
82463 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82464 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82465 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82467
82468 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82469
82470 * NEWS: Update ia64 info.
82471
82472 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82473
82474 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82475 used as bcopy.
82476
82477 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82478
82479 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82480 * sysdeps/unix/syscalls.list (dup3): Likewise.
82481 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82482 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82483
82484 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82485
82486 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82487 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82488
82489 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82490
82491 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82492 thread pointer.
82493 (TLS_IE): Use mov/add instead of movq/addq to load thread
82494 pointer.
82495 (TLS_GD_PREFIX): New.
82496 (TLS_GD): Use it.
82497
82498 2012-05-11 David S. Miller <davem@davemloft.net>
82499
82500 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82501 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82502 (_FPU_SETCW): Likewise.
82503
82504 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82505
82506 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82507 is 32-byte aligned.
82508
82509 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82510
82511 [BZ #11837]
82512 * iconvdata/gb18030.c: Update tables.
82513 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82514 characters specially.
82515 (BODY for TO_LOOP): Add encoding of missing ranges.
82516
82517 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82518
82519 [BZ #13673]
82520 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82521 * sysdeps/mach/hurd/dup3.c: Likewise.
82522 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82523 * sysdeps/powerpc/memmove.c:: Likewise.
82524
82525 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82526
82527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82528 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82529
82530 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82531
82532 * elf/elf.h (R_X86_64_RELATIVE64): New.
82533 (R_X86_64_NUM): Updated.
82534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82535 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82536 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82537 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82538 tst-quad1pie tst-quad2pie
82539 (modules-names): Add tst-quadmod1 tst-quadmod2.
82540 ($(objpfx)tst-quad1): New dependency.
82541 ($(objpfx)tst-quad2): Likewise.
82542 ($(objpfx)tst-quad1pie): Likewise.
82543 ($(objpfx)tst-quad2pie): Likewise.
82544 * sysdeps/x86_64/tst-quad1.c: New file.
82545 * sysdeps/x86_64/tst-quad1pie.c: New file.
82546 * sysdeps/x86_64/tst-quad2.c: Likewise.
82547 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82548 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82549 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82550 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82551 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82552
82553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82554
82555 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82556 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82557 * streams/stropts.h (t_scalar_t): Define type.
82558
82559 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82560 (_PATH_PRESERVE): Set to "/var/lib".
82561 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82562
82563 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82564 instead of int.
82565
82566 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82567 if __dir_mkfile succeeded.
82568
82569 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82570 checking for _hurd_dtablesize. Unlock it right after having
82571 finished _hurd_dtable allocation.
82572
82573 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82574
82575 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82576 * sysdeps/mach/hurd/configure: Regenerated.
82577 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82578 special-casing to...
82579 * sysdeps/gnu/configure.in: ... this new file.
82580 * sysdeps/unix/sysv/linux/configure: Regenerated.
82581 * sysdeps/gnu/configure: New generated file.
82582
82583 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82584 for Linux: use nsec instead of usec, as well as:
82585 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82586 members of type struct timespec.
82587 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82588 New macros.
82589 (struct stat64): Likewise.
82590 (_STATBUF_ST_NSEC): New macro.
82591 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82592
82593 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82594 __strtoul_internal rather than strtoul.
82595
82596 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82597
82598 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82599 and reject them.
82600
82601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82602
82603 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82604 which preserves existing values.
82605 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82606
82607 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82608
82609 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82610 TIMEOUT values. Return EINVAL for NFDS values either negative or
82611 greater than FD_SETSIZE.
82612
82613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82614
82615 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82616 allocated, call __vm_protect to finish enabling the existing space, and
82617 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82618 allocate the remainder.
82619
82620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82621
82622 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82623 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82624
82625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82626
82627 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82628 sysdeps/mach/hurd/readlink.c.
82629
82630 * posix/tst-sysconf.c (posix_options): Only use
82631 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82632 _POSIX_SYNCHRONIZED_IO when they are defined
82633 * sysdeps/mach/hurd/bits/posix_opt.h:
82634 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82635 (_XOPEN_REALTIME): Undefine macro.
82636 (_XOPEN_REALTIME_THREADS): Undefine macro.
82637 (_XOPEN_SHM): Undefine macro.
82638 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82639 macro to -1.
82640 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82641 macro to -1.
82642 (_POSIX_ASYNC_IO): Undefine macro.
82643 (_POSIX_PRIORITIZED_IO): Undefine macro.
82644 (_POSIX_SPIN_LOCKS): Define macro to -1.
82645
82646 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82647 SA_NODEFER, SA_RESETHAND.
82648 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82649 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82650 F_DUPFD_CLOEXEC.
82651
82652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82653
82654 * elf/Makefile (pldd-modules): Define unconditionally.
82655
82656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82657
82658 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82659
82660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82661
82662 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82663 Return ENOENT when name is empty.
82664 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82665
82666 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82667
82668 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82669
82670 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82671
82672 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82673
82674 Fix mlock in all cases except non-readable pages.
82675 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82676 instead of VM_PROT_ALL as parameter to __vm_wire function.
82677
82678 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82679 (__mkdir): When path is `/', just fail with EEXIST.
82680 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82681
82682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82683
82684 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82685 <sys/uio.h> (for writev).
82686 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82687 and <sys/param.h> (for MIN).
82688
82689 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82690
82691 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82692 REQUESTED_TIME. Properly set the remaining time and return EINTR
82693 if interrupted.
82694
82695 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82696
82697 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82698 Depend on against $(link-rpcuserlibs).
82699
82700 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82701
82702 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82703 (__libc_stack_end): Do not use attribute_relro.
82704 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82705 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82706 to libthread-provided value.
82707 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82708 attribute_relro.
82709
82710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82711
82712 [BZ #3748]
82713 * bits/libc-lock.h (__libc_once_get): New macro.
82714 * sysdeps/mach/bits/libc-lock.h: Likewise.
82715 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82717 instead of using implementation details.
82718
82719 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82720 * libio/freopen.c: Likewise.
82721 * libio/freopen64.c: Likewise.
82722 * misc/syslog.c: Likewise.
82723 * nscd/connections.c: Likewise.
82724 * nscd/netgroupcache.c: Likewise.
82725 * sysdeps/posix/getcwd.c: Likewise.
82726
82727 2012-05-10 Roland McGrath <roland@hack.frob.com>
82728
82729 * math/w_ilogbf.c: Add #include <limits.h>.
82730
82731 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82732
82733 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82734 path instead of returning without unlocking.
82735
82736 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82737 immediate-write ioctls.
82738 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82739
82740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82741
82742 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82743 __builtin_frame_address instead of making assumptions about the
82744 location of the return address relative to DATA. Force early load of
82745 the return address.
82746 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82747 __builtin_frame_address.
82748
82749 dup3 for GNU Hurd.
82750 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82751 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82752 implement dup3 and do some further code clean-ups.
82753 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82754 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82755
82756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82757
82758 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82759
82760 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82761 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82762 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82763 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82764 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82765 d->port.lock.
82766
82767 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82768 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82769 when handler == SIG_ERR, not when handler != SIG_ERR.
82770
82771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82772
82773 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82774 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82775 definitions.
82776
82777 accept4 for GNU Hurd.
82778 * include/sys/socket.h (__libc_accept4): New prototype.
82779 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82780 to implement __libc_accept4.
82781 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82782 __libc_accept4.
82783 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82784
82785 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82786 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82787 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82788 signal-defines.sym.
82789
82790 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82791
82792 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82793
82794 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82795
82796 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82797 assertion on O_CLOEXEC flag.
82798 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82799 * hurd/intern-fd.c: Likewise.
82800 * hurd/port2fd.c: Likewise.
82801
82802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82803
82804 [BZ #3906]
82805 * bits/in.h (IPV6_PKTINFO): Define new macro.
82806 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82807
82808 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82809
82810 [BZ #13954]
82811 [BZ #13955]
82812 [BZ #13956]
82813 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82815 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82816 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82818 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82819 * math/libm-test.inc (logb_test) : Additional logb tests.
82820
82821 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82822 Andreas Jaeger <aj@suse.de>
82823
82824 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82825 * configure: Regenerated.
82826 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82827 * config.make.in (link-obsolete-rpc): New substituted variable.
82828 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82829 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82830 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82831 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82832 so that libc.a contains the symbols.
82833 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82834 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82835 * sunrpc/auth_none.c: Likewise.
82836 * sunrpc/auth_unix.c: Likewise.
82837 * sunrpc/authdes_prot.c: Likewise.
82838 * sunrpc/authuxprot.c: Likewise.
82839 * sunrpc/clnt_gen.c: Likewise.
82840 * sunrpc/clnt_perr.c: Likewise.
82841 * sunrpc/clnt_raw.c: Likewise.
82842 * sunrpc/clnt_simp.c: Likewise.
82843 * sunrpc/clnt_tcp.c: Likewise.
82844 * sunrpc/clnt_udp.c: Likewise.
82845 * sunrpc/clnt_unix.c: Likewise.
82846 * sunrpc/des_crypt.c: Likewise.
82847 * sunrpc/des_soft.c: Likewise.
82848 * sunrpc/get_myaddr.c: Likewise.
82849 * sunrpc/key_call.c: Likewise.
82850 * sunrpc/key_prot.c: Likewise.
82851 * sunrpc/netname.c: Likewise.
82852 * sunrpc/pm_getmaps.c: Likewise.
82853 * sunrpc/pm_getport.c: Likewise.
82854 * sunrpc/pmap_clnt.c: Likewise.
82855 * sunrpc/pmap_prot.c: Likewise.
82856 * sunrpc/pmap_prot2.c: Likewise.
82857 * sunrpc/pmap_rmt.c: Likewise.
82858 * sunrpc/publickey.c: Likewise.
82859 * sunrpc/rpc_cmsg.c: Likewise.
82860 * sunrpc/rpc_common.c: Likewise.
82861 * sunrpc/rpc_dtable.c: Likewise.
82862 * sunrpc/rpc_prot.c: Likewise.
82863 * sunrpc/rpc_thread.c: Likewise.
82864 * sunrpc/rtime.c: Likewise.
82865 * sunrpc/svc.c: Likewise.
82866 * sunrpc/svc_auth.c: Likewise.
82867 * sunrpc/svc_raw.c: Likewise.
82868 * sunrpc/svc_run.c: Likewise.
82869 * sunrpc/svc_tcp.c: Likewise.
82870 * sunrpc/svc_udp.c: Likewise.
82871 * sunrpc/svc_unix.c: Likewise.
82872 * sunrpc/svcauth_des.c: Likewise.
82873 * sunrpc/xcrypt.c: Likewise.
82874 * sunrpc/xdr.c: Likewise.
82875 * sunrpc/xdr_array.c: Likewise.
82876 * sunrpc/xdr_float.c: Likewise.
82877 * sunrpc/xdr_intXX_t.c: Likewise.
82878 * sunrpc/xdr_mem.c: Likewise.
82879 * sunrpc/xdr_rec.c: Likewise.
82880 * sunrpc/xdr_ref.c: Likewise.
82881 * sunrpc/xdr_sizeof.c: Likewise.
82882 * sunrpc/xdr_stdio.c: Likewise.
82883
82884 2012-05-10 Roland McGrath <roland@hack.frob.com>
82885
82886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82887 change. Update copyright years.
82888
82889 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82890
82891 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82892
82893 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82894 Joseph Myers <joseph@codesourcery.com>
82895 Paul Pluzhnikov <ppluzhnikov@google.com>
82896
82897 [BZ #14012]
82898 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82899 requiring rpcgen.
82900 [cross-compiling] (extra-libs): Likewise.
82901 [cross-compiling] (extra-libs-others): Likewise.
82902 [cross-compiling] (librpcsvc-routines): Likewise.
82903 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82904 [cross-compiling] (omit-deps): Likewise.
82905 (sunrpc-CPPFLAGS): New variable.
82906 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82907 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82908 (cross-rpcgen-objs): New variable.
82909 (extra-objs): Append $(cross-rpcgen-objs).
82910 ($(cross-rpcgen-objs)): New rule.
82911 ($(objpfx)cross-rpcgen): Likewise.
82912 (rpcgen-cmd): Define to use $(built-program-file). Expand
82913 comment.
82914 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82915 ($(objpfx)x%.stmp): Likewise.
82916 * sunrpc/proto.h [IS_IN_build] (_): Define.
82917 [IS_IN_build] (_libc_intl_domainname): Likewise.
82918
82919 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82920
82921 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82922 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82923 and R_X86_64_TPOFF64.
82924
82925 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82926
82927 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82928 sysdeps/unix/sysv/syscalls.list.
82929 (stime): Likewise.
82930 (utime): Likewise.
82931 * sysdeps/unix/sysv/syscalls.list: Remove file.
82932
82933 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82934
82935 [BZ #3440]
82936 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82937 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82938 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82939 (__LC_IDENTIFICATION): Make these macros useful in #if
82940 expressions, as required by C99.
82941
82942 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82943
82944 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82945 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82946 after this.
82947
82948 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82949
82950 * stdlib/longlong.h: Updated from GCC.
82951
82952 2012-05-09 Andreas Jaeger <aj@suse.de>
82953
82954 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82955 default is first entry.
82956 (run_mode): Set type.
82957 (main): Remove informal message about syslog.
82958 (options): Fix typo.
82959
82960 [BZ #14053]
82961 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82962 to asm.
82963 (lrint): Likewise.
82964 (llrintf): Likewise.
82965 (llrint): Likewise.
82966 (rint): Likewise.
82967 (rintf): Likewise.
82968 (nearbyint): Likewise.
82969 (nearbyintf): Likewise.
82970
82971 2012-05-09 Andreas Jaeger <aj@suse.de>
82972 Pedro Alves <palves@redhat.com>
82973
82974 * nscd/nscd.c (run_mode): Use enum.
82975 (main): Cleanup coding style issue.
82976
82977 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82978 Andreas Jaeger <aj@suse.de>
82979
82980 * nscd/nscd.c (go_background): Replaced with...
82981 (run_mode): ... this.
82982 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82983 (options): Add -F --foreground.
82984 (main): Implement it.
82985 (parse_opt): Parse it.
82986
82987 2012-05-09 Andreas Jaeger <aj@suse.de>
82988
82989 [BZ #14083]
82990 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82991 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82992 -Wconversion warning.
82993 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82994 Likewise.
82995
82996 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82997
82998 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82999 == 0.
83000 (LC_ALL): Use macro-int-constant.
83001 (LC_COLLATE): Likewise.
83002 (LC_CTYPE): Likewise.
83003 (LC_MESSAGES): Likewise.
83004 (LC_MONETARY): Likewise.
83005 (LC_NUMERIC): Likewise.
83006 (LC_TIME): Likewise.
83007 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83008 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83010 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83011 Specify type.
83012 [C99-based standards] (float_t): Expect type.
83013 [C99-based standards] (double_t): Expect type.
83014 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83015 type.
83016 [C99-based standards] (HUGE_VALL): Likewise.
83017 [C99-based standards] (INFINITY): Likewise.
83018 [C99-based standards] (NAN): Likewise.
83019 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83020 [C99-based standards] (FP_NAN): Likewise.
83021 [C99-based standards] (FP_NORMAL): Likewise.
83022 [C99-based standards] (FP_SUBNORMAL): Likewise.
83023 [C99-based standards] (FP_ZERO): Likewise.
83024 [C99-based standards] (FP_FAST_FMA): Use
83025 optional-macro-int-constant. Specify type. Require == 1.
83026 [C99-based standards] (FP_FAST_FMAF): Likewise.
83027 [C99-based standards] (FP_FAST_FMAL): Likewise.
83028 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83029 [C99-based standards] (FP_ILOGBNAN): Likewise.
83030 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83031 Specify type.
83032 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83033 [C99-based standards] (math_errhandling): Specify type.
83034 [ISO99 || ISO11] (signgam): Do not allow.
83035 [non-C99-based standards] (copysignf): Do not allow.
83036 [non-C99-based standards] (exp2f): Likewise.
83037 [non-C99-based standards] (log2f): Likewise.
83038 [non-C99-based standards] (modff): Allow.
83039 [non-C99-based standards] (erff): Do not allow.
83040 [non-C99-based standards] (erfcf): Likewise.
83041 [non-C99-based standards] (gammaf): Likewise.
83042 [non-C99-based standards] (hypotf): Likewise.
83043 [non-C99-based standards] (j0f): Likewise.
83044 [non-C99-based standards] (j1f): Likewise.
83045 [non-C99-based standards] (jnf): Likewise.
83046 [non-C99-based standards] (lgammaf): Likewise.
83047 [non-C99-based standards] (tgammaf): Likewise.
83048 [non-C99-based standards] (y0f): Likewise.
83049 [non-C99-based standards] (y1f): Likewise.
83050 [non-C99-based standards] (ynf): Likewise.
83051 [non-C99-based standards] (isnanf): Likewise.
83052 [non-C99-based standards] (acoshf): Likewise.
83053 [non-C99-based standards] (asinhf): Likewise.
83054 [non-C99-based standards] (atanhf): Likewise.
83055 [non-C99-based standards] (cbrtf): Likewise.
83056 [non-C99-based standards] (expm1f): Likewise.
83057 [non-C99-based standards] (ilogbf): Likewise.
83058 [non-C99-based standards] (log1pf): Likewise.
83059 [non-C99-based standards] (logbf): Likewise.
83060 [non-C99-based standards] (nextafterf): Likewise.
83061 [non-C99-based standards] (remainderf): Likewise.
83062 [non-C99-based standards] (rintf): Likewise.
83063 [non-C99-based standards] (scalbf): Likewise.
83064 [non-C99-based standards] (copysignl): Likewise.
83065 [non-C99-based standards] (exp2l): Likewise.
83066 [non-C99-based standards] (log2l): Likewise.
83067 [non-C99-based standards] (modfl): Allow.
83068 [non-C99-based standards] (erfl): Do not allow.
83069 [non-C99-based standards] (erfcl): Likewise.
83070 [non-C99-based standards] (gammal): Likewise.
83071 [non-C99-based standards] (hypotl): Likewise.
83072 [non-C99-based standards] (j0l): Likewise.
83073 [non-C99-based standards] (j1l): Likewise.
83074 [non-C99-based standards] (jnl): Likewise.
83075 [non-C99-based standards] (lgammal): Likewise.
83076 [non-C99-based standards] (tgammal): Likewise.
83077 [non-C99-based standards] (y0l): Likewise.
83078 [non-C99-based standards] (y1l): Likewise.
83079 [non-C99-based standards] (ynl): Likewise.
83080 [non-C99-based standards] (isnanl): Likewise.
83081 [non-C99-based standards] (acoshl): Likewise.
83082 [non-C99-based standards] (asinhl): Likewise.
83083 [non-C99-based standards] (atanhl): Likewise.
83084 [non-C99-based standards] (cbrtl): Likewise.
83085 [non-C99-based standards] (expm1l): Likewise.
83086 [non-C99-based standards] (ilogbl): Likewise.
83087 [non-C99-based standards] (log1pl): Likewise.
83088 [non-C99-based standards] (logbl): Likewise.
83089 [non-C99-based standards] (nextafterl): Likewise.
83090 [non-C99-based standards] (remainderl): Likewise.
83091 [non-C99-based standards] (rintl): Likewise.
83092 [non-C99-based standards] (scalbl): Likewise.
83093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83094 [non-C99-based standards] (FP_*): Do not allow.
83095 [C99-based standards] (FP_*): Change to
83096 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83097 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83098 allow.
83099 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83100 (SIG_ERR): Likewise.
83101 [X/Open-based standards] (SIG_HOLD): Likewise.
83102 (SIG_IGN): Likewise.
83103 (SIGABRT): Use macro-int-constant. Specify type. Require
83104 positive value.
83105 (SIGFPE): Likewise.
83106 (SIGILL): Likewise.
83107 (SIGINT): Likewise.
83108 (SIGSEGV): Likewise.
83109 (SIGTER): Likewise.
83110 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83111 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83112 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83113 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83114 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83115 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83116 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83117 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83118 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83119 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83120 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83121 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83122 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83123 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83124 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83125 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83126 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83127 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83128 [X/Open-based standards] (SIGTRAP): Likewise.
83129 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83130 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83131 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83132 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83133 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83134 allow.
83135
83136 2012-05-08 Ian Wienand <ianw@vmware.com>
83137
83138 [BZ #14080]
83139 * time/tzset.c (__tzset_parse_tz): Update default rules for
83140 daylight time changes in the Energy Policy Act of 2005.
83141
83142 2012-05-09 Andreas Jaeger <aj@suse.de>
83143
83144 [BZ #13983]
83145 * elf/ldconfig.c (parse_conf): Change string to make clear that
83146 ldconfig only issued a warning if ld.so.conf does not exist.
83147
83148 2012-05-08 David S. Miller <davem@davemloft.net>
83149
83150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83151 movxtod instead of popping the value on the stack.
83152
83153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83154
83155 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83156
83157 * config.h.in: Add HAVE_ARM_PCS_VFP.
83158
83159 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83160
83161 [BZ #13979]
83162 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83163 checking but the checks are disabled for any reason.
83164
83165 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83166
83167 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83168 and ELF64_R_TYPE with ELFW(R_TYPE).
83169
83170 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83171
83172 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83173 (ulimit): Likewise.
83174
83175 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83176 (settimeofday): Likewise.
83177
83178 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83179
83180 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83181 a struct th_u2 inside the union, and move tu_block/tu_code into
83182 a new th_u3 union of tu_block/tu_code inside of that. Move
83183 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83184 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83185 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83186 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83187 (th_stuff): Change to th_u1.tu_stuff.
83188 (th_data): Define.
83189 (th_msg): Change to th_u1.th_u2.tu_data.
83190
83191 2012-05-07 David S. Miller <davem@davemloft.net>
83192
83193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83194
83195 [BZ #14074]
83196 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83197 (SETUP_PIC_REG): Use it.
83198 (SETUP_PIC_REG_LEAF): Use it.
83199
83200 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83201
83202 [BZ #13885]
83203 [BZ #13923]
83204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83205 USE_AS_EXPM1L.
83206 (EXPL_FINITE): Likewise.
83207 (FLDLOG): Likewise.
83208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83209 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83210 e_expl.S.
83211 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83212 USE_AS_EXPM1L.
83213 (EXPL_FINITE): Likewise.
83214 (FLDLOG): Likewise.
83215 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83216 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83217 e_expl.S.
83218 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83219 test of -max_value argument for long double.
83220 * sysdeps/i386/fpu/libm-test-ulps: Update.
83221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83222
83223 2012-05-06 David S. Miller <davem@davemloft.net>
83224
83225 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83226 quad soft-float symbols whose references which are compiler
83227 generated.
83228 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83229
83230 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83231
83232 [BZ #13884]
83233 [BZ #13914]
83234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83235 USE_AS_EXP10L.
83236 (EXPL_FINITE): Likewise.
83237 (FLDLOG): Likewise.
83238 (c0): Likewise.
83239 (c1): Likewise.
83240 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83241 Adjust comments for base varying.
83242 (__expl_finite): Change alias to EXPL_FINITE.
83243 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83244 e_expl.S.
83245 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83246 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83247 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83248 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83250 USE_AS_EXP10L.
83251 (EXPL_FINITE): Likewise.
83252 (FLDLOG): Likewise.
83253 (c0): Likewise.
83254 (c1): Likewise.
83255 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83256 Adjust comments for base varying.
83257 (__expl_finite): Change alias to EXPL_FINITE.
83258 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83259 tests for bugs.
83260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83261
83262 [BZ #14064]
83263 * math/libm-test.inc (check_float_internal): Correct ulp
83264 calculation for subnormal expected results.
83265
83266 2012-05-06 Andreas Jaeger <aj@suse.de>
83267
83268 * Makeconfig (+math-flags): New, set to -frounding-math.
83269 (+cflags): Add +math-flags so that all of glibc gets compiled with
83270 it.
83271
83272 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83273
83274 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83275
83276 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83277 Disable one test.
83278
83279 [BZ #13787]
83280 [BZ #13922]
83281 [BZ #14036]
83282 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83283 (__ieee754_expl): Allow for and saturate large arguments.
83284 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83285 (u_threshold): Likewise.
83286 (__exp): Call __ieee754_exp before checking for overflow and
83287 underflow.
83288 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83289 (u_threshold): Likewise.
83290 (__expf): Call __ieee754_expf before checking for overflow and
83291 underflow.
83292 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83293 (u_threshold): Likewise.
83294 (__expl): Call __ieee754_expl before checking for overflow and
83295 underflow.
83296 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83297 (__ieee754_expl): Allow for and saturate large arguments.
83298 * math/libm-test.inc (exp_test): Add another test. Do not allow
83299 missing overflow exception on overflow.
83300 (expm1_test): Do not allow missing overflow exception on overflow.
83301
83302 * sysdeps/i386/fpu/e_expl.c: Move to ...
83303 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83304 rather than using inline asm.
83305 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83306 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83307 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83308
83309 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83310 (nice): Likewise.
83311 (poll): Likewise.
83312 (signal): Likewise.
83313 (time): Likewise.
83314 (times): Likewise.
83315
83316 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83317
83318 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83319 sysdeps/unix/common/syscalls.list.
83320 (fchmod): Likewise.
83321 (fchown): Likewise.
83322 (ftruncate): Likewise.
83323 (getrusage): Likewise.
83324 (gettimeofday): Likewise.
83325 (setpgid): Likewise.
83326 (setregid): Likewise.
83327 (setreuid): Likewise.
83328 (sigaction): Likewise.
83329 (truncate): Likewise.
83330 (vhangup): Likewise.
83331 * sysdeps/unix/common/syscalls.list: Remove file.
83332 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83333 * sysdeps/unix/sysv/linux/Implies: Likewise.
83334
83335 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83336
83337 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83339 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83340 Moved to ...
83341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83342 Here.
83343 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83344 to ...
83345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83346 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83347 to ...
83348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83349 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83350 to ...
83351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83352 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83353 to ...
83354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83355 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83356 to ...
83357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83358 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83359 to ...
83360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83361 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83362 to ...
83363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83364 Here.
83365 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83366 to ...
83367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83368 Here.
83369 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83370 to ...
83371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83372 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83373 Moved to ...
83374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83375 Here.
83376 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83377 to ...
83378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83379
83380 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83381
83382 * sysdeps/unix/common/bits/dirent.h: Remove file.
83383 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83384
83385 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83386 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83387 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83388 * sysdeps/unix/bsd/isatty.c: Likewise.
83389 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83390 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83391 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83392
83393 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83394
83395 [BZ #13563]
83396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83397 long double comparison inaccuracies.
83398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83400
83401 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83402
83403 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83405
83406 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83407
83408 [BZ #14049]
83409 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83410 nonzero digits before rounding a hex value.
83411 * stdlib/tst-strtod.c (tests): Add another test.
83412
83413 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83414
83415 * sysdeps/s390/fpu/libm-test-ulps: Update.
83416
83417 2012-05-03 Andreas Jaeger <aj@suse.de>
83418
83419 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83420 does not get optimized out.
83421 (malloc_opt_barrier): New.
83422
83423 2012-05-03 Andreas Jaeger <aj@suse.de>
83424 Roland McGrath <roland@hack.frob.com>
83425
83426 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83427 intermediate file deletion.
83428 (generated): Add .symlist files.
83429
83430 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83431
83432 [BZ #13775]
83433 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83434 Redirect under this condition.
83435 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83436 [__USE_GNU] (__dprintf_chk): Not under this condition.
83437 [__USE_GNU] (__vdprintf_chk): Likewise.
83438 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83439 under this condition.
83440 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83441 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83442 [__USE_XOPEN2K8] (vdprintf): Likewise.
83443 [__USE_GNU] (__dprintf_chk): Not under this condition.
83444 [__USE_GNU] (__vdprintf_chk): Likewise.
83445 [__USE_GNU] (dprintf): Likewise.
83446 [__USE_GNU] (vdprintf): Likewise.
83447
83448 2012-05-03 Roland McGrath <roland@hack.frob.com>
83449
83450 * elf/Makefile (common-generated): Set this instead of generated for
83451 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83452 $(all-built-dso)-derived lists.
83453
83454 2012-05-03 Andreas Jaeger <aj@suse.de>
83455
83456 * sysdeps/i386/fpu/libm-test-ulps: Update.
83457
83458 * FAQ: Removed.
83459 * FAQ.in: Likewise.
83460 * scripts/gen-FAQ.pl: Likewise.
83461 * manual/install.texi (Installation): Point to online location of
83462 FAQ.
83463 * Makefile (files-for-dist): Remove FAQ.
83464 (FAQ): Remove.
83465
83466 2012-05-02 Allan McRae <allan@archlinux.org>
83467
83468 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83469 (LDFLAGS-reldepmod5.so): Likewise.
83470 (LDFLAGS-reldep6mod1.so): Likewise.
83471 (LDFLAGS-reldep6mod4.so): Likewise.
83472 (LDFLAGS-reldep8mod3.so): Likewise.
83473 (LDFLAGS-unload4mod1.so): Likewise.
83474 (LDFLAGS-unload4mod2.so): Likewise.
83475 (LDFLAGS-tst-initorder): Likewise.
83476 (LDFLAGS-tst-initordera2.so): Likewise.
83477 (LDFLAGS-tst-initordera3.so): Likewise.
83478 (LDFLAGS-tst-initordera4.so): Likewise.
83479 (LDFLAGS-tst-initorderb2.so): Likewise.
83480 (LDFLAGS-noload): Likewise.
83481 (LDFLAGS-next): Likewise.
83482 (LDFLAGS-order2mod1.so): Likewise.
83483 (LDFLAGS-order2mod2.so): Likewise.
83484 (LDFLAGS-tst-initorder2): Likewise.
83485 (LDFLAGS-tst-initorder2a.so): Likewise.
83486 (LDFLAGS-tst-initorder2b.so): Likewise.
83487 (LDFLAGS-tst-initorder2c.so): Likewise.
83488 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83489
83490 2012-05-02 David S. Miller <davem@davemloft.net>
83491
83492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83493
83494 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83495
83496 [BZ #14055]
83497 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83498
83499 2012-05-02 Andreas Jaeger <aj@suse.de>
83500
83501 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83502 since we manipulate rounding mode.
83503 (CPPFLAGS-test-idouble.c): Likewise.
83504 (CPPFLAGS-test-ifloat.c): Likewise.
83505 (CFLAGS-test-ldouble.c): Likewise.
83506 (CFLAGS-test-double.c): Likewise.
83507 (CFLAGS-test-float.c): Likewise.
83508 (CFLAGS-test-misc.c): Likewise.
83509 (CFLAGS-test-test-fenv.c): Likewise.
83510
83511 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83512
83513 [BZ #2550]
83514 [BZ #2570]
83515 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83516 comparisons to determine direction to adjust input.
83517
83518 2012-05-01 Roland McGrath <roland@hack.frob.com>
83519
83520 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83521 output to the target.
83522
83523 * scripts/localplt.awk: New file.
83524 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83525 (check-localplt-CFLAGS): Variable removed.
83526 ($(all-built-dso:=.jmprel)): New static pattern rule.
83527 (generated): Add those targets.
83528 (localplt-built-dso): New variable.
83529 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83530
83531 * elf/check-localplt.c: File removed.
83532
83533 * scripts/check-execstack.awk: New file.
83534 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83535 (check-execstack-CFLAGS): Variable removed.
83536 ($(objpfx)check-execstack.h): Target removed.
83537 ($(objpfx)execstack-default): New target.
83538 (generated): Add that instead of check-execstack.h.
83539 ($(all-built-dso:=.phdr)): New static pattern rule.
83540 (generated): Add those targets.
83541 * elf/check-execstack.c: File removed.
83542
83543 * scripts/check-textrel.awk: New file.
83544 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83545 (check-textrel-CFLAGS): Variable removed.
83546 (all-built-dso): Use := to define.o
83547 ($(all-built-dso:=.dyn)): New static pattern rule.
83548 (generated): Add those targets.
83549 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83550 * config.make.in (READELF): New substituted variable.
83551 * elf/check-textrel.c: File removed.
83552
83553 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83554
83555 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83556 allow.
83557 * conform/data/ctype.h-data [C99-based standards] (isblank):
83558 Expect function.
83559 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83560 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83562 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83563 Specify type. Require positive value.
83564 (EILSEQ): Likewise.
83565 (ERANGE): Likewise.
83566 [ISO || POSIX] (EILSEQ): Do not expect.
83567 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83568 Specify type. Require positive value.
83569 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83570 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83571 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83572 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83573 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83574 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83575 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83576 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83577 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83578 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83579 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83580 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83581 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83582 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83583 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83584 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83585 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83586 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83587 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83588 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83589 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83590 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83591 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83592 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83593 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83594 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83595 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83596 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83597 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83598 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83599 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83600 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83601 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83602 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83603 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83604 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83605 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83606 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83607 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83608 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83609 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83610 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83611 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83612 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83613 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83614 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83615 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83616 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83617 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83618 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83619 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83620 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83621 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83622 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83623 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83624 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83625 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83626 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83627 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83628 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83629 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83630 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83631 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83632 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83633 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83634 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83635 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83636 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83637 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83638 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83639 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83640 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83641 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83642 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83643 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83644 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83645 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83646 Require >= 2.
83647 (FLT_ROUNDS): Expect as macro, not constant.
83648 (FLT_MANT_DIG): Use macro-int-constant.
83649 (DBL_MANT_DIG): Likewise.
83650 (LDBL_MANT_DIG): Likewise.
83651 (FLT_DIG): Likewise.
83652 (DBL_DIG): Likewise.
83653 (LDBL_DIG): Likewise.
83654 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83655 (DBL_MIN_EXP): Likewise.
83656 (LDBL_MIN_EXP): Likewise.
83657 (FLT_MAX_EXP): Use macro-int-constant.
83658 (DBL_MAX_EXP): Likewise.
83659 (LDBL_MAX_EXP): Likewise.
83660 (FLT_MAX_10_EXP): Likewise.
83661 (DBL_MAX_10_EXP): Likewise.
83662 (LDBL_MAX_10_EXP): Likewise.
83663 (FLT_MAX): Use macro-constant.
83664 (DBL_MAX): Likewise.
83665 (LDBL_MAX): Likewise.
83666 (FLT_EPSILON): Use macro-constant. Give upper bound.
83667 (DBL_EPSILON): Likewise.
83668 (LDBL_EPSILON): Likewise.
83669 (FLT_MIN): Likewise.
83670 (DBL_MIN): Likewise.
83671 (LDBL_MIN): Likewise.
83672 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83673 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83674 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83675 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83676 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83677 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83678 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83679 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83680 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83681 [ISO11] (FLT_TRUE_MIN): Likewise.
83682 [ISO11] (LDBL_TRUE_MIN): Likewise.
83683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83684 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83685 (SCHAR_MIN): Use macro-int-constant. Specify type.
83686 (SCHAR_MAX): Likewise.
83687 (UCHAR_MAX): Likewise.
83688 (CHAR_MIN): Likewise.
83689 (CHAR_MAX): Likewise.
83690 (MB_LEN_MAX): Use macro-int-constant.
83691 (SHRT_MIN): Use macro-int-constant. Specify type.
83692 (SHRT_MAX): Likewise.
83693 (USHRT_MAX): Likewise.
83694 (INT_MAX): Likewise.
83695 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83696 bound negative.
83697 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83698 bound with "U".
83699 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83700 bound with "L".
83701 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83702 bound negative. Suffix upper bound with "L".
83703 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83704 bound with "UL".
83705 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83706 Specify type.
83707 [C99-based standards] (LLONG_MAX): Likewise.
83708 [C99-based standards] (ULLONG_MAX): Likewise.
83709 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83710 == 0.
83711 [ISO11] (max_align_t): Require type.
83712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83713
83714 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83715 from $CFLAGS, without defining away __attribute__ calls.
83716 (checknamespace): Use $CFLAGS_namespace.
83717
83718 * conform/conformtest.pl (@keywords): Only include C99 keywords
83719 for standards based on C99 or C11.
83720
83721 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83722 Disable tests.
83723 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83724 UNIX98]: Likewise.
83725
83726 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83727 usability of symbols in #if.
83728
83729 * conform/conformtest.pl: If macro or constant types start
83730 "promoted:", expect the symbol to be of the following type
83731 promoted by the integer promotions.
83732
83733 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83734 in one place. Also handle "macro-constant".
83735
83736 * conform/conformtest.pl: Only accept expected macro values with
83737 "==". Parse all "macro" lines in one place.
83738 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83739
83740 * conform/conformtest.pl: Handle braced types on "constant" lines
83741 instead of handling "typed-constant".
83742 * conform/data/signal.h-data: Use "constant" instead of
83743 "typed-constant".
83744
83745 * conform/conformtest.pl: Handle "optional-" at start of lines in
83746 one place rather than duplicating several cases. Handle each
83747 format of "macro" line with initial "optional-".
83748
83749 * conform/conformtest.pl: Only accept expected constant or
83750 optional-constant values with "==". Parse all "constant" lines in
83751 one place. Parse all "optional-constant" lines in one place.
83752 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83753 * conform/data/fmtmsg.h-data: Likewise.
83754 * conform/data/netinet/in.h-data: Likewise.
83755 * conform/data/tar.h-data: Likewise.
83756 * conform/data/limits.h-data: Use "==" form on "constant" and
83757 "optional-constant" lines.
83758
83759 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83760 Use -std=c99 for XOPEN2K.
83761 (@knownproblems): Remove.
83762 (newtoken): Don't check %isknown.
83763
83764 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83765 Do not expect macro.
83766 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83767 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83768 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83769 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83770 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83771 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83772 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83773 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83774 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83775 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83776 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83777 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83778 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83779 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83780 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83781 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83782 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83783 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83784 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83785 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83786 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83787 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83788 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83789 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83790 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83791 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83792 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83793 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83794 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83795 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83796 [XPG3] (acosh): Likewise.
83797 [XPG3] (asinh): Likewise.
83798 [XPG3] (atanh): Likewise.
83799 [XPG3] (cbrt): Likewise.
83800 [XPG3] (expm1): Likewise.
83801 [XPG3] (ilogb): Likewise.
83802 [XPG3] (log1p): Likewise.
83803 [XPG3] (logb): Likewise.
83804 [XPG3] (nextafter): Likewise.
83805 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83806 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83807 [XPG3] (remainder): Likewise.
83808 [XPG3] (rint): Likewise.
83809 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83810 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83811 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83812 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83813 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83814 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83815 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83816 [UNIX98 || XOPEN2K] (scalb): Expect.
83817 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83818 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83819 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83820 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83821 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83822 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83823 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83824 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83825 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83826 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83827 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83828 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83829 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83830 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83831 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83832 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83833 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83834 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83835 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83836 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83837 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83838 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83839 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83840 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83841 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83842 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83843 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83844 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83845 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83846 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83847 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83848 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83849 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83850 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83851 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83852 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83853 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83854 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83855 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83856 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83857 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83858 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83859 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83860 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83861 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83862 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83863 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83864 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83865 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83866 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83867 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83868 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83869 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83870 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83871 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83872 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83873 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83874 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83875 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83876 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83877 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83878 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83879 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83880 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83881 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83882 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83883 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83884 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83885 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83886 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83887 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83888 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83889 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83890 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83891 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83892 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83893 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83894 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83895 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83896 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83897 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83898 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83899 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83900 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83901 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83902 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83903 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83904 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83905 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83906 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83907 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83908 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83909 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83910 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83911 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83912 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83913 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83914 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83915 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83916 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83917 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83918 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83919 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83920 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83921 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83922 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83923 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83924 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83925 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83926 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83927 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83928 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83929 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83930 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83931 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83932 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83933 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83934 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83935 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83936 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83937 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83938 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83939 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83940 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83941 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83942 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83943 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83944 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83945 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83946 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83947 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83948 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83949 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83950 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83951 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83952 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83953 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83954
83955 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83956 _XOPEN_SOURCE_EXTENDED for XPG4.
83957
83958 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83959
83960 * Makeconfig (localtime): Remove variable.
83961 (inst_localtime-file): Likewise.
83962
83963 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83964
83965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83966 Update.
83967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83968 Update.
83969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83970 Update.
83971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83972 Update.
83973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83974 Update.
83975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83976 Update.
83977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83978 Update.
83979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83980 Update.
83981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83982 Update.
83983
83984 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83985
83986 [BZ #2550]
83987 [BZ #2570]
83988 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83989 comparisons to determine direction to adjust input.
83990 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83991 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83993 Likewise.
83994 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83995 Likewise.
83996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83997 Likewise.
83998 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83999 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84000 Likewise.
84001 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84002 Likewise.
84003 * math/libm-test.inc (nexttoward_test): Add more tests.
84004
84005 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84006
84007 [BZ #14040]
84008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84009 in version GLIBC_2.1, not GLIBC_2.0.
84010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84011 Likewise.
84012
84013 2012-04-30 Joseph Myers <joseph@codesourcery.com>
84014
84015 [BZ #13942]
84016 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84017 (1 - x) * (1 + x).
84018 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84019 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84020 * math/libm-test.inc (acos_test): Add more tests.
84021 (asin_test): Likewise.
84022 * sysdeps/i386/fpu/libm-test-ulps: Update.
84023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84024
84025 [BZ #14034]
84026 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84027 of square root.
84028 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84029 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84030 * math/libm-test.inc (acos_test_tonearest): New function.
84031 (acos_test_towardzero): Likewise.
84032 (acos_test_downward): Likewise.
84033 (acos_test_upward): Likewise.
84034 (asin_test_tonearest): Likewise.
84035 (asin_test_towardzero): Likewise.
84036 (asin_test_downward): Likewise.
84037 (asin_test_upward): Likewise.
84038 (main): Call the new functions.
84039 * sysdeps/i386/fpu/libm-test-ulps: Update.
84040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84041
84042 [BZ #13884]
84043 [BZ #13924]
84044 * math/e_exp10.c: Include <float.h>.
84045 (__ieee754_exp10): Handle underflow here rather than multiplying
84046 large negative argument by M_LN10.
84047 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84048 of __ieee754_expf.
84049 * math/e_exp10l.c: Include <float.h>.
84050 (__ieee754_exp10l): Handle underflow here rather than multiplying
84051 large negative argument by M_LN10l.
84052 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84053 spurious overflow exception on underflow.
84054
84055 2012-04-29 Marek Polacek <polacek@redhat.com>
84056
84057 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84058 (__fortify_function): New macro.
84059 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84060 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84061 __extern_always_inline.
84062 * libio/bits/stdio2.h: Likewise.
84063 * libio/bits/stdio.h: Likewise.
84064 * string/string.h: Likewise.
84065 * string/bits/string3.h: Likewise.
84066 * include/stdio.h: Likewise.
84067 * stdlib/bits/stdlib.h: Likewise.
84068 * stdlib/stdlib.h: Likewise.
84069 * rt/bits/mqueue2.h: Likewise.
84070 * rt/mqueue.h: Likewise.
84071 * posix/bits/unistd.h: Likewise.
84072 * posix/unistd.h: Likewise.
84073 * io/bits/poll2.h: Likewise.
84074 * io/bits/fcntl2.h: Likewise.
84075 * io/fcntl.h: Likewise.
84076 * io/sys/poll.h: Likewise.
84077 * misc/bits/syslog.h: Likewise.
84078 * misc/bits/syslog-ldbl.h: Likewise.
84079 * misc/sys/syslog.h: Likewise.
84080 * socket/bits/socket2.h: Likewise.
84081 * socket/sys/socket.h: Likewise.
84082 * debug/tst-chk1.c: Likewise.
84083 * wcsmbs/bits/wchar2.h: Likewise.
84084 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84085 * wcsmbs/wchar.h: Likewise.
84086
84087 2012-04-29 Andreas Jaeger <aj@suse.de>
84088
84089 * Makerules (tests): Remove enable-check-abi protection.
84090 (check-abi-warn): Remove.
84091 (check-abi-%): Remove check-abi-warn usage.
84092
84093 * configure.in: Remove check-abi configure option.
84094 * configure: Regenerated.
84095 * config.make.in (enable-check-abi): Remove.
84096
84097 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84098
84099 [BZ #14033]
84100 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84101 double functions to double *_finite functions.
84102
84103 [BZ #13941]
84104 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84105 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84106 LDBL_MIN_EXP.
84107 * stdio-common/Makefile (tests): Add tst-sprintf3.
84108 * stdio-common/tst-sprintf3.c: New file.
84109
84110 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84111 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84112
84113 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84114
84115 * conform/conformtest.pl: Remove duplicate typed-constant
84116 handling.
84117
84118 2012-04-28 David S. Miller <davem@davemloft.net>
84119
84120 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84121 (check-abi-%): Remove AWK script prerequisite and explicit
84122 abilist directory.
84123 (check-abi): Rewrite to just diff the symlist with the abilist.
84124 (config-tls, config-abi-config): Delete, no longer used.
84125 (update-abi-%): Remove AWK script and explicit abilist directory.
84126 (update-abi): Rewrite to simply compare and conditionally copy the
84127 symlist and the sysdep abilist file. Remove update-abi-config
84128 checks.
84129 * abilist/ld.abilist: Remove.
84130 * abilist/libBrokenLocale.abilist: Remove.
84131 * abilist/libanl.abilist: Remove.
84132 * abilist/libcrypt.abilist: Remove.
84133 * abilist/libdl.abilist: Remove.
84134 * abilist/librt.abilist: Remove.
84135 * abilist/libthread_db.abilist: Remove.
84136 * abilist/libutil.abilist: Remove.
84137 * scripts/extract-abilist.awk: Remove.
84138 * scripts/merge-abilist.awk: Remove.
84139 * sysdeps/generic/libcidn.abilist: New file.
84140 * sysdeps/generic/libnss_compat.abilist: New file.
84141 * sysdeps/generic/libnss_db.abilist: New file.
84142 * sysdeps/generic/libnss_dns.abilist: New file.
84143 * sysdeps/generic/libnss_files.abilist: New file.
84144 * sysdeps/generic/libnss_hesiod.abilist: New file.
84145 * sysdeps/generic/libnss_nis.abilist: New file.
84146 * sysdeps/generic/libnss_nisplus.abilist: New file.
84147 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84148 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84149 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84150 file.
84151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84152 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84153 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84154 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84155 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84156 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84157 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84158 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84159 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84160 file.
84161 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84162 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84163 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84164 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84165 file.
84166 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84167 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84168 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84169 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84170 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84171 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84172 file.
84173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84174 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84175 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84176 file.
84177 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84179 New file.
84180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84181 New file.
84182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84183 New file.
84184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84185 New file.
84186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84187 New file.
84188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84189 New file.
84190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84191 New file.
84192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84193 New file.
84194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84195 New file.
84196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84197 New file.
84198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84199 New file.
84200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84201 New file.
84202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84203 New file.
84204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84205 file.
84206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84207 New file.
84208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84209 New file.
84210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84211 file.
84212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84213 New file.
84214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84215 New file.
84216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84217 file.
84218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84219 New file.
84220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84221 New file.
84222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84223 New file.
84224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84225 New file.
84226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84227 New file.
84228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84229 New file.
84230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84232 file.
84233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84234 New file.
84235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84236 file.
84237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84238 file.
84239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84240 file.
84241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84242 file.
84243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84244 file.
84245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84246 New file.
84247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84248 file.
84249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84250 file.
84251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84252 New file.
84253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84254 file.
84255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84257 file.
84258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84259 New file.
84260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84261 file.
84262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84263 file.
84264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84265 file.
84266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84267 file.
84268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84269 file.
84270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84271 New file.
84272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84273 file.
84274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84275 file.
84276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84277 New file.
84278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84279 file.
84280 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84281 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84282 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84283 file.
84284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84285 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84286 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84288 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84289 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84290 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84291 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84292 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84293 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84296 file.
84297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84298 New file.
84299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84300 file.
84301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84302 file.
84303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84304 file.
84305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84306 file.
84307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84308 file.
84309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84310 New file.
84311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84312 New file.
84313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84314 file.
84315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84316 New file.
84317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84318 file.
84319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84321 file.
84322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84323 New file.
84324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84325 file.
84326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84327 file.
84328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84329 file.
84330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84331 file.
84332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84333 file.
84334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84335 New file.
84336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84337 New file.
84338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84339 file.
84340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84341 New file.
84342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84343 file.
84344
84345 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84346
84347 * conform/conformtest.pl: Fix typo in handling typed-constant from
84348 allow-header.
84349
84350 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84351
84352 * README: Cut down references to pre-2.6 Linux kernels and
84353 Linuxthreads. Update lists of configurations in libc and ports
84354 and sort alphabetically. Say "or newer" with Linux kernel version
84355 requirements.
84356
84357 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84358
84359 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84360
84361 [BZ #887]
84362 * math/libm-test.inc (logb_test_downward): New test to expose
84363 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84364 rounding mode.
84365
84366 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84367
84368 [BZ #14027]
84369 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84370 to be done.
84371 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84372 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84373
84374 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84375
84376 * sysdeps/unix/i386/brk.S: Remove file.
84377 * sysdeps/unix/i386/dl-brk.S: Likewise.
84378 * sysdeps/unix/i386/pipe.S: Likewise.
84379 * sysdeps/unix/i386/sigreturn.S: Likewise.
84380 * sysdeps/unix/i386/syscall.S: Likewise.
84381 * sysdeps/unix/i386/vfork.S: Likewise.
84382 * sysdeps/unix/i386/wait.S: Likewise.
84383
84384 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84385 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84386
84387 * configure.in (arm*-none*): Do not allow without
84388 --enable-hacker-mode.
84389 (netbsd*): Remove case setting base_os.
84390 (386bsd*): Likewise.
84391 (freebsd*): Likewise.
84392 (bsdi*): Likewise.
84393 (osf*): Likewise.
84394 (sunos*): Likewise.
84395 (ultrix*): Likewise.
84396 (newsos*): Likewise.
84397 (dynix*): Likewise.
84398 (*bsd*): Likewise.
84399 (sysv*): Likewise.
84400 (isc*): Likewise.
84401 (esix*): Likewise.
84402 (sco*): Likewise.
84403 (minix*): Likewise.
84404 (irix4*): Likewise.
84405 (irix6*): Likewise.
84406 (solaris[2-9]*): Likewise.
84407 (none): Likewise.
84408 * configure: Regenerated.
84409
84410 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84411
84412 [BZ #11521]
84413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84414 overflow or cancellation in calculating denominator.
84415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84417 down expression to avoid unexpected rounding in newer GCCs.
84418 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84419
84420 2012-04-26 David S. Miller <davem@davemloft.net>
84421
84422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84423 long-double compat symbols.
84424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84437
84438 2012-04-25 David S. Miller <davem@davemloft.net>
84439
84440 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84441 HWCAP_* values only after the memory barriers have been defined.
84442 (atomic_full_barrier): Define.
84443 (atomic_read_barrier): Define.
84444 (atomic_write_barrier): Define.
84445
84446 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84447
84448 * shlib-versions: Add libgcc_s version information.
84449 * sysdeps/generic/libgcc_s.h: Remove.
84450 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84451 libgcc_s.h.
84452 * sysdeps/gnu/unwind-resume.c: Likewise.
84453 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84454
84455 2012-04-25 David S. Miller <davem@davemloft.net>
84456
84457 * sysdeps/unix/sparc/brk.S: Delete.
84458 * sysdeps/unix/sparc/dl-brk.S: Delete.
84459 * sysdeps/unix/sparc/pipe.S: Delete.
84460 * sysdeps/unix/sparc/sysdep.S: Delete.
84461 * sysdeps/unix/sparc/sysdep.h: Delete.
84462 * sysdeps/unix/sparc/vfork.S: Delete.
84463 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84464 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84465 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84466 (ret_ERRVAL, r0, r1, MOVE): Define.
84467 (JUMPTARGET): Remove.
84468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84469 sysdeps/unix/sparc/sysdep.h
84470 (ENTRY, END): Remove.
84471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84472
84473 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84474
84475 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84476 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84477 -DIS_IN_build.
84478
84479 * timezone/README: Update upstream location and email address for
84480 tzcode and tzdata.
84481 * timezone/zdump.c: Update from tzcode 2012b.
84482 * timezone/zic.c: Likewise.
84483
84484 * configure.in (libc_cv_as_needed): Remove test.
84485 * configure: Regenerated.
84486 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84487 conditional definition.
84488 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84489 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84490 * config.make.in (have-as-needed): Remove variable.
84491
84492 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84493 Paul Pluzhnikov <ppluzhnikov@google.com>
84494
84495 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84496 strings correctly.
84497
84498 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84499
84500 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84501 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84502 * sysdeps/sh/strlen.S: Likewise.
84503
84504 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84505
84506 * sysdeps/unix/fork.S: Remove file.
84507 * sysdeps/unix/i386/fork.S: Likewise.
84508 * sysdeps/unix/sparc/fork.S: Likewise.
84509
84510 * sysdeps/unix/system.c: Remove file.
84511 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84512
84513 * sysdeps/unix/getegid.S: Remove file.
84514 * sysdeps/unix/geteuid.S: Likewise.
84515
84516 2012-04-24 Roland McGrath <roland@hack.frob.com>
84517
84518 * scripts/check-localplt.awk: New file.
84519 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84520 of diff.
84521 * scripts/data/localplt-generic.data: Add a comment.
84522
84523 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84524 NODE when __dir_mkfile failed.
84525 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84526 Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84527
84528 2012-04-24 Andreas Jaeger <aj@suse.de>
84529
84530 * Makerules (common-clean): Also remove gen-as-const-headers
84531 files.
84532
84533 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84534
84535 * Makerules (native-compile): Do not change working directory for
84536 build. Use $(OUTPUT_OPTION) in command.
84537 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84538
84539 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84540
84541 [BZ #13886]
84542 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84543 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84544 * math/libm-test.inc (floor_test): Add more tests.
84545 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84546
84547 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84548
84549 * sysdeps/unix/getdents.c: Remove file.
84550 * sysdeps/unix/sysv/getdents.c: Likewise.
84551 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84552
84553 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84554 sysdeps/unix/mman/syscalls.list.
84555 (mmap): Likewise.
84556 (mprotect): Likewise.
84557 (msync): Likewise.
84558 (munmap): Likewise.
84559 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84560 * sysdeps/unix/mman/syscalls.list: Remove.
84561 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84562
84563 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84564 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84565 * configure: Regenerated.
84566 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84567 $(libgcc_s_suffix).
84568 * config.make.in (libgcc_s_suffix): Remove variable.
84569
84570 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84571
84572 * sysdeps/unix/sysv/gethostname.c: Move to ...
84573 * sysdeps/posix/gethostname.c: ... here.
84574
84575 * sysdeps/unix/execve.S: Remove file.
84576
84577 * sysdeps/unix/_exit.S: Remove file.
84578
84579 2012-04-23 Andreas Jaeger <aj@suse.de>
84580
84581 [BZ #13739]
84582 * manual/Makefile: Remove make dist support, there's no
84583 need for a stand-alone documentation tar ball.
84584 (TEXI2DVI): Define always, it's not in Makeconfig.
84585 (dist): Removed.
84586 (tar-it): Removed.
84587 (edition): Removed.
84588 (glibc-doc-$(edition).tar): Removed
84589 (%.Z): Removed.
84590 (%.gz): Removed.
84591 (%.uu): Removed.
84592 (ETAGS): Remove, it's in Makeconfig.
84593 (move-if-change): Remove, it's in Makeconfig.
84594
84595 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84596
84597 [BZ #13970]
84598 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84599 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84600 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84601 (strtod_l, strtof_l, strtold_l): Remove __wur.
84602 It is not necessarily an error to ignore strtol's return value.
84603 One can reliably look at the stored endptr to decide whether
84604 the number had valid syntax.
84605
84606 2012-04-21 Andreas Jaeger <aj@suse.de>
84607
84608 [BZ #13739]
84609 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84610
84611 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84612
84613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84614 * sysdeps/unix/sysv/Versions: Remove file.
84615
84616 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84617
84618 [BZ #13927]
84619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84620
84621 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84622
84623 [BZ #7064]
84624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84625 version from __vm86.
84626
84627 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84628
84629 * sysdeps/unix/common/lxstat.c: Remove file.
84630 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84631
84632 * sysdeps/unix/sysv/Makefile: Remove file.
84633
84634 * sysdeps/unix/sysv/direct.h: Remove file.
84635
84636 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84637 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84638 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84639 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84640 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84641 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84642 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84643
84644 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84645
84646 * sysdeps/unix/xmknod.c: Remove file.
84647 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84648
84649 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84650
84651 * sysdeps/unix/sysv/i386/time.S: Remove file.
84652
84653 * sysdeps/unix/fxstat.c: Remove file.
84654 * sysdeps/unix/xstat.c: Likewise.
84655 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84656
84657 * sysdeps/unix/sysv/sigaction.c: Remove file.
84658
84659 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84660 (sysdep_headers): Remove variable.
84661 [termio.h not in sysdep_headers] (generated): Likewise.
84662 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84663 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84664 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84665 * sysdeps/unix/sysv/tcflow.c: Likewise.
84666 * sysdeps/unix/sysv/tcflush.c: Likewise.
84667 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84668 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84669 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84670 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84671 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84672
84673 * sysdeps/unix/siglist.c: Remove file.
84674
84675 * sysdeps/unix/getppid.S: Remove file.
84676
84677 * sysdeps/unix/mkdir.c: Remove file.
84678 * sysdeps/unix/rmdir.c: Likewise.
84679
84680 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84681
84682 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84683 ERR_MAX value.
84684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84685 errlist-compat value.
84686
84687 2012-04-18 David S. Miller <davem@davemloft.net>
84688
84689 * sysdeps/generic/memcopy.h (reg_char): Delete.
84690 * debug/strcat_chk.c: Use char, not reg_char.
84691 * debug/strcpy_chk.c: Likewise.
84692 * debug/strncat_chk.c: Likewise.
84693 * debug/strncpy_chk.c: Likewise.
84694 * string/memchr.c: Likewise.
84695 * string/memrchr.c: Likewise.
84696 * string/rawmemchr.c: Likewise.
84697 * string/strcat.c: Likewise.
84698 * string/strchr.c: Likewise.
84699 * string/strchrnul.c: Likewise.
84700 * string/strcmp.c: Likewise.
84701 * string/strcpy.c: Likewise.
84702 * string/strncat.c: Likewise.
84703 * string/strncmp.c: Likewise.
84704 * string/strncpy.c: Likewise.
84705
84706 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84707
84708 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84709 __builtin_memcopy is called when src and dest ranges are known to not
84710 overlap.
84711
84712 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84713
84714 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84715 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84716 fwd_align_merge macro call.
84717 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84718 bwd_align_merge macro call.
84719 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84720
84721 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84722
84723 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84724 bwd_align_merge macros.
84725 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84726 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84727 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84728
84729 2012-04-18 David S. Miller <davem@davemloft.net>
84730
84731 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84732
84733 2012-04-18 Andreas Jaeger <aj@suse.de>
84734
84735 [BZ #6794]
84736 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84737 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84738 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84739
84740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84741 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84742 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84743
84744 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84745 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84746 Adjust for changed ldbl-128 files.
84747
84748 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84749 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84750 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84751
84752 2012-04-17 David S. Miller <davem@davemloft.net>
84753
84754 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84755
84756 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84757
84758 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84759 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84760 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84761 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84762 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84763 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84764
84765 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84766
84767 [BZ #6794]
84768 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84769 * math/libm-test.inc: Add ilogb errno and exception tests.
84770 * math/w_ilogb.c: New file: ilogb wrapper.
84771 * math/w_ilogbf.c: New file: ilogbf wrapper.
84772 * math/w_ilogbl.c: New file: ilogbl wrapper.
84773 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84774 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84775 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84776 exception being thrown with 0.0 as argument.
84777 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84778 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84779 exception being thrown with 0.0 as argument.
84780 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84781 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84782 exception being thrown with 0.0 as argument.
84783 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84784 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84785 exception being thrown with 0.0 as argument.
84786 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84787 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84789 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84790 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84791 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84792 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84793 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84794 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84795
84796 2012-04-17 Petr Baudis <pasky@ucw.cz>
84797
84798 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84799 with altivec.
84800
84801 2012-04-16 Marek Polacek <polacek@redhat.com>
84802
84803 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84804
84805 2012-04-16 Marek Polacek <polacek@redhat.com>
84806
84807 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84808 operands of fdivp instruction.
84809
84810 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84811
84812 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84813 * elf/tst-auditmod3b.c: Likewise.
84814 * elf/tst-auditmod4b.c: Likewise.
84815 * elf/tst-auditmod5b.c: Likewise.
84816 * elf/tst-auditmod6b.c: Likewise.
84817 * elf/tst-auditmod6c.c: Likewise.
84818 * elf/tst-auditmod7b.c: Likewise.
84819 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84820 * sysdeps/x86_64/preconfigure.in: Likewise.
84821 * sysdeps/x86_64/preconfigure: Regenerated.
84822
84823 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84824
84825 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84826 __ILP32__.
84827
84828 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84829
84830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84831 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84832
84833 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84834
84835 [BZ #13973]
84836 * locale/iso-639.def: Fix gl language name. Spotted by
84837 Yaron Shahrabani.
84838
84839 2012-04-12 Roland McGrath <roland@hack.frob.com>
84840
84841 [BZ #2074]
84842 * libio/libio.h (__io_write_fn): Update comment.
84843
84844 2012-04-12 Petr Baudis <pasky@ucw.cz>
84845
84846 [BZ #2074]
84847 * stdio.texi (Hook Functions): The user provided writer function
84848 is not allowed to return -1.
84849
84850 2012-04-11 David S. Miller <davem@davemloft.net>
84851
84852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84853
84854 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84855
84856 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84857 Add a leading slash to rtkaio.
84858
84859 2012-04-11 Jim Meyering <meyering@redhat.com>
84860
84861 [BZ #11959]
84862 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84863 It is not necessarily an error to ignore fwrite's return
84864 value. One can reliably use ferror to test for errors after
84865 the fact.
84866
84867 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84868
84869 * bits/types.h (__snseconds_t): New type.
84870 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84871
84872 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84874 (__SNSECONDS_T_TYPE): Likewise.
84875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84876 (__SNSECONDS_T_TYPE): Likewise.
84877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84878 (__SNSECONDS_T_TYPE): Likewise.
84879
84880 2012-04-10 Andreas Jaeger <aj@suse.de>
84881
84882 [BZ #2636]
84883 * manual/time.texi (Processor Time): Return type of times is
84884 elapsed real time since an arbitrary point in the past.
84885 (CPU Time): Move CLK_TCK from here...
84886 (Processor Time): ...to here. Correct description.
84887 * manual/conf.texi (Constants for Sysconf): Correct description of
84888 _SC_CLK_TCK.
84889
84890 2012-04-10 David S. Miller <davem@davemloft.net>
84891
84892 [BZ #13967]
84893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84894 where the is a gap between DT_REL(A) and DT_JMPREL.
84895
84896 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84897
84898 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84899 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84900 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84901
84902 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84903
84904 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84905 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84906 (dl_main): Handle --inhibit-cache.
84907 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84908 _dl_inhibit_cache.
84909 * elf/dl-load.c (_dl_map_object): Use it.
84910 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84911
84912 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84913
84914 [BZ #13872]
84915 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84916 (__ieee754_powl): Saturate large exponents rather than testing for
84917 overflow of y*log2(x).
84918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84919 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84920 exceptions.
84921
84922 [BZ #11521]
84923 * math/s_ctan.c: Include <float.h>.
84924 (__ctan): Avoid internal overflow or cancellation in calculating
84925 denominator.
84926 * math/s_ctanf.c: Likewise.
84927 * math/s_ctanl.c: Likewise.
84928 * math/s_ctanh.c: Likewise.
84929 * math/s_ctanhf.c: Likewise.
84930 * math/s_ctanhl.c: Likewise.
84931 * math/libm-test.inc (ctan_test): Add more tests.
84932 (ctanh_test): Likewise.
84933 * sysdeps/i386/fpu/libm-test-ulps: Update.
84934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84935
84936 2012-04-09 Andreas Jaeger <aj@suse.de>
84937
84938 [BZ #6894]
84939 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84940 is an optional BSD extension.
84941
84942 [BZ #10254]
84943 * manual/stdio.texi (Opening Streams): Document additional fopen
84944 parameters.
84945
84946 2012-04-09 Roland McGrath <roland@hack.frob.com>
84947
84948 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84949 %eax without telling the compiler.
84950
84951 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84952
84953 [BZ # 13963]
84954 * manual/install.texi: Use sourceware.org.
84955
84956 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84957
84958 [BZ #13873]
84959 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84960 (__ieee754_pow): Generate overflow and underflow using huge*huge
84961 and tiny*tiny rather than just returning constant infinity or zero
84962 for large exponents.
84963 * math/libm-test.inc (pow_test): Require overflow exceptions for
84964 applicable cases of large exponents.
84965
84966 [BZ #706]
84967 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84968 (__ieee754_pow): Use iterative multiplication algorithm only for
84969 integer exponents with absolute value below 1024. Check for odd
84970 integer exponents when using algorithm for real exponents.
84971 * math/libm-test.inc (pow_test): Add more tests.
84972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84973
84974 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84975
84976 [BZ #13705]
84977 * math/libm-test.inc (exp_test): Do not allow overflow exception
84978 on underflow test.
84979
84980 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84981
84982 [BZ #13705]
84983 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84984 instead of __kernel_standard_f.
84985
84986 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84987
84988 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84989 * sysdeps/x86_64/memset_chk.S: Likewise.
84990
84991 2012-04-08 Andreas Jaeger <aj@suse.de>
84992
84993 [BZ #10153]
84994 * manual/startup.texi (Environment Access): Describe return value
84995 for putenv and setenv.
84996
84997 [BZ #6895]
84998 * manual/filesys.texi (Directory Entries): Add description for
84999 DT_LNK.
85000
85001 [BZ #6890]
85002 * manual/filesys.texi (Directory Entries): Clarify that it's file
85003 system not operating system in the description of DT_UNKNOWN.
85004
85005 [BZ #6578]
85006 * manual/syslog.texi (closelog): Fix reference, it's openlog.
85007
85008 2012-04-08 Stephen Compall <s11@member.fsf.org>
85009
85010 [BZ #6649]
85011 * manual/llio.texi (Opening and Closing Files): Add cross
85012 reference to explain mode argument.
85013
85014 2012-04-07 Mike Frysinger <vapier@gentoo.org>
85015
85016 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85017 * sysdeps/x86_64/memset_chk.S: Likewise.
85018
85019 2012-04-07 David S. Miller <davem@davemloft.net>
85020
85021 * elf/elf.h (R_SPARC_WDISP10): Define.
85022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85023 R_SPARC_SIZE32.
85024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85025 R_SPARC_SIZE64 and R_SPARC_H34.
85026
85027 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
85028
85029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85030 conditions and remove no longer applicable assertion.
85031
85032 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85033
85034 * bits/byteswap.h: Include <features.h>.
85035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85037
85038 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85039
85040 * bits/byteswap.h (__bswap_16): Removed.
85041 Include <bits/byteswap-16.h> to get __bswap_16.
85042 * sysdeps/i386/bits/byteswap.h: Likewise.
85043 * sysdeps/s390/bits/byteswap.h: Likewise.
85044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85045 * bits/byteswap-16.h: New file.
85046 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85047 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85048 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85049 * string/Makefile (headers): Add bits/byteswap-16.h.
85050
85051 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85052
85053 [BZ #13895]
85054 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85055 extra indirection.
85056 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85057 * nss/tst-nss-static.c: New.
85058
85059 2012-04-06 Robert Millan <rmh@gnu.org>
85060
85061 [BZ #6486]
85062 * manual/llio.texi (File Position Primitive): lseek
85063 refers to WHENCE when it really means OFFSET.
85064
85065 2012-04-06 Andreas Jaeger <aj@suse.de>
85066
85067 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85068 strncmp declarations.
85069
85070 * abilist/libc.abilist: Add __poll and __ppoll.
85071
85072 2012-04-05 David S. Miller <davem@davemloft.net>
85073
85074 * scripts/check-local-headers.sh: Accept a host triplet in the
85075 path matched by the exclude regexp.
85076
85077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85078 definition.
85079 * sysdeps/powerpc/powerpc32/dl-machine.h
85080 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85081 * sysdeps/s390/s390-32/dl-machine.h
85082 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85083 * sysdeps/sparc/sparc32/dl-machine.h
85084 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85085 * sysdeps/sparc/sparc64/dl-machine.h
85086 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85087
85088 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85089 lazy binding.
85090 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85091 undefined symbol errors.
85092
85093 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85094 DT_NEEDED entries.
85095
85096 2012-04-05 Michael Matz <matz@suse.de>
85097
85098 [BZ #13592]
85099 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85100
85101 2012-04-05 Andreas Jaeger <aj@suse.de>
85102
85103 [BZ #13908]
85104 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85105 comment.
85106
85107 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85108
85109 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85110 which ROUND is no valid rounding mode.
85111
85112 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85113
85114 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85115 read again.
85116 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85117
85118 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85119
85120 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85121 an exception using FPU order intentionally.
85122
85123 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85124
85125 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85126 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85127 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85128 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85129
85130 2012-04-05 Simon Josefsson <simon@josefsson.org>
85131
85132 [BZ #12340]
85133 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85134 EINVAL when BUFLEN is too smal.
85135
85136 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85137
85138 [BZ #13553]
85139 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85140 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85141
85142 2012-04-03 Andreas Jaeger <aj@suse.de>
85143
85144 [BZ #13938]
85145 * manual/setjmp.texi (System V contexts): Fix sentence.
85146
85147 [BZ #13926]
85148 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85149 New macro for this case.
85150 [!__GNUC__] (__bswap_64): New inline function for this case.
85151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85152 * bits/byteswap.h: Likewise.
85153 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85154 ull, guard with __GLIBC_HAVE_LONG_LONG.
85155
85156 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85157 __GLIBC_HAVE_LONG_LONG.
85158
85159 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85160 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85161
85162 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85163
85164 [BZ #13691]
85165 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85166 inptr and inend, rather than using last_ch.
85167
85168 2012-04-02 David S. Miller <davem@davemloft.net>
85169
85170 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85171 * stdio-common/printf-parse.h (read_int): Change return type to
85172 'int', return -1 on INT_MAX overflow.
85173 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85174 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85175 overflows INT_MAX. Check for overflow of in-format-string precision
85176 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85177 SIZE_MAX not INT_MAX for integer overflow test.
85178 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85179 skip the construct in the format string but do not record anything.
85180 * stdio-common/bug22.c: Adjust to test both width/prevision
85181 INT_MAX overflow as well as total length INT_MAX overflow. Check
85182 explicitly for proper errno values.
85183
85184 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85185
85186 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85187 CHAR_MAX.
85188 * string/test-strcmp.c [! WIDE]: Likewise.
85189 * time/tst-mktime2.c: Likewise for INT_MAX.
85190 * string/test-string.h: #include <sys/param.h> for MIN.
85191
85192 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85193 * sysdeps/i386/init-first.c (init): Likewise.
85194 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85195 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85196 * sysdeps/sh/init-first.c (init): Likewise.
85197
85198 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85199
85200 * po/ru.po: Update from translation team.
85201 * po/vi.po: Likewise.
85202
85203 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85204
85205 * resolv/nss_dns/dns-host.c: Merge copyright years.
85206
85207 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85208
85209 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85210 Optimize memcpy with prefetch if
85211 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85212 src, dst pointers have unequal 16 byte alignments.
85213
85214 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85215
85216 [BZ #13928]
85217 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85218 from a CNAME entry and return the minimum ttl for the query.
85219 (gaih_getanswer_slice): Likewise.
85220
85221 2012-03-30 Jeff Law <law@redhat.com>
85222
85223 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85224 due to long keys.
85225 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85226 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85227
85228 * resolv/nss_dns/dns-host.c: Update copyright year.
85229
85230 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85231
85232 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85233 requests to save a system call. Fix check that all bytes are sent.
85234
85235 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85236 comments for sendmmsg.
85237
85238 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85239
85240 [BZ #13691]
85241 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85242 with only 1 character between 0x0041 and 0x01b0.
85243 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85244 * wcsmbs/tst-mbsnrtowcs.c: New file.
85245
85246 2012-03-29 David S. Miller <davem@davemloft.net>
85247
85248 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85249 small copies by hand.
85250
85251 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85252
85253 [BZ #13761]
85254 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85255 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85256 group memberships.
85257
85258 2012-03-28 David S. Miller <davem@davemloft.net>
85259
85260 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85261 that branches into memcpy.
85262 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85265 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85267 bits.
85268 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85269 implementation too.
85270 * sysdeps/sparc/mempcpy.S: New file.
85271
85272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85273 the IFUNC routine in the libc case.
85274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85275
85276 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85277 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85278 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85279 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85280 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85281 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85282 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85283 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85284
85285 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85286 loop to 256 bytes instead of 64 bytes and fix test signedness.
85287
85288 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85289 * sysdeps/sparc/sparc32/Makefile: rather than here...
85290 * sysdeps/sparc/sparc64/Makefile: and here.
85291
85292 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85293
85294 * malloc/mallocbug.c: Avoid warnings about unused variables.
85295
85296 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85297
85298 [BZ #13760]
85299 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85300 in the right place. Discard and retry query if response is
85301 larger than input buffer size.
85302
85303 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85304
85305 [BZ #369]
85306 [BZ #2678]
85307 [BZ #3866]
85308 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85309 x for large integer exponent.
85310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85311 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85312 sign of result as needed afterwards.
85313 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85315 result for underflowing pow the same as for overflow.
85316 (__kernel_standard_l): Handle powl overflow and underflow here
85317 rather than calling __kernel_standard.
85318 * math/libm-test.inc (pow_test): Add more tests.
85319
85320 [BZ #3868]
85321 [BZ #13879]
85322 [BZ #13910]
85323 [BZ #13911]
85324 [BZ #13912]
85325 [BZ #13913]
85326 [BZ #13915]
85327 [BZ #13916]
85328 [BZ #13917]
85329 [BZ #13918]
85330 [BZ #13919]
85331 [BZ #13920]
85332 [BZ #13921]
85333 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85334 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85335 (__kernel_standard_l): New function.
85336 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85337 __kernel_standard.
85338 * math/w_acosl.c (__acosl): Likewise.
85339 * math/w_asinl.c (__asinl): Likewise.
85340 * math/w_atan2l.c (__atan2l): Likewise.
85341 * math/w_atanhl.c (__atanhl): Likewise.
85342 * math/w_coshl.c (__coshl): Likewise.
85343 * math/w_exp10l.c (__exp10l): Likewise.
85344 * math/w_exp2l.c (__exp2l): Likewise.
85345 * math/w_fmodl.c (__fmodl): Likewise.
85346 * math/w_hypotl.c (__hypotl): Likewise.
85347 * math/w_j0l.c (__j0l, __y0l): Likewise.
85348 * math/w_j1l.c (__j1l, __y1l): Likewise.
85349 * math/w_jnl.c (__jnl, __ynl): Likewise.
85350 * math/w_lgammal.c (__lgammal): Likewise.
85351 * math/w_log10l.c (__log10l): Likewise.
85352 * math/w_log2l.c (__log2l): Likewise.
85353 * math/w_logl.c (__logl): Likewise.
85354 * math/w_powl.c (__powl): Likewise.
85355 * math/w_remainderl.c (__remainderl): Likewise.
85356 * math/w_scalbl.c (sysv_scalbl): Likewise.
85357 * math/w_sinhl.c (__sinhl): Likewise.
85358 * math/w_sqrtl.c (__sqrtl): Likewise.
85359 * math/w_tgammal.c (__tgammal): Likewise.
85360 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85361 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85362 * math/libm-test.inc (acos_test): Add more tests.
85363 (acosh_test): Likewise.
85364 (asin_test): Likewise.
85365 (atanh_test): Likewise.
85366 (exp_test): Likewise.
85367 (exp10_test): Likewise.
85368 (exp2_test): Likewise.
85369 (expm1_test): Likewise.
85370 (lgamma_test): Likewise.
85371 (log_test): Likewise.
85372 (log10_test): Likewise.
85373 (log1p_test): Likewise.
85374 (log2_test): Likewise.
85375 (pow_test): Do not allow some spurious overflow exceptions.
85376 (sqrt_test): Add more tests.
85377 (tgamma_test): Likewise.
85378 (y0_test): Likewise.
85379 (y1_test): Likewise.
85380 (yn_test): Likewise.
85381
85382 2012-03-27 Anton Blanchard <anton@samba.org>
85383
85384 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85385 MAP_HUGETLB.
85386 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85388 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85389
85390 2012-03-27 David S. Miller <davem@davemloft.net>
85391
85392 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85393
85394 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85395 have-as-vis3 check.
85396
85397 2012-03-27 Andreas Jaeger <aj@suse.de>
85398
85399 * sysdeps/x86_64/elf/configure.in: Moved to ...
85400 * sysdeps/x86_64/configure.in: ... here.
85401 * sysdeps/x86_64/elf/start.S: Moved to ...
85402 * sysdeps/x86_64/start.S: ... here.
85403 * sysdeps/x86_64/elf/configure: Delete.
85404
85405 * sysdeps/x86_64/configure.in: Merge contents from
85406 sysdeps/i386/configure.in (without i686 check).
85407
85408 * sysdeps/i386/elf/Versions: Merge into ...
85409 * sysdeps/i386/Versions: ... this.
85410 * sysdeps/i386/elf/Versions: Delete file.
85411 * sysdeps/i386/elf/start.S: Moved to ...
85412 * sysdeps/i386/start.S: ...here.
85413 * sysdeps/i386/elf/configure.in: Merge into...
85414 * sysdeps/i386/configure.in: ...here.
85415 * sysdeps/i386/elf/configure.in: Delete file.
85416 * sysdeps/i386/elf/configure: Delete file.
85417
85418 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85419 * debug/backtracesyms.c: ... here.
85420 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85421 * debug/backtracesymsfd.c: ... here.
85422 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85423 * sysdeps/generic/ifunc-sel.h: ... here.
85424
85425 * sysdeps/unix/i386/start.c: Delete file.
85426 * sysdeps/unix/sparc/start.c: Delete file.
85427 * sysdeps/unix/start.c: Delete file.
85428
85429 * sysdeps/sh/elf/configure.in: Moved to ...
85430 * sysdeps/sh/configure.in: ... here.
85431 * sysdeps/sh/elf/start.S: Moved to ...
85432 * sysdeps/sh/start.S: ... here.
85433 * sysdeps/sh/elf/configure: Delete file.
85434
85435 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85436 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85437 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85438 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85439 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85440 * sysdeps/powerpc/powerpc64/start.S: here.
85441 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85442 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85443 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85444 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85445 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85446
85447 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85448 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85449 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85450 * sysdeps/powerpc/powerpc32/start.S: ... here.
85451 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85452 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85453 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85454
85455 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85456 * sysdeps/powerpc/ifunc-sel.h: ... here.
85457 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85458 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85459
85460 * sysdeps/sparc/elf/configure.in: Moved to ...
85461 * sysdeps/sparc/configure.in: ... here.
85462 * sysdeps/sparc/elf/configure: Delete file.
85463 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85464 * sysdeps/sparc/sparc32/start.S: ... here.
85465 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85466 * sysdeps/sparc/sparc64/start.S: ... here.
85467 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85468 * sysdeps/sparc/sparc32/Makefile: ... this.
85469 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85470 * sysdeps/sparc/sparc64/Makefile: ... this.
85471
85472 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85473 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85474 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85475 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85476 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85477 * sysdeps/s390/s390-32/setjmp.S: ... here.
85478 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85479 * sysdeps/s390/s390-32/configure.in: ... here.
85480 * sysdeps/s390/s390-32/elf/configure: Delete file.
85481 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85482 * sysdeps/s390/s390-32/start.S: ... here.
85483
85484 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85485 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85486 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85487 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85488 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85489 * sysdeps/s390/s390-64/setjmp.S: ... here.
85490 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85491 * sysdeps/s390/s390-64/configure.in: ... here
85492 * sysdeps/s390/s390-64/elf/configure: Delete file.
85493 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85494 * sysdeps/s390/s390-64/start.S: ... here.
85495 * sysdeps/s390/s390-64/elf/configure: Delete.
85496
85497 * configure.in: Remove support for elf directories in sysdeps.
85498
85499 * configure: Regenerated.
85500 * sysdeps/i386/configure: Regenerated.
85501 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85502 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85503 * sysdeps/s390/s390-32/configure: Regenerated.
85504 * sysdeps/s390/s390-64/configure: Regenerated.
85505 * sysdeps/sh/configure: Regenerated.
85506 * sysdeps/sparc/configure: Regenerated.
85507 * sysdeps/x86_64/configure: Regenerated.
85508
85509 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85510
85511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85512
85513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85514 denormal result into account.
85515
85516 2012-03-25 Roland McGrath <roland@hack.frob.com>
85517
85518 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85519 Reported by Allan McRae <allan@archlinux.org>.
85520
85521 2012-03-23 Jeff Law <law@redhat.com>
85522
85523 * nss/getnssent.c (__nss_getent): Fix typo.
85524
85525 2012-03-23 David S. Miller <davem@davemloft.net>
85526
85527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85528
85529 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85530
85531 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85532 to pad to uint64_t for each field.
85533 (dl_tls_index): Replace unsigned long with uint64_t.
85534
85535 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85536 Paul Pluzhnikov <ppluzhnikov@google.com>
85537
85538 [BZ #6528]
85539 * grp/Makefile (otherlibs): Don't set it.
85540 * inet/Makefile (otherlibs): Likewise.
85541 * login/Makefile (otherlibs): Likewise.
85542 * nscd/Makefile (otherlibs): Likewise.
85543 * posix/Makefile (otherlibs): Likewise.
85544 * pwd/Makefile (otherlibs): Likewise.
85545 * rt/Makefile (otherlibs): Likewise.
85546 * sunrpc/Makefile (otherlibs): Likewise.
85547 * nss/Makefile (otherlibs): Likewise.
85548 Add libnss_files to routines and static-only-routines.
85549 ($(objpfx)getent): Remove rule.
85550 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85551 static-only-routines.
85552
85553 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85554
85555 [BZ #13892]
85556 * math/s_cexp.c: Include <float.h>.
85557 (__cexp): Handle exp result overflowing not necessarily
85558 overflowing both real and imaginary parts of result.
85559 * math/s_cexpf.c: Likewise.
85560 * math/s_cexpl.c: Likewise.
85561 * math/libm-test.inc (cexp_test): Add more tests.
85562 * sysdeps/i386/fpu/libm-test-ulps: Update.
85563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85564
85565 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85566
85567 * include/link.h (ELFW): New macro.
85568 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85569 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85570
85571 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85572
85573 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85574 with uint64_t.
85575
85576 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85577
85578 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85579 declaration.
85580 (struct La_x32_retval): Likewise.
85581
85582 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85583
85584 * sysdeps/x86_64/preconfigure.in: New file.
85585 * sysdeps/x86_64/preconfigure: New generated file.
85586
85587 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85588
85589 [BZ #13824]
85590 * math/e_exp2l.c: Include <float.h>.
85591 (__ieee754_exp2l): Handle overflow and underflow cases
85592 separately. Only pass fractional part of argument to
85593 __ieee754_expl.
85594 * math/libm-test.inc (exp2_test): Add more tests.
85595
85596 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85597 negating x to take absolute value.
85598 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85599 Likewise.
85600 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85601 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85602 Likewise.
85603 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85604 computing low part if x was negated.
85605 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85606
85607 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85608
85609 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85610 la_x32_gnu_pltexit.
85611 (pltexit): Cast int_retval to ptrdiff_t.
85612 * elf/tst-auditmod3b.c: Likewise.
85613 * elf/tst-auditmod4b.c: Likewise.
85614 * elf/tst-auditmod5b.c: Likewise.
85615 * elf/tst-auditmod6b.c: Likewise.
85616 * elf/tst-auditmod6c.c: Likewise.
85617 * elf/tst-auditmod7b.c: Likewise.
85618
85619 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85620 and x32_gnu_pltexit.
85621
85622 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85623 __ELF_NATIVE_CLASS.
85624 (La_x32_regs): New macro.
85625 (La_x32_retval): Likewise.
85626 (la_x32_gnu_pltenter): New function prototype.
85627 (la_x32_gnu_pltexit): Likewise.
85628
85629 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85630
85631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85632 exponent.
85633
85634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85635
85636 * configure.in (libc_cv_cc_nofma): Check for option to disable
85637 generation of FMA instructions.
85638 * configure: Regenerate.
85639 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85640 * sysdeps/ieee754/dbl-64/Makefile: New file.
85641 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85642 Remove brandred-fma4.
85643 (CFLAGS-brandred-fma4.c): Remove.
85644 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85645 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85646 define.
85647 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85648 define.
85649
85650 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85651
85652 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85653 LLONG_MAX != LONG_MAX.
85654 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85655 (_fitoa_word): Likewise.
85656 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85657 LLONG_MAX != LONG_MAX.
85658 * stdio-common/_itowa.h: Include <_itoa.h>.
85659 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85660 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85661 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85662 only if not defined.
85663 (_ITOA_WORD_TYPE): Likewise.
85664 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85665 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85666
85667 2012-03-21 David S. Miller <davem@davemloft.net>
85668
85669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85670
85671 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85672
85673 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85674 of x86_64 when setting libc_cv_slibdir, libdir and
85675 libc_cv_localedir.
85676 * sysdeps/unix/sysv/linux/configure: Regenerated.
85677
85678 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85679
85680 * manual/lang.texi (Old Varargs): Remove section.
85681 (How Variadic): Update menu.
85682 (va_start): Do not mention varargs.h.
85683
85684 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85685 Joseph Myers <joseph@codesourcery.com>
85686
85687 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85688 link test.
85689 * configure: Regenerated.
85690
85691 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85692
85693 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85694 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85695 conformtest.pl
85696
85697 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85698
85699 * NOTES: Remove.
85700 * Makefile (files-for-dist): Remove NOTES.
85701 (NOTES): Remove rule.
85702 * README: Don't refer to NOTES.
85703 * manual/creature.texi: Don't include macros.texi.
85704 * manual/intro.texi (creature.texi): Remove comment referring to
85705 NOTES.
85706
85707 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85708 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85709 * configure: Regenerated.
85710 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85711 LIBC_TRY_CC_OPTION.
85712 (libc_cv_as_i686): Likewise.
85713 (libc_cv_cc_avx): Likewise.
85714 (libc_cv_cc_sse2avx): Likewise.
85715 (libc_cv_cc_fma4): Likewise.
85716 (libc_cv_cc_novzeroupper): Likewise.
85717 * sysdeps/i386/configure: Regenerated.
85718
85719 [BZ #13883]
85720 * sysdeps/i386/fpu/s_cexp.S: Remove.
85721 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85722 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85723 * math/libm-test.inc (cexp_test): Add more tests.
85724 * sysdeps/i386/fpu/libm-test-ulps: Update.
85725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85726
85727 2012-03-21 Allan McRae <allan@archlinux.org>
85728
85729 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85730
85731 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85732
85733 [BZ #13871]
85734 * math/w_exp2.c: Do not include <float.h>.
85735 (o_threshold, u_threshold): Remove.
85736 (__exp2): Calculate result before checking finiteness and calling
85737 __kernel_standard.
85738 * math/w_exp2f.c: Likewise.
85739 * math/w_exp2l.c: Likewise.
85740 * math/libm-test.inc (exp2_test): Require overflow exception for
85741 1e6 input.
85742
85743 [BZ #3866]
85744 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85745 range of signed 64-bit integers before using fistpll. Remove
85746 checks for whether integers fit in mantissa bits.
85747 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85748 the range of signed 32-bit integers before using fistpl. Remove
85749 checks for whether integers fit in mantissa bits.
85750 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85751 (__ieee754_powl): Test for y outside the range of signed 64-bit
85752 integers before using fistpll. Reduce 64-bit values to 63-bit
85753 ones as needed.
85754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85755 divide-by-zero is raised for zero to large negative powers.
85756 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85757 (__ieee754_powl): Test for y outside the range of signed 64-bit
85758 integers before using fistpll. Reduce 64-bit values to 63-bit
85759 ones as needed.
85760 * math/libm-test.inc (pow_test): Add more tests.
85761
85762 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85763
85764 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85765 <stdio-common/_itoa.h>.
85766 * debug/segfault.c: Likewise.
85767 * elf/dl-cache.c: Likewise.
85768 * elf/dl-minimal.c: Likewise.
85769 * elf/dl-misc.c: Likewise.
85770 * elf/dl-sysdep.c: Likewise.
85771 * elf/dl-version.c: Likewise.
85772 * elf/rtld.c: Likewise.
85773 * hurd/hurdsock.c: Likewise.
85774 * hurd/lookup-retry.c: Likewise.
85775 * malloc/malloc.c: Likewise.
85776 * malloc/mtrace.c: Likewise.
85777 * nscd/nscd_getgr_r.c: Likewise.
85778 * nscd/nscd_getpw_r.c: Likewise.
85779 * nscd/nscd_getserv_r.c: Likewise.
85780 * posix/getopt_init.c: Likewise.
85781 * posix/wordexp.c: Likewise.
85782 * stdio-common/_itoa.c: Likewise.
85783 * stdio-common/printf_fphex.c: Likewise.
85784 * stdio-common/vfprintf.c: Likewise.
85785 * string/_strerror.c: Likewise.
85786 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85787 * sysdeps/i386/i686/hp-timing.h: Likewise.
85788 * sysdeps/mach/_strerror.c: Likewise.
85789 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85790 * sysdeps/mach/hurd/sethostid.c: Likewise.
85791 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85792 * sysdeps/mach/xpg-strerror.c: Likewise.
85793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85795 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85796 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85797 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85798 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85799 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85800 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85801 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85802 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85803 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85804 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85805 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85806 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85807 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85808 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85809 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85810 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85811 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85812 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85813 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85814
85815 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85816
85817 * stdio-common/_itoa.h: Moved to ...
85818 * sysdeps/generic/_itoa.h: Here.
85819
85820 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85821
85822 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85823 instead of "_itoa.h" and "_itowa.h".
85824 * stdio-common/vfprintf.: Likewise.
85825
85826 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85827
85828 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85829 <bits/wordsize.h>.
85830 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85831 (__signbit): Likewise.
85832 (llrintf): Likewise.
85833 (llrint): Likewise.
85834
85835 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85836
85837 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85838 __WORDSIZE != 64.
85839
85840 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85841
85842 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85843 OVERFLOW_EXCEPTION_OK.
85844 * math/libm-test.inc ("Philosophy"): Update comment about
85845 exception testing.
85846 (OVERFLOW_EXCEPTION): Define.
85847 (OVERFLOW_EXCEPTION_OK): Likewise.
85848 (INVALID_EXCEPTION_OK): Renumber.
85849 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85850 (IGNORE_ZERO_INF_SIGN): Likewise.
85851 (test_exceptions): Handle FE_OVERFLOW.
85852 (exp10_test): Expect overflow exceptions.
85853 (exp2_test): Likewise.
85854 (expm1_test): Likewise.
85855 (nextafter_test): Likewise.
85856 (pow_test): Likewise.
85857 (scalbn_test): Likewise.
85858 (scalbln_test): Likewise.
85859
85860 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85861
85862 * sysdeps/x86_64/bits/atomic.h
85863 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85864 64bit integer.
85865 (atomic_exchange_acq): Likewise.
85866 (__arch_exchange_and_add_body): Likewise.
85867 (__arch_add_body): Likewise.
85868 (atomic_add_negative): Likewise.
85869 (atomic_add_zero): Likewise.
85870
85871 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85872
85873 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85874 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85875
85876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85877
85878 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85879 Check __x86_64__ instead of __WORDSIZE.
85880
85881 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85882
85883 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85884
85885 2012-03-19 David S. Miller <davem@davemloft.net>
85886
85887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85888
85889 * sysdeps/sparc/fpu/fenv_private.h: New file.
85890 * sysdeps/sparc/fpu/math_private.h: Use it.
85891 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85892 Remove.
85893 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85894 (libc_feholdexcept_setroundl): Remove.
85895 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85896 Remove.
85897 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85898 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85899
85900 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85901
85902 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85903 int64_t instead of long int.
85904 (INSERT_WORDS64): Likewise.
85905
85906 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85907
85908 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85909 _Unwind_GetCFA return to _Unwind_Ptr first.
85910
85911 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85912
85913 [BZ #13629]
85914 * math/s_clog.c: Include <float.h>.
85915 (__clog): Scale large or subnormal inputs.
85916 * math/s_clogf.c: Likewise.
85917 * math/s_clogl.c: Likewise.
85918 * math/s_clog10.c: Include <float.h>.
85919 (M_LOG10_2): Define.
85920 (__clog10): Scale large or subnormal inputs.
85921 * math/s_clog10f.c: Likewise.
85922 * math/s_clog10l.c: Likewise.
85923 * math/libm-test.inc (clog_test): Add more tests.
85924 (clog10_test): Likewise.
85925 * sysdeps/i386/fpu/libm-test-ulps: Update.
85926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85927
85928 [BZ #11451]
85929 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85930 x and y.
85931 * math/libm-test.inc (atan2_test): Add another test.
85932
85933 * Makerules (common-objdir-compile): Remove.
85934 * sysdeps/unix/Makefile (config-generated): Do not add
85935 $(unix-generated) to variable.
85936 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85937 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85938 Remove rule.
85939 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85940 Likewise.
85941 [generic bits/local_lim.h] (before-compile): Do not append to
85942 variable.
85943 [generic bits/local_lim.h] (common-generated): Likewise.
85944 [generic sys/param.h] (before-compile): Do not append to variable.
85945 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85946 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85947 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85948 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85949 include.
85950 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85951 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85952 [generic sys/param.h] ($(addprefix
85953 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85954 [generic sys/param.h] (common-generated): Do not append to
85955 variable.
85956 [generic sys/param.h] (sysdep_headers): Likewise.
85957 [generic bits/errno.h] (before-compile): Do not append to
85958 variable.
85959 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85960 rule.
85961 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85962 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85963 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85964 [generic bits/errno.h] (common-generated): Do not append to
85965 variable.
85966 [generic bits/ioctls.h] (before-compile): Do not append to
85967 variable.
85968 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85969 rule.
85970 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85971 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85972 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85973 rule.
85974 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85975 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85976 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85977 [generic bits/ioctls.h] (common-generated): Do not append to
85978 variable.
85979 [generic sys/syscall.h] (syscall.h): Remove variable.
85980 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85981 rule.
85982 [generic sys/syscall.h] (before-compile): Do not append to
85983 variable.
85984 [generic sys/syscall.h] (common-generated): Likewise.
85985 * sysdeps/unix/errnos-tmpl.c: Remove file.
85986 * sysdeps/unix/errnos.awk: Likewise.
85987 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85988 * sysdeps/unix/ioctls.awk: Likewise.
85989 * sysdeps/unix/mk-local_lim.c: Likewise.
85990 * sysdeps/unix/snarf-ioctls: Likewise.
85991
85992 2012-03-19 Richard Henderson <rth@twiddle.net>
85993
85994 * sysdeps/i386/fpu/fenv_private.h: New file.
85995 * sysdeps/i386/fpu/math_private.h: Use it.
85996 (math_opt_barrier, math_force_eval): Remove.
85997 (libc_feholdexcept_setround_53bit): Remove.
85998 (libc_feupdateenv_53bit): Remove.
85999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86000 (math_opt_barrier, math_force_eval): Remove.
86001 (libc_feholdexcept): Remove.
86002 (libc_feholdexcept_setround): Remove.
86003 (libc_fetestexcept, libc_fesetenv): Remove.
86004 (libc_feupdateenv_test): Remove.
86005 (libc_feupdateenv, libc_feholdsetround): Remove.
86006 (libc_feresetround): Remove.
86007
86008 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86009 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86010
86011 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86012 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86013 (libc_feupdateenv_testl): New.
86014 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86015 (libc_feupdateenv_testf): New.
86016 (libc_feupdateenv): Use libc_feupdateenv_test.
86017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86019
86020 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86021 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86022 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86023 (libc_feresetround_noex): New.
86024 (libc_feresetround_noexf): New.
86025 (libc_feresetround_noexl): New.
86026 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86027 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86028 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86029 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86030 SET_RESTORE_ROUND.
86031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86033 (__cos): Likewise.
86034 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86035 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86036 SET_RESTORE_ROUND_NOEX.
86037 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86038 SET_RESTORE_ROUND_NOEXF.
86039 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86040 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86041 (libc_feholdsetroundf): New.
86042 (libc_feresetround, libc_feresetroundf): New.
86043
86044 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86045 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86046 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86047
86048 * sysdeps/generic/math_private.h: Include <fenv.h>.
86049 (default_libc_feholdexcept): New.
86050 (default_libc_feholdexcept_setround): New.
86051 (default_libc_fesetenv, default_libc_feupdateenv): New.
86052 (libc_feholdexcept): Only define if undefined.
86053 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86054 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86055 (libc_feholdexcept_setroundl): Likewise.
86056 (libc_feholdexcept_setround_53bit): Likewise.
86057 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86058 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86059 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86060 (libc_feupdateenv_53bit): Likewise.
86061 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86062 (libc_feholdexcept): Convert from macro to inline function.
86063 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86064 (libc_fesetenv, libc_feupdateenv): Likewise.
86065
86066 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86067 not previously defined.
86068 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86069 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86070 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86071 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86072 * sysdeps/ieee754/flt-32/math_private.h: New file.
86073 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86074 math_private.h below SET_FLOAT_WORD.
86075 (__isnan, __isinf_ns, __finite): Remove.
86076 (__isnanf, __isinf_nsf, __finitef): Remove.
86077
86078 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86079
86080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86081
86082 2012-03-17 David S. Miller <davem@davemloft.net>
86083
86084 [BZ #6471]
86085 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86086 for 2.16.
86087
86088 2012-03-16 David S. Miller <davem@davemloft.net>
86089
86090 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86091 warnings.
86092
86093 [BZ #6471]
86094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86095 properly.
86096 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86097 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86098 sysdep_routines when subdir is sysvipc.
86099 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86100 __getshmlba helper.
86101
86102 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86103
86104 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86105
86106 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86107 [__LP64__].
86108
86109 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86110
86111 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86112 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86113 (__lround): Renamed to ...
86114 (__llround): This. Replace long int with long long int.
86115 Define lround functions as aliases of llround functions.
86116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86117
86118 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86119
86120 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86121 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86122 adresses to uintptr_t. Replace "long int" and "unsigned long
86123 int" with "greg_t" on va_arg.
86124
86125 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86126
86127 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86128 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86129
86130 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86131 Move e_machine check before EI_CLASS check. Handle x32
86132 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86133 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86134 SKIP_EM_IA_64 and include
86135 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86136
86137 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86138 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86139 (add_system_dir): New macro.
86140
86141 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86142 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86143
86144 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86145
86146 [BZ #2551]
86147 [BZ #2552]
86148 [BZ #2553]
86149 [BZ #2554]
86150 [BZ #2562]
86151 [BZ #2563]
86152 [BZ #2565]
86153 [BZ #2566]
86154 [BZ #2576]
86155 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86156 (y0): Likewise.
86157 * math/w_j0f.c (j0f): Likewise.
86158 (y0f): Likewise.
86159 * math/w_j0l.c (__j0l): Likewise.
86160 (__y0l): Likewise.
86161 * math/w_j1.c (j1): Likewise.
86162 (y1): Likewise.
86163 * math/w_j1f.c (j1f): Likewise.
86164 (y1f): Likewise.
86165 * math/w_j1l.c (__j1l): Likewise.
86166 (__y1l): Likewise.
86167 * math/w_jn.c (jn): Likewise.
86168 (yn): Likewise.
86169 * math/w_jnf.c (jnf): Likewise.
86170 (ynf): Likewise.
86171 * math/w_jnl.c (__jnl): Likewise.
86172 (__ynl): Likewise.
86173 * math/libm-test.inc (j0_test): Add more tests.
86174 (j1_test): Likewise.
86175 (jn_test): Likewise. Add trailing semicolon to existing test.
86176 (y0_test): Likewise.
86177 (y1_test): Likewise.
86178 * sysdeps/i386/fpu/libm-test-ulps: Update.
86179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86180
86181 [BZ #13851]
86182 [BZ #13854]
86183 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86184 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86185 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86187 (__tanl): Set errno for infinite argument.
86188 * sysdeps/i386/fpu/mptan.c: Remove.
86189 * sysdeps/i386/fpu/s_tan.S: Likewise.
86190 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86191 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86192 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86193 * math/libm-test.inc (tan_test): Add more tests and enable more
86194 tests for double and long double.
86195 * sysdeps/i386/fpu/libm-test-ulps: Update.
86196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86197
86198 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86199
86200 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86201 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86202
86203 2012-03-16 Roland McGrath <roland@hack.frob.com>
86204
86205 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86206 * configure.in: Use it for both main tree and add-ons.
86207 * configure: Regenerated.
86208
86209 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86210
86211 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86212
86213 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86214
86215 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86216 in comment.
86217
86218 [BZ #13851]
86219 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86220 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86221 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86222 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86223 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86224 infinite argument.
86225 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86227 != 0 for prec == 2.
86228 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86229 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86230 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86231 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86232 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86233 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86234 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86235 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86236 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86237 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86238 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86239 * math/libm-test.inc (cos_test): Add more tests and enable more
86240 tests for long double.
86241 (sin_test): Likewise.
86242 (sincos_test): Likewise.
86243 * sysdeps/i386/fpu/libm-test-ulps: Update.
86244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86245
86246 2012-03-16 David S. Miller <davem@davemloft.net>
86247
86248 * sysdeps/sparc/fpu/math_private.h: New file.
86249
86250 2012-03-15 David S. Miller <davem@davemloft.net>
86251
86252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86253 file.
86254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86256 file.
86257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86263 sysdep routines.
86264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86265
86266 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86267 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86268
86269 * sysdeps/sparc/sparc-ifunc.h: New file.
86270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86271 sparc-ifunc.h
86272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86274 Likewise.
86275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86276 Likewise.
86277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86281 Likewise.
86282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86287 Likewise.
86288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86289 Likewise.
86290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86314
86315 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86316
86317 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86318 scaling.
86319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86320
86321 2012-03-15 Andreas Jaeger <aj@suse.de>
86322
86323 [BZ #13852]
86324 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86325 ieee754/flt-32 implementation for sin, cos and sincos.
86326 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86327 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86328 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86329 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86330 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86331 ieee754/flt-32 implementation for tan.
86332
86333 * math/libm-test.inc (cos_test): Enable some large input tests for
86334 float as well
86335 (sin_test): Likewise.
86336 (sincos_test): Likewise.
86337 (tan_test): Add tests for large input.
86338
86339 * sysdeps/i386/fpu/libm-test-ulps: Update.
86340
86341 2012-03-15 Andreas Jaeger <aj@suse.de>
86342
86343 [BZ #13658]
86344 * math/libm-test.inc (cos_test): Add more test cases.
86345 (sin_test): Likewise.
86346 (sincos_test): Likewise.
86347
86348 2012-03-15 Andreas Jaeger <aj@suse.de>
86349
86350 [BZ #13837]
86351 * math/libm-test.inc (cos_test): Add a test case for large input
86352 value.
86353 (sin_test): Likewise.
86354 (sincos_test): Likewise.
86355
86356 2012-03-15 Andreas Jaeger <aj@suse.de>
86357 Joseph Myers <joseph@codesourcery.com>
86358
86359 [BZ #13658]
86360 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86361 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86362 * sysdeps/i386/fpu/branred.c: Likewise.
86363 * sysdeps/i386/fpu/dosincos.c: Likewise.
86364 * sysdeps/i386/fpu/mpa.c: Likewise.
86365 * sysdeps/i386/fpu/s_cos.S: Likewise.
86366 * sysdeps/i386/fpu/s_sin.S: Likewise.
86367 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86368 * sysdeps/i386/fpu/sincos32.c: Likewise.
86369
86370 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86371 Define.
86372 (libc_feupdateenv_53bit): Define.
86373 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86374 Define.
86375 (libc_feupdateenv_53bit): Define.
86376
86377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86378 53 bit (without extend i386 double precision).
86379
86380 * math/libm-test.inc (sincos_test): Add tests for large input.
86381 (sin): Likewise.
86382 (cos): Likewise.
86383
86384 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86385
86386 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86387
86388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86389
86390 2012-03-15 David S. Miller <davem@davemloft.net>
86391
86392 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86393 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86394 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86395 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86408 file.
86409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86411 file.
86412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86414 file.
86415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86417 file.
86418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86420 fmin/fmax sysdep routines.
86421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86422
86423 2012-03-14 David S. Miller <davem@davemloft.net>
86424
86425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86454 routines.
86455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86456 file.
86457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86459 file.
86460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86462 file.
86463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86465 file.
86466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86468 file.
86469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86471 file.
86472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86473 file.
86474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86475 file.
86476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86477 file.
86478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86479 New file.
86480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86481 file.
86482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86483 file.
86484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86486 file.
86487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86489 file.
86490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86492 file.
86493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86495 VIS3 routines.
86496
86497 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86498 New file.
86499
86500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86501
86502 * sysdeps/sparc/configure.in: New file.
86503 * sysdeps/sparc/configure: Generate.
86504 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86505 * configure: Regenerate.
86506 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86507 * config.make.in (have-as-vis3): New.
86508 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86509 available use -Av9d instead of -Av9a.
86510 * sysdeps/sparc/sparc64/Makefile: Likewise.
86511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86513 New file.
86514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86515 file.
86516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86517 New file.
86518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86519 file.
86520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86525
86526 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86527 fzeros/fnegs to load 0x80000000 into a float register instead of
86528 using the stack.
86529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86530
86531 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86532
86533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86534 bits/syscall.h.
86535 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86536 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86537 ($(inst_includedir)/bits/syscall.h): Remove rule.
86538 ($(objpfx)bits/syscall.d): Include instead of
86539 $(objpfx)syscall-list.d.
86540 (generated): Change syscall-list.h and syscall-list.d to
86541 bits/syscall.h and bits/syscall.d.
86542
86543 2012-03-14 Roland McGrath <roland@hack.frob.com>
86544
86545 [BZ #13846]
86546 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86547
86548 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86549
86550 [BZ #13841]
86551 * math/s_csqrt.c: Include <float.h>.
86552 (__csqrt): Scale large or subnormal inputs.
86553 * math/s_csqrtf.c: Likewise.
86554 * math/s_csqrtl.c: Likewise.
86555 * math/libm-test.inc (csqrt_test): Add more tests.
86556 * sysdeps/i386/fpu/libm-test-ulps: Update.
86557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86558
86559 [BZ #13840]
86560 * math/libm-test.inc (hypot_test): Add more tests.
86561
86562 2012-03-13 David S. Miller <davem@davemloft.net>
86563
86564 [BZ #13840]
86565 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86566 double-precision for the calculation instead of scaling.
86567
86568 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86569
86570 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86571 manipulate bits before adding and subtracting TWO52[sx].
86572 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86574 Likewise.
86575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86576
86577 2012-03-13 David S. Miller <davem@davemloft.net>
86578
86579 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86580 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86582 rtld-global-offsets.h
86583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86584
86585 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86586 large parameters.
86587
86588 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86589
86590 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86591 'err' in the ifdef scope in which it is actually used.
86592
86593 * nss/nss_db/db-init.c: Include string.h
86594
86595 2012-03-12 David S. Miller <davem@davemloft.net>
86596
86597 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86598 masking out of the most significant byte of random value used.
86599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86600 Fix coding style in previous change.
86601
86602 * sysdeps/unix/sysv/linux/kernel-features.h
86603 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86604 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86605 expression.
86606 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86607 later.
86608
86609 2012-03-11 David S. Miller <davem@davemloft.net>
86610
86611 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86612 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86614 for 'resultvar' otherwise things get truncated on 64-bit.
86615
86616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86617 Fix masking out of the most significant byte of random value used.
86618
86619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86620
86621 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86622
86623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86624
86625 2012-03-09 David S. Miller <davem@davemloft.net>
86626
86627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86628 variables with appropriate CPP guards.
86629 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86630 from the frame pointer, not the stack pointer. Correct layout
86631 comments. Fix test on resulting framesize and the management of
86632 the outregs buffer for pltexit. Preserve floating point return
86633 values across _dl_call_pltexit call.
86634 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86635 framesize and the management of the outregs buffer for pltexit.
86636 Preserve floating point return values across _dl_call_pltexit
86637 call.
86638 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86639 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86640 (la_sparc64_gnu_pltexit): New functions.
86641 (print_exit): Fix format string for return register value.
86642
86643 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86644
86645 * sunrpc/Makefile (others): Add rpcgen.
86646 ($(objpfx)rpcgen): Remove special build rule and dependency on
86647 libc.
86648 * sunrpc/rpcgen.c: New file.
86649
86650 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86651
86652 [BZ #13673]
86653 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86654 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86655 * sysdeps/i386/crti.S: Likewise.
86656 * sysdeps/i386/crtn.S: Likewise.
86657 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86658 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86659 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86660 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86661 * sysdeps/sh/crti.S: Likewise.
86662 * sysdeps/sh/crtn.S: Likewise.
86663 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86664
86665 [BZ #13673]
86666 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86667 with URL.
86668 * locale/programs/locfile-kw.gperf: Likewise.
86669 * locale/programs/charmap-kw.h: Regenerated.
86670 * locale/programs/locfile-kw.h: Likewise.
86671
86672 [BZ #13673]
86673 * intl/plural.y: Replace FSF snail mail address with URL.
86674 * intl/plural.c: Regenerated.
86675
86676 2012-03-09 Richard Henderson <rth@twiddle.net>
86677
86678 * include/math_private.h: Remove file.
86679 * math/math_private.h: Move file ...
86680 * sysdeps/generic/math_private.h: ... here.
86681
86682 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86683 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86684 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86685
86686 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86687 and <math_private.h>.
86688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86693 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86700 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86702 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86712 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86713 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86714 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86720 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86721 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86722 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86723 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86724 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86725 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86726 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86728 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86729 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86730 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86731 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86734 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86735 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86736 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86737 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86738 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86739 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86740 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86741 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86742 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86743 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86744 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86747 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86749 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86752 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86753 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86754 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86755 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86756 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86762 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86768 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86772 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86775 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86776 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86777 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86778 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86779 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86780 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86781 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86782 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86783 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86785 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86786 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86787 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86788 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86789 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86790 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86791 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86792 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86793 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86794 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86795 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86796 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86798 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86799 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86800 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86801 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86802 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86804 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86805 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86806 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86807 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86808 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86809 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86811 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86813 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86815 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86816 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86817 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86818 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86820 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86821 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86822 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86823 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86824 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86825 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86826 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86827 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86829 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86830 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86831 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86832 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86833 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86834 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86835 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86836 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86837 * sysdeps/ieee754/k_standard.c: Likewise.
86838 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86839 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86841 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86842 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86843 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86844 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86845 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86846 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86848 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86849 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86850 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86851 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86852 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86853 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86854 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86855 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86857 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86858 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86859 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86860 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86861 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86862 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86863 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86864 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86865 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86866 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86869 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86870 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86871 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86872 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86873 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86875 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86876 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86877 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86878 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86879 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86880 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86881 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86882 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86889 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86890 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86891 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86894 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86895 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86896 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86897 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86898 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86899 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86900 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86904 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86914 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86915 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86922 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86923 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86926 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86929 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86930 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86931 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86934 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86935 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86936 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86937 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86940 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86942 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86945 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86946 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86947 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86948 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86949 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86950 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86951 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86952 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86953 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86954 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86955 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86956 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86957 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86958 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86959 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86960 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86961 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86962 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86963 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86964 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86965 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86966 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86968 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86969 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86970 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86971 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86972 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86973 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86974 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86975 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86976 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86977 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86978 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86980 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86981 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86982 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86983 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86984 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86985 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86986 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86987 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86989 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86991 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86992 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86993 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86994 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86995 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86996 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86997 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86998 * sysdeps/ieee754/s_lib_version.c: Likewise.
86999 * sysdeps/ieee754/s_matherr.c: Likewise.
87000 * sysdeps/ieee754/s_signgam.c: Likewise.
87001 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87002 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87003 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87004 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87005 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87006 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87007 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87008 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87009 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87010 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87011 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87012 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87013 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87014 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87015 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87016 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87017 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87018 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87019 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87022
87023 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87024
87025 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87026 * sunrpc/rpc_main.c: Likewise.
87027 * sunrpc/rpc_svcout.c: Likewise.
87028
87029 2012-03-09 David S. Miller <davem@davemloft.net>
87030
87031 * include/math_private.h: New file.
87032
87033 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87034
87035 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87036 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87037 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87038 from <bits/socket_type.h>.
87039 (enum __socket_type): Don't define here.
87040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87042 bits/socket_type.h.
87043
87044 [BZ #13566]
87045 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87046 checking __USE_GNU.
87047
87048 * Makerules ($(inst_includedir)/%.h): New rule.
87049 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87050 (install-others): Remove variable setting.
87051 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87052
87053 2012-03-08 Richard Henderson <rth@twiddle.net>
87054
87055 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87056 from macro to inline function; merge with the
87057 !__LIBC_INTERNAL_MATH_INLINES version.
87058 (__ieee754_sqrtf): Likewise.
87059
87060 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87061 to inline function.
87062 (__rintf, __floor, __floorf): Likewise.
87063
87064 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87065 macro to inline function.
87066 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87067
87068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87069 not <math/math_private.h>.
87070
87071 2012-03-08 David S. Miller <davem@davemloft.net>
87072
87073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87074 copyright year.
87075 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87076
87077 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87078
87079 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87080 normalization.
87081 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87082 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87083
87084 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87085
87086 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87087 be defined individually, they must be defined as a block. Define
87088 S for printing a string instead of hidint the different by using a
87089 macro for adding the 'l'.
87090 * stdio-common/tst-fphex-wide.c: Adjust.
87091
87092 2012-03-07 Marek Polacek <polacek@redhat.com>
87093
87094 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87095
87096 2012-03-08 Marek Polacek <polacek@redhat.com>
87097
87098 [BZ #13806]
87099 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87100 * stdio-common/tst-fphex.c: Define a few macros to make the
87101 test reusable. Use them.
87102 * stdio-common/tst-fphex-wide.c: New file.
87103
87104 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87105
87106 [BZ #6911]
87107 * manual/macros.texi (gnusystems): New macro.
87108 (nongnusystems): Likewise.
87109 (gnulinuxhurdsystems): Likewise.
87110 (gnuhurdsystems): Likewise..
87111 (gnulinuxsystems): Likewise.
87112 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87113 variants of the GNU system, not "GNU system".
87114 * manual/conf.texi: Likewise.
87115 * manual/errno.texi: Likewise. Update example of errno macro
87116 expansion.
87117 * manual/filesys.texi: Likewise.
87118 (getumask): Document as specific to GNU/Hurd.
87119 * manual/install.texi: Likewise. Reword some references to
87120 GNU/Linux.
87121 * manual/intro.texi: Likewise.
87122 * manual/io.texi: Likewise.
87123 (File Name Portability): Detail which constraints are inapplicable
87124 to all GNU systems and which are only inapplicable to GNU/Hurd.
87125 * manual/job.texi: Likewise.
87126 * manual/llio.texi: Likewise.
87127 (O_NOCTTY): Document as present on GNU/Linux.
87128 * manual/maint.texi: Likewise.
87129 * manual/memory.texi: Likewise.
87130 * manual/pattern.texi: Likewise.
87131 * manual/pipe.texi: Likewise.
87132 * manual/process.texi: Likewise.
87133 * manual/resource.texi: Likewise.
87134 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87135 child on GNU/Hurd.
87136 * manual/setjmp.texi: Likewise.
87137 * manual/signal.texi: Likewise.
87138 * manual/startup.texi: Likewise.
87139 * manual/stdio.texi: Likewise.
87140 * manual/terminal.texi: Likewise.
87141 (ONLCR): Document as POSIX.
87142 (OXTABS): Document availability on GNU/Linux as XTABS.
87143 (ONOEOT): Document availability separately from other bits.
87144 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87145 * manual/time.texi: Likewise.
87146 * manual/users.texi: Likewise.
87147 * INSTALL: Regenerated.
87148 * sysdeps/gnu/errlist.c: Regenerated.
87149
87150 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87151 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87152 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87153 puts.
87154 * configure: Regenerated.
87155
87156 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87157
87158 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87159 default includes instead of AC_HEADER_CHECK.
87160 * sysdeps/i386/configure: Regenerated.
87161
87162 [BZ #10716]
87163 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87164 * math/s_cacoshf.c (__cacoshf): Likewise.
87165 * math/s_cacoshl.c (__cacoshl): Likewise.
87166 * math/s_casinh.c (__casinh): Set signs of result from argument.
87167 * math/s_casinhf.c (__casinhf): Likewise.
87168 * math/s_casinhl.c (__casinhl): Likewise.
87169 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87170 (casinh_test): Add more tests.
87171 * sysdeps/i386/fpu/libm-test-ulps: Update.
87172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87173
87174 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87175
87176 * po/zh_TW.po: Update from translation team.
87177
87178 * login/Makefile (distribute): Remove variable.
87179 * catgets/Makefile: Likewise.
87180 * mach/Makefile: Likewise.
87181 * malloc/Makefile: Likewise.
87182 * misc/Makefile: Likewise.
87183 * iconv/Makefile: Likewise.
87184 * nscd/Makefile: Likewise.
87185 * hurd/Makefile: Likewise.
87186 * manual/Makefile: Likewise.
87187 * locale/Makefile: Likewise.
87188 * intl/Makefile: Likewise.
87189 * conform/Makefile: Likewise.
87190 * nss/Makefile: Likewise.
87191 * time/Makefile: Likewise.
87192 * soft-fp/Makefile: Likewise.
87193 * dirent/Makefile: Likewise.
87194 * gmon/Makefile: Likewise.
87195 * po/Makefile: Likewise.
87196 * rt/Makefile: Likewise.
87197 * socket/Makefile: Likewise.
87198 * math/Makefile: Likewise.
87199 * signal/Makefile: Likewise.
87200 * debug/Makefile: Likewise.
87201 * elf/Makefile: Likewise.
87202 * timezone/Makefile: Likewise.
87203 * stdlib/Makefile: Likewise.
87204 * iconvdata/Makefile: Likewise.
87205 * sunrpc/Makefile: Likewise.
87206 * io/Makefile: Likewise.
87207 * argp/Makefile: Likewise.
87208 * inet/Makefile: Likewise.
87209 * hesiod/Makefile: Likewise.
87210 * grp/Makefile: Likewise.
87211 * csu/Makefile: Likewise.
87212 * wctype/Makefile: Likewise.
87213 * crypt/Makefile: Likewise.
87214 * libio/Makefile: Likewise.
87215 * string/Makefile: Likewise.
87216 * nis/Makefile: Likewise.
87217 * resolv/Makefile: Likewise.
87218 * stdio-common/Makefile: Likewise.
87219 * wcsmbs/Makefile: Likewise.
87220 * dlfcn/Makefile: Likewise.
87221 * posix/Makefile: Likewise.
87222
87223 [BZ #6959]
87224 * timezone/Makefile: Don't install timezone files, just the programs
87225 and scripts.
87226
87227 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87228
87229 * nss/databases.def: Add missing gshadow entry.
87230
87231 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87232
87233 2012-03-06 Marek Polacek <polacek@redhat.com>
87234
87235 [BZ #13726]
87236 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87237 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87238 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87239 * stdio-common/tst-long-dbl-fphex.c: New file.
87240
87241 2012-03-06 David S. Miller <davem@davemloft.net>
87242
87243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87244 (set_obp_int): New function.
87245 (get_obp_int): New function.
87246 (__get_clockfreq_via_dev_openprom): Likewise.
87247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87248 Avoid unused variable warnings on 'val' and use builtin_expect.
87249 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87250 __builtin_expect.
87251 (INLINE_CLONE_SYSCALL): Likewise.
87252
87253 2012-03-05 David S. Miller <davem@davemloft.net>
87254
87255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87256
87257 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87258
87259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87260
87261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87262 only for |x| >= 40.
87263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87264
87265 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87266
87267 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87268 Replace gettimeofday with __vdso_gettimeofday.
87269
87270 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87271 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87272 __vdso_clock_gettime and __vdso_getcpu.
87273
87274 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87275 time with __vdso_time.
87276
87277 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87278
87279 * manual/lang.texi (size_t): Note types to which size_t may be
87280 equivalent with the GNU C Library, but do not describe when
87281 differences between them are significant.
87282
87283 2012-03-05 Andreas Jaeger <aj@suse.de>
87284
87285 * sysdeps/i386/fpu/libm-test-ulps: Update.
87286
87287 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87288
87289 [BZ #3976]
87290 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87291 (__ieee754_pow): Save and restore rounding mode and use
87292 round-to-nearest for main computations.
87293 * math/libm-test.inc (pow_test_tonearest): New function.
87294 (pow_test_towardzero): Likewise.
87295 (pow_test_downward): Likewise.
87296 (pow_test_upward): Likewise.
87297 (main): Call the new functions.
87298 * sysdeps/i386/fpu/libm-test-ulps: Update.
87299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87300
87301 [BZ #3976]
87302 * math/libm-test.inc (cosh_test_tonearest): New function.
87303 (cosh_test_towardzero): Likewise.
87304 (cosh_test_downward): Likewise.
87305 (cosh_test_upward): Likewise.
87306 (sinh_test_tonearest): Likewise.
87307 (sinh_test_towardzero): Likewise.
87308 (sinh_test_downward): Likewise.
87309 (sinh_test_upward): Likewise.
87310 (main): Call the new functions.
87311 * sysdeps/i386/fpu/libm-test-ulps: Update.
87312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87313
87314 2012-03-05 Tom de Vries <tom@codesourcery.com>
87315
87316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87317 default stack guard is set in last bytes.
87318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87319
87320 2012-03-05 Kees Cook <keescook@chromium.org>
87321
87322 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87323
87324 [BZ #13656]
87325 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87326 possibly allocate from heap instead of stack.
87327 * stdio-common/bug-vfprintf-nargs.c: New file.
87328 * stdio-common/Makefile (tests): Add nargs overflow test.
87329
87330 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87331
87332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87333
87334 2012-03-03 Marek Polacek <polacek@redhat.com>
87335
87336 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87337 * math/math_private.h: Likewise.
87338 * stdlib/tst-strtod.c: Likewise.
87339 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87340 * sysdeps/x86_64/bits/atomic.h: Likewise.
87341
87342 2012-03-02 David S. Miller <davem@davemloft.net>
87343
87344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87348 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87349 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87350 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87351 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87352
87353 2012-03-02 Roland McGrath <roland@hack.frob.com>
87354
87355 [BZ #13792]
87356 * manual/examples/README: New file, says the example source files
87357 can be used under GPL>=2.
87358 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87359 line containing just "*/".
87360 * manual/examples/add.c: Add copyright header (GPL>=2).
87361 * manual/examples/argp-ex1.c: Likewise.
87362 * manual/examples/argp-ex2.c: Likewise.
87363 * manual/examples/argp-ex3.c: Likewise.
87364 * manual/examples/argp-ex4.c: Likewise.
87365 * manual/examples/atexit.c: Likewise.
87366 * manual/examples/db.c: Likewise.
87367 * manual/examples/dir.c: Likewise.
87368 * manual/examples/dir2.c: Likewise.
87369 * manual/examples/execinfo.c: Likewise.
87370 * manual/examples/filecli.c: Likewise.
87371 * manual/examples/filesrv.c: Likewise.
87372 * manual/examples/fmtmsgexpl.c: Likewise.
87373 * manual/examples/genpass.c: Likewise.
87374 * manual/examples/inetcli.c: Likewise.
87375 * manual/examples/inetsrv.c: Likewise.
87376 * manual/examples/isockad.c: Likewise.
87377 * manual/examples/longopt.c: Likewise.
87378 * manual/examples/memopen.c: Likewise.
87379 * manual/examples/memstrm.c: Likewise.
87380 * manual/examples/mkfsock.c: Likewise.
87381 * manual/examples/mkisock.c: Likewise.
87382 * manual/examples/mygetpass.c: Likewise.
87383 * manual/examples/pipe.c: Likewise.
87384 * manual/examples/popen.c: Likewise.
87385 * manual/examples/rprintf.c: Likewise.
87386 * manual/examples/search.c: Likewise.
87387 * manual/examples/select.c: Likewise.
87388 * manual/examples/setjmp.c: Likewise.
87389 * manual/examples/sigh1.c: Likewise.
87390 * manual/examples/sigusr.c: Likewise.
87391 * manual/examples/stpcpy.c: Likewise.
87392 * manual/examples/strdupa.c: Likewise.
87393 * manual/examples/strftim.c: Likewise.
87394 * manual/examples/strncat.c: Likewise.
87395 * manual/examples/subopt.c: Likewise.
87396 * manual/examples/swapcontext.c: Likewise.
87397 * manual/examples/termios.c: Likewise.
87398 * manual/examples/testopt.c: Likewise.
87399 * manual/examples/testpass.c: Likewise.
87400 * manual/examples/timeval_subtract.c: Likewise.
87401
87402 [BZ #13792]
87403 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87404 function to ...
87405 * manual/timeval_subtract.c.texi: ... here, new file.
87406
87407 2012-03-02 David S. Miller <davem@davemloft.net>
87408
87409 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87410
87411 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87412
87413 [BZ #3976]
87414 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87415 (__sin): Save and restore rounding mode and use round-to-nearest
87416 for all computations.
87417 (__cos): Save and restore rounding mode and use round-to-nearest
87418 for all computations.
87419 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87420 <fenv.h>.
87421 (tan): Save and restore rounding mode and use round-to-nearest for
87422 all computations.
87423 * math/libm-test.inc (cos_test_tonearest): New function.
87424 (cos_test_towardzero): Likewise.
87425 (cos_test_downward): Likewise.
87426 (cos_test_upward): Likewise.
87427 (sin_test_tonearest): Likewise.
87428 (sin_test_towardzero): Likewise.
87429 (sin_test_downward): Likewise.
87430 (sin_test_upward): Likewise.
87431 (tan_test_tonearest): Likewise.
87432 (tan_test_towardzero): Likewise.
87433 (tan_test_downward): Likewise.
87434 (tan_test_upward): Likewise.
87435 (main): Call the new functions.
87436 * sysdeps/i386/fpu/libm-test-ulps: Update.
87437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87438
87439 [BZ #10135]
87440 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87441 small n, then large n, before computing and testing k+n.
87442 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87444 Likewise.
87445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87446 Likewise.
87447 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87448 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87449 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87455 * math/libm-test.inc (scalbn_test): Add more tests.
87456 (scalbln_test): Likewise.
87457
87458 * manual/filesys.texi (mode_t): Describe constraints on size and
87459 signedness, not exact equivalence to a particular type.
87460 (ino_t): Likewise.
87461 (ino64_t): Likewise.
87462 (dev_t): Likewise.
87463 (nlink_t): Likewise.
87464 (blkcnt_t): Likewise.
87465 (blkcnt64_t): Likewise.
87466 * manual/llio.texi (off_t): Likewise.
87467
87468 [BZ #3976]
87469 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87470 (__ieee754_exp): Save and restore rounding mode and use
87471 round-to-nearest for all computations.
87472 * math/libm-test.inc (exp_test_tonearest): New function.
87473 (exp_test_towardzero): Likewise.
87474 (exp_test_downward): Likewise.
87475 (exp_test_upward): Likewise.
87476 (main): Call the new functions.
87477 * sysdeps/i386/fpu/libm-test-ulps: Update.
87478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87479
87480 2012-03-01 Chris Demetriou <cgd@google.com>
87481
87482 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87483 have predictable order.
87484
87485 2012-03-01 David S. Miller <davem@davemloft.net>
87486
87487 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87488
87489 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87490 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87491 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87492 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87493
87494 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87495 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87496 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87498 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87499 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87500 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87501 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87502 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87503
87504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87505
87506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87507 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87509
87510 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87511 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87512 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87513 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87514 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87517 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87518 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87519 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87520 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87523 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87526 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87527 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87528 * sysdeps/sparc/elf/configure: Regenerated.
87529
87530 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87531
87532 * configure.in (AS, LD): Require binutils 2.20 or later.
87533 * configure: Regenerated.
87534 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87535 as required minimum version.
87536 * INSTALL: Regenerated.
87537
87538 [BZ #2541]
87539 [BZ #4108]
87540 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87541 before squaring exponent.
87542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87543 bottom long double and 27 bits of top long double before squaring
87544 exponent.
87545 * math/libm-test.inc (erfc_test): Add more tests.
87546 * sysdeps/i386/fpu/libm-test-ulps: Update.
87547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87549
87550 2012-03-01 Kai Tietz <ktietz@redhat.com>
87551
87552 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87553 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87554 containing bit-fields.
87555 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87556 * soft-fp/single.h (_FP_UNION_S): Likewise.
87557 * soft-fp/double.h (_FP_UNION_D): Likewise.
87558
87559 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87560
87561 [BZ #13786]
87562 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87563 not include ../strcmp.S.
87564 [USE_AS_STRNCASECMP_L]: Likewise.
87565 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87566 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87567 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87568 (__strncasecmp_l_ia32): Define as alias to
87569 __strncasecmp_l_nonascii.
87570
87571 [BZ #5794]
87572 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87573 * sysdeps/i386/fpu/libm-test-ulps: Update.
87574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87575
87576 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87578
87579 2012-02-29 Jeff Law <law@redhat.com>
87580
87581 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87582 out of bounds read.
87583
87584 2012-02-29 Marek Polacek <polacek@redhat.com>
87585
87586 [BZ #13706]
87587 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87588 * elf/Makefile: Add rules to run tst-unused-dep.out.
87589
87590 2012-02-28 David S. Miller <davem@davemloft.net>
87591
87592 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87593 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87596 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87597 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87598
87599 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87600
87601 * math/libm-test.inc (llround_test): Move one test from
87602 lround_test. Use TEST_f_L in moved test.
87603 (lround_test): Move misplaced test to llround_test. Add testcase
87604 from bug 2561.
87605
87606 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87607
87608 * sysdeps/x86_64/fpu/e_expf.S: New file.
87609 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87610
87611 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87612
87613 [BZ #13637]
87614 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87615 of remain_len that may cause incomplete multi-byte character and
87616 false match.
87617 * posix/bug-regex33.c: New file.
87618 * posix/Makefile (tests): Add bug-regex33.
87619
87620 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87621
87622 * manual/macros.texi: New file.
87623 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87624 * manual/libc.texinfo: Include macros.texi.
87625 * manual/creatute.texi: Likewise.
87626 * manual/install.texi: Likewise.
87627 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87628 @glibcadj{} in references to the GNU C Library.
87629 * manual/charset.texi: Likewise.
87630 * manual/conf.texi: Likewise.
87631 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87632 when not using those macros.
87633 * manual/creature.texi: Likewise.
87634 * manual/crypt.texi: Likewise.
87635 * manual/errno.texi: Likewise.
87636 * manual/filesys.texi: Likewise.
87637 * manual/header.texi: Likewise.
87638 * manual/install.texi: Likewise.
87639 * manual/intro.texi: Likewise.
87640 * manual/io.texi: Likewise.
87641 * manual/job.texi: Likewise.
87642 * manual/lang.texi: Likewise.
87643 * manual/libc.texiinfo: Likewise.
87644 * manual/llio.texi: Likewise.
87645 * manual/locale.texi: Likewise.
87646 * manual/maint.texi: Likewise.
87647 * manual/math.texi: Likewise.
87648 * manual/memory.texi: Likewise.
87649 * manual/message.texi: Likewise.
87650 * manual/nss.texi: Likewise.
87651 * manual/pattern.texi: Likewise.
87652 * manual/process.texi: Likewise.
87653 * manual/resource.texi: Likewise.
87654 * manual/search.texi: Likewise.
87655 * manual/setjmp.texi: Likewise.
87656 * manual/signal.texi: Likewise.
87657 * manual/socket.texi: Likewise.
87658 * manual/startup.texi: Likewise.
87659 * manual/stdio.texi: Likewise.
87660 * manual/string.texi: Likewise.
87661 * manual/sysinfo.texi: Likewise.
87662 * manual/syslog.texi: Likewise.
87663 * manual/terminal.texi: Likewise.
87664 * manual/time.texi: Likewise.
87665 * manual/users.texi: Likewise.
87666 * INSTALL: Regenerated.
87667 * NOTES: Regenerated.
87668 * sysdeps/gnu/errlist.c: Regenerated.
87669
87670 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87671
87672 * include/dirent.h: Include <dirstream.h> before
87673 <dirent/dirent.h>.
87674
87675 2012-02-28 David S. Miller <davem@davemloft.net>
87676
87677 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87678 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87679 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87681
87682 2012-02-27 David S. Miller <davem@davemloft.net>
87683
87684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87686 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87687 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87688
87689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87690 frame pointer instead of stack pointer relative arg slot.
87691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87692 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87693 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87694
87695 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87696
87697 [BZ #3992]
87698 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87699
87700 2012-02-27 David S. Miller <davem@davemloft.net>
87701
87702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87706 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87707 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87708 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87709 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87710
87711 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87712
87713 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87714 later. Allow versions 5-9.
87715 * configure: Regenerated.
87716 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87717 required minimum version and 4.6 as recommended version. Do not
87718 mention bugs in GCC 2.7 and 2.8.
87719 * INSTALL: Regenerated.
87720
87721 2012-02-27 David S. Miller <davem@davemloft.net>
87722
87723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87727 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87728 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87729 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87730 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87731
87732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87733 manipulate bits before adding and subtracting TWO112[sx].
87734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87735
87736 2012-02-27 Roland McGrath <roland@hack.frob.com>
87737
87738 [BZ #13775]
87739 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87740 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87741 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87742 being in POSIX, because they are in 1003.1-2008.
87743
87744 * rt/tst-aio.c: Include <fcntl.h>.
87745 * rt/tst-aio7.c: Likewise.
87746 * rt/tst-aio64.c: Likewise.
87747
87748 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87749
87750 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87751
87752 * manual/install.texi (--with-headers): Describe headers as
87753 interface headers, not private headers.
87754 (Specific advice for GNU/Linux systems): Describe use of headers
87755 from "make headers_install", not private headers from older
87756 kernels.
87757 * INSTALL: Regenerated.
87758 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87759 Change to 2.6.19.
87760 * sysdeps/unix/sysv/linux/configure: Regenerated.
87761
87762 * manual/llio.texi (fclean): Remove documentation.
87763
87764 * manual/Makefile (libc-texi-generated): New variable. Include
87765 version.texi.
87766 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87767 $(libc-texi-generated), not duplicated list of files.
87768 (version.texi, stamp-version): New rules.
87769 (realclean): Remove $(libc-texi-generated), not individual files
87770 from that list. Do not remove dir-add.texinfo.
87771 * manual/libc.texinfo: Comment out uses of edition numbers and
87772 references to printed manual. Remove last-updated dates.
87773 (EDITION): Comment out.
87774 (ISBN): Likewise.
87775 (VERSION, UPDATED): Remove.
87776 (version.texi): Include.
87777
87778 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87779
87780 * sysdeps/posix/spawni.c: Include <signal.h>.
87781 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87782 * sysdeps/pthread/aio_fsync.c: Likewise.
87783
87784 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87785
87786 * conform/Makefile (tests): Run only when not cross-compiling and
87787 when fast-check is not defined.
87788
87789 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87790 * conform/data/limits.h-data: Fixes for POSIX2008.
87791 * conform/run-conformtest.sh: Run all tests.
87792 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87793 headers.
87794 * include/bits/dlfcn.h: Likewise.
87795 * include/langinfo.h: Likewise.
87796 * include/monetary.h: Likewise.
87797 * include/sys/poll.h: Likewise.
87798
87799 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87800 for __USE_GNU.
87801 * posix/spawn.h: Define __need_sigset_t.
87802 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87803 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87804 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87805 to get sigevent_t only.
87806 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87807 only for __USE_GNU.
87808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87809 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87810 process_vm_writev only for __USE_GNU.
87811 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87812
87813 * conform/Makefile: For now ignore errors from run-conformtest.
87814 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87815 POSIX to avoid namespace pollution. Don't prepend headers.
87816 * conform/data/aio.h-data: Fixes for POSIX testing.
87817 * conform/data/fcntl.h-data: Likewise.
87818 * conform/data/glob.h-data: Likewise.
87819 * conform/data/grp.h-data: Likewise.
87820 * conform/data/pthread.h-data: Likewise.
87821 * conform/data/pwd.h-data: Likewise.
87822 * conform/data/signal.h-data: Likewise.
87823 * conform/data/spawn.h-data: Likewise.
87824 * conform/data/stdio.h-data: Likewise.
87825 * conform/data/stdlib.h-data: Likewise.
87826 * conform/data/stropts.h-data: Likewise.
87827 * conform/data/sys/mman.h-data: Likewise.
87828 * conform/data/sys/stat.h-data: Likewise.
87829 * conform/data/sys/types.h-data: Likewise.
87830 * conform/data/sys/wait.h-data: Likewise.
87831 * conform/data/time.h-data: Likewise.
87832 * conform/data/unistd.h-data: Likewise.
87833 * conform/data/utime.h-data: Likewise.
87834
87835 * io/sys/stat.h: fchmod was always in POSIX.
87836 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87837 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87838 * rt/aio.h: Define __need_timespec before including <time.h>.
87839 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87840 struct. Add forward declaration of pthread_attr_t and use it in
87841 sigevent.
87842 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87844 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87845 always remove CLK_TCK definition.
87846
87847 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87848
87849 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87850
87851 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87852
87853 * conform/run-conformtest.sh: New file.
87854 * conform/Makefile: Run run-conformtest for tests.
87855 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87856 support.
87857
87858 * conform/data/uchar.h-data: New file.
87859 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87860 * conform/data/arpa/inet.h-data: Likewise.
87861 * conform/data/assert.h-data: Likewise.
87862 * conform/data/complex.h-data: Likewise.
87863 * conform/data/cpio.h-data: Likewise.
87864 * conform/data/ctype.h-data: Likewise.
87865 * conform/data/dirent.h-data: Likewise.
87866 * conform/data/dlfcn.h-data: Likewise.
87867 * conform/data/errno.h-data: Likewise.
87868 * conform/data/fcntl.h-data: Likewise.
87869 * conform/data/float.h-data: Likewise.
87870 * conform/data/fmtmsg.h-data: Likewise.
87871 * conform/data/fnmatch.h-data: Likewise.
87872 * conform/data/ftw.h-data: Likewise.
87873 * conform/data/glob.h-data: Likewise.
87874 * conform/data/grp.h-data: Likewise.
87875 * conform/data/iconv.h-data: Likewise.
87876 * conform/data/inttypes.h-data: Likewise.
87877 * conform/data/langinfo.h-data: Likewise.
87878 * conform/data/libgen.h-data: Likewise.
87879 * conform/data/limits.h-data: Likewise.
87880 * conform/data/locale.h-data: Likewise.
87881 * conform/data/math.h-data: Likewise.
87882 * conform/data/monetary.h-data: Likewise.
87883 * conform/data/mqueue.h-data: Likewise.
87884 * conform/data/ndbm.h-data: Likewise.
87885 * conform/data/net/if.h-data: Likewise.
87886 * conform/data/netdb.h-data: Likewise.
87887 * conform/data/netinet/in.h-data: Likewise.
87888 * conform/data/nl_types.h-data: Likewise.
87889 * conform/data/poll.h-data: Likewise.
87890 * conform/data/pthread.h-data: Likewise.
87891 * conform/data/pwd.h-data: Likewise.
87892 * conform/data/regex.h-data: Likewise.
87893 * conform/data/sched.h-data: Likewise.
87894 * conform/data/search.h-data: Likewise.
87895 * conform/data/semaphore.h-data: Likewise.
87896 * conform/data/setjmp.h-data: Likewise.
87897 * conform/data/signal.h-data: Likewise.
87898 * conform/data/spawn.h-data: Likewise.
87899 * conform/data/stdarg.h-data: Likewise.
87900 * conform/data/stdio.h-data: Likewise.
87901 * conform/data/stdlib.h-data: Likewise.
87902 * conform/data/string.h-data: Likewise.
87903 * conform/data/strings.h-data: Likewise.
87904 * conform/data/stropts.h-data: Likewise.
87905 * conform/data/sys/ipc.h-data: Likewise.
87906 * conform/data/sys/mman.h-data: Likewise.
87907 * conform/data/sys/msg.h-data: Likewise.
87908 * conform/data/sys/resource.h-data: Likewise.
87909 * conform/data/sys/select.h-data: Likewise.
87910 * conform/data/sys/sem.h-data: Likewise.
87911 * conform/data/sys/shm.h-data: Likewise.
87912 * conform/data/sys/socket.h-data: Likewise.
87913 * conform/data/sys/stat.h-data: Likewise.
87914 * conform/data/sys/statvfs.h-data: Likewise.
87915 * conform/data/sys/time.h-data: Likewise.
87916 * conform/data/sys/timeb.h-data: Likewise.
87917 * conform/data/sys/times.h-data: Likewise.
87918 * conform/data/sys/types.h-data: Likewise.
87919 * conform/data/sys/uio.h-data: Likewise.
87920 * conform/data/sys/un.h-data: Likewise.
87921 * conform/data/sys/utsname.h-data: Likewise.
87922 * conform/data/sys/wait.h-data: Likewise.
87923 * conform/data/syslog.h-data: Likewise.
87924 * conform/data/tar.h-data: Likewise.
87925 * conform/data/termios.h-data: Likewise.
87926 * conform/data/utime.h-data: Likewise.
87927 * conform/data/utmpx.h-data: Likewise.
87928 * conform/data/varargs.h-data: Likewise.
87929 * conform/data/wchar.h-data: Likewise.
87930 * conform/data/wctype.h-data: Likewise.
87931 * conform/data/wordexp.h-data: Likewise.
87932
87933 * include/stropts.h: New file.
87934 * include/uchar.h: New file.
87935 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87936 * include/assert.h: Likewise.
87937 * include/ctype.h: Likewise.
87938 * include/dirent.h: Likewise.
87939 * include/dlfcn.h: Likewise.
87940 * include/fcntl.h: Likewise.
87941 * include/fnmatch.h: Likewise.
87942 * include/glob.h: Likewise.
87943 * include/grp.h: Likewise.
87944 * include/libio.h: Likewise.
87945 * include/locale.h: Likewise.
87946 * include/math.h: Likewise.
87947 * include/net/if.h: Likewise.
87948 * include/netdb.h: Likewise.
87949 * include/netinet/in.h: Likewise.
87950 * include/pthread.h: Likewise.
87951 * include/pwd.h: Likewise.
87952 * include/regex.h: Likewise.
87953 * include/sched.h: Likewise.
87954 * include/search.h: Likewise.
87955 * include/setjmp.h: Likewise.
87956 * include/signal.h: Likewise.
87957 * include/stdio.h: Likewise.
87958 * include/stdlib.h: Likewise.
87959 * include/string.h: Likewise.
87960 * include/sys/cdefs.h: Likewise.
87961 * include/sys/mman.h: Likewise.
87962 * include/sys/msg.h: Likewise.
87963 * include/sys/resource.h: Likewise.
87964 * include/sys/select.h: Likewise.
87965 * include/sys/socket.h: Likewise.
87966 * include/sys/stat.h: Likewise.
87967 * include/sys/statvfs.h: Likewise.
87968 * include/sys/time.h: Likewise.
87969 * include/sys/times.h: Likewise.
87970 * include/sys/uio.h: Likewise.
87971 * include/sys/utsname.h: Likewise.
87972 * include/sys/wait.h: Likewise.
87973 * include/termios.h: Likewise.
87974 * include/time.h: Likewise.
87975 * include/ulimit.h: Likewise.
87976 * include/unistd.h: Likewise.
87977 * include/utime.h: Likewise.
87978 * include/wchar.h: Likewise.
87979 * include/wctype.h: Likewise.
87980 * include/wordexp.h: Likewise.
87981
87982 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87983
87984 * time/time.h: TIME_UTC must be a macro.
87985 Make timespec_get available for ISO C11 only as well.
87986
87987 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87988
87989 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87990 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87991
87992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87993
87994 * configure.in: Use -o not -a in test for unsupported multi-arch.
87995
87996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87997
87998 * manual/texinfo.tex: Update to version 2012-01-19.16.
87999
88000 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88001
88002 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88003
88004 2012-02-24 Roland McGrath <roland@hack.frob.com>
88005
88006 [BZ #13738]
88007 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88008 * manual/fdl-1.3.texi: New file.
88009 * manual/fdl-1.1.texi: File removed.
88010
88011 [BZ #13738]
88012 * manual/libc.texinfo (FDL_VERSION): New @set.
88013 Use it for mention of FDL in cover text.
88014 (Documentation License): Use it in @include file name.
88015
88016 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88017 Roland McGrath <roland@hack.frob.com>
88018
88019 [BZ #5461]
88020 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88021 (not LONG_LONG_MAX and LONG_LONG_MIN.
88022 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88023 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88024 name.
88025 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88026
88027 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88028
88029 [BZ #2547]
88030 [BZ #11365]
88031 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88032 manipulate bits before adding and subtracting TWO23[sx].
88033 * math/libm-test.inc (nearbyint_test): Add more tests.
88034
88035 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88036
88037 [BZ #2548]
88038 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88039 bits before adding and subtracting TWO23[sx].
88040 * math/libm-test.inc (rint_test): Add more tests.
88041 (rint_test_tonearest): Likewise.
88042 (rint_test_towardzero): Likewise.
88043 (rint_test_downward): Likewise.
88044 (rint_test_upward: Likewise.
88045
88046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88047
88048 [BZ #10110]
88049 * include/stdc-predef.h: New file. Extracted from features.h.
88050 * include/features.h: Include stdc-predef.h.
88051 * Makefile (headers): Add stdc-predef.h.
88052 * CONFORMANCE (Compiler limitations): Update.
88053
88054 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88055
88056 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88057
88058 2012-02-21 David S. Miller <davem@davemloft.net>
88059
88060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88062
88063 2012-02-20 David S. Miller <davem@davemloft.net>
88064
88065 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88066 using a normal save/restore sequence, rather than allocating a
88067 dummy stack frame just to store a frame pointer and restore.
88068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88069
88070 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88071
88072 * manual/install.texi: Fix stray word in line-wrapped comment.
88073
88074 2012-02-20 David S. Miller <davem@davemloft.net>
88075
88076 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88077 both binutils and gcc support GOTDATA.
88078
88079 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88080 "rd %pc" in the PIC register setup sequences.
88081
88082 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88083 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88084 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88085 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88086 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88089 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88091 (SYSCALL_ERROR_HANDLER): Likewise.
88092 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88093 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88095 (SYSCALL_ERROR_HANDLER): Likewise.
88096
88097 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88098 (HAVE_GCC_GOTDATA): New.
88099 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88100 relocation support in both binutils and gcc.
88101 * sysdeps/sparc/elf/configure: Regenerate.
88102
88103 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88104 * sysdeps/sparc/sparc32/elf/configure: Delete.
88105 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88106 * sysdeps/sparc/sparc64/elf/configure: Delete.
88107 * sysdeps/sparc/elf/configure.in: New file.
88108 * sysdeps/sparc/elf/configure: Generate.
88109
88110 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88111 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88112 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88113 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88114 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88115
88116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88117
88118 * manual/install.texi: Do not mention specific glibc version
88119 numbers.
88120 * manual/libc.texinfo (VERSION, UPDATED): Update.
88121 (@copying): Use @copyright{} and range of years.
88122
88123 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88124
88125 [BZ #13695]
88126 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88127 [crti.S not in sysdirs] (generated): Do not append.
88128 [crti.S not in sysdirs] (omit-deps): Likewise.
88129 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88130 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88131 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88132 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88133 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88134 Likewise.
88135 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88136 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88137 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88138 * csu/defs.awk: Remove file.
88139 * sysdeps/generic/initfini.c: Likewise.
88140 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88141 variable.
88142 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88143 Likewise.
88144
88145 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88146
88147 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88148 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88149 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88150 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88152 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88153 <bits/epoll.h>.
88154 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88155 (__EPOLL_PACKED): Define to empty if not defined by
88156 <bits/epoll.h>.
88157 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88159 bits/epoll.h.
88160
88161 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88162
88163 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88164 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88166 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88167 <bits/timerfd.h>.
88168 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88170 bits/timerfd.h.
88171
88172 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88173
88174 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88175 in C locale.
88176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88177 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88180
88181 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88182
88183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88184 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88185
88186 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88187
88188 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88189 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88190 defined.
88191 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88192 Likewise.
88193 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88194 entry for 2.16.
88195
88196 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88197
88198 * math/w_acos.c: Use non-signaling floating-point comparisons.
88199 * math/w_acosf.c: Likewise.
88200 * math/w_acosh.c: Likewise.
88201 * math/w_acoshf.c: Likewise.
88202 * math/w_acoshl.c: Likewise.
88203 * math/w_acosl.c: Likewise.
88204 * math/w_asin.c: Likewise.
88205 * math/w_asinf.c: Likewise.
88206 * math/w_asinl.c: Likewise.
88207 * math/w_atanh.c: Likewise.
88208 * math/w_atanhf.c: Likewise.
88209 * math/w_atanhl.c: Likewise.
88210 * math/w_exp2.c: Likewise.
88211 * math/w_exp2f.c: Likewise.
88212 * math/w_exp2l.c: Likewise.
88213 * math/w_j0.c: Likewise.
88214 * math/w_j0f.c: Likewise.
88215 * math/w_j0l.c: Likewise.
88216 * math/w_j1.c: Likewise.
88217 * math/w_j1f.c: Likewise.
88218 * math/w_j1l.c: Likewise.
88219 * math/w_jn.c: Likewise.
88220 * math/w_jnf.c: Likewise.
88221 * math/w_log.c: Likewise.
88222 * math/w_log10.c: Likewise.
88223 * math/w_log10f.c: Likewise.
88224 * math/w_log10l.c: Likewise.
88225 * math/w_log2.c: Likewise.
88226 * math/w_log2f.c: Likewise.
88227 * math/w_log2l.c: Likewise.
88228 * math/w_logf.c: Likewise.
88229 * math/w_logl.c: Likewise.
88230 * math/w_sqrt.c: Likewise.
88231 * math/w_sqrtf.c: Likewise.
88232 * math/w_sqrtl.c: Likewise.
88233 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88234 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88236 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88237 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88238
88239 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88240
88241 [BZ #9739]
88242 * manual/string.texi (strnlen): Use correct parameter name in
88243 equivalent expression.
88244
88245 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88246
88247 [BZ #11174]
88248 * manual/users.texi (seteuid): Consistently use neweuid for
88249 argument name.
88250
88251 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88252
88253 [BZ #13704]
88254 * manual/nss.texi (Services in the NSS configuration): Correct
88255 list of services in example configuration file.
88256
88257 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88258
88259 [BZ #11322]
88260 * manual/arith.texi: Remove statements about negative zero
88261 behaving identically to zero.
88262
88263 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88264
88265 [BZ #5993]
88266 * manual/install.texi: Do not document upgrading from libc5.
88267
88268 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88269
88270 [BZ #4596]
88271 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88272
88273 2012-02-18 David S. Miller <davem@davemloft.net>
88274
88275 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88276 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88277 %o7 across the call.
88278 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88279 instead.
88280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88281 SETUP_PIC_REG_LEAF.
88282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88283 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88284 * sysdeps/sparc/crtn.S: Likewise.
88285
88286 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88287
88288 * aout/Makefile: Remove.
88289
88290 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88291
88292 [BZ #13058]
88293 * manual/examples/argp-ex1.c (main): Format definition in GNU
88294 style.
88295 * manual/examples/argp-ex2.c (main): Likewise.
88296 * manual/examples/argp-ex3.c (main): Likewise.
88297 * manual/examples/argp-ex4.c (main): Likewise.
88298 * manual/examples/longopt.c (main): Use new-style prototype
88299 definition.
88300 * manual/examples/strncat.c (main): Specify return type and use
88301 (void) for arguments.
88302 * manual/examples/subopt.c (main): Use char **argv argument.
88303
88304 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88305
88306 [BZ #5077]
88307 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88308 rounding modes.
88309
88310 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88311
88312 [BZ #6907]
88313 * manual/string.texi (strchr): Change when strchrnul is
88314 recommended.
88315
88316 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88317
88318 [BZ #174]
88319 * manual/locale.texi (setlocale): Document LOCPATH.
88320
88321 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88322
88323 [BZ #10210]
88324 * manual/process.texi (execle): Move @dots{} before last argument.
88325
88326 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88327
88328 [BZ #12047]
88329 * manual/charset.texi (Generic Charset Conversion): Fix typo
88330 (LC_TYPE -> LC_CTYPE).
88331
88332 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88333
88334 [BZ #5805]
88335 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88336 (scalbnf): Likewise.
88337 (scalbnl): Likewise.
88338 (scalbln): Likewise.
88339 (scalblnf): Likewise.
88340 (scalblnl): Likewise.
88341 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88342 (vwarnx): Likewise.
88343 (verr): Likewise.
88344 (verrx): Likewise.
88345 * manual/filesys.texi (telldir): Use braces around return type.
88346 * manual/llio.texi (mmap): Add space after comma.
88347 (mmap64): Likewise.
88348 * manual/math.texi (jn): Use @var{} on parameter names.
88349 (jnf): Likewise.
88350 (jnl): Likewise.
88351 (yn): Likewise.
88352 (ynf): Likewise.
88353 (ynl): Likewise.
88354 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88355 line.
88356 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88357 "...".
88358 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88359 (sched_get_priority_max): Likewise.
88360 * manual/signal.texi (sigvec): Add space after comma.
88361 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88362 names.
88363 (if_indextoname): Likewise.
88364 (if_freenameindex): Likewise.
88365 (sendto): Use ',' instead of '.' in prototype.
88366 * manual/startup.texi (syscall): Use @dots{} instead of literal
88367 "...".
88368 * manual/stdio.texi (__fpending): Separate initial words of
88369 paragraph from @deftypefun line.
88370 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88371 "...".
88372 (vsyslog): Use @var{} on parameter names.
88373 * manual/terminal.texi (stty): Use @var{} on parameter names.
88374 * manual/users.texi (getutmp): Use @var{} on parameter names.
88375 (getutmpx): Likewise.
88376
88377 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88378
88379 [BZ #6884]
88380 * manual/stdio.texi (fopen): Fix typos in description of
88381 ",ccs=STRING".
88382
88383 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88384
88385 [BZ #4026]
88386 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88387 get clock_id definition.
88388
88389 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88390
88391 [BZ #4822]
88392 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88393 (madvise): Cast every argument to void on its own.
88394
88395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88396
88397 [BZ #9902]
88398 * manual/startup.texi (Exit Status): Fix typo.
88399
88400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88401
88402 [BZ #10140]
88403 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88404 * manual/examples/argp-ex2.c: Likewise.
88405 * manual/examples/argp-ex3.c: Likewise.
88406
88407 2012-02-16 Richard Henderson <rth@redhat.com>
88408
88409 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88410 * sysdeps/s390/s390-32/initfini.c: Remove.
88411 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88412 * sysdeps/s390/s390-64/initfini.c: Remove.
88413
88414 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88415
88416 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88417 compiler output for sysdeps/generic/initfini.c.
88418 * sysdeps/sh/elf/initfini.c: Remove file.
88419
88420 2012-02-16 David S. Miller <davem@davemloft.net>
88421
88422 [BZ #11494]
88423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88424
88425 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88426 * sysdeps/sparc/crti.S: New file.
88427 * sysdeps/sparc/crtn.S: New file.
88428 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88429 * sysdeps/sparc/sparc64/Makefile: Likewise.
88430
88431 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88432
88433 [BZ #3335]
88434 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88435
88436 2012-02-15 Roland McGrath <roland@hack.frob.com>
88437
88438 [BZ #4822]
88439 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88440
88441 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88442 (write, read, close): Likewise.
88443 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88444
88445 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88446
88447 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88448 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88449 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88450 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88451 <bits/signalfd.h>.
88452 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88454 bits/signalfd.h.
88455
88456 2012-02-14 Marek Polacek <polacek@redhat.com>
88457
88458 * sysdeps/x86_64/crti.S: New file.
88459 * sysdeps/x86_64/crtn.S: New file.
88460 * sysdeps/x86_64/elf/initfini.c: Remove file.
88461
88462 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88463
88464 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88465 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88466 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88467 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88468 <bits/inotify.h>.
88469 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88471 bits/inotify.h.
88472
88473 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88474
88475 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88476 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88477 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88478 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88479 <bits/eventfd.h>.
88480 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88482 bits/eventfd.h.
88483
88484 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88485
88486 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88487 __feraiseexcept instead of feraiseexcept.
88488
88489 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88490 nanosleep invocations.
88491 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88492 strings, and add error checking for a nanosleep invocations.
88493
88494 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88495
88496 Replace FSF snail mail address with URLs, as per GNU coding standards.
88497 Most of the snail mail addresses were wrong anyway, and omitting
88498 them makes the source code easier to maintain. Almost all of the
88499 changes are to license notices and to locale LC_IDENTIFICATION
88500 addresses, except for this one:
88501 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88502 not its snail mail address.
88503
88504 2012-02-09 Richard Henderson <rth@twiddle.net>
88505
88506 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88507 of kernel-features.h.
88508
88509 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88510
88511 2012-02-08 Marek Polacek <polacek@redhat.com>
88512
88513 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88514 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88515 * sysdeps/gnu/_G_config.h: Likewise.
88516 * sysdeps/generic/_G_config.h: Likewise.
88517
88518 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88519
88520 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88521 tests.
88522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88523
88524 * sysdeps/powerpc/powerpc32/crti.S: New file.
88525 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88526 * sysdeps/powerpc/powerpc64/crti.S: New file.
88527 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88528
88529 * Makeconfig (have-initfini): Don't set.
88530 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88531 * configure.in (nopic_initfini): Don't substitute.
88532 * config.h.in (HAVE_INITFINI): Don't #undef.
88533 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88534 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88535
88536 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88537
88538 Support crti.S and crtn.S provided directly by architectures.
88539 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88540 [crti.S in sysdirs] (omit-deps): Likewise.
88541 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88542 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88543 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88544 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88545 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88546 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88547 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88548 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88549 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88550 compiler output for sysdeps/generic/initfini.c.
88551 * sysdeps/i386/elf/Makefile: Remove file.
88552 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88553
88554 2012-02-07 Marek Polacek <polacek@redhat.com>
88555
88556 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88557 * sysdeps/gnu/_G_config.h: Likewise.
88558 * sysdeps/mach/hurd/_G_config.h: Likewise.
88559
88560 2012-02-07 Marek Polacek <polacek@redhat.com>
88561
88562 * math/Makefile (tests): Add tst-CMPLX2.
88563 * math/tst-CMPLX2.c: New file.
88564
88565 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88566
88567 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88568
88569 * math/libm-test.inc (jn_test): Add missing L suffix.
88570
88571 2012-02-06 Marek Polacek <polacek@redhat.com>
88572
88573 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88574 * sysdeps/i386/fpu/e_powf.S: Likewise.
88575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88576 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88577 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88578 * sysdeps/i386/fpu/e_pow.S: Likewise.
88579 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88581 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88582 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88583 * sysdeps/i386/fpu/e_log2.S: Likewise.
88584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88586 * sysdeps/i386/fpu/e_powl.S: Likewise.
88587 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88589 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88590 * sysdeps/i386/fpu/e_logl.S: Likewise.
88591 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88592 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88593 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88594 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88596 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88597 * sysdeps/i386/fpu/e_log.S: Likewise.
88598 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88600 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88601 * sysdeps/i386/fpu/e_logf.S: Likewise.
88602 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88604 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88605 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88606 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88607 * sysdeps/i386/fpu/e_log10.S: Likewise.
88608 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88610 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88611 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88612 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88613 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88614 * sysdeps/i386/asm-syntax.h: Likewise.
88615 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88617 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88618 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88619 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88620 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88621 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88622 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88624 * sysdeps/powerpc/sysdep.h: Likewise.
88625 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88627
88628 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88629
88630 [BZ #411]
88631 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88632
88633 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88634
88635 * sysdeps/i386/sysdep.h: Include <features.h>.
88636 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88637 version.
88638
88639 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88640
88641 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88642 Define.
88643 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88644 LOAD_PIC_REG_STR.
88645
88646 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88647
88648 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88649 (SETUP_PIC_REG): Use GET_PC_THUNK.
88650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88651 macro.
88652
88653 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88654
88655 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88656 for non-PIC compilation.
88657 (SETUP_PIC_REG): Add .p2align directive.
88658 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88659 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88660 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88661 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88662 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88663 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88666 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88667 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88668 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88669 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88670 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88671 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88672 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88673 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88674 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88675 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88676 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88677 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88679 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88680 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88681 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88685 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88686 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88687 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88688 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88689 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88690 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88691 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88692 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88693 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88694 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88695 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88696 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88697 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88698 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88699
88700 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88701
88702 * math/tst-CMPLX.c: Include <stdio.h>.
88703
88704 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88705
88706 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88707 float.
88708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88709 * sysdeps/sparc/bits/mathdef.h: Likewise.
88710
88711 2012-01-31 Marek Polacek <polacek@redhat.com>
88712
88713 * libio/libio.h: Don't define _PARAMS.
88714 * locale/programs/config.h: Don't define PARAMS.
88715 * stdlib/strtol_l.c: Likewise.
88716 (__strtol_l): Remove PARAMS from the prototype.
88717
88718 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88719
88720 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88721 names. Just use the correct names. Remove unnecessary wrapper
88722 functions.
88723 * malloc/arena.c: Likewise.
88724 * malloc/hooks.c: Likewise.
88725
88726 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88727 ARENA_TEST says not to. Simplify test for creation of a new arena.
88728 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88729
88730 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88731
88732 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88733 into tail calls.
88734 (update_get_addr): New function.
88735 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88736 GET_ADDR_MODULE parameter.
88737
88738 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88739
88740 * crypt/cert.c: Remove __STDC__ conditionals.
88741 * crypt/crypt-entry.c: Likewise.
88742 * crypt/crypt_util.c: Likewise.
88743 * libio/filedoalloc.c: Likewise.
88744 * libio/fileops.c: Likewise.
88745 * libio/genops.c: Likewise.
88746 * libio/iofclose.c: Likewise.
88747 * libio/iofdopen.c: Likewise.
88748 * libio/iofopen.c: Likewise.
88749 * libio/iofopen64.c: Likewise.
88750 * libio/iogetdelim.c: Likewise.
88751 * libio/iopopen.c: Likewise.
88752 * libio/obprintf.c: Likewise.
88753 * libio/oldfileops.c: Likewise.
88754 * libio/oldiofclose.c: Likewise.
88755 * libio/oldiofdopen.c: Likewise.
88756 * libio/oldiofopen.c: Likewise.
88757 * libio/oldiopopen.c: Likewise.
88758 * libio/wfiledoalloc.c: Likewise.
88759 * libio/wgenops.c: Likewise.
88760 * locale/programs/xmalloc.c: Likewise.
88761 * misc/syslog.c: Likewise.
88762 * stdio-common/xbug.c: Likewise.
88763 * string/memchr.c: Likewise.
88764 * string/memcmp.c: Likewise.
88765 * string/memrchr.c: Likewise.
88766 * string/rawmemchr.c: Likewise.
88767 * sysdeps/posix/getcwd.c: Likewise.
88768 * time/strftime_l.c: Likewise.
88769
88770 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88771
88772 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88773 * config.make.in (config-cflags-sse2avx): Define.
88774 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88775 Fix typo.
88776
88777 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88778
88779 * scripts/config.guess: Update from upstream config git repository.
88780 * scripts/config.sub: Likewise.
88781
88782 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88783
88784 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88785 (EM_NUM): Update.
88786 (R_TILEPRO_*, R_TILEGX_*): New macros.
88787
88788 * scripts/firstversions.awk: Fix bug in version range handling.
88789
88790 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88791
88792 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88793
88794 * include/sys/epoll.h: New file.
88795 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88796 libc_hidden_def.
88797
88798 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88799
88800 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88801 Avoid unnecessary __WORDSIZE == 64 test.
88802 (fmaxf): Use VEX format if possible.
88803 (fmax): Likewise.
88804 (fminf): Likewise.
88805 (fmin): Likewise.
88806
88807 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88808 * math/math_private.h: Remove libc_fegetround* and
88809 libc_fesetround*.
88810 * sysdeps/i386/configure.in: Check for -msse2avx.
88811 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88812 also if SSE2AVX is defined.
88813 Remove libc_fegetround* and libc_fesetround*.
88814 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88815 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88817 of HAS_YMM_USABLE.
88818 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88819 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88821 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88823
88824 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88825
88826 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88827
88828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88829 size is not set.
88830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88831
88832 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88833
88834 [BZ #13618]
88835 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88836 relocation.
88837 * Makeconfig (libm): Define.
88838 * elf/Makefile: Add rules to build and run tst-relsort1.
88839 * elf/tst-relsort1.c: New file.
88840 * elf/tst-relsort1mod1.c: New file.
88841 * elf/tst-relsort1mod2.c: New file.
88842
88843 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88844
88845 * math/s_ldexp.c: Remove __STDC__ conditionals.
88846 * math/s_ldexpf.c: Likewise.
88847 * math/s_ldexpl.c: Likewise.
88848 * math/s_nextafter.c: Likewise.
88849 * math/s_nexttowardf.c: Likewise.
88850 * math/s_significand.c: Likewise.
88851 * math/s_significandf.c: Likewise.
88852 * math/s_significandl.c: Likewise.
88853 * math/w_jnl.c: Likewise.
88854 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88855 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88856 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88857 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88858 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88860 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88863 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88864 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88865 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88868 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88870 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88871 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88876 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88878 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88879 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88880 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88881 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88882 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88885 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88887 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88888 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88889 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88890 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88891 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88892 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88893 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88894 * sysdeps/ieee754/k_standard.c: Likewise.
88895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88896 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88898 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88899 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88902 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88903 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88904 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88905 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88906 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88907 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88908 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88909 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88911 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88914 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88917 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88918 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88919 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88921 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88924 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88925 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88926 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88927 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88928 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88930 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88931 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88934 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88935 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88936 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88937 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88938 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88940 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88943 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88944 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88945 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88948 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88949 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88950 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88951 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88952 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88955 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88956 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88957 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88958 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88959 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88960 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88961 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88962 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88963 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88964 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88965 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88966 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88967 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88969 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88970 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88971 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88972 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88974 * sysdeps/ieee754/s_matherr.c: Likewise.
88975 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88976 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88979
88980 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88981
88982 * crypt/md5.h: Remove __STDC__ conditionals.
88983 * libio/libioP.h: Likewise.
88984 * locale/programs/config.h: Likewise.
88985 * sysdeps/generic/sysdep.h: Likewise.
88986 * sysdeps/i386/asm-syntax.h: Likewise.
88987 * sysdeps/s390/asm-syntax.h: Likewise.
88988 * sysdeps/unix/sysdep.h: Likewise.
88989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88991
88992 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88993
88994 * libio/libio.h: Remove __STDC__ conditionals.
88995 * malloc/obstack.h: Likewise.
88996 * math/complex.h: Likewise.
88997 * math/math.h: Likewise.
88998 * sysdeps/generic/_G_config.h: Likewise.
88999 * sysdeps/gnu/_G_config.h: Likewise.
89000 * sysdeps/mach/hurd/_G_config.h: Likewise.
89001 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89002 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89003 * sysdeps/sparc/bits/mathdef.h: Likewise.
89004
89005 2012-01-26 Ulrich Drepper <drepper@gmail.com>
89006
89007 [BZ #13583]
89008 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89009 Clean up HAS_* macros.
89010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89011 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89012 possible.
89013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89014 HAS_AVX.
89015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89020
89021 2012-01-25 Joseph Myers <joseph@codesourcery.com>
89022
89023 * elf/tst-unique3.cc (gets): Remove declaration.
89024 * elf/tst-unique3lib.cc (gets): Likewise.
89025 * elf/tst-unique3lib2.cc (gets): Likewise.
89026 * elf/tst-unique4.cc (gets): Likewise.
89027
89028 2012-01-24 Ulrich Drepper <drepper@gmail.com>
89029
89030 * include/stdio.h: Add C++ protection. Add gets declarations and
89031 definitions.
89032 * debug/tst-chk1.c: Don't declare gets here.
89033 * stdio-common/tst-gets.c: Likewise.
89034
89035 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89036
89037 * posix/glob: Remove directory.
89038
89039 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89040
89041 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89042
89043 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89044
89045 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89046 of the non-standard EPFNOSUPPORT.
89047
89048 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89049
89050 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89051 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89052 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89053
89054 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89055
89056 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89057
89058 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89059
89060 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89061 transient errors.
89062 * nscd/grpcache.c (cache_addgr): Likewise.
89063 * nscd/hstcache.c (cache_addhst): Likewise.
89064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89065 * nscd/pwdcache.c (cache_addpw): Likewise.
89066 * nscd/servicescache.c (cache_addserv): Likewise.
89067
89068 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89069
89070 * malloc/malloc.c: Various cleanups.
89071 * malloc/hooks.c: Likewise.
89072
89073 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89074 * stdlib/bug-fmtmsg1.c: New file.
89075
89076 * stdlib/fmtmsg.c (init): Add missing unlock.
89077 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89078
89079 2012-01-12 Marek Polacek <polacek@redhat.com>
89080
89081 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89082 and _GNU_SOURCE.
89083
89084 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89085
89086 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89087 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89088 macro to ensure uniqueness of label name.
89089 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89090 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89091
89092 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89093
89094 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89095
89096 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89098 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89100
89101 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89102
89103 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89104
89105 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89106 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89107 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89108
89109 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89110
89111 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89113 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89115
89116 * math/bits/math-finite.h: Add ldexp support.
89117
89118 2012-01-10 Marek Polacek <polacek@redhat.com>
89119
89120 * locale/programs/localedef.h (show_archive_content): Add noreturn
89121 attribute.
89122
89123 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89124
89125 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89126
89127 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89128
89129 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89130
89131 * io/Makefile (headers): Add bits/poll2.h.
89132
89133 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89134
89135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89136 typo #include statement.
89137
89138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89139
89140 * include/sys/cdefs.h: Define __attribute_alloc_size.
89141 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89142 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89143 * elf/pldd.c: Likewise.
89144 * iconv/iconv_charmap.c: Likewise.
89145 * iconv/iconvconfig.c: Likewise.
89146 * iconv/strtab.c: Likewise.
89147 * locale/programs/locale.c: Likewise.
89148 * locale/programs/localedef.h: Likewise.
89149 * locale/programs/simple-hash.c: Likewise.
89150 * nscd/nscd.h: Likewise.
89151 * nss/makedb.c: Likewise.
89152 * sysdeps/generic/ldconfig.h: Likewise.
89153 * locale/programs/localedef.c: Remove xmalloc prototype.
89154 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89155
89156 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89157
89158 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89159 appropriate.
89160
89161 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89162
89163 * math/Makefile (tests): Add tst-CMPLX.
89164 * math/tst-CMPLX.c: New file.
89165
89166 * math/complex.h (CMPLXL): Fix typo.
89167
89168 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89169 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89170 GLIBC_2.16.
89171 * debug/tst-chk1.c: Add poll and ppoll tests.
89172 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89173 * include/sys/poll.h: Add hidden proto for ppoll.
89174 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89175 * sysdeps/mach/hurd/ppoll.c: Likewise.
89176 * io/ppoll.c: Likewise.
89177 * debug/poll_chk.c: New file.
89178 * debug/ppoll_chk.c: New file.
89179 * include/bits/poll2.h: New file.
89180 * io/bits/poll2.h: New file.
89181
89182 [BZ #1350]
89183 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89184
89185 * configure.in: static is always set to yes. Remove.
89186 * config.make.in: Don't set build-static.
89187 * Makeconfig: Remove use of build-static.
89188 * dlfcn/Makefile: Likewise.
89189 * elf/Makefile: Likewise.
89190 * math/Makefile: Likewise.
89191 * misc/Makefile: Likewise.
89192 * nptl/Makefile: Likewise.
89193 * sysdeps/mach/hurd/Makefile: Likewise.
89194
89195 * configure.in: PWD_P is not used anymore.
89196 * config.make.in: Remove PWD_P entry.
89197
89198 * configure.in: Remove last remnants of RANLIB.
89199 No need to check for signed size_t anymore.
89200 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89201 and IA-64.
89202 Remove __builtin_expect test because we require at least gcc 3.4.
89203 * aclocal.m4: Likewise.
89204
89205 * wcsmbs/mbrtoc16.c: Implement using towc function.
89206 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89207 * wcsmbs/wcsmbsload.c: Likewise.
89208 * iconv/gconv_simple.c: Likewise.
89209 * iconv/gconv_int.h: Likewise.
89210 * iconv/gconv_builtin.h: Likewise.
89211 * iconv/iconv_prog.c: Remove CHAR16 handling.
89212
89213 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89214
89215 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89216
89217 * configure.in: Remove --with-elf and --enable-bounded options.
89218 Dont set base_machine for ia64. More non-ELF conditions removed.
89219 Remove testing and setting of leading underscore information.
89220 * config.make.in (build-bounded): Set to no.
89221 * config.h.in: Remove NO_UNDERSCORES entry.
89222 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89223 them.
89224 * csu/start.c: Remove !NO_UNDERSCORE code.
89225 * locale/localeinfo.h: Likewise.
89226 * sysdeps/generic/machine-gmon.h: Likewise.
89227 * sysdeps/generic/sysdep.h: Likewise.
89228 * sysdeps/i386/sysdep.h: Likewise.
89229 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89230 * sysdeps/mach/sysdep.h: Likewise.
89231 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89232 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89233 * sysdeps/sh/sysdep.h: Likewise.
89234 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89235 * sysdeps/unix/i386/sysdep.S: Likewise.
89236 * sysdeps/unix/sparc/start.c: Likewise.
89237 * sysdeps/unix/sparc/sysdep.S: Likewise.
89238 * sysdeps/unix/sparc/sysdep.h: Likewise.
89239 * sysdeps/unix/start.c: Likewise.
89240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89241 * sysdeps/x86_64/sysdep.h: Likewise.
89242
89243 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89244
89245 [BZ #13553]
89246 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89247 for non-gcc.
89248 * argp/argp-fmtstream.h: Use const instead __const.
89249 * argp/argp.h: Likewise.
89250 * assert/assert.h: Likewise.
89251 * bits/fenv.h: Likewise.
89252 * bits/sched.h: Likewise.
89253 * bits/sigset.h: Likewise.
89254 * bits/sigthread.h: Likewise.
89255 * catgets/nl_types.h: Likewise.
89256 * conform/data/pthread.h-data: Likewise.
89257 * crypt/crypt-private.h: Likewise.
89258 * crypt/crypt.h: Likewise.
89259 * crypt/crypt_util.c: Likewise.
89260 * ctype/ctype.h: Likewise.
89261 * debug/execinfo.h: Likewise.
89262 * debug/mbsnrtowcs_chk.c: Likewise.
89263 * debug/mbsrtowcs_chk.c: Likewise.
89264 * debug/wcsnrtombs_chk.c: Likewise.
89265 * debug/wcsrtombs_chk.c: Likewise.
89266 * debug/wcstombs_chk.c: Likewise.
89267 * dirent/dirent.h: Likewise.
89268 * dlfcn/dlfcn.h: Likewise.
89269 * elf/neededtest4.c: Likewise.
89270 * grp/grp.h: Likewise.
89271 * gshadow/gshadow.h: Likewise.
89272 * iconv/gconv.h: Likewise.
89273 * iconv/gconv_int.h: Likewise.
89274 * iconv/gconv_simple.c: Likewise.
89275 * iconv/iconv.h: Likewise.
89276 * iconv/loop.c: Likewise.
89277 * iconv/skeleton.c: Likewise.
89278 * include/aio.h: Likewise.
89279 * include/aliases.h: Likewise.
89280 * include/argz.h: Likewise.
89281 * include/arpa/inet.h: Likewise.
89282 * include/assert.h: Likewise.
89283 * include/dirent.h: Likewise.
89284 * include/dlfcn.h: Likewise.
89285 * include/execinfo.h: Likewise.
89286 * include/fcntl.h: Likewise.
89287 * include/fenv.h: Likewise.
89288 * include/glob.h: Likewise.
89289 * include/grp.h: Likewise.
89290 * include/libintl.h: Likewise.
89291 * include/mntent.h: Likewise.
89292 * include/netdb.h: Likewise.
89293 * include/pwd.h: Likewise.
89294 * include/rpc/netdb.h: Likewise.
89295 * include/sched.h: Likewise.
89296 * include/search.h: Likewise.
89297 * include/shadow.h: Likewise.
89298 * include/signal.h: Likewise.
89299 * include/stdio.h: Likewise.
89300 * include/stdlib.h: Likewise.
89301 * include/string.h: Likewise.
89302 * include/sys/socket.h: Likewise.
89303 * include/sys/stat.h: Likewise.
89304 * include/sys/statfs.h: Likewise.
89305 * include/sys/statvfs.h: Likewise.
89306 * include/sys/syslog.h: Likewise.
89307 * include/sys/time.h: Likewise.
89308 * include/sys/uio.h: Likewise.
89309 * include/time.h: Likewise.
89310 * include/unistd.h: Likewise.
89311 * include/utmp.h: Likewise.
89312 * include/wchar.h: Likewise.
89313 * include/wctype.h: Likewise.
89314 * inet/aliases.h: Likewise.
89315 * inet/arpa/inet.h: Likewise.
89316 * inet/netinet/ether.h: Likewise.
89317 * inet/netinet/in.h: Likewise.
89318 * intl/libintl.h: Likewise.
89319 * io/bits/fcntl2.h: Likewise.
89320 * io/fcntl.h: Likewise.
89321 * io/ftw.h: Likewise.
89322 * io/sys/poll.h: Likewise.
89323 * io/sys/stat.h: Likewise.
89324 * io/sys/statfs.h: Likewise.
89325 * io/sys/statvfs.h: Likewise.
89326 * io/utime.h: Likewise.
89327 * libio/bits/stdio.h: Likewise.
89328 * libio/bits/stdio2.h: Likewise.
89329 * libio/libio.h: Likewise.
89330 * libio/libioP.h: Likewise.
89331 * libio/stdio.h: Likewise.
89332 * locale/lc-ctype.c: Likewise.
89333 * locale/locale.h: Likewise.
89334 * login/utmp.h: Likewise.
89335 * malloc/arena.c: Likewise.
89336 * malloc/malloc.c: Likewise.
89337 * malloc/malloc.h: Likewise.
89338 * malloc/mcheck.c: Likewise.
89339 * malloc/mtrace.c: Likewise.
89340 * math/bits/mathcalls.h: Likewise.
89341 * math/fenv.h: Likewise.
89342 * math/math_private.h: Likewise.
89343 * misc/bits/error.h: Likewise.
89344 * misc/bits/syslog.h: Likewise.
89345 * misc/err.h: Likewise.
89346 * misc/error.h: Likewise.
89347 * misc/fstab.h: Likewise.
89348 * misc/mntent.h: Likewise.
89349 * misc/regexp.h: Likewise.
89350 * misc/search.h: Likewise.
89351 * misc/sgtty.h: Likewise.
89352 * misc/sys/mman.h: Likewise.
89353 * misc/sys/syslog.h: Likewise.
89354 * misc/sys/uio.h: Likewise.
89355 * misc/sys/xattr.h: Likewise.
89356 * misc/ttyent.h: Likewise.
89357 * nis/rpcsvc/ypclnt.h: Likewise.
89358 * nss/nss.h: Likewise.
89359 * posix/bits/unistd.h: Likewise.
89360 * posix/fnmatch.h: Likewise.
89361 * posix/glob.h: Likewise.
89362 * posix/sched.h: Likewise.
89363 * posix/spawn.h: Likewise.
89364 * posix/sys/wait.h: Likewise.
89365 * posix/unistd.h: Likewise.
89366 * posix/wordexp.h: Likewise.
89367 * pwd/pwd.h: Likewise.
89368 * resolv/netdb.h: Likewise.
89369 * resource/sys/resource.h: Likewise.
89370 * rt/aio.h: Likewise.
89371 * rt/bits/mqueue2.h: Likewise.
89372 * rt/mqueue.h: Likewise.
89373 * shadow/shadow.h: Likewise.
89374 * signal/signal.h: Likewise.
89375 * socket/send.c: Likewise.
89376 * socket/sendto.c: Likewise.
89377 * socket/sys/socket.h: Likewise.
89378 * stdio-common/printf.h: Likewise.
89379 * stdlib/bits/stdlib.h: Likewise.
89380 * stdlib/fmtmsg.h: Likewise.
89381 * stdlib/monetary.h: Likewise.
89382 * stdlib/stdlib.h: Likewise.
89383 * stdlib/ucontext.h: Likewise.
89384 * streams/stropts.h: Likewise.
89385 * string/argz.h: Likewise.
89386 * string/bits/string2.h: Likewise.
89387 * string/string.h: Likewise.
89388 * string/strings.h: Likewise.
89389 * sunrpc/rpc/auth.h: Likewise.
89390 * sunrpc/rpc/auth_des.h: Likewise.
89391 * sunrpc/rpc/clnt.h: Likewise.
89392 * sunrpc/rpc/netdb.h: Likewise.
89393 * sunrpc/rpc/pmap_clnt.h: Likewise.
89394 * sunrpc/rpc/xdr.h: Likewise.
89395 * sysdeps/generic/inttypes.h: Likewise.
89396 * sysdeps/generic/net/if.h: Likewise.
89397 * sysdeps/generic/sys/swap.h: Likewise.
89398 * sysdeps/gnu/net/if.h: Likewise.
89399 * sysdeps/gnu/utmpx.h: Likewise.
89400 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89401 * sysdeps/i386/i486/bits/string.h: Likewise.
89402 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89403 * sysdeps/s390/bits/string.h: Likewise.
89404 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89405 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89406 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89407 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89408 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89409 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89410 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89411 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89412 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89413 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89414 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89415 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89416 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89417 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89418 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89419 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89420 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89425 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89426 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89427 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89428 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89429 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89432 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89433 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89434 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89435 * sysvipc/sys/ipc.h: Likewise.
89436 * sysvipc/sys/msg.h: Likewise.
89437 * sysvipc/sys/sem.h: Likewise.
89438 * sysvipc/sys/shm.h: Likewise.
89439 * termios/termios.h: Likewise.
89440 * time/sys/time.h: Likewise.
89441 * time/time.h: Likewise.
89442 * wcsmbs/bits/wchar2.h: Likewise.
89443 * wcsmbs/uchar.h: Likewise.
89444 * wcsmbs/wchar.h: Likewise.
89445 * wctype/wctype.h: Likewise.
89446
89447 [BZ #13551]
89448 * Makeconfig: Remove all but ELF support including AIX support.
89449 * Makerules: Likewise.
89450 * config.h.in: Likewise.
89451 * config.make.in: Likewise.
89452 * configure: Likewise.
89453 * configure.in: Likewise.
89454 * csu/Makefile: Likewise.
89455 * csu/version.c: Likewise.
89456 * debug/Makefile: Likewise.
89457 * dlfcn/Makefile: Likewise.
89458 * elf/Makefile: Likewise.
89459 * extra-lib.mk: Likewise.
89460 * iconv/Makefile: Likewise.
89461 * include/libc-symbols.h: Likewise.
89462 * include/shlib-compat.h: Likewise.
89463 * resolv/Makefile: Likewise.
89464 * resolv/res_libc.c: Likewise.
89465 * rt/Makefile: Likewise.
89466 * sysdeps/i386/asm-syntax.h: Likewise.
89467 * sysdeps/i386/sysdep.h: Likewise.
89468 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89469 * sysdeps/mach/sysdep.h: Likewise.
89470 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89471 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89472 * sysdeps/s390/asm-syntax.h: Likewise.
89473 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89475 * sysdeps/sh/sysdep.h: Likewise.
89476 * sysdeps/unix/sparc/sysdep.h: Likewise.
89477 * sysdeps/wordsize-32/divdi3.c: Likewise.
89478 * sysdeps/x86_64/sysdep.h: Likewise.
89479
89480 * argp/Versions: Remove _argp_unlock_xxx.
89481
89482 [BZ #13559]
89483 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89484 * abilist/libBrokenLocale.abilist: Likewise.
89485 * abilist/libanl.abilist: Likewise.
89486 * abilist/libc.abilist: Likewise.
89487 * abilist/libcrypt.abilist: Likewise.
89488 * abilist/libdl.abilist: Likewise.
89489 * abilist/libm.abilist: Likewise.
89490 * abilist/libnsl.abilist: Likewise.
89491 * abilist/libpthread.abilist: Likewise.
89492 * abilist/libresolv.abilist: Likewise.
89493 * abilist/librt.abilist: Likewise.
89494 * abilist/libthread_db.abilist: Likewise.
89495 * abilist/libutil.abilist: Likewise.
89496 * abilist/libnss_db.abilist: New file.
89497
89498 * scripts/abilist.awk: Add support for indirect functions.
89499
89500 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89501
89502 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89503
89504 * shlib-versions: Remove entries for ports architectures.
89505
89506 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89507 files in ports.
89508 * elf/stackguard-macros.h: Remove support for IA-64.
89509 * elf/tst-auditmod1.c: Likewise.
89510 * sysdeps/generic/ldsodefs.h: Likewise.
89511
89512 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89513 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89514 configure files.
89515
89516 [BZ #13552]
89517 * configure.in: Remove --enable-omitfp support.
89518 * FAQ.in: Adjust.
89519 * config.make.in: Likewise.
89520 * Makeconfig: Likewise.
89521 * manual/install.texi: Likewise.
89522
89523 In case anyone cares, the IA-64 architecture could move to ports.
89524 * sysdeps/ia64/*: Removed.
89525 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89526 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89527
89528 [BZ #13555]
89529 * configure.in: Remove entries for unsupported architectures.
89530
89531 [BZ #13533]
89532 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89533 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89534 routines.
89535 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89536 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89537 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89538 fall back to using wcrtomb.
89539 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89540 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89541 renaming.
89542 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89543 * wcsmbs/tst-c16c32-1.c: New file.
89544
89545 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89546 local variable.
89547
89548 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89549
89550 * elf/tst-unique3.cc: Add explicit declaration of gets.
89551 * elf/tst-unique3lib.cc: Likewise.
89552 * elf/tst-unique3lib2.cc: Likewise.
89553 * elf/tst-unique4.cc: Likewise.
89554
89555 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89556
89557 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89558
89559 [BZ #13566]
89560 * assert/assert.h (static_assert): Don't define for C++.
89561 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89562 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89563
89564 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89565
89566 * iconv/loop.c (single loop): Fix assertion in storing of
89567 remaining bytes.
89568
89569 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89570
89571 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89572
89573 * posix/getconf.c: Update copyright year.
89574 * nss/getent.c: Likewise.
89575 * nss/makedb.c: Likewise.
89576 * iconv/iconvconfig.c: Likewise.
89577 * iconv/iconv_prog.c: Likewise.
89578 * elf/ldconfig.c: Likewise.
89579 * elf/pldd.c: Likewise.
89580 * elf/sotruss.ksh: Likewise.
89581 * catgets/gencat.c: Likewise.
89582 * csu/version.c: Likewise.
89583 * elf/ldd.bash.in: Likewise.
89584 * elf/sprof.c (print_version): Likewise.
89585 * locale/programs/locale.c: Likewise.
89586 * locale/programs/localedef.c: Likewise.
89587 * login/programs/pt_chown.c: Likewise.
89588 * nscd/nscd.c (print_version): Likewise.
89589 * debug/xtrace.sh: Likewise.
89590 * malloc/memusage.sh: Likewise.
89591 * malloc/mtrace.pl: Likewise.
89592 * debug/catchsegv.sh: Likewise.
89593
89594 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89595
89596 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89597 pure attribute.
89598
89599 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89600
89601 [BZ #13533]
89602 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89603 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89604 transformations.
89605 * iconv/gconv_int.h: Likewise.
89606 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89607 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89608 from libc for GLIBC_2.16.
89609 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89610 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89611 * wcsmbs/uchar.h: Really define mbstate_t.
89612 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89613 * wcsmbs/c16rtomb.c: New file.
89614 * wcsmbs/mbrtoc16.c: New file.
89615 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89616 for C/POSIX locale.
89617 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89618 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89619
89620 * wcsmbs/wchar.h: Add missing __restrict.
89621
89622 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89623
89624 [BZ #13532]
89625 * time/Makefile (routines): Add timespec_get.
89626 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89627 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89628 timespec for ISO C11.
89629 * time/timespec_get.c: New file.
89630 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89631 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89632
89633 [BZ #13531]
89634 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89635 * stdlib/stdlib.h: Declare aligned_alloc.
89636 * Versions.def: Add GLIBC_2.16 for libc.
89637 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89638
89639 [BZ 13527]
89640 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89641 ISO C11.
89642
89643 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89644 code.
89645
89646 [BZ #13528]
89647 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89648
89649 [BZ #13529]
89650 * assert/assert.h (static_assert): Define.
89651
89652 * version.h: Update for 2.16 development version.
89653
89654 [BZ #13526]
89655 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89656 _ISOC11_SOURCE.
89657
89658 * version.h (RELEASE): Bump for 2.15 release.
89659 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89660
89661 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89662 Patch by Marek Polacek <mpolacek@redhat.com>.
89663
89664 * bits/byteswap.h: Protect long long constants with __extension__.
89665 * sysdeps/i386/bits/byteswap.h: Likewise.
89666 * sysdeps/ia64/bits/byteswap.h: Likewise.
89667 * sysdeps/s390/bits/byteswap.h: Likewise.
89668 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89669
89670 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89671
89672 [BZ #13540]
89673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89674 destination buffer.
89675 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89676
89677 2011-12-23 Marek Polacek <polacek@redhat.com>
89678
89679 * elf/dl-addr.c (determine_info): Add inline keyword.
89680 * elf/tst-auditmod4b.c (check_avx): Likewise.
89681 * elf/tst-auditmod6b.c (check_avx): Likewise.
89682 * elf/tst-auditmod6c.c (check_avx): Likewise.
89683 * elf/tst-auditmod7b.c (check_avx): Likewise.
89684
89685 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89686
89687 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89688 !__SSE_MATH__.
89689
89690 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89691
89692 [BZ #13540]
89693 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89694 processing for last bytes.
89695
89696 2011-08-06 Bruno Haible <bruno@clisp.org>
89697
89698 [BZ #13061]
89699 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89700 U+0385, not to U+1FEE.
89701
89702 [BZ #13062]
89703 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89704 entry for U+00A5 U+0301.
89705
89706 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89707
89708 [BZ #13166]
89709 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89710 buffer for the output is too small.
89711
89712 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89713 optimization.
89714
89715 [BZ #13185]
89716 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89717 SSE flags if possible.
89718
89719 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89720
89721 [BZ #13540]
89722 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89723 processing for last bytes.
89724
89725 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89726
89727 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89728 (syscall-list-default-options, syscall-list-default-condition)
89729 (syscall-list-includes): Define.
89730 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89731 list of ABIs and options and #if conditions for each ABI. Do not
89732 handle common syscalls between ABIs specially.
89733 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89734 Remove.
89735 (syscall-list-variants, syscall-list-32bit-options)
89736 (syscall-list-32bit-condition, syscall-list-64bit-options)
89737 (syscall-list-64bit-condition): Define.
89738 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89739 (syscall-list-variants, syscall-list-32bit-options)
89740 (syscall-list-32bit-condition, syscall-list-64bit-options)
89741 (syscall-list-64bit-condition): Define.
89742 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89743 Remove.
89744 (syscall-list-variants, syscall-list-32bit-options)
89745 (syscall-list-32bit-condition, syscall-list-64bit-options)
89746 (syscall-list-64bit-condition): Define.
89747 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89748 Remove.
89749 (syscall-list-variants, syscall-list-32bit-options)
89750 (syscall-list-32bit-condition, syscall-list-64bit-options)
89751 (syscall-list-64bit-condition): Define.
89752
89753 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89754
89755 * locale/iso-639.def: Add brx entry.
89756
89757 [BZ #13328]
89758 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89759 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89760
89761 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89762 __feraiseexcept_renamed.
89763
89764 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89765
89766 [BZ #13538]
89767 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89768 EPOLLET with unsigned values.
89769 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89771
89772 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89773 to large cancellation.
89774 * math/s_cacoshf.c: Likewise.
89775 * math/s_cacoshl.c: Likewise.
89776
89777 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89778
89779 [BZ #13305]
89780 [BZ #12786]
89781 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89782 * math/s_cacoshf.c: Likewise.
89783 * math/s_cacoshl.c: Likewise.
89784
89785 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89786
89787 [BZ #13439]
89788 * iconv/gconv.h: Define __GCONV_SWAP.
89789 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89790 * iconvdata/utf-16.c: Likewise.
89791 * iconvdata/utf-32.c: Likewise.
89792
89793 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89794
89795 [BZ #13524]
89796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89797 numerator after shifting it by one limb.
89798
89799 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89800
89801 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89802 under [__USE_EXTERN_INLINES].
89803
89804 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89805
89806 [BZ #13446]
89807 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89808
89809 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89810
89811 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89812 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89813 optimized code.
89814 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89815 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89816 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89817 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89818 for strncasecmp/strncasecmp_l compilation.
89819 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89820 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89821
89822 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89823
89824 [BZ #13484]
89825 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89826 of __asm__.
89827
89828 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89829
89830 [BZ #13506]
89831 * time/tzfile.c (__tzfile_read): Check values from file header.
89832
89833 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89834
89835 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89836 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89837 * powerpc/powerpc32/dl-start.S: Likewise.
89838 * powerpc/powerpc32/elf/start.S: Likewise.
89839 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89840 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89841 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89842 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89843 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89844 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89845 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89846 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89847 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89848 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89849 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89850 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89851 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89852 * powerpc/powerpc32/memset.S: Likewise.
89853 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89854 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89855 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89856 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89857 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89858 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89859 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89860 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89861 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89862 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89863 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89864 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89865 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89866
89867 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89868
89869 * math/libm-test.inc: Added more nearbyint tests.
89870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89874
89875 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89876
89877 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89878 FD_CLOEXEC.
89879
89880 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89881
89882 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89883 Add wcscpy-ssse3 wcscpy-c.
89884 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89885 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89886 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89887 * sysdeps/x86_64/wcschr.S: New file.
89888 * sysdeps/x86_64/wcsrchr.S: New file.
89889 * string/test-strcmp.c: Remove checking of wcscmp function for
89890 wrong alignments.
89891 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89892 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89893 wcsrchr-sse2 wcsrchr-c.
89894 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89895 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89896 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89897 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89898 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89899 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89900 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89901 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89902 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89903 * wcsmbc/wcschr.c (WCSCHR): New macro.
89904
89905 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89906
89907 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89908 * wcsmbs/test-wcsrchr.c: New file.
89909 * string/test-strrchr.c: Add wcsrchr support.
89910 (WIDE): New macro.
89911 * wcsmbs/test-wcscpy.c: New file.
89912 * string/test-strcpy.c: Add wcscpy support.
89913 (WIDE): New macro.
89914
89915 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89916
89917 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89918 the inner loop.
89919
89920 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89921
89922 [BZ #13472]
89923 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89924
89925 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89926
89927 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89928 Minor optimizations.
89929
89930 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89931 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89932 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89933
89934 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89935
89936 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89937 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89938 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89939 for gcc to avoid warnings.
89940 * inet/Makefile (tests): Add tst-checks.
89941 * inet/tst-checks.c: New file.
89942
89943 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89944 warning.
89945
89946 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89947 __wmemcmp_sse2.
89948
89949 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89950 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89951
89952 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89953
89954 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89955
89956 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89957 problem.
89958
89959 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89960
89961 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89962
89963 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89964 conditional on GCC version.
89965 (__arch_compare_and_exchange_val_8_acq)
89966 (__arch_compare_and_exchange_val_16_acq)
89967 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89968 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89969 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89970
89971 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89972
89973 * sysdeps/sh/backtrace.c: New file.
89974
89975 2011-12-02 Andreas Schwab <schwab@redhat.com>
89976
89977 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89978 parenthesis.
89979
89980 2011-12-01 Andreas Schwab <schwab@redhat.com>
89981
89982 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89983 falling back to utime.
89984
89985 2011-11-30 Andreas Schwab <schwab@redhat.com>
89986
89987 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89988 expectations for float.
89989
89990 2011-11-29 Andreas Schwab <schwab@redhat.com>
89991
89992 * locale/weight.h (findidx): Add parameter len.
89993 * locale/weightwc.h (findidx): Likewise.
89994 * posix/fnmatch_loop.c (FCT): Adjust caller.
89995 * posix/regcomp.c (build_equiv_class): Likewise.
89996 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89997 * posix/regexec.c (check_node_accept_bytes): Likewise.
89998 * string/strcoll_l.c (STRCOLL): Likewise.
89999 * string/strxfrm_l.c (STRXFRM): Likewise.
90000
90001 2011-11-17 Ulrich Drepper <drepper@gmail.com>
90002
90003 * Makefile.in: Remove CVSOPT handling.
90004 * configure.in: Remove use of AC_REVISION.
90005 * iconvdata/Makefile (distribute): No need to filter out CVS.
90006 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90007 handling.
90008
90009 2011-11-16 Andreas Schwab <schwab@redhat.com>
90010
90011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90012 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90013 [USE_AS_STRNCASECMP_L]: Likewise.
90014 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90015 NO_TLS_DIRECT_SEG_REFS.
90016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90017 Fix argument offsets for non-PIC.
90018 [USE_AS_STRNCASECMP_L]: Likewise.
90019 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90020 NO_TLS_DIRECT_SEG_REFS.
90021
90022 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90023
90024 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90025 O_CLOEXEC.
90026 * locale/loadlocale.c (_nl_load_locale): Likewise.
90027
90028 2011-11-15 Andreas Schwab <schwab@redhat.com>
90029
90030 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90031 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90032 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90033 (SYSCALL_GETTIME): Set errno on error.
90034
90035 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90036 count references to noai6ai_cached.
90037
90038 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90039
90040 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90041
90042 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90043 FD_CLOEXEC for /proc/self/maps.
90044
90045 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90046 FD_CLOEXEC for /proc/meminfo.
90047
90048 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90049 gai.conf.
90050
90051 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90052 FD_CLOEXEC for given file.
90053
90054 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90055
90056 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90057 FD_CLOEXEC for /etc/hosts.
90058 (_gethtent): Likewise.
90059
90060 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90061
90062 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90063 cancellation and set FD_CLOEXEC for /etc/netgroup.
90064
90065 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90066 reading /etc/publickey.
90067
90068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90069 allow cancellation when reading /etc/group.
90070
90071 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90072 cancellation.
90073 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90074
90075 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90076 when using data file.
90077
90078 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90079
90080 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90081 (write_nis_obj): Use "c" and "e" in fopen.
90082
90083 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90084
90085 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90086
90087 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90088
90089 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90090
90091 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90092 locale.alias.
90093
90094 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90095
90096 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90097
90098 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90099
90100 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90101 file parsing and set FD_CLOEXEC.
90102
90103 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90104
90105 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90106
90107 2011-11-14 Andreas Schwab <schwab@redhat.com>
90108
90109 * malloc/arena.c (arena_get2): Don't call reused_arena when
90110 _int_new_arena failed.
90111
90112 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90113
90114 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90115 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90117 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90118 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90120 to compile strcasecmp and strncasecmp.
90121 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90122 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90123
90124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90125
90126 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90127
90128 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90129 locale-defines.sym to gen-as-const-headers.
90130 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90131 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90133 to compile strcasecmp and strncasecmp.
90134 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90135 strcasecmp_l and strncasecmp_l.
90136 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90137 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90138 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90139 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90140 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90141 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90142 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90143 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90144 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90145 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90146 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90147
90148 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90149
90150 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90151 result of SYSDEP_GETTIME_CPU to retval.
90152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90153 parameter list to macro. Remove trailing semicolon. Adjust users.
90154
90155 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90156 variable.
90157
90158 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90159 mantissa words.
90160 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90161
90162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90163 from unused variable.
90164
90165 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90166 DWARF definitions.
90167 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90168 for assembling.
90169
90170 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90171 over namespaces.
90172
90173 * sunrpc/rpc_prot.c (rejected): Fix case value.
90174
90175 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90176 unsigned long long int to avoid warnings in shift.
90177
90178 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90179 of use of trans.
90180 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90181 variable tmp.
90182
90183 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90184 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90185 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90186
90187 * nis/nis_table.c (nis_list): Use variable of correct type for
90188 result of __follow_path call.
90189
90190 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90191
90192 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90193 of math functions ceil, trunc, floor, round, and sqrt, when
90194 avaliable on the platform.
90195 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90196 name clash.
90197 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90198 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90199 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90200
90201 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90202
90203 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90204 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90205
90206 2011-11-11 Roland McGrath <roland@hack.frob.com>
90207
90208 * include/unistd.h: Fix __readlink return type.
90209 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90210
90211 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90212
90213 * stdlib/ucontext.h: Undo last change for makecontext.
90214
90215 2011-11-11 Andreas Schwab <schwab@redhat.com>
90216
90217 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90218
90219 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90220 * setjmp/setjmp.h: Mark functions as non-leaf.
90221 * setjmp/bits/setjmp2.h: Likewise.
90222 * stdlib/ucontext.h: Likewise.
90223
90224 2011-11-10 Andreas Schwab <schwab@redhat.com>
90225
90226 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90227 (reused_arena): Don't check arena limit.
90228 (arena_get2): Atomically check arena limit.
90229
90230 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90231
90232 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90233 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90234
90235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90236 instructions.
90237
90238 2011-11-07 Andreas Schwab <schwab@redhat.com>
90239
90240 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90241 handler when locking.
90242
90243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90244 Fix size of allocated buffer.
90245
90246 2011-11-04 Andreas Schwab <schwab@redhat.com>
90247
90248 [BZ #10103]
90249 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90250 declarations for long double functions.
90251 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90252
90253 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90254
90255 2011-11-03 Andreas Schwab <schwab@redhat.com>
90256
90257 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90258 installed.
90259
90260 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90261 is disabled.
90262
90263 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90264
90265 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90266
90267 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90268
90269 * include/alloca.h (stackinfo_alloca_round): Define.
90270 (extend_alloca): Use it.
90271 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90272 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90273 here.
90274
90275 * scripts/check-local-headers.sh: Ignore libaudit.h.
90276
90277 * nscd/Makefile (extra-objs): Make recursively expanded.
90278
90279 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90280
90281 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90283
90284 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90285 * posix/tst-rfc3484-2.c: Likewise.
90286 * posix/tst-rfc3484-3.c: Likewise.
90287
90288 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90289 process_vm_writev.
90290 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90291 process_vm_writev.
90292 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90293 process_vm_writev from libc using GLIBC_2.15 version.
90294
90295 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90296
90297 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90298
90299 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90300 stack usage.
90301
90302 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90303
90304 [BZ #13367]
90305 * nss/getent.c (initgroups_keys): Show error message in case no group
90306 names are given.
90307
90308 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90309 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90310 __bump_nl_timestamp.
90311 * nscd/connections (nscd_init): When host database is served open
90312 netlink socket and request notification about configuration changes.
90313 (main_loop_poll): Track netlink file descriptor and bump timestamp
90314 in case data becomes available.
90315 (main_loop_epoll): Likewise.
90316 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90317 (database_pers_head): Add extra_data fileds.
90318 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90320 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90321 Adjust caller.
90322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90323 in6ai data, call __free_in6ai.
90324 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90325 Add -DHAVE_NETLINK.
90326 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90327 interface information. Reuse previous data if netlink timestamp
90328 is not changed.
90329 (__bump_nl_timestamp): New function.
90330 (__free_in6ai): New function.
90331
90332 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90333
90334 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90335 close_not_cancel_no_status here.
90336 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90337
90338 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90339
90340 [BZ #13276]
90341 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90342 return value.
90343
90344 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90345 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90346 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90347
90348 2011-07-03 Andreas Jaeger <aj@suse.de>
90349
90350 [BZ #10709]
90351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90352 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90353 * math/libm-test.inc (sin_test): Add test case.
90354
90355 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90356
90357 [BZ #13337]
90358 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90359 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90360
90361 * elf/chroot_canon.c (chroot_canon): Cleanups.
90362
90363 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90364
90365 [BZ #13335]
90366 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90367 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90368
90369 * string/test-strchr.c: Make usable for strchrnul testing.
90370 * string/test-strchrnul.c: New file.
90371 * string/Makefile (strop-tests): Add strchrnul.
90372
90373 * po/it.po: Update from translation team.
90374 * po/es.po: Likewise.
90375
90376 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90377
90378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90379 the three constants needed as parameters. Drop the others.
90380 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90381 __m128i_strloadu_tolower.
90382 Create and initialize variable zero and use it in all the places
90383 where _mm_setzero_si128 was used.
90384
90385 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90386 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90387 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90388 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90389 anymore.
90390 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90391 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90392 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90393 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90395 __mpranred, __mptan.
90396 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90397 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90398 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90399 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90400 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90401 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90403 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90404 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90405
90406 2011-10-28 Andreas Schwab <schwab@redhat.com>
90407
90408 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90409 redefine if SHARED.
90410 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90411
90412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90413 wide char related routines to wcsmbs subdir.
90414
90415 2011-10-27 Andreas Schwab <schwab@redhat.com>
90416
90417 [BZ #13344]
90418 * misc/sys/cdefs.h (__THROWNL): Define.
90419 * posix/unistd.h: Use __THREADNL instead of __THREAD
90420 for memory synchronization functions.
90421
90422 2011-10-26 Roland McGrath <roland@hack.frob.com>
90423
90424 [BZ #13349]
90425 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90426 doesn't exist.
90427 * manual/stdio.texi (Obstack Streams): Node removed.
90428
90429 2011-10-26 Andreas Schwab <schwab@redhat.com>
90430
90431 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90433 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90434
90435 * math/math_private.h (math_force_eval): Allow non-addressable
90436 arguments.
90437 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90438
90439 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90440
90441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90442 file is not needed.
90443
90444 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90446 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90447 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90451 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90452 Add AVX variants.
90453 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90454 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90455 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90456 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90458 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90459 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90461 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90462 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90463 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90464 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90466 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90467 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90468 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90469 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90470 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90471 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90472
90473 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90474 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90475
90476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90477 place. Use VEX encoding when compiling for AVX.
90478
90479 2011-10-25 Andreas Schwab <schwab@redhat.com>
90480
90481 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90482 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90483
90484 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90485
90486 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90487
90488 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90489 useless if() expression.
90490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90492 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90494 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90495 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90501 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90502 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90503 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90504 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90506 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90508 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90509
90510 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90511
90512 2011-10-25 Andreas Schwab <schwab@redhat.com>
90513
90514 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90515 condition.
90516 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90517
90518 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90519
90520 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90521 .text section. Avoid duplicate constants.
90522 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90524 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90530 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90531 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90532 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90533 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90534 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90535 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90536 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90537 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90538 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90539 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90542 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90543 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90544 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90545 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90546 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90547 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90548 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90549 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90550 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90551 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90552 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90553 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90554 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90555 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90556 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90557 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90558 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90559 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90560 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90561 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90562 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90563 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90564 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90565 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90566 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90567
90568 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90569
90570 * sysdeps/x86_64/dla.h: Move to ...
90571 * sysdeps/x86_64/fpu/dla.h: ...here.
90572 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90573 situations. Use __builtin_fma only for gcc 4.6 and up.
90574
90575 * config.make.in: Add have-mfma4 entry.
90576 * configure.in: Substitute libc_cv_cc_fma4.
90577 * math/Makefile (dbl-only-routines): Add sincostab.
90578 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90579 Use __sincostab not sincos.
90580 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90581 name is a macro.
90582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90586 using __copysign.
90587 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90588 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90589 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90590 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90591 and __inv.
90592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90593 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90594 __copysign.
90595 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90596 define aliases when function name is a macro.
90597 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90598 sysdeps/ieee754/dbl-64/sincos.tbl.
90599 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90600 fma4-enabled routines.
90601 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90602 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90603 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90604 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90606 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90608 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90610 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90611 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90612 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90613 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90614 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90615 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90616 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90617 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90618 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90619 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90620 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90621 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90622 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90623 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90626 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90628 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90629 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90630 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90631
90632 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90633 rename.
90634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90642
90643 2011-10-24 Andreas Schwab <schwab@redhat.com>
90644
90645 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90646
90647 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90648
90649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90650
90651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90652 prediction.
90653 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90654
90655 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90656 Remove unused variable magic_bits.
90657 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90658
90659 * string/strnlen.c: Define and use STRNLEN macro.
90660 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90661 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90663 * wcsmbs/wcslen.c: Define and use WCSLEN.
90664 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90665 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90666 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90667 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90668 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90669 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90670 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90671
90672 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90673
90674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90675 strnlen-sse2-no-bsf.
90676 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90678 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90679 Add strnlen support.
90680 (USE_AS_STRNLEN): New macro.
90681 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90682 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90683 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90684 * sysdeps/x86_64/wcslen.S: New file.
90685
90686 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90687
90688 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90689 XMM-moves are used for copying on small sizes.
90690
90691 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90692
90693 * wcsmbs/Makefile (strop-tests): Add wcschr.
90694 * wcsmbs/test-wcschr.c: New file.
90695 * string/test-strchr.c: Update.
90696 Add wcschr support.
90697 (WIDE): New macro.
90698
90699 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90700
90701 * wcsmbs/Makefile (strop-tests): Add wcslen.
90702 * wcsmbs/test-wcslen.c: New file.
90703 * string/test-strlen.c: Update.
90704 Add wcslen support.
90705 (WIDE): New macro.
90706
90707 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90708
90709 * po/it.po: Update from translation team.
90710
90711 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90712
90713 * sysdeps/x86_64/wcscmp.S: Update.
90714 Fix wrong comparison semantics.
90715 wcscmp shall use signed comparison not unsigned.
90716 Don't use substraction to avoid overflow bug.
90717 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90718 * wcsmbc/wcscmp.c: Likewise.
90719 * string/test-strcmp.c: Likewise.
90720 Add new tests to check cases with negative values.
90721
90722 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90723
90724 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90725 * sysdeps/x86_64/dla.h: ...here. New file.
90726 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90731 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90735
90736 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90737
90738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90739 __ynl_finite aliases.
90740
90741 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90742
90743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90744
90745 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90746 define DLA_FMA.
90747 [DLA_FMA] (EMULV): Use DLA_FMA.
90748 [DLA_FMA] (MUL12): Use EMULV.
90749 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90750 that are not needed.
90751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90752 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90753 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90758
90759 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90760
90761 * math/s_nan.c: Undef __nan.
90762 * math/s_nanf.c: Undef __nanf.
90763 * math/s_nanl.c: Undef __nanl.
90764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90765 "math_private.h".
90766
90767 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90768
90769 * math/s_catan.c: Add branch predictions.
90770 * math/s_catanf.c: Likewise.
90771 * math/s_catanh.c: Likewise.
90772 * math/s_catanhf.c: Likewise.
90773 * math/s_catanhl.c: Likewise.
90774 * math/s_catanl.c: Likewise.
90775 * math/s_cexp.c: Likewise.
90776 * math/s_cexpf.c: Likewise.
90777 * math/s_cexpl.c: Likewise.
90778 * math/s_clog.c: Likewise.
90779 * math/s_clog10.c: Likewise.
90780 * math/s_clog10f.c: Likewise.
90781 * math/s_clog10l.c: Likewise.
90782 * math/s_clogf.c: Likewise.
90783 * math/s_clogl.c: Likewise.
90784 * math/s_csqrt.c: Likewise.
90785 * math/s_csqrtf.c: Likewise.
90786 * math/s_csqrtl.c: Likewise.
90787 * math/s_ctanf.c: Likewise.
90788 * math/s_ctanh.c: Likewise.
90789 * math/s_ctanhf.c: Likewise.
90790 * math/s_ctanhl.c: Likewise.
90791 * math/s_ctanl.c: Likewise.
90792
90793 * math/math_private.h: Define __nan, __nanf, __nanl.
90794 * math/s_cacosh.c: Include <math_private.h>.
90795 * math/s_cacoshl.c: Likewise.
90796 * math/s_casinh.c: Likewise.
90797 * math/s_casinhf.c: Likewise.
90798 * math/s_casinhl.c: Likewise.
90799 * math/s_ccos.c: Rely entire on ccosh.
90800 * math/s_ccosf.c: Rely entire on ccoshf.
90801 * math/s_ccosl.c: Rely entirely on ccoshl.
90802 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90803 Remove tests for FE_INVALID.
90804 * math/s_ccoshf.c: Likewise.
90805 * math/s_ccoshl.c: Likewise.
90806 * math/s_csin.c: Likewise.
90807 * math/s_csinf.c: Likewise.
90808 * math/s_csinh.c Likewise.
90809 * math/s_csinhf.c: Likewise.
90810 * math/s_csinhl.c: Likewise.
90811 * math/s_csinl.c: Likewise.
90812 * math/s_ctan.c: Likewise.
90813 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90814 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90815 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90816
90817 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90818
90819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90820 compilation problems.
90821
90822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90823 __builtin_expect.
90824
90825 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90826
90827 * sysdeps/i386/configure.in: Test for -mfma4 option.
90828 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90829 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90830 COMMON_CPUID_INDEX_80000001.
90831 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90832 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90833 use it if FMA3 is not supported.
90834 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90835
90836 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90837 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90838
90839 2011-10-20 Andreas Schwab <schwab@redhat.com>
90840
90841 [BZ #12892]
90842 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90843 it would create a cycle with a link time dependency.
90844
90845 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90846
90847 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90848 instruction.
90849 * string/Makefile (strop-tests): Add rawmemchr.
90850 * string/test-rawmemchr.c: New file.
90851
90852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90854 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90855 when compiling str{,n}casecmp and when AVX is available. Hook up
90856 new optimized code in initializers.
90857
90858 2011-10-19 Andreas Schwab <schwab@redhat.com>
90859
90860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90861 __feraiseexcept instead of feraiseexcept.
90862
90863 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90864
90865 * math/math_private.h: Define defaults for libc_fetestexcept and
90866 libc_feupdateenv.
90867 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90868 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90869 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90870 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90871 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90872 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90873 libc_fetestexcept and libc_feupdateenv.
90874
90875 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90876 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90877 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90878 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90879 libc_feholdexcept_setround.
90880
90881 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90882 Add s_nearbyint-c and s_nearbyintf-c.
90883 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90884 nearbyintf inlines.
90885 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90887 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90888 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90889
90890 * math/math_private.h: Define defaults for libc_fegetround,
90891 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90892 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90893 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90895 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90896 standard functions.
90897 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90898 Remove comments and hacks for old compiler versions.
90899 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90900 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90901 libc_feholdexceptl.
90902
90903 2011-10-18 Andreas Schwab <schwab@redhat.com>
90904
90905 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90906 (__feraiseexcept_renamed): Add __NTH.
90907 (feraiseexcept): Add __NTH. Rename local variables to fix
90908 namespace violations.
90909
90910 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90911
90912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90913
90914 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90915
90916 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90917 recently added interfaces.
90918 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90919
90920 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90921 about macro parameter expansion.
90922
90923 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90924 __NO_MATH_INLINES is defined. Cleanups.
90925
90926 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90927 and __floorf is target has SSE4.1.
90928 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90930 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90931 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90932
90933 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90934 name.
90935 (floorf): Likewise.
90936
90937 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90938
90939 2011-10-17 Andreas Schwab <schwab@redhat.com>
90940
90941 * misc/sys/cdefs.h: Fix last change.
90942
90943 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90944 database lookup.
90945
90946 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90947
90948 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90949
90950 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90952 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90953 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90956 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90958 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90959 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90960 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90961 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90962 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90963 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90964 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90965 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90966 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90967 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90968 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90969 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90970 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90971 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90972
90973 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90974 ceil, ceilf, floor, floorf.
90975
90976 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90977 Perform IRELATIVE relocations last.
90978
90979 * elf/do-rel.h: Add another parameter nrelative, replacing the
90980 local variable with the same name. Change name of the function
90981 to end in Rel or Rela (uppercase).
90982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90983 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90984 elf_dynamic_do_##reloc function.
90985
90986 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90987
90988 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90989 is sufficient, at least on modern CPUs.
90990
90991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90992
90993 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90994 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90995
90996 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90997 __expl_finite.
90998 * math/bits/math-finite.h: Add entries for exp.
90999 * math/e_expl.c: Add __*_finite alias.
91000 * sysdeps/i386/fpu/e_exp.S: Likewise.
91001 * sysdeps/i386/fpu/e_expf.S: Likewise.
91002 * sysdeps/i386/fpu/e_expl.c: Likewise.
91003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91007 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91008 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91009 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91010
91011 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91012 is sufficient, at least on modern CPUs.
91013
91014 * ctype/ctype-info.c (__ctype_init): Define.
91015 * include/ctype.h (__ctype_init): Declare.
91016 (__ctype_b_loc): The variable is always initialized.
91017 (__ctype_toupper_loc): Likewise.
91018 (__ctype_tolower_loc): Likewise.
91019 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91020 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91021
91022 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
91023
91024 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91025
91026 * configure.in: Also look in $cxxmachine/include for C++ system
91027 headers.
91028
91029 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91030
91031 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91032 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91033 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91034 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91036 (USE_AS_WMEMCMP): New macro.
91037 Fixing indents.
91038 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91039 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91040 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91041 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91043 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91044 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91045 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91046 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91047 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91049 (USE_AS_WMEMCMP): New macro.
91050 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91051 * sysdeps/string/test-memcmp.c: Update.
91052 Fix simple_wmemcmp.
91053 Add new tests.
91054 * wcsmbs/wmemcmp.c: Update.
91055 (WMEMCMP): New macro.
91056 Fix overflow bug.
91057
91058 2011-10-12 Andreas Jaeger <aj@suse.de>
91059
91060 [BZ #13268]
91061 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91062
91063 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91064
91065 * libio/iofwide.c (do_length): Avoid warning.
91066
91067 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91068
91069 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91070
91071 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91072
91073 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91074 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91075 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91076 * sysdeps/i386/i686/fpu/e_log.S: New file.
91077 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91078 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91079
91080 * ctype/ctype.h: Add support for inlined isXXX functions when
91081 compiling C++ code.
91082
91083 2011-10-14 Andreas Schwab <schwab@redhat.com>
91084
91085 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91086
91087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91088
91089 2011-10-13 Roland McGrath <roland@hack.frob.com>
91090
91091 [BZ #13291]
91092 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91093
91094 2011-10-13 Andreas Schwab <schwab@redhat.com>
91095
91096 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91097 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91098 feraiseexcept.
91099
91100 * sysdeps/x86_64/memrchr.S: Check for zero size.
91101
91102 * string/stratcliff.c: Add memrchr tests.
91103
91104 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91105
91106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91107 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91108 rawmemchr-sse2 rawmemchr-sse2-bsf.
91109 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91110 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91111 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91112 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91113 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91114 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91115 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91116 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91117 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91118 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91119 * string/memrchr.c (MEMRCHR): New macro.
91120
91121 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91122
91123 Add integration with gcc's -ffinite-math-only and optimize wrapper
91124 functions in libm.
91125 * Versions.def: Define GLIBC_2.15 version for libm.
91126 * math/Makefile (headers): Add bits/math-finite.h.
91127 * math/bits/math-finite.h: New file.
91128 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91129 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91130 * math/e_acoshl.c: Add __*_finite alias.
91131 * math/e_acosl.c: Likewise.
91132 * math/e_asinl.c: Likewise.
91133 * math/e_atan2l.c: Likewise.
91134 * math/e_atanhl.c: Likewise.
91135 * math/e_coshl.c: Likewise.
91136 * math/e_exp10.c: Likewise.
91137 * math/e_exp10f.c: Likewise.
91138 * math/e_exp10l.c: Likewise.
91139 * math/e_exp2l.c: Likewise.
91140 * math/e_fmodl.c: Likewise.
91141 * math/e_gammal_r.c: Likewise.
91142 * math/e_hypotl.c: Likewise.
91143 * math/e_j0l.c: Likewise.
91144 * math/e_j1l.c: Likewise.
91145 * math/e_jnl.c: Likewise.
91146 * math/e_lgammal_r.c: Likewise.
91147 * math/e_log10l.c: Likewise.
91148 * math/e_log2l.c: Likewise.
91149 * math/e_logl.c: Likewise.
91150 * math/e_powl.c: Likewise.
91151 * math/e_sinhl.c: Likewise.
91152 * math/e_sqrtl.c: Likewise.
91153 * math/e_scalb.c: Completely rewritten and optimized.
91154 * math/e_scalbf.c: Likewise.
91155 * math/e_scalbl.c: Likewise.
91156 * math/w_acos.c: Likewise.
91157 * math/w_acosf.c: Likewise.
91158 * math/w_acosl.c: Likewise.
91159 * math/w_acosh.c: Likewise.
91160 * math/w_acoshf.c: Likewise.
91161 * math/w_acoshl.c: Likewise.
91162 * math/w_asin.c: Likewise.
91163 * math/w_asinf.c: Likewise.
91164 * math/w_asinl.c: Likewise.
91165 * math/w_atan2.c: Likewise.
91166 * math/w_atan2f.c: Likewise.
91167 * math/w_atan2l.c: Likewise.
91168 * math/w_atanh.c: Likewise.
91169 * math/w_atanhf.c: Likewise.
91170 * math/w_atanhl.c: Likewise.
91171 * math/w_exp10.c: Likewise.
91172 * math/w_exp10f.c: Likewise.
91173 * math/w_exp10l.c: Likewise.
91174 * math/w_fmod.c: Likewise.
91175 * math/w_fmodf.c: Likewise.
91176 * math/w_fmodl.c: Likewise.
91177 * math/w_j0.c: Likewise.
91178 * math/w_j0f.c: Likewise.
91179 * math/w_j0l.c: Likewise.
91180 * math/w_j1.c: Likewise.
91181 * math/w_j1f.c: Likewise.
91182 * math/w_j1l.c: Likewise.
91183 * math/w_jn.c: Likewise.
91184 * math/w_jnf.c: Likewise.
91185 * math/w_log.c: Likewise.
91186 * math/w_logf.c: Likewise.
91187 * math/w_logl.c: Likewise.
91188 * math/w_log10.c: Likewise.
91189 * math/w_log10f.c: Likewise.
91190 * math/w_log10l.c: Likewise.
91191 * math/w_log2.c: Likewise.
91192 * math/w_log2f.c: Likewise.
91193 * math/w_log2l.c: Likewise.
91194 * math/w_pow.c: Likewise.
91195 * math/w_powf.c: Likewise.
91196 * math/w_powl.c: Likewise.
91197 * math/w_remainder.c: Likewise.
91198 * math/w_remainderf.c: Likewise.
91199 * math/w_remainderl.c: Likewise.
91200 * math/w_scalb.c: Likewise.
91201 * math/w_scalbf.c: Likewise.
91202 * math/w_scalbl.c: Likewise.
91203 * math/w_sqrt.c: Likewise.
91204 * math/w_sqrtf.c: Likewise.
91205 * math/w_sqrtl.c: Likewise.
91206 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91207 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91208 used.
91209 * math/math_private.h: Declare __kernel_standard_f.
91210 * math/w_cosh.c: Remove cruft and optimize a bit.
91211 * math/w_coshf.c: Likewise.
91212 * math/w_coshl.c: Likewise.
91213 * math/w_exp2.c: Likewise.
91214 * math/w_exp2f.c: Likewise.
91215 * math/w_exp2l.c: Likewise.
91216 * math/w_hypot.c: Likewise.
91217 * math/w_hypotf.c: Likewise.
91218 * math/w_hypotl.c: Likewise.
91219 * math/w_lgamma.c: Likewise.
91220 * math/w_lgamma_r.c: Likewise.
91221 * math/w_lgammaf.c: Likewise.
91222 * math/w_lgammaf_r.c: Likewise.
91223 * math/w_lgammal.c: Likewise.
91224 * math/w_lgammal_r.c: Likewise.
91225 * math/w_sinh.c: Likewise.
91226 * math/w_sinhf.c: Likewise.
91227 * math/w_sinhl.c: Likewise.
91228 * math/w_tgamma.c: Likewise.
91229 * math/w_tgammaf.c: Likewise.
91230 * math/w_tgammal.c: Likewise.
91231 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91233 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91234 Minor optimizations. Pretty printing. Remove cruft.
91235 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91236 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91237 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91238 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91239 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91240 * sysdeps/i386/fpu/e_asin.S: Likewise.
91241 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91242 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91243 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91244 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91245 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91246 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91247 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91248 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91249 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91250 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91251 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91252 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91253 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91254 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91255 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91256 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91257 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91258 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91259 * sysdeps/i386/fpu/e_log.S: Likewise.
91260 * sysdeps/i386/fpu/e_log10.S: Likewise.
91261 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91263 * sysdeps/i386/fpu/e_log2.S: Likewise.
91264 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91265 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91266 * sysdeps/i386/fpu/e_logf.S: Likewise.
91267 * sysdeps/i386/fpu/e_logl.S: Likewise.
91268 * sysdeps/i386/fpu/e_pow.S: Likewise.
91269 * sysdeps/i386/fpu/e_powf.S: Likewise.
91270 * sysdeps/i386/fpu/e_powl.S: Likewise.
91271 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91272 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91273 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91274 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91275 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91277 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91278 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91279 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91280 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91281 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91283 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91284 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91285 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91286 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91287 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91290 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91291 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91294 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91296 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91297 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91298 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91301 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91302 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91303 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91304 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91305 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91306 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91307 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91308 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91309 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91310 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91311 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91312 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91314 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91315 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91316 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91317 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91318 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91319 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91320 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91321 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91322 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91323 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91324 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91325 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91326 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91327 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91328 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91329 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91330 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91333 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91335 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91336 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91337 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91338 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91339 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91340 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91348 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91349 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91354 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91355 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91357 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91359 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91360 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91361 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91362 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91371 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91372 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91373 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91374 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91375 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91376 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91377 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91378 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91379 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91380 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91381 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91382 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91383 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91385 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91387 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91388 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91390 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91391 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91392 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91393 (__isnanf): Likewise.
91394 (__isinf_ns): Likewise.
91395 (__isinf_nsf): Likewise.
91396 (__finite): Likewise.
91397 (__finitef): Likewise.
91398 (__ieee754_sqrt): Define as macro.
91399 (__ieee754_sqrtf): Define as macro.
91400 (__ieee754_sqrtl): Define as macro.
91401 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91402 inlined copy.
91403 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91404 __FINITE_MATH_ONLY__ consistent.
91405 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91406
91407 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91408
91409 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91410 of rawmemchr.
91411
91412 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91413
91414 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91415
91416 * po/ja.po: Update from translation team.
91417
91418 2011-10-08 Roland McGrath <roland@hack.frob.com>
91419
91420 * locale/programs/locarchive.c (prepare_address_space): New function.
91421 (create_archive, enlarge_archive, open_archive): Use it.
91422
91423 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91424 inside [SHARED], where it is used.
91425
91426 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91427
91428 * nss/getent.c (netgroup_keys): Remove unused variable.
91429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91430
91431 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91432
91433 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91434 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91436 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91437 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91438 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91439 * math/Makefile (libm-calls): Add s_isinf_ns.
91440 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91441 * math/multc3.c: Likewise.
91442 * math/s_casin.c: Likewise.
91443 * math/s_casinf.c: Likewise.
91444 * math/s_casinl.c: Likewise.
91445 * math/s_ccos.c: Likewise.
91446 * math/s_ccosf.c: Likewise.
91447 * math/s_ccosl.c: Likewise.
91448 * math/s_ctan.c: Likewise.
91449 * math/s_ctanf.c: Likewise.
91450 * math/s_ctanh.c: Likewise.
91451 * math/s_ctanhf.c: Likewise.
91452 * math/s_ctanhl.c: Likewise.
91453 * math/s_ctanl.c: Likewise.
91454 * math/w_fmod.c: Likewise.
91455 * math/w_fmodf.c: Likewise.
91456 * math/w_fmodl.c: Likewise.
91457 * math/w_remainder.c: Likewise.
91458 * math/w_remainderf.c: Likewise.
91459 * math/w_remainderl.c: Likewise.
91460 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91461 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91464 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91465 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91466 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91467 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91468
91469 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91470 of the number.
91471 * stdio-common/printf_fphex.c: Likewise.
91472 * stdio-common/printf_size.c: Likewise.
91473
91474 * math/e_exp10.c: Include math_private.h using <...> not "...".
91475 * math/e_exp10f.c: Likewise.
91476 * math/e_exp10l.c: Likewise.
91477 * math/e_exp2l.c: Likewise.
91478 * math/e_j0l.c: Likewise.
91479 * math/e_j1l.c: Likewise.
91480 * math/e_jnl.c: Likewise.
91481 * math/e_lgammal_r.c: Likewise.
91482 * math/e_rem_pio2l.c: Likewise.
91483 * math/e_scalb.c: Likewise.
91484 * math/e_scalbf.c: Likewise.
91485 * math/e_scalbl.c: Likewise.
91486 * math/k_cosl.c: Likewise.
91487 * math/k_sinl.c: Likewise.
91488 * math/k_tanl.c: Likewise.
91489 * math/s_cacoshf.c: Likewise.
91490 * math/s_catan.c: Likewise.
91491 * math/s_catanf.c: Likewise.
91492 * math/s_catanh.c: Likewise.
91493 * math/s_catanhf.c: Likewise.
91494 * math/s_catanhl.c: Likewise.
91495 * math/s_catanl.c: Likewise.
91496 * math/s_ccosh.c: Likewise.
91497 * math/s_ccoshf.c: Likewise.
91498 * math/s_ccoshl.c: Likewise.
91499 * math/s_cexp.c: Likewise.
91500 * math/s_cexpf.c: Likewise.
91501 * math/s_cexpl.c: Likewise.
91502 * math/s_clog.c: Likewise.
91503 * math/s_clog10.c: Likewise.
91504 * math/s_clog10f.c: Likewise.
91505 * math/s_clog10l.c: Likewise.
91506 * math/s_clogf.c: Likewise.
91507 * math/s_clogl.c: Likewise.
91508 * math/s_csin.c: Likewise.
91509 * math/s_csinf.c: Likewise.
91510 * math/s_csinh.c: Likewise.
91511 * math/s_csinhf.c: Likewise.
91512 * math/s_csinhl.c: Likewise.
91513 * math/s_csinl.c: Likewise.
91514 * math/s_csqrt.c: Likewise.
91515 * math/s_csqrtf.c: Likewise.
91516 * math/s_csqrtl.c: Likewise.
91517 * math/s_ctan.c: Likewise.
91518 * math/s_ctanf.c: Likewise.
91519 * math/s_ctanh.c: Likewise.
91520 * math/s_ctanhf.c: Likewise.
91521 * math/s_ctanhl.c: Likewise.
91522 * math/s_ctanl.c: Likewise.
91523 * math/s_ldexp.c: Likewise.
91524 * math/s_ldexpf.c: Likewise.
91525 * math/s_ldexpl.c: Likewise.
91526 * math/s_significand.c: Likewise.
91527 * math/s_significandf.c: Likewise.
91528 * math/s_significandl.c: Likewise.
91529 * math/w_acos.c: Likewise.
91530 * math/w_acosf.c: Likewise.
91531 * math/w_acosh.c: Likewise.
91532 * math/w_acoshf.c: Likewise.
91533 * math/w_acoshl.c: Likewise.
91534 * math/w_acosl.c: Likewise.
91535 * math/w_asin.c: Likewise.
91536 * math/w_asinf.c: Likewise.
91537 * math/w_asinl.c: Likewise.
91538 * math/w_atan2.c: Likewise.
91539 * math/w_atan2f.c: Likewise.
91540 * math/w_atan2l.c: Likewise.
91541 * math/w_atanh.c: Likewise.
91542 * math/w_atanhf.c: Likewise.
91543 * math/w_atanhl.c: Likewise.
91544 * math/w_cosh.c: Likewise.
91545 * math/w_coshf.c: Likewise.
91546 * math/w_coshl.c: Likewise.
91547 * math/w_dremf.c: Likewise.
91548 * math/w_exp10.c: Likewise.
91549 * math/w_exp10f.c: Likewise.
91550 * math/w_exp10l.c: Likewise.
91551 * math/w_exp2.c: Likewise.
91552 * math/w_exp2f.c: Likewise.
91553 * math/w_fmod.c: Likewise.
91554 * math/w_fmodf.c: Likewise.
91555 * math/w_fmodl.c: Likewise.
91556 * math/w_hypot.c: Likewise.
91557 * math/w_hypotf.c: Likewise.
91558 * math/w_hypotl.c: Likewise.
91559 * math/w_j0.c: Likewise.
91560 * math/w_j0f.c: Likewise.
91561 * math/w_j0l.c: Likewise.
91562 * math/w_j1.c: Likewise.
91563 * math/w_j1f.c: Likewise.
91564 * math/w_j1l.c: Likewise.
91565 * math/w_jn.c: Likewise.
91566 * math/w_jnf.c: Likewise.
91567 * math/w_jnl.c: Likewise.
91568 * math/w_lgamma.c: Likewise.
91569 * math/w_lgamma_r.c: Likewise.
91570 * math/w_lgammaf.c: Likewise.
91571 * math/w_lgammaf_r.c: Likewise.
91572 * math/w_lgammal.c: Likewise.
91573 * math/w_lgammal_r.c: Likewise.
91574 * math/w_log.c: Likewise.
91575 * math/w_log10.c: Likewise.
91576 * math/w_log10f.c: Likewise.
91577 * math/w_log10l.c: Likewise.
91578 * math/w_log2.c: Likewise.
91579 * math/w_log2f.c: Likewise.
91580 * math/w_log2l.c: Likewise.
91581 * math/w_logf.c: Likewise.
91582 * math/w_logl.c: Likewise.
91583 * math/w_pow.c: Likewise.
91584 * math/w_powf.c: Likewise.
91585 * math/w_powl.c: Likewise.
91586 * math/w_remainder.c: Likewise.
91587 * math/w_remainderf.c: Likewise.
91588 * math/w_remainderl.c: Likewise.
91589 * math/w_scalb.c: Likewise.
91590 * math/w_scalbf.c: Likewise.
91591 * math/w_scalbl.c: Likewise.
91592 * math/w_sinh.c: Likewise.
91593 * math/w_sinhf.c: Likewise.
91594 * math/w_sinhl.c: Likewise.
91595 * math/w_sqrt.c: Likewise.
91596 * math/w_sqrtf.c: Likewise.
91597 * math/w_sqrtl.c: Likewise.
91598 * math/w_tgamma.c: Likewise.
91599 * math/w_tgammaf.c: Likewise.
91600 * math/w_tgammal.c: Likewise.
91601
91602 * po/ja.po: Update from translation team.
91603
91604 2011-09-29 Andreas Jaeger <aj@suse.de>
91605
91606 [BZ #13179]
91607 * sunrpc/netname.c (netname2host): Fix logic.
91608
91609 [BZ #6779]
91610 [BZ #6783]
91611 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91612 correctly.
91613 * math/w_remainder.c (__remainder): Likewise.
91614 * math/w_remainderf.c (__remainderf): Likewise.
91615 * math/libm-test.inc (remainder_test): Add test cases.
91616
91617 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91618
91619 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91620 sdiv_qrnnd.
91621
91622 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91623
91624 * string/test-memcmp.c: Avoid unncessary #defines.
91625 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91626
91627 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91628
91629 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91630 Use new sse2 version for core i3 - i7 as it's faster
91631 than sse42 version.
91632 (bit_Prefer_PMINUB_for_stringop): New.
91633 * sysdeps/x86_64/rawmemchr.S: Update.
91634 Replace with faster SSE2 version.
91635 * sysdeps/x86_64/memrchr.S: New file.
91636 * sysdeps/x86_64/memchr.S: Update.
91637 Replace with faster SSE2 version.
91638
91639 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91640
91641 * elf/dl-load.c (lose): Add cast to avoid warning.
91642
91643 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91644
91645 * po/ca.po: Update from translation team.
91646
91647 * inet/getnetgrent_r.c: Hook up nscd.
91648 * nscd/Makefile (routines): Add nscd_netgroup.
91649 (nscd-modules): Add netgroupcache.
91650 (CFLAGS-netgroupcache.c): Define.
91651 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91652 (cache_search): Add const to second parameter.
91653 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91654 INNETGR.
91655 (dbs): Add netgrdb entry.
91656 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91657 (verify_persistent_db): Handle netgrdb.
91658 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91659 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91660 GETFDNETGR.
91661 (netgroup_response_header): Define.
91662 (innetgroup_response_header): Define.
91663 (datahead): Add netgroup_response_header and innetgroup_response_header
91664 elements.
91665 * nscd/nscd.conf: Add entries for netgroup cache.
91666 * nscd/nscd.h (dbtype): Add netgrdb.
91667 (_PATH_NSCD_NETGROUP_DB): Define.
91668 (netgroup_iov_disabled): Declare.
91669 (xmalloc, xcalloc, xrealloc): Move declarations here.
91670 (cache_search): Adjust prototype.
91671 Add netgroup-related prototypes.
91672 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91673 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91674 (__nscd_innetgr): Declare.
91675 * nscd/selinux.c (perms): Use access_vector_t as element type and
91676 add netgroup-related initializers.
91677 * nscd/netgroupcache.c: New file.
91678 * nscd/nscd_netgroup.c: New file.
91679 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91680 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91681 For four parameters use innetgr.
91682 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91683 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91684 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91685 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91686
91687 * nscd/connections.c (register_traced_file): Don't register file
91688 for disabled databases.
91689
91690 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91691
91692 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91693
91694 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91695 from tree and freeing node.
91696
91697 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91698
91699 * nss/nsswitch.c (__nss_database_lookup): Handle
91700 nss_parse_service_list out of memory case.
91701
91702 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91703
91704 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91705 out of memory case.
91706
91707 2011-10-04 Andreas Schwab <schwab@redhat.com>
91708
91709 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91710 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91711 pass it down.
91712 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91713 elf_machine_rela, elf_machine_lazy_rel.
91714 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91715 (ELF_DYNAMIC_DO_REL): Likewise.
91716 (ELF_DYNAMIC_DO_RELA): Likewise.
91717 (ELF_DYNAMIC_RELOCATE): Likewise.
91718 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91719 to ELF_DYNAMIC_DO_REL.
91720 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91721 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91722 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91723 elf_machine_rela.
91724 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91725 skip_ifunc, don't call ifunc function if non-zero.
91726 (elf_machine_rela): Likewise.
91727 (elf_machine_lazy_rel): Likewise.
91728 (elf_machine_lazy_rela): Likewise.
91729 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91730 (elf_machine_lazy_rel): Likewise.
91731 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91732 Likewise.
91733 (elf_machine_lazy_rel): Likewise.
91734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91735 Likewise.
91736 (elf_machine_lazy_rel): Likewise.
91737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91738 (elf_machine_lazy_rel): Likewise.
91739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91740 (elf_machine_lazy_rel): Likewise.
91741 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91742 (elf_machine_lazy_rel): Likewise.
91743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91744 (elf_machine_lazy_rel): Likewise.
91745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91746 (elf_machine_lazy_rel): Likewise.
91747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91748 (elf_machine_lazy_rel): Likewise.
91749
91750 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91751
91752 * nss/nss_files/files-init.c (_nss_files_init): Use static
91753 initialization for all the *_traced_file variables.
91754
91755 2011-09-28 Andreas Schwab <schwab@redhat.com>
91756
91757 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91758
91759 2011-09-27 Roland McGrath <roland@hack.frob.com>
91760
91761 [BZ #13226]
91762 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91763
91764 2011-09-27 Andreas Schwab <schwab@redhat.com>
91765
91766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91767 Reread the line before reparsing it.
91768
91769 2011-09-26 Andreas Schwab <schwab@redhat.com>
91770
91771 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91772
91773 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91774 Maxim Kuvyrkov <maxim@codesourcery.com>
91775 Joseph Myers <joseph@codesourcery.com>
91776
91777 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91778 if needed for __stack_chk_guard.
91779
91780 2011-09-19 Roland McGrath <roland@hack.frob.com>
91781
91782 * sysdeps/posix/spawni.c (script_execute): Always define it.
91783 It will be optimized away if unused.
91784 (maybe_script_execute): New function.
91785 (__spawni): Call it.
91786
91787 * Makerules: Don't include tls.make.
91788 (config-tls): Always set to thread.
91789 * tls.make.c: File removed.
91790
91791 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91792
91793 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91794 * config.make.in (CPPFLAGS-config): New substituted variable.
91795
91796 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91797
91798 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91799
91800 [BZ #13192]
91801 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91802 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91803
91804 2011-09-15 Roland McGrath <roland@hack.frob.com>
91805
91806 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91807 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91809 (CALL_FAIL): Likewise.
91810 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91811 (CALL_FAIL): Macro removed.
91812 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91813
91814 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91815
91816 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91817 for __FINITE_MATH_ONLY__ == 1.
91818
91819 2011-09-15 Andreas Schwab <schwab@redhat.com>
91820
91821 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91822 __ieee754_sqrt instead of sqrt.
91823 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91824 __ieee754_sqrtf instead of sqrtf.
91825 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91826 __floorf instead of floorf.
91827 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91828 __floorf, __truncf instead of floorf, truncf.
91829
91830 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91831
91832 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91833
91834 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91835 __extern_always_inline.
91836 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91837 32-bit.
91838
91839 2011-09-14 Andreas Schwab <schwab@redhat.com>
91840
91841 * elf/rtld.c (dl_main): Also relocate in dependency order when
91842 doing symbol dependency testing.
91843
91844 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91845
91846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91847 Always define `refsym'.
91848
91849 2011-09-13 Andreas Schwab <schwab@redhat.com>
91850
91851 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91852 (__FD_ELT): Renamed from __FDELT.
91853 * misc/bits/select2.h (__FD_ELT): Likewise.
91854 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91855 __FD_MASK instead of __FDELT, __FDMASK.
91856 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91857 Likewise.
91858 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91859 Likewise.
91860
91861 * elf/Makefile (gen-ldd): Fix pattern.
91862
91863 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91864 (init_tls): Likewise.
91865
91866 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91867
91868 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91869
91870 2011-09-12 Andreas Schwab <schwab@redhat.com>
91871
91872 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91873 `struct cmsghdr *' instead of `void *'.
91874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91875 Likewise.
91876
91877 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91878
91879 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91880 if non-absolute.
91881 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91882 ldd_rewrite_script.
91883
91884 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91885
91886 * configure.in: Remove --with-tls option.
91887 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91888 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91889 out in case it is missing.
91890 * sysdeps/ia64/elf/configure.in: Likewise.
91891 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91892 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91893 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91894 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91895 * sysdeps/sh/elf/configure.in: Likewise.
91896 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91897 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91898 * sysdeps/x86_64/elf/configure.in: Likewise.
91899 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91900 * sysdeps/mach/hurd/tls.h: Likewise.
91901
91902 [BZ #13067]
91903 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91904
91905 [BZ #13090]
91906 * configure.in: Fix use of AC_INIT.
91907
91908 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91909
91910 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91911
91912 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91913 __set_errno.
91914 * malloc/hooks.c: Likewise.
91915
91916 [BZ #11929]
91917 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91918 variables statically.
91919 (narenas): Initialize.
91920 (list_lock): Initialize.
91921 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91922 initializtion of main_arena and list_lock. Small cleanups.
91923 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91924 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91925 Add initializers to main_arena and mp_.
91926 (malloc_state): Remove pagesize member. Change all users to use
91927 GLRO(dl_pagesize).
91928
91929 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91930 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91931 is always initialized.
91932
91933 * malloc/malloc.c: Removed unused configurations and dead code.
91934 * malloc/arena.c: Likewise.
91935 * malloc/hooks.c: Likewise.
91936 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91937
91938 * include/tls.h: Removed. USE___THREAD must always be defined.
91939 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91940 * elf/dl-libc.c: Likewise.
91941 * elf/dl-tsd.c: Likewise.
91942 * include/errno.h: Likewise.
91943 * include/netdb.h: Likewise.
91944 * include/resolv.h: Likewise.
91945 * inet/herrno-loc.c: Likewise.
91946 * inet/herrno.c: Likewise.
91947 * malloc/arena.c: Likewise.
91948 * malloc/hooks.c: Likewise.
91949 * malloc/malloc.c: Likewise.
91950 * resolv/res-state.c: Likewise.
91951 * resolv/res_libc.c: Likewise.
91952 * sysdeps/i386/dl-machine.h: Likewise.
91953 * sysdeps/ia64/dl-machine.h: Likewise.
91954 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91955 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91956 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91957 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91958 * sysdeps/sh/dl-machine.h: Likewise.
91959 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91960 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91961 * sysdeps/unix/i386/sysdep.S: Likewise.
91962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91963 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91968 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91972 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91973 * sysdeps/x86_64/dl-machine.h: Likewise.
91974 * tls.make.c: Likewise.
91975
91976 * configure.in: Remove --with-__thread option. Make tests for
91977 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91978 tls_model attribute fail if no support is available. Remove
91979 USE_IN_LIBIO.
91980 * Makeconfig: Adjust for dropped configure option. All features are
91981 now mandatory.
91982 * Makerules: Likewise.
91983 * Versions.def: Likewise.
91984 * argp/argp-fmtstream.c: Likewise.
91985 * argp/argp-fmtstream.h: Likewise.
91986 * argp/argp-help.c: Likewise.
91987 * assert/assert.c: Likewise.
91988 * config.h.in: Likewise.
91989 * config.make.in: Likewise.
91990 * configure: Likewise.
91991 * configure.in: Likewise.
91992 * csu/Versions: Likewise.
91993 * csu/init.c: Likewise.
91994 * elf/tst-audit2.c: Likewise.
91995 * elf/tst-tls10.c: Likewise.
91996 * elf/tst-tls10.h: Likewise.
91997 * elf/tst-tls11.c: Likewise.
91998 * elf/tst-tls12.c: Likewise.
91999 * elf/tst-tls14.c: Likewise.
92000 * elf/tst-tlsmod11.c: Likewise.
92001 * elf/tst-tlsmod12.c: Likewise.
92002 * elf/tst-tlsmod13.c: Likewise.
92003 * elf/tst-tlsmod13a.c: Likewise.
92004 * elf/tst-tlsmod14a.c: Likewise.
92005 * elf/tst-tlsmod15b.c: Likewise.
92006 * elf/tst-tlsmod16a.c: Likewise.
92007 * elf/tst-tlsmod16b.c: Likewise.
92008 * elf/tst-tlsmod7.c: Likewise.
92009 * elf/tst-tlsmod8.c: Likewise.
92010 * elf/tst-tlsmod9.c: Likewise.
92011 * gmon/gmon.c: Likewise.
92012 * grp/fgetgrent_r.c: Likewise.
92013 * grp/putgrent.c: Likewise.
92014 * hurd/fopenport.c: Likewise.
92015 * include/libc-symbols.h: Likewise.
92016 * include/tls.h: Likewise.
92017 * intl/gettextP.h: Likewise.
92018 * intl/loadinfo.h: Likewise.
92019 * locale/global-locale.c: Likewise.
92020 * locale/localeinfo.h: Likewise.
92021 * mach/devstream.c: Likewise.
92022 * malloc/arena.c: Likewise.
92023 * malloc/set-freeres.c: Likewise.
92024 * misc/err.c: Likewise.
92025 * misc/getttyent.c: Likewise.
92026 * misc/mntent_r.c: Likewise.
92027 * posix/getopt.c: Likewise.
92028 * posix/wordexp.c: Likewise.
92029 * pwd/fgetpwent_r.c: Likewise.
92030 * resolv/Versions: Likewise.
92031 * resolv/res_hconf.c: Likewise.
92032 * shadow/fgetspent_r.c: Likewise.
92033 * shadow/putspent.c: Likewise.
92034 * stdio-common/printf_fphex.c: Likewise.
92035 * stdio-common/tmpfile.c: Likewise.
92036 * stdlib/abort.c: Likewise.
92037 * stdlib/fmtmsg.c: Likewise.
92038 * sunrpc/auth_unix.c: Likewise.
92039 * sunrpc/clnt_perr.c: Likewise.
92040 * sunrpc/clnt_tcp.c: Likewise.
92041 * sunrpc/clnt_udp.c: Likewise.
92042 * sunrpc/clnt_unix.c: Likewise.
92043 * sunrpc/openchild.c: Likewise.
92044 * sunrpc/svc_simple.c: Likewise.
92045 * sunrpc/svc_tcp.c: Likewise.
92046 * sunrpc/svc_udp.c: Likewise.
92047 * sunrpc/svc_unix.c: Likewise.
92048 * sunrpc/xdr.c: Likewise.
92049 * sunrpc/xdr_array.c: Likewise.
92050 * sunrpc/xdr_rec.c: Likewise.
92051 * sunrpc/xdr_ref.c: Likewise.
92052 * sunrpc/xdr_stdio.c: Likewise.
92053
92054 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92055
92056 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92057
92058 2011-07-03 Andreas Jaeger <aj@suse.de>
92059
92060 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92061 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92062 regenerate with gen-libm-tests.pl.
92063
92064 2010-05-12 Petr Baudis <pasky@suse.cz>
92065
92066 [BZ #11589]
92067 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92068 around j0() zero points by switching to j1().
92069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92070 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92073
92074 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92075
92076 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92077 instead of 0.
92078 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92079 instead of 0.
92080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92081 Patch in part by Pavel Roskin <proski@gnu.org>.
92082
92083 [BZ #13138]
92084 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92085 realloc.
92086 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92087 Free memory block if necessary.
92088
92089 [BZ #12847]
92090 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92091 be NULL. Don't lock in this case.
92092
92093 2011-09-09 Roland McGrath <roland@hack.frob.com>
92094
92095 * elf/elf.h (ELFOSABI_GNU): New macro.
92096 (ELFOSABI_LINUX): Define to that.
92097
92098 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92099
92100 * string/strncat.c (strncat): Undef the symbol in case it has been
92101 defined in bits/string.h.
92102
92103 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92104
92105 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92106
92107 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92108 link map.
92109
92110 2011-08-17 Andreas Jaeger <aj@suse.de>
92111
92112 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92113
92114 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92115 Ian Lance Taylor <iant@google.com>
92116
92117 * math/libm-test.inc (lround_test): New testcase.
92118 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92119
92120 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92121
92122 * Makefile: Remove support for automatic cvs check-ins.
92123 * Makerules: Likewise.
92124 * config.make.in: Likewise.
92125 * configure.in: Likewise.
92126 * intl/Makefile: Likewise.
92127 * locale/Makefile: Likewise.
92128 * po/Makefile: Likewise.
92129 * posix/Makefile: Likewise.
92130 * sysdeps/gnu/Makefile: Likewise.
92131 * sysdeps/mach/hurd/Makefile: Likewise.
92132 * sysdeps/sparc/sparc32/Makefile: Likewise.
92133
92134 [BZ #13118]
92135 * posix/Makefile (bug-regex32-ENV): Define.
92136 Patch by John Stanley <jpsinthemix@verizon.net>.
92137
92138 * misc/Makefile (headers): Add bits/select2.h.
92139 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92140 * misc/bits/select2.h: New file.
92141 * include/bits/select2.h: New file.
92142 * debug/Makefile (routines): Add fdelt_chk.
92143 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92144 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92145 FD_ISSET.
92146 * debug/fdelt_chk.c: New file.
92147
92148 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92149 * wcsmbs/test-wmemcmp.c: Likewise.
92150 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92151 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92152
92153 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92154
92155 * string/Makefile (strop-tests): Add memcmp.
92156 * string/test-wmemcmp.c: New file.
92157 * string/test-memcmp.c: Add wmemcmp support.
92158
92159 2011-09-08 Roland McGrath <roland@hack.frob.com>
92160
92161 [BZ #13153]
92162 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92163 2011-07-19 change.
92164
92165 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92166 garbage value in a __mach_port_mod_refs call in the cases of the
92167 task-self and thread-self ports.
92168
92169 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92170
92171 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92172
92173 2011-09-08 Andreas Schwab <schwab@redhat.com>
92174
92175 * elf/dl-load.c (lose): Check for non-null L.
92176
92177 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92178
92179 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92180
92181 * elf/dl-libc.c (dlerror_run): Pass back error code from
92182 dl_catch_error.
92183
92184 [BZ #13123]
92185 * elf/dl-load.c (lose): Free l_origin if it is valid.
92186
92187 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92188 names.
92189 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92190 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92194 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92195
92196 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92197
92198 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92199 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92200 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92201 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92202 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92203 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92204 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92205 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92206 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92207 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92208
92209 2011-08-15 Alan Modra <amodra@gmail.com>
92210
92211 [BZ #13092]
92212 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92213 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92214 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92215 ppc_mcount to static-only-routines.
92216 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92217 __mcount_internal.
92218 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92219 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92220
92221 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92222
92223 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92224 for finite and infinity parameters.
92225
92226 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92227
92228 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92229 and add nop instructions for throughput optimization.
92230 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92231
92232 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92233
92234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92235 aligned copy for power7 with vector-scalar instructions.
92236 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92237
92238 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92239
92240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92241 AVX check.
92242
92243 2011-09-07 Andreas Schwab <schwab@redhat.com>
92244
92245 [BZ #13144]
92246 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92247 last change.
92248
92249 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92250
92251 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92252 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92253 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92254 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92255 clock_gettime.
92256
92257 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92258
92259 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92260 Forgot to demangle the pointer.
92261
92262 * sysdeps/i386/sysdep.h: Define atom_text_section.
92263 * sysdeps/x86_64/sysdep.h: Likewise.
92264 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92265 section with atom_text_section.
92266 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92268 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92270 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92271
92272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92274 already be defined. Change to take two parameters and don't assign
92275 result to variable. Adjust all users.
92276 Define INTERNAL_GETTIME if not already defined.
92277 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92278 call.
92279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92280 HAVE_CLOCK_GETTIME_VSYSCALL.
92281 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92282
92283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92284 gettimeofday vsyscall, just use time.
92285
92286 2011-09-06 Andreas Schwab <schwab@redhat.com>
92287
92288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92289 <errno.h>.
92290
92291 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92292
92293 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92294 syscall on x86-64.
92295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92296 syscall.
92297 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92298 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92299 syscall if possible.
92300
92301 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92302
92303 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92304 e_ident. Don't pass to find_mapsXX.
92305 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92306
92307 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92308
92309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92310 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92311 * sysdeps/x86_64/multiarch/strchr.S: Update.
92312 Check bit_slow_BSF bit.
92313 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92315 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92316
92317 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92318
92319 [BZ #13134]
92320 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92321 before glibc 2.15.
92322 (tryshell): Define.
92323 (__spawni): Change last parameter to be flag. Test
92324 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92325 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92326 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92327 * posix/spawni.c: Likewise.
92328 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92329 * posix/spawnp.c: Likewise. Change normal version to use
92330 SPAWN_XFLAGS_USE_PATH.
92331 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92332 SPAWN_XFLAGS_TRY_SHELL.
92333
92334 [BZ #13150]
92335 * posix/glob.h: Remove gcc 1.x support.
92336
92337 [BZ #13068]
92338 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92339
92340 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92341
92342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92343 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92344 strrchr-sse2-bsf
92345 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92346 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92347 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92348 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92349 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92350 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92351
92352 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92353
92354 * sysdeps/x86_64/wcscmp.S: New file.
92355
92356 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92357 wcscmp-c wcscmp-sse2
92358 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92359 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92361 * wcsmbs/wcscmp.c: Allow renaming.
92362
92363 2011-09-05 David S. Miller <davem@davemloft.net>
92364
92365 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92366 stack slot, rather than the struct return pointer slot.
92367 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92368 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92370 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92371
92372 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92373
92374 * po/ja.po: Update from translation team.
92375
92376 [BZ #13144]
92377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92378 kernel in 64-bit binaries.
92379
92380 2011-09-01 David S. Miller <davem@davemloft.net>
92381
92382 * elf/elf.h (HWCAP_SPARC_*): Move to..
92383 * sysdeps/sparc/sysdep.h: this new file and add new values.
92384 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92385 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92386 _DL_HWCAP_COUNT to 24.
92387 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92388 entries.
92389 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92390 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92391 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92393 instead of magic constants.
92394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92395
92396 2011-08-31 David S. Miller <davem@davemloft.net>
92397
92398 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92400 Reimplement to do errno handling inline.
92401 (SYSCALL_ERROR_HANDLER): New macro.
92402 (__SYSCALL_STRING): Do not do errno handling in asm.
92403 (__CLONE_SYSCALL_STRING): Delete.
92404 (__INTERNAL_SYSCALL_STRING): Delete.
92405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92406 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92407 (PSEUDO): Reimplement to do errno handling inline.
92408 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92409 (SYSCALL_ERROR_HANDLER): New macro.
92410 (__SYSCALL_STRING): Do not do errno handling in asm.
92411 (__CLONE_SYSCALL_STRING): Delete.
92412 (__INTERNAL_SYSCALL_STRING): Delete.
92413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92414 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92415 i386.
92416 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92417 (inline_syscall*): Add 'err' argument.
92418 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92419 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92420 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92421 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92422
92423 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92424 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92425
92426 2011-08-30 Andreas Schwab <schwab@redhat.com>
92427
92428 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92429
92430 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92431
92432 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92433 directive.
92434
92435 2011-08-24 David S. Miller <davem@davemloft.net>
92436
92437 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92438
92439 2011-08-24 Andreas Schwab <schwab@redhat.com>
92440
92441 * elf/Makefile: Add rules to build and run unload8 test.
92442 * elf/unload8.c: New file.
92443 * elf/unload8mod1.c: New file.
92444 * elf/unload8mod1x.c: New file.
92445 * elf/unload8mod2.c: New file.
92446 * elf/unload8mod3.c: New file.
92447
92448 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92449 it wasn't used.
92450
92451 2011-08-23 David S. Miller <davem@davemloft.net>
92452
92453 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92454 subtract stack bias.
92455 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92456 %sp not %fp in calculations.
92457 (_JMPBUF_UNWINDS_ADJ): Likewise.
92458
92459 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92460 (aio_suspend): Call it to force an exception region around the
92461 AIO_MISC_WAIT() invocation.
92462
92463 2011-08-23 Andreas Schwab <schwab@redhat.com>
92464
92465 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92466 backslash.
92467
92468 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92469
92470 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92471 protection macro.
92472 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92473 and <dl-machine.h>.
92474 (Elf64_FuncDesc): Remove.
92475
92476 2011-08-22 David S. Miller <davem@davemloft.net>
92477
92478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92479 sigaltstack check, add missing cfi directives.
92480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92481 missing cfi directives, and sigaltstack handling.
92482
92483 2011-08-16 Andreas Schwab <schwab@redhat.com>
92484
92485 [BZ #11724]
92486 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92487 object is seen twice.
92488 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92489
92490 * elf/Makefile (distribute): Add tst-initorder2.c.
92491 (tests): Add tst-initorder2.
92492 (modules-names): Add tst-initorder2a tst-initorder2b
92493 tst-initorder2c tst-initorder2d. Add rules to build them.
92494 ($(objpfx)tst-initorder2.out): New rule.
92495 * elf/tst-initorder2.c: New file.
92496 * elf/tst-initorder2.exp: New file.
92497
92498 2011-08-22 Andreas Schwab <schwab@redhat.com>
92499
92500 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92501
92502 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92503 dependencies back to end of function.
92504
92505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92506 $(elfobjdir)/ld.so.
92507
92508 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92509
92510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92511 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92513 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92514 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92515 of __vdso_gettimeofday.
92516 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92517 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92518 attribute_hidden.
92519 (_libc_vdso_platform_setup): Remove initialization of
92520 __vdso_gettimeofday and __vdso_time.
92521
92522 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92523
92524 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92525 and fgetc_unlocked.
92526 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92527 getc_unlocked.
92528
92529 * elf/dl-open.c (add_to_global): Report additions to the global scope
92530 for LD_DEBUG=scopes.
92531 (dl_open_worker): Also print scope of newly loaded dependencies.
92532 (_dl_show_scope): Indicate if there is no scope.
92533
92534 [BZ #13114]
92535 * stdio-common/Makefile (tests): Add bug24.
92536 * stdio-common/bug24.c: New file.
92537
92538 2011-08-19 Andreas Jaeger <aj@suse.de>
92539
92540 [BZ #13114]
92541 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92542 non-existant file when using close-on-exec mode.
92543
92544 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92545
92546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92547 the very first instruction.
92548
92549 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92550 the CFI state in the end.
92551 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92552 inclusion of dl-trampoline.h.
92553 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92554
92555 2011-08-19 Andreas Schwab <schwab@redhat.com>
92556
92557 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92558 expectations for long double.
92559
92560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92561 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92562
92563 2011-08-14 David S. Miller <davem@davemloft.net>
92564
92565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92566 artificual limit depends upon the system page size.
92567
92568 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92569
92570 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92571 * resolv/Makefile: Define CFLAGS-libresolv.
92572
92573 2011-08-17 Andreas Schwab <schwab@redhat.com>
92574
92575 * nss/makedb.c (compute_tables): Make variables used in nested
92576 function static.
92577
92578 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92579
92580 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92581 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92582 if buffer was too small.
92583
92584 * elf/pldd.c (main): Attach to all threads in the process.
92585 Rewrite /proc handling to use *at functions.
92586
92587 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92588
92589 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92590 specifies first scope to show.
92591 (dl_open_worker): Update callers. Move printing scope of new
92592 object to before the relocation.
92593 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92594 * sysdeps/generic/ldsodefs.h: Update declaration.
92595
92596 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92597 string for the scope number.
92598
92599 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92600
92601 * nscd/servicescache.c (cache_addserv): Make sure written is always
92602 initialized.
92603
92604 2011-08-14 Roland McGrath <roland@hack.frob.com>
92605
92606 * sysdeps/i386/i486/bits/atomic.h
92607 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92608 statement expression, so as to suppress "set but not used" warning.
92609 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92610
92611 * string/strncat.c (STRNCAT): Use prototype definition.
92612
92613 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92614 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92615 -Iprograms here.
92616 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92617 (localedef-modules): Add localedef.
92618 (locale-modules): Add locale.
92619
92620 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92621 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92622 to avoid a warning.
92623
92624 2011-08-14 David S. Miller <davem@davemloft.net>
92625
92626 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92627 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92628
92629 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92630
92631 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92632 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92633 * elf/rtld.c (dl_main): Set l_name of vDSO.
92634 Call _dl_show_scope when DL_DEBUG_SCOPES.
92635 (process_dl_debug): Recognize scopes flag and also set it for all.
92636 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92637 Declare _dl_show_scope.
92638
92639 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92640 (do_dlopen): Pass caller_dlopen to dl_open.
92641 (__libc_dlopen_mode): Initialize caller_dlopen.
92642
92643 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92644 of libc. Make tolower call locale-independent. Optimize a bit by
92645 using isdigit instead of isalnum.
92646 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92647
92648 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92649
92650 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92651 was a dependency or dynamically loaded.
92652
92653 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92654
92655 * intl/l10nflist.c: Allow architecture-specific pop function.
92656 * sysdeps/x86_64/l10nflist.c: New file.
92657
92658 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92659 classification.
92660
92661 2011-08-10 Andreas Schwab <schwab@redhat.com>
92662
92663 * include/dirent.h: Add libc_hidden_proto for scandirat and
92664 scandirat64. Don't declare __scandirat64.
92665 * dirent/scandirat.c: Add libc_hidden_def.
92666 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92667 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92668
92669 2011-08-10 David S. Miller <davem@davemloft.net>
92670
92671 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92672 enum.
92673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92675 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92676
92677 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92678
92679 * Versions.def [libc]: Add GLIBC_2.15.
92680 * dirent/Makefile (routines): Add scandirat and scandirat64.
92681 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92682 GLIBC_2.15.
92683 * dirent/dirent.h: Declare scandirat and scandirat64.
92684 * dirent/scandirat.c: New file.
92685 * dirent/scandirat64.c: New file.
92686 * sysdeps/wordsize-64/scandirat.c: New file.
92687 * sysdeps/wordsize-64/scandirat64.c: New file.
92688 * dirent/opendir.c: Define opendirat.
92689 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92690 using scandirat.
92691 * dirent/scandir64.c: Adjust for scandir.c change.
92692 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92693 __scandirat64, and __scandir_cancel_handler.
92694 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92695 additional parameter and use openat instead of open (outside of ld.so).
92696 Add new __opendir as wrapper around __opendirat.
92697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92698 here without requiring old scandirat implementation.
92699
92700 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92701
92702 * dirent/scandir.c (cancel_handler): Renamed to
92703 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92704 defined. Adjust users.
92705 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92706 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92707
92708 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92709
92710 * string/test-string.h (IMPL): Use __STRING to expand name and then
92711 stringify it.
92712
92713 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92714 of cleanups.
92715
92716 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92717
92718 * string/Makefile: Update.
92719 (strop-tests): Append strncat.
92720 * string/test-wcscmp.c: New file.
92721 New comprehensive test for wcscmp.
92722 * string/test-strcmp.c: Update.
92723 (WIDE): New define.
92724
92725 2011-07-22 Andreas Schwab <schwab@redhat.com>
92726
92727 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92728 line.
92729
92730 2011-07-26 Andreas Schwab <schwab@redhat.com>
92731
92732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92733 encoding to ACE if AI_IDN.
92734
92735 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92736
92737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92738 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92739
92740 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92741
92742 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92743 Fix overflow bug in strncat.
92744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92745
92746 * string/test-strncat.c: Update.
92747 Add new tests for checking overflow bugs.
92748
92749 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92750
92751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92752 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92753 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92754 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92756 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92757 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92758 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92759 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92760
92761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92762 (USE_AS_STRCAT): Define.
92763 Add strcat and strncat support.
92764 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92765
92766 2011-07-25 Andreas Schwab <schwab@redhat.com>
92767
92768 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92769 __n bigger than INT_MAX+1.
92770 (__strncmp_g): Likewise.
92771
92772 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92773
92774 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92775 * libio/stido.h: Likewise.
92776
92777 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92778 (AF_NFC): Define.
92779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92780 (AF_NFC): Define.
92781
92782 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92785 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92787
92788 [BZ #13021]
92789 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92790 installed.
92791
92792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92793 typo.
92794 (_dl_x86_64_save_sse): Likewise.
92795
92796 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92797
92798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92799 OSXSAVE.
92800 (_dl_x86_64_save_sse): Likewise.
92801
92802 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92803
92804 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92805
92806 2011-07-21 Andreas Schwab <schwab@redhat.com>
92807
92808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92809 change.
92810 (_dl_x86_64_save_sse): Use correct AVX check.
92811
92812 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92813
92814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92815 bug in strncpy/strncat.
92816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92817
92818 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92819
92820 * string/tester.c (test_strcat): Add tests for different alignments
92821 of source and destination.
92822 (test_strncat): Likewise.
92823
92824 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92825
92826 [BZ #12852]
92827 * posix/glob.c (glob): Check passed in values before using them in
92828 expressions to avoid some overflows.
92829 (glob_in_dir): Likewise.
92830
92831 [BZ #13007]
92832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92833 check for AVX enablement so that we don't crash with old kernels and
92834 new hardware.
92835 * elf/tst-audit4.c: Add same checks here.
92836 * elf/tst-audit6.c: Likewise.
92837
92838 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92839
92840 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92841
92842 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92843
92844 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92845
92846 * po/cs.po: Update from translation team.
92847 * po/bg.po: Likewise.
92848
92849 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92850
92851 * misc/sys/cdefs.h: Add support for const attribute.
92852 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92853 to gnu_dev_{major,minor,makedev} functions.
92854
92855 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92856
92857 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92858
92859 2011-07-20 Andreas Schwab <schwab@redhat.com>
92860
92861 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92862 strlen results.
92863
92864 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92865
92866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92867 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92868 register in order to avoid conflicts with the soft frame pointer
92869 being held in r11 when necessary.
92870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92871 (INTERNAL_VSYSCALL_NCS): Likewise.
92872
92873 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92874
92875 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92876 * elf/dl-fini.c (_dl_fini): Adjust caller.
92877 * elf/dl-close.c (_dl_close_worker): Likewise.
92878 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92879
92880 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92881
92882 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92883 "aux_cache->nlibs < 0".
92884
92885 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92886 in the reload-count case.
92887
92888 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92889
92890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92891 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92892 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92893 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92894 * sysdeps/x86_64/multiarch/strcat.S: New file.
92895 * sysdeps/x86_64/multiarch/strncat.S: New file.
92896 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92897 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92898 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92899 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92901 (USE_AS_STRCAT): Define.
92902 Add strcat and strncat support.
92903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92905 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92906 * string/strncat.c: Update.
92907 (USE_AS_STRNCAT): Define.
92908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92909 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92910 and i7.
92911 * sysdeps/x86_64/multiarch/init-arch.h
92912 (bit_Prefer_PMINUB_for_stringop): New.
92913 (index_Prefer_PMINUB_for_stringop): Likewise.
92914 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92915 bit_Prefer_PMINUB_for_stringop.
92916
92917 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92918
92919 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92920 buffer64.
92921 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92922 of casting of buffer.
92923 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92924 buffer32 and buffer64.
92925 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92926 writes instead of casting of buffer.
92927 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92928 buffer32.
92929 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92930 casting of buffer.
92931
92932 2011-07-19 Andreas Schwab <schwab@redhat.com>
92933
92934 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92935
92936 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92937
92938 * nscd/nscd.c (termination_handler): Don't do anything for a database
92939 if it has not yet been initialized.
92940
92941 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92942
92943 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92944
92945 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92946
92947 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92948
92949 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92950
92951 * po/nl.po: Update from translation team.
92952 * po/sv.po: Likewise.
92953
92954 2011-07-16 Roland McGrath <roland@hack.frob.com>
92955
92956 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92957 now disallowed by GCC.
92958
92959 * configure.in (use-default-link): Default to yes if a test -shared
92960 link meets our qualifications.
92961 * configure: Regenerated.
92962
92963 * config.make.in (output-format): New variable.
92964 * configure.in: Check for ld --print-output-format support.
92965 * configure: Regenerated.
92966 * Makerules ($(common-objpfx)format.lds)
92967 [$(output-format) != unknown]: Just use $(output-format),
92968 instead of the linker-script munging.
92969
92970 2011-07-14 Roland McGrath <roland@hack.frob.com>
92971
92972 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92973 of $(common-objpfx)shlib.lds.
92974 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92975
92976 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92977 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92978
92979 * configure.in (-z relro check): Adjust test code to add a large
92980 writable data section after it.
92981 * configure: Regenerated.
92982
92983 2011-07-11 Roland McGrath <roland@hack.frob.com>
92984
92985 * configure.in (-z relro check): Fix test code to make the variable
92986 truly const.
92987 * configure: Regenerated.
92988
92989 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92990
92991 * nscd/nscd.h (struct traced_file): Define.
92992 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92993 elements. Add traced_files.
92994 (inotify_fd): Declare.
92995 (register_traced_file): Declare.
92996 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92997 (inotify_fd): Export.
92998 (resolv_conf_descr): Remove.
92999 (nscd_init): Move inotify descriptor creation to main.
93000 Don't register files for notification here.
93001 (register_traced_file): New function.
93002 (invalidate_cache): Don't use reset_res to determine whether to call
93003 res_init, go through the list of registered files.
93004 (main_loop_poll): The inotify descriptors are now stored in the
93005 structures for the traced files.
93006 (main_loop_epoll): Likewise.
93007 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93008 to __nss_disable_nscd.
93009 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93010 for a database anymore. Check the records for all the registered
93011 files instead.
93012 * nss/Makefile (libnss_files-routines): Add files-init.
93013 (libnss_db-routines): Add db-init.
93014 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93015 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93016 * nss/nss_db/db-init.c: New file.
93017 * nss/nss_files/files-init.c: New file.
93018 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93019 __nss_lookup_function.
93020 (__nss_lookup_function): Call nss_load_library.
93021 (nss_load_all_libraries): New function.
93022 (__nss_disable_nscd): Take parameter with callback function for files
93023 to register. Set is_nscd. Load all the DSOs for the NSS modules
93024 used for the cached services.
93025 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93026 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93027 options for features to all the files in nscd.
93028
93029 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93030
93031 2011-07-10 Roland McGrath <roland@hack.frob.com>
93032
93033 * csu/elf-init.c (__libc_csu_init): Comment typo.
93034
93035 2011-07-09 Ulrich Drepper <drepper@gmail.com>
93036
93037 * po/pl.po: Update from translation team.
93038 * po/ja.po: Likewise.
93039 * po/ru.po: Likewise.
93040 * po/ko.po: Likewise.
93041 * po/fr.po: Likewise.
93042
93043 2011-07-09 Roland McGrath <roland@hack.frob.com>
93044
93045 * configure.in (.ctors/.dtors header and trailer check):
93046 Use an empirical test on a built program.
93047 * configure: Regenerated.
93048
93049 * configure.in (-z relro check): Use an empirical test on a built DSO.
93050 Detect, but do not require, on ia64.
93051 * configure: Regenerated.
93052
93053 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93054 Update tests that use readelf to use $READELF instead.
93055 * configure: Regenerated.
93056
93057 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93058
93059 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93060 if the result is not used.
93061
93062 2011-07-05 Andreas Jaeger <aj@suse.de>
93063
93064 [BZ #9696]
93065 * stdlib/tst-strtod.c: Add testcase.
93066
93067 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93068
93069 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93070 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93071 The latter has a higher limit. Take additional parameter to pass to
93072 the new function.
93073 (__pathconf): Pass file to __statfs_link_max.
93074 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93075 __statfs_link_max.
93076 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93077 __statfs_link_max.
93078
93079 [BZ #12868]
93080 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93082 Handle Lustre.
93083 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93084 (__statfs_filesize_max): Likewise.
93085 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93086
93087 2011-07-05 Andreas Jaeger <aj@suse.de>
93088
93089 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93090
93091 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93092
93093 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93094 `status' variable.
93095 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93096 Likewise.
93097
93098 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93099
93100 * Makefile (strop-tests): Add strncat.
93101 * string/test-strncat.c: New file.
93102
93103 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93104
93105 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93106
93107 2011-06-21 Andreas Jaeger <aj@suse.de>
93108
93109 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93110 Copy rule from iconvdata/Makefile.
93111
93112 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93113
93114 [BZ #12922]
93115 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93116 but no long options are defined, just return 'W'.
93117
93118 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93119
93120 [BZ #9696]
93121 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93122
93123 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93124
93125 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93126 netgroups to read.
93127 (innetgr): Likewise.
93128
93129 2011-07-05 Roland McGrath <roland@hack.frob.com>
93130
93131 * config.make.in (install_root): Default to $(DESTDIR).
93132
93133 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93134
93135 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93136
93137 2011-07-02 Roland McGrath <roland@hack.frob.com>
93138
93139 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93140
93141 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93142 containing directory rather than embedding absolute directory names.
93143
93144 * scripts/check-local-headers.sh: Rewritten using awk.
93145 Match by word, not by line. Print error messages for matches.
93146 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93147
93148 * Makerules [shlib-lds-flags empty]:
93149 ($(common-objpfx)libc_pic.opts): New target.
93150 ($(common-objpfx)libc_pic.os.clean): New target.
93151 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93152
93153 * config.make.in (OBJCOPY): New variable.
93154 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93155 * configure: Regenerated.
93156
93157 * config.make.in (use-default-link): New variable.
93158 * configure.in (use_default_link): Grok --with-default-link to set it.
93159 * configure: Regenerated.
93160 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93161 (shlib-lds, shlib-lds-flags): Define to empty.
93162
93163 * Makerules (shlib-lds): New variable.
93164 (shlib-lds-flags): New variable.
93165 (build-shlib, build-moduile, build-module-asneeded): Use it.
93166 ($(common-objpfx)libc.so): Use $(shlib-lds).
93167 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93168 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93169
93170 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93171 DT_FLAGS/DT_FLAGS_1 with zero flags.
93172
93173 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93174 linker script munging.
93175
93176 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93177
93178 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93179 as 128-bit value.
93180 * crypt/sha512.c (sha512_process_block): Perform total addition using
93181 128-bit if possible.
93182 (__sha512_finish_ctx): Likewise.
93183 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93184 as 64-bit value.
93185 * crypt/sha256.c (SWAP64): Define.
93186 (sha256_process_block): Perform total addition using 64-bit if
93187 possible.
93188 (__sha256_finish_ctx): Likewise.
93189
93190 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93191
93192 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93194 * nscd/hstcache.c (cache_addhst): Likewise.
93195 * nscd/grpcache.c (cache_addgr): Likewise.
93196 * nscd/aicache.c (addhstaiX): Likewise.
93197 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93198
93199 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93200
93201 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93203 * nscd/hstcache.c (cache_addhst): Likewise.
93204 * nscd/grpcache.c (cache_addgr): Likewise.
93205 * nscd/aicache.c (addhstaiX): Likewise.
93206
93207 2011-07-01 Andreas Schwab <schwab@redhat.com>
93208
93209 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93210 domain only when needed.
93211
93212 2011-06-30 Andreas Schwab <schwab@redhat.com>
93213
93214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93215 is always restored.
93216
93217 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93218
93219 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93220 are re-adding the entry.
93221 * nscd/servicescache.c (cache_addserv): Likewise.
93222
93223 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93224
93225 * sysdeps/generic/dl-irel.h: fix protection against multiple
93226 inclusions.
93227 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93228
93229 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93230
93231 [BZ #12935]
93232 * malloc/memusage.sh: Fix quoting in message.
93233 * debug/xtrace.sh: Likewise.
93234
93235 * configure.in: Remove support for --experimental-malloc option, make
93236 it the default.
93237 * config.make.in: Likewise.
93238 * malloc/Makefile: Likewise.
93239
93240 2011-06-27 Andreas Schwab <schwab@redhat.com>
93241
93242 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93243 two-byte characters.
93244
93245 2011-06-27 Roland McGrath <roland@hack.frob.com>
93246
93247 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93248 AC_CACHE_CHECK invocation.
93249 * configure: Regenerated.
93250
93251 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93252
93253 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93254
93255 [BZ #12350]
93256 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93257 bit from old_res_options.
93258
93259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93260
93261 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93262 value type for setfct.
93263
93264 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93265
93266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93267 __gettimeofday instead of gettimeofday.
93268
93269 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93270
93271 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93272
93273 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93274
93275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93276
93277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93278 info.
93279
93280 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93281
93282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93283 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93284 strcpy-sse2-unaligned strncpy-sse2-unaligned
93285 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93286 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93287 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93288 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93289 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93292 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93293 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93294 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93295 (STRCPY): Support SSE2 and SSSE3 versions.
93296
93297 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93298
93299 [BZ #12874]
93300 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93301 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93302 kernels which artificially limit size of requests.
93303
93304 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93305
93306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93307 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93308 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93309 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93310 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93311 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93312 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93313 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93316 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93317 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93318 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93319 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93320 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93322 Enable unaligned load optimization for Intel Core i3, i5 and i7
93323 processors.
93324 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93325 Define.
93326 (index_Fast_Unaligned_Load): Define.
93327 (HAS_FAST_UNALIGNED_LOAD): Define.
93328
93329 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93330
93331 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93332
93333 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93334
93335 [BZ #12907]
93336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93337 until it is clear that the information is realy needed.
93338 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93339
93340 2011-06-22 Andreas Schwab <schwab@redhat.com>
93341
93342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93343
93344 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93345
93346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93347 /sys/devices/system/cpu/online if it is usable.
93348
93349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93350 reading the information from the /proc filesystem to once a second.
93351
93352 2011-06-21 Andreas Jaeger <aj@suse.de>
93353
93354 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93355 NULL after inclusion of kernel headers.
93356
93357 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93358
93359 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93360 calls to internal_setent.
93361
93362 [BZ #12885]
93363 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93364 addresses using gethostbyname4_r ignore IPv4 addresses.
93365
93366 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93367 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93368
93369 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93370
93371 2011-06-20 David S. Miller <davem@davemloft.net>
93372
93373 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93374 inclusions.
93375 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93376
93377 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93378 (elf_irel): Use it.
93379 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93380 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93381 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93382 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93383 * sysdeps/x86_64/dl-irel.h: Likewise.
93384
93385 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93386 * elf/dl-sym.c: Likewise.
93387
93388 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93389
93390 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93391 need to dereference resplen2.
93392
93393 2011-06-14 Andreas Schwab <schwab@redhat.com>
93394
93395 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93396
93397 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93398
93399 * Makeconfig: Define vardbdir and inst_vardbdir.
93400 * nss/Makefile: Add rules to install db-Makefile.
93401
93402 * nss/nss_db/db-XXX.c: Cleanup.
93403
93404 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93405 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93406 GLIBC_PRIVATE.
93407 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93408 * nss/makedb.c: Implement -g option to specify that value strings
93409 are generated and should not be added to table iterated over for
93410 get*ent calls.
93411 * nss/nss_db/db-initgroups.c: New file.
93412
93413 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93414 interface.
93415
93416 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93417 (internal_getgrouplist): Adjust to name change.
93418 Update use_initgroups_entry if this is not the first call.
93419 * nss/databases.def: Add initgroups entry.
93420
93421 * nss/makedb.c (compute_tables): Check result of multiple hash table
93422 sizes to minimize maximum chain length.
93423
93424 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93425
93426 * Versions.def: Add entry for libnss_db.
93427 * shlib-versions: Likewise.
93428 * nss/Makefile: Add rules to build libnss_db.
93429 * nss/Versions: Add libnss_db information. Organize libnss_files
93430 entries better.
93431 * nss/db-Makefile: Add gshadow support. Change rules for the new
93432 makedb progra. Some minor improvements to generate smaller files.
93433 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93434 here from...
93435 * nss/makedb.c: ...here.
93436 Improve database format to be smaller and require less memory at
93437 runtime.
93438 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93439 db anymore.
93440 * nss/nss_db/db-netgrp.c: Likewise.
93441 * nss/nss_db/db-open.c: Likewise.
93442 * nss/nss_files/flies-XXX.x: Adjust comments.
93443 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93444 * nss/nss_files/files-grp.c: Likewise.
93445 * nss/nss_files/files-hosts.c: Likewise.
93446 * nss/nss_files/files-network.c: Likewise.
93447 * nss/nss_files/files-proto.c: Likewise.
93448 * nss/nss_files/files-pwd.c: Likewise.
93449 * nss/nss_files/files-rpc.c: Likewise.
93450 * nss/nss_files/files-service.c: Likewise.
93451 * nss/nss_files/files-sgrp.c: Likewise.
93452 * nss/nss_files/files-spwd.c: Likewise.
93453 * nss/nss_db/db-alias.c: Removed.
93454 * nss/nss_db/dummy-db.h: Removed.
93455
93456 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93457
93458 * nss/makedb.c: Rewritten to not use database library.
93459 * nss/Makefile: Update to build new makedb program.
93460
93461 2011-06-14 Andreas Jaeger <aj@suse.de>
93462
93463 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93464 memset declaration.
93465
93466 2011-06-10 Andreas Schwab <schwab@redhat.com>
93467
93468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93469 tmpbuf.
93470
93471 2011-06-10 Roland McGrath <roland@hack.frob.com>
93472
93473 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93474 * elf/Makefile ($(objpfx)ld.so): Likewise.
93475
93476 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93477 Don't list ld.so twice in dependencies.
93478
93479 * posix/bug-regex31.c: Include <stdlib.h>.
93480
93481 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93482
93483 * nis/nss_compat/compat-spwd.c
93484 (getspent_next_nss_netgr): Remove unused variable.
93485 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93486
93487 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93488 nonmembers" output to use the right array.
93489
93490 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93491
93492 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93493
93494 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93495 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93496 * catgets/gencat.c (read_input_file): Likewise.
93497 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93498
93499 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93500 variable definition inside #if's controlling its use.
93501
93502 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93503
93504 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93505
93506 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93507
93508 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93509 unreachable code.
93510
93511 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93512
93513 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93514 * configure: Regenerated.
93515
93516 * Makerules: Revert last change.
93517 * elf/Makefile: Likewise.
93518
93519 2011-06-09 Roland McGrath <roland@hack.frob.com>
93520
93521 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93522 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93523 (reloc-link): Likewise.
93524
93525 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93526
93527 * elf/Makefile: Add rules to build pldd.
93528 * elf/pldd.c: New file.
93529 * elf/pldd-xx.c: New file.
93530
93531 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93532
93533 * version.h: Update for 2.15 development version.
93534
93535 2011-06-07 David S. Miller <davem@davemloft.net>
93536
93537 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93538 ifuncs.
93539 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93540 elf_machine_lazy_rel): Likewise.
93541 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93543 elf_machine_lazy_rel): Likewise.
93544 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93545 dl_hwcap via passed in argument.
93546 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93547 Likewise.
93548
93549 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93550
93551 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93552
93553 2011-06-06 Roland McGrath <roland@hack.frob.com>
93554
93555 [BZ #12849]
93556 * manual/fdl-1.1.texi: New file, verbatim from:
93557 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93558 * manual/lgpl-2.1.texi: New file, verbatim from:
93559 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93560 * manual/Makefile (licenses): New variable, list those new file names.
93561 (texis): Use it.
93562 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93563
93564 * manual/fdl.texi: File removed.
93565 * manual/lesser.texi: File removed.
93566 * manual/libc.texinfo (Copying, Documentation License):
93567 Use new @include file names, put @appendix directive before @include.
93568
93569 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93570
93571 [BZ #12841]
93572 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93573 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93574 (mq_open): Add __NTH.
93575
93576 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93577
93578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93579 Assume Intel Core i3/i5/i7 processor if AVX is available.
93580
93581 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93582
93583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93584 typo.
93585
93586 2011-05-31 Andreas Schwab <schwab@redhat.com>
93587
93588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93589 memory. Use alloca_account. Fix memory leak when retrying.
93590
93591 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93592
93593 * version.h (RELEASE): Bump for 2.14 release.
93594 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93595
93596 * config.make.in (RANLIB): Remove entry.
93597
93598 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93599
93600 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93601 (libc.pot): Work around missing support for .ksh extension in xgettext.
93602
93603 [BZ #12684]
93604 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93605 if both request failed.
93606 (send_dg): In case of server errors clear resplen or *resplen2.
93607
93608 [BZ #12454]
93609 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93610 when there are multiple maps.
93611 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93612 (_dl_fini): Remove test here.
93613
93614 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93615
93616 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93617
93618 [BZ #12350]
93619 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93620 bit from old_res_options.
93621 (gaih_inet): Likewise.
93622
93623 [BZ #11099]
93624 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93625 as signed.
93626
93627 * resolv/res_init.c (res_setoptions): Make the code more compact.
93628
93629 [BZ #11558]
93630 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93631 set RES_USEVC.
93632
93633 [BZ #11634]
93634 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93635
93636 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93637
93638 [BZ #11781]
93639 * malloc/malloc.h: Declare malloc hook variables as volatile.
93640
93641 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93642 in last patch.
93643
93644 [BZ #11799]
93645 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93646 raise in the comment.
93647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93649 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93650
93651 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93652
93653 [BZ #12811]
93654 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93655 grow the buffers more if it already has to be sufficient.
93656 (build_wcs_upper_buffer): Likewise.
93657 * posix/regexec.c (check_matching): Likewise.
93658 (clean_state_log_if_needed): Likewise.
93659 (extend_buffers): Don't enlarge buffers beyond size of the input
93660 buffer.
93661 Patches mostly by Emil Wojak <emil@wojak.eu>.
93662 * posix/bug-regex32.c: New file.
93663 * posix/Makefile (tests): Add bug-regex32.
93664
93665 * locale/findlocale.c (_nl_find_locale): Return right away if
93666 _nl_explode_name failed.
93667 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93668
93669 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93670
93671 * debug/xtrace.sh: Unify messages.
93672 * malloc/memusage.sh: Likewise.
93673
93674 [BZ #12813]
93675 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93676 time symbol from vDSO. Substitute with vsyscall if not available.
93677 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93678 __vdso_time.
93679
93680 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93681 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93682 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93683 Add sendmmsg and internal_sendmmsg.
93684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93685 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93686 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93687
93688 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93689 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93691
93692 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93693
93694 [BZ #12813]
93695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93696 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93697 available.
93698 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93699 __vdso_getcpu.
93700
93701 [BZ #12814]
93702 * iconvdata/Makefile (tests): Add bug-iconv9.
93703 * iconvdata/bug-iconv9.c: New file.
93704
93705 2011-05-27 Andreas Schwab <schwab@redhat.com>
93706
93707 [BZ #12814]
93708 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93709
93710 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93711
93712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93713 (struct user_regs_struct): Change intcs field back to cs.
93714
93715 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93716
93717 * po/ja.po: Update from translation team.
93718
93719 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93720
93721 [BZ #12795]
93722 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93723 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93724
93725 2011-05-20 Andreas Schwab <schwab@redhat.com>
93726
93727 * stdlib/longlong.h: Update from GCC.
93728
93729 2011-05-23 Andreas Schwab <schwab@redhat.com>
93730
93731 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93732 parameter name.
93733 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93734 Add parameter name.
93735 (__sysconf): Pass it down.
93736
93737 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93738
93739 [BZ #12671]
93740 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93741 some situations.
93742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93743 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93744 add in in __libc_use_alloca calls. Adjust callers.
93745 (glob): Use malloc in some situations.
93746
93747 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93748 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93749 pltexit.
93750
93751 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93752
93753 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93754 and CLOCK_BOOTTIME_ALARM.
93755
93756 [BZ #12782]
93757 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93758 is returned.
93759
93760 * string/_strerror.c (__strerror_r): Print negative errors as signed
93761 numbers.
93762
93763 [BZ #12777]
93764 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93765 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93766 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93767
93768 * configure.in: Fix typo in redirection and correct removal of test
93769 files in two cases.
93770
93771 [BZ #12788]
93772 * locale/setlocale.c (new_composite_name): Fix test to check for
93773 identical name of all categories.
93774
93775 [BZ #12792]
93776 * libio/filedoalloc.c (local_isatty): New function.
93777 (_IO_file_doallocate): Use local_isatty.
93778 * stdio-common/perror.c (perror): In case a new stream is used
93779 forward the stream error.
93780 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93781 error flag.
93782
93783 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93784
93785 [BZ #11884]
93786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93787 alloca.
93788 * include/alloca.h (extend_alloca_account): Define.
93789
93790 [BZ #11857]
93791 * posix/regex.h: Fix comments with documentation of user-accessible
93792 fields after compilation and describe correct free'ing of pattern
93793 after re_compile_pattern.
93794 Patch by Reuben Thomas <rrt@sc3d.org>.
93795
93796 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93797
93798 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93799 and -mno-altivec to prevent the compiler from using Altivec and/or
93800 VSX instructions when the corresponding registers are not available.
93801
93802 2011-05-19 Andreas Schwab <schwab@redhat.com>
93803
93804 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93805
93806 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93807
93808 * libio/freopen.c (freopen): Use __dup2, not dup2.
93809 * libio/freopen64.c (freopen64): Likewise.
93810
93811 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93812
93813 [BZ #12775]
93814 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93815 * math/Makefile (tests): Add test-powl.
93816 (CFLAGS-test-powl.c): Define.
93817 * math/test-powl.c: New file.
93818
93819 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93820
93821 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93822
93823 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93824
93825 [BZ #11837]
93826 * iconvdata/gb18030.c: Update to GB18020-2005.
93827
93828 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93829
93830 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93831 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93832 Patch by Aharon Robbins <arnold@skeeve.com>.
93833
93834 [BZ #11892]
93835 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93836 on the stack.
93837
93838 [BZ #11895]
93839 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93840 through underflows.
93841
93842 [BZ #12766]
93843 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93844 point to strings before performing equality test for error_one_per_line
93845 mode.
93846
93847 [BZ #11697]
93848 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93849
93850 [BZ #11820]
93851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93852 (struct user_fpregs_struct): Avoid __uint*_t types.
93853
93854 [BZ #6420]
93855 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93856 symbol info. Use it instead of calling _dl_addr locally.
93857 (lock_and_info): New function.
93858 (tr_freehook): Call lock_and_info and pass symbol info as additional
93859 parameter to tr_where.
93860 (tr_mallochook): Likewise.
93861 (tr_reallochook): Likewise.
93862 (tr_memalignhook): Likewise.
93863
93864 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93865 used and couldn't be at all thread-safe.
93866
93867 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93868
93869 * libio/freopen.c (freopen): Don't close old file descriptor
93870 before the new one is opened. Instead dup the new file descriptor
93871 to the old one after the new stream is created.
93872 * libio/freopen64.c (freopen64): Likewise.
93873 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93874 * libio/fileops.c (_IO_new_file_close_it): Handle new
93875 _IO_FLAGS2_NOCLOSE flag.
93876 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93877 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93878 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93879 _IO_FLAGS2_NOCLOSE flag.
93880 * include/unistd.h: Add hidden_proto for dup3.
93881 Define __have_dup3.
93882 * io/dup3.c: Define hidden symbol.
93883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93884
93885 [BZ #7101]
93886 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93887 when an incomplete long option is used.
93888 * posix/tst-getopt_long1.c: New file.
93889 * posix/Makefile (tests): Add tst-getopt_long1.
93890
93891 [BZ #10138]
93892 * scripts/config.guess: Update from autoconf-2.68.
93893 * scripts/config.sub: Likewise.
93894
93895 [BZ #10157]
93896 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93897 tests into ...
93898 (has_cpuclock): ...this. New function.
93899 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93900 macro here based on has_cpuclock code.
93901
93902 [BZ #10149]
93903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93904 First byte (not low byte) is now always NUL.
93905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93906
93907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93908 Use non-cancelable interfaces.
93909
93910 [BZ #9809]
93911 * locale/iso-639.def: Add entry for Sorani.
93912
93913 [BZ #11901]
93914 * include/stdlib.h: Move include protection to the right place.
93915 Define abort_msg_s. Declare __abort_msg with it.
93916 * stdlib/abort.c (__abort_msg): Adjust type.
93917 * assert/assert.c (__assert_fail_base): New function. Majority
93918 of code from __assert_fail. Allocate memory for __abort_msg with
93919 mmap.
93920 (__assert_fail): Now call __assert_fail_base.
93921 * assert/assert-perr.c: Remove bulk of implementation. Use
93922 __assert_fail_base.
93923 * include/assert.hL Declare __assert_fail_base.
93924 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93925 mmap.
93926 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93927
93928 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93929
93930 [BZ #11952]
93931 [BZ #12453]
93932 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93933 until all modules are registered in the DTV.
93934 * elf/Makefile: Add rules to build and run tst-tls19.
93935 * elf/tst-tls19.c: New file.
93936 * elf/tst-tls19mod1.c: New file.
93937 * elf/tst-tls19mod2.c: New file.
93938 * elf/tst-tls19mod3.c: New file.
93939 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93940
93941 [BZ #12083]
93942 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93943 correctly.
93944
93945 [BZ #12601]
93946 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93947 two-byte sequence errors.
93948 * iconvdata/Makefile (tests): Add bug-iconv8.
93949 * iconvdata/bug-iconv8.c: New file.
93950
93951 [BZ #12626]
93952 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93953 buf2 definition.
93954
93955 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93956
93957 [BZ #12432]
93958 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93959 (dummy_getcfa): New function.
93960 (init): Get _Unwind_GetCFA address, use dummy if not found.
93961 (backtrace_helper): In recursion check, also check whether CFA changes.
93962 (__backtrace): Completely initialize arg.
93963
93964 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93965 storing incomplete byte sequence in state object. Avoid testing for
93966 guaranteed too small input if we know there is enough data available.
93967
93968 2011-05-11 Andreas Schwab <schwab@redhat.com>
93969
93970 * Makeconfig (+link-pie): Indent.
93971 * Rules (binaries-pie): Define if $(have-fpie) and
93972 $(build-shared).
93973 (binaries-shared): Also filter out $(binaries-pie).
93974 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93975 * nscd/Makefile (others-pie): Add nscd.
93976 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93977 ($(objpfx)nscd): Remove command override.
93978 * login/Makefile (others-pie): Add pt_chown.
93979 ($(objpfx)pt_chown): Remove command override.
93980 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93981 remove command overrides.
93982
93983 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93984
93985 * libio/tst_putwc.c: Fix error messages.
93986
93987 [BZ #12724]
93988 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93989 currently writing and seek to current position when not.
93990 * libio/Makefile (tests): Add bug-fclose1.
93991 * libio/bug-fclose1.c: New file.
93992
93993 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93994
93995 [BZ #12511]
93996 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93997 don't set DF_1_NODELETE here.
93998 (do_lookup_x): When entering new entry test for copy relocation
93999 and if necessary set DF_1_NODELETE flag.
94000 * elf/tst-unique4.cc: New file.
94001 * elf/tst-unique4.h: New file.
94002 * elf/tst-unique4lib.cc: New file.
94003 * elf/Makefile: Add rules to build and run tst-unique4.
94004 Patch by Piotr Bury <pbury@goahead.com>.
94005
94006 2011-05-11 Ulrich Drepper <drepper@gmail.com>
94007
94008 [BZ #12052]
94009 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94010
94011 [BZ #12625]
94012 * misc/mntent_r.c (addmntent): Flush the stream after the output
94013
94014 [BZ #12393]
94015 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94016 (is_trusted_path_normalize): Skip initial colon. Append slash
94017 to empty buffer. Duplicate is_trusted_path code but allow
94018 constructed patch to be prefix.
94019 (is_dst): Allow $ORIGIN followed by /.
94020 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94021 Correct testing of result of is_trusted_path_normalize
94022 (decompose_rpath): Fix warning.
94023
94024 2011-05-10 Ulrich Drepper <drepper@gmail.com>
94025
94026 [BZ #11257]
94027 * grp/initgroups.c (internal_getgrouplist): When we found the service
94028 list through the initgroups entry in nsswitch.conf do not always
94029 continue on a successful lookup. Don't always use the
94030 __nss_group_database value if it is set.
94031 * nss/nsswitch.conf (initgroups): Change action for successful db
94032 lookup to continue for compatibility.
94033
94034 2011-05-09 Ulrich Drepper <drepper@gmail.com>
94035
94036 [BZ #11532]
94037 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94038 and CP774 modules.
94039 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94040 and CP774 modules.
94041 * iconvdata/tst-tables.sh: Likewise.
94042 * iconvdata/cp770.c: New file.
94043 * iconvdata/cp771.c: New file.
94044 * iconvdata/cp772.c: New file.
94045 * iconvdata/cp773.c: New file.
94046 * iconvdata/cp774.c: New file.
94047 * iconvdata/testdata/CP770: New file.
94048 * iconvdata/testdata/CP770..UTF8: New file.
94049 * iconvdata/testdata/CP771: New file.
94050 * iconvdata/testdata/CP771..UTF8: New file.
94051 * iconvdata/testdata/CP772: New file.
94052 * iconvdata/testdata/CP772..UTF8: New file.
94053 * iconvdata/testdata/CP773: New file.
94054 * iconvdata/testdata/CP773..UTF8: New file.
94055 * iconvdata/testdata/CP774: New file.
94056 * iconvdata/testdata/CP774..UTF8: New file.
94057
94058 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94059 END CHARMAP line.
94060 * iconvdata/gen-8bit-gap.sh: Likewise.
94061 * iconvdata/gen-8bit.sh: Likewise.
94062
94063 * locale/iso-639.def: Add ary entry.
94064
94065 [BZ #11258]
94066 * locale/C-translit.h.in: Add U20A1 transliteration.
94067
94068 [BZ #12178]
94069 * locale/iso-639.def: Add wae entry.
94070 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94071
94072 [BZ #12545]
94073 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94074 for n.
94075
94076 [BZ #12711]
94077 * locale/C-translit.h.in: Add entry for U20B9.
94078 Patch by pravin.d.s@gmail.com.
94079
94080 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94081
94082 [BZ #12713]
94083 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94084 ENAMETOOLONG use generic getcwd.
94085 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94086 in rtld. Use *stat64.
94087 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94088 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94089 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94090 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94091 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94092 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94093 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94094 __fstatat64 macros.
94095 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94096 * dirent/rewinddir.c: Add libc_hidden_def.
94097 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94098 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94099
94100 * include/dirent.h (__alloc_dir): Add flags parameter.
94101 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94102 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94103 __alloc_dir.
94104 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94105 from fdopendir if O_CLOEXEC is already set.
94106
94107 2011-03-15 Alan Modra <amodra@gmail.com>
94108
94109 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94110 l_tls_firstbyte_offset non-zero. Save padding offset in
94111 l_tls_firstbyte_offset for later use.
94112 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94113 freeing static tls block.
94114
94115 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94116
94117 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94118 where #ifdef was intended. The intent is to prevent ARG_MAX from
94119 being defined by the kernel headers.
94120
94121 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94122
94123 [BZ #12734]
94124 * resolv/resolv.h: Define RES_NOTLDQUERY.
94125 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94126 no-tld-query and set RES_NOTLDQUERY.
94127 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94128 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94129 modern BIND to search name as TLD unless forbidden.
94130
94131 2011-05-07 Petr Baudis <pasky@suse.cz>
94132 Ulrich Drepper <drepper@gmail.com>
94133
94134 [BZ #12393]
94135 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94136 (is_trusted_path): ...to here.
94137 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94138 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94139 using is_trusted_path_normalize() in setuid scripts.
94140
94141 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94142
94143 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94144 __BEGIN/__END_DECLS.
94145
94146 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94147
94148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94149 NSS_STATUS_NOTFOUND if no record was found.
94150
94151 2011-05-05 Andreas Schwab <schwab@redhat.com>
94152
94153 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94154 (headers-not-in-tirpc): Remove rpc/netdb.h
94155 * resolv/netdb.h: Revert last change.
94156
94157 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94158
94159 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94160 circular dependency between libgcc.a and libc.a.
94161
94162 2011-05-05 Andreas Schwab <schwab@redhat.com>
94163
94164 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94165 * nis/Makefile: Don't install rpcsvc/*.
94166 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94167 instead of <rpc/types.h>.
94168 (MAXHOSTNAMELEN): Define.
94169
94170 2011-05-03 Andreas Schwab <schwab@redhat.com>
94171
94172 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94173
94174 2011-04-28 Maciej Babinski <mbabinski@google.com>
94175
94176 [BZ #12714]
94177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94178 gethostbyname4_r when IPv6 results are possible.
94179
94180 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94181
94182 [BZ #12723]
94183 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94184 _PC_PIPE_BUF handling.
94185
94186 2011-04-30 Bruno Haible <bruno@clisp.org>
94187
94188 [BZ #12717]
94189 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94190 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94191 to 'int'.
94192 * inet/getnameinfo.c (getnameinfo): Likewise.
94193
94194 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94195
94196 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94197 to groups setting in database lookup.
94198 * nss/nsswitch.conf: Add initgroups entry.
94199
94200 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94201
94202 [BZ #12685]
94203 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94204 mode string.
94205 Patch by Eric Blake <eblake@redhat.com>.
94206
94207 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94208
94209 * sunrpc/Makefile (need-export-routines): Add svc_run.
94210 (routines): Remove svc_run.
94211 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94212 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94213 * sunrpc/svc_run.c (svc_run): Likewise.
94214 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94215
94216 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94217
94218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94219 problem in reallocation in last patch.
94220
94221 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94222
94223 * sunrpc/Makefile: Move inclusion of Rules.
94224
94225 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94226
94227 * nss/nss_files/files-initgroups.c: New file.
94228 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94229 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94230 _nss_files_initgroups_dyn.
94231
94232 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94233
94234 * elf/elf.h (R_ARM_IRELATIVE): Define.
94235
94236 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94237
94238 * po/ru.po: Update from translation team.
94239
94240 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94241
94242 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94243 dependencies.
94244
94245 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94246
94247 [BZ #12653]
94248 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94249 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94253
94254 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94255
94256 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94257 differing bytes.
94258 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94261
94262 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94263
94264 [BZ #12420]
94265 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94266 storing it.
94267 * stdlib/bug-getcontext.c: New file.
94268 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94269
94270 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94271
94272 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94273 instructions into .machine "z9-109".
94274 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94275 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94276
94277 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94278
94279 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94280 between environment variables and auxiliary vector.
94281
94282 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94283
94284 * Makefile: Add rules to build linkobj/libc.so.
94285 * include/libc-symbols.h: Define libc_hidden_nolink.
94286 * include/rpc/auth.h: Mark functions which are to be hidden.
94287 * include/rpc/auth_des.h: Likewise.
94288 * include/rpc/auth_unix.h: Likewise.
94289 * include/rpc/clnt.h: Likewise.
94290 * include/rpc/des_crypt.h: Likewise.
94291 * include/rpc/key_prot.h: Likewise.
94292 * include/rpc/pmap_clnt.h: Likewise.
94293 * include/rpc/pmap_prot.h: Likewise.
94294 * include/rpc/pmap_rmt.h: Likewise.
94295 * include/rpc/rpc_msg.h: Likewise.
94296 * include/rpc/svc.h: Likewise.
94297 * include/rpc/svc_auth.h: Likewise.
94298 * include/rpc/xdr.h: Likewise.
94299 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94300 * nss/Makefile: Likewise.
94301 * sunrpc/Makefile: Don't install headers. Build library with normal
94302 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94303 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94304 for the compat linking library. Remove use of INTDEF/INTUSE.
94305 * sunrpc/auth_none.c: Likewise.
94306 * sunrpc/auth_unix.c: Likewise.
94307 * sunrpc/authdes_prot.c: Likewise.
94308 * sunrpc/authuxprot.c: Likewise.
94309 * sunrpc/clnt_gen.c: Likewise.
94310 * sunrpc/clnt_perr.c: Likewise.
94311 * sunrpc/clnt_raw.c: Likewise.
94312 * sunrpc/clnt_simp.c: Likewise.
94313 * sunrpc/clnt_tcp.c: Likewise.
94314 * sunrpc/clnt_udp.c: Likewise.
94315 * sunrpc/clnt_unix.c: Likewise.
94316 * sunrpc/des_crypt.c: Likewise.
94317 * sunrpc/des_soft.c: Likewise.
94318 * sunrpc/get_myaddr.c: Likewise.
94319 * sunrpc/key_call.c: Likewise.
94320 * sunrpc/key_prot.c: Likewise.
94321 * sunrpc/netname.c: Likewise.
94322 * sunrpc/pm_getmaps.c: Likewise.
94323 * sunrpc/pm_getport.c: Likewise.
94324 * sunrpc/pmap_clnt.c: Likewise.
94325 * sunrpc/pmap_prot.c: Likewise.
94326 * sunrpc/pmap_prot2.c: Likewise.
94327 * sunrpc/pmap_rmt.c: Likewise.
94328 * sunrpc/publickey.c: Likewise.
94329 * sunrpc/rpc_cmsg.c: Likewise.
94330 * sunrpc/rpc_common.c: Likewise.
94331 * sunrpc/rpc_dtable.c: Likewise.
94332 * sunrpc/rpc_prot.c: Likewise.
94333 * sunrpc/rpc_thread.c: Likewise.
94334 * sunrpc/rtime.c: Likewise.
94335 * sunrpc/svc.c: Likewise.
94336 * sunrpc/svc_auth.c: Likewise.
94337 * sunrpc/svc_authux.c: Likewise.
94338 * sunrpc/svc_raw.c: Likewise.
94339 * sunrpc/svc_run.c: Likewise.
94340 * sunrpc/svc_simple.c: Likewise.
94341 * sunrpc/svc_tcp.c: Likewise.
94342 * sunrpc/svc_udp.c: Likewise.
94343 * sunrpc/svc_unix.c: Likewise.
94344 * sunrpc/svcauth_des.c: Likewise.
94345 * sunrpc/xcrypt.c: Likewise.
94346 * sunrpc/xdr.c: Likewise.
94347 * sunrpc/xdr_array.c: Likewise.
94348 * sunrpc/xdr_float.c: Likewise.
94349 * sunrpc/xdr_intXX_t.c: Likewise.
94350 * sunrpc/xdr_mem.c: Likewise.
94351 * sunrpc/xdr_rec.c: Likewise.
94352 * sunrpc/xdr_ref.c: Likewise.
94353 * sunrpc/xdr_sizeof.c: Likewise.
94354 * sunrpc/xdr_stdio.c: Likewise.
94355
94356 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94357
94358 [BZ #12650]
94359 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94360 * sysdeps/ia64/dl-tls.h: Likewise.
94361 * sysdeps/powerpc/dl-tls.h: Likewise.
94362 * sysdeps/s390/dl-tls.h: Likewise.
94363 * sysdeps/sh/dl-tls.h: Likewise.
94364 * sysdeps/sparc/dl-tls.h: Likewise.
94365 * sysdeps/x86_64/dl-tls.h: Likewise.
94366 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94367
94368 2011-03-14 Andreas Schwab <schwab@redhat.com>
94369
94370 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94371 rpath element also skip the following colon.
94372 (expand_dynamic_string_token): Add is_path parameter and pass
94373 down to DL_DST_REQUIRED and _dl_dst_substitute.
94374 (decompose_rpath): Call expand_dynamic_string_token with
94375 non-zero is_path. Ignore empty rpaths.
94376 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94377 with zero is_path.
94378
94379 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94380
94381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94382 Make cancelable.
94383
94384 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94385
94386 [BZ #12655]
94387 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94388 Patch by Filipe David Manana <fdmanana@apache.org>.
94389
94390 2011-04-07 Andreas Schwab <schwab@redhat.com>
94391
94392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94393 Maintain aligned stack.
94394 (CHECK_RSP): Remove unused macro.
94395
94396 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94397
94398 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94400
94401 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94402
94403 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94404
94405 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94406
94407 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94408
94409 [BZ #12518]
94410 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94411 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94412 * sysdeps/x86_64/memmove.c: New file.
94413 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94414 (memcpy): Renamed to ...
94415 (__new_memcpy): This.
94416 (memcpy): Provide GLIBC_2_14 memcpy.
94417 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94418 (memcpy): Provide GLIBC_2_2_5 memcpy.
94419
94420 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94421
94422 [BZ #12631]
94423 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94424
94425 2011-03-30 Andreas Schwab <schwab@redhat.com>
94426
94427 * misc/syncfs.c: New file.
94428 * misc/Makefile (routines): Add syncfs.
94429 * posix/unistd.h: Declare syncfs.
94430 * sysdeps/unix/syscalls.list: Add syncfs.
94431
94432 2011-04-01 Andreas Schwab <schwab@redhat.com>
94433
94434 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94435 open_by_handle_at.
94436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94441 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94443
94444 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94445
94446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94452 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94453
94454 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94455 sync_file_range.c with -fexceptions.
94456 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94457 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94458 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94459 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94460 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94461 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94463 sync_file_range as cancellation point
94464 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94465 now a wrapper around __call_sync_file_range with cancellation handling.
94466 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94467 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94468 function name to __call_sync_file_range.
94469 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94470 Add call_sync_file_range.
94471
94472 2011-04-01 Andreas Schwab <schwab@redhat.com>
94473
94474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94475 bits/timex.h.
94476
94477 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94478
94479 * iconv/iconv.h: Fix typo in comment.
94480 * io/fcntl.h: Likewise.
94481 * libio/stdio.h: Likewise.
94482 * posix/spawn.h: Likewise.
94483 * posix/unistd.h: Likewise.
94484 * stdlib/stdlib.h: Likewise.
94485 * time/time.h: Likewise.
94486 * wcsmbs/wchar.h: Likewise.
94487
94488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94489 open_by_handle): Add.
94490 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94491 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94492 Augment a few comments.
94493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94495 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94498 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94499 open_by_handle.
94500
94501 * io/fcntl.h (AT_EMPTY_PATH): Define.
94502
94503 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94504
94505 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94506 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94507 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94508 to...
94509 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94510 * Versions.def: Add GLIBC_2.14.
94511 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94512 Export.
94513
94514 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94515
94516 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94517 round counter.
94518 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94519
94520 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94521
94522 [BZ #12597]
94523 * string/test-strncmp.c (do_page_test): New function.
94524 (check2): Likewise.
94525 (test_main): Call check2.
94526 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94527
94528 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94529
94530 [BZ #12587]
94531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94532 Handle cache information in CPU leaf 4.
94533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94534
94535 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94536
94537 [BZ #12583]
94538 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94539 character representation.
94540 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94541
94542 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94543
94544 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94545 END(__isnan) to END(__isnanf) to match function entry point/label
94546 EALIGN(__isnanf,...).
94547
94548 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94549
94550 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94551
94552 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94553
94554 [BZ #12510]
94555 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94556 copy from the symbol referenced in the relocation to initialize the
94557 used variable.
94558 Patch by Piotr Bury <pbury@goahead.com>.
94559 * elf/Makefile: Add rules to build and tst-unique3.
94560 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94561 * elf/tst-unique3.cc: New file.
94562 * elf/tst-unique3.h: New file.
94563 * elf/tst-unique3lib.cc: New file.
94564 * elf/tst-unique3lib2.cc: New file.
94565
94566 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94567
94568 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94569
94570 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94571 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94572 to _start.
94573
94574 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94575
94576 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94577 to-be-loaded object along a path to loader is ld.so.
94578
94579 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94580 Ulrich Drepper <drepper@gmail.com>
94581
94582 * sysdeps/x86_64/memset.S: After aligning destination, code
94583 branches to different locations depending on the value of
94584 misalignment, when multiarch is enabled. Fix this.
94585
94586 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94587
94588 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94589 Set _x86_64_preferred_memory_instruction for AMD processsors.
94590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94591 Set bit_Prefer_SSE_for_memop for AMD processors.
94592
94593 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94594
94595 * libio/fmemopen.c (fmemopen): Optimize a bit.
94596
94597 2011-03-03 Andreas Schwab <schwab@redhat.com>
94598
94599 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94600
94601 2011-03-03 Roland McGrath <roland@redhat.com>
94602
94603 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94604
94605 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94606
94607 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94608 __bzero_ultra1 instead of __memset_ultra1.
94609
94610 2011-02-23 Andreas Schwab <schwab@redhat.com>
94611 Ulrich Drepper <drepper@gmail.com>
94612
94613 [BZ #12509]
94614 * include/link.h (struct link_map): Add l_orig_initfini.
94615 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94616 returning unsuccessfully.
94617 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94618 close of a file loaded at startup, restore the original l_initfini
94619 list.
94620 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94621 list, store the pointer.
94622 * elf/Makefile ($(objpfx)noload-mem): New rule.
94623 (noload-ENV): Define.
94624 (tests): Add $(objpfx)noload-mem.
94625 * elf/noload.c: Include <memcheck.h>.
94626 (main): Call mtrace. Close all opened handles.
94627
94628 2011-02-17 Andreas Schwab <schwab@redhat.com>
94629
94630 [BZ #12454]
94631 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94632 dependencies are missing.
94633
94634 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94635
94636 Fix __if_freereq crash: Unlike the generic version which uses free,
94637 Hurd needs munmap.
94638 * sysdeps/mach/hurd/ifreq.h: New file.
94639
94640 2011-01-27 Petr Baudis <pasky@suse.cz>
94641 Ulrich Drepper <drepper@gmail.com>
94642
94643 [BZ 12445]#
94644 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94645 to extend_alloca().
94646 * stdio-common/bug23.c: New file.
94647 * stdio-common/Makefile (tests): Add bug23.
94648
94649 2010-09-28 Andreas Schwab <schwab@redhat.com>
94650 Ulrich Drepper <drepper@gmail.com>
94651
94652 [BZ #12489]
94653 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94654 before performing relro protection. At old place add assertion
94655 to make sure nothing changed.
94656
94657 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94658 Glauber de Oliveira Costa <glommer@gmail.com>
94659
94660 * elf/elf.h: Add new ARM TLS relocs.
94661
94662 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94663
94664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94665 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94666 cast from r3.
94667 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94668 'tests' variable.
94669 * sysdeps/wordsize-64/tst-writev.c: New file.
94670
94671 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94672
94673 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94674 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94675 insns in _dl_start to prevent a TOC reference before relocs are
94676 resolved.
94677
94678 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94679
94680 [BZ #12469]
94681 * Makeconfig: Remove RANLIB definition.
94682 * Makerules: Don't use RANLIB.
94683 * aclocal.m4: Remove ranlib test.
94684 * configure.in: No need to check for ranlib.
94685 * elf/rtld-Rules: Don't use RANLIB.
94686
94687 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94688
94689 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94690 protection macro.
94691 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94692 inclusion protection macro.
94693
94694 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94695 SIGRTMIN and SIGRTMAX and print information in that case only when
94696 SIGRTMIN is defined.
94697
94698 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94699
94700 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94701 arginfo fn returning -1.
94702
94703 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94704 and thousands string is zero terminated.
94705
94706 2011-02-03 Andreas Schwab <schwab@redhat.com>
94707
94708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94709 sysdeps/unix/sysv/linux/bits/socket.h.
94710
94711 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94712
94713 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94714 (__CPU_COUNT): Remove old macros.
94715 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94716 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94717 (__CPU_ALLOC, __CPU_FREE): Add macros.
94718 (__sched_cpualloc, __sched_cpufree): Add declarations.
94719
94720 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94721
94722 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94723 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94724 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94725 (readdhstai): Return value of addhstaiX call.
94726 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94727 (addgrbyX): Return value returned by cache_addgr.
94728 (readdgrbyname): Return value returned by addgrbyX.
94729 (readdgrbygid): Likewise.
94730 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94731 (addpwbyX): Return value returned by cache_addpw.
94732 (readdpwbyname): Return value returned by addhstbyX.
94733 (readdpwbyuid): Likewise.
94734 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94735 (addservbyX): Return value returned by cache_addserv.
94736 (readdservbyname): Return value returned by addservbyX:
94737 (readdservbyport): Likewise.
94738 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94739 (addhstbyX): Return value returned by cache_addhst.
94740 (readdhstbyname): Return value returned by addhstbyX.
94741 (readdhstbyaddr): Likewise.
94742 (readdhstbynamev6): Likewise.
94743 (readdhstbyaddrv6): Likewise.
94744 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94745 (readdinitgroups): Return value returned by addinitgroupsX.
94746 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94747 (prune_cache): Keep track of timeout value of re-added entries.
94748 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94749 * nscd/nscd.h: Adjust prototypes of readd* functions.
94750
94751 2011-02-04 Roland McGrath <roland@redhat.com>
94752
94753 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94754 (nis_stats): Likewise.
94755 * nis/nis_modify.c (nis_modify): Likewise.
94756 * nis/nis_remove.c (nis_remove): Likewise.
94757 * nis/nis_add.c (nis_add): Likewise.
94758
94759 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94760
94761 * posix/fnmatch_loop.c: Add some consts.
94762
94763 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94764
94765 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94766
94767 [BZ #12460]
94768 * config.make.in (config-cflags-novzeroupper): Define.
94769 * configure.in: Substitute libc_cv_cc_novzeroupper.
94770 * elf/Makefile (AVX-CFLAGS): Define.
94771 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94772 (CFLAGS-tst-auditmod4a.c): Likewise.
94773 (CFLAGS-tst-auditmod4b.c): Likewise.
94774 (CFLAGS-tst-auditmod6b.c): Likewise.
94775 (CFLAGS-tst-auditmod6c.c): Likewise.
94776 (CFLAGS-tst-auditmod7b.c): Likewise.
94777 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94778
94779 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94780
94781 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94782 function to the callback.
94783 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94784
94785 2011-02-02 Andreas Schwab <schwab@redhat.com>
94786
94787 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94788 of errno.
94789
94790 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94791
94792 [BZ #11724]
94793 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94794 of constructors.
94795 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94796 of destructors.
94797 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94798
94799 [BZ #11724]
94800 * elf/Makefile: Add rules to build and run new test.
94801 * elf/tst-initorder.c: New file.
94802 * elf/tst-initorder.exp: New file.
94803 * elf/tst-initordera1.c: New file.
94804 * elf/tst-initordera2.c: New file.
94805 * elf/tst-initordera3.c: New file.
94806 * elf/tst-initordera4.c: New file.
94807 * elf/tst-initorderb1.c: New file.
94808 * elf/tst-initorderb2.c: New file.
94809 * elf/tst-order-a1.c: New file.
94810 * elf/tst-order-a2.c: New file.
94811 * elf/tst-order-a3.c: New file.
94812 * elf/tst-order-a4.c: New file.
94813 * elf/tst-order-b1.c: New file.
94814 * elf/tst-order-b2.c: New file.
94815 * elf/tst-order-main.c: New file.
94816 New test case by George Gensure <werkt0@gmail.com>.
94817
94818 2010-10-01 Andreas Schwab <schwab@redhat.com>
94819
94820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94821 decoding ACE if AI_CANONIDN.
94822
94823 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94824
94825 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94826
94827 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94828
94829 * version.h (RELEASE): Bump for 2.13 release.
94830 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94831
94832 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94833
94834 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94835 MADV_NOHUGEPAGE.
94836 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94837 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94838 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94839 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94840 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94842
94843 * posix/getconf.c: Update copyright year.
94844 * catgets/gencat.c: Likewise.
94845 * csu/version.c: Likewise.
94846 * debug/catchsegv.sh: Likewise.
94847 * debug/xtrace.sh: Likewise.
94848 * elf/ldconfig.c: Likewise.
94849 * elf/ldd.bash.in: Likewise.
94850 * elf/sprof.c (print_version): Likewise.
94851 * iconv/iconv_prog.c: Likewise.
94852 * iconv/iconvconfig.c: Likewise.
94853 * locale/programs/locale.c: Likewise.
94854 * locale/programs/localedef.c: Likewise.
94855 * malloc/memusage.sh: Likewise.
94856 * malloc/mtrace.pl: Likewise.
94857 * nscd/nscd.c (print_version): Likewise.
94858 * nss/getent.c: Likewise.
94859
94860 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94861 PF_CAIF, and PF_ALG.
94862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94863
94864 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94865
94866 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94867 (modules-names): Use them.
94868 (ifunc-test-modules, ifunc-pie-tests): Define.
94869 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94870 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94871 (test-extras): Likewise.
94872 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94873 $(compile-command.c).
94874 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94875 (all-built-dso): Define.
94876 (check-textrel.out, check-execstack.out): Depend on it.
94877
94878 * configure.in: Don't override --enable-multi-arch.
94879
94880 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94881
94882 [BZ #6812]
94883 * nscd/hstcache.c (tryagain): Define.
94884 (cache_addhst): Return tryagain not notfound for temporary errors.
94885 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94886 failed.
94887
94888 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94889
94890 [BZ #10563]
94891 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94892 to make the syscall.
94893 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94894
94895 [BZ #12378]
94896 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94897 and fall back to matching as normal character if the string ends before
94898 the matching ']' is found. This is what POSIX requires.
94899 * posix/testfnm.c: Adjust test result.
94900 * posix/globtest.sh: Adjust test result. Add new test.
94901 * posix/tst-fnmatch.input: Likewise.
94902 * posix/tst-fnmatch2.c: Add new test.
94903
94904 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94905
94906 * elf/Makefile (check-execstack): Revert last change. Depend on
94907 check-execstack.h.
94908 (check-execstack.h): New target.
94909 (generated): Add check-execstack.h.
94910 * elf/check-execstack.c: Include "check-execstack.h".
94911 (main): Revert last change.
94912 (handle_file): Return zero if GNU_STACK is absent and
94913 DEFAULT_STACK_PERMS doesn't include PF_X.
94914
94915 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94916
94917 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94918 in child fails because the descriptor is already closed.
94919 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94920 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94921 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94922
94923 [BZ #12397]
94924 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94925 syscall.
94926
94927 [BZ #10484]
94928 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94929 temporary buffer used to handle multi lookups locally.
94930 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94931
94932 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94933
94934 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94935 loader is ld.so.
94936
94937 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94938
94939 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94940 alignment for SSE2.
94941
94942 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94943
94944 [BZ #12394]
94945 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94946 characters. When rounding increased number of integer digits recompute
94947 number of groups.
94948 * stdio-common/tst-grouping.c: New file.
94949 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94950
94951 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94952
94953 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94954 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94955
94956 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94957 void.
94958 * bits/select.h: Likewise.
94959
94960 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94961
94962 * po/ja.po: Update from translation team.
94963
94964 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94965
94966 [BZ #11155]
94967 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94968 implementation just like for lxstat, fxstatat, et al.
94969
94970 2010-12-27 Jim Meyering <meyering@redhat.com>
94971
94972 [BZ #12348]
94973 * posix/regexec.c (build_trtable): Return failure indication upon
94974 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94975
94976 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94977
94978 [BZ #12201]
94979 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94980 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94981 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94982 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94983
94984 [BZ #12207]
94985 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94986
94987 [BZ #12204]
94988 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94989 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94990
94991 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94992
94993 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94994 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94995 script has SORT_BY_INIT_PRIORITY.
94996 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94997 NO_CTORS_DTORS_SECTIONS is defined.
94998 * elf/soinit.c: Likewise.
94999 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95000 NO_CTORS_DTORS_SECTIONS is defined.
95001 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95002 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95003 * sysdeps/sh/init-first.c: Likewise.
95004 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95005
95006 2010-12-24 Ulrich Drepper <drepper@gmail.com>
95007
95008 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95009 always use the slow path.
95010
95011 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
95012
95013 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95014 similar rule which adds the sysdep directories to the header search in
95015 order to pick up the correct platform stackinfo.h.
95016 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95017 perform test if it is, otherwise return successfully without testing.
95018 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95019 DEFAULT_STACK_PERMS define in stackinfo.h.
95020 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95021 defined in stackinfo.h.
95022 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95023 DEFAULT_STACK_PERMS defined in stackinfo.h.
95024 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95025 * sysdeps/ia64/stackinfo.h: Likewise.
95026 * sysdeps/s390/stackinfo.h: Likewise.
95027 * sysdeps/sh/stackinfo.h: Likewise.
95028 * sysdeps/sparc/stackinfo.h: Likewise.
95029 * sysdeps/x86_64/stackinfo.h: Likewise.
95030 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95031 PF_X for powerpc64. Retain PF_X for powerpc32.
95032
95033 2010-12-19 Ulrich Drepper <drepper@gmail.com>
95034
95035 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95036 accurately.
95037 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95038 GETDENTS_64BIT_ALIGNED.
95039
95040 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95041
95042 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95043
95044 2010-12-10 Andreas Schwab <schwab@redhat.com>
95045
95046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95047 _GNU_SOURCE.
95048
95049 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95050 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95051 Remove __restrict.
95052 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95053 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95054
95055 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95056
95057 [BZ #11655]
95058 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95059 are initialized.
95060
95061 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95062
95063 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95064
95065 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95066
95067 * po/it.po: Update from translation team.
95068
95069 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95070
95071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95072 unused codes.
95073
95074 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95075
95076 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95077
95078 2010-11-24 Andreas Schwab <schwab@redhat.com>
95079
95080 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95081 specially.
95082 (gaih_getanswer_slice): Likewise.
95083
95084 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95085
95086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95087
95088 2010-05-31 Petr Baudis <pasky@suse.cz>
95089
95090 [BZ #11149]
95091 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95092 silently even in the chroot mode.
95093
95094 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95095
95096 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95097 last patch a bit. Pretty printing
95098
95099 2010-05-31 Petr Baudis <pasky@suse.cz>
95100
95101 [BZ #10085]
95102 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95103 initialization of skip_initgroups_dyn.
95104
95105 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95106
95107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95109
95110 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95111
95112 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95113
95114 2010-11-11 Andreas Schwab <schwab@redhat.com>
95115
95116 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95117 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95118 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95119 ($(objpfx)tst-fnmatch-mem): New rule.
95120 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95121 * posix/tst-fnmatch.c (main): Call mtrace.
95122
95123 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95124
95125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95126 Support Intel processor model 6 and model 0x2c.
95127
95128 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95129
95130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95131 signed comparison.
95132
95133 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95134
95135 [BZ #12205]
95136 * string/test-strncasecmp.c (check_result): New function.
95137 (do_one_test): Use it.
95138 (check1): New function.
95139 (test_main): Use it.
95140 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95141 Support strcasecmp and strncasecmp.
95142
95143 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95144
95145 [BZ #12194]
95146 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95147 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95148
95149 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95150
95151 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95152 IFUNC support.
95153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95154 memset-x86-64.
95155 * sysdeps/x86_64/multiarch/bzero.S: New file.
95156 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95157 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95158 * sysdeps/x86_64/multiarch/memset.S: New file.
95159 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95161 Set bit_Prefer_SSE_for_memop for Intel processors.
95162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95163 Define.
95164 (index_Prefer_SSE_for_memop): Define.
95165 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95166
95167 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95168
95169 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95170 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95171
95172 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95173
95174 [BZ #12191]
95175 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95176 (__x86_64_raw_data_cache_size_half): Likewise.
95177 (__x86_64_raw_shared_cache_size): Likewise.
95178 (__x86_64_raw_shared_cache_size_half): Likewise.
95179
95180 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95181 (__x86_64_raw_data_cache_size_half): Likewise.
95182 (__x86_64_raw_shared_cache_size): Likewise.
95183 (__x86_64_raw_shared_cache_size_half): Likewise.
95184 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95185 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95186 and __x86_64_raw_shared_cache_size_half. Round
95187 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95188 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95189 to multiple of 256 bytes.
95190
95191 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95192
95193 [BZ #12167]
95194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95195 of inacessible symlinks. Verify result of symlink before returning it.
95196 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95197 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95198
95199 2010-10-28 Erich Ritz <erichritz@gmail.com>
95200
95201 * math/math.h (isinf): Fix typo in comment.
95202
95203 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95204
95205 * po/da.po: Update from translation team.
95206
95207 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95208
95209 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95210 is added to the list.
95211
95212 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95213 Ulrich Drepper <drepper@gmail.com>
95214
95215 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95216 the global list here. Move code to...
95217 (_dl_add_to_namespace_list): ...here. New function.
95218 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95219 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95220 * elf/dl-load.c (lose): Don't remove the element from the list.
95221 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95222 (_dl_map_object): Likewise.
95223
95224 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95225
95226 [BZ #12159]
95227 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95228 into all bytes of SSE register.
95229 Patch by Richard Li <richardpku@gmail.com>.
95230
95231 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95232
95233 [BZ #12140]
95234 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95235 perturbing.
95236
95237 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95238
95239 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95240 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95244 submachine.
95245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95246
95247 2010-10-22 Andreas Schwab <schwab@redhat.com>
95248
95249 * include/dlfcn.h (__RTLD_SECURE): Define.
95250 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95251 mode & __RTLD_SECURE instead.
95252 (open_path): Rename preloaded parameter to secure.
95253 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95254 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95255 * elf/dl-deps.c (openaux): Likewise.
95256 * elf/rtld.c (struct map_args): Remove is_preloaded.
95257 (map_doit): Don't use it.
95258 (dl_main): Likewise.
95259 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95260 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95261
95262 2010-09-09 Andreas Schwab <schwab@redhat.com>
95263
95264 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95265 (sysd-rules-targets): Remove duplicates.
95266 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95267 rtld-%.$o dependency.
95268
95269 2010-10-18 Andreas Schwab <schwab@redhat.com>
95270
95271 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95272 _dl_map_object do it.
95273
95274 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95275
95276 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95277 fast fma builtins, define the macros in the C99 standard.
95278 (FP_FAST_FMAF): Likewise.
95279 (FP_FAST_FMAL): Likewise.
95280 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95281
95282 * bits/mathdef.h: Update copyright year.
95283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95284
95285 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95286
95287 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95288 builtins, define the macros in the C99 standard.
95289 (FP_FAST_FMAF): Likewise.
95290 (FP_FAST_FMAL): Likewise.
95291 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95292 multiply/add.
95293 (FP_FAST_FMAF): Likewise.
95294
95295 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95296
95297 [BZ #3268]
95298 * math/libm-test.inc (fma_test): Some new testcases.
95299 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95300 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95301 y and infinite z. Do multiplication by C already in long double.
95302 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95304 y and infinite z. Do bitwise or of inexact bit into u.d.
95305 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95306 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95307 * sysdeps/i386/fpu/s_fma.S: Removed.
95308 * sysdeps/i386/fpu/s_fmal.S: Removed.
95309
95310 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95311
95312 [BZ #3268]
95313 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95315 computation is not scheduled after fetestexcept. Fix value
95316 of minimum denormal long double.
95317
95318 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95319
95320 [BZ #3268]
95321 * math/libm-test.inc (fma_test): Add some more tests.
95322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95323 correctly.
95324
95325 2010-10-15 Andreas Schwab <schwab@redhat.com>
95326
95327 * scripts/data/localplt-s390-linux-gnu.data: New file.
95328 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95329
95330 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95331
95332 [BZ #3268]
95333 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95334 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95335 instead of dbl-64.
95336 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95337 inlines.
95338 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95340 if one of x and y is very large and the other is subnormal.
95341 * sysdeps/s390/fpu/s_fmaf.c: New file.
95342 * sysdeps/s390/fpu/s_fma.c: New file.
95343 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95344 * sysdeps/powerpc/fpu/s_fma.S: New file.
95345 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95346 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95347 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95348
95349 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95350
95351 [BZ #3268]
95352 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95353 fma tests.
95354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95355 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95356 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95357 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95358 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95359 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95360 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95361
95362 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95363
95364 [BZ #12078]
95365 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95366 * posix/bug-regex31.input: Add test case.
95367
95368 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95369
95370 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95371 * posix/bug-regex31.input: New file.
95372
95373 [BZ #12078]
95374 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95375 (parse_sub_exp): Fix last change, use postorder.
95376
95377 * posix/bug-regex31.c: New file.
95378 * posix/Makefile: Add rules to build and run bug-regex31.
95379
95380 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95381
95382 [BZ #12078]
95383 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95384
95385 [BZ #12108]
95386 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95387 to have entries in sys_siglist.
95388
95389 [BZ #12093]
95390 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95391 be NULL.
95392
95393 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95394
95395 [BZ #3268]
95396 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95397 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95398 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95399 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95400 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95401 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95402 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95403 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95404 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95405 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95406 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95407 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95408 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95409 * math/ftestexcept.c (fetestexcept): Likewise.
95410 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95411 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95412 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95413 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95414 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95415 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95416 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95417
95418 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95419
95420 [BZ #12107]
95421 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95422 newline.
95423
95424 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95425
95426 * string/bug-strstr1.c: New file.
95427 * string/Makefile: Add rules to build and run bug-strstr1.
95428
95429 2010-10-05 Eric Blake <eblake@redhat.com>
95430
95431 [BZ #12092]
95432 * string/str-two-way.h (two_way_long_needle): Always clear memory
95433 when skipping input due to the shift table.
95434
95435 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95436
95437 [BZ #12005]
95438 * malloc/mcheck.c: Handle large requests.
95439
95440 [BZ #12077]
95441 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95442 for strncmp and strncasecmp.
95443 * string/stratcliff.c: Add tests for strcmp and strncmp.
95444 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95445
95446 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95447
95448 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95449 __set_fpscr.
95450
95451 2010-09-30 Andreas Jaeger <aj@suse.de>
95452
95453 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95454 (CGROUP_SUPER_MAGIC): Define.
95455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95456 Handle btrfs and cgroup file systems.
95457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95458 Likewise.
95459
95460 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95461
95462 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95463 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95464
95465 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95466
95467 [BZ #12067]
95468 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95469 trying to locate the ELF header.
95470
95471 2010-09-27 Andreas Schwab <schwab@redhat.com>
95472
95473 [BZ #11611]
95474 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95475 Mask out sign-bit copies when constructing f_fsid.
95476
95477 2010-09-24 Petr Baudis <pasky@suse.cz>
95478
95479 * debug/stack_chk_fail_local.c: Add missing licence exception.
95480 * debug/warning-nop.c: Likewise.
95481
95482 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95483
95484 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95485 implementing getdents64 using getdents syscall, set d_type if
95486 __ASSUME_GETDENTS32_D_TYPE.
95487
95488 2010-09-16 Andreas Schwab <schwab@redhat.com>
95489
95490 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95491 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95492
95493 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95494
95495 [BZ #12037]
95496 * posix/unistd.h: Undo change of feature selection for ftruncate from
95497 2010-01-11.
95498
95499 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95500
95501 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95502 detection.
95503
95504 2010-09-20 Andreas Schwab <schwab@redhat.com>
95505
95506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95507 fanotify_mark.
95508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95509
95510 2010-09-14 Andreas Schwab <schwab@redhat.com>
95511
95512 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95513 variables after CHECK_SP call.
95514 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95515
95516 2010-09-13 Andreas Schwab <schwab@redhat.com>
95517 Ulrich Drepper <drepper@redhat.com>
95518
95519 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95520 re-relocationg ld.so.
95521 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95522 _dl_init_paths call.
95523 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95524 here anymore.
95525
95526 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95527
95528 * resolv/res_init.c (__res_vinit): Count the default server we added.
95529
95530 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95531 Ulrich Drepper <drepper@redhat.com>
95532
95533 [BZ #11968]
95534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95535 (____longjmp_chk): Use %ebx for saving value across system call.
95536 Add unwind info.
95537
95538 2010-09-06 Andreas Schwab <schwab@redhat.com>
95539
95540 * manual/Makefile: Don't mix pattern rules with normal rules.
95541
95542 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95543
95544 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95545 operation.
95546 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95547 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95548 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95549 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95551 Likewise.
95552
95553 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95554
95555 [BZ #11979]
95556 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95557 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95558
95559 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95560
95561 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95562 * sysdeps/x86_64/addmul_1.S: Likewise.
95563 * sysdeps/x86_64/lshift.S: Likewise.
95564 * sysdeps/x86_64/mul_1.S: Likewise.
95565 * sysdeps/x86_64/rshift.S: Likewise.
95566 * sysdeps/x86_64/sub_n.S: Likewise.
95567 * sysdeps/x86_64/submul_1.S: Likewise.
95568
95569 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95570
95571 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95572 Define __sched_param instead of SCHED_* and sched_param when
95573 <bits/sched.h> is included with __need_schedparam defined.
95574 * bits/sched.h [__need_schedparam]
95575 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95576 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95577 (__defined_schedparam): Define to 1.
95578 (__sched_param): New structure, identical to sched_param.
95579 (__need_schedparam): Undefine.
95580
95581 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95582
95583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95584 (epoll_create1): Declare.
95585
95586 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95587
95588 2010-08-31 Andreas Schwab <schwab@redhat.com>
95589
95590 [BZ #7066]
95591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95592 shifting retval into place.
95593
95594 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95595
95596 * nis/rpcsvc/nis.h: Update copyright notice.
95597 * nis/rpcsvc/nis.x: Likewise.
95598 * nis/rpcsvc/nis_callback.h: Likewise.
95599 * nis/rpcsvc/nis_callback.x: Likewise.
95600 * nis/rpcsvc/nis_object.x: Likewise.
95601 * nis/rpcsvc/nis_tags.h: Likewise.
95602 * nis/rpcsvc/yp.h: Likewise.
95603 * nis/rpcsvc/yp.x: Likewise.
95604 * nis/rpcsvc/ypupd.h: Likewise.
95605 * nis/yp_xdr.c: Likewise.
95606 * nis/ypupdate_xdr.c: Likewise.
95607
95608 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95609 mainly the body of pmap_getport. Add parameters to specify timeouts.
95610 (pmap_getport): Use __libc_rpc_getport.
95611 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95612 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95613 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95614
95615 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95616
95617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95618 fanotify_mark.
95619
95620 2010-08-27 Roland McGrath <roland@redhat.com>
95621
95622 * sysdeps/i386/i686/multiarch/Makefile
95623 (CFLAGS-varshift.c): New variable.
95624
95625 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95626
95627 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95628 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95629
95630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95631
95632 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95633
95634 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95635
95636 * sysdeps/x86_64/strlen.S: Unroll the loop.
95637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95638 strlen-sse2 strlen-sse2-bsf.
95639 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95640 __strlen_no_bsf if bit_Slow_BSF is set.
95641 (__strlen_sse42): Removed.
95642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95643 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95644
95645 2010-08-25 Roland McGrath <roland@redhat.com>
95646
95647 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95648 * sysdeps/x86_64/multiarch/varshift.c: New file.
95649 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95650 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95651 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95652 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95653
95654 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95655
95656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95657 strlen-sse2 strlen-sse2-bsf.
95658 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95659 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95660 (__strlen_sse2): Removed.
95661 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95664 bit_Slow_BSF for Atom.
95665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95666 (index_Slow_BSF): Define.
95667 (HAS_SLOW_BSF): Define.
95668
95669 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95670
95671 [BZ #10851]
95672 * resolv/res_init.c (__res_vinit): When no server address at all
95673 is given default to loopback.
95674
95675 2010-08-24 Roland McGrath <roland@redhat.com>
95676
95677 * configure.in: Remove config-name.h generation.
95678 * configure: Regenerated.
95679 * config-name.in: File removed.
95680 * scripts/config-uname.sh: New file.
95681 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95682 ($(objdir)config-name.h): New target.
95683
95684 * sunrpc/rpc_parse.h: Avoid nested comment.
95685
95686 2010-08-24 Richard Henderson <rth@redhat.com>
95687 Ulrich Drepper <drepper@redhat.com>
95688 H.J. Lu <hongjiu.lu@intel.com>
95689
95690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95692 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95693 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95694 _mm_alignr_epi8 with _mm_loadu_si128.
95695 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95696 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95697 (__m128i_shift_right): Removed.
95698 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95699 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95700 * sysdeps/x86_64/multiarch/varshift.h: New file.
95701 * sysdeps/x86_64/multiarch/varshift.S: New file.
95702
95703 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95704
95705 * configure.in: Move assembler checks to before sysdep dir checking.
95706
95707 2010-08-20 Petr Baudis <pasky@suse.cz>
95708
95709 * LICENSES: Sync the sunrpc license.
95710
95711 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95712
95713 * sunrpc/auth_des.c: Update copyright notice once again.
95714 * sunrpc/auth_none.c: Likewise.
95715 * sunrpc/auth_unix.c: Likewise.
95716 * sunrpc/authdes_prot.c: Likewise.
95717 * sunrpc/authuxprot.c: Likewise.
95718 * sunrpc/bindrsvprt.c: Likewise.
95719 * sunrpc/clnt_gen.c: Likewise.
95720 * sunrpc/clnt_perr.c: Likewise.
95721 * sunrpc/clnt_raw.c: Likewise.
95722 * sunrpc/clnt_simp.c: Likewise.
95723 * sunrpc/clnt_tcp.c: Likewise.
95724 * sunrpc/clnt_udp.c: Likewise.
95725 * sunrpc/clnt_unix.c: Likewise.
95726 * sunrpc/des_crypt.c: Likewise.
95727 * sunrpc/des_soft.c: Likewise.
95728 * sunrpc/get_myaddr.c: Likewise.
95729 * sunrpc/getrpcport.c: Likewise.
95730 * sunrpc/key_call.c: Likewise.
95731 * sunrpc/key_prot.c: Likewise.
95732 * sunrpc/openchild.c: Likewise.
95733 * sunrpc/pm_getmaps.c: Likewise.
95734 * sunrpc/pm_getport.c: Likewise.
95735 * sunrpc/pmap_clnt.c: Likewise.
95736 * sunrpc/pmap_prot.c: Likewise.
95737 * sunrpc/pmap_prot2.c: Likewise.
95738 * sunrpc/pmap_rmt.c: Likewise.
95739 * sunrpc/rpc/auth.h: Likewise.
95740 * sunrpc/rpc/auth_unix.h: Likewise.
95741 * sunrpc/rpc/clnt.h: Likewise.
95742 * sunrpc/rpc/des_crypt.h: Likewise.
95743 * sunrpc/rpc/key_prot.h: Likewise.
95744 * sunrpc/rpc/netdb.h: Likewise.
95745 * sunrpc/rpc/pmap_clnt.h: Likewise.
95746 * sunrpc/rpc/pmap_prot.h: Likewise.
95747 * sunrpc/rpc/pmap_rmt.h: Likewise.
95748 * sunrpc/rpc/rpc.h: Likewise.
95749 * sunrpc/rpc/rpc_des.h: Likewise.
95750 * sunrpc/rpc/rpc_msg.h: Likewise.
95751 * sunrpc/rpc/svc.h: Likewise.
95752 * sunrpc/rpc/svc_auth.h: Likewise.
95753 * sunrpc/rpc/types.h: Likewise.
95754 * sunrpc/rpc/xdr.h: Likewise.
95755 * sunrpc/rpc_clntout.c: Likewise.
95756 * sunrpc/rpc_cmsg.c: Likewise.
95757 * sunrpc/rpc_common.c: Likewise.
95758 * sunrpc/rpc_cout.c: Likewise.
95759 * sunrpc/rpc_dtable.c: Likewise.
95760 * sunrpc/rpc_hout.c: Likewise.
95761 * sunrpc/rpc_main.c: Likewise.
95762 * sunrpc/rpc_parse.c: Likewise.
95763 * sunrpc/rpc_parse.h: Likewise.
95764 * sunrpc/rpc_prot.c: Likewise.
95765 * sunrpc/rpc_sample.c: Likewise.
95766 * sunrpc/rpc_scan.c: Likewise.
95767 * sunrpc/rpc_scan.h: Likewise.
95768 * sunrpc/rpc_svcout.c: Likewise.
95769 * sunrpc/rpc_tblout.c: Likewise.
95770 * sunrpc/rpc_util.c: Likewise.
95771 * sunrpc/rpc_util.h: Likewise.
95772 * sunrpc/rpcinfo.c: Likewise.
95773 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95774 * sunrpc/rpcsvc/key_prot.x: Likewise.
95775 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95776 * sunrpc/rpcsvc/mount.x: Likewise.
95777 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95778 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95779 * sunrpc/rpcsvc/rex.x: Likewise.
95780 * sunrpc/rpcsvc/rstat.x: Likewise.
95781 * sunrpc/rpcsvc/rusers.x: Likewise.
95782 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95783 * sunrpc/rpcsvc/spray.x: Likewise.
95784 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95785 * sunrpc/rtime.c: Likewise.
95786 * sunrpc/svc.c: Likewise.
95787 * sunrpc/svc_auth.c: Likewise.
95788 * sunrpc/svc_authux.c: Likewise.
95789 * sunrpc/svc_raw.c: Likewise.
95790 * sunrpc/svc_run.c: Likewise.
95791 * sunrpc/svc_simple.c: Likewise.
95792 * sunrpc/svc_tcp.c: Likewise.
95793 * sunrpc/svc_udp.c: Likewise.
95794 * sunrpc/svc_unix.c: Likewise.
95795 * sunrpc/svcauth_des.c: Likewise.
95796 * sunrpc/xcrypt.c: Likewise.
95797 * sunrpc/xdr.c: Likewise.
95798 * sunrpc/xdr_array.c: Likewise.
95799 * sunrpc/xdr_float.c: Likewise.
95800 * sunrpc/xdr_mem.c: Likewise.
95801 * sunrpc/xdr_rec.c: Likewise.
95802 * sunrpc/xdr_ref.c: Likewise.
95803 * sunrpc/xdr_sizeof.c: Likewise.
95804 * sunrpc/xdr_stdio.c: Likewise.
95805
95806 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95807 handling.
95808
95809 2010-08-19 Andreas Schwab <schwab@redhat.com>
95810
95811 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95812
95813 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95814
95815 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95816 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95817 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95818 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95820 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95822 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95824 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95825 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95826 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95827 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95828 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95829
95830 2010-07-26 Anton Blanchard <anton@samba.org>
95831
95832 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95833 * malloc/arena.c (heap_trim): Likewise.
95834
95835 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95836
95837 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95838 here. Not...
95839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95840 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95841
95842 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95843
95844 * sysdeps/i386/elf/Makefile: New file.
95845
95846 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95847
95848 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95849 from fanotify_init.
95850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95852
95853 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95854
95855 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95856 of strncasecmp_l.
95857 * sysdeps/multiarch/strcmp.S: Likewise.
95858
95859 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95860
95861 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95862 strncase_l-nonascii.
95863 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95864 Add strncase_l-ssse3.
95865 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95866 * sysdeps/x86_64/strcmp.S: Likewise.
95867 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95868 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95869 * sysdeps/x86_64/strncase.S: New file.
95870 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95871 * sysdeps/x86_64/strncase_l.S: New file.
95872 * string/Makefile (strop-tests): Add strncasecmp.
95873 * string/test-strncasecmp.c: New file.
95874
95875 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95876 warning.
95877
95878 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95879 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95880
95881 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95882
95883 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95884
95885 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95886
95887 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95888 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95889 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95890
95891 2010-05-01 Alan Modra <amodra@gmail.com>
95892
95893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95894 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95895 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95896 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95897 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95898 tidying. Don't tail-call __sigjmp_save for static lib.
95899 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95900 save location.
95901 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95902 (CALL_MCOUNT): Add eh info, and nop after bl.
95903 (TAIL_CALL_SYSCALL_ERROR): New macro.
95904 (PSEUDO_RET): Use it.
95905 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95906 Correct save location of integer regs and cr.
95907 (_dl_profile_resolve): Correct cr save location. Delete nops
95908 after bl when SHARED. Reduce cfi size a little by better
95909 placement of cfi directives.
95910 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95911 make a stack frame. Instead use parm save area as a temp.
95912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95913 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95915 Don't make a stack frame for parent, use parm save area.
95916 Increase child stack frame to 112 bytes. Don't save unused reg,
95917 and adjust reg usage. Set up cfi on error recovery and
95918 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95920 (__makecontext): Add dummy nop after jump to exit.
95921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95922 Use correct parm save area and cr save, reduce stack frame.
95923 Correct cfi for possible PSEUDO_RET frame setup.
95924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95925 Branch to local label emitted by PSEUDO_RET rather than
95926 __syscall_error.
95927
95928 2010-08-12 Andreas Schwab <schwab@redhat.com>
95929
95930 [BZ #11904]
95931 * locale/programs/locale.c (print_assignment): New function.
95932 (show_locale_vars): Use it.
95933
95934 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95935
95936 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95937 field.
95938 (struct statfs64): Likewise.
95939 (_STATFS_F_FLAGS): Define.
95940 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95942 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95943 (ST_VALID): Define locally.
95944 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95945 __statvfs_getflags, use the provided value.
95946 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95947 __ASSUME_STATFS_F_FLAGS.
95948
95949 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95950
95951 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95952 Add sys/fanotify.h.
95953 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95954 fanotify_mask for GLIBC_2.13.
95955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95956 fanotify_init and fanotify_mark.
95957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95958 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95959
95960 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95961 Add prlimit.
95962 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95963 prlimit64 for GLIBC_2.13.
95964 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95965 prlimit64.
95966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95967 syscall.
95968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95969 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95970 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95971 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95973 add prlimit alias.
95974 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95975
95976 [BZ #11903]
95977 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95978 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95979
95980 * nss/Makefile: Add rules to build and run tst-nss-test1.
95981 * shlib-versions: Add entry for libnss_test1.
95982 * nss/nss_test1.c: New file.
95983 * nss/tst-nss-test1.c: New file.
95984
95985 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95986 (__nss_configure_lookup): Set appropriate entry in
95987 __nss_configure_lookup to true.
95988 * nss/nsswitch.h: Define enum with indeces of databases in
95989 databases and __nss_database_custom arrays. Declare
95990 __nss_database_custom.
95991 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95992 to avoid using nscd when custom rules are installed.
95993 * nss/getXXbyYY_r.c: Likewise.
95994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95995
95996 * nss/nss_files/files-parse.c: Whitespace fixes.
95997
95998 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95999
96000 [BZ #11883]
96001 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96002 * posix/fnmatch_loop.c: Likewise.
96003
96004 2010-07-17 Andi Kleen <ak@linux.intel.com>
96005
96006 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96007 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96008 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96009 * Versions.def [GLIBC_2.13]: Add.
96010
96011 2010-08-06 Ulrich Drepper <drepper@redhat.com>
96012
96013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96014 Also fail if tpwd after pwuid call is NULL.
96015
96016 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96017
96018 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96019 when converting to ms.
96020
96021 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96022
96023 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96024 EOPNOTSUPP errors with ENOTTY.
96025 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96026 EOPNOTSUPP errors with ENOTTY.
96027
96028 2010-07-31 Ulrich Drepper <drepper@redhat.com>
96029
96030 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96031 Add strcasecmp_l-ssse3.
96032 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96033 strcasecmp.
96034 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96035 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96036 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96037
96038 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96039
96040 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96041
96042 * string/Makefile (strop-tests): Add strcasecmp.
96043 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96044 strcasecmp_l-nonascii.
96045 (gen-as-const-headers): Add locale-defines.sym.
96046 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96047 * sysdeps/x86_64/strcasecmp.S: New file.
96048 * sysdeps/x86_64/strcasecmp_l.S: New file.
96049 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96050 * sysdeps/x86_64/locale-defines.sym: New file.
96051 * string/test-strcasecmp.c: New file.
96052
96053 * string/test-strcasestr.c: Test both ends of the range of characters.
96054 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96055
96056 2010-07-29 Roland McGrath <roland@redhat.com>
96057
96058 [BZ #11856]
96059 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96060
96061 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96062
96063 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96064 for ld.so.
96065
96066 2010-07-27 Andreas Schwab <schwab@redhat.com>
96067
96068 * manual/memory.texi (Malloc Tunable Parameters): Document
96069 M_PERTURB.
96070
96071 2010-07-26 Roland McGrath <roland@redhat.com>
96072
96073 [BZ #11840]
96074 * configure.in (-fgnu89-inline check): Set and substitute
96075 gnu89_inline, not libc_cv_gnu89_inline.
96076 * configure: Regenerated.
96077 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96078
96079 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96080
96081 * string/test-strnlen.c: New file.
96082 * string/Makefile (strop-tests): Add strnlen.
96083 * string/tester.c (test_strnlen): Add a few more test cases.
96084 * string/tst-strlen.c: Better error reporting.
96085
96086 * sysdeps/x86_64/strnlen.S: New file.
96087
96088 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96089
96090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96091 lower-latency instructions.
96092
96093 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96094
96095 * string/test-strcasestr.c: New file.
96096 * string/test-strstr.c: New file.
96097 * string/Makefile (strop-tests): Add strstr and strcasestr.
96098 * string/str-two-way.h: Don't undefine MAX.
96099 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96100
96101 2010-07-21 Andreas Schwab <schwab@redhat.com>
96102
96103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96104 strcasestr-nonascii.
96105 (CFLAGS-strcasestr-nonascii.c): Define.
96106 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96108 Remove unused attribute.
96109
96110 2010-07-20 Roland McGrath <roland@redhat.com>
96111
96112 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96113 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96114 ld.so.cache was broken. With it, there is no way to disable dsocaps
96115 like LD_HWCAP_MASK can disable hwcaps.
96116
96117 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96118
96119 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96120
96121 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96122
96123 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96124 call in strcasestr.
96125 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96126 __strcasestr_sse42_nonascii.
96127 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96128 strcasestr-nonascii.c.
96129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96130
96131 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96132
96133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96135 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96137
96138 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96139
96140 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96141 fcntl.
96142
96143 2010-07-06 Andreas Schwab <schwab@redhat.com>
96144
96145 [BZ #11577]
96146 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96147 dl_signal_cerror.
96148
96149 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96150
96151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96152 _PC_PIPE_BUF using F_GETPIPE_SZ.
96153
96154 2010-07-05 Roland McGrath <roland@redhat.com>
96155
96156 * manual/arith.texi (Rounding Functions): Fix rint description
96157 implicit in round description.
96158
96159 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96160
96161 * elf/Makefile: Fix linking for a few tests to make recent linker
96162 happy.
96163
96164 2010-06-30 Andreas Schwab <schwab@redhat.com>
96165
96166 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96167 $(common-objpfx)libc_nonshared.a.
96168
96169 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96170
96171 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96172 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96173 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96174 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96175 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96176 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96177 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96178 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96193 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96194 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96195 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96196 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96197 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96198 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96199 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96200 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96201 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96202 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96203 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96204 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96219
96220 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96221
96222 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96223 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96224 * string/memmove.c (memmove): Renamed to ...
96225 (MEMMOVE): ...this. Default to memmove.
96226 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96227 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96228 (END_CHK): Define.
96229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96230 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96231 mempcpy-ssse3-back memmove-ssse3-back.
96232 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96234 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96235 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96236 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96237 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96238 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96239 * sysdeps/x86_64/multiarch/memmove.c: New file.
96240 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96241 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96242 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96243 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96246 Define.
96247 (index_Fast_Copy_Backward): Define.
96248 (HAS_ARCH_FEATURE): Define.
96249 (HAS_FAST_REP_STRING): Define.
96250 (HAS_FAST_COPY_BACKWARD): Define.
96251
96252 2010-06-21 Andreas Schwab <schwab@redhat.com>
96253
96254 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96255 Restore proper fallback handling.
96256
96257 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96258
96259 [BZ #11701]
96260 * posix/group_member.c (__group_member): Correct checking loop.
96261
96262 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96263 OOM in getpwuid_r correctly. Return error number when the caller
96264 should return, otherwise -1.
96265 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96266 call returning > 0 value.
96267 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96268
96269 2010-06-07 Andreas Schwab <schwab@redhat.com>
96270
96271 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96272 libc_nonshared.a from targets in modules-names.
96273
96274 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96275
96276 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96277 requires it.
96278
96279 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96280
96281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96282 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96284 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96285
96286 2010-06-02 Andreas Schwab <schwab@redhat.com>
96287
96288 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96289
96290 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96291
96292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96293 and F_GETPIPE_SZ.
96294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96300
96301 2010-06-14 Roland McGrath <roland@redhat.com>
96302
96303 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96304
96305 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96306
96307 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96308 __REDIRECT followed by __THROW.
96309 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96310 * posix/getopt.h (getopt): Likewise.
96311
96312 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96313
96314 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96315 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96316 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96317 in AT_FLAGS.
96318 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96319 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96320
96321 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96322
96323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96324
96325 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96326
96327 [BZ #11640]
96328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96329 Properly check family and model.
96330
96331 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96332
96333 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96334
96335 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96336
96337 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96338
96339 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96340
96341 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96342 symbol reference.
96343
96344 2010-05-19 Andreas Schwab <schwab@redhat.com>
96345
96346 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96347 symbol reference.
96348
96349 2010-05-21 Andreas Schwab <schwab@redhat.com>
96350
96351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96352 and internal_recvmmsg.
96353 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96354 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96355 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96356 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96357
96358 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96359 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96360 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96361
96362 2010-05-20 Andreas Schwab <schwab@redhat.com>
96363
96364 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96365
96366 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96367
96368 POWER7 optimizations.
96369 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96370 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96371
96372 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96373
96374 * version.h: Update for 2.13 development version.
96375
96376 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96377
96378 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96379 exceptions. Return 0.
96380
96381 2010-05-07 Roland McGrath <roland@redhat.com>
96382
96383 * elf/ldconfig.c (main): Add a const.
96384
96385 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96386
96387 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96388 (args_options): Add no-idn option.
96389 (ahosts_keys_int): Add idn_flags to ai_flags.
96390 (parse_option): Handle 'i' option to clear idn_flags.
96391
96392 * malloc/malloc.c (_int_free): Possible race in the most recently
96393 added check. Only act on the data if no current modification
96394 happened.
96395
96396 See ChangeLog.17 for earlier changes.