]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Avoid backtrace from __stack_chk_fail [BZ #12189]
[thirdparty/glibc.git] / ChangeLog
1 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #12189]
4 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
5 (tests): Add tst-ssp-1 if -fstack-protector works.
6 * debug/fortify_fail.c: Include <stdbool.h>.
7 (_fortify_fail_abort): New function.
8 (__fortify_fail): Call _fortify_fail_abort.
9 (__fortify_fail_abort): Add a hidden definition.
10 * debug/stack_chk_fail.c: Include <stdbool.h>.
11 (__stack_chk_fail): Call __fortify_fail_abort, instead of
12 __fortify_fail.
13 * debug/tst-ssp-1.c: New file.
14 * include/stdio.h (__libc_message_action): New enum.
15 (__libc_message): Replace int with enum __libc_message_action.
16 (__fortify_fail_abort): New hidden prototype.
17 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
18 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
19 with enum __libc_message_action. Call BEFORE_ABORT only if
20 action includes do_backtrace.
21 (__libc_fatal): Update __libc_message call.
22
23 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24
25 [BZ #21738]
26 * manual/llio.texi (RWF_NOWAIT): New item.
27 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
28 Add RWF_NOWAIT check.
29 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
30
31 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32
33 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
34 Support running on kernels without PTRACE_SINGLEBLOCK.
35
36 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
37
38 [BZ #21742]
39 * elf/Makefile (dl-routines): Move dl-conflict to ...
40 (rtld-routines): Here.
41
42 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
43
44 [BZ #21741]
45 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
47 in libc.so.
48
49 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
50
51 * sysdeps/hppa/fpu/libm-test-ulps: Update.
52
53 [BZ #21016]
54 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
55 Fix typo.
56 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
57 bits/types/struct_timespec.h.
58 (PTHREAD_MUTEX_INITIALIZER): Revise define.
59 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
60 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
61 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
62 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
63 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
64 (PTHREAD_COND_INITIALIZER): Likewise.
65 Remove old definitions.
66 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
67 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
68 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
69 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
70 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
71 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
72
73 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
74
75 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
76 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
77 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
78 * sysdeps/x86_64/multiarch/memset.c: Likewise.
79 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
80 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
81 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
82 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
83 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
84 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
85 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
86 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
87 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
88 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
89 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
90 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
91
92 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
93
94 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
95
96 2017-07-09 Helge Deller <deller@gmx.de>
97
98 [BZ #21049]
99 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
100 up to avoid clobbering r26.
101
102 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
103
104 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
105 profiled objects.
106
107 2017-07-06 DJ Delorie <dj@redhat.com>
108
109 * manual/tunables.texi: Add missing @end deftp.
110
111 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
112
113 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
114 (do_test): Call it.
115
116 2017-07-06 DJ Delorie <dj@redhat.com>
117
118 * config.make.in: Enable experimental malloc option.
119 * configure.ac: Likewise.
120 * configure: Regenerate.
121 * manual/install.texi: Document it.
122 * INSTALL: Regenerate.
123 * malloc/Makefile: Likewise.
124 * malloc/malloc.c: Add per-thread cache (tcache).
125 (tcache_put): New.
126 (tcache_get): New.
127 (tcache_thread_freeres): New.
128 (tcache_init): New.
129 (__libc_malloc): Use cached chunks if available.
130 (__libc_free): Initialize tcache if needed.
131 (__libc_realloc): Likewise.
132 (__libc_calloc): Likewise.
133 (_int_malloc): Prefill tcache when appropriate.
134 (_int_free): Likewise.
135 (do_set_tcache_max): New.
136 (do_set_tcache_count): New.
137 (do_set_tcache_unsorted_limit): New.
138 * manual/probes.texi: Document new probes.
139 * malloc/arena.c: Add new tcache tunables.
140 * elf/dl-tunables.list: Likewise.
141 * manual/tunables.texi: Document them.
142 * NEWS: Mention the per-thread cache.
143
144 2017-07-06 Joseph Myers <joseph@codesourcery.com>
145
146 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
147 * misc/tst-tsearch.c (TIMEOUT): Remove.
148 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
149 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
150 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
151 * string/tst-cmp.c (TIMEOUT): Define to 600.
152
153 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
154
155 [BZ #21715]
156 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
157 on definition.
158
159 2017-07-06 Florian Weimer <fweimer@redhat.com>
160 H.J. Lu <hongjiu.lu@intel.com>
161
162 [BZ #21609]
163 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
164 (gen-as-const-headers): Add rtld-offsets.sym.
165 * sysdeps/x86_64/dl-tls.c: New file.
166 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
167 * sysdeps/x86_64/tls_get_addr.S: Likewise.
168 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
169 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
170 (TI_OFFSET_OFFSET): Likwise.
171
172 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
173
174 [BZ# 21697]
175 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
176
177 2017-07-05 Florian Weimer <fweimer@redhat.com>
178
179 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
180 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
181 * resolv/tst-resolv-threads.c: New file.
182
183 2017-07-05 Florian Weimer <fweimer@redhat.com>
184
185 support: Add resolver testing mode which does not patch _res.
186 * support/resolv_test.h (struct resolv_redirect_config): Add
187 disable_redirect, server_address_overrides.
188 * support/resolv_test.c (make_server_sockets_for_address): New
189 function.
190 (resolv_test_start): Call it.
191
192 2017-07-05 Florian Weimer <fweimer@redhat.com>
193
194 * support/namespace.h (struct support_chroot_configuration)
195 (struct support_chroot): Define.
196 (support_chroot_create, support_chroot_free): New functions.
197 * support/support_chroot.c: New file.
198 * support/Makefile (libsupport-routines): Add support_chroot.
199 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
200 (path_resolv_conf): Remove definitions.
201 (chroot_env): New variable.
202 (prepare): Call support_chroot_create.
203 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
204 (special_test_callback, do_test): Likewise.
205
206 2017-07-05 Florian Weimer <fweimer@redhat.com>
207
208 Add subtest to check isolation of multiple loopback addresses.
209 * support/tst-support-namespace.c (test_localhost_bind): New function.
210 (do_test): Call it.
211
212 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
213
214 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
215 * libio/libioP.h (_IO_enable_locks): Declare.
216 * libio/Versions (_IO_enable_locks): New symbol.
217 * libio/genops.c (_IO_enable_locks): Define.
218 (_IO_old_init): Initialize flags2.
219 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
220 * libio/ferror.c (_IO_ferror): Likewise.
221 * libio/fputc.c (fputc): Likewise.
222 * libio/putc.c (_IO_putc): Likewise.
223 * libio/getc.c (_IO_getc): Likewise.
224 * libio/getchar.c (getchar): Likewise.
225 * libio/ioungetc.c (_IO_ungetc): Likewise.
226 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
227 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
228 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
229
230 2017-07-04 Florian Weimer <fweimer@redhat.com>
231
232 [BZ #21542]
233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
234 two if no accurate information is available.
235 * posix/tst-sysconf-empty-chroot.c: New file.
236 * posix/Makefile (tests): Add it.
237
238 2017-07-04 Florian Weimer <fweimer@redhat.com>
239
240 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
241 server and sort list counts. Fix improper check for empty search
242 path (completely missing domain name) leading to assertion failure
243 in update_from_conf.
244 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
245 hostname member.
246 (run_res_init): Set host name if requested.
247 (test_cases): Update.
248
249 2017-07-04 Joseph Myers <joseph@codesourcery.com>
250
251 * scripts/build-many-glibcs.py (Context.checkout): Default
252 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
253 kernel version to 4.12.
254
255 2017-07-04 Florian Weimer <fweimer@redhat.com>
256
257 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
258 list management and the role of free_list_start.
259 (decrement_at_index): Put zero at the end of the free list.
260 (__resolv_conf_attach): Fix bogus assert.
261 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
262 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
263
264 2017-07-03 Florian Weimer <fweimer@redhat.com>
265
266 resolv: Introduce free list for resolv_conf index slosts.
267 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
268 type to uintptr_t.
269 (struct resolv_conf_global): Add free_list_start member.
270 (resolv_conf_get_1): Check for free list entry.
271 (decrement_at_index): Put freed slot on the free list.
272 (__resolv_conf_attach): Obtain new slot from the free list.
273 * resolv/tst-resolv-res_ninit.c: New file.
274 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
275 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
276 (generated): Add mtrace-tst-resolv-res_ninit.out,
277 tst-resolv-res_ninit.mtrace.
278 (mtrace-tst-resolv-res_ninit.out): Add target.
279
280 2017-06-30 Florian Weimer <fweimer@redhat.com>
281
282 [BZ #984]
283 Reload /etc/resolv.conf if has been changed on disk.
284 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
285 (__resolv_conf_load, __resolv_conf_get_current): Declare.
286 * resolv/resolv_conf.c (struct resolv_conf_global): Add
287 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
288 (__resolv_conf_get_current): New function.
289 (__resolv_conf_allocate): Do not initialize initstamp.
290 (freeres): Deallocate global->conf_current.
291 * resolv/resolv.h (RES_NORELOAD): Define.
292 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
293 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
294 * resolv/resolv_context.c (replicated_configuration_matches): New.
295 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
296 the current configration.
297 * resolv/res_init.c (__res_initstamp): Remove variable definition.
298 (has_preinit_values): New function.
299 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
300 parameter and do not call __resolv_conf_attach.
301 (__res_vinit): Reimplement based __resolv_conf_load.
302 (res_options): Handle no-reload.
303 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
304 (lock): Remove.
305 (res_int): Do not update __res_initstamp.
306 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
307 RES_NORELOAD.
308 (test_cases): Test no-reload.
309 (special_test_call_res_init): Remove.
310 (special_test_callback): Rely on automated reloading. Add tests
311 for no-reload.
312
313 2017-06-30 Florian Weimer <fweimer@redhat.com>
314
315 Mirror the entire resolver configuration in struct resolv_conf.
316 * resolv/resolv_context.h (__resolv_context_nameserver_count)
317 (__resolv_context_nameserver): New functions.
318 (__resolv_context_sort_count, __resolv_context_sort_entry):
319 Likewise.
320 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
321 resolv_context parameter.
322 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
323 (addrsort): Switch to struct resolv_context.
324 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
325 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
326 sort_list, sort_list_size, options, retrans, retry, ndots members.
327 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
328 (same_address): New functions.
329 (resolv_conf_matches): Compare the new array members.
330 (__resolv_conf_allocate): Allocate and copy the new array members.
331 (update_from_conf): Copy the entire configuration.
332 * resolv/res_init.c (struct nameserver_list, struct sort_list):
333 Define using dynarray.
334 (struct resolv_conf_parser): Add nameserver_list, sort_list,
335 template members.
336 (resolv_conf_parser_init): Add preinit argument. Initialize the
337 new members.
338 (resolv_conf_parser_free): Deallocate the new arrays.
339 (allocate_address_v4): New function.
340 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
341 (res_vinit_1): Drop res_state parameter. Write all parsed date to
342 the parser object instead. Use allocate_address_v4 to allocate
343 IPv4 addresses.
344 (__res_vinit): Adjust.
345 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
346 extended name server list.
347 (test_cases): Adjust.
348
349 2017-06-30 Florian Weimer <fweimer@redhat.com>
350
351 [BZ #19569]
352 [BZ #21475]
353 Support an arbitrary number of search domains.
354 * resolv/resolv_context.h (__resolv_context_search_list): New.
355 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
356 search_list_size members.
357 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
358 (__resolv_conf_allocate): Allocate and and copy search list.
359 (update_from_conf): Copy the search list.
360 * resolv/res_init.c (struct search_list): Define using dynarray.
361 (struct resolv_conf_parser): Define.
362 (resolv_conf_parser_init, resolv_conf_parser_free)
363 (domain_from_hostname): New functions.
364 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
365 struct search_list to collect search list entries. Call
366 domain_from_hostname to obtain the fallback domain name.
367 (__res_vinit): Create and destroy parser object. Pass search list
368 to __resolv_conf_allocate.
369 * resolv/res_query.c (__res_context_search): Use
370 __resolv_context_search_list to obtain search list entries.
371 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
372 from extended resolver context.
373 (test_cases): Update.
374
375 2017-06-30 Florian Weimer <fweimer@redhat.com>
376
377 Add extended resolver state/configuration (struct resolv_conf).
378 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
379 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
380 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
381 (__res_vinit): Call __resolv_conf_allocate and
382 __resolv_conf_attach.
383 * resolv/resolv_context.h (struct resolv_context): Add conf member
384 of type struct resolv_conf.
385 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
386 resolv_conf. Update conf member after initialization.
387 * resolv/Makefile (routines): Add resolv_conf.
388 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
389 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
390 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
391 _u._ext.__glibc_reserved.
392
393 2017-06-30 Florian Weimer <fweimer@redhat.com>
394
395 [BZ #21668]
396 Introduce temporary resolver contexts (struct resolv_conf).
397 * resolv/resolv-internal.h (__res_context_mkquery)
398 (__res_context_searchl __res_context_query, __res_context_send)
399 (__res_context_hostalias): Declare.
400 (__res_nopt): Switch to struct resolv_context.
401 * resolv/res_use_inet6.h: New file.
402 * resolv/resolv_context.h: Likewise.
403 * resolv/resolv_context.c: Likewise.
404 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
405 Renamed from res_gethostbyname2. Use struct resolv_context.
406 (res_gethostbyname2): New function. Implement using
407 res_gethostbyname2_context.
408 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
409 struct resolv_context.
410 (res_gethostbyaddr): New function. Implement using
411 res_gethostbyaddr_context.
412 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
413 resolv_context.
414 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
415 _nss_dns_gethostbyname3_r. Use struct resolv_context.
416 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
417 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
418 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
419 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
420 (_nss_dns_getnetbyaddr_r): Likewise.
421 * resolv/res-close.c (res_thread_freeres): Call
422 __resolv_context_freeres.
423 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
424 maybe_init in resolv/resolv_context.c.
425 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
426 res_nmkquery. Use struct resolv_context.
427 (context_mkquery_common): New function.
428 (res_nmkquery, res_mkquery): Use it.
429 (res_nopt): Switch to struct resolv_context.
430 * resolv/res_query.c (__res_context_querydomain): Renamed from
431 __libc_res_nquerydomain. Use struct resolv_context.
432 (__res_context_query): Renamed from __libc_res_nquery. Use struct
433 resolv_context.
434 (context_query_common): New function.
435 (res_nquery, res_query): Use it.
436 (__res_context_search): Renamed from __libc_res_nsearch. Use
437 struct resolv_context.
438 (context_search_common): New function.
439 (res_nsearch, res_search): Use it.
440 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
441 Use struct resolv_context.
442 (context_querydomain_common): New function.
443 (res_nquerydomain, res_querydomain): Use it.
444 (__res_context_hostalias): Rename from res_hostalias. Use struct
445 resolv_context.
446 (context_hostalias_common): New function.
447 (res_hostalias, hostalias): Use it.
448 * resolv/res_send.c (__res_context_send): Renamed from
449 __libc_res_nsend. Use struct resolv_context.
450 (context_send_common): New function.
451 (res_nsend, res_send): Use it.
452 * resolv/Makefile (routines): Add resolv_context.
453 * resolv/Versions (libc): Export __resolv_context_get,
454 __resolv_context_get_preinit, __resolv_context_get_override,
455 __resolv_context_put. Remove __res_maybe_init.
456 (libresolv): Export __res_context_query, __res_context_search,
457 __res_context_hostalias. Remove __libc_res_nquery,
458 __libc_res_nsearch.
459 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
460 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
461 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
462 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
463 prototypes.
464 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
465 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
466 from __nss_hostname_digits_dots. Use struct resolv_context.
467 (__nss_hostname_digits_dots): New function.
468 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
469 struct resolv_context object. Call new function
470 __nss_hostname_digits_dots_context.
471 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
472 * nss/getnssent_r.c (__nss_setent): Likewise.
473 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
474 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
475 instead of direct _res manipulation.
476 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
477
478 2017-07-03 Florian Weimer <fweimer@redhat.com>
479
480 * resolv/tst-resolv-res_init-skeleton.c
481 (special_tests_count, special_test_call_res_init)
482 (special_test_callback, special_test_thread_func)
483 (run_special_test_on_thread, special_test): Define.
484 (do_test): call special_test.
485 (test_init_names): Fix typo.
486
487 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
488
489 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
490 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
491
492 2017-07-01 Florian Weimer <fweimer@redhat.com>
493 H.J. Lu <hongjiu.lu@intel.com>
494
495 [BZ #21696]
496 * posix/sched_cpucount.c: Don't include <limits.h>.
497 (__sched_cpucount): Use __builtin_popcount.
498
499 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
500
501 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
502 Fix typo.
503
504 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
505
506 * include/math.h (__signbitf128): Define as hidden.
507 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
508 Reimplement without builtins.
509 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
510 (__builtin_signbitf128): Define to __signbitf128.
511 * sysdeps/powerpc/bits/floatn.h: Likewise.
512 * sysdeps/x86/bits/floatn.h: Likewise.
513
514 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
515
516 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
517 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
518 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
520 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
521 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
522 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
523 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
526 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
528 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
529 fcntl_common and add check for F_GETOWN.
530 (__libc_fcntl): Use SYSCALL_CANCEL macro.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
532 use default implementation.
533
534 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
535
536 * elf/dl-tunables.h (tunable_is_name): Move from...
537 * elf/dl-tunables.c (is_name): ... here.
538 (parse_tunables, __tunables_init): Adjust.
539 * manual/tunables.texi: Document glibc.tune.cpu.
540 * sysdeps/aarch64/dl-tunables.list: New file.
541 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
542 cpu_list): New type.
543 (cpu_list): New list of CPU names and their MIDR.
544 (get_midr_from_mcpu): New function.
545 (init_cpu_features): Override MIDR if necessary.
546
547 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
548 (__libc_ifunc_impl_list): Unconditionally select thunderx
549 routine for testing.
550
551 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
552
553 [BZ #21120]
554 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
555 * sysdeps/generic/malloc-alignment.h: Here. New file.
556 * sysdeps/i386/malloc-alignment.h: Likewise.
557 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
558
559 2017-06-30 Florian Weimer <fweimer@redhat.com>
560
561 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
562 variable.
563 (test_file_contents): Use it.
564
565 2017-06-30 Florian Weimer <fweimer@redhat.com>
566
567 * resolv/res_init.c (res_setoptions): Remove source argument.
568 (res_vinit_1): Adjust.
569
570 2017-06-30 Florian Weimer <fweimer@redhat.com>
571
572 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
573
574 2017-06-30 Florian Weimer <fweimer@redhat.com>
575
576 * resolv/res_data.c: Reformat to GNU style.
577 (res_close): Update comments.
578
579 2017-06-30 Florian Weimer <fweimer@redhat.com>
580
581 * resolv/res_data.c (res_query, res_search, res_querydomain)
582 (hostalias): Move to ...
583 * resolv/res_Send.c (res_query, res_search, res_querydomain)
584 (hostalias): here.
585
586 2017-06-30 Florian Weimer <fweimer@redhat.com>
587
588 * resolv/res_data.c (res_isourserver, res_send): Move to ...
589 * resolv/res_send.c (res_isourserver, res_send): here.
590
591 2017-06-30 Florian Weimer <fweimer@redhat.com>
592
593 * resolv/res_debug.c (_res_opcodes): Rename ...
594 (res_opcodes): ... as compatibility symbol.
595 (fp_nquery): Use res_opcodes.
596 * include/resolv.h (_res_opcodes): Remove declaration.
597
598 2017-06-30 Florian Weimer <fweimer@redhat.com>
599
600 * include/resolv.h (res_pquery): Remove declaration.
601 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
602 functions.
603 (_res_opcodes): Remove variable.
604 * resolv/res_debug.c (do_section): Receive pfcode instead of
605 statp.
606 (res_pquery): Rename ...
607 (fp_nquery): to this function. Skip unnecessary _res
608 initialization.
609 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
610
611 2017-06-30 Florian Weimer <fweimer@redhat.com>
612
613 * resolv/res_debug.h: Remove file.
614 * resolv/README: Adjust.
615
616 2017-06-30 Florian Weimer <fweimer@redhat.com>
617
618 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
619 conditionals.
620 (Aerror, Perror): Remove function definitions.
621
622 2017-06-30 Florian Weimer <fweimer@redhat.com>
623
624 * resolv/res_data.c (res_mkquery): Move ...
625 * resolv/res_mkquery.c (res_mkquery): to here.
626
627 2017-06-30 Florian Weimer <fweimer@redhat.com>
628
629 * resolv/res_mkquery.c: Reformat to GNU style.
630 (T_OPT): Remove definition. It is present in the header file.
631
632 2017-06-30 Florian Weimer <fweimer@redhat.com>
633
634 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
635 conditionals.
636
637 2017-06-30 Florian Weimer <fweimer@redhat.com>
638
639 * support/support_capture_subprocess_check.c
640 (support_capture_subprocess_check): Report actual exit status.
641
642 2017-06-30 Florian Weimer <fweimer@redhat.com>
643
644 [BZ #19570]
645 * resolv/res_send.c (nameserver_offset): New function.
646 (__libc_res_nsend): Use it to implement RES_ROTATE.
647 (get_nsaddr): Add assert with name server
648 range check.
649 * resolv/Makefile (xtests): Add tst-resolv-rotate.
650 (tst-resolv-rotate): Link against libpthread.
651 * resolv/tst-resolv-rotate.c: New file.
652
653 2017-06-29 Joseph Myers <joseph@codesourcery.com>
654
655 [BZ #21457]
656 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
657 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
658 [__WORDSIZE == 64] (MC_PC): Likewise.
659 [__WORDSIZE == 64] (MC_NPC): Likewise.
660 [__WORDSIZE == 64] (MC_Y): Likewise.
661 [__WORDSIZE == 64] (MC_G1): Likewise.
662 [__WORDSIZE == 64] (MC_G2): Likewise.
663 [__WORDSIZE == 64] (MC_G3): Likewise.
664 [__WORDSIZE == 64] (MC_G4): Likewise.
665 [__WORDSIZE == 64] (MC_G5): Likewise.
666 [__WORDSIZE == 64] (MC_G6): Likewise.
667 [__WORDSIZE == 64] (MC_G7): Likewise.
668 [__WORDSIZE == 64] (MC_O0): Likewise.
669 [__WORDSIZE == 64] (MC_O1): Likewise.
670 [__WORDSIZE == 64] (MC_O2): Likewise.
671 [__WORDSIZE == 64] (MC_O3): Likewise.
672 [__WORDSIZE == 64] (MC_O4): Likewise.
673 [__WORDSIZE == 64] (MC_O5): Likewise.
674 [__WORDSIZE == 64] (MC_O6): Likewise.
675 [__WORDSIZE == 64] (MC_O7): Likewise.
676 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
677 __MC_NGREG if [__USE_MISC].
678 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
679 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
680 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
681 Define fields using __ctx.
682 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
683 using __ctx.
684 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
685 (REG_PSR): Define only for [__USE_MISC].
686 (REG_PC): Likewise.
687 (REG_nPC): Likewise.
688 (REG_Y): Likewise.
689 (REG_G1): Likewise.
690 (REG_G2): Likewise.
691 (REG_G3): Likewise.
692 (REG_G4): Likewise.
693 (REG_G5): Likewise.
694 (REG_G6): Likewise.
695 (REG_G7): Likewise.
696 (REG_O0): Likewise.
697 (REG_O1): Likewise.
698 (REG_O2): Likewise.
699 (REG_O3): Likewise.
700 (REG_O4): Likewise.
701 (REG_O5): Likewise.
702 (REG_O6): Likewise.
703 (REG_O7): Likewise.
704 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
705 [__WORDSIZE == 64] (REG_FPRS): Likewise.
706 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
707 (gregset_t): Define using __NGREG.
708 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
709 __SPARC_MAXREGWINDOW if [__USE_MISC].
710 (struct rwindow): Rename to struct __rwindow. Define fields using
711 __ctx.
712 (rw_fp): Define only for [__USE_MISC].
713 (rw_rtn): Likewise.
714 (gwindows_t): Remove struct tag. Define fields using __ctx and
715 __SPARC_MAXREGWINDOW.
716 (MAXFPQ): Define only for [__USE_MISC].
717 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
718 (struct fq): Rename to struct __fq. Define fields using __ctx.
719 (FPU_REGS_TYPE): Define only for [__USE_MISC].
720 (FPU_DREGS_TYPE): Likewise.
721 (V7_FPU_FSR_TYPE): Likewise.
722 (V9_FPU_FSR_TYPE): Likewise.
723 (V9_FPU_FPRS_TYPE): Likewise.
724 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
725 using __ctx.
726 [__WORDSIZE != 64] (fpregset_t): Likewise.
727 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
728 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
729 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
730 Rename field filler to __glibc_reserved1.
731 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
732 (MC_FILLER): Remove.
733
734 2017-06-29 Florian Weimer <fweimer@redhat.com>
735
736 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
737 Adjust format string.
738 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
739 dependency.
740
741 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
742
743 * sysdeps/posix/spawni.c (__spawni_child): New function.
744 (__spawni): Rename to __spawnix.
745
746 2017-06-29 Florian Weimer <fweimer@redhat.com>
747
748 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
749 Use it to make the temporary copy at the start of the work buffer.
750 (process_arg): Adjust call to group_number.
751
752 2017-06-29 Florian Weimer <fweimer@redhat.com>
753
754 * stdio-common/vfprintf.c (printf_positional): Use struct
755 scratch_buffer to allocate backing storage for the args_value,
756 args_size, args_type arrays.
757
758 2017-06-29 Florian Weimer <fweimer@redhat.com>
759
760 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
761 scratch_buffer.
762
763 2017-06-29 Florian Weimer <fweimer@redhat.com>
764
765 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
766 wchar_t builds.
767
768 2017-06-29 Florian Weimer <fweimer@redhat.com>
769
770 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
771 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
772
773 2017-06-29 Florian Weimer <fweimer@redhat.com>
774
775 * stdio-common/tst-vfprintf-user-type.c: New file.
776 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
777
778 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
779
780 * posix/tst-spawn2.c (do_test): Use libsupport.
781 * posix/tst-spawn3.c (do_test): Likewise.
782
783 2017-06-28 Joseph Myers <joseph@codesourcery.com>
784
785 * math/gen-tgmath-tests.py (Tests.__init__): Define
786 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
787
788 * math/tgmath.h: Include <bits/libc-header-start.h> and
789 <bits/floatn.h>.
790 (__TGMATH_F128): New macro.
791 (__TGMATH_CF128): Likewise.
792 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
793 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
794 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
795 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
796 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
797 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
798 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
799 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
800 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
801 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
802 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
803 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
804 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
805 (__TGMATH_BINARY_REAL_IMAG): Likewise.
806 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
807 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
808 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
809 _FloatNx types if the corresponding HUGE_VAL macros are defined.
810
811 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
812 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
813 complex arguments.
814
815 [BZ #21687]
816 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
817 (totalorder): Use it.
818 (totalordermag): Likewise.
819 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
820 totalorder and totalordermag.
821 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
822 totalordermag in arguments of calls to those functions.
823 (NCALLS): Change to 134.
824
825 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
826 cast to return type argument.
827 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
828 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
829 (llrint): Likewise.
830 (lround): Likewise.
831 (llround): Likewise.
832 (ilogb): Likewise.
833 (llogb): Likewise.
834 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
835 (ufromfp): Likewise.
836 (fromfpx): Likewise.
837 (ufromfpx): Likewise.
838
839 [BZ #21607]
840 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
841 [LDBL_MANT_DIG > DBL_MANT_DIG].
842 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
843 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
844 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
845 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
846 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
847 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
848 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
849 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
850 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
851 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
852 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
853 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
854 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
855 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
856 * math/test-tgmath.c: Include <float.h>.
857 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
858 DBL_MANT_DIG].
859 * math/test-tgmath2.c: Include <float.h>.
860 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
861 DBL_MANT_DIG].
862
863 * math/gen-tgmath-tests.py: New file.
864 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
865 [PYTHON] (generated): Add test-tgmath3.c.
866 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
867 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
868
869 * configure.ac (AS): Require binutils 2.25 or later.
870 (LD): Likewise.
871 * configure: Regenerated.
872 * sysdeps/s390/configure.ac (AS): Remove version check.
873 * sysdeps/s390/configure: Regenerated.
874 * sysdeps/x86_64/configure.ac (AS): Remove version check.
875 * sysdeps/x86_64/configure: Regenerated.
876 * manual/install.texi (Tools for Compilation): Document
877 requirement for binutils 2.25 or later.
878 * INSTALL: Regenerated.
879
880 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
881
882 [BZ #14995]
883 * configure.ac: Allow gold 1.14 or above to configire glibc
884 * configure: Regenerated.
885
886 2017-06-28 Joseph Myers <joseph@codesourcery.com>
887
888 [BZ #21457]
889 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
890 struct tag.
891 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
892 Likewise.
893 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
894 Likewise.
895 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
896 Declare struct type with __ctx.
897 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
898 tag.
899 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
900 and regs field name.
901
902 2017-06-27 Joseph Myers <joseph@codesourcery.com>
903
904 * elf/loadtest.c (OUT): Define using do { } while (0).
905
906 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
907 (DO_NUMBER_SPACEPAD): Likewise.
908
909 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
910
911 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
912 sysdep_routines.
913 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
914 __memchr_neon.
915 Add ifunc definitions for __memchr_neon and __memchr_noneon.
916 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
917 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
918 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
919
920 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
921
922 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
923 Use vector and cu21 instruction.
924 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
925 Add __to_utf8_loop_vx_cu in ifunc resolver.
926
927 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
928
929 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
930 Use vector and cu24 instruction.
931
932 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
933
934 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
935 Use vector and cu42 instruction.
936 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
937 Add __to_utf16_loop_vx_cu in ifunc resolver.
938
939 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
940
941 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
942 Use vector and cu41 instruction.
943 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
944 in ifunc resolver.
945
946 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
947
948 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
949 Add vxd, vxe, gs flag.
950 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
951 HWCAP_S390_GS capability.
952 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
953 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
954
955 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
956
957 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
958 the first 32 bytes before checking size when size >= 32 bytes.
959 Replace vpmovmskb/subl/jnz with vptest/jnc.
960
961 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
962
963 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
964 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
965
966 2017-06-27 Florian Weimer <fweimer@redhat.com>
967
968 Work around test timeouts with ICMP rate limiting on localhost.
969 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
970 function.
971 (do_test): Call it.
972
973 2017-06-27 Florian Weimer <fweimer@redhat.com>
974
975 Call _res_hconf_init from __res_vinit.
976 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
977 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
978 (NEED__RES): Define.
979 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
980 (NEED__RES): Define.
981 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
982 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
983 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
984 (NEED__RES): Define.
985 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
986 _res_hconf_init.
987 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
988 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
990 _res_hconf_init.
991
992 2017-06-26 Joseph Myers <joseph@codesourcery.com>
993
994 * sysdeps/ia64/Implies: Add ieee754/float128.
995 * sysdeps/ia64/bits/floatn.h: New file.
996 * sysdeps/ia64/float128-abi.h: Likewise.
997 * manual/math.texi (Mathematics): Document support for _Float128
998 on ia64.
999 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1000 Makefile variable.
1001 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1002 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1003 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1004 * sysdeps/ia64/math-tests.h: New file.
1005 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1006 based on TEST_COND_binary128 for [__ia64__].
1007 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1008 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1009
1010 [BZ #21457]
1011 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1012 ucontext_t.
1013 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1014 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1015 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1016 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1017 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1018 ucontext): Likewise.
1019 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1020 Likewise.
1021 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1022 Likewise.
1023 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1024 Likewise.
1025 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1026 Likewise.
1027 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1028 Likewise.
1029 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1030 Likewise.
1031 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1032 Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1034 ucontext): Likewise.
1035 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1036 Likewise.
1037 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1038 Likewise.
1039 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1040 Likewise.
1041 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1042 Likewise.
1043 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1044 Likewise.
1045 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1046 rt_signal_frame_32): Likewise.
1047 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1048 Likewise.
1049 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1050 kernel_rt_sigframe): Likewise.
1051 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1052 Likewise.
1053 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1054 Likewise.
1055 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1056 Likewise.
1057 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1058 (__profil_counter): Likewise.
1059 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1060 (SIGCONTEXT): Likewise.
1061 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1062 kernel_rt_sigframe): Likewise.
1063 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1064 kernel_rt_sigframe): Likewise.
1065 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1066 Likewise.
1067 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1068 Likewise.
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1070 (__start_context): Likewise.
1071 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1072 Likewise.
1073 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1076 Likewise.
1077
1078 * sysdeps/i386/Implies: Add ieee754/float128.
1079 * sysdeps/x86_64/Implies: Likewise.
1080 * sysdeps/x86/bits/floatn.h: New file.
1081 * sysdeps/x86/float128-abi.h: Likewise.
1082 * manual/math.texi (Mathematics): Document support for _Float128
1083 on x86_64 and x86.
1084 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1085 (math_opt_barrier): Do not put _Float128 values in floating-point
1086 registers.
1087 (math_force_eval): Likewise.
1088 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1089 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1090 to Makefile variable.
1091 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1092 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1093 * sysdeps/x86/math-tests.h: New file.
1094 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1095 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1096 XFAIL_FLOAT128_PAYLOAD.
1097 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1098 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1099 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1100 Likewise.
1101 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1102 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1105 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1106 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1107 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1108 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1110
1111 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1112
1113 [BZ #21512]
1114 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1115 syscall instead of jump to _exit.
1116 (CLONE_VM_BIT): Remove unused define.
1117 (CLONE_VM): Likewise.
1118 (CLONE_THREAD_BIT): Likewise.
1119 (CLONE_THREAD): Likewise.
1120 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1121 (CLONE_VM): Remove unused define.
1122 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1123 (CLONE_VM): Remove unused define.
1124 (CLONE_THREAD): Likewise.
1125 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1126 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1127 syscall instead of jump to _exit.
1128 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1129 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1130 (CLONE_VM): Remove unused define.
1131 (CLONE_THREAD): Likewise.
1132 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1133 (CLONE_VM): Remove unused define.
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1135 Likewise.
1136 (CLONE_VM): Remove unused define.
1137 (CLONE_THREAD): Likewise.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1139 Likewise.
1140 (CLONE_VM): Remove unused define.
1141 (CLONE_THREAD): Likewise.
1142 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1143 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1144 (CLONE_VM): Remove unused define.
1145 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1146 (CLONE_VM): Remove unused define.
1147 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1149 (CLONE_VM): Remove unused define.
1150 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1151 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1152
1153 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1154 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1155
1156 * manual/math.texi (Mathematics): Mention the enabling of float128
1157 for powerpc64le.
1158 * sysdeps/powerpc/bits/floatn.h: New file.
1159 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1160 * sysdeps/powerpc/fpu/math_private.h:
1161 (__ieee754_sqrtf128): New inline override.
1162 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1163 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1164 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1165 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1166 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1168 Updated.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1170 Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1172 New file.
1173
1174 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1175
1176 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1177 * sysdeps/powerpc/powerpc64le/configure: Update.
1178
1179 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1180 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1181
1182 * INSTALL: Regenerate.
1183 * manual/install.texi (Recommended Tools for Compilation): Mention
1184 the powerpc64le-specific requirement in the manual.
1185 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1186 for the compiler features required for building float128.
1187 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1188
1189 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1190
1191 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1192 before comparing with another char.
1193
1194 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1195
1196 * manual/math.texi: Fix a grammatical error.
1197
1198 2017-06-24 Florian Weimer <fweimer@redhat.com>
1199
1200 [BZ #21295]
1201 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1202
1203 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1204
1205 [BZ #21295]
1206 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1207 Append addresses at the end of the list.
1208
1209 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 [BZ #21666]
1212 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1213 (loc2): Likewise.
1214 (locs): Likewise.
1215
1216 2017-06-23 Florian Weimer <fweimer@redhat.com>
1217
1218 [BZ #16637]
1219 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1220 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1221 digits between colons.
1222 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1223
1224 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1225 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1226
1227 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1228 (__sched_get_prioriry_min): Likewise.
1229 * include/sys/mman.h (__mmap): Likewise.
1230 (__mmap64): Likewise.
1231 (__munmap): Likewise.
1232 (__mprotect): Likewise.
1233 * include/termios.h (__tcsetattr): Likewise.
1234 * include/time.h (__nanosleep): Use hidden_proto instead of
1235 libc_hidden_proto.
1236 * posix/nanosleep.c (__nanosleep): Likewise.
1237 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1238 __sched_get_priority_min, and __sched_get_priority_max under
1239 GLIBC_PRIVATE.
1240 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1241 libc symbols.
1242 (change_stack_perm): Likewise.
1243 (change_stack_perm): Likewise.
1244 (allocate_stack): Likewise.
1245 * sysdeps/posix/gethostname.c: Likewise.
1246 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1247 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1248 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1249 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1250 (__pthread_key_delete): Likewise.
1251 (__pthread_detach): Likewise.
1252 (__pthread_cancel): Likewise.
1253 (__pthread_mutex_trylock): Likewise.
1254 (__pthread_mutexattr_init): Likewise.
1255 (__pthread_mutexattr_settype): Likewise.
1256 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1257 create alias for exported one.
1258 * nptl/pthread_join.c (pthread_join): Likewise.
1259 * nptl/pthread_detach.c (pthread_detach): Likewise.
1260 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1261 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1262 * nptl/pthread_create.c: Change static requirements for pthread
1263 symbols.
1264 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1265 for internal definition.
1266 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1267 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1268 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1269 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1270 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1271 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1272 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1273 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1274 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1275 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1276 Likewise.
1277 * nptl/pthread_self.c (__pthread_self): Likewise.
1278 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1279 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1280 * misc/mmap.c (__mmap): Add internal symbol definition.
1281 * misc/mmap.c (__mmap64): Likewise.
1282 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1283 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1284 (__mmap64): Likewise.
1285 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1286 Add __uname.
1287
1288 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1289
1290 * sysdeps/i386/fpu/libm-test-ulps: Update.
1291 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1292
1293 * libm-test-support.c (check_float_internal): Clear exceptions at
1294 end of function.
1295 (check_int): Likewise.
1296 (check_long): Likewise.
1297 (check_bool): Likewise.
1298 (check_longlong): Likewise.
1299 (check_intmax_t): Likewise.
1300 (check_uintmax_t): Likewise.
1301
1302 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1303 Do not declare.
1304 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1305 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1306 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1307
1308 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1309
1310 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1311 Replace movzbl and orl with movb.
1312
1313 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1314
1315 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1316 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1317 and HUGE_VAL_FNx.
1318 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1319 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1320 are in math.h, to avoid having to list the _FloatN and _FloatNx
1321 variants as well. Likewise for the cabs functions.
1322 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1323 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1324 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1325 come from TS 18661-3, since this section explicitly states that
1326 these functions come from BSD.
1327 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1328 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1329 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1330 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1331 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1332 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1333 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1334 remainderfNx.
1335 (Setting and modifying single bits of FP values): Document
1336 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1337 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1338 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1339 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1340 (Floating-Point Comparison Functions): Document totalorderfN,
1341 totalorderfNx, totalordermagfN, totalordermagfNx.
1342 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1343 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1344 fdimfN, fdimfNx, fmafN, fmafNx.
1345 (Complex Numbers): Document the complex types: _FloatN complex and
1346 _FloatNx complex.
1347 (rojections, Conjugates, and Decomposing of Complex Numbers):
1348 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1349 cargfN, cargfNx, cprojfN, cprojfNx.
1350 * manual/math.texi (Mathematics): Mention that the _FloatN and
1351 _FloatNx variants of the math functions come from TS 18661-3,
1352 unless otherwise stated.
1353 (Predefined Mathematical Constants): Document the _FloatN and
1354 _FloatNx variants of the macros prefixed with M_.
1355 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1356 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1357 ccosfNx, ctanfN, ctanfNx.
1358 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1359 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1360 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1361 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1362 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1363 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1364 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1365 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1366 cpowfNx.
1367 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1368 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1369 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1370 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1371 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1372 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1373 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1374 ynfN, ynfNx.
1375
1376 2017-06-23 Florian Weimer <fweimer@redhat.com>
1377
1378 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1379
1380 2017-06-23 Florian Weimer <fweimer@redhat.com>
1381
1382 * resolv/res_libc.c: Reformat to GNU style.
1383
1384 2017-06-23 Florian Weimer <fweimer@redhat.com>
1385
1386 * resolv/resolv-internal.h (__res_initstamp): Declare.
1387 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1388 It is implied by the declaration.
1389 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1390
1391 2017-06-23 Florian Weimer <fweimer@redhat.com>
1392
1393 [BZ #21662]
1394 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1395 Use only 24 bits of the register before the subtraction.
1396 * string/test-memcmp.c (check1): Check with different lengths.
1397
1398 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1399
1400 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1401 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1402
1403 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1404
1405 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1406 Enable generation of float128 entries on the error table.
1407
1408 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1409
1410 * include/float.h: Include libc-header-start.h to get the
1411 definition of __GLIBC_USE.
1412
1413 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1414
1415 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1416 rearranged code and doubles float types.
1417
1418 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1419
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1421 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1422
1423 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1424
1425 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1426 to errno, and simplify remaining related code.
1427
1428 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1429
1430 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1431 PPC_FEATURE2_SCV.
1432 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1433 and darn.
1434
1435 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1436
1437 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1438 the implementation-specific function name and remove unneeded macros
1439 definition.
1440 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1441 function name if not defined and pass as parameter to macros
1442 accordingly.
1443
1444 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1445
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1447 (libm-sysdep_routines): Add s_llroundf-ppc64.
1448 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1449 (__llroundf): Define as strong alias of __llround.
1450 (llroundf): Define as weak alias of __llround.
1451 (__lroundf): Define as strong alias of __llround.
1452 (lroundf): Define as weak alias of __llround.
1453 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1459 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1460
1461 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1462
1463 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1464 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1465
1466 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1467 (MATH_TESTS_TG): New macro.
1468 (SNAN_TESTS_float128): Likewise.
1469 (ROUNDING_TESTS_float128): Likewise.
1470 (EXCEPTION_TESTS_float128): Likewise.
1471 (SNAN_TESTS): Define using MATH_TESTS_TG.
1472 (ROUNDING_TESTS): Likewise.
1473 (EXCEPTION_TESTS): Likewise.
1474
1475 * sysdeps/ieee754/float128/float128_private.h
1476 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1477 pass it to SET_RESTORE_ROUNDF128.
1478
1479 * sysdeps/ieee754/float128/float128_private.h: Include
1480 <ieee754.h>.
1481
1482 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1483 typeof to argument passed to __builtin_types_compatible_p.
1484 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1485
1486 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1487 <errno.h>.
1488 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1489 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1490 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1491 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1492 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1493 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1494 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1495 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1496 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1497 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1498 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1499 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1500 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1501 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1502 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1503 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1504 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1505 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1506 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1507 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1508 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1509 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1510
1511 * sysdeps/ieee754/float128/strtof128_l.c: Include
1512 <bits/types/locale_t.h> instead of <xlocale.h>.
1513 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1514 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1515
1516 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1517
1518 * benchtests/scripts/benchout_strings.schema.json: New file.
1519 * benchtests/scripts/compare_strings.py: New file.
1520
1521 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1522 (do_one_test): Print json.
1523 (do_test): Likewise.
1524 (test_main): Likewise.
1525 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1526 (do_one_test): Print json.
1527 (do_test): Likewise.
1528 (test_main): Likewise.
1529 * benchtests/bench-memcpy.c: Include json-lib.h.
1530 (do_one_test): Print json.
1531 (do_test): Likewise.
1532 (test_main): Likewise.
1533
1534 * benchtests/json-lib.h: Include inttypes.h.
1535 (json_attr_int, json_attr_int, json_element_string,
1536 json_element_int, json_element_uint): New functions.
1537 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1538 json_element_string, json_element_int, json_element_uint): New
1539 functions.
1540
1541 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1542
1543 * manual/arith.texi (Remainder Functions): Describe remainder as
1544 primary and drem as an alternative name. Change the comment on
1545 remainder to ISO, since it is defined in ISO C99.
1546
1547 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1548
1549 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1550 macro expansion.
1551 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1552
1553 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1554
1555 [BZ #21533]
1556 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1557 201706L for Unicode 10.0.
1558
1559 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1560
1561 [BZ #21657]
1562 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1563 on node-local addresses.
1564 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1565
1566 2017-06-21 Florian Weimer <fweimer@redhat.com>
1567
1568 * intl/loadmsgcat.c: Remove alloca support.
1569 (_nl_load_domain): Use calloc instead of alloca.
1570
1571 2017-04-21 Florian Weimer <fweimer@redhat.com>
1572
1573 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1574 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1575 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1576 alloc_buffer_create_failure.
1577 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1578 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1579 (__libc_alloc_buffer_copy_string)
1580 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1581 * malloc/alloc_buffer_alloc_array.c: New file.
1582 * malloc/alloc_buffer_allocate.c: Likewise.
1583 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1584 * malloc/alloc_buffer_copy_string.c: Likewise.
1585 * malloc/alloc_buffer_create_failure.c: Likewise.
1586 * malloc/tst-alloc_buffer.c: Likewise.
1587
1588 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1591 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1592 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1593 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1594 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1595 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1596 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1597 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1598 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1599 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1600 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1601 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1602 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1603 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1604 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1605 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1606 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1607 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1608 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1609 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1610 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1611 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1612 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1613 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1614 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1616 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1617 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1618 "locale-defines.h".
1619 (UPDATE_STRNCMP_COUNTER): New.
1620 (SECTION): Likewise.
1621 (GLABEL): Likewise.
1622 (LABEL): Likewise.
1623 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1624 for libc.a.
1625
1626 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1627
1628 [BZ #21622]
1629 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1630 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1631 __USE_MISC].
1632 (SA_NODEFER): Likewise.
1633 (SA_RESETHAND): Likewise.
1634
1635 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1638 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1639 Remove security_level on all fields.
1640 * manual/tunables.texi: Replace ifunc with hwcaps.
1641 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1642 Renamed to ..
1643 (TUNABLE_CALLBACK (set_hwcaps)): This.
1644 (init_cpu_features): Updated.
1645 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1646 data_cache_size, data_cache_size and non_temporal_threshold to
1647 unsigned long int.
1648 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1649 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1650 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1651 use DEFAULT_STRLEN.
1652
1653 2017-06-21 Florian Weimer <fweimer@redhat.com>
1654
1655 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1656 asprintf to construct an absolute pathname.
1657
1658 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1659
1660 * misc/tst-preadvwritev2-common.c: New file.
1661 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1662 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1663
1664 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1665
1666 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1667 annotation.
1668 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1669
1670 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1671
1672 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1673 hidden __GI__dl_argv symbol.
1674
1675 2017-06-21 Florian Weimer <fweimer@redhat.com>
1676
1677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1678 to parse addresses with IPv6 scope IDs.
1679
1680 2017-06-21 Florian Weimer <fweimer@redhat.com>
1681
1682 Add the __inet_pton_length helper function.
1683 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1684 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1685 Add length argument.
1686 (__inet_pton): New function.
1687 (inet_pton4): Add length argument.
1688 (hex_digit_value): New function.
1689 (inet_pton6): Add length argument. Call hex_digit_value. Use
1690 memmove and memset to fill :: gap.
1691 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1692 tst-inet_pton.
1693 * resolv/tst-inet_pton.c: New file.
1694 * support/Makefile (libsupport-routines): Add xmprotect.
1695 * support/xunistd.h (xmprotect): Declare.
1696 * support/xmprotect.c: New file.
1697
1698 2017-06-21 Florian Weimer <fweimer@redhat.com>
1699
1700 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1701 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1702 (call_gai, check_ai): New functions.
1703 (expect_failure, expect_success): Use them. Add logging.
1704
1705 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1706
1707 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1708 (sysdep_routines): Add memchr_power8.
1709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1710 (memchr): Add __memchr_power8 to list of memchr functions.
1711 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1712 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1713 (memchr): Add __memchr_power8 to ifunc list.
1714 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1715
1716 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1717
1718 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1719 (__llrintf): Define as strong alias of __llrint.
1720 (llrintf): Define as weak alias of __llrint.
1721 (__lrintf): Define as strong alias of __llrint.
1722 (lrintf): Define as weak alias of __llrint.
1723 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1725 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1727
1728 2017-06-20 Zack Weinberg <zackw@panix.com>
1729
1730 * bits/signum-generic.h: Renamed from bits/signum.h.
1731 Add proper multiple include guard and misuse check.
1732 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1733 Move definition of SIGIO to "archaic names for compatibility" section.
1734 * bits/signum.h: New file which just includes bits/signum-generic.h.
1735 * sysdeps/unix/bsd/bits/signum.h
1736 * sysdeps/unix/sysv/linux/bits/signum.h
1737 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1738 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1739 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1740 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1741 Just include <bits/signum-generic.h> and then add or adjust
1742 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1743
1744 * signal/Makefile: Install bits/signum-generic.h.
1745 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1746
1747 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1748 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1749
1750 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1751 * sysdeps/unix/sysv/linux/Makefile: Run it.
1752
1753 2017-06-20 Zack Weinberg <zackw@panix.com>
1754
1755 * locale/xlocale.h: Rename to...
1756 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1757 Only define struct __locale_struct and __locale_t, not locale_t.
1758 * locale/bits/types/locale_t.h: New file; define locale_t here.
1759 * locale/Makefile (headers): Update to match.
1760
1761 * include/xlocale.h: Delete wrapper.
1762 * include/bits/types/__locale_t.h: New wrapper.
1763 * include/bits/types/locale_t.h: New wrapper.
1764
1765 * ctype/ctype.h, include/printf.h, include/time.h
1766 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1767 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1768 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1769 Correct outdated comments regarding the standardization status of
1770 the functions that take locale_t arguments.
1771
1772 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1773 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1774 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1775 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1776 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1777 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1778 Don't include xlocale.h. If necessary, include locale.h instead.
1779
1780 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1781
1782 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1783 * include/monetary.h, include/stdlib.h, include/time.h
1784 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1785 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1786 * locale/localeinfo.h, locale/newlocale.c
1787 * locale/nl_langinfo_l.c, locale/uselocale.c
1788 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1789 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1790 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1791 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1792 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1793 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1794 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1795 * sysdeps/ieee754/float128/strtof128_l.c
1796 * sysdeps/ieee754/float128/wcstof128.c
1797 * sysdeps/ieee754/float128/wcstof128_l.c
1798 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1799 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1800 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1801 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1802 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1803 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1804 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1805 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1806 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1807 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1808 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1809 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1810 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1811 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1812 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1813 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1814 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1815 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1816 Change all uses of __locale_t to locale_t.
1817
1818 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1819
1820 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1821 for !__OFF_T_MATCHES_OFF64_T.
1822 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1823 implementation based on open64.
1824 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1825 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1826
1827 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 * elf/dl-tunables.list: Move x86 specific tunables to ...
1830 * sysdeps/x86/dl-tunables.list: Here. New file.
1831
1832 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1833
1834 [BZ #21635]
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1836 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1837 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1838 powerpc32-linux.
1839 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1840
1841 [BZ #21634]
1842 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1843 (conformtest-xfail-conds): New variable.
1844 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1845 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1846
1847 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1848
1849 * benchtests/powf-inputs: Add reduced trace from wrf.
1850
1851 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1852 Erich Elsen <eriche@google.com>
1853
1854 * elf/dl-tunables.list (tune): Add ifunc,
1855 x86_non_temporal_threshold,
1856 x86_data_cache_size and x86_shared_cache_size.
1857 * manual/tunables.texi: Document glibc.tune.ifunc,
1858 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1859 and glibc.tune.x86_non_temporal_threshold.
1860 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1861 * sysdeps/x86/cpu-tunables.c: Likewise.
1862 * sysdeps/x86/cacheinfo.c
1863 (init_cacheinfo): Check and get data cache size, shared cache
1864 size and non temporal threshold from cpu_features.
1865 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1866 New.
1867 [HAVE_TUNABLES] Include <unistd.h>.
1868 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1869 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1870 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1871 IFUNC selection, data cache size, shared cache size and non
1872 temporal threshold.
1873 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1874 shared_cache_size and non_temporal_threshold.
1875
1876 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1877
1878 * benchtests/README: Describe workload feature.
1879 * benchtests/bench-skeleton.c (main): Add support for
1880 benchmarking traces from workloads.
1881
1882 2017-06-20 Zack Weinberg <zackw@panix.com>
1883
1884 * string/string.h (__mempcpy_inline): Delete.
1885 * sysdeps/x86_64/multiarch/mempcpy.c
1886 * sysdeps/x86_64/multiarch/stpcpy.c:
1887 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1888 before including string.h.
1889
1890 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1891
1892 * benchtests/Makefile (bench-math): Add powf.
1893 * benchtests/powf-inputs: New file.
1894
1895 2017-06-20 Zack Weinberg <zackw@panix.com>
1896
1897 * bits/string.h, string/bits/string.h
1898 * sysdeps/aarch64/bits/string.h
1899 * sysdeps/m68k/m680x0/m68020/bits/string.h
1900 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1901 * sysdeps/x86/bits/string.h: Delete file.
1902
1903 * string/string.h: Don't include bits/string.h.
1904 * string/bits/string3.h: Rename to bits/string_fortified.h.
1905 No need to undef various symbols that the removed headers
1906 might have defined as macros.
1907 * string/Makefile (headers): Remove bits/string.h, change
1908 bits/string3.h to bits/string_fortified.h.
1909 * string/string-inlines.c: Update commentary. Remove definitions
1910 of various macros that nothing looks at anymore. Don't directly
1911 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1912 compiler-predefined macros.
1913 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1914 _is_ defined, provide internal hidden alias __strncat.
1915 * include/string.h: Declare internal hidden alias __strncat.
1916 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1917 not defined.
1918 * include/bits/string3.h: Rename to bits/string_fortified.h,
1919 update to match above.
1920
1921 * sysdeps/i386/string-inlines.c: Define compat symbols for
1922 everything formerly defined by sysdeps/x86/bits/string.h.
1923 Make existing definitions into compat symbols as well.
1924 Remove some no-longer-necessary messing around with macros.
1925
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1927 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1928 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1929 * sysdeps/s390/multiarch/mempcpy.c
1930 No need to define _HAVE_STRING_ARCH_mempcpy.
1931 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1932
1933 * sysdeps/i386/i686/multiarch/strncat-c.c
1934 * sysdeps/s390/multiarch/strncat-c.c
1935 * sysdeps/x86_64/multiarch/strncat-c.c
1936 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1937
1938 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1939
1940 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1941 (LDBL_DIG): Likewise.
1942 (LDBL_MIN_EXP): Likewise.
1943 (LDBL_MIN_10_EXP): Likewise.
1944 (LDBL_MAX_EXP): Likewise.
1945 (LDBL_MAX_10_EXP): Likewise.
1946 (LDBL_MAX): Likewise.
1947 (LDBL_MIN): Likewise.
1948 (LDBL_EPSILON): Likewise.
1949 (FLT_ROUNDS): Change standard from ISO to C90.
1950 (FLT_RADIX): Likewise.
1951 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1952 (FLT_DIG, DBL_DIG): Likewise.
1953 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1954 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1955 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1956 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1957 (FLT_MAX, DBL_MAX): Likewise.
1958 (FLT_MIN, DBL_MIN): Likewise.
1959 (FLT_EPSILON, DBL_EPSILON): Likewise.
1960
1961 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1964 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1965 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1966 * sysdeps/mips/math-tests.h
1967 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1968 conditional code.
1969
1970 2017-06-19 Florian Weimer <fweimer@redhat.com>
1971
1972 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1973 It cannot change while __libc_setlocale_lock is acquired.
1974
1975 2017-06-19 Florian Weimer <fweimer@redhat.com>
1976
1977 * elf/rtld.c (audit_list_string): New variable.
1978 (audit_list): Update comment.
1979 (struct audit_list_iter): Define.
1980 (audit_list_iter_init, audit_list_iter_next): New function.
1981 (dl_main): Use struct audit_list_iter to process audit modules.
1982 (process_dl_audit): Call dso_name_valid_for_suid.
1983 (process_envvars): Set audit_list_string instead of calling
1984 process_dl_audit.
1985
1986 2017-06-19 Florian Weimer <fweimer@redhat.com>
1987
1988 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1989 (dso_name_valid_for_suid): New function.
1990 (handle_ld_preload): Likewise.
1991 (dl_main): Call it. Remove alloca.
1992
1993 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1994
1995 [BZ #21625]
1996 * posix/sys/wait.h (strust rusage forward declaration): Change
1997 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1998 !__USE_XOPEN2K].
1999 (wait3): Likewise.
2000
2001 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2002 * configure: Regenerated.
2003 * manual/install.texi (Tools for Compilation): Document
2004 requirement for GCC 4.9 or later.
2005 * INSTALL: Regenerated.
2006
2007 2017-06-19 Florian Weimer <fweimer@redhat.com>
2008
2009 [BZ #21624]
2010 CVE-2017-1000366
2011 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2012 __libc_enable_secure.
2013
2014 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2015
2016 [BZ #21539]
2017 * NEWS: Mention s390 ptrace request changes.
2018 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2019 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2020 PTRACE_SETFPREGS): Remove enum constant.
2021 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2022 Remove defines.
2023 (PTRACE_SINGLEBLOCK): New enum constant.
2024 (PT_STEPBLOCK): New define.
2025 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2026 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2027 PTRACE_TE_ABORT_RAND): New enum constant and define.
2028 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2029 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2030 New file.
2031 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2032
2033 2017-06-16 Florian Weimer <fweimer@redhat.com>
2034
2035 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2036 configuration file.
2037 (__res_vinit): Adjust.
2038
2039 2017-06-19 Florian Weimer <fweimer@redhat.com>
2040
2041 * resolv/res_init.c (res_vinit_1): New function.
2042 (__res_vinit): Call it. Handle file open and memory allocation
2043 failures.
2044 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2045 erno from __res_maybe_init failure.
2046 (_nss_dns_gethostbyname4_r): Likewise.
2047 (_nss_dns_gethostbyaddr2_r): Likewise.
2048 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2049 (_nss_dns_getnetbyaddr_r): Likewise.
2050
2051 2017-06-19 Florian Weimer <fweimer@redhat.com>
2052
2053 * resolv/res_init.c: Reformat to GNU style.
2054
2055 2017-06-19 Florian Weimer <fweimer@redhat.com>
2056
2057 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2058 (is_sort_mask): New function.
2059 (__res_vinit): Use it.
2060
2061 2017-06-19 Florian Weimer <fweimer@redhat.com>
2062
2063 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2064 conditionals.
2065
2066 2017-06-19 Florian Weimer <fweimer@redhat.com>
2067
2068 * resolv/res-close.c: New file.
2069 * resolv/res_init.c (__res_iclose, res_nclose)
2070 (res_thread_freeres): Remove definitions.
2071 * resolv/Makefile (routines): Add res-close.
2072
2073 2017-06-19 Florian Weimer <fweimer@redhat.com>
2074
2075 * resolv/res_randomid.c: New file.
2076 * resolv/res_init.c (res_randomid): Remove definition.
2077 * resolv/Makefile (routines): Add res_randomid.
2078
2079 2017-06-19 Florian Weimer <fweimer@redhat.com>
2080
2081 * include/resolv.h (__res_vinit): Declare as hidden.
2082 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2083 * resolv/res_libc.c (res_init): Likewise.
2084
2085 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2086
2087 [BZ #21457]
2088 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2089 _libc_xmmreg): Use __ctx in defining field.
2090
2091 [BZ #21597]
2092 * signal/signal.h (siginterrupt): Make declaration conditional on
2093 [__USE_XOPEN_EXTENDED || __USE_MISC].
2094
2095 [BZ #21584]
2096 * signal/signal.h: Make includes of <bits/sigstack.h> and
2097 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2098 __USE_MISC].
2099 (sigaltstack): Make declaration conditional on
2100 [__USE_XOPEN_EXTENDED || __USE_MISC].
2101
2102 [BZ #21575]
2103 * resource/bits/types/struct_rusage.h: New file.
2104 * include/bits/types/struct_rusage.h: Likewise.
2105 * bits/resource.h (struct rusage): Include
2106 <bits/types/struct_rusage.h> instead of defining here.
2107 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2108 Likewise.
2109 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2110 Likewise.
2111 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2112 Likewise.
2113 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2114 Likewise.
2115 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2116 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2117 Include <bits/types/struct_rusage.h>
2118
2119 2017-06-19 Florian Weimer <fweimer@redhat.com>
2120
2121 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2122
2123 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2124
2125 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2126
2127 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2128
2129 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2130
2131 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2132
2133 [BZ #21537]
2134 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2135 Check SHARED instead of PIC.
2136 (SYSCALL_PIC_SETUP): Add missing semicolons.
2137 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2138 Check SHARED instead of PIC.
2139 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2140 (__makecontext_ret): Adjust code to jump to exit.
2141
2142 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2143
2144 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2145 Simplify code by always using SVC 0 instead of EX.
2146 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2147
2148 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * elf/Versions (ld): Remove _dl_out_of_memory.
2151
2152 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2153
2154 * timezone/private.h: Update from tzcode 2017b.
2155 * timezone/tzfile.h: Likewise.
2156 * timezone/tzselect.ksh: Likewise.
2157 * timezone/zdump.c: Likewise.
2158 * timezone/zic.c: Likewise.
2159 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2160 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2161 * time/tzset.c (SECSPERDAY): New macro.
2162
2163 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2164
2165 * manual/string.texi (strdup): Complete header and standards
2166 annotation.
2167 (strncpy): Likewise.
2168
2169 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2170
2171 * manual/arith.texi (FP_NAN): Add or complete header and standard
2172 annotations.
2173 (FP_INFINITE): Likewise.
2174 (FP_ZERO): Likewise.
2175 (FP_SUBNORMAL): Likewise.
2176 (FP_NORMAL): Likewise.
2177 (SNAN): Likewise.
2178 (SNANL): Likewise.
2179 (totalorderf): Likewise.
2180 (totalorderl): Likewise.
2181 (totalordermagf): Likewise.
2182 (totalordermagl): Likewise.
2183 (_Complex_I): Likewise.
2184 (I): Likewise.
2185
2186 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2187
2188 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2189 standard annotation.
2190 (ARGP_HELP_SHORT_USAGE): Likewise.
2191 (ARGP_HELP_SEE): Likewise.
2192 (ARGP_HELP_LONG): Likewise.
2193 (ARGP_HELP_PRE_DOC): Likewise.
2194 (ARGP_HELP_POST_DOC): Likewise.
2195 (ARGP_HELP_DOC): Likewise.
2196 (ARGP_HELP_BUG_ADDR): Likewise.
2197 (ARGP_HELP_LONG_ONLY): Likewise.
2198 (ARGP_HELP_EXIT_ERR): Likewise.
2199 (ARGP_HELP_EXIT_OK): Likewise.
2200 (ARGP_HELP_STD_ERR): Likewise.
2201 (ARGP_HELP_STD_USAGE): Likewise.
2202 (ARGP_HELP_STD_HELP): Likewise.
2203
2204 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2205
2206 * manual/Makefile: Generate summary.texi with summary.pl. Force
2207 use of the C locale. Update Perl dependency comment.
2208 * manual/header.texi: Update reference to summary.awk.
2209 * manual/macros.texi: Refer authors to `summary.pl --help'.
2210 * manual/summary.awk: Remove file.
2211 * manual/summary.pl: New file. Generate summary.texi, and check
2212 for @standards-related syntax errors.
2213 * manual/argp.texi: Convert header and standards @comments to
2214 @standards.
2215 * manual/arith.texi: Likewise.
2216 * manual/charset.texi: Likewise.
2217 * manual/conf.texi: Likewise.
2218 * manual/creature.texi: Likewise.
2219 * manual/crypt.texi: Likewise.
2220 * manual/ctype.texi: Likewise.
2221 * manual/debug.texi: Likewise.
2222 * manual/errno.texi: Likewise.
2223 * manual/filesys.texi: Likewise.
2224 * manual/getopt.texi: Likewise.
2225 * manual/job.texi: Likewise.
2226 * manual/lang.texi: Likewise.
2227 * manual/llio.texi: Likewise.
2228 * manual/locale.texi: Likewise.
2229 * manual/math.texi: Likewise.
2230 * manual/memory.texi: Likewise.
2231 * manual/message.texi: Likewise.
2232 * manual/pattern.texi: Likewise.
2233 * manual/pipe.texi: Likewise.
2234 * manual/process.texi: Likewise.
2235 * manual/resource.texi: Likewise.
2236 * manual/search.texi: Likewise.
2237 * manual/setjmp.texi: Likewise.
2238 * manual/signal.texi: Likewise.
2239 * manual/socket.texi: Likewise.
2240 * manual/startup.texi: Likewise.
2241 * manual/stdio.texi: Likewise.
2242 * manual/string.texi: Likewise.
2243 * manual/sysinfo.texi: Likewise.
2244 * manual/syslog.texi: Likewise.
2245 * manual/terminal.texi: Likewise.
2246 * manual/threads.texi: Likewise.
2247 * manual/time.texi: Likewise.
2248 * manual/users.texi: Likewise.
2249
2250 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2251
2252 * manual/macros.texi (@standards): New macro. Provide placeholder
2253 for header and standards annotations.
2254 (@standardsx): New macro. Likewise, for lists of @*x elements.
2255
2256 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2257
2258 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2260 rule.
2261 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2262 sync_file_range.
2263
2264 * support/support_test_main.c (support_test_main): Use optstring
2265 member for option string in getopt_long.
2266 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2267 (CMDLINE_OPTSTRING): New define.
2268 * support/test-driver.h (test_config): Add optstring member.
2269
2270 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2273 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2274 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2275 Check USE_AS_STRPBRK instead of STRPBRK_P.
2276 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2277 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2278 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2279 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2280 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2281 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2282 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2283 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2284 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2285 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2286 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2287 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2288 and "#endif".
2289
2290 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2291
2292 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2293 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2294
2295 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2298 strcat-sse2.
2299 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2300 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2301 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2302 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2303 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2304
2305 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2306 Erich Elsen <eriche@google.com>
2307
2308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2309 memcmp-sse2.
2310 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2311 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2312 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2313 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2314 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2315 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2316
2317 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2318 Erich Elsen <eriche@google.com>
2319
2320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2321 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2323 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2324 Update comments.
2325 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2326 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2327 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2328 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2329 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2330 * sysdeps/x86_64/multiarch/memset.S: Removed.
2331 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2332 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2333 (__memset_chk_erms): New function.
2334
2335 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2336
2337 * configure.ac(--enable-tunables): Enable by default.
2338 * configure: Regenerate.
2339 * NEWS: Mention change.
2340 * manual/install.texi (enable-tunables): Adjust documentation.
2341 * INSTALL: Regenerate.
2342
2343 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2344
2345 [BZ #18988]
2346 * benchtests/thread_create-inputs: New file.
2347 * benchtests/thread_create-source.c: Likewise.
2348 * support/xpthread_attr_setguardsize.c: Likewise.
2349 * support/Makefile (libsupport-routines): Add
2350 xpthread_attr_setguardsize object.
2351 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2352 * benchtests/Makefile (bench-pthread): Add thread_create.
2353 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2354 then mprotect the required area.
2355 (guard_position): New function.
2356 (setup_stack_prot): Likewise.
2357
2358 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2359 Erich Elsen <eriche@google.com>
2360 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2361
2362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2363 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2364 mempcpy_chk-nonshared and memmove_chk-nonshared.
2365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2366 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2367 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2368 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2369 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2370 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2371 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2372 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2373 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2374 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2375 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2376 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2377 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2378 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2379 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2380 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2381 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2382 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2383 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2384 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2385 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2386 (__mempcpy_chk_erms): New function.
2387 (__memmove_chk_erms): Likewise.
2388 (__memcpy_chk_erms): New alias.
2389
2390 2017-06-14 Florian Weimer <fweimer@redhat.com>
2391
2392 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2393 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2394
2395 2017-06-14 Zack Weinberg <zackw@panix.com>
2396
2397 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2398 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2399 defined, don't declare anything other than the E-constants.
2400
2401 * include/errno.h: Change conditional for exposing internal
2402 declarations to (not _ISOMAC and not __ASSEMBLER__).
2403 * bits/errno.h: Remove logic for __need_Emath. Document
2404 requirements for a port-specific bits/errno.h.
2405
2406 * sysdeps/unix/sysv/linux/bits/errno.h
2407 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2408 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2409 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2410 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2411 Add multiple-include guard and check against improper inclusion.
2412 Remove __need_Emath logic. Don't declare errno here. Ensure all
2413 constants are defined as simple integer literals. Consistent
2414 formatting.
2415 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2416 enum __error_t_codes if __ASSEMBLER__ is not defined.
2417 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2418
2419 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2420 including errno.h.
2421 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2422 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2423 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2424 * sysdeps/x86_64/fpu/s_cosf.S
2425 * sysdeps/x86_64/fpu/s_sincosf.S
2426 * sysdeps/x86_64/fpu/s_sinf.S:
2427 Just include errno.h; don't define __need_Emath or include
2428 bits/errno.h directly.
2429
2430 2017-06-14 Zack Weinberg <zackw@panix.com>
2431
2432 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2433 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2434 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2435
2436 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2437 for IOV_MAX.
2438 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2439 Don't install bits/uio.h.
2440 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2441 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2442 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2443
2444 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2445 and __need_IOV_MAX. Don't define IOV_MAX at all.
2446 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2447
2448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2449 Include bits/types/struct_iovec.h, not bits/uio.h.
2450 Use __ssize_t, not ssize_t, in function prototypes.
2451 Don't use hard TAB for double space after period in comments.
2452
2453 2017-06-14 Alan Modra <amodra@gmail.com>
2454
2455 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2456 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2457 refsym and sym parameters. Adjust callers.
2458 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2459 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2460 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2461 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2462 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2463 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2464 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2465 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2466 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2467 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2468 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2469 Likewise.
2470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2471 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2472 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2475 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2476 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2477 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2478 (_dl_reloc_overflow): Increase buffser size. Formatting.
2479 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2480 Delete reloc param, add refsym and sym. Check optimized plt
2481 call stubs for localentry:0 functions. Adjust callers.
2482 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2483 and sym parameters. Adjust callers.
2484 (_dl_reloc_overflow): Move attribute.
2485 (_dl_error_localentry): Declare.
2486 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2487 refsym and sym to elf_machine_fixup_plt.
2488 * elf/testobj6.c (preload): Call printf.
2489
2490 2017-06-14 Alan Modra <amodra@gmail.com>
2491
2492 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2493 (NOPS, ENTRY_3): New macros.
2494 (ENTRY): Rewrite.
2495 (ENTRY_TOCLESS): Define.
2496 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2497 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2499 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2501 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2502 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2509 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2518 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2522 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2527 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2529 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2531 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2540 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2541 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2545 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2547 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2548 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2549 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2550 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2552 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2553 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2556 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2557 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2558 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2560 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2561 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2562 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2563 Likewise.
2564 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2565 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2567 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2569 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2570 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2572 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2573 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2574 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2577 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2578 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2579 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2580 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2581 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2582 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2583 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2584 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2585 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2586 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2587 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2588 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2589 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2591 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2592 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2593 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2594 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2595 add nop when SHARED.
2596 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2597 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2598 define.
2599 (ENTRY_TOCLESS): Define.
2600 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2601 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2602 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2603
2604 2017-06-14 Alan Modra <amodra@gmail.com>
2605
2606 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2607 MEMSET_is_local.
2608 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2609 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2610 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2611 Define MEMSET.
2612 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2613 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2614 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2615 nop after local calls.
2616 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2617 Don't add nop after local call.
2618 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2619 CALL_MCOUNT.
2620
2621 2017-06-14 Alan Modra <amodra@gmail.com>
2622
2623 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2624 (FUNC_LABEL): Rename from DOT_LABEL.
2625 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2626 Use .p2align rather than .align.
2627 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2628 (ABORT_TRANSACTION): Likewise.
2629 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2630 particularly at end. Add semicolon at invocation as necessary.
2631 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2632 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2633 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2634 END): Adjust to suit.
2635
2636 2017-06-14 Alan Modra <amodra@gmail.com>
2637
2638 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2639 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2640 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2641 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2642 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2644 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2645
2646 2017-06-14 Alan Modra <amodra@gmail.com>
2647
2648 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2649 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2650
2651 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2652
2653 [BZ #21548]
2654 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2655 8 and use it when copying general purpose registers.
2656 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2657 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2658 mips o32.
2659 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2660 new test for mips o32.
2661 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2662 8 and use it when copying general purpose registers.
2663 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2664
2665 2017-06-13 Florian Weimer <fweimer@redhat.com>
2666
2667 * configure.ac (find_cxx_header): Suppress compiler error message.
2668
2669 2017-06-13 Florian Weimer <fweimer@redhat.com>
2670
2671 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2672 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2673 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2674 begin/end.
2675 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2676 dynarray_int_end.
2677 (test_str): Test dynarray_str_begin, dynarray_str_end.
2678
2679 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 [BZ #21573]
2682 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2683 $(common-objpfx)bits/std_abs.h.
2684 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2685 New target.
2686 * config.make.in (c++-bits-std_abs-h): New.
2687 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2688 (CXX_BITS_STD_ABS_H): New.
2689 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2690 * configure: Regenerated.
2691
2692 2017-06-13 Zack Weinberg <zackw@panix.com>
2693
2694 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2695 directives.
2696
2697 2017-06-12 Zack Weinberg <zackw@panix.com>
2698
2699 * bits/sched.h: Remove __need_schedparam logic and replace with a
2700 normal multiple-include guard. Change field name in struct
2701 sched_param from __sched_priority to sched_priority. Delete
2702 everything under #ifndef __cpu_set_t_defined.
2703 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2704 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2705
2706 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2707 For compatibility, #define sched_priority to itself, and #define
2708 __sched_priority as sched_priority.
2709 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2710 that was under #ifndef __cpu_set_t_defined in
2711 sysdeps/unix/sysv/linux/bits/sched.h.
2712 * include/bits/cpu-set.h: New wrapper.
2713 * posix/Makefile: Install bits/cpu-set.h.
2714
2715 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2716 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2717 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2718
2719 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2720 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2721 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2722 * math/libm-test-isfinite.inc (finite_test): Likewise.
2723 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2724 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2725 (nexttoward_test_data}: Likewise.
2726 * math/libm-test-remainder.inc (drem_test): Likewise.
2727 * math/libm-test-scalb.inc (scalb_test): Likewise.
2728 (scalb_test_data): Likewise.
2729 * math/libm-test-significand.inc (significand_test): Likewise.
2730 (significand_test_data): Likewise.
2731 * math/libm-test-support.c (check_complex): Replace __complex__
2732 FLOAT with CFLOAT to get the support for old compiler.
2733 * math/libm-test-support.h (check_complex): Likewise.
2734 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2735 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2736 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2737 * math/test-float128.h: New file.
2738 * math/test-math-floatn.h: New file.
2739
2740 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2741
2742 * include/float.h: Allow the definition of macros prefixed with
2743 FLT128 even if _ISOMAC is defined, but provided that
2744 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2745
2746 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2747
2748 * manual/math.texi (Mathematics): Add description for _FloatN and
2749 _FloatNx types and mentions that they are not support in glibc for
2750 any architecture, so far.
2751 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2752 stdlib.h with wchar.h.
2753 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2754 (Printing of Floats): Add description for strfromfN.
2755
2756 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2757 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2758 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2759
2760 * include/gmp.h (__mpn_construct_float128): New declaration.
2761 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2762 (__strtof128_l): New declaration.
2763 (__strtof128_nan): Likewise.
2764 (__wcstof128_nan): Likewise.
2765 (__strtof128_internal): Likewise.
2766 (____strtof128_l_internal): Likewise.
2767 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2768 (__wcstof128_l): New declaration.
2769 (__wcstof128_internal): Likewise.
2770
2771 * stdlib/Makefile (bug-strtod2): Link libm too.
2772
2773 * stdlib/stdlib.h (strtof128): New declaration.
2774 (strtof128_l): Likewise.
2775
2776 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2777 tst-strtod.h macros to ensure float128 gets tested too.
2778
2779 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2780
2781 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2782 tests.
2783 (IF_FLOAT128): New macro.
2784 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2785 the tests.
2786 (STRTOD_TEST_FOREACH): Likewise.
2787
2788 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2789 wcstof128 functions into libc.
2790
2791 * sysdeps/ieee754/float128/Versions: Add exports for the above
2792 new functions.
2793
2794 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2795 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2796 * sysdeps/ieee754/float128/strtof128.c: New file.
2797 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2798 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2799 * sysdeps/ieee754/float128/wcstof128.c: New file.
2800 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2801 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2802 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2803 (CFLAGS-wcstof128_l): Likewise.
2804
2805 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2806 (wcstof128): New declaration.
2807 (wcstof128_l): Likewise.
2808
2809 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2810
2811 [BZ #21552]
2812 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2813 not [__USE_XOPEN].
2814 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2815
2816 [BZ #21550]
2817 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2818
2819 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2822 strcpy-sse2 and stpcpy-sse2.
2823 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2824 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2825 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2826 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2827 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2828 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2829 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2830 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2831 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2832 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2833 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2834 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2835 (libc_hidden_def): Always defined as empty.
2836 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2837 Always Defined as empty.
2838
2839 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2840
2841 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2842
2843 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2844
2845 [BZ #15105]
2846 [BZ #19463]
2847 * include/string.h: Add internal redirect for __stpcpy.
2848 * string/Makefile: Remove bits/string2.h.
2849 * string/string.h: Update comment.
2850 * string/string-inlines.c: Remove bits/string2.h include and comment.
2851 * string/bits/string2.h: Remove file.
2852
2853 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2854
2855 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2856 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2857 * sunrpc/des_impl.c (_des_crypt): Likewise.
2858 * sunrpc/key_call.c (key_gendes): Likewise.
2859 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2860 * sunrpc/svc_simple.c (universal): Likewise.
2861 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2862 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2863 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2864
2865 2017-06-10 Zack Weinberg <zackw@panix.com>
2866
2867 * stdlib/errno.h: Correct an outdated comment.
2868
2869 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2870
2871 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2872 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2873 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2874 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2875 New file. Invoke newly supported sysconf values for powerpc,
2876 and report results. If none are supported, report so.
2877 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2878 tst-sysconf.
2879
2880 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2881
2882 * include/sys/auxv.h (__getauxval): Add a prototype and its
2883 libc_hidden_proto.
2884 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2885
2886 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2887
2888 [BZ #21561]
2889 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2890 [__USE_XOPEN_EXTENDED].
2891 (id_t): Likewise.
2892 (include of <bits/types/siginfo_t.h): Likewise.
2893 (waitid): Likewise.
2894 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2895 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2896 (WEXITED): Likewise.
2897 (WCONTINUED): Likewise.
2898 (WNOWAIT): Likewise.
2899 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2900 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2901 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2902
2903 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2904 libc.so PLT entry optional.
2905 (__gtsf2): Likewise.
2906 (__unorddf2): Likewise.
2907 (__unordsf2): Likewise.
2908 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2909 New optional libc.so PLT entry.
2910
2911 [BZ #21554]
2912 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2913 not [__USE_XOPEN].
2914
2915 [BZ #21560]
2916 * posix/sys/wait.h: Condition include of <signal.h> on
2917 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2918 unconditionally.
2919 [!__pid_t_defined] (pid_t): Define typedef.
2920
2921 2017-06-09 Zack Weinberg <zackw@panix.com>
2922
2923 * include/errno.h (__errno_location): Use __attribute_const__
2924 instead of bare __attribute__.
2925
2926 2017-06-09 Zack Weinberg <zackw@panix.com>
2927
2928 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2929 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2930 more appropriate location. Also add dl-tunable-list.h and
2931 dl-tunable-list.stmp.
2932
2933 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2934
2935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2936
2937 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2938
2939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2940 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2942 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2943 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2944 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2945 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2946 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2947 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2948 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2949 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2950
2951 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2952
2953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2954 memrchr-sse2 and memrchr-avx2.
2955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2956 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2957 __memrchr_sse2.
2958 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2959 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2960 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2961
2962 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2965 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2966 wcschr-sse2 and wcschr-avx2.
2967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2968 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2969 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2970 __wcschr_sse2.
2971 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2972 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2973 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2974 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2975 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2976 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2977 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2978 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2979 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2980 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2981
2982 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2983
2984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2985 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2986 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2988 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2989 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2990 __wcslen_sse2 and __wcsnlen_avx2.
2991 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2992 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2993 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2994 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2995 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2996 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2997 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2998 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2999 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3000 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3001 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3002 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3003 vzeroupper is preferred and AVX unaligned load is fast.
3004
3005 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3008 USE_AS_WMEMCHR is defined.
3009 (PCMPEQ): Likewise.
3010 (memchr): Renamed to ...
3011 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3012 Replace pcmpeqb with PCMPEQ.
3013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3014 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3015 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3016 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3017 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3018 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3019 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3020 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3021 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3022 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3023 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3024 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3025 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3027 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3028 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3029 __wmemchr_sse2.
3030
3031 2017-06-09 Florian Weimer <fweimer@redhat.com>
3032
3033 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3034 tst-dynarray-fail.
3035
3036 2017-06-09 Florian Weimer <fweimer@redhat.com>
3037
3038 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3039 * support/support_test_verify_impl.c
3040 (support_test_verify_exit_impl): Split from
3041 support_test_verify_impl.
3042 * support/check.h (TEST_VERIFY): Drop status argument from
3043 support_test_verify_impl call.
3044 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3045 (support_test_verify_impl): Remove status argument.
3046 (support_test_verify_exit_impl): Declare.
3047
3048 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3049
3050 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3051 mention of magic numbers in comments.
3052 (_dl_procinfo): Fix undefined behavior
3053
3054 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3055
3056 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3057 [XPG4].
3058 (WEXITED): Likewise.
3059 (WSTOPPED): Likewise.
3060 (WCONTINUED): Likewise.
3061 (WNOHANG): Likewise.
3062 (WNOWAIT): Likewise.
3063 (idtype_t): Likewise.
3064 (P_ALL): Likewise.
3065 (P_PID): Likewise.
3066 (P_PGID): Likewise.
3067 (id_t): Likewise.
3068 (siginfo_t): Likewise.
3069 (wait3): Likewise.
3070 (waitid): Likewise.
3071 (signal.h): Do not allow header for [XPG4].
3072 (sys/resource.h): Likewise.
3073 (si_*): Do not allow for [XPG4].
3074 (W*): Likewise.
3075 (P_*): Likewise.
3076 (BUS_): Likewise.
3077 (CLD_): Likewise.
3078 (FPE_): Likewise.
3079 (ILL_): Likewise.
3080 (POLL_): Likewise.
3081 (SEGV_): Likewise.
3082 (SI_): Likewise.
3083 (TRAP_): Likewise.
3084 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3085 variable.
3086
3087 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3088
3089 [BZ #21528]
3090 * elf/dl-minimal.c (__strtoul_internal): Removed.
3091 (strtoul): Likewise.
3092 * elf/dl-misc.c (_dl_strtoul): New function.
3093 * elf/dl-tunables.c (tunables_strtoul): Removed.
3094 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3095 * elf/rtld.c (process_envvars): Likewise.
3096 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3097 Likewise.
3098 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3099
3100 2017-06-08 Zack Weinberg <zackw@panix.com>
3101
3102 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3103 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3104 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3105 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3106 between wctype.h and wchar.h.
3107
3108 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3109 Install them.
3110
3111 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3112 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3113 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3114 New wrappers.
3115 * include/stdio.h, include/wchar.h, include/wctype.h:
3116 No need to handle __need macros.
3117
3118 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3119 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3120 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3121 * wcsmbs/wchar.h, wctype/wctype.h
3122 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3123 Use the new files instead of __need macros.
3124
3125 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3126
3127 * string/test-memrchr.c (test_main): Add tests for len == 0
3128 and tests for positions close to the beginning, which are
3129 equivalent to positions close to the end for memchr.
3130
3131 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3134 comments.
3135 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3136 instead of wmemset.h.
3137 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3138 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3139 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3140
3141 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3142
3143 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3144 spec->info.is_binary128 to zero.
3145 * stdio-common/printf.h (printf_info): Add new member is_binary128
3146 to indicate that the number being converted to string is compatible
3147 with the IEC 60559 binary128 format.
3148 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3149 _Float128 numbers.
3150 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3151 ldbl-128/printf_fphex_macros.h
3152 (__printf_fphex): Add code to deal with _Float128 numbers.
3153 * stdio-common/printf_size.c (__printf_size): Likewise.
3154 * stdio-common/vfprintf.c (process_arg): Initialize member
3155 info.is_binary128 to zero.
3156 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3157 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3158 (strfromf128): New declaration.
3159 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3160 to one.
3161 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3162 * sysdeps/ieee754/float128/Versions: Likewise.
3163 * sysdeps/ieee754/float128/strfromf128.c: New file.
3164
3165 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3166
3167 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3168 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3169 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3170 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3171 (PRINT_FPHEX): New function-like macro that can be used for long
3172 double, as well as for _Float128
3173
3174 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3175
3176 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3177 (__printf_fp_l): Use the new macro to avoid duplicating code.
3178 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3179 (__printf_fphex): Use the new macro to avoid duplicating code.
3180 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3181 (__printf_size): Use the new macro to avoid duplicating code.
3182
3183 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3184
3185 * include/gmp.h: Include bits/floatn.h
3186 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3187 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3188 including stack-alloc.h. It could have been defined by other header
3189 which not necessarily defines HAVE_ALLOCA.
3190 * sysdeps/ieee754/float128/Makefile: New file.
3191 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3192 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3193 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3194 redefine __mpn_extract_long_double to __mpn_extract_float128.
3195 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3196 _Float128 to allow float128_private.h overrides.
3197
3198 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3199
3200 * stdlib/fpioconst.h: Include bits/floatn.h.
3201 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3202 power of ten table should be.
3203 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3204 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3205 to include larger tables when _Float128 support is enabled.
3206 (_fpioconst_pow10): Likewise.
3207
3208 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3209
3210 * include/bits/types/clock_t.h: Use #include <path> instead of
3211 #include "../../path".
3212 * include/bits/types/clockid_t.h: Likewise.
3213 * include/bits/types/struct_iovec.h: Likewise.
3214 * include/bits/types/struct_itimerspec.h: Likewise.
3215 * include/bits/types/struct_osockaddr.h: Likewise.
3216 * include/bits/types/struct_sigstack.h: Likewise.
3217 * include/bits/types/struct_timespec.h: Likewise.
3218 * include/bits/types/struct_timeval.h: Likewise.
3219 * include/bits/types/struct_tm.h: Likewise.
3220 * include/bits/types/time_t.h: Likewise.
3221 * include/bits/types/timer_t.h: Likewise.
3222
3223 [BZ #14096]
3224 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3225 America/New_York.
3226
3227 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3228
3229 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3230 into ...
3231 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3232 ifunc-sse4_1.h.
3233
3234 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3235
3236 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3237 Remove check for NULL 'buf'.
3238 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3239
3240 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3241
3242 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3243 include test-skeleton.c.
3244 Include support/check.h and support/test-driver.c.
3245
3246 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3247
3248 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3249 (_dl_aarch64_cap_flags): New array.
3250 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3251 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3252 functions.
3253
3254 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3255 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3256 Likewise.
3257 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3258 up hwcap and hwcap_mask.
3259
3260 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3261 (init_cpu_features): Use glibc.tune.hwcap_mask.
3262 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3263
3264 * elf/dl-hwcaps.h: New file.
3265 * elf/dl-hwcaps.c: Include it.
3266 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3267 glibc.tune.hwcap_mask.
3268 * elf/dl-cache.c: Include dl-hwcaps.h.
3269 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3270 glibc.tune.hwcap_mask.
3271 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3272 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3273 _dl_hwcap_mask.
3274 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3275 _dl_hwcap_mask.
3276 (process_envvars)[HAVE_TUNABLES]: Likewise.
3277 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3278 Likewise.
3279 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3280 initialize dl_hwcap_mask when tunables are enabled.
3281
3282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3283 guard.
3284 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3285
3286 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3287 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3288 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3289
3290 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3291 * elf/dl-tunables.c: Likewise.
3292 (do_tunable_update_val): New function.
3293 (__tunable_set_val): New function.
3294 (__tunable_get_val): Call CB only if the tunable was externally
3295 initialized.
3296 (tunables_strtoul): Replace strval with initialized.
3297 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3298 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3299 prevent collision.
3300 (__tunable_set_val): New function.
3301 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3302 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3303 (TUNABLE_SET_VAL): Remove.
3304 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3305 * README.tunables: Document the new macros.
3306 * malloc/arena.c (ptmalloc_init): Adjust.
3307
3308 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3311 wcsnlen-sse4_1 and wcsnlen-c.
3312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3313 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3314 __wcsnlen_sse2.
3315 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3316 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3317 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3318 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3319 * sysdeps/x86_64/wcsnlen.S: Removed.
3320
3321 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3322
3323 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3324 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3325 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3326 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3327
3328 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3329
3330 * NEWS: Mention new spinlock implementation.
3331 * include/atomic.h:
3332 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3333 (atomic_exchange_acq): Likewise.
3334 (atomic_load_relaxed): Likewise.
3335 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3336 * nptl/pthread_spin_init.c (pthread_spin_init):
3337 Use atomic_store_relaxed.
3338 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3339 Use C11-like atomic macros.
3340 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3341 Likewise.
3342 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3343 Use atomic_store_release.
3344 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3345 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3346 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3347 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3348 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3349 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3350 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3351 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3352 * sysdeps/alpha/atomic-machine.h: Likewise.
3353 * sysdeps/arm/atomic-machine.h: Likewise.
3354 * sysdeps/i386/atomic-machine.h: Likewise.
3355 * sysdeps/ia64/atomic-machine.h: Likewise.
3356 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3357 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3358 * sysdeps/microblaze/atomic-machine.h: Likewise.
3359 * sysdeps/mips/atomic-machine.h: Likewise.
3360 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3361 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3362 * sysdeps/s390/atomic-machine.h: Likewise.
3363 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3364 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3365 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3366 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3367 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3368 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3369 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3370 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3371 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3372 * sysdeps/x86_64/atomic-machine.h: Likewise.
3373
3374 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3377 and use it instead of dl_x86_cpu_features.
3378 (handle_intel): Replace maxidx with cpu_features. Pass
3379 cpu_features to intel_check_word.
3380 (__cache_sysconf): Pass cpu_features to handle_intel.
3381 (init_cacheinfo): Likewise. Use cpu_features instead of
3382 dl_x86_cpu_features.
3383
3384 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3385
3386 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3388 memcmp-avx2 and wmemcmp-avx2.
3389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3390 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3391 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3392 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3393 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3394 2 machines if AVX unaligned load is fast and vzeroupper is
3395 preferred.
3396 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3397 2 machines if AVX unaligned load is fast and vzeroupper is
3398 preferred.
3399
3400 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 * include/wchar.h (__wmemset_chk): New.
3403 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3404 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3405 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3406 (WMEMSET_CHK_SYMBOL): Likewise.
3407 (WMEMSET_SYMBOL): Likewise.
3408 (__wmemset): Add hidden definition.
3409 (wmemset): Add weak hidden definition.
3410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3411 wmemset_chk-nonshared.
3412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3413 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3414 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3415 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3416 and __wmemset_chk_avx512_unaligned.
3417 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3418 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3419 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3420 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3421 (WMEMSET_SYMBOL): Likewise.
3422 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3423 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3424 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3425 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3426 (WMEMSET_SYMBOL): Likewise.
3427 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3428 (WMEMSET_CHK_SYMBOL): New.
3429 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3430 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3431 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3432 (libc_hidden_builtin_def): Also define __GI_wmemset and
3433 __GI___wmemset.
3434 (weak_alias): New.
3435 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3436 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3437 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3438 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3439 * sysdeps/x86_64/wmemset.c: Likewise.
3440 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3441
3442 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3443 H.J. Lu <hongjiu.lu@intel.com>
3444
3445 * sysdeps/x86/init-arch.h (PASTER1): New.
3446 (EVALUATOR1): Likewise.
3447 (PASTER2): Likewise.
3448 (EVALUATOR2): Likewise.
3449 (REDIRECT_NAME): Likewise.
3450 (OPTIMIZE): Likewise.
3451 (IFUNC_SELECTOR): Likewise.
3452
3453 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3454
3455 * sysdeps/x86_64/strlen.S (PMINU): New.
3456 (PCMPEQ): Likewise.
3457 (SHIFT_RETURN): Likewise.
3458 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3459 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3460 pminub with PCMPEQ and PMINU.
3461 * sysdeps/x86_64/wcsnlen.S: New file.
3462
3463 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3466 the lower 32 bits. Remove redundant instructions.
3467
3468 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3469
3470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3471 0 as the high part of offset.
3472 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3473
3474 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3475
3476 [BZ #21538]
3477 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3478 [__USE_UNIX98].
3479 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3480 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3481 Likewise.
3482 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3483 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3484 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3486 Likewise.
3487
3488 [BZ #21517]
3489 * bits/types/stack_t.h (stack_t): Remove struct tag.
3490 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3491 Likewise.
3492 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3493 Likewise.
3494 * debug/segfault.c (install_handler): Use stack_t instead of
3495 struct sigaltstack.
3496 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3497 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3498 * include/signal.h (__sigaltstack): Likwise.
3499 * signal/sigaltstack.c (__sigaltstack): Likewise.
3500 * signal/signal.h (sigaltstack): Likewise.
3501 * sysdeps/mach/hurd/i386/signal-defines.sym
3502 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3503 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3504 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3505 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3506 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3507 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3508 elf_prstatus): Likewise.
3509 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3510 Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3512 Likewise.
3513 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3514 Likewise.
3515 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3516 elf_prstatus): Likewise.
3517 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3518 Likewise.
3519 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3520 Likewise.
3521
3522 2017-06-04 Zack Weinberg <zackw@panix.com>
3523
3524 * sysdeps/gnu/errlist.c: Regenerate.
3525
3526 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * benchtests/bench-memchr.c (do_test): Print out both length
3529 and position.
3530 (test_main): Also test the position close to the beginning for
3531 memrchr.
3532
3533 2017-06-04 Zack Weinberg <zackw@panix.com>
3534
3535 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3536 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3537 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3538 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3539 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3540 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3541 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3542 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3543 * nis/nis_print_group_entry.c, nis/nis_remove.c
3544 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3545 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3546 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3547 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3548 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3549 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3550 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3551 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3552 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3553 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3554 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3555 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3556 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3557 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3558 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3559 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3560 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3561 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3562 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3563 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3564
3565 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3566 abi-versions.h as well as shlib-compat.h.
3567 * sunrpc/get_myaddr.c: Remove obsolete comment.
3568 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3569 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3570 * resolv/res_libc.c: Include shlib-compat.h only once.
3571
3572 2017-06-03 Florian Weimer <fweimer@redhat.com>
3573
3574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3575 of strdup.
3576
3577 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3580 Set to the 3/4 of the total shared cache size.
3581
3582 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3583
3584 * manual/errno.texi: Remove redundant error strings.
3585 * manual/macros.texi (@errno): Render the error string in every
3586 description.
3587
3588 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #21543]
3591 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3592 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3593 [__USE_XOPEN_EXTENDED].
3594
3595 2017-06-02 Florian Weimer <fweimer@redhat.com>
3596
3597 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3598 strdupa.
3599 (getcanonname): Use __strdup instead of strdup.
3600
3601 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3602
3603 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3604 (CFLAGS-preadv64v2.c): Likewise.
3605 (CFLAGS-pwritev2.c): Likewise.
3606 (CFLAGS-pwritev64v2.c): Likewise.
3607
3608 2017-06-02 Florian Weimer <fweimer@redhat.com>
3609
3610 Test res_init with several configuration files.
3611 * resolv/Makefile [build-shared] (tests-internal): Add
3612 tst-resolv-res_init, tst-resolv-res_init-thread.
3613 (tst-resolv-res_init): Link against libdl, libresolv.
3614 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3615 libpthread.
3616 * resolv/tst-resolv-res_init.c: New file.
3617 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3618 * resolv/tst-resolv-res_init-thread.c: Likewise.
3619 * support/Makefile (libsupport-routines): Add support-xstat,
3620 support_can_chroot, support_capture_subprocess_check,
3621 support_isolate_in_subprocess, support_shared_allocate,
3622 support_write_file_string, xchroot, xmkdir, xopen.
3623 * support/capture_subprocess.h (enum support_capture_allow): Define.
3624 (support_capture_subprocess_check): Declare.
3625 * support/namespace.h (support_can_chroot)
3626 (support_isolate_in_subprocess): Declare.
3627 * support/support-xstat.c: New file.
3628 * support/support.h (support_shared_allocate, support_shared_free)
3629 (support_write_file_string): Declare.
3630 * support/support_can_chroot.c: New file.
3631 * support/support_capture_subprocess_check.c: Likewise.
3632 * support/support_isolate_in_subprocess.c: Likewise.
3633 * support/support_shared_allocate.c: Likewise.
3634 * support/support_write_file_string.c: Likewise.
3635 * support/xchroot.c: Likwise.
3636 * support/xmkdir.c: Likwise.
3637 * support/xopen.c: Likwise.
3638 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3639
3640 2017-06-02 Florian Weimer <fweimer@redhat.com>
3641
3642 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3643 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3644
3645 2017-06-02 Florian Weimer <fweimer@redhat.com>
3646
3647 * malloc/Makefile (routines): Add dynarray_at_failure,
3648 dynarray_emplace_enlarge, dynarray_finalize.
3649 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3650 tst-dynarray-at-fail.
3651 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3652 (tests-special): Add tst-dynarray-mem.out,
3653 tst-dynarray-mem-fail.out.
3654 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3655 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3656 mtrace.
3657 * malloc/Versions (__libc_dynarray_at_failure)
3658 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3659 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3660 GLIBC_PRIVATE.
3661 * malloc/dynarray.h: New file.
3662 * malloc/dynarray-skeleton.c: Likewise.
3663 * malloc/dynarray_at_failure.c: Likewise.
3664 * malloc/dynarray_emplace_enlarge.c: Likewise.
3665 * malloc/dynarray_finalize.c: Likewise.
3666 * malloc/dynarray_resize.c: Likewise.
3667 * malloc/dynarray_resize_clear.c: Likewise.
3668 * malloc/tst-dynarray.c: Likewise.
3669 * malloc/tst-dynarray-fail.c: Likewise.
3670 * malloc/tst-dynarray-at-fail.c: Likewise.
3671 * malloc/tst-dynarray-shared.h: Likewise.
3672 * support/Makefile (libsupport-routines): Add
3673 support_capture_subprocess, xdup2, xpipe.
3674 (tests): Add tst-support_capture_subprocess.
3675 * support/capture_subprocess.h: New file.
3676 * support/support_capture_subprocess.c: Likewise.
3677 * support/tst-support_capture_subprocess.c: Likewise.
3678 * support/xdup2.c: Likewise.
3679 * support/xpipe.c: Likewise.
3680 * support/xunistd.h (xdup2, xpipe): Declare.
3681
3682 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3683
3684 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3685 macros MAX and MIN.
3686
3687 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3688
3689 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3690 [XPG4].
3691 (SA_SIGINFO): Likewise.
3692 (SA_ONSTACK): Likewise.
3693 (SA_RESETHAND): Likewise.
3694 (SA_RESTART): Likewise.
3695 (SA_NOCLDWAIT): Likewise.
3696 (SA_NODEFER): Likewise.
3697 (SS_ONSTACK): Likewise.
3698 (SS_DISABLE): Likewise.
3699 (MINSIGSTKSZ): Likewise.
3700 (SIGSTKSZ): Likewise.
3701 (ucontext_t): Likewise.
3702 (stack_t): Likewise.
3703 (struct sigstack): Likewise.
3704 (SI_USER): Do not expect for [XPG4 || XPG42].
3705 (SI_QUEUE): Likewise.
3706 (SI_TIMER): Likewise.
3707 (SI_ASYNCIO): Likewise.
3708 (SI_MESGQ): Likewise.
3709 (bsd_signal): Do not expect for [XPG4].
3710 (killpg): Likewise.
3711 (sigaltstack): Likewise.
3712 (sighold): Likewise.
3713 (sigignore): Likewise.
3714 (siginterrupt): Likewise.
3715 (sigpause): Likewise.
3716 (sigrelse): Likewise.
3717 (sigset): Likewise.
3718 (sigwait): Do not expect for [XPG4 || XPG42].
3719
3720 2017-06-01 Zack Weinberg <zackw@panix.com>
3721
3722 [BZ #21514]
3723 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3724 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3725
3726 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3727
3728 [BZ #21457]
3729 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3730 NGREG to __NGREG if [__USE_MISC].
3731 (gregset_t): Define using __NGREG.
3732 (__ctx): New macro.
3733 (mcontext_t): Use __ctx in defining fields.
3734 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3735 define NGREG to __NGREG if [__USE_MISC].
3736 (gregset_t): Define using __NGREG.
3737 (__ctx): New macro.
3738 (__ctxt): Likewise.
3739 (fpregset_t): Use __ctx and __ctxt in defining fields.
3740 (mcontext_t): Likewise.
3741 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3742 define NGREG to __NGREG if [__USE_MISC].
3743 (gregset_t): Define using __NGREG.
3744 (__ctx): New macro.
3745 (mcontext_t): Use __ctx in defining fields.
3746 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3747 define NGREG to __NGREG if [__USE_MISC].
3748 (gregset_t): Define using __NGREG.
3749 (__ctx): New macro.
3750 (fpregset_t): Use __ctx in defining fields.
3751 (mcontext_t): Likewise.
3752 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3753 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3754 (gregset_t): Define using __NGREG.
3755 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3756 [__USE_MISC].
3757 (fpregset_t): Define using __NFPREG.
3758 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3759 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3760 (gregset_t): Define using __NGREG.
3761 (__ctx): New macro.
3762 (fpregset_t): Use __ctx in defining fields.
3763 (mcontext_t): Likewise.
3764 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3765 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3766 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3767 [__USE_MISC].
3768 (gregset_t): Define using __NGREG.
3769 (__ctx): New macro.
3770 (fpregset_t): Use __ctx in defining fields.
3771 (mcontext_t): Likewise.
3772 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3773 (mcontext_t): Use __ctx in defining fields.
3774 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3775 macro.
3776 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3777 __NGREG if [__USE_MISC].
3778 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3779 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3780 (mcontext_t): Likewise.
3781 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3782 __NGREG if [__USE_MISC].
3783 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3784 to __NFPREG if [__USE_MISC].
3785 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3786 to __NVRREG if [__USE_MISC].
3787 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3788 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3789 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3790 [__WORDSIZE != 32] (vrregset_t): Likewise.
3791 [__WORDSIZE != 32] (mcontext_t): Likewise.
3792 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3793 (__psw_t): Use __ctx in defining fields.
3794 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3795 [__USE_MISC].
3796 (gregset_t): Define using __NGREG.
3797 (fpreg_t): Use __ctx in defining fields.
3798 (fpregset_t): Likewise.
3799 (mcontext_t): Likewise.
3800 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3801 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3802 (gregset_t): Define using __NGREG.
3803 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3804 [__USE_MISC].
3805 (fpregset_t): Define using __NFPREG.
3806 (__ctx): New macro.
3807 (mcontext_t): Use __ctx in defining fields.
3808 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3809 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3810 __NGREG if [__USE_MISC].
3811 [__x86_64__] (gregset_t): Define using __NGREG.
3812 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3813 [__x86_64__] (struct _libc_fpstate): Likewise.
3814 [__x86_64__] (mcontext_t): Likewise.
3815 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3816 __NGREG if [__USE_MISC].
3817 [!__x86_64__] (gregset_t): Define using __NGREG.
3818 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3819 [!__x86_64__] (struct _libc_fpstate): Likewise.
3820 [!__x86_64__] (mcontext_t): Likewise.
3821
3822 2017-06-01 Zack Weinberg <zackw@panix.com>
3823
3824 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3825 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3826 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3827 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3828 libpthread.so no longer references __errno_location.
3829
3830 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3831
3832 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3833 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3834 pwritev64v2.
3835 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3836 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3837 pwritev64v2.
3838 * misc/preadv2.c: New file.
3839 * misc/preadv64v2.c: Likewise.
3840 * misc/pwritev2.c: Likewise.
3841 * misc/pwritev64v2.c: Likewise.
3842 * misc/tst-preadvwritev2.c: Likewise.
3843 * misc/tst-preadvwritev64v2.c: Likewise.
3844 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3845 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3846 prototype.
3847 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3848 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3849 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3850 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3851 (PWRITEV): Likewise.
3852 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3853 ENOSYS.
3854 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3855 (tf_preadv2): Likewise.
3856 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3857 * sysdeps/posix/preadv2.c: Likewise.
3858 * sysdeps/posix/preadv64v2.c: Likewise.
3859 * sysdeps/posix/pwritev2.c: Likewise.
3860 * sysdeps/posix/pwritev64v2.c: Likewise.
3861 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3862 support in kernel.
3863 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3864 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3865 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3866 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3867 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3868 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3869 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3870 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3871 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3872 support flags on Linux.
3873 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3874 preadv2, preadv64v2, pwritev2, pwritev64v2.
3875 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3876 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3877 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3878 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3879 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3880 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3881 Likewise.
3882 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3883 Likewise.
3884 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3885 Likewise.
3886 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3889 Likewise.
3890 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3891 Likewise.
3892 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3893 Likewise.
3894 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3896 (GLIBC_2.26): Likewise.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3898 (GLIBC_2.26): Likewise.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3902 (GLIBC_2.26): Likewise.
3903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3904 Likewise.
3905 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3906 Likewise.
3907 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3909 Likewise.
3910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3911 Likewise.
3912 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3913 Likewise.
3914 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3915 Likewise.
3916 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3917 Likewise.
3918 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3919 Likewise.
3920 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3921 Likewise.
3922
3923 2017-05-31 Andreas Schwab <schwab@suse.de>
3924
3925 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3926 (main): Rename to do_test and make static.
3927
3928 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3929
3930 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3931 ARCH_INIT_CPU_FEATURES.
3932 (LIBC_START_MAIN): Call it.
3933 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3934 (__libc_start_main): Remove.
3935 (ARCH_INIT_CPU_FEATURES): New macro.
3936 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3937 (ARCH_INIT_CPU_FEATURES): New macro.
3938
3939 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3940 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3941
3942 * include/stdlib.h (__libc_reallocarray): New declaration.
3943 * malloc/Makefile (routines): Add reallocarray.
3944 (tests): Add tst-reallocarray.c.
3945 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3946 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3947 function.
3948 * malloc/malloc.h (reallocarray): New declaration.
3949 * stdlib/stdlib.h (reallocarray): Likewise.
3950 * malloc/reallocarray.c: New file.
3951 * malloc/tst-reallocarray.c: New test file.
3952 * manual/memory.texi: Document reallocarray.
3953 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3954 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3955 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3956 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3957 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3958 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3959 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3961 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3962 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3963 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3964 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3965 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3966 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3968 Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3970 Likewise.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3973 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3975 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3976 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3977 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3980 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3981 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3982 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3983
3984 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3985
3986 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3987 the lower 32 bits.
3988
3989 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3990
3991 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3992 $(build-pie-default) = yes]: Define.
3993
3994 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 * string/test-memchr.c (test_main): Add tests for n == 0.
3997
3998 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3999
4000 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4001 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4002 (tests-internal): ... here.
4003
4004 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4005 H.J. Lu <hongjiu.lu@intel.com>
4006
4007 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4008 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4009 (__tunable_set_val): Likewise.
4010
4011 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4014 dl-tunables.list in subdirectories.
4015
4016 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4017 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4018 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4019
4020 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4021 (SNANF128): New macro.
4022 * math/e_sqrtf128.c: New file.
4023 * math/s_fmaxmag_template.c: Include math_private.h in order to
4024 make inline expansion of fabs128().
4025 * math/s_fminmag_template.c: Likewise.
4026
4027 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4028 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4029 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4030 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4031 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4032 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4033 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4034 * sysdeps/ieee754/float128/e_expf128.c: New file.
4035 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4036 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4037 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4038 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4039 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4040 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4041 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4042 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4043 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4044 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4045 * sysdeps/ieee754/float128/e_logf128.c: New file.
4046 * sysdeps/ieee754/float128/e_powf128.c: New file.
4047 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4048 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4049 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4050 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4051 * sysdeps/ieee754/float128/float128_private.h: New file.
4052 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4053 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4054 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4055 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4056 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4057 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4058 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4059 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4060 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4061 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4062 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4063 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4064 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4065 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4066 * sysdeps/ieee754/float128/s_erff128.c: New file.
4067 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4068 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4069 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4070 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4071 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4072 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4073 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4074 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4075 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4076 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4077 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4078 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4079 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4080 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4081 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4082 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4083 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4084 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4085 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4086 * sysdeps/ieee754/float128/s_modff128.c: New file.
4087 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4088 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4089 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4090 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4091 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4092 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4093 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4094 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4095 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4096 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4097 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4098 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4099 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4100 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4101 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4102 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4103 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4104 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4105 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4106 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4107 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4108 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4109 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4110 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4111 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4112
4113 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4114 (__iscanonicalf128): Define as a macro.
4115
4116 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4117
4118 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4119 (memmove): Use MEMMOVE for name.
4120 (memcpy): Use MEMCPY for name. Change internal labels
4121 to external labels.
4122 * sysdeps/aarch64/multiarch/Makefile: New file.
4123 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4124 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4125 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4126 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4127 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4128 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4129
4130 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4131
4132 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4133 (_dl_arm_cap_flags): Fix array subscript.
4134 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4135 Fix count.
4136
4137 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4140
4141 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4144 (is_amd): Likewise.
4145 (max_cpuid): Likewise.
4146 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4147 (init_cacheinfo): Likewise.
4148
4149 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4150
4151 [BZ #21511]
4152 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4153 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4154 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4155 !__USE_XOPEN2K) || __USE_MISC].
4156 * conform/data/signal.h-data (struct sigstack): Expect type only
4157 if [!XOPEN2K8 && !POSIX2008].
4158 (sigstack): Expect function only if [XPG42 || UNIX98].
4159
4160 [BZ #21457]
4161 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4162 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4163 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4164 <bits/types/__sigset_t.h>.
4165 (ucontext_t): Use sigset_t instead of __sigset_t.
4166 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4167 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4168 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4169 <bits/types/__sigset_t.h>.
4170 (ucontext_t): Use sigset_t instead of __sigset_t.
4171 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4172 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4173 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4174 <bits/types/__sigset_t.h>.
4175 (ucontext_t): Use sigset_t instead of __sigset_t.
4176 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4177 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4178 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4179 <bits/types/__sigset_t.h>.
4180 (ucontext_t): Use sigset_t instead of __sigset_t.
4181 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4182 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4183 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4184 <bits/types/__sigset_t.h>.
4185 (ucontext_t): Use sigset_t instead of __sigset_t.
4186 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4187 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4188 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4189 <bits/types/__sigset_t.h>.
4190 (ucontext_t): Use sigset_t instead of __sigset_t.
4191 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4192 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4193 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4194 <bits/types/__sigset_t.h>.
4195 (ucontext_t): Use sigset_t instead of __sigset_t.
4196 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4197 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4198 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4199 <bits/types/__sigset_t.h>.
4200 (ucontext_t): Use sigset_t instead of __sigset_t.
4201 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4202 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4203 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4204 <bits/types/__sigset_t.h>.
4205 (ucontext_t): Use sigset_t instead of __sigset_t.
4206 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4207 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4208 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4209 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4210 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4211 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4212 <bits/types/__sigset_t.h>.
4213 (ucontext_t): Use sigset_t instead of __sigset_t.
4214 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4215 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4216 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4217 <bits/types/__sigset_t.h>.
4218 (ucontext_t): Use sigset_t instead of __sigset_t.
4219 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4220 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4221 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4222 <bits/types/__sigset_t.h>.
4223 (ucontext_t): Use sigset_t instead of __sigset_t.
4224 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4225 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4226 <bits/ss_flags.h>.
4227 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4228 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4229 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4230 <bits/types/__sigset_t.h>.
4231 (ucontext_t): Use sigset_t instead of __sigset_t.
4232 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4233 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4234 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4235 <bits/types/__sigset_t.h>.
4236 (ucontext_t): Use sigset_t instead of __sigset_t.
4237 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4238 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4239 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4240 <bits/types/__sigset_t.h>.
4241 (ucontext_t): Use sigset_t instead of __sigset_t.
4242 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4243 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4244 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4245 <bits/types/__sigset_t.h>.
4246 (ucontext_t): Use sigset_t instead of __sigset_t.
4247 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4248 <bits/types.h>.
4249 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4250 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4251 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4252 <bits/types/__sigset_t.h>.
4253 (ucontext_t): Use sigset_t instead of __sigset_t.
4254
4255 2017-05-22 Zack Weinberg <zackw@panix.com>
4256
4257 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4258 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4259 bits/siginfo-arch.h, only if not already defined.
4260 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4261 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4262 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4263 Likewise.
4264
4265 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4266 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4268 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4269 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4270 Unconditionally define __SI_* macros.
4271
4272 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4273
4274 [BZ #21393]
4275 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4276 and add a check for dup3 failure.
4277 * libio/freopen64.c (freopen64): Likewise.
4278 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4279 libsupport.
4280 (do_test_bz21398): New test.
4281 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4282
4283 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4284
4285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4286 Remove invalid comment.
4287
4288 2017-05-21 Zack Weinberg <zackw@panix.com>
4289
4290 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4291
4292 2017-05-20 Zack Weinberg <zackw@panix.com>
4293
4294 * bits/sigevent-consts.h
4295 * bits/siginfo-consts.h
4296 * bits/types/__sigset_t.h
4297 * bits/types/sigevent_t.h
4298 * bits/types/siginfo_t.h
4299 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4300 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4301 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4302 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4303 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4304 New system-dependent bits headers.
4305
4306 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4307 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4308 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4309 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4310 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4312 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4313 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4314 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4315 New Linux-only system-dependent bits headers.
4316
4317 * signal/bits/types/sig_atomic_t.h
4318 * signal/bits/types/sigset_t.h
4319 * signal/bits/types/sigval_t.h:
4320 New non-system-dependent bits headers.
4321
4322 * sysdeps/generic/sigsetops.h
4323 * sysdeps/unix/sysv/linux/sigsetops.h:
4324 New internal headers.
4325
4326 * include/bits/types/sig_atomic_t.h
4327 * include/bits/types/sigset_t.h
4328 * include/bits/types/sigval_t.h:
4329 New wrappers.
4330
4331 * signal/sigsetops.h
4332 * bits/siginfo.h
4333 * bits/sigset.h
4334 * sysdeps/unix/sysv/linux/bits/siginfo.h
4335 * sysdeps/unix/sysv/linux/bits/sigset.h
4336 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4337 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4340 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4342 Deleted.
4343
4344 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4345 Update lists of installed headers.
4346
4347 * posix/bits/types.h: Define __sig_atomic_t here.
4348 * signal/signal.h: Use the new bits headers; no need to handle
4349 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4350 to define sigmask.
4351 * include/signal.h: No need to handle __need_sig_atomic_t
4352 nor __need_sigset_t. Don't define __sigemptyset.
4353
4354 * io/sys/poll.h, setjmp/setjmp.h
4355 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4356 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4357 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4358 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4359 * sysdeps/pthread/bits/sigthread.h
4360 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4361 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4362 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4363 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4364 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4366 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4367 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4368 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4369 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4370 Use bits/types/__sigset_t.h.
4371
4372 * misc/sys/select.h, posix/spawn.h
4373 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4374 * sysdeps/unix/sysv/linux/sys/epoll.h
4375 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4376 Use bits/types/sigset_t.h.
4377
4378 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4379 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4380 * socket/sys/socket.h: Don't include bits/sigset.h.
4381
4382 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4383 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4384 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4385 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4386 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4387 * sysdeps/unix/sysv/linux/nptl-signals.h:
4388 Include sigsetops.h.
4389
4390 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4391 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4392 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4393 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4394 now return no value.
4395
4396 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4397 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4398 "sigsetops.h".
4399
4400 * signal/sigsetops.c: Explicitly define __sigismember,
4401 __sigaddset, and __sigdelset as compatibility symbols.
4402
4403 * signal/Versions: Correct commentary on __sigpause,
4404 __sigaddset, __sigdelset, __sigismember.
4405
4406 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4407 __sigblock/__sigsetmask to use __sigprocmask and friends.
4408
4409 * resolv/resolv.h: Remove __need_res_state logic.
4410 Move definition of res_state and related constants to ...
4411 * resolv/bits/types/res_state.h: ...this new file.
4412 * resolv/Makefile: Install bits/types/res_state.h.
4413 * include/bits/types/res_state.h: New wrapper.
4414 * include/list.h: Remove __need_list_t logic.
4415 Move definition of list_t to ...
4416 * include/list_t.h: ...this new file.
4417
4418 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4419 instead of list.h and resolv.h.
4420
4421 * resolv/resolv.h: Remove __need_res_state logic.
4422 Move definition of res_state and related constants to ...
4423 * resolv/bits/types/res_state.h: ...this new file.
4424 * resolv/Makefile: Install bits/types/res_state.h.
4425 * include/bits/types/res_state.h: New wrapper.
4426 * include/list.h: Remove __need_list_t logic.
4427 Move definition of list_t to ...
4428 * include/list_t.h: ...this new file.
4429
4430 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4431 instead of list.h and resolv.h.
4432
4433 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4434
4435 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4436
4437 2017-05-20 Zack Weinberg <zackw@panix.com>
4438
4439 * sysdeps/arm/sysdep.h
4440 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4441
4442 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4443 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4444 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4445 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4446 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4447 * sysdeps/arm/armv6t2/strlen.S
4448 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4449 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4450 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4451 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4452 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4453 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4454
4455 2017-05-20 Zack Weinberg <zackw@panix.com>
4456
4457 Remove the NaCl port.
4458 * sysdeps/arm/nacl: Remove directory and contents.
4459 * sysdeps/nacl: Remove directory and contents.
4460 * abi-tags: Remove .*-.*-nacl.* entry.
4461
4462 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4463
4464 * manual/errno.texi: Convert @comment-based errno documentation to
4465 @errno.
4466 * manual/macros.texi (@errno): New macro. Consolidate errors,
4467 their values, and messages, adding the error string to the Concept
4468 Index. Provide a warning in the comment about external (to the
4469 manual) dependencies.
4470 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4471 * sysdeps/mach/hurd/errnos.awk: Likewise.
4472
4473 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4474
4475 * bits/ss_flags.h: New file.
4476 * bits/types/stack_t.h: Likewise.
4477 * include/bits/types/struct_sigstack.h: Likewise.
4478 * signal/bits/types/struct_sigstack.h: Likewise.
4479 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4480 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4481 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4482 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4483 bits/types/stack_t.h and bits/ss_flags.h.
4484 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4485 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4486 <bits/ss_flags.h>.
4487 * bits/sigstack.h (struct sigstack): Remove.
4488 (stack_t): Likewise.
4489 (SS_ONSTACK): Likewise.
4490 (SS_DISABLE): Likewise.
4491 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4492 (struct sigstack): Likewise.
4493 (stack_t): Likewise.
4494 (SS_ONSTACK): Likewise.
4495 (SS_DISABLE): Likewise.
4496 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4497 Likewise.
4498 (stack_t): Likewise.
4499 (SS_ONSTACK): Likewise.
4500 (SS_DISABLE): Likewise.
4501 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4502 Likewise.
4503 (stack_t): Likewise.
4504 (SS_ONSTACK): Likewise.
4505 (SS_DISABLE): Likewise.
4506 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4507 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4508 Likewise.
4509 (stack_t): Likewise.
4510 (SS_ONSTACK): Likewise.
4511 (SS_DISABLE): Likewise.
4512 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4513 (struct sigstack): Likewise.
4514 (stack_t): Likewise.
4515 (SS_ONSTACK): Likewise.
4516 (SS_DISABLE): Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4518 Likewise.
4519 (stack_t): Likewise.
4520 (SS_ONSTACK): Likewise.
4521 (SS_DISABLE): Likewise.
4522 * sysdeps/arm/sys/ucontext.h: Include
4523 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4524 <bits/ss_flags.h>.
4525 * sysdeps/generic/sys/ucontext.h: Likewise.
4526 * sysdeps/i386/sys/ucontext.h: Likewise.
4527 * sysdeps/m68k/sys/ucontext.h: Likewise.
4528 * sysdeps/mips/sys/ucontext.h: Likewise.
4529 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4530 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4531 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4532 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4533 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4534 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4535 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4536 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4537 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4538 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4539 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4540 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4541 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4542 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4543 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4544
4545 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4548 "edx + ecx - 16" to avoid possible addition overflow.
4549 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4550
4551 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4552
4553 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4554 (CFLAGS-splice.c): Likewise.
4555 (CFLAGS-open_by_handle_at.c): Likewise.
4556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4557 (CFLAGS-splice.c): Likewise.
4558 (CFLAGS-open_by_handle_at.c): Likewise.
4559
4560 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4561
4562 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4563 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4564 <ldbl-compat-choose.h>.
4565 (maybe_long_double_symbol): New macro.
4566 [!declare_mgen_alias] (declare_mgen_alias): Use
4567 maybe_long_double_symbol.
4568 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4569 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4570 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4571 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4572 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4573 * Makerules [$(build-shared) = yes && !avoid-generated]
4574 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4575 [$(build-shared) = yes && !avoid-generated]
4576 ($(common-objpfx)ldbl-compat-choose.h): New target.
4577
4578 * scripts/versions.awk: Generate first-versions.h.
4579 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4580 <first-versions.h>.
4581 (LDOUBLE_cabsl_libm_version): Remove macro.
4582 (LDOUBLE_cargl_libm_version): Likewise.
4583 (LDOUBLE_cimagl_libm_version): Likewise.
4584 (LDOUBLE_conjl_libm_version): Likewise.
4585 (LDOUBLE_creall_libm_version): Likewise.
4586 (LDOUBLE_cacosl_libm_version): Likewise.
4587 (LDOUBLE_cacoshl_libm_version): Likewise.
4588 (LDOUBLE_ccosl_libm_version): Likewise.
4589 (LDOUBLE_ccoshl_libm_version): Likewise.
4590 (LDOUBLE_casinl_libm_version): Likewise.
4591 (LDOUBLE_csinl_libm_version): Likewise.
4592 (LDOUBLE_casinhl_libm_version): Likewise.
4593 (LDOUBLE_csinhl_libm_version): Likewise.
4594 (LDOUBLE_catanl_libm_version): Likewise.
4595 (LDOUBLE_catanhl_libm_version): Likewise.
4596 (LDOUBLE_ctanl_libm_version): Likewise.
4597 (LDOUBLE_ctanhl_libm_version): Likewise.
4598 (LDOUBLE_cexpl_libm_version): Likewise.
4599 (LDOUBLE_clogl_libm_version): Likewise.
4600 (LDOUBLE_cprojl_libm_version): Likewise.
4601 (LDOUBLE_csqrtl_libm_version): Likewise.
4602 (LDOUBLE_cpowl_libm_version): Likewise.
4603 (LDOUBLE_clog10l_libm_version): Likewise.
4604 (LDOUBLE___clog10l_libm_version): Likewise.
4605 (LDOUBLE_fdiml_libm_version): Likewise.
4606 (LDOUBLE_fmaxl_libm_version): Likewise.
4607 (LDOUBLE_fminl_libm_version): Likewise.
4608 (LDOUBLE_ilogbl_libm_version): Likewise.
4609 (LDOUBLE_nanl_libm_version): Likewise.
4610 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4611 FIRST_VERSION_libm_* macros.
4612 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4613 * Makerules [$(build-shared) = yes && !avoid-generated]
4614 (before-compile): Add $(common-objpfx)first-versions.h.
4615 [$(build-shared) = yes && !avoid-generated]
4616 ($(common-objpfx)first-versions.h): New target.
4617 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4618 building $(common-objpfx)versions.stmp.
4619
4620 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4621
4622 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4623 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4624 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4625 auto-generation list.
4626
4627 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4628 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4629 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4630 from auto-generation list.
4631
4632 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4633 open_by_handle_at.
4634 (CFLAGS-open_by_handle_at.c): New flag.
4635 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4636 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4637 file.
4638 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4639
4640 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4641 (CFLAGS-splice.c): New flag.
4642 * sysdeps/unix/sysv/linux/splice.c: New file.
4643 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4644 auto-generation syscall list.
4645 * misc/Makefile (CFLAGS-splice.c): New rule.
4646
4647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4648 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4649 auto-generation syscall list.
4650 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4651 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4652
4653 * misc/Makefile (CFLAGS-fsync.c): New flag.
4654 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4655 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4656 syscall list.
4657 * sysdeps/unix/sysv/linux/fsync.c: New file.
4658 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4659 (__errno_location): Remove.
4660
4661 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4662 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4663 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4664 list.
4665 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4666
4667 * misc/Makefile (CFLAGS-msync.c): New rule.
4668 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4669 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4670 * sysdeps/unix/sysv/linux/msync.c: New file.
4671
4672 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4673 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4674 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4675 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4676 (CFLAGS-sigsuspend.c): Remove rule.
4677
4678 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4679 (CFLAGS-tee.c): New rule.
4680 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4681 auto-generated list.
4682 * sysdeps/unix/sysv/linux/tee.c: New file.
4683
4684 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4685 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4686 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4687 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4688 auto-generated list.
4689
4690 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4691 auto-generated list.
4692 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4694 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4695 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4696 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4697
4698 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4699 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4701 (__NR_pause): Undefine.
4702 * sysdeps/unix/sysv/linux/pause.c: New file.
4703 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4704 auto-generation list.
4705 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4706 Remove rule.
4707 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4708
4709 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4710
4711 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4712 comments.
4713
4714 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4715
4716 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4717 LD_HWCAP_MASK.
4718
4719 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4720
4721 * manual/conf.texi: Convert @tables of annotated @items to
4722 @vtables.
4723 * manual/lang.texi: Likewise.
4724 * manual/pattern.texi: Likewise.
4725 * manual/resource.texi: Likewise.
4726 * manual/socket.texi: Likewise.
4727
4728 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4729
4730 * manual/crypt.texi: Move a comment out of an @*x list.
4731 * manual/filesys.texi: Refactor some comments, one of which looks
4732 like a standard. Fix incorrectly separated standards.
4733 * manual/locale.texi: Invert an annotation.
4734 * manual/resource.texi: Fix incorrectly separated standards.
4735 * manual/time.texi: Refactor a @vtable that obscures an
4736 annotation.
4737 * manual/users.texi: Refactor multiple headers to occupy a single
4738 @comment.
4739
4740 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4741
4742 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4743 (sysdep_routines): Add memcmp-power8.
4744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4745 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4746 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4747 (memcmp): Add __memcmp_power8 to ifunc list.
4748 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4749 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4750
4751 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4752 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4753
4754 * math/math.h (__MATH_TG): Extend the conditions to add
4755 _Float128 support.
4756 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4757
4758 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4759
4760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4761 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4762 s_cosf-ppc64.
4763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4766 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4767
4768 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4769
4770 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4771 (gen-libm-calls): Add e_exp2F to use the template.
4772 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4773 * math/e_exp2_template.c: New file, renamed from
4774 math/e_exp2l.c, and made into a template.
4775 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4776
4777 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4778
4779 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4780 TUNABLE_TYPE_UINT_64.
4781 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4782 Simplify computation of overflow.
4783 (tunable_set_val_if_valid_range_signed,
4784 tunable_set_val_if_valid_range_unsigned): Remove and replace
4785 with this...
4786 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4787 (tunable_initialize): Adjust. Add uint64_t support.
4788 (__tunable_set_val): Add uint64_t support.
4789 * README.tunables: Document it.
4790
4791 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4792 dl-tunables.list.
4793 * README.tunables: Document it.
4794
4795 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4796
4797 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4798 * sysdeps/posix/preadv64.c: Likewise.
4799 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4800 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4801 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4802 * sysdeps/posix/pwritev64.c: Likewise.
4803 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4804 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4805 * sysdeps/posix/preadv_common.c: New file.
4806 * sysdeps/posix/pwritev_common.c: Likewise.
4807
4808 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4809
4810 * sysdeps/generic/math-type-macros-float128.h
4811 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4812 wrapper templates.
4813
4814 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4815 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4816
4817 * include/complex.h (__kernel_casinhf128): New declaration.
4818 * include/float.h: New file.
4819 * include/math.h (__finitef128): Add a hidden def.
4820 (__isinff128): Likewise.
4821 (__isnanf128): Likewise.
4822 (__fpclassify): Likewise.
4823 (__issignalling): Likewise.
4824 (__expf128): Likewise.
4825 (__expm1f128): Likewise.
4826
4827 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4828 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4829 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4830
4831 * sysdeps/generic/math-type-macros-float128.h: New file.
4832
4833 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4834 math_private_calls.h for _Float128.
4835 (__isinff128): New inline implementation used when GCC < 7.0,
4836 since in this case __builtin_isinf_sign is broken.
4837 (fabsf128): New inline implementation that calls the builtin.
4838 (__EXPR_FLT128): New macro.
4839 (min_of_type): Optionally include _Float128 types too.
4840
4841 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4842 Declare for _Float128.
4843 (__kernel_rem_pio2): Likewise.
4844
4845 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4846 (__DECL_SIMD_sincos_disablef128): New macro.
4847
4848 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4849
4850 * math/math.h: Include bits/math-finite.h for float128.
4851 (__MATH_DECLARING_FLOATN): Define to control declaration of
4852 float128 functions.
4853 * math/bits/math-finite.h (pow10): Do not declare for float128.
4854 (gamma): Likewise.
4855 (scalb): Likewise.
4856
4857 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4858 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4859
4860 * bits/floatn.h: New file.
4861 * bits/huge_val_flt128.h: Likewise.
4862
4863 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4864 (__DECL_SIMD_sinf128): Likewise.
4865 (__DECL_SIMD_sincosf128): Likewise.
4866 (__DECL_SIMD_logf128): Likewise.
4867 (__DECL_SIMD_expf128): Likewise.
4868 (__DECL_SIMD_powf128): Likewise.
4869
4870 * math/Makefile (headers): Install bits/floatn.h and
4871 bits/huge_val_flt128.h.
4872
4873 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4874 defined.
4875
4876 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4877 (isnan, gamma, nexttoward, scalb): Only define if not
4878 __MATH_DECLARING_FLOATN.
4879 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4880 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4881 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4882 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4883
4884 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4885 Include bits/cmathcalls.h to get the declarations of _Float128
4886 versions of complex functions.
4887 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4888 Define macro.
4889
4890 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4891 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4892 get the declarations of _Float128 versions of math functions.
4893 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4894 _FloatN types.
4895 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4896 is type-generic, so use it without __MATH_TG.
4897 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4898 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4899 _Float128 type and GCC < 7.0, otherwise use the builtin.
4900 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4901 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4902 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4903 New _GNU_SOURCE enabled macros.
4904
4905 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4906
4907 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4908 (signbitf): Likewise.
4909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4910 Likewise.
4911 (signbitl): Likewise.
4912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4913 Likewise.
4914 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4915 (signbitl): Likewise.
4916 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4917
4918 2017-05-12 Florian Weimer <fweimer@redhat.com>
4919
4920 [BZ #21386]
4921 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4922 parent PID. The assertion in the child is incorrect with PID
4923 namespaces.
4924
4925 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4926
4927 * sysdeps/unix/sysv/linux/kernel-features.h
4928 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4929 * sysdeps/unix/sysv/linux/internal_statvfs.c
4930 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4931
4932 2017-05-11 Zack Weinberg <zackw@panix.com>
4933
4934 * Makerules: New subdir configuration variables 'tests-internal'
4935 and 'test-internal-extras'. Test files in these categories will
4936 still be compiled with MODULE_NAME=nonlib. Test files in the
4937 existing categories (tests, xtests, test-srcs, test-extras) are
4938 now compiled with MODULE_NAME=testsuite.
4939 New subdir configuration variable 'modules-names-tests'. Files
4940 which are in both 'modules-names' and 'modules-names-tests' will
4941 be compiled with MODULE_NAME=testsuite instead of
4942 MODULE_NAME=extramodules.
4943 (gen-as-const-headers): Move to tests-internal.
4944 (do-tests-clean, common-mostlyclean): Support tests-internal.
4945 * Makeconfig (built-modules): Add testsuite.
4946 * Makefile: Change libof-check-installed-headers-c and
4947 libof-check-installed-headers-cxx to 'testsuite'.
4948 * Rules: Likewise. Support tests-internal.
4949 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4950 Remove extra-modules.mk.
4951
4952 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4953 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4954 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4955 very top of the file and rationalize their order.
4956 If MODULE_NAME is not defined at all, define IS_IN to always be
4957 false, and don't define _ISOMAC.
4958 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4959 true, define _ISOMAC and suppress everything else in this file,
4960 starting with the inclusion of config.h.
4961 Do check for inappropriate definitions of __OPTIMIZE__ and
4962 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4963 Correct some out-of-date commentary.
4964
4965 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4966 and _Mlong_double_ before including math.h.
4967 * include/string.h: If _ISOMAC is defined, don't expose
4968 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4969 location.
4970
4971 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4972 * include/time.h, include/unistd.h, include/wchar.h: No need to
4973 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4974
4975 * misc/sys/cdefs.h (__NTHNL): New macro.
4976 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4977 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4978
4979 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4980 defined, for HAVE_TUNABLES.
4981 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4982 * intl/tst-gettext2.c: Provide own definition of N_.
4983 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4984 * math/test-signgam-main.c: No need to define _ISOMAC.
4985 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4986 * stdlib/tst-strtod1i.c: ...this new file.
4987 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4988 Split tests of __strtod_internal to...
4989 * stdlib/tst-strtod5i.c: ...this new file.
4990 * string/test-string.h: Include stdint.h. Duplicate definition of
4991 inhibit_loop_to_libcall here (from libc-symbols.h).
4992 * string/test-strstr.c: Provide dummy definition of
4993 libc_hidden_builtin_def when including strstr.c.
4994 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4995 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4996 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4997 Don't include init-arch.h.
4998 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4999 Don't include init-arch.h.
5000
5001 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5002 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5003 unload, unload2, circleload1, neededtest, neededtest2,
5004 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5005 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5006 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5007 ifunc tests to tests-internal.
5008 Don't add $(modules-names) to test-extras.
5009 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5010 Add tst-deadline to tests-static-internal.
5011 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5012 tests-internal.
5013 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5014 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5015 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5016 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5017 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5018 Link tests-internal with libpthread also.
5019 Don't add $(modules-names) to test-extras.
5020 * nss/Makefile: Move tst-field to tests-internal.
5021 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5022 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5023 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5024 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5025 tests-internal.
5026 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5027 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5028 test-get_hwcap-static to tests-internal.
5029 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5030 tests-internal.
5031 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5032 modules-names-tests.
5033
5034 2017-05-11 Zack Weinberg <zackw@panix.com>
5035
5036 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5037 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5038 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5039 _IO_funlockfile, and _IO_ftrylockfile. Only define
5040 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5041 already defined.
5042 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5043 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5044 appropriately.
5045 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5046 Define _IO_lock_t_defined after defining _IO_lock_t.
5047
5048 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5049
5050 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5051 void* for argument type and use VDSO_SYMBOL macro.
5052 (is_sigtramp_address_rt): Likewise.
5053 (__backtrace): Setup expected frame pointer address for signal
5054 handling.
5055 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5056 void* for argumetn type and use VSDO_SYMBOL macro.
5057 (__backtrace): Setup expected frame pointer address for signal
5058 handling.
5059
5060 * sysdeps/unix/sysv/linux/writev.c: New file.
5061
5062 * sysdeps/unix/sysv/linux/readv.c: New file.
5063
5064 * include/unistd.h (write): Add hidden proto.
5065 * io/Makefile (CFLAGS-write.c): New define.
5066 * nptl/Makefile (CFLAGS-write.c): Likewise.
5067 * sysdeps/unix/sysv/linux/write.c: New file.
5068
5069 [BZ #21428]
5070 * include/unistd.h (read): Add hidden proto.
5071 * io/Makefile (CFLAGS-read.c): New define.
5072 * nptl/Makefile (CFLAGS-read.c): Likewise.
5073 * sysdeps/unix/sysv/linux/read.c: New file.
5074
5075 * io/Makefile (CFLAGS-creat.c): New rule.
5076 (CFLAGS-creat64.c): Likewise.
5077 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5078 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5079 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5080 * sysdeps/unix/sysv/linux/creat.c: New file.
5081 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5082 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5083 auto-generated list.
5084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5085
5086 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5087 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5088 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5089 * sysdeps/unix/sysv/linux/open.c: New file.
5090 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5091 iff __WORDSIZE != 64 and use __NR_openat when available.
5092 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5093 from auto-generated list.
5094
5095 * nptl/Makefile (CFLAGS-close.c): New flag.
5096 * sysdeps/unix/sysv/linux/close.c: New file.
5097
5098 2017-05-11 DJ Delorie <dj@redhat.com>
5099
5100 * MAINTAINERS: New. Points to wiki.
5101
5102 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5103
5104 * scripts/gen-tunables.awk: Add attribute_relro to
5105 tunable_list.
5106
5107 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5108
5109 [BZ #21457]
5110 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5111 (R1): Likewise.
5112 (R2): Likewise.
5113 (R3): Likewise.
5114 (R4): Likewise.
5115 (R5): Likewise.
5116 (R6): Likewise.
5117 (R7): Likewise.
5118 (R8): Likewise.
5119 (R9): Likewise.
5120 (R10): Likewise.
5121 (R11): Likewise.
5122 (R12): Likewise.
5123 (R13): Likewise.
5124 (R14): Likewise.
5125 (R15): Likewise.
5126 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5127 (REG_FS): Likewise.
5128 (REG_ES): Likewise.
5129 (REG_DS): Likewise.
5130 (REG_EDI): Likewise.
5131 (REG_ESI): Likewise.
5132 (REG_EBP): Likewise.
5133 (REG_ESP): Likewise.
5134 (REG_EBX): Likewise.
5135 (REG_EDX): Likewise.
5136 (REG_ECX): Likewise.
5137 (REG_EAX): Likewise.
5138 (REG_TRAPNO): Likewise.
5139 (REG_ERR): Likewise.
5140 (REG_EIP): Likewise.
5141 (REG_CS): Likewise.
5142 (REG_EFL): Likewise.
5143 (REG_UESP): Likewise.
5144 (REG_SS): Likewise.
5145 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5146 (R_D1): Likewise.
5147 (R_D2): Likewise.
5148 (R_D3): Likewise.
5149 (R_D4): Likewise.
5150 (R_D5): Likewise.
5151 (R_D6): Likewise.
5152 (R_D7): Likewise.
5153 (R_A0): Likewise.
5154 (R_A1): Likewise.
5155 (R_A2): Likewise.
5156 (R_A3): Likewise.
5157 (R_A4): Likewise.
5158 (R_A5): Likewise.
5159 (R_A6): Likewise.
5160 (R_A7): Likewise.
5161 (R_SP): Likewise.
5162 (R_PC): Likewise.
5163 (R_PS): Likewise.
5164 (fpregset_t): Likewise.
5165 (MCONTEXT_VERSION): Likewise.
5166 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5167 (CTX_AT): Likewise.
5168 (CTX_V0): Likewise.
5169 (CTX_V1): Likewise.
5170 (CTX_A0): Likewise.
5171 (CTX_A1): Likewise.
5172 (CTX_A2): Likewise.
5173 (CTX_A3): Likewise.
5174 (CTX_T0): Likewise.
5175 (CTX_T1): Likewise.
5176 (CTX_T2): Likewise.
5177 (CTX_T3): Likewise.
5178 (CTX_T4): Likewise.
5179 (CTX_T5): Likewise.
5180 (CTX_T6): Likewise.
5181 (CTX_T7): Likewise.
5182 (CTX_S0): Likewise.
5183 (CTX_S1): Likewise.
5184 (CTX_S2): Likewise.
5185 (CTX_S3): Likewise.
5186 (CTX_S4): Likewise.
5187 (CTX_S5): Likewise.
5188 (CTX_S6): Likewise.
5189 (CTX_S7): Likewise.
5190 (CTX_T8): Likewise.
5191 (CTX_T9): Likewise.
5192 (CTX_K0): Likewise.
5193 (CTX_K1): Likewise.
5194 (CTX_GP): Likewise.
5195 (CTX_SP): Likewise.
5196 (CTX_S8): Likewise.
5197 (CTX_RA): Likewise.
5198 (CTX_MDLO): Likewise.
5199 (CTX_MDHI): Likewise.
5200 (CTX_CAUSE): Likewise.
5201 (CTX_EPC): Likewise.
5202 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5203 inclusion of <sys/procfs.h> on [__USE_MISC].
5204 (greg_t): Condition on [__USE_MISC].
5205 (gregset_t): Likewise.
5206 (fpregset_t): Likewise.
5207 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5208 (NGREG): Likewise.
5209 (gregset_t): Likewise.
5210 (REG_R0): Likewise.
5211 (REG_R1): Likewise.
5212 (REG_R2): Likewise.
5213 (REG_R3): Likewise.
5214 (REG_R4): Likewise.
5215 (REG_R5): Likewise.
5216 (REG_R6): Likewise.
5217 (REG_R7): Likewise.
5218 (REG_R8): Likewise.
5219 (REG_R9): Likewise.
5220 (REG_R10): Likewise.
5221 (REG_R11): Likewise.
5222 (REG_R12): Likewise.
5223 (REG_R13): Likewise.
5224 (REG_R14): Likewise.
5225 (REG_R15): Likewise.
5226 (struct _libc_fpstate): Likewise.
5227 (fpregset_t): Likewise.
5228 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5229 (NFPREG): Likewise.
5230 (gregset_t): Likewise.
5231 (fpregset_t): Likewise.
5232 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5233 (R_D1): Likewise.
5234 (R_D2): Likewise.
5235 (R_D3): Likewise.
5236 (R_D4): Likewise.
5237 (R_D5): Likewise.
5238 (R_D6): Likewise.
5239 (R_D7): Likewise.
5240 (R_A0): Likewise.
5241 (R_A1): Likewise.
5242 (R_A2): Likewise.
5243 (R_A3): Likewise.
5244 (R_A4): Likewise.
5245 (R_A5): Likewise.
5246 (R_A6): Likewise.
5247 (R_A7): Likewise.
5248 (R_SP): Likewise.
5249 (R_PC): Likewise.
5250 (R_PS): Likewise.
5251 (fpregset_t): Likewise.
5252 (MCONTEXT_VERSION): Likewise.
5253 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5254 Likewise.
5255 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5256 (REG_R1): Likewise.
5257 (REG_R2): Likewise.
5258 (REG_R3): Likewise.
5259 (REG_R4): Likewise.
5260 (REG_R5): Likewise.
5261 (REG_R6): Likewise.
5262 (REG_R7): Likewise.
5263 (REG_R8): Likewise.
5264 (REG_R9): Likewise.
5265 (REG_R10): Likewise.
5266 (REG_R11): Likewise.
5267 (REG_R12): Likewise.
5268 (REG_R13): Likewise.
5269 (REG_R14): Likewise.
5270 (REG_R15): Likewise.
5271 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5272 of <arch/abi.h> on [__USE_MISC].
5273 (greg_t): Condition on [__USE_MISC].
5274 (NGREG): Likewise.
5275 (gregset_t): Likewise.
5276
5277 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5278
5279 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5280 (__pthread_rwlock_arch_t): Remove __data definition.
5281 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5282 (__pthread_rwlock_arch_t): Likewise.
5283
5284 2017-05-11 Florian Weimer <fweimer@redhat.com>
5285
5286 * resolv/inet_pton.c: Reformat in GNU style. Remove
5287 internal_function on static functions.
5288
5289 2017-05-11 Florian Weimer <fweimer@redhat.com>
5290
5291 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5292 from format_ai_flags.
5293 (format_ai_flags): New function. Incorporate flag formatting code
5294 from format_ai_one.
5295 (format_ai_canonname): New function.
5296 (format_ai_one): Remove flags parameter.
5297 (format_ai_family): Likewise.
5298 (support_format_addrinfo): Call format_ai_flags,
5299 format_ai_canonname.
5300 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5301 check_ai.
5302 (check_ai): Call check_ai_hints.
5303 (do_test): Add AI_CANONNAME tests.
5304
5305 2017-05-11 Florian Weimer <fweimer@redhat.com>
5306
5307 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5308 (gaih_inet): Likewise.
5309
5310 2017-05-10 Andreas Schwab <schwab@suse.de>
5311
5312 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5313 (main): Rename to do_test and make static.
5314
5315 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5316
5317 * string/rawmemchr.c: Include <libc-diag.h>.
5318 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5319 with size (size_t)-1.
5320
5321 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5322
5323 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5324 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5325 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5326
5327 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5328 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5329 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5330 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5331 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5332 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5333 * sysdeps/unix/sysv/linux/kernel-features.h
5334 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5335 socket syscalls.
5336 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5337 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5338 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5339 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5340 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5342 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5343 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5344 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5345 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5346 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5348 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5349 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5350 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5351
5352 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5353
5354 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5355 thread-shared-types.h.
5356 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5357 specific thread definition.
5358 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5359 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5360 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5361 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5362 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5363 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5364 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5365 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5366 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5367 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5368 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5369 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5370 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5371 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5372 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5373 thread definition between POSIX and C11.
5374 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5375 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5376 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5377 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5378 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5379 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5380 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5381 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5382 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5383 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5384 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5385 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5386 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5387 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5388 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5389 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5390 definitions shared across all architectures.
5391
5392 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5393
5394 * sysdeps/unix/sysv/linux/kernel-features.h
5395 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5396 (__ASSUME_SENDMMSG): Likewise.
5397 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5398 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5399 sendmmsg syscall if that can be assumed to be present, socketcall
5400 otherwise, with no fallback for runtime failure.
5401
5402 * sysdeps/unix/sysv/linux/kernel-features.h
5403 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5404 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5405 (__ASSUME_RECVMMSG): Likewise.
5406 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5407 recvmmsg syscall if it can be assumed to be present, socketcall
5408 otherwise, with no fallback for runtime failure.
5409
5410 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5411 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5412
5413 * bits/libc-header-start.h:
5414 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5415 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5416 * manual/creature.texi: Likewise.
5417
5418 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5419 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5420
5421 * math/Makefile:
5422 (type-float128-suffix): New variable
5423 (type-float128-routines): Likewise
5424 (type-float128-yes): Likewise
5425 (types): Append float128 if supported
5426 (types-basic): New variable to control the use of templates for
5427 float, double, and long double, but not for float128 or newer types.
5428 (type-basic-foreach): Likewise.
5429
5430 * sysdeps/ieee754/float128/Makeconfig: New file.
5431 * sysdeps/ieee754/float128/Versions: New file.
5432
5433 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5434
5435 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5436 Remove macro.
5437 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5438 prlimit64 is always available and does not give an ENOSYS error.
5439 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5440 unconditional.
5441 [!__NR_prlimit64]: Remove conditional code.
5442 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5443 prlimit64 is always available and does not give an ENOSYS error.
5444 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5445
5446 2017-05-09 Zack Weinberg <zackw@panix.com>
5447
5448 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5449
5450 2017-05-09 Florian Weimer <fweimer@redhat.com>
5451
5452 [BZ #21474]
5453 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5454 (__res_maybe_init): Likewise.
5455
5456 2017-05-09 Zack Weinberg <zackw@panix.com>
5457
5458 * extra-modules.mk: Delete file.
5459 * cppflags-iterator.mk: Rename to ...
5460 * libof-iterator.mk: ...this. Adjust comments.
5461
5462 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5463 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5464 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5465 Use libof-iterator.mk instead of cppflags-iterator.mk or
5466 extra-modules.mk.
5467
5468 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5469 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5470
5471 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5472
5473 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5474
5475 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5476
5477 * stdio-common/vfprintf.c (EXTSIZ): Define.
5478 (vfprintf): Use EXTSIZ.
5479 (printf_positional): Likewise.
5480
5481 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5482
5483 * sysdeps/unix/sysv/linux/kernel-features.h
5484 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5485 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5486 <kernel-features.h>.
5487 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5488
5489 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5490 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5491
5492 2017-05-08 Florian Weimer <fweimer@redhat.com>
5493
5494 Prevent multiple deletion of temporary files.
5495 * support/temp_file.c (struct temp_name_list): Add owner member.
5496 (add_temp_file): Record owner.
5497 (support_delete_temp_files): Delete file only if owner matches.
5498 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5499 (do_prepare): Use create_temp_file instead of add_temp_file.
5500 Initialize temp_fd1, temp_fd2.
5501 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5502 framework remove the temporary files.
5503 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5504 (do_prepare): Use create_temp_file instead of add_temp_file.
5505 Initialize temp_fd1, temp_fd2, temp_fd3.
5506 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5507 the test framework remove the temporary files.
5508 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5509 deletion.
5510 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5511 temporary directory. It is removed by the test framework.
5512 * dirent/tst-scandir.c (do_test): Likewise.
5513
5514 2017-05-08 Florian Weimer <fweimer@redhat.com>
5515
5516 Delete temporary files in LIFO order.
5517 * support/temp_file.c (struct temp_name_list): Replace q member
5518 with next.
5519 (add_temp_file): Add new file to front of linked list.
5520 (support_delete_temp_files): Use next member.
5521 (support_print_temp_files): Likewise.
5522
5523 2017-05-08 Florian Weimer <fweimer@redhat.com>
5524
5525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5526 sys/ultrasound.h.
5527 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5528
5529 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5530
5531 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5532 Remove.
5533 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5534 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5535 (arch_minimum_kernel): Remove.
5536 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5537 * README: Update statement about Linux kernel requirements.
5538
5539 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5540
5541 * manual/llio.texi: Add preadv and pwritev documentation.
5542
5543 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #21455]
5546 * bits/stdint-intn.h: New file.
5547 * bits/stdint-uintn.h: Likewise.
5548 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5549 bits/stdint-uintn.h.
5550 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5551 <stdint.h>.
5552 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5553 (__int8_t_defined): Do not define here.
5554 (int8_t): Likewise.
5555 (int16_t): Likewise.
5556 (int32_t): Likewise.
5557 (int64_t): Likewise.
5558 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5559 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5560 <stdint.h>.
5561 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5562 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5563 <bits/stdint-uintn.h>.
5564 (int8_t): Do not define here.
5565 (int16_t): Likewise.
5566 (int32_t): Likewise.
5567 (int64_t): Likewise.
5568 (uint8_t): Likewise.
5569 (uint16_t): Likewise.
5570 (uint32_t): Likewise.
5571 (uint64_t): Likewise.
5572 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5573 variable.
5574 (test-xfail-XPG42/netdb.h/conform): Likewise.
5575 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5576 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5577 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5578 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5579
5580 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5581
5582 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5583 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5584 the above.
5585 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5587
5588 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5589
5590 [BZ #21445]
5591 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5592
5593 [BZ #21457]
5594 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5595 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5596 __glibc_reserved1.
5597 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5598 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5599 (struct _fpxreg): Likewise.
5600 [!__x86_64__] (struct _fpstate): Rename field reserved to
5601 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5602 [__x86_64__] (struct _fpstate): Rename field padding to
5603 __glibc_reserved1.
5604 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5605 Rename field reserved2 to __glibc_reserved2.
5606 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5607 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5608 __glibc_reserved1.
5609 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5610 __glibc_reserved1.
5611
5612 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5613
5614 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5615 variable name.
5616
5617 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5618
5619 [BZ #21391]
5620 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5621 Only call init_cpu_features.
5622 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5623 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5624 * sysdeps/i386/dl-procinfo.h: Removed.
5625 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5626 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5627 <sysdeps/x86/dl-procinfo.h>.
5628 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5629 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5630 Include <sysdeps/x86/dl-procinfo.h> instead of
5631 <sysdeps/generic/dl-procinfo.h>.
5632 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5633 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5634 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5635 (bit_cpu_MOVBE): Likewise.
5636 (bit_cpu_BMI1): Likewise.
5637 (bit_cpu_BMI2): Likewise.
5638 (index_cpu_BMI1): Likewise.
5639 (index_cpu_BMI2): Likewise.
5640 (index_cpu_LZCNT): Likewise.
5641 (index_cpu_MOVBE): Likewise.
5642 (index_cpu_POPCNT): Likewise.
5643 (reg_BMI1): Likewise.
5644 (reg_BMI2): Likewise.
5645 (reg_LZCNT): Likewise.
5646 (reg_MOVBE): Likewise.
5647 (reg_POPCNT): Likewise.
5648 * sysdeps/x86/dl-hwcap.h: New file.
5649 * sysdeps/x86/dl-procinfo.h: Likewise.
5650 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5651 (_dl_x86_platforms): Likewise.
5652
5653 2017-05-03 DJ Delorie <dj@redhat.com>
5654
5655 [BZ #21411]
5656 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5657
5658 2017-05-03 Phil Blundell <pb@pbcl.net>
5659
5660 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5661 comments.
5662
5663 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5664
5665 [BZ #20116]
5666 * nptl/pthread_create.c: Expand comments to describe
5667 semaphore-like and mutex-like uses of PD->lock.
5668
5669 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5670
5671 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5672 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5673 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5674 auto-generation list.
5675 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5676 epoll_wait.
5677 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5678 Remove epoll_wait.
5679
5680 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5681 osf_select.
5682 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5683 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5684 osf_select from auto-generation list.
5685 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5686 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5687 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5688 * sysdeps/unix/sysv/linux/select.c: New file.
5689
5690 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5691 * sysdeps/unix/sysv/linux/poll.c: New file.
5692 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5693 auto-generation list.
5694
5695 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5696
5697 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5698 New macro.
5699
5700 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5701
5702 [BZ #21179]
5703 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5704 R_SPARC_REGISTER relocations.
5705
5706 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5707
5708 * include/unistd.h (__pread): Add libc_hidden_proto.
5709 (__pread64): Likewise.
5710 (__pwrite): Likewise.
5711 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5712 (__pread64): Remove.
5713 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5714 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5715 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5716
5717 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5718
5719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5720
5721 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5722
5723 * nptl/tst-cancel4-common.c: Use libsupport.
5724 * nptl/tst-cancel4-common.h: Likewise.
5725 * nptl/tst-cancel4.c (tf_read): Likewise.
5726 (tf_readv): Likewise.
5727 (tf_write): Likewise.
5728 (tf_writev): Likewise.
5729 (tf_sleep): Likewise.
5730 (tf_usleep): Likewise.
5731 (tf_nanosleep): Likewise.
5732 (tf_select): Likewise.
5733 (tf_pselect): Likewise.
5734 (tf_poll): Likewise.
5735 (tf_ppoll): Likewise.
5736 (tf_wait): Likewise.
5737 (tf_waitpid): Likewise.
5738 (tf_waitid): Likewise.
5739 (tf_sigpause): Likewise.
5740 (tf_sigsuspend): Likewise.
5741 (tf_sigwait): Likewise.
5742 (tf_sigwaitinfo): Likewise.
5743 (tf_sigtimedwait): Likewise.
5744 (tf_pause): Likewise.
5745 (tf_accept): Likewise.
5746 (tf_send): Likewise.
5747 (tf_recv): Likewise.
5748 (tf_recvfrom): Likewise.
5749 (tf_recvmsg): Likewise.
5750 (tf_open): Likewise.
5751 (tf_close): Likewise.
5752 (tf_pread): Likewise.
5753 (tf_pwrite): Likewise.
5754 (tf_preadv): Likewise.
5755 (tf_pwritev): Likewise.
5756 (tf_fsync): Likewise.
5757 (tf_fdatasync): Likewise.
5758 (tf_msync): Likewise.
5759 (tf_sendto): Likewise.
5760 (tf_sendmsg): Likewise.
5761 (tf_creat): Likewise.
5762 (tf_connect): Likewise.
5763 (tf_tcdrain): Likewise.
5764 (tf_msgrcv): Likewise.
5765 (tf_msgsnd): Likewise.
5766 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5767 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5768
5769 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5770 expected arguments.
5771 (do_test): Adapt to use libsupport.
5772
5773 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5774
5775 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5776
5777 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5778 (PF_MAX): Set to 44.
5779 (AF_SMC): New macro.
5780
5781 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5782 kernel version to 4.11.
5783
5784 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5785
5786 [BZ #21280]
5787 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5788 signal of subnormals and adjust the exponent of power of 2 down
5789 when low part has opposite sign.
5790
5791 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5792
5793 * sysdeps/powerpc/powerpc64le/Implies: New file.
5794 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5795 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5796 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5797 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5798 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5799 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5800 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5801 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5802 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5803 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5804 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5805 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5806 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5807 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5808 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5809 * sysdeps/powerpc/preconfigure: New file.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5812
5813 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5814
5815 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5816 inclusion.
5817 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5818 Remove.
5819
5820 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5821
5822 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5823 (XPG3): Rename standard to XPG4.
5824 * conform/Makefile: Likewise.
5825 * conform/list-header-symbols.pl: Likewise.
5826 * conform/data/aio.h-data: Likewise.
5827 * conform/data/arpa/inet.h-data: Likewise.
5828 * conform/data/complex.h-data: Likewise.
5829 * conform/data/ctype.h-data: Likewise.
5830 * conform/data/dlfcn.h-data: Likewise.
5831 * conform/data/fcntl.h-data: Likewise.
5832 * conform/data/fenv.h-data: Likewise.
5833 * conform/data/float.h-data: Likewise.
5834 * conform/data/fmtmsg.h-data: Likewise.
5835 * conform/data/ftw.h-data: Likewise.
5836 * conform/data/grp.h-data: Likewise.
5837 * conform/data/inttypes.h-data: Likewise.
5838 * conform/data/iso646.h-data: Likewise.
5839 * conform/data/langinfo.h-data: Likewise.
5840 * conform/data/libgen.h-data: Likewise.
5841 * conform/data/limits.h-data: Likewise.
5842 * conform/data/locale.h-data: Likewise.
5843 * conform/data/math.h-data: Likewise.
5844 * conform/data/mqueue.h-data: Likewise.
5845 * conform/data/ndbm.h-data: Likewise.
5846 * conform/data/net/if.h-data: Likewise.
5847 * conform/data/netdb.h-data: Likewise.
5848 * conform/data/netinet/in.h-data: Likewise.
5849 * conform/data/poll.h-data: Likewise.
5850 * conform/data/pthread.h-data: Likewise.
5851 * conform/data/pwd.h-data: Likewise.
5852 * conform/data/sched.h-data: Likewise.
5853 * conform/data/search.h-data: Likewise.
5854 * conform/data/semaphore.h-data: Likewise.
5855 * conform/data/signal.h-data: Likewise.
5856 * conform/data/spawn.h-data: Likewise.
5857 * conform/data/stdbool.h-data: Likewise.
5858 * conform/data/stdint.h-data: Likewise.
5859 * conform/data/stdio.h-data: Likewise.
5860 * conform/data/stdlib.h-data: Likewise.
5861 * conform/data/string.h-data: Likewise.
5862 * conform/data/strings.h-data: Likewise.
5863 * conform/data/stropts.h-data: Likewise.
5864 * conform/data/sys/mman.h-data: Likewise.
5865 * conform/data/sys/resource.h-data: Likewise.
5866 * conform/data/sys/select.h-data: Likewise.
5867 * conform/data/sys/socket.h-data: Likewise.
5868 * conform/data/sys/stat.h-data: Likewise.
5869 * conform/data/sys/statvfs.h-data: Likewise.
5870 * conform/data/sys/time.h-data: Likewise.
5871 * conform/data/sys/timeb.h-data: Likewise.
5872 * conform/data/sys/types.h-data: Likewise.
5873 * conform/data/sys/uio.h-data: Likewise.
5874 * conform/data/sys/un.h-data: Likewise.
5875 * conform/data/sys/wait.h-data: Likewise.
5876 * conform/data/syslog.h-data: Likewise.
5877 * conform/data/termios.h-data: Likewise.
5878 * conform/data/tgmath.h-data: Likewise.
5879 * conform/data/time.h-data: Likewise.
5880 * conform/data/ucontext.h-data: Likewise.
5881 * conform/data/unistd.h-data: Likewise.
5882 * conform/data/utmpx.h-data: Likewise.
5883 * conform/data/varargs.h-data: Likewise.
5884 * conform/data/wchar.h-data: Likewise.
5885 * conform/data/wctype.h-data: Likewise.
5886
5887 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5888
5889 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5890 version to 7 branch.
5891
5892 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5893
5894 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5895 earlyclobber to output operand of sqrt insn.
5896 (__ieee754_sqrtf): Ditto.
5897
5898 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5899
5900 [BZ #21426]
5901 * misc/bits/types/struct_iovec.h: New file.
5902 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5903 * include/bits/types/struct_iovec.h: New file.
5904 * bits/uio.h (struct iovec): Replace by inclusion of
5905 <bits/types/struct_iovec.h>.
5906 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5907 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5908 of <sys/uio.h>.
5909 * nptl/tst-cancel4.c: Include <sys/uio.h>
5910 * posix/test-errno.c: Likewise.
5911 * support/resolv_test.c: Likewise.
5912 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5913 Remove.
5914 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5915 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5916 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5917
5918 * conform/data/sys/socket.h-data (*_t): Allow.
5919
5920 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5921
5922 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5923 assignment.
5924
5925 2017-04-24 Daurnimator <quae@daurnimator.com>
5926 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5927
5928 [BZ #21340]
5929 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5930 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5931 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5932 valid flags.
5933 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5934 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5935 POSIX_SPAWN_SETSID.
5936 * sysdeps/posix/spawni.c (__spawni): Likewise.
5937 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5938 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5939
5940 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5941
5942 * sysdeps/generic/math_private.h: Move the declaration of many
5943 functions to sysdeps/generic/math_private_calls.h.
5944 * sysdeps/generic/math_private_calls.h: New file with the
5945 declarations of the functions removed from math_private.h
5946 macroized by floating-point type.
5947
5948 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5949
5950 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5951 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5952 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5953 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5954 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5955 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5956
5957 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5958
5959 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5960 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5961 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5962 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5963 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5964 New Define.
5965
5966 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5967
5968 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5969 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5970 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5971 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5972 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5973 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5974
5975 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5976
5977 * sysdeps/s390/multiarch/ifunc-resolve.h
5978 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5979 * sysdeps/s390/multiarch/8bit-generic.c
5980 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5981 define ifunc resolvers.
5982
5983 2017-04-21 Florian Weimer <fweimer@redhat.com>
5984
5985 [BZ #20424]
5986 * manual/memory.texi (Replacing malloc): New section.
5987 (Allocating Storage For Program Data): Reference it.
5988 (The GNU Allocator): Likewise.
5989
5990 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5991
5992 * stdlib/Versions (__strtod_internal): List explicitly, not as
5993 wildcard.
5994 (__strtof_internal): Likewise.
5995 (__strtold_internal): Likewise.
5996 (__strtol_internal): Likewise.
5997 (__strtoll_internal): Likewise.
5998 (__strtoul_internal): Likewise.
5999 (__strtoull_internal): Likewise.
6000 (__strtoq_internal): Likewise.
6001 (__strtouq_internal): Likewise.
6002 * wcsmbs/Versions (__wcstod_internal): Likewise.
6003 (__wcstof_internal): Likewise.
6004 (__wcstold_internal): Likewise.
6005 (__wcstol_internal): Likewise.
6006 (__wcstoll_internal): Likewise.
6007 (__wcstoul_internal): Likewise.
6008 (__wcstoull_internal): Likewise.
6009
6010 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6011
6012 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6013 struct timespec definition.
6014
6015 2017-04-19 Florian Weimer <fweimer@redhat.com>
6016
6017 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6018
6019 2017-04-19 Florian Weimer <fweimer@redhat.com>
6020
6021 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6022 * inet/rexec.c (rexec_af): Likewise.
6023
6024 2017-04-19 Zack Weinberg <zackw@panix.com>
6025
6026 * posix/tst-mmap-offset.c: Include stdint.h.
6027 * resolv/tst-ns_name_compress.c: Include string.h.
6028 * resolv/tst-resolv-edns.c: Include resolv.h.
6029
6030 2017-04-19 Florian Weimer <fweimer@redhat.com>
6031
6032 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6033 with __glibc_likely.
6034 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6035 Replace __builtin_expect with __glibc_unlikely.
6036 * resolv/res_init.c (__res_vinit): Likewise.
6037 * resolv/res_query.c (__libc_res_nquery): Likewise.
6038 * resolv/res_send.c (__libc_res_nsend): Likewise.
6039
6040 2017-04-19 Florian Weimer <fweimer@redhat.com>
6041
6042 [BZ #15722]
6043 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6044 with SOCK_CLOEXEC.
6045 * resolv/res_send.c (send_vc, reopen): Likewise.
6046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6047 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6048 Likewise.
6049 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6050 * inet/rexec.c (rexec_af): Add comment.
6051 * inet/rcmd.c (rresvport_af): Likewise.
6052
6053 2017-04-19 Florian Weimer <fweimer@redhat.com>
6054
6055 * nscd/connections.c (have_accept4): Removed definition.
6056 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6057 accept4 works.
6058 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6059 ia64 because that was the first version with accept4 support.
6060 * support/Makefile (libsupport-routines): Add xaccept4.
6061 * support/xsocket.h (xaccept4): Declare.
6062 * support/xaccept4.c: New file.
6063 * socket/tst-accept4.c: New file.
6064 * socket/Makefile (tests): Add tst-accept4.
6065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6066 definition.
6067 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6068 comment.
6069 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6070 implementation is available.
6071 (accept4): Use the system call if available, otherwise use the
6072 socket call.
6073 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6074 Set to 3.2.18.
6075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6076 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6077 accept4 is unconditionally available in later 3.2 stable kernels.
6078 (__ASSUME_ACCEPT4_SYSCALL): Define.
6079 * sysdeps/unix/sysv/linux/kernel-features.h
6080 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6081 definitions.
6082 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6083 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6084
6085 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6086
6087 * conform/Makefile (tests-special): Do not make addition of
6088 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6089 (generated): Do not make addition of $(conformtest-header-base)
6090 conditional on [$(cross-compiling) = no].
6091
6092 [BZ #21267]
6093 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6094 if defined by <asm/socket.h> and not previously defined.
6095 (IOCSIZE_SHIFT): Likewise.
6096 (IOC_IN): Likewise.
6097 (IOC_INOUT): Likewise.
6098 (IOC_OUT): Likewise.
6099
6100 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6101
6102 [BZ #21396]
6103 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6104 Prefer_No_AVX512 if AVX512ER isn't available.
6105 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6106 (index_arch_Prefer_No_AVX512): Likewise.
6107 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6108 AVX512 version if Prefer_No_AVX512 is set.
6109 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6110 Likewise.
6111 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6112 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6113 Likewise.
6114 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6115 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6116 Likewise.
6117 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6118 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6119 Likewise.
6120
6121 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6122
6123 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6124 Prefer_No_VZEROUPPER if AVX512ER is available.
6125 * sysdeps/x86/cpu-features.h
6126 (bit_cpu_AVX512PF): New.
6127 (bit_cpu_AVX512ER): Likewise.
6128 (bit_cpu_AVX512CD): Likewise.
6129 (bit_cpu_AVX512BW): Likewise.
6130 (bit_cpu_AVX512VL): Likewise.
6131 (index_cpu_AVX512PF): Likewise.
6132 (index_cpu_AVX512ER): Likewise.
6133 (index_cpu_AVX512CD): Likewise.
6134 (index_cpu_AVX512BW): Likewise.
6135 (index_cpu_AVX512VL): Likewise.
6136 (reg_AVX512PF): Likewise.
6137 (reg_AVX512ER): Likewise.
6138 (reg_AVX512CD): Likewise.
6139 (reg_AVX512BW): Likewise.
6140 (reg_AVX512VL): Likewise.
6141
6142 2017-04-18 Florian Weimer <fweimer@redhat.com>
6143
6144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6145 O_CLOEXEC is defined.
6146 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6147 * io/Makefile (aux): Remove.
6148 * io/have_o_cloexec.c: Remove file.
6149 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6150 defined and works.
6151 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6152 defined.
6153 * login/utmp_file.c (O_flags): Remove definition.
6154 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6155 O_CLOEXEC works.
6156 (pututline_file): Likewise.
6157 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6158 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6159 definition.
6160 (internal_setgrent): Assume that O_CLOEXEC works.
6161 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6162 Remove definition.
6163 (internal_setgrent): Assume that O_CLOEXEC works.
6164 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6165 definition.
6166 (internal_setpwent): Assume that O_CLOEXEC works.
6167 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6168 definition.
6169 (internal_setspent): Assume that O_CLOEXEC works.
6170 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6171 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6172 O_CLOEXEC is defined and works.
6173 * nss/Makefile (libnss_files-routines): Remove
6174 files-have_o_cloexec.
6175 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6176 defined.
6177 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6178 O_CLOEXEC is defined and works.
6179 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6180 * nss/nss_files/files-have_o_cloexec.c: Remove.
6181 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6182 defined.
6183 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6184 and works.
6185 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6186 definition.
6187 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6188 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6189 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6190 (__opendirat, __opendir): Adjust opendir_oflags call.
6191 (check_have_o_cloexec): Remove.
6192 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6193 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6194 defined.
6195 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6196 Remove definition.
6197
6198 2017-04-18 Florian Weimer <fweimer@redhat.com>
6199
6200 * include/unistd.h (__have_dup3): Remove declaration.
6201 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6202 dup3 is available.
6203 * libio/freopen64.c (freopen64): Likewise.
6204 * socket/Makefile (aux): Remove have_sock_cloexec.
6205 * socket/have_sock_cloexec.c: Remove file.
6206 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6207 definition.
6208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6209 Likewise.
6210 * sysdeps/nacl/kernel-features.h: Update comment.
6211
6212 2017-04-18 Florian Weimer <fweimer@redhat.com>
6213
6214 * include/unistd.h (__have_pipe2): Remove declaration.
6215 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6216 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6217 available.
6218 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6219 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6220 Remove definition.
6221
6222 2017-04-18 Florian Weimer <fweimer@redhat.com>
6223
6224 * malloc/malloc.c (cfree): Turn into compat symbol.
6225 (__cfree): Remove alias.
6226 * stdlib/stdlib.h (cfree): Remove declaration.
6227 * malloc/malloc.h (cfree): Likewise.
6228 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6229 * malloc/Versions (GLIBC_2.26): Add.
6230
6231 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6232
6233 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6234 (sysdep_routines): Add strrchr-power8.
6235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6236 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6237 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6239 (strrchr): Add __strrchr_power8 to ifunc list.
6240 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6241
6242 2017-04-17 Rabin Vincent <rabinv@axis.com>
6243
6244 [BZ #21357]
6245 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6246 Call free() outside of mutex.
6247
6248 2017-04-13 Florian Weimer <fweimer@redhat.com>
6249
6250 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6251 is defined.
6252 * elf/rtld.c (process_envvars): Likewise.
6253 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6254 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6255 O_NOFOLLOW directly.
6256 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6257
6258 2017-04-13 Florian Weimer <fweimer@redhat.com>
6259
6260 [BZ #21369]
6261 Remove EDNS fallback.
6262 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6263 handling.
6264 * resolv/res_send.c (send_dg): Likewise.
6265 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6266 "tcp." prefixes.
6267 (do_test): Send a "formerr."-prefixed query in an attempt to
6268 trigger EDNS fallback.
6269
6270 2017-04-13 Florian Weimer <fweimer@redhat.com>
6271
6272 [BZ #21361]
6273 Limit EDNS buffer size to 1200 bytes.
6274 * include/resolv.h (__res_nopt): Remove declaration.
6275 * resolv/Makefile (tests): tst-resolv-edns.
6276 (tst-resolv-edns): Link with -lresolv, -lpthread.
6277 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6278 interval [512, 1200].
6279 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6280 we can resize the buffer.
6281 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6282 (__res_nopt): Declare.
6283 * resolv/tst-resolv-edns.c: New file.
6284 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6285 (struct resolv_response_context): Add edns member.
6286 * resolv/resolv_test.c (struct query_info): Add edns member.
6287 (parse_query): Extract EDNS information from the query.
6288 (server_thread_udp_process_one): Propagate EDNS data.
6289 (server_thread_tcp_client): Likewise.
6290
6291 2017-04-13 Florian Weimer <fweimer@redhat.com>
6292
6293 [BZ #21359]
6294 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6295 byte in the destination buffer. Avoid out-of-bounds pointer
6296 arithmetic.
6297 * resolv/Makefile (tests): Add tst-ns_name_compress.
6298 (tst-ns_name_compress): Link with -lresolv.
6299 * resolv/tst-ns_name_compress.c: New file.
6300 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6301 (response): Recognize LONG_NAME.
6302 (do_test): Add LONG_NAME tests.
6303 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6304 for ns_name_unpack. Add tests for ns_name_pton and
6305 ns_name_compress.
6306
6307 2017-04-13 Florian Weimer <fweimer@redhat.com>
6308
6309 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6310 (res_nisourserver): Remove definition.
6311 (p_section, res_npquery, res_nisourserver): Remove declaration.
6312 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6313 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6314 ... here.
6315 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6316 <resolv.h>.
6317 * resolv/res_query.c: Likewise.
6318 * resolv/res_debug.c (p_section): Define as static.
6319
6320 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6321
6322 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6323 strncat-power8.
6324 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6325 __strncat_power8 to ifunc list.
6326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6327 (strncat): Add __strncat_power8 to list of strncat functions.
6328 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6329
6330 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6331
6332 [BZ #21270]
6333 * posix/tst-mmap-offset.c (do_prepare): New function.
6334 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6335 (do_test_bz21270): New function.
6336 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6337 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6338 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6339 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6340 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6341 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6342 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6343 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6344 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6345 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6346 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6347 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6348 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6349 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6350 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6351 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6352 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6353 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6354 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6355 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6356 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6357 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6358 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6359 from auto-generation list.
6360 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6362 * sysdeps/unix/sysv/linux/mmap.c: New file.
6363 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6364 offsets and support for mmap2 syscall.
6365
6366 * posix/globtest.sh: Add cleanup routine on trap 0.
6367
6368 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6369
6370 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6371 implementation-specific function name and remove unneeded
6372 macros definition.
6373 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6375 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6376 name if not defined and pass as parameter to macros accordingly.
6377 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6378 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6379
6380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6381 implementation-specific function name and remove unneeded
6382 macros definition.
6383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6385 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6386 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6389 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6390 name if not defined and pass as parameter to macros accordingly.
6391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6392 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6393 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6394 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6396 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6397
6398 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6399 implementation-specific function name and remove unneeded macros
6400 definition.
6401 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6402 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6404 function name if not defined and pass as parameter to macros
6405 accordingly.
6406 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6407 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6408
6409 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6410 implementation-specific function name and remove unneeded macros
6411 definition.
6412 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6413 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6414 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6416 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6417 not defined and pass as parameter to macros accordingly.
6418 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6419 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6420 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6421 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6422
6423 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6424 strcasestr implementation name and remove unneeded macros definition.
6425 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6426 strstr implementation name and remove unneeded macros definition.
6427 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6428 name if not defined and pass as parameter to macros accordingly.
6429 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6430
6431 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6432 implementation-specific function name and remove unneeded macros
6433 definition.
6434 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6435 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6436 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6437 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6438 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6439 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6440 function name if not defined and pass as parameter to macros
6441 accordingly.
6442 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6443 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6444 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6445 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6446
6447 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6448 the strlen implementation name and remove unneeded macros definition.
6449 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6450 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6451 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6452 the strnlen implementation name and remove unneeded macros definition.
6453 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6454 name if not defined and pass as parameter to macros accordingly.
6455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6456 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6457 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6458
6459 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6460 the implementation-specific function name and remove unneeded
6461 macros definition.
6462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6464 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6465 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6466 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6467 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6468 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6469 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6470 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6472 name if not defined and pass as parameter to macros accordingly.
6473 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6477 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6479 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6480 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6481
6482 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6483 implementation-specific function name and remove unneeded macros
6484 definition.
6485 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6486 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6488 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6490 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6491 function name if not defined.
6492 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6493 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6494
6495 2017-04-11 Paul Clarke <pc@us.ibm.com>
6496
6497 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6498 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6499 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6500 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6501
6502 2017-04-11 Florian Weimer <fweimer@redhat.com>
6503 Zack Weinberg <zackw@panix.com>
6504
6505 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6506 readdir64 as thread-safe. Update warning about readdir_r.
6507
6508 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6509
6510 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6511 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6512 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6513 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6514 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6515 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6516 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6517
6518 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6519
6520 * sysdeps/i386/dl-procinfo.c: Include
6521 <sysdeps/x86/dl-procinfo.c>.
6522 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6523 * sysdeps/x86/dl-procinfo.c: New file.
6524
6525 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6526
6527 * sysdeps/generic/math_private.h: Remove declarations of
6528 many functions that are already declared in math.h.
6529 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6530 declaration for __frexpl.
6531 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6532 the declarations for __scalbnl and fabsl.
6533
6534 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6535
6536 [BZ #20831]
6537 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6538 of __mprotect to change protection on the excess portion
6539 to disallow all access.
6540
6541 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6542
6543 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6544 HAS_CPU_FEATURE to check for SSE.
6545 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6546 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6547 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6548 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6549 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6550 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6551 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6552 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6553 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6554 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6555 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6556 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6557 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6558 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6559 (index_cpu_SSE): Likewise.
6560 (reg_SSE): Likewise.
6561
6562 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6563
6564 * posix/getopt1.c: Include <config.h>, not "config.h".
6565
6566 2017-04-07 Zack Weinberg <zackw@panix.com>
6567
6568 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6569 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6570 Mention in top-of-file boilerplate that these files are shared
6571 with gnulib.
6572 * posix/getopt.h, posix/bits/getopt_posix.h:
6573 Mention in top-of-file boilerplate that these files are NOT shared
6574 with gnulib, unlike the rest of the getopt implementation.
6575
6576 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6577 New files, intended to be shared with gnulib.
6578 * posix/bits/getopt_posix.h:
6579 New file, not intended to be shared with gnulib.
6580 * posix/getopt.h: Now just includes features.h,
6581 bits/getopt_core.h, and bits/getopt_ext.h. Will
6582 no longer be shared with gnulib.
6583 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6584 * include/bits/getopt_posix.h: New wrappers.
6585 * posix/Makefile: Install new headers.
6586 * posix/unistd.h, libio/stdio.h:
6587 Include bits/getopt_posix.h instead of getopt.h.
6588
6589 * include/libc-symbols.h: For gnulib compatibility, define
6590 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6591 _GL_ATTRIBUTE_CONST.
6592 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6593 parameters with _GL_UNUSED.
6594
6595 * posix/getopt.c: When used standalone, define __libc_use_alloca
6596 as always false and alloca to abort if called.
6597 (process_long_option): Rewrite handling of ambiguous long options
6598 to use a single boolean vector, not a linked list; use
6599 __libc_use_alloca to decide whether to allocate this using alloca.
6600 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6601
6602 * posix/getopt.c (process_long_option): New function split out
6603 from _getopt_internal_r.
6604 (_getopt_internal_r): Replace both copies of the long-option
6605 processing code with calls to process_long_option.
6606 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6607 (do_test): Differentiate argv[0] in the two subtests.
6608
6609 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6610 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6611 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6612
6613 * posix/getopt.h: Add backup definition of __nonnull for
6614 consistency with gnulib. Define __getopt_argv_const to const
6615 if not already defined.
6616 (getopt): Update doc comment from gnulib. Prototype
6617 unconditionally. Add __nonnull annotation.
6618 (__posix_getopt): Add __nonnull annotation.
6619 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6620 prototypes for consistency with gnulib. Add __nonnull
6621 annotations.
6622 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6623 (getopt_internal): Change 'argv' argument to type 'char **'.
6624 Remove now-unnecessary casts.
6625 (getopt, __posix_getopt): Eliminate repetition with a macro.
6626 Cast 'argv' to 'char **' when calling _getopt_internal.
6627 * posix/getopt1.c (getopt_long, getopt_long_only):
6628 Use __getopt_argv_const for consistency with gnulib.
6629 Cast 'argv' to 'char **' when calling _getopt_internal.
6630 (_getopt_long_r, _getopt_long_only_r):
6631 Change 'argv' argument to type 'char **'.
6632 (main): Constify 'long_options'.
6633 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6634 (_getopt_long_r, _getopt_long_only_r):
6635 Change 'argv' argument to type 'char **'.
6636
6637 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6638 (locked_vfxprintf): New helper function. Handle arbitrary
6639 multibyte strings, not just ASCII.
6640 * include/stdio.h: Declare __fxprintf_nocancel.
6641 * posix/getopt.c: When _LIBC is defined, define fprintf to
6642 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6643 to _IO_funlockfile. When neither _LIBC nor
6644 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6645 funlockfile as no-ops.
6646 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6647 the standalone error-printing code can now be used for libc as
6648 well. Add an flockfile/funlockfile pair around one case where
6649 the error message is printed in several chunks. Don't use fputc.
6650 * posix/tst-getopt-cancel.c: New test.
6651 * posix/Makefile: Run it.
6652
6653 * posix/getopt.c (_getopt_internal_r): Don't increment
6654 d->optind a second time when reporting ambiguous -W options.
6655
6656 * posix/getopt_int.h: Include getopt.h.
6657 Use impl-namespace names for all arguments to _getopt_internal and
6658 _getopt_internal_r.
6659 Declare __ordering enum outside the struct.
6660 Harmonize comments with gnulib.
6661 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6662 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6663 #ifdef TEST block and make unconditional. Do not define NULL.
6664 * posix/getopt.c: Partial merge from gnulib, covering the
6665 initial includes and global declarations, commentary, and
6666 a couple of semantically-neutral code changes.
6667
6668 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6669 Use '...' instead of `...' for quotation marks inside
6670 comments and strings.
6671
6672 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6673 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6674 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6675 * posix/getopt_int.h: Likewise.
6676 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6677 __libc_argc and __libc_argv externs, which were only used by
6678 #ifdef USE_NONOPTION_FLAGS blocks.
6679 * posix/getopt_init.c: Remove file.
6680 * posix/Makefile (routines): Remove getopt_init.
6681 * include/getopt.h: Don't declare __getopt_initialize_environment.
6682 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6683 a comment.
6684
6685 2017-04-07 Florian Weimer <fweimer@redhat.com>
6686
6687 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6688
6689 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6690
6691 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6692 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6693 to __wrap_.udiv.
6694 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6695 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6696
6697 * sysdeps/i386/symbol-hacks.h: New file.
6698 * sysdeps/m68k/symbol-hacks.h: New file.
6699 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6700 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6701 * sysdeps/unix/sysv/linux/i386/Makefile
6702 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6703 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6704 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6705 * sysdeps/unix/sysv/linux/m68k/Makefile
6706 [$(subdir) = csu] (sysdep_routines): Likewise.
6707 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6708 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6710 [$(subdir) = csu] (sysdep_routines): Likewise.
6711 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6712 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6713 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6714 [$(subdir) = csu] (sysdep_routines): Likewise.
6715 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6716 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6717 * sysdeps/wordsize-32/Makefile: Remove file.
6718 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6719 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6720
6721 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6724 (TEST_FUNCTION_ARGV): New.
6725
6726 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6727
6728 * elf/next.c: Import support/test-driver.c instead of
6729 test-skeleton.c and delete TEST_FUNCTION macro definition.
6730 * elf/nodelete.c: Likewise.
6731 * elf/order2.c: Likewise.
6732 * elf/tst-_dl_addr_inside_object.c: Likewise.
6733 * elf/tst-addr1.c: Likewise.
6734 * elf/tst-align.c: Likewise.
6735 * elf/tst-align2.c: Likewise.
6736 * elf/tst-audit11.c: Likewise.
6737 * elf/tst-audit12.c: Likewise.
6738 * elf/tst-audit2.c: Likewise.
6739 * elf/tst-audit9.c: Likewise.
6740 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6741 * elf/tst-deep1.c: Likewise.
6742 * elf/tst-dl-iter-static.c: Likewise.
6743 * elf/tst-dlmodcount.c: Likewise.
6744 * elf/tst-dlmopen1.c: Likewise.
6745 * elf/tst-dlmopen2.c: Likewise.
6746 * elf/tst-dlmopen3.c: Likewise.
6747 * elf/tst-dlopen-aout.c: Likewise.
6748 * elf/tst-dlopenrpath.c: Likewise.
6749 * elf/tst-dlsym-error.c: Likewise.
6750 * elf/tst-execstack-needed.c: Likewise.
6751 * elf/tst-execstack-prog.c: Likewise.
6752 * elf/tst-execstack.c: Likewise.
6753 * elf/tst-global1.c: Likewise.
6754 * elf/tst-gnu2-tls1.c: Likewise.
6755 * elf/tst-latepthread.c: Likewise.
6756 * elf/tst-leaks1.c: Likewise.
6757 * elf/tst-linkall-static.c: Likewise.
6758 (do_test): New function.
6759 * elf/tst-nodelete-opened.c: Likewise.
6760 * elf/tst-nodelete.cc: Likewise.
6761 * elf/tst-nodelete2.c: Likewise.
6762 * elf/tst-noload.c: Likewise.
6763 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6764 * elf/tst-order-main.c: Likewise.
6765 * elf/tst-pathopt.c: Likewise.
6766 * elf/tst-pie2.c: Likewise.
6767 * elf/tst-piemod1.c: Likewise.
6768 * elf/tst-prelink.c: Likewise.
6769 * elf/tst-protected1a.c: Likewise.
6770 * elf/tst-protected1b.c: Likewise.
6771 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6772 and define _GNU_SOURCE macro.
6773 (cmdline_process_function): New function.
6774 * elf/tst-relsort1.c: Likewise.
6775 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6776 and define _GNU_SOURCE macro.
6777 (cmdline_process_function): New function.
6778 * elf/tst-thrlock.c: Likewise.
6779 * elf/tst-tls-dlinfo.c: Likewise.
6780 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6781 * elf/tst-tls1.c: Likewise.
6782 * elf/tst-tls10.c: Likewise.
6783 * elf/tst-tls11.c: Likewise.
6784 * elf/tst-tls12.c: Likewise.
6785 * elf/tst-tls13.c: Likewise.
6786 * elf/tst-tls14.c: Likewise.
6787 * elf/tst-tls15.c: Likewise.
6788 * elf/tst-tls16.c: Likewise.
6789 * elf/tst-tls17.c: Likewise.
6790 * elf/tst-tls18.c: Likewise.
6791 * elf/tst-tls19.c: Likewise.
6792 * elf/tst-tls2.c: Likewise.
6793 * elf/tst-tls3.c: Likewise.
6794 * elf/tst-tls4.c: Likewise.
6795 * elf/tst-tls5.c: Likewise.
6796 * elf/tst-tls6.c: Likewise.
6797 * elf/tst-tls7.c: Likewise.
6798 * elf/tst-tls8.c: Likewise.
6799 * elf/tst-tls9.c: Likewise.
6800 * elf/tst-tlsalign-extern.c: Likewise.
6801 * elf/tst-tlsalign.c: Likewise.
6802 * elf/tst-unique1.c: Likewise.
6803 * elf/tst-unique2.c: Likewise.
6804 * elf/vismain.c: Likewise.
6805
6806 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6807
6808 * string/test-strnlen.c (do_page_tests): New function
6809 to check length of strings ending at the page boundary.
6810 (test_main): Added call to the do_page_tests function.
6811
6812 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6813 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6814
6815 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6816 (sysdep_routines): Add strnlen-power8.
6817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6818 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6819 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6820 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6821 (__strnlen): Add __strnlen_power8 to ifunc list.
6822 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6823
6824 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6825
6826 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6827 the TEST_FUNCTION macro definition.
6828 * wcsmbs/tst-mbrtowc2.c: Likewise.
6829 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6830 * wcsmbs/tst-wchar-h.c: Likewise.
6831 * wcsmbs/tst-wcpncpy.c: Likewise.
6832 * wcsmbs/tst-wcrtomb.c: Likewise.
6833 * wcsmbs/tst-wcsnlen.c: Likewise.
6834 * wcsmbs/tst-wcstof.c: Likewise.
6835
6836 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6837
6838 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6839 CALL_THREAD_FCT macro usage.
6840 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6841 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6842 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6843
6844 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6846 (__ASSUME_REQUEUE_PI): Likewise.
6847 * sysdeps/unix/sysv/linux/kernel-features.h
6848 (__ASSUME_REQUEUE_PI): Likewise.
6849 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6850 (__ASSUME_REQUEUE_PI): Likewise.
6851 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6852 (__ASSUME_REQUEUE_PI): Likewise.
6853 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6854 (__ASSUME_REQUEUE_PI): Likewise.
6855
6856 2017-04-04 Florian Weimer <fweimer@redhat.com>
6857
6858 * resolv/tst-resolv-canonname.c: New file.
6859 * resolv/Makefile (tests): Add tst-resolv-canonname.
6860 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6861
6862 2017-04-04 Florian Weimer <fweimer@redhat.com>
6863
6864 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6865 Declare.
6866 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6867 (NS_MAXCDNAME): Remove definition.
6868 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6869 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6870 (NS_MAXCDNAME): Remove definition.
6871 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6872
6873 2017-04-04 Florian Weimer <fweimer@redhat.com>
6874
6875 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6876 call whose result is not used.
6877
6878 2017-04-04 Florian Weimer <fweimer@redhat.com>
6879
6880 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6881 * resolv/Makefile (tests): Add tst-ns_name.
6882 (tst-ns_name): Link with -lresolv.
6883 (tst-ns_name.out): Depend on the input data file.
6884
6885 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6886
6887 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6888 Clobber also r14.
6889
6890 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6891
6892 [BZ #21253]
6893 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6894 slack space by 32KiB.
6895
6896 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6897
6898 [BZ #21338]
6899 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6900 instead of incorrect do_set_arena_test
6901
6902 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6903
6904 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6905 * math/bits/math-finite.h: Likewise.
6906
6907 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6908
6909 [BZ #21289]
6910 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6911
6912 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6913
6914 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6915 non expected inotify_add_watch and quotactl return.
6916
6917 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6918
6919 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6920 to int32_t.
6921 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6922 as returning int32_t.
6923
6924 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6925
6926 * math/math.h: Include bits/math-finite.h once per
6927 floating-point type.
6928 * math/bits/math-finite.h: Macroize all declarations by
6929 floating-point type.
6930
6931 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6932
6933 [BZ #21182]
6934 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6935 near end of a page.
6936 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6937 overflow calculation.
6938
6939 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6940
6941 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6942 (IMPL) Call with 1 instead of 0 as argument.
6943
6944 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6945
6946 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6947 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6948 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6949 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6950 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6951 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6952 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6953 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6954 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6955 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6956 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6957 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6959 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6960 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6961 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6962 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6963 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6964 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6965 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6966 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6967 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6968 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6969 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6970 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6971 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6972 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6973 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6974 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6975 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6976 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6977 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6978 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6979 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6980 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6981 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6983 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6984 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6985 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6986 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6987 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6988 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6989 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6990 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6991 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6992 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6993 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6995 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6996 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6997 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6998 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6999 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7000 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7001 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7002 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7003 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7004 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7005 defined.
7006 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7007 __NR_setgroups32 if defined.
7008 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7009 if defined.
7010 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7011 __NR_setresgid32 is defined.
7012 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7013 __NR_setresuid32 if defined.
7014 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7015 __NR_setreuid32 if defined.
7016 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7017 defined.
7018 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7019 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7020 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7021 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7022 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7023 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7024 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7025 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7026 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7027 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7028 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7029 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7031 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7032 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7033 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7034 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7035 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7036 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7037 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7038 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7039 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7040 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7041 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7042 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7043 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7044 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7045 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7047 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7048 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7049 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7051 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7052 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7053 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7054 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7055 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7056 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7057 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7058 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7059 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7060 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7061 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7062 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7063 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7064 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7065 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7066 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7067 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7068 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7069 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7070 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7071 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7072 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7073 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7074 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7075 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7076 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7077 defined.
7078 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7079 __NR_setgroups32 if defined.
7080 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7081 if defined.
7082 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7083 __NR_setresgid32 is defined.
7084 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7085 __NR_setresuid32 if defined.
7086 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7087 __NR_setreuid32 if defined.
7088 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7089 defined.
7090
7091 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7092
7093 [BZ #21277]
7094 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7095 unconditionally.
7096 (IMAXBEL): Likewise.
7097 (IUTF8): Likewise.
7098
7099 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7100
7101 * sysdeps/aarch64/libm-test-ulps: Update.
7102
7103 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7104
7105 * README.tunables: Updated descriptions.
7106 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7107 * scripts/gen-tunables.awk: Updated the code related to the
7108 commit.
7109
7110 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7111
7112 * benchtests/Makefile (string-benchset): Add memcpy-random.
7113 * benchtests/bench-memcpy-random.c: New file.
7114
7115 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7116
7117 * stdio-common/printf.h (register_printf_modifier): Change the
7118 order of __wur and __THROW.
7119 (register_printf_type): Likewise.
7120
7121 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7122
7123 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7124 test_main ().
7125 (CMDLINE_PROCESS): Use function instead of defined macro.
7126 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7127 <suppport/support.h> to use set_fortify_handler().
7128 * string/bug-envz1.c: Import support/test-driver.c instead of
7129 test-skeleton.c.
7130 * string/bug-strcoll2.c: Likewise.
7131 * string/bug-strtok1.c: Likewise.
7132 * string/stratcliff.c: Likewise.
7133 * string/test-ffs.c: Likewise.
7134 * string/test-memccpy.c: Likewise.
7135 * string/test-memchr.c: Likewise.
7136 * string/test-memcmp.c: Likewise.
7137 * string/test-memcpy.c: Likewise.
7138 * string/test-memmem.c: Likewise.
7139 * string/test-memmove.c: Likewise.
7140 * string/test-memrchr.c: Likewise.
7141 * string/test-memset.c: Likewise.
7142 * string/test-rawmemchr.c: Likewise.
7143 * string/test-strcasecmp.c: Likewise.
7144 * string/test-strcasestr.c: Likewise.
7145 * string/test-strcat.c: Likewise.
7146 * string/test-strchr.c: Likewise.
7147 * string/test-strcmp.c: Likewise.
7148 * string/test-strcpy.c: Likewise.
7149 * string/test-string.h: Likewise.
7150 * string/test-strlen.c: Likewise.
7151 * string/test-strncasecmp.c: Likewise.
7152 * string/test-strncat.c: Likewise.
7153 * string/test-strncmp.c: Likewise.
7154 * string/test-strncpy.c: Likewise.
7155 * string/test-strnlen.c: Likewise.
7156 * string/test-strpbrk.c: Likewise.
7157 * string/test-strrchr.c: Likewise.
7158 * string/test-strspn.c: Likewise.
7159 * string/test-strstr.c: Likewise.
7160 * string/tst-bswap.c: Likewise.
7161 * string/tst-cmp.c: Likewise.
7162 * string/tst-endian.c: Likewise.
7163 * string/tst-inlcall.c: Likewise.
7164 * string/tst-strcoll-overflow.c: Likewise.
7165 * string/tst-strfry.c: Likewise.
7166 * string/tst-strlen.c: Likewise.
7167 * string/tst-strtok.c: Likewise.
7168 * string/tst-strtok_r.c: Likewise.
7169 * string/tst-strxfrm.c: Likewise.
7170 * string/tst-strxfrm2.c: Likewise.
7171 * string/tst-svc.c: Likewise.
7172 * string/tst-svc2.c: Likewise.
7173
7174 2017-03-22 Zack Weinberg <zackw@panix.com>
7175
7176 * stdio-common/bug25.c: Include stdlib.h.
7177 * support/tst-support_format_dns_packet.c: Include stdio.h,
7178 stdlib.h, and string.h.
7179 * support/tst-support_record_failure.c: Include string.h.
7180 * support/tst-support_record_failure-2.sh: Adjust line number
7181 expectations and correct a typo in an error message.
7182
7183 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7184
7185 [BZ #21258]
7186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7187 Define only if _dl_runtime_resolve is defined to
7188 _dl_runtime_resolve_sse_vex.
7189 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7190 Fallthrough to _dl_runtime_resolve_sse_vex.
7191
7192 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7193
7194 * INSTALL: Regenerated.
7195
7196 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7197
7198 * config.h.in: Add LINK_OBSOLETE_NSL.
7199 * config.make.in: Add build-obsolete-nsl.
7200 * configure.ac: Add obsolete-nsl option.
7201 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7202 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7203 * include/rpcsvc/nislib.h: Likewise.
7204 * include/rpcsvc/ypclnt.h: Likewise.
7205 * manual/install.texi: Document --enable-obsolete-nsl.
7206 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7207 * nis/nis_add.c: Replace libnsl_hidden_def with
7208 libnsl_hidden_nolink_def.
7209 * nis/nis_addmember.c: Likewise.
7210 * nis/nis_call.c: Likewise.
7211 * nis/nis_clone_obj.c: Likewise.
7212 * nis/nis_defaults.c: Likeise.
7213 * nis/nis_domain_of_r.c: Likewise.
7214 * nis/nis_error.c: Likewise.
7215 * nis/nis_file.c: Likewise.
7216 * nis/nis_free.c: Likewise.
7217 * nis_local_names.c: Likewise.
7218 * nis/nis_lookup.c: Likewise.
7219 * nis/nis_modify.c: Likewise.
7220 * nis/nis_print.c: Likewise.
7221 * nis/nis_remove.c: Likewise.
7222 * nis/nis_table.c: Likewise.
7223 * nis/nis_util.c: Likewise.
7224 * nis/nis_xdr.c: Likewise.
7225 * nis/yp_xdr.c: Likewise.
7226 * nis/ypclnt.c: Likewise.
7227 * nis/ypupdate_xdr.c: Likewise.
7228 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7229 * nis/nis_clone_dir.c: Likewise.
7230 * nis/nis_clone_res.c: Likewise.
7231 * nis/nis_creategroup.c: Likewise.
7232 * nis/nis_destroygroup.c: Likewise.
7233 * nis/nis_domain_of.c: Likewise.
7234 * nis/nis_getservlist.c: Likewise.
7235 * nis/nis_ismember.c: Likewise.
7236 * nis/nis_mkdir.c: Likewise.
7237 * nis/nis_ping.c: Likewise.
7238 * nis/nis_print_group_entry.c: Likewise.
7239 * nis/nis_removemember.c: Likewise.
7240 * nis/nis_rmdir.c: Likewise.
7241 * nis/nis_server.c: Likewise.
7242 * nis/nis_subr.c: Likewise.
7243 * nis/nis_verifygroup.c: Likewise.
7244
7245 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7246
7247 * malloc/tst-interpose-aux.c (check_for_allocations):
7248 Move compiler barrier before free.
7249
7250 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7251
7252 [BZ #21279]
7253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7254 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7255 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7256 x86_64-x32-linux.
7257 (mq_attr.mq_maxmsg): Likewise.
7258 (mq_attr.mq_msgsize): Likewise.
7259 (mq_attr.mq_curmsgs): Likewise.
7260
7261 [BZ #21278]
7262 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7263 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7264 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7265 mips-o32-linux.
7266
7267 [BZ #21268]
7268 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7269 if [__USE_MISC]
7270 (NL3): Likewise.
7271
7272 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7273
7274 [BZ #21275]
7275 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7276 __stack to __stackbase.
7277 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7278 checks so we can include defined(__ia64__) first.
7279
7280 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7281
7282 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7283 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7284 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7285 Call is_pty when the link does not exist or does not match, fail
7286 with ENODEV when it returns true.
7287 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7288 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7289 Call is_pty when the link does not exist or does not match, fail
7290 with ENODEV when it returns true.
7291
7292 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7293
7294 [BZ #16437]
7295 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7296 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7297 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7298 x86_64-x32-linux.
7299 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7300 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7301 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7302
7303 [BZ #21261]
7304 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7305 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7306 names for all fields.
7307 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7308 for jmp_buf field renaming.
7309 (_JMPBUF_UNWINDS_ADJ): Likewise.
7310
7311 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7312 with allow-header.
7313
7314 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7315
7316 * malloc/malloc.c (unlink): Add consistency check between size and
7317 next->prev->size, to further harden against 1-byte overflows.
7318
7319 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7320
7321 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7322 CPU_FEATURES_CPU_P.
7323
7324 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7325
7326 [BZ #21259]
7327 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7328 unconditionally, not just for [__USE_MISC].
7329
7330 [BZ #17786]
7331 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7332 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7333 mips-o32-linux.
7334
7335 [BZ #21260]
7336 * sysdeps/unix/sysv/linux/alpha/Makefile
7337 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7338 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7339
7340 * conform/conformtest.pl ($cross): New variable.
7341 (--cross): New command-line option.
7342 (runtest): Skip test execution when cross-compiling.
7343 * conform/Makefile (conformtest-cross): New variable.
7344 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7345 conformtest.pl.
7346
7347 * conform/conformtest.pl ($xfail_str): New variable.
7348 (--xfail=): New command-line option.
7349 (top level): Handle expectations starting xfail[cond]-.
7350 * conform/Makefile (conformtest-xfail): New variable.
7351 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7352 conformtest.pl.
7353
7354 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7355
7356 * conform/conformtest.pl: Use compilation instead of execution
7357 tests for testing values of constants and usability in #if.
7358
7359 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7360
7361 * math/auto-libm-test-in: Mark some catan and catanh as
7362 xfail-rounding:ibm128-libgcc.
7363 * math/auto-libm-test-out-catan: Regenerate.
7364 * math/auto-libm-test-out-catanh: Likewise.
7365
7366 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7367
7368 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7369 (__END_NAMESPACE_STD): Likewise.
7370 (__USING_NAMESPACE_STD): Likewise.
7371 (__BEGIN_NAMESPACE_C99): Likewise.
7372 (__END_NAMESPACE_C99): Likewise.
7373 (__USING_NAMESPACE_C99): Likewise.
7374 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7375 undefine macro.
7376 (_Mdouble_END_NAMESPACE): Likewise.
7377 * ctype/ctype.h: Do not handle C++ namespaces.
7378 * libio/bits/stdio-ldbl.h: Likewise.
7379 * libio/stdio.h: Likewise.
7380 * locale/locale.h: Likewise.
7381 * math/bits/mathcalls.h: Likewise.
7382 * setjmp/setjmp.h: Likewise.
7383 * signal/signal.h: Likewise.
7384 * stdlib/bits/stdlib-float.h: Likewise.
7385 * stdlib/bits/stdlib-ldbl.h: Likewise.
7386 * stdlib/stdlib.h: Likewise.
7387 * string/string.h: Likewise.
7388 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7389 * time/bits/types/clock_t.h: Likewise.
7390 * time/bits/types/struct_tm.h: Likewise.
7391 * time/bits/types/time_t.h: Likewise.
7392 * time/time.h: Likewise.
7393 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7394 * wcsmbs/uchar.h: Likewise.
7395 * wcsmbs/wchar.h: Likewise.
7396 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7397 * wctype/wctype.h: Do not handle C++ namespaces.
7398 * scripts/begin-end-check.pl: Remove.
7399 * Makefile (installed-headers): Likewise.
7400 (tests-special): Do not add $(objpfx)begin-end-check.out.
7401 ($(objpfx)begin-end-check.out): Remove.
7402
7403 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7404 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7405
7406 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7407 (DL_PLATFORM_INIT): New define.
7408 (dl_platform_init): New function.
7409 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7410 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7411 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7412 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7413 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7414
7415 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7416
7417 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7418 instead of PIC.
7419
7420 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7421
7422 [BZ #21094]
7423 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7424 24+24+24-bit pi for wider range of values around pi/2.
7425 * math/auto-libm-test-in: Add more tests of cos and tan.
7426 * math/auto-libm-test-out-cos: Regenerated.
7427 * math/auto-libm-test-out-tan: Likewise.
7428
7429 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7430
7431 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7432 (RTLD_START): Don't record stack end address in _dl_start_user.
7433
7434 2017-03-15 Alexey Neyman <stilor@att.net>
7435
7436 [BZ #21088]
7437 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7438 around definitions match those around use.
7439
7440 2017-03-15 Alexey Neyman <stilor@att.net>
7441
7442 * configure.ac: Avoid empty subexpression in grep.
7443 * configure: Regenerate.
7444
7445 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7446
7447 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7448 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7449 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7450 (test_wrp_rv): Fix format.
7451 (test_wrp_rv2): New macro.
7452 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7453 binaries.
7454
7455 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7456
7457 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7458 Use a union when storing pointers.
7459 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7460 cast result when passing to INIT_VEC_PTRS_LOOP.
7461 (VECTOR_WRAPPER_fFF_3): Likewise.
7462 (VECTOR_WRAPPER_fFF_4): Likewise.
7463
7464 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7465
7466 * include/bits/mathcalls-helper-functions.h: New file.
7467 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7468 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7469 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7470 math/bits/mathcalls-helper-functions.h.
7471 * math/bits/mathcalls-helper-functions.h: New file.
7472 * math/math.h: Include bits/mathcalls-helper-functions.h for
7473 float, double, and long double.
7474
7475 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7476
7477 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7478 instead of feraiseexcept.
7479
7480 2017-03-15 Florian Weimer <fweimer@redhat.com>
7481
7482 [BZ #21243]
7483 * support/temp_file.c (support_delete_temp_files): Add comment
7484 about ignored errors.
7485
7486 2017-03-15 Florian Weimer <fweimer@redhat.com>
7487
7488 [BZ #21244]
7489 * support/xclose.c: New file.
7490 * support/Makefile (libsupport-routines): Add xclose.
7491 * support/xunistd.h (xclose): Declare.
7492 * support/resolv_test.c (server_thread_tcp_client)
7493 (server_thread_tcp, make_server_sockets, resolv_test_start)
7494 (resolv_test_end): Call xclose instead of close.
7495 * support/support_enter_network_namespace.c
7496 (support_enter_network_namespace): Likewise.
7497 * support/support_run_diff.c (write_to_temp_file): Likewise.
7498
7499 2017-03-15 Florian Weimer <fweimer@redhat.com>
7500
7501 * support/support_format_dns_packet.c (support_format_dns_packet):
7502 Handle CNAME records in the response. Extract RDATA names from
7503 rdata, not the whole packet. Check AAAA record length.
7504 * support/tst-support_format_dns_packet.c: New file.
7505 * support/Makefile (tests): Add tst-support_format_dns_packet.
7506 (tst-support_format_dns_packet): Link against libresolv.
7507
7508 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7509
7510 [BZ #21232]
7511 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7512 posix_fadvise64 weak_alias for static build.
7513
7514 2017-03-14 Andreas Schwab <schwab@suse.de>
7515
7516 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7517 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7518 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7519 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7520 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7521 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7522 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7523 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7524
7525 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7526
7527 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7528 posix error code.
7529 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7530
7531 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7532
7533 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7534 no_isolate usage for SH.
7535
7536 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7537
7538 [BZ #15105]
7539 [BZ #19463]
7540 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7541 * inet/rcmd.c (rcmd_af): Likewise.
7542 * inet/rexec.c (rexec_af): Likewise.
7543 * intl/dcigettext.c (_LIBC): Likewise.
7544 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7545 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7546 * locale/setlocale.c (setlocale): Likewise.
7547 * posix/spawn_faction_addopen.c
7548 (posix_spawn_file_actions_addopen): Likewise.
7549 * stdlib/putenv.c (putenv): Use __strndup.
7550 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7552 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7553 (__Need_M_And_C) Remove define/undef.
7554 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7555 (__malloc_and_calloc_defined): Remove define.
7556 * string/bits/string2.h (__strdup): Remove define.
7557 (strdup): Likewise.
7558 (__strndup): Likewise.
7559 (strndup): Likewise.
7560
7561 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7562
7563 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7564 macro.
7565 (IPV6_ADDR_PREFERENCES): Likewise.
7566 (IPV6_MINHOPCOUNT): Likewise.
7567 (IPV6_ORIGDSTADDR): Likewise.
7568 (IPV6_RECVORIGDSTADDR): Likewise.
7569 (IPV6_TRANSPARENT): Likewise.
7570 (IPV6_UNICAST_IF): Likewise.
7571 (IPV6_RECVFRAGSIZE): Likewise.
7572
7573 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7574
7575 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7576
7577 2017-03-12 Alexey Neyman <stilor@att.net>
7578
7579 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7580 in R_SH_DIR32 case is always false when inlined from
7581 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7582
7583 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7584
7585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7586 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7587 __ASSUME_SEND_SYSCALL.
7588
7589 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7590
7591 * sunrpc/Makefile: don't build and install rpcsvc header
7592 files, rpcgen and librpcsvc.a by default.
7593
7594 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7595
7596 * math/auto-libm-test-out-catan: Regenerated.
7597 * math/auto-libm-test-out-catanh: Likewise.
7598 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7599
7600 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7601
7602 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7603 for long double with corrected test expectations.
7604
7605 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7606
7607 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7608 Define.
7609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7610 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7611 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7612 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7613 * sysdeps/unix/sysv/linux/tile/sysdep.h
7614 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7616 (__ASSUME_RECV_SYSCALL): Define.
7617 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7618 (__ASSUME_RECV_SYSCALL): Likewise.
7619 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7620 (__ASSUME_RECV_SYSCALL): Likewise.
7621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7622 (__ASSUME_RECV_SYSCALL): Likewise.
7623 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7624 (__ASSUME_RECV_SYSCALL): Likewise.
7625 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7626 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7627 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7628 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7629 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7630 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7631 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7632 auto-generation list.
7633 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7634 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7635 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7636 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7637 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7638 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7639 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7640 __ASSUME_SENDTO_SYSCALL.
7641 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7642 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7643 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7644
7645 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7646 auto-generation list.
7647 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7648 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7649 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7650 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7651 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7652 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7653 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7654 * sysdeps/unix/sysv/linux/kernel-features.h
7655 (__ASSUME_SENDTO_SYSCALL): Define by default.
7656 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7657 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7658 __NR_sendto.
7659 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7660 (__ASSUME_SENDTO_SYSCALL): Likewise.
7661 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7662 (__ASSUME_SENDTO_SYSCALL): Likewise.
7663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7664 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7665 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7666 (__ASSUME_SENDTO_SYSCALL): Likewise.
7667 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7668 (__ASSUME_SENDTO_SYSCALL): Likewise.
7669 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7670
7671 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7672 auto-generation list.
7673 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7674 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7675 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7676 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7679 (__ASSUME_RECV_SYSCALL): New define.
7680 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7681 (__ASSUME_RECV_SYSCALL): Likewise.
7682 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7683 (__ASSUME_RECV_SYSCALL): Likewise.
7684 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7685 (__ASSUME_RECV_SYSCALL): Likewise.
7686 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7687 (__ASSUME_RECV_SYSCALL): Likewise.
7688 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7689 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7690 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7691 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7692 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7693 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7694 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7695 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7696 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7697 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7698 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7699 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7700
7701 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7702 auto-generation list.
7703 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7704 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7705 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7706 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7708 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7709 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7710 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7711 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7712 * sysdeps/unix/sysv/linux/kernel-features.h
7713 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7714 __NR_recvfrom.
7715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7716 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7717 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7718 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7719 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7720 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7721 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7722 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7723 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7724 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7725 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7726 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7727 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7728
7729 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7730 auto-generation list.
7731 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7732 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7734 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7735 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7736 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7737 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7738 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7739 * sysdeps/unix/sysv/linux/kernel-features.h
7740 (__ASSUME_CONNECT_SYSCALL): Define.
7741 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7742 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7743 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7744 (__ASSUME_CONNECT_SYSCALL): Likewise.
7745 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7746 (__ASSUME_CONNECT_SYSCALL): Likewise.
7747 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7748 (__ASSUME_CONNECT_SYSCALL): Likewise.
7749
7750 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7751 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7752 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7753 auto-generation list.
7754 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7755 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7756 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7757 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7758 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7759 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7760 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7761 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7762 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7763 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7764 * sysdeps/unix/sysv/linux/kernel-features.h
7765 (__ASSUME_ACCEPT_SYSCALL): New define.
7766 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7767 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7768 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7770 (__ASSUME_ACCEPT_SYSCALL): Define.
7771 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7772 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7773 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7774 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7775 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7776 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7777 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7778 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7779 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7780
7781 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7782 Zack Weinberg <zackw@panix.com>
7783
7784 * posix/test-errno.c: New file.
7785 * posix/Makefile (tests): Add test-errno.
7786 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7787 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7788
7789 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7790
7791 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7792
7793 2017-03-07 Florian Weimer <fweimer@redhat.com>
7794
7795 * time/tzset.c (compute_offset): Open-code min macro.
7796 (min, max, sign): Remove.
7797
7798 2017-03-07 Florian Weimer <fweimer@redhat.com>
7799
7800 [BZ #15576]
7801 Remove TZNAME_MAX limit from sysconf.
7802 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7803 declaration.
7804 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7805 compute_tzname_max.
7806 (compute_tzname_max): Remove.
7807 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7808 (update_vars): Do not update __tzname_cur_max.
7809 (tzset_internal): Remove argument.
7810 (__tzset): Adjust call to tzset_internal.
7811 (__tz_convert): Likewise.
7812
7813 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7814 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7815 * manual/conf.texi (Sysconf Definition): Update comment.
7816
7817 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7818
7819 [BZ #21209]
7820 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7821 AT_SECURE processes.
7822 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7823 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7824 (test_child): Likewise.
7825 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7826
7827 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7828
7829 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7830
7831 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7832
7833 * sysdeps/s390/atomic-machine.h
7834 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7835 (__arch_compare_and_exchange_val_8_acq,
7836 __arch_compare_and_exchange_val_16_acq,
7837 __arch_compare_and_exchange_val_32_acq,
7838 __arch_compare_and_exchange_val_64_acq):
7839 Delete macro.
7840 (atomic_compare_and_exchange_val_acq,
7841 atomic_compare_and_exchange_val_rel,
7842 atomic_compare_and_exchange_bool_acq,
7843 catomic_compare_and_exchange_bool_acq,
7844 atomic_exchange_acq, atomic_exchange_rel,
7845 atomic_exchange_and_add_acq,
7846 atomic_exchange_and_add_rel,
7847 catomic_exchange_and_add, atomic_or_val,
7848 atomic_or, catomic_or, atomic_bit_test_set,
7849 atomic_and_val, atomic_and, catomic_and):
7850 Define macros with help of C11 atomic builtins.
7851
7852 2017-03-03 Justus Winter <justus@gnupg.org>
7853
7854 * sysdeps/mach/hurd/ftruncate64.c: New file.
7855 * sysdeps/mach/hurd/truncate64.c: Likewise.
7856
7857 2017-03-03 Florian Weimer <fweimer@redhat.com>
7858
7859 * time/tzfile.c (NOID): Do not define.
7860 * time/tzset.c (NOID): Likewise.
7861
7862 2017-03-03 Florian Weimer <fweimer@redhat.com>
7863
7864 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7865
7866 2017-03-02 Florian Weimer <fweimer@redhat.com>
7867
7868 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7869
7870 2017-03-02 Florian Weimer <fweimer@redhat.com>
7871
7872 [BZ #21015]
7873 * manual/install.texi (Configuring and compiling): Document
7874 --enable-bind-now.
7875 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7876 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7877 (format.lds): Likewise.
7878 [bind-now] (LDFLAGS-c.so): Remove.
7879 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7880 be R_X86_64_GLOB_DAT.
7881 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7882 relocation can be R_386_GLOB_DAT.
7883 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7884 relocaiton can be R_ALPHA_GLOB_DAT.
7885 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7886
7887 2017-03-01 Zack Weinberg <zackw@panix.com>
7888
7889 * include/libc-pointer-arith.h: New file. Define
7890 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7891 PTR_ALIGN_DOWN here.
7892 * include/libc-internal.h: Definitions of above macros
7893 moved from here. Don't include libc-diag.h anymore either.
7894 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7895 Don't include libc-internal.h.
7896
7897 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7898 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7899 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7900 * string/strcoll_l.c, sysdeps/nacl/brk.c
7901 * sysdeps/unix/clock_settime.c
7902 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7903 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7904 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7906 Don't include libc-internal.h.
7907
7908 * elf/get-dynamic-info.h, iconv/loop.c
7909 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7910 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7911 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7912 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7917 * sysdeps/ieee754/ldbl-128/k_tanl.c
7918 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7919 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7920 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7921 Include libc-diag.h instead of libc-internal.h.
7922
7923 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7924 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7925 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7926 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7927 * sysdeps/unix/sysv/linux/spawni.c
7928 * sysdeps/x86_64/nptl/tls.h:
7929 Include libc-pointer-arith.h instead of libc-internal.h.
7930
7931 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7932 * sysdeps/x86_64/atomic-machine.h:
7933 Add multiple include guard.
7934
7935 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7936 * string/strcasestr.c: No need to include config.h.
7937 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7938 sys/auxv.h. Don't include sysdep.h.
7939 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7940
7941 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7942 DL_LOOKUP_ADDRESS.
7943 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7944 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7945 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7946 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7947 of ARTIFICIAL_LIMIT.
7948 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7949 declaration of __clone2.
7950
7951 2017-02-28 Florian Weimer <fweimer@redhat.com>
7952
7953 * scripts/backport-support.sh (latest_commit): New file.
7954
7955 2017-02-28 Florian Weimer <fweimer@redhat.com>
7956
7957 [BZ #20257]
7958 * inet/Makefile (routines): Add deadline.
7959 (tests-static): Add tst-deadline.
7960 * inet/net-internal.h (struct deadline_current_time)
7961 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7962 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7963 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7964 * inet/deadline.c: New file.
7965 * inet/tst-deadline.c: Likewise.
7966 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7967 tst-udp-timeout, tst-udp-garbage.
7968 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7969 explicitly.
7970 (tst-udp-garbage): Likewise. Also link against thread library.
7971 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7972 struct layout is part of the ABI.
7973 (clntudp_call): Rework timeout handling.
7974 * sunrpc/tst-udp-garbage.c: New file.
7975 * sunrpc/tst-udp-nonblocking.c: Likewise.
7976 * sunrpc/tst-udp-timeout.c: Likewise.
7977
7978 2017-02-28 Florian Weimer <fweimer@redhat.com>
7979
7980 [BZ #5010]
7981 * sunrpc/svc.c (svc_is_mapped): Remove.
7982 (svc_unregister): Obtain mapped status while the service is still
7983 registered.
7984 * sunrpc/Makefile [have-thread-library] (tests): Add
7985 tst-svc_register.
7986 (tst-svc_register): Link against libc.so explicitly and the thread
7987 library.
7988 * sunrpc/tst-svc_register.c: New file.
7989
7990 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7991
7992 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7993 * sysdeps/pthread/bits/sigthread.h: Likewise.
7994
7995 2017-02-27 Florian Weimer <fweimer@redhat.com>
7996
7997 [BZ #21115]
7998 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7999 * sunrpc/Makefile (tests): Add tst-udp-error.
8000 (tst-udp-error): Link against libc.so explicitly.
8001 * sunrpc/tst-udp-error: New file.
8002
8003 2017-02-25 Zack Weinberg <zackw@panix.com>
8004
8005 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8006 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8007
8008 * sysdeps/generic/math_ldbl.h
8009 * sysdeps/ia64/fpu/math_ldbl.h
8010 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8012 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8013 * sysdeps/powerpc/fpu/math_ldbl.h
8014 * sysdeps/x86_64/fpu/math_ldbl.h:
8015 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8016 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8017 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8018 Add copyright notices.
8019
8020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8021 Don't use EXTRACT_WORDS64.
8022
8023 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8024 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8025 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8026 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8027 Include math_ldbl.h, not math_private.h.
8028
8029 2017-02-25 Zack Weinberg <zackw@panix.com>
8030
8031 * include/libc-diag.h: New file. Define ignore_value,
8032 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8033 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8034
8035 * include/libc-internal.h: Definitions of above macros moved from
8036 here. Include libc-diag.h. Add copyright notice.
8037
8038 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8039 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8040 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8041 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8042 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8043 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8044 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8045 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8046 Include libc-diag.h instead of libc-internal.h.
8047
8048 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8049 call to unsetenv (NULL).
8050 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8051 call to pthread_mutexattr_destroy (NULL).
8052
8053 2017-02-25 Zack Weinberg <zackw@panix.com>
8054
8055 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8056 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8057 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8058 gets was removed from C++ in C++14.
8059 * include/stdio.h: Remove redundant declaration of gets.
8060 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8061 be declared, since we are testing it.
8062 * stdio-common/Makefile (tst-gets.c): Compile with
8063 -Wno-deprecated-declarations.
8064 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8065 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8066 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8067 Compile with -Wno-deprecated-declarations.
8068
8069 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8070
8071 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8072 numbers.
8073
8074 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8075
8076 * resolv/tst-resolv-qtypes.c (domain):
8077 Change type to const pointer to const char.
8078
8079 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8080
8081 * math/Makefile (libm-tests-generated): Remove variable.
8082 (libm-tests-base-normal): New variable.
8083 (libm-tests-base-finite): Likewise.
8084 (libm-tests-base-inline): Likewise.
8085 (libm-tests-base): Likewise.
8086 (libm-tests-normal): Likewise.
8087 (libm-tests-finite): Likewise.
8088 (libm-tests-inline): Likewise.
8089 (libm-tests-vector): Likewise.
8090 (libm-tests): Define in terms of these new variables.
8091 (libm-tests-for-type): New variable.
8092 (libm-tests.o): Move definition.
8093 (tests): Move addition of $(libm-tests).
8094 (generated): Update for new and removed libm test files.
8095 ($(objpfx)libm-test.c): Remove target.
8096 ($(objpfx)libm-have-vector-test.h): Likewise.
8097 (CFLAGS-test-double-vlen2.c): Remove variable.
8098 (CFLAGS-test-double-vlen4.c): Likewise.
8099 (CFLAGS-test-double-vlen8.c): Likewise.
8100 (CFLAGS-test-float-vlen4.c): Likewise.
8101 (CFLAGS-test-float-vlen8.c): Likewise.
8102 (CFLAGS-test-float-vlen16.c): Likewise.
8103 (CFLAGS-test-float.c): Likewise.
8104 (CFLAGS-test-float-finite.c): Likewise.
8105 (CFLAGS-libm-test-support-float.c): Likewise.
8106 (CFLAGS-test-double.c): Likewise.
8107 (CFLAGS-test-double-finite.c): Likewise.
8108 (CFLAGS-libm-test-support-double.c): Likewise.
8109 (CFLAGS-test-ldouble.c): Likewise.
8110 (CFLAGS-test-ldouble-finite.c): Likewise.
8111 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8112 (libm-test-inline-cflags): New variable.
8113 (CFLAGS-test-ifloat.c): Remove variable.
8114 (CFLAGS-test-idouble.c): Likewise.
8115 (CFLAGS-test-ildouble.c): Likewise.
8116 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8117 dependencies.
8118 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8119 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8120 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8121 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8122 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8123 Likewise.
8124 (dependencies on libm-test-support-*.o): Remove.
8125 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8126 rules using iterators.
8127 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8128 Likewise.
8129 ($(objpfx)libm-test-support-$(o).o): Likewise.
8130 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8131 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8132 instead.
8133 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8134 define rule instead.
8135 * math/README.libm-test: Update.
8136 * math/libm-test-acos.inc: Include libm-test-driver.c.
8137 (do_test): New function.
8138 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8139 (do_test): New function.
8140 * math/libm-test-asin.inc: Include libm-test-driver.c.
8141 (do_test): New function.
8142 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8143 (do_test): New function.
8144 * math/libm-test-atan.inc: Include libm-test-driver.c.
8145 (do_test): New function.
8146 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8147 (do_test): New function.
8148 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8149 (do_test): New function.
8150 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8151 (do_test): New function.
8152 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8153 (do_test): New function.
8154 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8155 (do_test): New function.
8156 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8157 (do_test): New function.
8158 * math/libm-test-carg.inc: Include libm-test-driver.c.
8159 (do_test): New function.
8160 * math/libm-test-casin.inc: Include libm-test-driver.c.
8161 (do_test): New function.
8162 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8163 (do_test): New function.
8164 * math/libm-test-catan.inc: Include libm-test-driver.c.
8165 (do_test): New function.
8166 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8167 (do_test): New function.
8168 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8169 (do_test): New function.
8170 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8171 (do_test): New function.
8172 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8173 (do_test): New function.
8174 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8175 (do_test): New function.
8176 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8177 (do_test): New function.
8178 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8179 (do_test): New function.
8180 * math/libm-test-clog.inc: Include libm-test-driver.c.
8181 (do_test): New function.
8182 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8183 (do_test): New function.
8184 * math/libm-test-conj.inc: Include libm-test-driver.c.
8185 (do_test): New function.
8186 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8187 (do_test): New function.
8188 * math/libm-test-cos.inc: Include libm-test-driver.c.
8189 (do_test): New function.
8190 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8191 (do_test): New function.
8192 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8193 (do_test): New function.
8194 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8195 (do_test): New function.
8196 * math/libm-test-creal.inc: Include libm-test-driver.c.
8197 (do_test): New function.
8198 * math/libm-test-csin.inc: Include libm-test-driver.c.
8199 (do_test): New function.
8200 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8201 (do_test): New function.
8202 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8203 (do_test): New function.
8204 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8205 (do_test): New function.
8206 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8207 (do_test): New function.
8208 * math/libm-test-erf.inc: Include libm-test-driver.c.
8209 (do_test): New function.
8210 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8211 (do_test): New function.
8212 * math/libm-test-exp.inc: Include libm-test-driver.c.
8213 (do_test): New function.
8214 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8215 (do_test): New function.
8216 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8217 (do_test): New function.
8218 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8219 (do_test): New function.
8220 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8221 (do_test): New function.
8222 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8223 (do_test): New function.
8224 * math/libm-test-floor.inc: Include libm-test-driver.c.
8225 (do_test): New function.
8226 * math/libm-test-fma.inc: Include libm-test-driver.c.
8227 (do_test): New function.
8228 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8229 (do_test): New function.
8230 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8231 (do_test): New function.
8232 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8233 (do_test): New function.
8234 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8235 (do_test): New function.
8236 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8237 (do_test): New function.
8238 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8239 (do_test): New function.
8240 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8241 (do_test): New function.
8242 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8243 (do_test): New function.
8244 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8245 (do_test): New function.
8246 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8247 (do_test): New function.
8248 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8249 (do_test): New function.
8250 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8251 (do_test): New function.
8252 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8253 (do_test): New function.
8254 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8255 (do_test): New function.
8256 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8257 (do_test): New function.
8258 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8259 (do_test): New function.
8260 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8261 (do_test): New function.
8262 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8263 (do_test): New function.
8264 * math/libm-test-isless.inc: Include libm-test-driver.c.
8265 (do_test): New function.
8266 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8267 (do_test): New function.
8268 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8269 (do_test): New function.
8270 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8271 (do_test): New function.
8272 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8273 (do_test): New function.
8274 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8275 (do_test): New function.
8276 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8277 (do_test): New function.
8278 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8279 (do_test): New function.
8280 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8281 (do_test): New function.
8282 * math/libm-test-j0.inc: Include libm-test-driver.c.
8283 (do_test): New function.
8284 * math/libm-test-j1.inc: Include libm-test-driver.c.
8285 (do_test): New function.
8286 * math/libm-test-jn.inc: Include libm-test-driver.c.
8287 (do_test): New function.
8288 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8289 (do_test): New function.
8290 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8291 (do_test): New function.
8292 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8293 (do_test): New function.
8294 * math/libm-test-llround.inc: Include libm-test-driver.c.
8295 (do_test): New function.
8296 * math/libm-test-log.inc: Include libm-test-driver.c.
8297 (do_test): New function.
8298 * math/libm-test-log10.inc: Include libm-test-driver.c.
8299 (do_test): New function.
8300 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8301 (do_test): New function.
8302 * math/libm-test-log2.inc: Include libm-test-driver.c.
8303 (do_test): New function.
8304 * math/libm-test-logb.inc: Include libm-test-driver.c.
8305 (do_test): New function.
8306 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8307 (do_test): New function.
8308 * math/libm-test-lround.inc: Include libm-test-driver.c.
8309 (do_test): New function.
8310 * math/libm-test-modf.inc: Include libm-test-driver.c.
8311 (do_test): New function.
8312 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8313 (do_test): New function.
8314 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8315 (do_test): New function.
8316 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8317 (do_test): New function.
8318 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8319 (do_test): New function.
8320 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8321 (do_test): New function.
8322 * math/libm-test-pow.inc: Include libm-test-driver.c.
8323 (do_test): New function.
8324 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8325 (do_test): New function.
8326 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8327 (do_test): New function.
8328 * math/libm-test-rint.inc: Include libm-test-driver.c.
8329 (do_test): New function.
8330 * math/libm-test-round.inc: Include libm-test-driver.c.
8331 (do_test): New function.
8332 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8333 (do_test): New function.
8334 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8335 (do_test): New function.
8336 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8337 (do_test): New function.
8338 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8339 (do_test): New function.
8340 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8341 (do_test): New function.
8342 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8343 (do_test): New function.
8344 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8345 (do_test): New function.
8346 * math/libm-test-significand.inc: Include libm-test-driver.c.
8347 (do_test): New function.
8348 * math/libm-test-sin.inc: Include libm-test-driver.c.
8349 (do_test): New function.
8350 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8351 (do_test): New function.
8352 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8353 (do_test): New function.
8354 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8355 (do_test): New function.
8356 * math/libm-test-tan.inc: Include libm-test-driver.c.
8357 (do_test): New function.
8358 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8359 (do_test): New function.
8360 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8361 (do_test): New function.
8362 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8363 (do_test): New function.
8364 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8365 (do_test): New function.
8366 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8367 (do_test): New function.
8368 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8369 (do_test): New function.
8370 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8371 (do_test): New function.
8372 * math/libm-test-y0.inc: Include libm-test-driver.c.
8373 (do_test): New function.
8374 * math/libm-test-y1.inc: Include libm-test-driver.c.
8375 (do_test): New function.
8376 * math/libm-test-yn.inc: Include libm-test-driver.c.
8377 (do_test): New function.
8378 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8379 (HAVE_VECTOR): Remove macro.
8380 (START): Do not call HAVE_VECTOR.
8381 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8382 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8383 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8384 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8385 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8386 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8387 * math/test-math-vector.h (FUNC_TEST): New macro.
8388 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8389 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8390 (double-vlen4-funcs): Likewise.
8391 (double-vlen4-avx2-funcs): Likewise.
8392 (double-vlen8-funcs): Likewise.
8393 (float-vlen4-funcs): Likewise.
8394 (float-vlen8-funcs): Likewise.
8395 (float-vlen8-avx2-funcs): Likewise.
8396 (float-vlen16-funcs): Likewise.
8397 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8398 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8399 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8400 macro.
8401 (TEST_VECTOR_sin): Likewise.
8402 (TEST_VECTOR_sincos): Likewise.
8403 (TEST_VECTOR_log): Likewise.
8404 (TEST_VECTOR_exp): Likewise.
8405 (TEST_VECTOR_pow): Likewise.
8406 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8407 Likewise.
8408 (TEST_VECTOR_sin): Likewise.
8409 (TEST_VECTOR_sincos): Likewise.
8410 (TEST_VECTOR_log): Likewise.
8411 (TEST_VECTOR_exp): Likewise.
8412 (TEST_VECTOR_pow): Likewise.
8413 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8414 Likewise.
8415 (TEST_VECTOR_sinf): Likewise.
8416 (TEST_VECTOR_sincosf): Likewise.
8417 (TEST_VECTOR_logf): Likewise.
8418 (TEST_VECTOR_expf): Likewise.
8419 (TEST_VECTOR_powf): Likewise.
8420 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8421 Likewise.
8422 (TEST_VECTOR_sinf): Likewise.
8423 (TEST_VECTOR_sincosf): Likewise.
8424 (TEST_VECTOR_logf): Likewise.
8425 (TEST_VECTOR_expf): Likewise.
8426 (TEST_VECTOR_powf): Likewise.
8427 * math/gen-libm-have-vector-test.sh: Remove file.
8428 * math/libm-test.inc: Likewise.
8429 * math/libm-test-support-double.c: Likewise.
8430 * math/libm-test-support-float.c: Likewise.
8431 * math/libm-test-support-ldouble.c: Likewise.
8432 * math/test-double-finite.c: Likewise.: Likewise.
8433 * math/test-double.c: Likewise.
8434 * math/test-float-finite.c: Likewise.
8435 * math/test-float.c: Likewise.
8436 * math/test-idouble.c: Likewise.
8437 * math/test-ifloat.c: Likewise.
8438 * math/test-ildouble.c: Likewise.
8439 * math/test-ldouble-finite.c: Likewise.
8440 * math/test-ldouble.c: Likewise.
8441 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8442 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8443 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8444 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8445 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8446 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8447 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8448 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8449 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8450 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8451
8452 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8453 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8454
8455 * math/Makefile: Add wrappers to gen-libm-calls.
8456 * math/w_acos_template.c: New file.
8457 * math/w_acosh_template.c: Likewise.
8458 * math/w_asin_template.c: Likewise.
8459 * math/w_atan2_template.c: Likewise.
8460 * math/w_atanh_template.c: Likewise.
8461 * math/w_cosh_template.c: Likewise.
8462 * math/w_exp10_template.c: Likewise.
8463 * math/w_exp2_template.c: Likewise.
8464 * math/w_exp_template.c: Likewise.
8465 * math/w_fmod_template.c: Likewise.
8466 * math/w_hypot_template.c: Likewise.
8467 * math/w_j0_template.c: Likewise.
8468 * math/w_j1_template.c: Likewise.
8469 * math/w_jn_template.c: Likewise.
8470 * math/w_lgamma_r_template.c: Likewise.
8471 * math/w_lgamma_template.c: Likewise.
8472 * math/w_log10_template.c: Likewise.
8473 * math/w_log2_template.c: Likewise.
8474 * math/w_log_template.c: Likewise.
8475 * math/w_pow_template.c: Likewise.
8476 * math/w_remainder_template.c: Likewise.
8477 * math/w_sinh_template.c: Likewise.
8478 * math/w_sqrt_template.c: Likewise.
8479 * math/w_tgamma_template.c: Likewise.: Likewise.
8480 * sysdeps/generic/math-type-macros-double.h
8481 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8482 the new wrappers.
8483 * sysdeps/generic/math-type-macros-float.h: Likewise.
8484 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8485
8486 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8487
8488 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8489 New enum constant and macro.
8490
8491 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8492 kernel version to 4.10.
8493
8494 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8495
8496 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8497
8498 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8499
8500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8501
8502 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8503
8504 * sysdeps/powerpc/tst-set_ppr.c: New file.
8505 Implement test cases for __ppc_set_ppr_* functions.
8506 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8507 in the list of tests.
8508
8509 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8510
8511 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8512 instead of test-skeleton.c.
8513 (do_test): Replaced pthread_create and pthread_join with
8514 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8515 Removed unneeded status variable.
8516 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8517 instead of test-skeleton.c.
8518 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8519
8520 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8521
8522 [BZ #20313]
8523 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8524 201605L, for Unicode 9.
8525
8526 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8527
8528 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8529 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8530 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8531 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8532 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8533 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8534
8535 2017-02-19 Zack Weinberg <zackw@panix.com>
8536
8537 * rt/tst-mqueue4.c: Include stdint.h.
8538
8539 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8540
8541 * sysdeps/arm/libm-test-ulps: Update.
8542 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8544 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8545
8546 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8547
8548 [BZ #21029]
8549 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8550 * sysdeps/unix/sysv/linux/i386/Makefile
8551 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8552 (uses-6-syscall-arguments): Remove.
8553 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8554 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8555 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8556 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8557 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8558 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8559 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8560 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8561 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8562 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8563 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8564 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8565 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8566 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8567 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8568 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8569 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8570 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8571 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8572 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8573 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8574 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8575 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8576 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8577 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8578 Likewise.
8579 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8580 Likewise.
8581 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8582 Likewise.
8583 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8584 Likewise.
8585 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8586 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8587 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8588 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8589 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8590 ebp on inline assembly.
8591 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8592 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8593 Set if CAN_USE_REGISTER_ASM_EBP is set.
8594
8595 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8596
8597 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8598 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8599
8600 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8601
8602 * math/auto-libm-test-in: Add tests of catan and catanh.
8603 * math/auto-libm-test-out-catan: New generated file.
8604 * math/auto-libm-test-out-catanh: Likewise.
8605 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8606 Move tests with finite inputs, except divide-by-zero cases, to
8607 auto-libm-test-in.
8608 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8609 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8610 (libm-test-funcs-noauto): Remove catan and catanh.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8614
8615 * math/auto-libm-test-in: Add tests of casin and casinh.
8616 * math/auto-libm-test-out-casin: New generated file.
8617 * math/auto-libm-test-out-casinh: Likewise.
8618 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8619 Move tests with finite inputs to auto-libm-test-in.
8620 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8621 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8622 (libm-test-funcs-noauto): Remove casin and casinh.
8623 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8626
8627 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8628 * math/auto-libm-test-out-cacos: New generated file.
8629 * math/auto-libm-test-out-cacosh: Likewise.
8630 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8631 Move tests with finite inputs to auto-libm-test-in.
8632 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8633 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8634 (libm-test-funcs-noauto): Remove cacos and cacosh.
8635 * sysdeps/i386/fpu/libm-test-ulps: Update.
8636 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8638
8639 Revert:
8640 2017-02-16 Zack Weinberg <zackw@panix.com>
8641
8642 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8643 Don't include init-arch.h.
8644 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8645 Don't include init-arch.h.
8646
8647 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8648
8649 [BZ #21171]
8650 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8651 +Inf and raise divide-by-zero when x is negative.
8652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8654 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8655 -Inf and raise divide-by-zero when x = +-0.
8656 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8657 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8658 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8659 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8660 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8663
8664 2017-02-16 Zack Weinberg <zackw@panix.com>
8665
8666 * scripts/build-many-glibcs.py (bot_build_mail): If the
8667 bot_config does not contain all of the necessary email-
8668 related settings, just print a warning and continue.
8669
8670 2017-02-16 Zack Weinberg <zackw@panix.com>
8671
8672 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8673 * dirent/opendir-tst1.c: Include sys/stat.h.
8674 * dirent/tst-fdopendir.c: Include sys/stat.h.
8675 * dirent/tst-fdopendir2.c: Include stdlib.h.
8676 * dirent/tst-scandir.c: Include stdbool.h.
8677 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8678 * elf/tst-tls15.c: Include stdlib.h.
8679 * elf/tst-tls16.c: Include stdlib.h.
8680 * elf/tst-tls17.c: Include stdlib.h.
8681 * elf/tst-tls18.c: Include stdlib.h.
8682 * iconv/tst-iconv6.c: Include endian.h.
8683 * iconvdata/bug-iconv11.c: Include limits.h.
8684 * io/test-utime.c: Include stdint.h.
8685 * io/tst-faccessat.c: Include sys/stat.h.
8686 * io/tst-fchmodat.c: Include sys/stat.h.
8687 * io/tst-fchownat.c: Include sys/stat.h.
8688 * io/tst-fstatat.c: Include sys/stat.h.
8689 * io/tst-futimesat.c: Include sys/stat.h.
8690 * io/tst-linkat.c: Include sys/stat.h.
8691 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8692 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8693 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8694 * io/tst-openat.c: Include stdbool.h.
8695 * io/tst-readlinkat.c: Include sys/stat.h.
8696 * io/tst-renameat.c: Include sys/stat.h.
8697 * io/tst-symlinkat.c: Include sys/stat.h.
8698 * io/tst-unlinkat.c: Include stdbool.h.
8699 * libio/bug-memstream1.c: Include stdlib.h.
8700 * libio/bug-wmemstream1.c: Include stdlib.h.
8701 * libio/tst-fwrite-error.c: Include stdlib.h.
8702 * libio/tst-memstream1.c: Include stdlib.h.
8703 * libio/tst-memstream2.c: Include stdlib.h.
8704 * libio/tst-memstream3.c: Include stdlib.h.
8705 * malloc/tst-interpose-aux.c: Include stdint.h.
8706 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8707 * nptl/tst-basic7.c: Include limits.h.
8708 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8709 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8710 * nptl/tst-cancel4_1.c: Include stddef.h.
8711 * nptl/tst-cancel4_2.c: Include stddef.h.
8712 * nptl/tst-cond16.c: Include limits.h.
8713 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8714 * nptl/tst-cond18.c: Include limits.h.
8715 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8716 * nptl/tst-cond4.c: Include stdint.h.
8717 * nptl/tst-cond6.c: Include stdint.h.
8718 * nptl/tst-stack2.c: Include limits.h.
8719 * nptl/tst-stackguard1.c: Include stddef.h.
8720 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8721 * nptl/tst-tls4moda.c: Include stddef.h.
8722 Don't include stdio.h, unistd.h, or tls.h.
8723 * nptl/tst-tls4modb.c: Include stddef.h.
8724 Don't include stdio.h, unistd.h, or tls.h.
8725 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8726 * posix/tst-getaddrinfo2.c: Include stdio.h.
8727 * posix/tst-getaddrinfo5.c: Include stdio.h.
8728 * posix/tst-pathconf.c: Include sys/stat.h.
8729 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8730 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8731 * posix/tst-regex.c: Include stdint.h.
8732 Don't include spawn.h or spawn_int.h.
8733 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8734 * posix/tst-vfork3.c: Include sys/stat.h.
8735 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8736 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8737 * resolv/tst-resolv-search.c: Include stdlib.h.
8738 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8739 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8740 * stdlib/test-canon.c: Include sys/stat.h.
8741 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8742 * string/test-memchr.c: Include stdint.h.
8743 * string/tst-cmp.c: Include stdint.h.
8744 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8745 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8746 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8747 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8748 Don't include init-arch.h.
8749 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8750 Don't include init-arch.h.
8751 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8752 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8753 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8754 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8755 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8756 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8757 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8758 * time/clocktest.c: Include stdint.h.
8759 * time/tst-posixtz.c: Include stdint.h.
8760 * timezone/tst-timezone.c: Include stdint.h.
8761
8762 2017-02-16 Zack Weinberg <zackw@panix.com>
8763
8764 * string/string.h [__USE_MISC]: Include strings.h.
8765 (__bzero, bcmp, bcopy, bzero, index, rindex)
8766 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8767 (ffs, ffsl, ffsll): Don't declare.
8768 * string/strings.h: Do not suppress the file if string.h has
8769 already been included.
8770 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8771 annotations.
8772 (index, rindex): Define inline forwarders even if
8773 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8774 (ffs): Use __attribute_const__.
8775 (ffsl, ffsll): Declare here.
8776 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8777 have now been standardized.
8778 * include/string.h (__bzero): Declare here.
8779
8780 * bits/types.h: Move to posix/bits.
8781 * include/bits/types.h: New wrapper.
8782
8783 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8784
8785 * string/bits/string2.h (strcmp): Remove define.
8786 (__strcmp_cg): Likewise.
8787 (strncmp): Likewise.
8788
8789 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8790
8791 * include/string.h: Add __cplusplus check.
8792
8793 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8794
8795 [BZ #21134]
8796 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8797 "divide by zero" exception when the input is zero.
8798 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8799 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8800 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8801 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8802 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8803
8804 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8805
8806 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8807 and include ...
8808 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8809 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8810 to, and include ...
8811 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8812 file.
8813 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8814 and include ...
8815 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8816 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8817 and include ...
8818 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8819 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8820 and include ...
8821 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8822 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8823 and include ...
8824 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8825 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8826 to, and include ...
8827 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8828 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8829 and include ...
8830 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8831
8832 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8833
8834 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8835 here.
8836 * math/libm-test-support.c (libm_test_init): Do not call
8837 INIT_ARCH_EXT here.
8838 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8839 (main): Call INIT_ARCH_EXT.
8840
8841 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8842
8843 [BZ #21130]
8844 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8845 with the "invalid" exception raised when x is -Inf.
8846 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8847
8848 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8849
8850 * string/bits/string2.h (strchr): Remove define.
8851
8852 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8855 tst-avx512.
8856 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8857 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8858 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8859 ($(objpfx)tst-sse): New rule.
8860 ($(objpfx)tst-avx): Likewise.
8861 ($(objpfx)tst-avx512): Likewise.
8862 (CFLAGS-tst-avx-aux.c): New.
8863 (CFLAGS-tst-avxmod.c): Likewise.
8864 (CFLAGS-tst-avx512-aux.c): Likewise.
8865 (CFLAGS-tst-avx512mod.c): Likewise.
8866 * sysdeps/x86_64/tst-avx-aux.c: New file.
8867 * sysdeps/x86_64/tst-avx.c: Likewise.
8868 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8869 * sysdeps/x86_64/tst-avx512.c: Likewise.
8870 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8871 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8872 * sysdeps/x86_64/tst-sse.c: Likewise.
8873 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8874
8875 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8876
8877 * math/auto-libm-test-in: Add more tests of csin and csinh.
8878 * math/auto-libm-test-out-csin: Regenerated.
8879 * math/auto-libm-test-out-csinh: Likewise.
8880 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8881 auto-libm-test-in.
8882 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8883
8884 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8885
8886 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8887 libm-compat-calls-auto.
8888 (libm-compat-calls): Likewise.
8889 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8890 w_lgamma_compatF and k_standardF (merged from the items above).
8891 (libm-routines): Use libm-compat-calls, instead of
8892 libm-compat-calls-auto, with type-foreach.
8893
8894 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8895
8896 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8897 macro.
8898 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8899 (CFLAGS-test-ifloat.c): ... this. Remove
8900 -U__LIBC_INTERNAL_MATH_INLINES.
8901 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8902 (CFLAGS-test-idouble.c): ... this. Remove
8903 -U__LIBC_INTERNAL_MATH_INLINES.
8904 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8905 (CFLAGS-test-ildouble.c): ... this. Remove
8906 -U__LIBC_INTERNAL_MATH_INLINES.
8907
8908 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8909
8910 * math/libm-test-support.c: New file. Content from
8911 math/libm-test-driver.c.
8912 * math/libm-test-support.h: Likewise.
8913 * math/libm-test-support-double.c: New file.
8914 * math/libm-test-support-float.c: Likewise.
8915 * math/libm-test-support-ldouble.c: Likewise.
8916 * math/libm-test-driver.c: Remove main comment and header
8917 includes. Include libm-test-support.h.
8918 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8919 (flag_test_errno): Remove static.
8920 (flag_test_exceptions): Likewise.
8921 (flag_test_finite): Likewise.
8922 (flag_test_inline): Likewise.
8923 (flag_test_mathvec): Likewise.
8924 (test_msg): Likewise.
8925 (NO_EXCEPTION): Remove.
8926 (INVALID_EXCEPTION): Likewise.
8927 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8928 (OVERFLOW_EXCEPTION): Likewise.
8929 (UNDERFLOW_EXCEPTION): Likewise.
8930 (INEXACT_EXCEPTION): Likewise.
8931 (INVALID_EXCEPTION_OK): Likewise.
8932 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8933 (OVERFLOW_EXCEPTION_OK): Likewise.
8934 (UNDERFLOW_EXCEPTION_OK): Likewise.
8935 (NO_INEXACT_EXCEPTION): Likewise.
8936 (EXCEPTIONS_OK): Likewise.
8937 (IGNORE_ZERO_INF_SIGN): Likewise.
8938 (TEST_NAN_SIGN): Likewise.
8939 (TEST_NAN_PAYLOAD): Likewise.
8940 (NO_TEST_INLINE): Likewise.
8941 (XFAIL_TEST): Likewise.
8942 (ERRNO_UNCHANGED): Likewise.
8943 (ERRNO_EDOM): Likewise.
8944 (ERRNO_ERANGE): Likewise.
8945 (IGNORE_RESULT): Likewise.
8946 (NON_FINITE): Likewise.
8947 (TEST_SNAN): Likewise.
8948 (NO_TEST_MATHVEC): Likewise.
8949 (__CONCATX): Likewise.
8950 (TYPE_MIN): Likewise.
8951 (TYPE_TRUE_MIN): Likewise.
8952 (TYPE_MAX): Likewise.
8953 (MIN_EXP): Likewise.
8954 (MAX_EXP): Likewise.
8955 (MANT_DIG): Likewise.
8956 (FSTR_MAX): Likewise.
8957 (ulp_idx): Likewise.
8958 (qtype_str): Remove static.
8959 (TEST_COND_binary32): Remove.
8960 (TEST_COND_binary64): Likewise.
8961 (TEST_COND_binary128): Likewise.
8962 (TEST_COND_ibm128): Likewise.
8963 (TEST_COND_intel96): Likewise.
8964 (TEST_COND_m68k96): Likewise.
8965 (TEST_COND_ibm128_libgcc): Likewise.
8966 (XFAIL_IBM128_LIBGCC): Likewise.
8967 (PAYLOAD_DIG): Likewise.
8968 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8969 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8970 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8971 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8972 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8973 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8974 (TEST_COND_long32): Likewise.
8975 (TEST_COND_long64): Likewise.
8976 (TEST_COND_before_rounding): Likewise.
8977 (TEST_COND_after_rounding): Likewise.
8978 (ulps_file_name): Likewise.
8979 (ulps_file): Likewise.
8980 (output_ulps): Likewise.
8981 (output_dir): Likewise.
8982 (noErrors): Likewise.
8983 (noTests): Likewise.
8984 (noExcTests): Likewise.
8985 (noErrnoTests): Likewise.
8986 (verbose): Likewise.
8987 (output_max_error): Likewise.
8988 (output_points): Likewise.
8989 (ignore_max_ulp): Likewise.
8990 (max_error): Likewise.
8991 (real_max_error): Likewise.
8992 (imag_max_error): Likewise.
8993 (prev_max_error): Likewise.
8994 (prev_real_max_error): Likewise.
8995 (prev_imag_max_error): Likewise.
8996 (max_valid_error): Likewise.
8997 (TYPE_DECIMAL_DIG): Likewise.
8998 (TYPE_HEX_DIG): Likewise.
8999 (fmt_ftostr): Likewise.
9000 (compare_ulp_data): Likewise.
9001 (find_ulps): Likewise.
9002 (init_max_error): Likewise.
9003 (set_max_error): Likewise.
9004 (print_float): Likewise.
9005 (print_screen): Likewise.
9006 (print_screen_max_error): Likewise.
9007 (update_stats): Likewise.
9008 (print_function_ulps): Likewise.
9009 (print_complex_function_ulps): Likewise.
9010 (fpstack_test): Likewise.
9011 (print_max_error): Likewise.
9012 (print_complex_max_error): Likewise.
9013 (test_single_exception): Likewise.
9014 (test_exceptions): Likewise.
9015 (test_single_errno): Likewise.
9016 (test_errno): Likewise.
9017 (ULPDIFF): Likewise.
9018 (ulp): Likewise.
9019 (check_float_internal): Likewise.
9020 (check_float): Likewise.
9021 (check_complex): Likewise.
9022 (check_int): Likewise.
9023 (check_long): Likewise.
9024 (check_bool): Likewise.
9025 (check_longlong): Likewise.
9026 (check_intmax_t): Likewise.
9027 (check_uintmax_t): Likewise.
9028 (enable_test): Likewise.
9029 (matherr): Likewise.
9030 (initialize): Likewise.
9031 (options): Likewise.
9032 (doc): Remove static.
9033 (argp): Likewise.
9034 (parse_opt): Remove.
9035 (check_ulp): Likewise.
9036 (libm_test_init): Likewise.
9037 (libm_test_finish): Likewise.
9038 * math/Makefile (libm-test-support): New variable.
9039 (test-extras): Add libm-test-support files.
9040 (extra-test-objs): Likewise.
9041 (CFLAGS-libm-test-support-float.c): New variable.
9042 (CFLAGS-libm-test-support-double.c): Likewise.
9043 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9044 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9045 libm-test-support objects.
9046
9047 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9048
9049 * math/Makefile (libm-calls): Move w_exp...
9050 (libm-compat-calls-auto): Here.
9051
9052 * math/w_expl.c: Add suffix "_compat" to filename.
9053 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9054 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9055 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9057 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9061
9062 * math/w_expl_compat.c: New file, copied from above.
9063 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9064 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9065 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9067 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9071
9072 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9073 to filename.
9074 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9075
9076 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9077 copied from above and adjusted for the new filenames.
9078 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9079
9080 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9081
9082 * math/Makefile (libm-calls): Move w_lgammaF...
9083 (libm-compat-calls-auto): Here.
9084
9085 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9086 * math/w_lgammaf.c: Likewise.
9087 * math/w_lgammal.c: Likewise.
9088
9089 * math/w_lgamma_compat2.c: New file, copied from above.
9090 * math/w_lgammaf_compat2.c: Likewise.
9091 * math/w_lgammal_compat2.c: Likewise.
9092
9093 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9094
9095 * math/Makefile (libm-calls): Move w_lgammaF_r...
9096 (libm-compat-calls-auto): Here.
9097
9098 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9099 * math/w_lgammaf_r.c: Likewise.
9100 * math/w_lgammal_r.c: Likewise.
9101 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9102 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9103 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9104
9105 * math/w_lgamma_r_compat.c: New file, copied from above.
9106 * math/w_lgammaf_r_compat.c: Likewise.
9107 * math/w_lgammal_r_compat.c: Likewise.
9108 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9109 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9110 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9111
9112 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9113 to filename.
9114 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9115
9116 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9117 copied from above and adjusted for the new filenames.
9118 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9119
9120 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9121
9122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9123 calculation in SYSCALL_ERROR_HANDLER().
9124
9125 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9126
9127 * manual/contrib.texi: Fix typo.
9128
9129 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9130
9131 [BZ #21109]
9132 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9133 tunable_val_t as argument.
9134 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9135 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9136 argument.
9137 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9138
9139 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9140
9141 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9142 Add PTRACE_EVENT_STOP.
9143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9146 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9147 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9148 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9149
9150 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9151
9152 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9153 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9154 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9155 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9156 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9157 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9158 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9159 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9160 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9161 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9162
9163 [BZ #21112]
9164 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9165 12 bits zero.
9166 (cp_l): Update for new value of cp_h.
9167 * math/auto-libm-test-in: Add another test of pow.
9168 * math/auto-libm-test-out-pow: Regenerated.
9169
9170 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9171
9172 * manual/contrib.texi: Fix typo.
9173
9174 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9175
9176 [BZ #15998]
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9178 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9180
9181 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9182
9183 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9184 STRCHR as __strchr_power8.
9185 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9186 strlen as __strlen_power8.
9187
9188 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9189
9190 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9191 unaligned load for shorter strings.
9192 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9193
9194 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9195
9196 * math/libm-test-driver.c (flag_test_errno): New variable.
9197 (flag_test_exceptions): Likewise.
9198 (flag_test_finite): Likewise.
9199 (flag_test_inline): Likewise.
9200 (flag_test_mathvec): Likewise.
9201 (test_msg): Likewise.
9202 (ulp_idx): Likewise.
9203 (qtype_str): Likewise.
9204 (ULP_IDX): Remove macro.
9205 (QTYPE_STR): Likewise.
9206 (find_ulps): Use ulp_idx not ULP_IDX.
9207 (print_function_ulps): Use qtype_str, printed with %s, not
9208 QTYPE_STR, printed with concatentation to format string.
9209 (print_complex_function_ulps): Likewise.
9210 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9211 (test_errno): Use flag_test_errno not TEST_ERRNO.
9212 (enable_test): Use flag_test_inline, flag_test_finite and
9213 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9214 TEST_MATHVEC.
9215 (libm_test_init): New function. Factored out of main.
9216 (libm_test_finish): Likewise.
9217 (main): Call libm_test_init and libm_test_finish and move most
9218 code to those functions.
9219
9220 * math/libm-test-driver.c (STRX): New macro.
9221 (STR): Likewise.
9222 (STR_FLOAT): Likewise.
9223 (STR_VEC_LEN): Likewise.
9224 (TEST_MSG): Likewise. Define here instead of expecting to be
9225 defined by including file.
9226 * math/test-double-finite.c (TEST_MSG): Remove macro.
9227 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9228 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9229 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9230 * math/test-double.c (TEST_MSG): Likewise.
9231 * math/test-float-finite.c (TEST_MSG): Likewise.
9232 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9233 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9234 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9235 * math/test-float.c (TEST_MSG): Likewise.
9236 * math/test-idouble.c (TEST_MSG): Likewise.
9237 * math/test-ifloat.c (TEST_MSG): Likewise.
9238 * math/test-ildouble.c (TEST_MSG): Likewise.
9239 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9240 * math/test-ldouble.c (TEST_MSG): Likewise.
9241
9242 * math/libm-test.inc: Move all tests of individual functions to
9243 libm-test-*.inc and #include libm-test-*.c files.
9244 (acos_test_data): Remove.
9245 (acos_test): Likewise.
9246 (acosh_test_data): Likewise.
9247 (acosh_test): Likewise.
9248 (asin_test_data): Likewise.
9249 (asin_test): Likewise.
9250 (asinh_test_data): Likewise.
9251 (asinh_test): Likewise.
9252 (atan_test_data): Likewise.
9253 (atan_test): Likewise.
9254 (atanh_test_data): Likewise.
9255 (atanh_test): Likewise.
9256 (atan2_test_data): Likewise.
9257 (atan2_test): Likewise.
9258 (cabs_test_data): Likewise.
9259 (cabs_test): Likewise.
9260 (cacos_test_data): Likewise.
9261 (cacos_test): Likewise.
9262 (cacosh_test_data): Likewise.
9263 (cacosh_test): Likewise.
9264 (canonicalize_test_data): Likewise.
9265 (canonicalize_test): Likewise.
9266 (carg_test_data): Likewise.
9267 (carg_test): Likewise.
9268 (casin_test_data): Likewise.
9269 (casin_test): Likewise.
9270 (casinh_test_data): Likewise.
9271 (casinh_test): Likewise.
9272 (catan_test_data): Likewise.
9273 (catan_test): Likewise.
9274 (catanh_test_data): Likewise.
9275 (catanh_test): Likewise.
9276 (cbrt_test_data): Likewise.
9277 (cbrt_test): Likewise.
9278 (ccos_test_data): Likewise.
9279 (ccos_test): Likewise.
9280 (ccosh_test_data): Likewise.
9281 (ccosh_test): Likewise.
9282 (ceil_test_data): Likewise.
9283 (ceil_test): Likewise.
9284 (cexp_test_data): Likewise.
9285 (cexp_test): Likewise.
9286 (cimag_test_data): Likewise.
9287 (cimag_test): Likewise.
9288 (clog_test_data): Likewise.
9289 (clog_test): Likewise.
9290 (clog10_test_data): Likewise.
9291 (clog10_test): Likewise.
9292 (conj_test_data): Likewise.
9293 (conj_test): Likewise.
9294 (copysign_test_data): Likewise.
9295 (copysign_test): Likewise.
9296 (cos_test_data): Likewise.
9297 (cos_test): Likewise.
9298 (cosh_test_data): Likewise.
9299 (cosh_test): Likewise.
9300 (cpow_test_data): Likewise.
9301 (cpow_test): Likewise.
9302 (cproj_test_data): Likewise.
9303 (cproj_test): Likewise.
9304 (creal_test_data): Likewise.
9305 (creal_test): Likewise.
9306 (csin_test_data): Likewise.
9307 (csin_test): Likewise.
9308 (csinh_test_data): Likewise.
9309 (csinh_test): Likewise.
9310 (csqrt_test_data): Likewise.
9311 (csqrt_test): Likewise.
9312 (ctan_test_data): Likewise.
9313 (ctan_test): Likewise.
9314 (ctanh_test_data): Likewise.
9315 (ctanh_test): Likewise.
9316 (erf_test_data): Likewise.
9317 (erf_test): Likewise.
9318 (erfc_test_data): Likewise.
9319 (erfc_test): Likewise.
9320 (exp_test_data): Likewise.
9321 (exp_test): Likewise.
9322 (exp10_test_data): Likewise.
9323 (exp10_test): Likewise.
9324 (pow10_test): Likewise.
9325 (exp2_test_data): Likewise.
9326 (exp2_test): Likewise.
9327 (expm1_test_data): Likewise.
9328 (expm1_test): Likewise.
9329 (fabs_test_data): Likewise.
9330 (fabs_test): Likewise.
9331 (fdim_test_data): Likewise.
9332 (fdim_test): Likewise.
9333 (floor_test_data): Likewise.
9334 (floor_test): Likewise.
9335 (fma_test_data): Likewise.
9336 (fma_test): Likewise.
9337 (fmax_test_data): Likewise.
9338 (fmax_test): Likewise.
9339 (fmaxmag_test_data): Likewise.
9340 (fmaxmag_test): Likewise.
9341 (fmin_test_data): Likewise.
9342 (fmin_test): Likewise.
9343 (fminmag_test_data): Likewise.
9344 (fminmag_test): Likewise.
9345 (fmod_test_data): Likewise.
9346 (fmod_test): Likewise.
9347 (fpclassify_test_data): Likewise.
9348 (fpclassify_test): Likewise.
9349 (frexp_test_data): Likewise.
9350 (frexp_test): Likewise.
9351 (fromfp_test_data): Likewise.
9352 (fromfp_test): Likewise.
9353 (fromfpx_test_data): Likewise.
9354 (fromfpx_test): Likewise.
9355 (getpayload_test_data): Likewise.
9356 (getpayload_test): Likewise.
9357 (hypot_test_data): Likewise.
9358 (hypot_test): Likewise.
9359 (ilogb_test_data): Likewise.
9360 (ilogb_test): Likewise.
9361 (iscanonical_test_data): Likewise.
9362 (iscanonical_test): Likewise.
9363 (iseqsig_test_data): Likewise.
9364 (iseqsig_test): Likewise.
9365 (isfinite_test_data): Likewise.
9366 (isfinite_test): Likewise.
9367 (finite_test): Likewise.
9368 (isgreater_test_data): Likewise.
9369 (isgreater_test): Likewise.
9370 (isgreaterequal_test_data): Likewise.
9371 (isgreaterequal_test): Likewise.
9372 (isinf_test_data): Likewise.
9373 (isinf_test): Likewise.
9374 (isless_test_data): Likewise.
9375 (isless_test): Likewise.
9376 (islessequal_test_data): Likewise.
9377 (islessequal_test): Likewise.
9378 (islessgreater_test_data): Likewise.
9379 (islessgreater_test): Likewise.
9380 (isnan_test_data): Likewise.
9381 (isnan_test): Likewise.
9382 (isnormal_test_data): Likewise.
9383 (isnormal_test): Likewise.
9384 (issignaling_test_data): Likewise.
9385 (issignaling_test): Likewise.
9386 (issubnormal_test_data): Likewise.
9387 (issubnormal_test): Likewise.
9388 (isunordered_test_data): Likewise.
9389 (isunordered_test): Likewise.
9390 (iszero_test_data): Likewise.
9391 (iszero_test): Likewise.
9392 (j0_test_data): Likewise.
9393 (j0_test): Likewise.
9394 (j1_test_data): Likewise.
9395 (j1_test): Likewise.
9396 (jn_test_data): Likewise.
9397 (jn_test): Likewise.
9398 (lgamma_test_data): Likewise.
9399 (lgamma_test): Likewise.
9400 (gamma_test): Likewise.
9401 (llogb_test_data): Likewise.
9402 (llogb_test): Likewise.
9403 (lrint_test_data): Likewise.
9404 (lrint_test): Likewise.
9405 (llrint_test_data): Likewise.
9406 (llrint_test): Likewise.
9407 (log_test_data): Likewise.
9408 (log_test): Likewise.
9409 (log10_test_data): Likewise.
9410 (log10_test): Likewise.
9411 (log1p_test_data): Likewise.
9412 (log1p_test): Likewise.
9413 (log2_test_data): Likewise.
9414 (log2_test): Likewise.
9415 (logb_test_data): Likewise.
9416 (logb_test): Likewise.
9417 (lround_test_data): Likewise.
9418 (lround_test): Likewise.
9419 (llround_test_data): Likewise.
9420 (llround_test): Likewise.
9421 (modf_test_data): Likewise.
9422 (modf_test): Likewise.
9423 (nearbyint_test_data): Likewise.
9424 (nearbyint_test): Likewise.
9425 (nextafter_test_data): Likewise.
9426 (nextafter_test): Likewise.
9427 (nextup_test_data): Likewise.
9428 (nextup_test): Likewise.
9429 (nextdown_test_data): Likewise.
9430 (nextdown_test): Likewise.
9431 (nexttoward_test_data): Likewise.
9432 (nexttoward_test): Likewise.
9433 (pow_test_data): Likewise.
9434 (pow_test): Likewise.
9435 (remainder_test_data): Likewise.
9436 (remainder_test): Likewise.
9437 (drem_test): Likewise.
9438 (remquo_test_data): Likewise.
9439 (remquo_test): Likewise.
9440 (rint_test_data): Likewise.
9441 (rint_test): Likewise.
9442 (round_test_data): Likewise.
9443 (round_test): Likewise.
9444 (roundeven_test_data): Likewise.
9445 (roundeven_test): Likewise.
9446 (scalb_test_data): Likewise.
9447 (scalb_test): Likewise.
9448 (scalbn_test_data): Likewise.
9449 (scalbn_test): Likewise.
9450 (ldexp_test): Likewise.
9451 (scalbln_test_data): Likewise.
9452 (scalbln_test): Likewise.
9453 (setpayload_test_data): Likewise.
9454 (setpayload_test): Likewise.
9455 (setpayloadsig_test_data): Likewise.
9456 (setpayloadsig_test): Likewise.
9457 (signbit_test_data): Likewise.
9458 (signbit_test): Likewise.
9459 (sin_test_data): Likewise.
9460 (sin_test): Likewise.
9461 (sincos_test_data): Likewise.
9462 (sincos_test): Likewise.
9463 (sinh_test_data): Likewise.
9464 (sinh_test): Likewise.
9465 (sqrt_test_data): Likewise.
9466 (sqrt_test): Likewise.
9467 (tan_test_data): Likewise.
9468 (tan_test): Likewise.
9469 (tanh_test_data): Likewise.
9470 (tanh_test): Likewise.
9471 (tgamma_test_data): Likewise.
9472 (tgamma_test): Likewise.
9473 (totalorder_test_data): Likewise.
9474 (totalorder_test): Likewise.
9475 (totalordermag_test_data): Likewise.
9476 (totalordermag_test): Likewise.
9477 (trunc_test_data): Likewise.
9478 (trunc_test): Likewise.
9479 (ufromfp_test_data): Likewise.
9480 (ufromfp_test): Likewise.
9481 (ufromfpx_test_data): Likewise.
9482 (ufromfpx_test): Likewise.
9483 (y0_test_data): Likewise.
9484 (y0_test): Likewise.
9485 (y1_test_data): Likewise.
9486 (y1_test): Likewise.
9487 (yn_test_data): Likewise.
9488 (yn_test): Likewise.
9489 (significand_test_data): Likewise.
9490 (significand_test): Likewise.
9491 * math/Makefile (auto-libm-test-out-files): Remove variable.
9492 (libm-test-funcs-noauto): New variable.
9493 (libm-test-funcs-all): Likewise.
9494 (libm-test-c-auto): Likewise.
9495 (libm-test-c-noauto): Likewise.
9496 (libm-tests-generated): Add $(libm-test-c-auto) and
9497 $(libm-test-c-noauto).
9498 (generated): Do not add auto-libm-test-out.
9499 (libm-test-c-auto-obj): New variable.
9500 (libm-test-c-noauto-obj): Likewise.
9501 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9502 ($(libm-test-c-noauto-obj)): New static pattern rule.
9503 ($(libm-test-c-auto-obj)): Likewise.
9504 (libm-test-incs): New variable.
9505 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9506 and pass it to gen-libm-have-vector-test.sh.
9507 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9508 be passed on command line.
9509 * math/libm-test-acos.inc: New file. Content from
9510 math/libm-test.inc.
9511 * math/libm-test-acosh.inc: Likewise.
9512 * math/libm-test-asin.inc: Likewise.
9513 * math/libm-test-asinh.inc: Likewise.
9514 * math/libm-test-atan.inc: Likewise.
9515 * math/libm-test-atan2.inc: Likewise.
9516 * math/libm-test-atanh.inc: Likewise.
9517 * math/libm-test-cabs.inc: Likewise.
9518 * math/libm-test-cacos.inc: Likewise.
9519 * math/libm-test-cacosh.inc: Likewise.
9520 * math/libm-test-canonicalize.inc: Likewise.
9521 * math/libm-test-carg.inc: Likewise.
9522 * math/libm-test-casin.inc: Likewise.
9523 * math/libm-test-casinh.inc: Likewise.
9524 * math/libm-test-catan.inc: Likewise.
9525 * math/libm-test-catanh.inc: Likewise.
9526 * math/libm-test-cbrt.inc: Likewise.
9527 * math/libm-test-ccos.inc: Likewise.
9528 * math/libm-test-ccosh.inc: Likewise.
9529 * math/libm-test-ceil.inc: Likewise.
9530 * math/libm-test-cexp.inc: Likewise.
9531 * math/libm-test-cimag.inc: Likewise.
9532 * math/libm-test-clog.inc: Likewise.
9533 * math/libm-test-clog10.inc: Likewise.
9534 * math/libm-test-conj.inc: Likewise.
9535 * math/libm-test-copysign.inc: Likewise.
9536 * math/libm-test-cos.inc: Likewise.
9537 * math/libm-test-cosh.inc: Likewise.
9538 * math/libm-test-cpow.inc: Likewise.
9539 * math/libm-test-cproj.inc: Likewise.
9540 * math/libm-test-creal.inc: Likewise.
9541 * math/libm-test-csin.inc: Likewise.
9542 * math/libm-test-csinh.inc: Likewise.
9543 * math/libm-test-csqrt.inc: Likewise.
9544 * math/libm-test-ctan.inc: Likewise.
9545 * math/libm-test-ctanh.inc: Likewise.
9546 * math/libm-test-erf.inc: Likewise.
9547 * math/libm-test-erfc.inc: Likewise.
9548 * math/libm-test-exp.inc: Likewise.
9549 * math/libm-test-exp10.inc: Likewise.
9550 * math/libm-test-exp2.inc: Likewise.
9551 * math/libm-test-expm1.inc: Likewise.
9552 * math/libm-test-fabs.inc: Likewise.
9553 * math/libm-test-fdim.inc: Likewise.
9554 * math/libm-test-floor.inc: Likewise.
9555 * math/libm-test-fma.inc: Likewise.
9556 * math/libm-test-fmax.inc: Likewise.
9557 * math/libm-test-fmaxmag.inc: Likewise.
9558 * math/libm-test-fmin.inc: Likewise.
9559 * math/libm-test-fminmag.inc: Likewise.
9560 * math/libm-test-fmod.inc: Likewise.
9561 * math/libm-test-fpclassify.inc: Likewise.
9562 * math/libm-test-frexp.inc: Likewise.
9563 * math/libm-test-fromfp.inc: Likewise.
9564 * math/libm-test-fromfpx.inc: Likewise.
9565 * math/libm-test-getpayload.inc: Likewise.
9566 * math/libm-test-hypot.inc: Likewise.
9567 * math/libm-test-ilogb.inc: Likewise.
9568 * math/libm-test-iscanonical.inc: Likewise.
9569 * math/libm-test-iseqsig.inc: Likewise.
9570 * math/libm-test-isfinite.inc: Likewise.
9571 * math/libm-test-isgreater.inc: Likewise.
9572 * math/libm-test-isgreaterequal.inc: Likewise.
9573 * math/libm-test-isinf.inc: Likewise.
9574 * math/libm-test-isless.inc: Likewise.
9575 * math/libm-test-islessequal.inc: Likewise.
9576 * math/libm-test-islessgreater.inc: Likewise.
9577 * math/libm-test-isnan.inc: Likewise.
9578 * math/libm-test-isnormal.inc: Likewise.
9579 * math/libm-test-issignaling.inc: Likewise.
9580 * math/libm-test-issubnormal.inc: Likewise.
9581 * math/libm-test-isunordered.inc: Likewise.
9582 * math/libm-test-iszero.inc: Likewise.
9583 * math/libm-test-j0.inc: Likewise.
9584 * math/libm-test-j1.inc: Likewise.
9585 * math/libm-test-jn.inc: Likewise.
9586 * math/libm-test-lgamma.inc: Likewise.
9587 * math/libm-test-llogb.inc: Likewise.
9588 * math/libm-test-llrint.inc: Likewise.
9589 * math/libm-test-llround.inc: Likewise.
9590 * math/libm-test-log.inc: Likewise.
9591 * math/libm-test-log10.inc: Likewise.
9592 * math/libm-test-log1p.inc: Likewise.
9593 * math/libm-test-log2.inc: Likewise.
9594 * math/libm-test-logb.inc: Likewise.
9595 * math/libm-test-lrint.inc: Likewise.
9596 * math/libm-test-lround.inc: Likewise.
9597 * math/libm-test-modf.inc: Likewise.
9598 * math/libm-test-nearbyint.inc: Likewise.
9599 * math/libm-test-nextafter.inc: Likewise.
9600 * math/libm-test-nextdown.inc: Likewise.
9601 * math/libm-test-nexttoward.inc: Likewise.
9602 * math/libm-test-nextup.inc: Likewise.
9603 * math/libm-test-pow.inc: Likewise.
9604 * math/libm-test-remainder.inc: Likewise.
9605 * math/libm-test-remquo.inc: Likewise.
9606 * math/libm-test-rint.inc: Likewise.
9607 * math/libm-test-round.inc: Likewise.
9608 * math/libm-test-roundeven.inc: Likewise.
9609 * math/libm-test-scalb.inc: Likewise.
9610 * math/libm-test-scalbln.inc: Likewise.
9611 * math/libm-test-scalbn.inc: Likewise.
9612 * math/libm-test-setpayload.inc: Likewise.
9613 * math/libm-test-setpayloadsig.inc: Likewise.
9614 * math/libm-test-signbit.inc: Likewise.
9615 * math/libm-test-significand.inc: Likewise.
9616 * math/libm-test-sin.inc: Likewise.
9617 * math/libm-test-sincos.inc: Likewise.
9618 * math/libm-test-sinh.inc: Likewise.
9619 * math/libm-test-sqrt.inc: Likewise.
9620 * math/libm-test-tan.inc: Likewise.
9621 * math/libm-test-tanh.inc: Likewise.
9622 * math/libm-test-tgamma.inc: Likewise.
9623 * math/libm-test-totalorder.inc: Likewise.
9624 * math/libm-test-totalordermag.inc: Likewise.
9625 * math/libm-test-trunc.inc: Likewise.
9626 * math/libm-test-ufromfp.inc: Likewise.
9627 * math/libm-test-ufromfpx.inc: Likewise.
9628 * math/libm-test-y0.inc: Likewise.
9629 * math/libm-test-y1.inc: Likewise.
9630 * math/libm-test-yn.inc: Likewise.
9631 * math/README.libm-test: Update.
9632
9633 * math/gen-auto-libm-tests.c: Update comment about use of program.
9634 (generate_output): Add argument FUNCTION.
9635 (main): Require extra argument. Pass function name to
9636 generate_output.
9637 * math/Makefile (generated): Add auto-libm-test-out.
9638 (libm-test-funcs-auto): New variable.
9639 (auto-libm-test-out-files): New variable.
9640 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9641 Concatenate those files to form $(objpfx)auto-libm-test-out and
9642 use it as input to gen-libm-test.pl.
9643 * math/README.libm-test: Update.
9644 * math/auto-libm-test-out: Remove.
9645 * math/auto-libm-test-out-acos: New generated file.
9646 * math/auto-libm-test-out-acosh: Likewise.
9647 * math/auto-libm-test-out-asin: Likewise.
9648 * math/auto-libm-test-out-asinh: Likewise.
9649 * math/auto-libm-test-out-atan: Likewise.
9650 * math/auto-libm-test-out-atan2: Likewise.
9651 * math/auto-libm-test-out-atanh: Likewise.
9652 * math/auto-libm-test-out-cabs: Likewise.
9653 * math/auto-libm-test-out-carg: Likewise.
9654 * math/auto-libm-test-out-cbrt: Likewise.
9655 * math/auto-libm-test-out-ccos: Likewise.
9656 * math/auto-libm-test-out-ccosh: Likewise.
9657 * math/auto-libm-test-out-cexp: Likewise.
9658 * math/auto-libm-test-out-clog: Likewise.
9659 * math/auto-libm-test-out-clog10: Likewise.
9660 * math/auto-libm-test-out-cos: Likewise.
9661 * math/auto-libm-test-out-cosh: Likewise.
9662 * math/auto-libm-test-out-cpow: Likewise.
9663 * math/auto-libm-test-out-csin: Likewise.
9664 * math/auto-libm-test-out-csinh: Likewise.
9665 * math/auto-libm-test-out-csqrt: Likewise.
9666 * math/auto-libm-test-out-ctan: Likewise.
9667 * math/auto-libm-test-out-ctanh: Likewise.
9668 * math/auto-libm-test-out-erf: Likewise.
9669 * math/auto-libm-test-out-erfc: Likewise.
9670 * math/auto-libm-test-out-exp: Likewise.
9671 * math/auto-libm-test-out-exp10: Likewise.
9672 * math/auto-libm-test-out-exp2: Likewise.
9673 * math/auto-libm-test-out-expm1: Likewise.
9674 * math/auto-libm-test-out-fma: Likewise.
9675 * math/auto-libm-test-out-hypot: Likewise.
9676 * math/auto-libm-test-out-j0: Likewise.
9677 * math/auto-libm-test-out-j1: Likewise.
9678 * math/auto-libm-test-out-jn: Likewise.
9679 * math/auto-libm-test-out-lgamma: Likewise.
9680 * math/auto-libm-test-out-log: Likewise.
9681 * math/auto-libm-test-out-log10: Likewise.
9682 * math/auto-libm-test-out-log1p: Likewise.
9683 * math/auto-libm-test-out-log2: Likewise.
9684 * math/auto-libm-test-out-pow: Likewise.
9685 * math/auto-libm-test-out-sin: Likewise.
9686 * math/auto-libm-test-out-sincos: Likewise.
9687 * math/auto-libm-test-out-sinh: Likewise.
9688 * math/auto-libm-test-out-sqrt: Likewise.
9689 * math/auto-libm-test-out-tan: Likewise.
9690 * math/auto-libm-test-out-tanh: Likewise.
9691 * math/auto-libm-test-out-tgamma: Likewise.
9692 * math/auto-libm-test-out-y0: Likewise.
9693 * math/auto-libm-test-out-y1: Likewise.
9694 * math/auto-libm-test-out-yn: Likewise.
9695
9696 * math/Makefile (generated): Do not include libm-test.stmp.
9697 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9698 on $(objpfx)libm-test.stmp.
9699 ($(objpfx)libm-test.stmp): Remove rule.
9700 ($(objpfx)libm-test-ulps.h): New rule.
9701 ($(objpfx)libm-test.c): Likewise.
9702 ($(objpfx)libm-have-vector-test.h): Likewise.
9703 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9704 individual generated files, not libm-test.stmp.
9705
9706 * math/gen-libm-test.pl ($output_dir): Remove variable.
9707 ($srcdir): Likewise.
9708 ($opt_a): New variable.
9709 ($opt_c): Likewise.
9710 ($opt_C): Likewise.
9711 ($opt_H): Likewise.
9712 (-n): Make option take argument and use it as NewUlps output.
9713 (-a): New option. Use its argument for auto-libm-test-out input.
9714 (-c): New option. Use its argument for libm-test.inc input.
9715 (-C): New option. Use its argument for libm-test.c output.
9716 (-H): New option. Use its argument for libm-test-ulps.h output.
9717 (top level): Only process inputs needed to generate outputs
9718 specified by command-line options. Only generate outputs
9719 specified by command-line options.
9720 * math/README.libm-test: Update example gen-libm-test.pl command.
9721 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9722 commands.
9723 (regen-ulps): Likewise.
9724
9725 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9726
9727 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9728 * include/string.h (index): Remove define.
9729 (rindex): Likewise.
9730 * misc/getttyent.c (__getttyent): Rename index to strchr.
9731 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9732 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9733
9734 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9735
9736 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9737 * math/libm-test.inc: Move all contents, other than tests of
9738 individual functions, to libm-test-driver.c.
9739 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9740 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9741 [!FE_UPWARD] (FE_UPWARD): Likewise.
9742 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9743 (NO_EXCEPTION): Likewise.
9744 (INVALID_EXCEPTION): Likewise.
9745 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9746 (OVERFLOW_EXCEPTION): Likewise.
9747 (UNDERFLOW_EXCEPTION): Likewise.
9748 (INEXACT_EXCEPTION): Likewise.
9749 (INVALID_EXCEPTION_OK): Likewise.
9750 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9751 (OVERFLOW_EXCEPTION_OK): Likewise.
9752 (UNDERFLOW_EXCEPTION_OK): Likewise.
9753 (NO_INEXACT_EXCEPTION): Likewise.
9754 (EXCEPTIONS_OK): Likewise.
9755 (IGNORE_ZERO_INF_SIGN): Likewise.
9756 (TEST_NAN_SIGN): Likewise.
9757 (TEST_NAN_PAYLOAD): Likewise.
9758 (NO_TEST_INLINE): Likewise.
9759 (XFAIL_TEST): Likewise.
9760 (ERRNO_UNCHANGED): Likewise.
9761 (ERRNO_EDOM): Likewise.
9762 (ERRNO_ERANGE): Likewise.
9763 (IGNORE_RESULT): Likewise.
9764 (NON_FINITE): Likewise.
9765 (TEST_SNAN): Likewise.
9766 (NO_TEST_MATHVEC): Likewise.
9767 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9768 (__CONCATX): Likewise.
9769 (TYPE_MIN): Likewise.
9770 (TYPE_TRUE_MIN): Likewise.
9771 (TYPE_MAX): Likewise.
9772 (MIN_EXP): Likewise.
9773 (MAX_EXP): Likewise.
9774 (MANT_DIG): Likewise.
9775 (FSTR_MAX): Likewise.
9776 (ULP_IDX): Likewise.
9777 (QTYPE_STR): Likewise.
9778 (TEST_COND_binary32): Likewise.
9779 (TEST_COND_binary64): Likewise.
9780 (TEST_COND_binary128): Likewise.
9781 (TEST_COND_ibm128): Likewise.
9782 (TEST_COND_intel96): Likewise.
9783 (TEST_COND_m68k96): Likewise.
9784 (TEST_COND_ibm128_libgcc): Likewise.
9785 (XFAIL_IBM128_LIBGCC): Likewise.
9786 (PAYLOAD_DIG): Likewise.
9787 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9788 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9789 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9790 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9791 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9792 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9793 (TEST_COND_long32): Likewise.
9794 (TEST_COND_long64): Likewise.
9795 (TEST_COND_before_rounding): Likewise.
9796 (TEST_COND_after_rounding): Likewise.
9797 (lit_pi_3_m_4_d): Likewise.
9798 (lit_pi_3_m_4_ln10_m_d): Likewise.
9799 (lit_pi_2_ln10_m_d): Likewise.
9800 (lit_pi_4_ln10_m_d): Likewise.
9801 (lit_pi_ln10_d): Likewise.
9802 (lit_pi_2_d): Likewise.
9803 (lit_pi_4_d): Likewise.
9804 (lit_pi): Likewise.
9805 (lit_e): Likewise.
9806 (ulps_file_name): Likewise.
9807 (ulps_file): Likewise.
9808 (output_ulps): Likewise.
9809 (output_dir): Likewise.
9810 (noErrors): Likewise.
9811 (noTests): Likewise.
9812 (noExcTests): Likewise.
9813 (noErrnoTests): Likewise.
9814 (verbose): Likewise.
9815 (output_max_error): Likewise.
9816 (output_points): Likewise.
9817 (ignore_max_ulp): Likewise.
9818 (plus_zero): Likewise.
9819 (minus_zero): Likewise.
9820 (plus_infty): Likewise.
9821 (minus_infty): Likewise.
9822 (qnan_value_pl): Likewise.
9823 (qnan_value): Likewise.
9824 (snan_value_pl): Likewise.
9825 (snan_value): Likewise.
9826 (max_value): Likewise.
9827 (min_value): Likewise.
9828 (min_subnorm_value): Likewise.
9829 (snan_value_ld): Likewise.
9830 (max_error): Likewise.
9831 (real_max_error): Likewise.
9832 (imag_max_error): Likewise.
9833 (prev_max_error): Likewise.
9834 (prev_real_max_error): Likewise.
9835 (prev_imag_max_error): Likewise.
9836 (max_valid_error): Likewise.
9837 (TYPE_DECIMAL_DIG): Likewise.
9838 (TYPE_HEX_DIG): Likewise.
9839 (fmt_ftostr): Likewise.
9840 (compare_ulp_data): Likewise.
9841 (find_ulps): Likewise.
9842 (init_max_error): Likewise.
9843 (set_max_error): Likewise.
9844 (print_float): Likewise.
9845 (print_screen): Likewise.
9846 (print_screen_max_error): Likewise.
9847 (update_stats): Likewise.
9848 (print_function_ulps): Likewise.
9849 (print_complex_function_ulps): Likewise.
9850 (fpstack_test): Likewise.
9851 (print_max_error): Likewise.
9852 (print_complex_max_error): Likewise.
9853 (test_single_exception): Likewise.
9854 (test_exceptions): Likewise.
9855 (test_single_errno): Likewise.
9856 (test_errno): Likewise.
9857 (ULPDIFF): Likewise.
9858 (ulp): Likewise.
9859 (check_float_internal): Likewise.
9860 (check_float): Likewise.
9861 (check_complex): Likewise.
9862 (check_int): Likewise.
9863 (check_long): Likewise.
9864 (check_bool): Likewise.
9865 (check_longlong): Likewise.
9866 (check_intmax_t): Likewise.
9867 (check_uintmax_t): Likewise.
9868 (enable_test): Likewise.
9869 (struct test_f_f_data): Likewise.
9870 (struct test_ff_f_data): Likewise.
9871 (struct test_fj_f_data): Likewise.
9872 (struct test_fi_f_data): Likewise.
9873 (struct test_fl_f_data): Likewise.
9874 (struct test_if_f_data): Likewise.
9875 (struct test_fff_f_data): Likewise.
9876 (struct test_fiu_M_data): Likewise.
9877 (struct test_fiu_U_data): Likewise.
9878 (struct test_c_f_data): Likewise.
9879 (struct test_f_f1_data): Likewise.
9880 (struct test_fF_f1_data): Likewise.
9881 (struct test_ffI_f1_data): Likewise.
9882 (struct test_c_c_data): Likewise.
9883 (struct test_cc_c_data): Likewise.
9884 (struct test_f_i_data): Likewise.
9885 (struct test_ff_i_data): Likewise.
9886 (struct test_f_l_data): Likewise.
9887 (struct test_f_L_data): Likewise.
9888 (struct test_fFF_11_data): Likewise.
9889 (struct test_Ff_b1_data): Likewise.
9890 (IF_ROUND_INIT_): Likewise.
9891 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9892 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9893 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9894 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9895 (ROUND_RESTORE_): Likewise.
9896 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9897 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9898 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9899 (ROUND_RESTORE_FE_UPWARD): Likewise.
9900 (RM_): Likewise.
9901 (RM_FE_DOWNWARD): Likewise.
9902 (RM_FE_TONEAREST): Likewise.
9903 (RM_FE_TOWARDZERO): Likewise.
9904 (RM_FE_UPWARD): Likewise.
9905 (COMMON_TEST_SETUP): Likewise.
9906 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9907 (COMMON_TEST_CLEANUP): Likewise.
9908 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9909 (RUN_TEST_f_f): Likewise.
9910 (RUN_TEST_LOOP_f_f): Likewise.
9911 (RUN_TEST_fp_f): Likewise.
9912 (RUN_TEST_LOOP_fp_f): Likewise.
9913 (RUN_TEST_2_f): Likewise.
9914 (RUN_TEST_LOOP_2_f): Likewise.
9915 (RUN_TEST_ff_f): Likewise.
9916 (RUN_TEST_LOOP_ff_f): Likewise.
9917 (RUN_TEST_LOOP_fj_f): Likewise.
9918 (RUN_TEST_fi_f): Likewise.
9919 (RUN_TEST_LOOP_fi_f): Likewise.
9920 (RUN_TEST_fl_f): Likewise.
9921 (RUN_TEST_LOOP_fl_f): Likewise.
9922 (RUN_TEST_if_f): Likewise.
9923 (RUN_TEST_LOOP_if_f): Likewise.
9924 (RUN_TEST_fff_f): Likewise.
9925 (RUN_TEST_LOOP_fff_f): Likewise.
9926 (RUN_TEST_fiu_M): Likewise.
9927 (RUN_TEST_LOOP_fiu_M): Likewise.
9928 (RUN_TEST_fiu_U): Likewise.
9929 (RUN_TEST_LOOP_fiu_U): Likewise.
9930 (RUN_TEST_c_f): Likewise.
9931 (RUN_TEST_LOOP_c_f): Likewise.
9932 (RUN_TEST_f_f1): Likewise.
9933 (RUN_TEST_LOOP_f_f1): Likewise.
9934 (RUN_TEST_fF_f1): Likewise.
9935 (RUN_TEST_LOOP_fF_f1): Likewise.
9936 (RUN_TEST_fI_f1): Likewise.
9937 (RUN_TEST_LOOP_fI_f1): Likewise.
9938 (RUN_TEST_ffI_f1_mod8): Likewise.
9939 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9940 (RUN_TEST_Ff_b1): Likewise.
9941 (RUN_TEST_LOOP_Ff_b1): Likewise.
9942 (RUN_TEST_Ffp_b1): Likewise.
9943 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9944 (RUN_TEST_c_c): Likewise.
9945 (RUN_TEST_LOOP_c_c): Likewise.
9946 (RUN_TEST_cc_c): Likewise.
9947 (RUN_TEST_LOOP_cc_c): Likewise.
9948 (RUN_TEST_f_i): Likewise.
9949 (RUN_TEST_LOOP_f_i): Likewise.
9950 (RUN_TEST_f_i_tg): Likewise.
9951 (RUN_TEST_LOOP_f_i_tg): Likewise.
9952 (RUN_TEST_ff_b): Likewise.
9953 (RUN_TEST_LOOP_ff_b): Likewise.
9954 (RUN_TEST_ff_i_tg): Likewise.
9955 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9956 (RUN_TEST_f_b): Likewise.
9957 (RUN_TEST_LOOP_f_b): Likewise.
9958 (RUN_TEST_f_b_tg): Likewise.
9959 (RUN_TEST_LOOP_f_b_tg): Likewise.
9960 (RUN_TEST_f_l): Likewise.
9961 (RUN_TEST_LOOP_f_l): Likewise.
9962 (RUN_TEST_f_L): Likewise.
9963 (RUN_TEST_LOOP_f_L): Likewise.
9964 (RUN_TEST_fFF_11): Likewise.
9965 (RUN_TEST_LOOP_fFF_11): Likewise.
9966 (VEC_SUFF): Likewise.
9967 (STR_CONCAT): Likewise.
9968 (STR_CON3): Likewise.
9969 (HAVE_VECTOR): Likewise.
9970 (START): Likewise.
9971 (END): Likewise.
9972 (END_COMPLEX): Likewise.
9973 (ALL_RM_TEST): Likewise.
9974 (matherr): Likewise.
9975 (initialize): Likewise.
9976 (options): Likewise.
9977 (doc): Likewise.
9978 (parse_opt): Likewise.
9979 (argp): Likewise.
9980 (check_ulp): Likewise.
9981 (main): Likewise.
9982 (do_test): New function. Call tests of individual functions
9983 previously called from main.
9984
9985 * math/libm-test.inc: Remove comment listing functions tested and
9986 not tested.
9987
9988 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9989
9990 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9991 (allocate_stack): Remove COLORING_INCREMENT usage.
9992 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9993 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9994
9995 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9996
9997 * manual/libm-err-tab.pl (@all_functions): Change to
9998 %all_functions. Initialize as empty.
9999 (parse_ulps): Add to %all_functions based on functions found in
10000 ulps files. Ignore results for non-default rounding modes and
10001 vector functions.
10002 (print_platforms): Use %all_platforms.
10003 * manual/math.texi (Errors in Math Functions): Document omissions
10004 from the table.
10005
10006 * math/Makefile (before-compile): Remove.
10007
10008 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10009
10010 [BZ #21075]
10011 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10012 unused assignment.
10013 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10014
10015 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10016
10017 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10018 Add __glibc_unlikely hint.
10019
10020 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10021
10022 [BZ #16640]
10023 * sysdeps/i386/i686/strtok.S: Remove file.
10024 * sysdeps/i386/i686/strtok_r.S: Likewise.
10025 * sysdeps/i386/strtok.S: Likewise.
10026 * sysdeps/i386/strtok_r.S: Likewise.
10027 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10028 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10029 * sysdeps/x86_64/strtok.S: Likewise.
10030 * sysdeps/x86_64/strtok_r.S: Likewise.
10031
10032 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10033 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10034 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10035 (__ASSUME_FADVISE64_AS_64_64): Define.
10036 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10037 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10038 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10039 __ALIGNMENT_ARG usage.
10040 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10041 __NR_fadvise64_64 if it is not defined.
10042
10043 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10044
10045 * version.h (RELEASE): Set to "development"
10046 (VERSION): Set to 2.25.90.
10047 * NEWS: Add 2.26 section.
10048
10049 * version.h (RELEASE): Set to "stable"
10050 (VERSION): Set to 2.25.
10051 * include/features.h (__GLIBC_MINOR__): Set to 25.
10052
10053 * manual/contrib.texi: Add more contributors from this release
10054 and past releases.
10055
10056 * NEWS (2.25): Add list of bugs fixed.
10057
10058 * NEWS: Add missing news items.
10059
10060 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10061
10062 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10063 parent if child exited in that manner. Print WEXITSTATUS
10064 instead of the raw status.
10065 (do_test_prep): Rename to do_test.
10066 (do_test): Return the result of run_executable_sgid.
10067 (TEST_FUNCTION_ARGV): Adjust.
10068
10069 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10070 Florian Weimer <fweimer@redhat.com>
10071 Carlos O'Donell <carlos@redhat.com>
10072
10073 [BZ #20915]
10074 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10075 Do not initialize DTV.
10076 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10077
10078 2017-02-03 David S. Miller <davem@davemloft.net>
10079
10080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10089 (libm-sysdep_routines): Update.
10090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10095 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10096 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10097 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10098 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10100 Likewise.
10101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10103 Likewise.
10104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10106 Likewise.
10107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10109 Likewise.
10110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10112 (libm-sysdep_routines): Update.
10113
10114 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10117 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10118 against unrelocated shared library.
10119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10120
10121 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10122
10123 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10124 * elf/tst-env-setuid-tunables.c
10125 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10126 GLIBC_TUNABLES is removed in a setgid process.
10127
10128 [BZ #21073]
10129 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10130 * elf/dl-tunables.c (tunables_strdup): Remove.
10131 (get_next_env): Also return the previous envp.
10132 (parse_tunables): Erase tunables of category
10133 TUNABLES_SECLEVEL_SXID_ERASE.
10134 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10135 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10136 (__tunables_init)[TUNABLES_FRONTEND ==
10137 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10138 after parsing.
10139 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10140 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10141 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10142 to security_level.
10143 * elf/dl-tunables.list: Add security_level annotations for all
10144 tunables.
10145 * scripts/gen-tunables.awk: Recognize and generate enum values
10146 for security_level.
10147 * elf/tst-env-setuid.c: New test case.
10148 * elf/tst-env-setuid-tunables: new test case.
10149 * elf/Makefile (tests-static): Add them.
10150
10151 2017-02-01 Richard Henderson <rth@twiddle.net>
10152
10153 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10154 adjusting the byte count.
10155
10156 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10157
10158 * conform/Makefile (linknamespace-libs): Define.
10159
10160 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10161 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10162 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10163 operands.
10164
10165 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10166
10167 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10168
10169 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10170
10171 [BZ #21081]
10172 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10173 (L(stosb)): Add VZEROUPPER before ret.
10174
10175 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10176 Alexey Makhalov <amakhalov@vmware.com>
10177 Florian Weimer <fweimer@redhat.com>
10178
10179 [BZ #20116]
10180 * nptl/pthread_create.c: Document concurrency notes.
10181 Enhance thread creation notes.
10182 (create_thread): Use bool *stopped_start.
10183 (START_THREAD_DEFN): Comment ownership of PD.
10184 (__pthread_create_2_1): Add local bool stopped_start and use
10185 that instead of pd->stopped_start where appropriate.
10186 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10187 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10188 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10189 * nptl/tst-create-detached.c: New file.
10190 * nptl/Makefile (tests): Add tst-create-detached.
10191 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10192 Reference the enhanced thread creation notes.
10193 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10194 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10195 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10196 (__pthread_current_priority): Likewise.
10197 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10198 xpthread_attr_init, xpthread_attr_setdetachstate, and
10199 xpthread_attr_setstacksize.
10200 * support/xpthread_attr_destroy.c: New file.
10201 * support/xpthread_attr_init.c: New file.
10202 * support/xpthread_attr_setdetachstate.c: New file.
10203 * support/xpthread_attr_setstacksize.c: New file.
10204 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10205 xpthread_attr_init, xpthread_attr_setdetachstate, and
10206 xpthread_attr_setstacksize.
10207
10208 2017-01-27 Florian Weimer <fweimer@redhat.com>
10209
10210 * nptl/Makefile (tests): Add tst-robust-fork.
10211 * nptl/tst-robust-fork.c: New file.
10212 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10213 xpthread_mutex_consistent, xpthread_mutex_destroy,
10214 xpthread_mutex_init, xpthread_mutexattr_destroy,
10215 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10216 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10217 xpthread_mutexattr_settype.
10218 * support/xmmap.c: New file.
10219 * support/xmunmap.c: Likewise.
10220 * support/xpthread_mutex_consistent.c: Likewise.
10221 * support/xpthread_mutex_destroy.c: Likewise.
10222 * support/xpthread_mutex_init.c: Likewise.
10223 * support/xpthread_mutexattr_destroy.c: Likewise.
10224 * support/xpthread_mutexattr_init.c: Likewise.
10225 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10226 * support/xpthread_mutexattr_setpshared.c: Likewise.
10227 * support/xpthread_mutexattr_setrobust.c: Likewise.
10228 * support/xpthread_mutexattr_settype.c: Likewise.
10229 * support/xthread.h (xpthread_mutexattr_destroy)
10230 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10231 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10232 (xpthread_mutexattr_settype, xpthread_mutex_init)
10233 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10234 * support/xunistd.h (xmmap, xmunmap): Likewise.
10235
10236 2017-01-25 Florian Weimer <fweimer@redhat.com>
10237
10238 * string/Makefile (xtests): Add comment.
10239 (LOCALES): Add en_GB.UTF-8.
10240 (tst-strcoll-overflow.out): Depend on generated locales.
10241 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10242 (SIZE, TIMEOUT): Update comments.
10243 (do_test): Define as static. Fail test if setlocale fails.
10244 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10245 messages.
10246 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10247 TIMEOUT at 300 seconds should be enough to run this test
10248 successfully.
10249
10250 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10251
10252 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10253 /* FALLTHRU */ comments.
10254
10255 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10256
10257 [BZ #21053]
10258 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10259 constants instead of the old R* ones.
10260 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10261 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10262 (NGREG): ... to this, to fit in with other architectures.
10263 (gpregset_t): Use new NGREG macro.
10264 [__USE_GNU]: Remove condition; all architectures other than tile
10265 are unconditional.
10266 (R*): Rename to REG_R*.
10267
10268 2017-01-20 DJ Delorie <dj@redhat.com>
10269
10270 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10271 (tunable_set_val_if_valid_range_signed) ... this, and ...
10272 (tunable_set_val_if_valid_range_unsigned) ... this.
10273 (tunable_initialize): Call the correct one of the above based on type.
10274
10275 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10276
10277 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10278 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10279 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10280 * sysdeps/microblaze/libm-test-ulps: Likewise.
10281 * sysdeps/sh/libm-test-ulps: Likewise.
10282
10283 * math/README.libm-test: Update list of characters for input and
10284 output types.
10285
10286 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10287
10288 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10289 (__lll_unlock_elision): Fix adapt_count decrement.
10290
10291 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10292
10293 * README.pretty-printers (Known issues): Warn about printers not
10294 always covering everything.
10295 * nptl/nptl-printers.py (MutexPrinter): Change output.
10296 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10297
10298 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10299
10300 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10301 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10302 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10303 (__lll_lock_elision): Do not test futex before starting a
10304 transaction. Use __glibc_likely instead of __builtin_expect.
10305 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10306 (__lll_trylock_elision): Do not test futex before starting a
10307 transaction. Use __glibc_likely instead of __builtin_expect.
10308
10309 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10310
10311 * po/Makefile (update-translations): New target.
10312
10313 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10314
10315 [BZ #21061]
10316 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10317
10318 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10319
10320 * elf/dl-tunables (get_next_env): Always advance envp.
10321 * stdlib/tst-empty-env.c: New test case.
10322 * stdlib/Makefile (tests): Use it.
10323
10324 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10325
10326 [BZ #21047]
10327 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10328 name for instruction.
10329 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10330
10331 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10332
10333 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10334 for make install.
10335
10336 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10337
10338 * po/bg.po: Merge from Translation Project.
10339 * po/fr.po: Likewise.
10340 * po/ko.po: Likewise.
10341 * po/nl.po: Likewise.
10342 * po/sv.po: Likewise.
10343
10344 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10345
10346 * manual/install.texi (Tools for Compilation): Update GCC version
10347 known to work to build glibc.
10348 * INSTALL: Regenerated.
10349
10350 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10351
10352 [BZ #21006]
10353 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10354
10355 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10356
10357 [BZ #21045]
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10359 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10360 to __sigprocmask.
10361
10362 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10363
10364 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10365 wrap-around.
10366 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10367
10368 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10369
10370 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10371
10372 * NEWS: Fix typo.
10373
10374 2016-01-13 Torvald Riegel <triegel@redhat.com>
10375
10376 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10377 barriers and comments.
10378 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10379 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10380 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10381
10382 2016-01-13 Torvald Riegel <triegel@redhat.com>
10383
10384 [BZ #19402]
10385 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10386 mutexes.
10387
10388 2016-01-13 Torvald Riegel <triegel@redhat.com>
10389
10390 [BZ #20985]
10391 * nptl/Makefile: Adapt.
10392 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10393 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10394 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10395 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10396 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10397 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10398 lll_robust* functions and adapt.
10399 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10400 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10401 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10402 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10403 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10404 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10405 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10406 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10407 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10408 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10409 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10410 * nptl/lowlevelrobustlock.c: Remove file.
10411 * nptl/lowlevelrobustlock.sym: Likewise.
10412 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10413 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10414
10415 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10416
10417 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10418
10419 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10420
10421 * po/cs.po: Merge translations from the Translation Project.
10422 * po/de.po: Likewise.
10423 * po/pl.po: Likewise.
10424 * po/ru.po: Likewise.
10425 * po/tr.po: Likewise.
10426 * po/uk.po: Likewise.
10427 * po/vi.po: Likewise.
10428 * po/zh_CN.po: Likewise.
10429
10430 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10431
10432 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10433
10434 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10435 object.
10436
10437 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10438
10439 [BZ #16458]
10440 * bits/uintn-identity.h: New file.
10441 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10442 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10443 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10444 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10445 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10446 * string/endian.h: Include <bits/uintn-identity.h>.
10447 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10448 __uint16_identity.
10449 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10450 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10451 __uint32_identity.
10452 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10453 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10454 __uint64_identity.
10455 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10456 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10457 __uint16_identity.
10458 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10459 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10460 __uint32_identity.
10461 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10462 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10463 __uint64_identity.
10464 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10465 * string/Makefile (headers): Add bits/uintn-identity.h.
10466 (tests): Add test-endian-types.
10467 * string/test-endian-types.c: New file.
10468 * inet/Makefile (tests): Add test-hnto-types.
10469 * inet/test-hnto-types.c: New file.
10470
10471 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10472
10473 * po/be.po: Update from Translation Project.
10474 * po/bg.po: Likewise.
10475 * po/ca.po: Likewise.
10476 * po/cs.po: Likewise.
10477 * po/da.po: Likewise.
10478 * po/de.po: Likewise.
10479 * po/el.po: Likewise.
10480 * po/eo.po: Likewise.
10481 * po/es.po: Likewise.
10482 * po/fi.po: Likewise.
10483 * po/fr.po: Likewise.
10484 * po/gl.po: Likewise.
10485 * po/hr.po: Likewise.
10486 * po/hu.po: Likewise.
10487 * po/ia.po: Likewise.
10488 * po/id.po: Likewise.
10489 * po/it.po: Likewise.
10490 * po/ja.po: Likewise.
10491 * po/ko.po: Likewise.
10492 * po/lt.po: Likewise.
10493 * po/nb.po: Likewise.
10494 * po/nl.po: Likewise.
10495 * po/pl.po: Likewise.
10496 * po/pt_BR.po: Likewise.
10497 * po/ru.po: Likewise.
10498 * po/rw.po: Likewise.
10499 * po/sk.po: Likewise.
10500 * po/sl.po: Likewise.
10501 * po/sv.po: Likewise.
10502 * po/tr.po: Likewise.
10503 * po/uk.po: Likewise.
10504 * po/vi.po: Likewise.
10505 * po/zh_CN.po: Likewise.
10506 * po/zh_TW.po: Likewise.
10507
10508 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10509
10510 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10511 -Wformat-truncation instead of -Wformat-length.
10512 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10513 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10514 GCC 7.
10515 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10516 (do_test): Ignore -Wformat-truncation for GCC 7.
10517
10518 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10519 buffer used to print long int value.
10520
10521 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10522 one byte. Print it with %ld, cast to long int.
10523
10524 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10525
10526 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10527 (re.fullmatch, subprocess.run): Likewise.
10528
10529 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10530
10531 * po/libc.pot: Regenerate.
10532
10533 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10534
10535 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10536 (min_strlen): Likewise.
10537 (disable_tunable): Likewise.
10538 (maybe_disable_malloc_check): Rename to
10539 maybe_enable_malloc_check.
10540 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10541 if /etc/suid-debug file exists.
10542 (__tunables_init): Update caller.
10543 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10544 secure.
10545
10546 2016-01-10 Torvald Riegel <triegel@redhat.com>
10547
10548 * nptl/DESIGN-rwlock.txt: Remove.
10549 * nptl/lowlevelrwlock.sym: Remove.
10550 * nptl/Makefile: Add new tests.
10551 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10552 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10553 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10554 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10555 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10556 PTHREAD_RWLOCK_FUTEX_USED): New.
10557 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10558 implementation.
10559 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10560 (__pthread_rwlock_rdlock): Adapt.
10561 * nptl/pthread_rwlock_timedrdlock.c
10562 (pthread_rwlock_timedrdlock): Adapt.
10563 * nptl/pthread_rwlock_timedwrlock.c
10564 (pthread_rwlock_timedwrlock): Adapt.
10565 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10566 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10567 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10568 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10569 (__pthread_rwlock_wrlock): Adapt.
10570 * nptl/tst-rwlock10.c: Adapt.
10571 * nptl/tst-rwlock11.c: Adapt.
10572 * nptl/tst-rwlock17.c: New file.
10573 * nptl/tst-rwlock18.c: New file.
10574 * nptl/tst-rwlock19.c: New file.
10575 * nptl/tst-rwlock2b.c: New file.
10576 * nptl/tst-rwlock8.c: Adapt.
10577 * nptl/tst-rwlock9.c: Adapt.
10578 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10579 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10580 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10581 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10582 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10583 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10584 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10585 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10586 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10587 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10588 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10589 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10590 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10591 (pthread_rwlock_t): Adapt.
10592 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10593 (pthread_rwlock_t): Adapt.
10594 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10595 * nptl/nptl-printers.py (): Adapt.
10596 * nptl/nptl_lock_constants.pysym: Adapt.
10597 * nptl/test-rwlock-printers.py: Adapt.
10598 * nptl/test-rwlockattr-printers.c: Adapt.
10599 * nptl/test-rwlockattr-printers.py: Adapt.
10600
10601 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10602
10603 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10604 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10605 (fma_test_data): Likewise.
10606 (hypot_test_data): Likewise.
10607 (log1p_test_data): Likewise.
10608 (modf_test_data): Likewise.
10609 (pow_test_data): Likewise.
10610 (remainder_test_data): Likewise.
10611 (remquo_test_data): Likewise.
10612 (scalb_test_data): Likewise.
10613 (scalbn_test_data): Likewise.
10614 (scalbln_test_data): Likewise.
10615 * math/gen-libm-test.pl (parse_args): Transform
10616 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10617 on the rounding mode.
10618
10619 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10620
10621 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10622 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10623 and those that can underflow to zero.
10624 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10625 add others.
10626 * math/auto-libm-test-out: Regenerated.
10627
10628 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10629 supported.
10630 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10631 modes support if not supported.
10632
10633 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10634 Add libc.so PLT entry.
10635 (__tls_get_addr): Make ld.so PLT entry optional.
10636
10637 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10638
10639 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10640 * string/bits/string3.h: ... here.
10641
10642 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10643
10644 [BZ #21028]
10645 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10646 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10647 if EXCEPTION_TESTS returns false.
10648
10649 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10650
10651 [BZ #20558]
10652 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10653 strings_fortified.h.
10654 [__USE_MISC] (bzero): Likewise.
10655 [__USE_MISC] (explicit_bzero): Likewise.
10656 * string/strings.h: Include strings_fortified.h.
10657 * string/Makefile (headers): Add strings_fortified.h.
10658 * string/bits/strings_fortified.h: New file.
10659 * include/bits/strings_fortified.h: Likewise.
10660
10661 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10662
10663 * elf/tst-tls13.c (TIMEOUT): Remove.
10664 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10665 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10666 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10667 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10668 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10669
10670 [BZ #21026]
10671 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10672 (readahead): New syscall entry.
10673
10674 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10675
10676 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10677 around tests of strncat with large sizes.
10678
10679 * malloc/tst-malloc.c: Include <libc-internal.h>.
10680 (do_test): Disable -Walloc-size-larger-than= around tests of
10681 malloc with negative sizes.
10682 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10683 (do_test): Disable -Walloc-size-larger-than= around tests of
10684 malloc and realloc with negative sizes.
10685 * malloc/tst-realloc.c: Include <libc-internal.h>.
10686 (do_test): Disable -Walloc-size-larger-than= around tests of
10687 realloc with negative sizes.
10688
10689 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10690 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10691 allowed to 16 ulps.
10692 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10693 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10694 * math/auto-libm-test-out: Regenerated.
10695
10696 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10697
10698 * math/Makefile (libm-calls): Move wrappers...
10699 (libm-compat-call-auto): Here.
10700 (libm-routines): Add items in libm-compat-calls-auto.
10701 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10702 the filenames of the wrappers that have been renamed.
10703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10705
10706 * math/w_acos.c: Add _compat suffix to filename.
10707 * math/w_acosf.c: Likewise.
10708 * math/w_acosh.c: Likewise.
10709 * math/w_acoshf.c: Likewise.
10710 * math/w_acoshl.c: Likewise.
10711 * math/w_acosl.c: Likewise.
10712 * math/w_asin.c: Likewise.
10713 * math/w_asinf.c: Likewise.
10714 * math/w_asinl.c: Likewise.
10715 * math/w_atan2.c: Likewise.
10716 * math/w_atan2f.c: Likewise.
10717 * math/w_atan2l.c: Likewise.
10718 * math/w_atanh.c: Likewise.
10719 * math/w_atanhf.c: Likewise.
10720 * math/w_atanhl.c: Likewise.
10721 * math/w_cosh.c: Likewise.
10722 * math/w_coshf.c: Likewise.
10723 * math/w_coshl.c: Likewise.
10724 * math/w_exp10.c: Likewise.
10725 * math/w_exp10f.c: Likewise.
10726 * math/w_exp10l.c: Likewise.
10727 * math/w_exp2.c: Likewise.
10728 * math/w_exp2f.c: Likewise.
10729 * math/w_exp2l.c: Likewise.
10730 * math/w_fmod.c: Likewise.
10731 * math/w_fmodf.c: Likewise.
10732 * math/w_fmodl.c: Likewise.
10733 * math/w_hypot.c: Likewise.
10734 * math/w_hypotf.c: Likewise.
10735 * math/w_hypotl.c: Likewise.
10736 * math/w_j0.c: Likewise.
10737 * math/w_j0f.c: Likewise.
10738 * math/w_j0l.c: Likewise.
10739 * math/w_j1.c: Likewise.
10740 * math/w_j1f.c: Likewise.
10741 * math/w_j1l.c: Likewise.
10742 * math/w_jn.c: Likewise.
10743 * math/w_jnf.c: Likewise.
10744 * math/w_jnl.c: Likewise.
10745 * math/w_log10.c: Likewise.
10746 * math/w_log10f.c: Likewise.
10747 * math/w_log10l.c: Likewise.
10748 * math/w_log2.c: Likewise.
10749 * math/w_log2f.c: Likewise.
10750 * math/w_log2l.c: Likewise.
10751 * math/w_log.c: Likewise.
10752 * math/w_logf.c: Likewise.
10753 * math/w_logl.c: Likewise.
10754 * math/w_pow.c: Likewise.
10755 * math/w_powf.c: Likewise.
10756 * math/w_powl.c: Likewise.
10757 * math/w_remainder.c: Likewise.
10758 * math/w_remainderf.c: Likewise.
10759 * math/w_remainderl.c: Likewise.
10760 * math/w_scalb.c: Likewise.
10761 * math/w_scalbf.c: Likewise.
10762 * math/w_scalbl.c: Likewise.
10763 * math/w_sinh.c: Likewise.
10764 * math/w_sinhf.c: Likewise.
10765 * math/w_sinhl.c: Likewise.
10766 * math/w_sqrt.c: Likewise.
10767 * math/w_sqrtf.c: Likewise.
10768 * math/w_sqrtl.c: Likewise.
10769 * math/w_tgamma.c: Likewise.
10770 * math/w_tgammaf.c: Likewise.
10771 * math/w_tgammal.c: Likewise.
10772
10773 * math/w_acos_compat.c: New file copied from above and
10774 adjusted for new #includes path
10775 * math/w_acosf_compat.c: Likewise.
10776 * math/w_acosh_compat.c: Likewise.
10777 * math/w_acoshf_compat.c: Likewise.
10778 * math/w_acoshl_compat.c: Likewise.
10779 * math/w_acosl_compat.c: Likewise.
10780 * math/w_asin_compat.c: Likewise.
10781 * math/w_asinf_compat.c: Likewise.
10782 * math/w_asinl_compat.c: Likewise.
10783 * math/w_atan2_compat.c: Likewise.
10784 * math/w_atan2f_compat.c: Likewise.
10785 * math/w_atan2l_compat.c: Likewise.
10786 * math/w_atanh_compat.c: Likewise.
10787 * math/w_atanhf_compat.c: Likewise.
10788 * math/w_atanhl_compat.c: Likewise.
10789 * math/w_cosh_compat.c: Likewise.
10790 * math/w_coshf_compat.c: Likewise.
10791 * math/w_coshl_compat.c: Likewise.
10792 * math/w_exp10_compat.c: Likewise.
10793 * math/w_exp10f_compat.c: Likewise.
10794 * math/w_exp10l_compat.c: Likewise.
10795 * math/w_exp2_compat.c: Likewise.
10796 * math/w_exp2f_compat.c: Likewise.
10797 * math/w_exp2l_compat.c: Likewise.
10798 * math/w_fmod_compat.c: Likewise.
10799 * math/w_fmodf_compat.c: Likewise.
10800 * math/w_fmodl_compat.c: Likewise.
10801 * math/w_hypot_compat.c: Likewise.
10802 * math/w_hypotf_compat.c: Likewise.
10803 * math/w_hypotl_compat.c: Likewise.
10804 * math/w_j0_compat.c: Likewise.
10805 * math/w_j0f_compat.c: Likewise.
10806 * math/w_j0l_compat.c: Likewise.
10807 * math/w_j1_compat.c: Likewise.
10808 * math/w_j1f_compat.c: Likewise.
10809 * math/w_j1l_compat.c: Likewise.
10810 * math/w_jn_compat.c: Likewise.
10811 * math/w_jnf_compat.c: Likewise.
10812 * math/w_jnl_compat.c: Likewise.
10813 * math/w_log10_compat.c: Likewise.
10814 * math/w_log10f_compat.c: Likewise.
10815 * math/w_log10l_compat.c: Likewise.
10816 * math/w_log2_compat.c: Likewise.
10817 * math/w_log2f_compat.c: Likewise.
10818 * math/w_log2l_compat.c: Likewise.
10819 * math/w_log_compat.c: Likewise.
10820 * math/w_logf_compat.c: Likewise.
10821 * math/w_logl_compat.c: Likewise.
10822 * math/w_pow_compat.c: Likewise.
10823 * math/w_powf_compat.c: Likewise.
10824 * math/w_powl_compat.c: Likewise.
10825 * math/w_remainder_compat.c: Likewise.
10826 * math/w_remainderf_compat.c: Likewise.
10827 * math/w_remainderl_compat.c: Likewise.
10828 * math/w_scalb_compat.c: Likewise.
10829 * math/w_scalbf_compat.c: Likewise.
10830 * math/w_scalbl_compat.c: Likewise.
10831 * math/w_sinh_compat.c: Likewise.
10832 * math/w_sinhf_compat.c: Likewise.
10833 * math/w_sinhl_compat.c: Likewise.
10834 * math/w_sqrt_compat.c: Likewise.
10835 * math/w_sqrtf_compat.c: Likewise.
10836 * math/w_sqrtl_compat.c: Likewise.
10837 * math/w_tgamma_compat.c: Likewise.
10838 * math/w_tgammaf_compat.c: Likewise.
10839 * math/w_tgammal_compat.c: Likewise.
10840
10841 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10842 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10843 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10844 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10845 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10846 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10847 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10848 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10849 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10850 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10851 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10852 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10853 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10854 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10855 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10856 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10857 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10858 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10859 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10860 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10861 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10862 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10863 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10864 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10865 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10866 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10867 * sysdeps/ia64/fpu/w_log.c: Likewise.
10868 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10869 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10870 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10871 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10872 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10873 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10874 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10875 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10876 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10877 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10878 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10879 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10880 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10881 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10882 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10883 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10884 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10885 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10886 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10887 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10888 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10889 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10890 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10891 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10892 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10893 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10894 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10895 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10896 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10897 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10898 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10899 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10900 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10901 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10902 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10904 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10906 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10907 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10908 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10910 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10912 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10913 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10914 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10916 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10918 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10919 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10920 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10921 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10922 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10924 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10925 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10926 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10927 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10928 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10930 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10932 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10934 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10936 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10938 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10940 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10942 Likewise.
10943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10944 Likewise.
10945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10947 Likewise.
10948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10949 Likewise.
10950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10951 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10952 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10953 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10955 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10956 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10963 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10964 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10965
10966 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10967 and adjusted for new #includes path
10968 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10969 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10970 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10971 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10972 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10973 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10974 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10975 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10976 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10977 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10978 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10979 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10980 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10981 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10982 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10983 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10984 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10985 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10986 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10987 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10988 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10989 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10990 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10991 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10992 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10993 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10994 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10995 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10996 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10997 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10998 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10999 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11000 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11001 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11002 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11003 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11004 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11005 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11006 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11007 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11008 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11009 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11010 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11011 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11012 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11013 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11014 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11015 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11016 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11017 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11018 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11019 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11020 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11021 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11022 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11023 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11024 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11025 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11026 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11027 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11028 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11029 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11030 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11031 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11032 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11033 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11034 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11035 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11036 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11037 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11038 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11039 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11040 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11041 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11042 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11043 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11044 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11045 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11046 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11047 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11048 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11049 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11050 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11051 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11052 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11053 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11054 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11055 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11056 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11057 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11058 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11059 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11060 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11061 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11062 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11063 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11064 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11065 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11066 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11068 Likewise.
11069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11070 Likewise.
11071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11072 Likewise.
11073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11074 Likewise.
11075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11076 Likewise.
11077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11078 Likewise.
11079 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11080 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11081 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11082 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11083 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11084 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11086 Likewise.
11087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11088 Likewise.
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11090 Likewise.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11092 Likewise.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11095 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11096 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11097
11098 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11099
11100 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11101 __jmp_buf_internal_tag.
11102
11103 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11104 preserve NaN payload if [__mips_nan2008].
11105 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11106
11107 [BZ #21022]
11108 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11109
11110 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11111
11112 * sysdeps/i386/fpu/libm-test-ulps: Update.
11113
11114 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11115
11116 * sysdeps/ia64/strcat.c: Remove file.
11117 * sysdeps/powerpc/strcat.c: Likewise.
11118 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11119 C implementation.
11120 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11121 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11122
11123 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11124 Steven Munroe <sjmunroe@us.ibm.com>
11125 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11126
11127 [BZ #20822]
11128 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11129 (__lll_lock_elision): Access adapt_count via C11 atomics.
11130 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11131 (__lll_trylock_elision): Likewise.
11132 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11133 (__lll_unlock_elision): Update adapt_count variable inside the
11134 critical section using C11 atomics.
11135
11136 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11137
11138 * math/test-fenvinline.c (do_test): Disable tests of raised
11139 exceptions if !EXCEPTION_TESTS (FLOAT).
11140
11141 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11142
11143 [BZ #19390]
11144 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11145 maximum string size.
11146 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11147 in pointer addition.
11148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11149 Likewise.
11150
11151 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11152
11153 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11154 passed to tst-ldconfig-X.sh.
11155
11156 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11157
11158 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11159
11160 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #21019]
11163 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11164 New syscall entry.
11165 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11166 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11167 lseek.
11168
11169 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11170 power4 glibc for powerpc-linux-gnu.
11171
11172 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11173
11174 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11175 semctl.
11176
11177 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11178
11179 * math/test-nearbyint-except.c: Include <stdbool.h>.
11180 (any_supported): New variable.
11181 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11182 set any_supported.
11183 (do_test): Return 77 if no floating-point type supported
11184 exceptions.
11185
11186 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11187 condition on [__mips_hard_float].
11188
11189 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11190
11191 [BZ #21014]
11192 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11193 in pointer addition.
11194 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11195
11196 2017-01-02 Torvald Riegel <triegel@redhat.com>
11197
11198 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11199 new condvar.
11200
11201 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11202
11203 * scripts/build-many-glibcs.py (Context.checkout): Default
11204 binutils version to 2.28 branch.
11205
11206 2017-01-01 Florian Weimer <fweimer@redhat.com>
11207
11208 * support/support_format_netent.c (support_format_netent): Work
11209 around alpha struct netent definition difference.
11210
11211 2017-01-01 Florian Weimer <fweimer@redhat.com>
11212
11213 * support/xwrite.c (xwrite): Use %td for pointer difference.
11214
11215 2017-01-01 Florian Weimer <fweimer@redhat.com>
11216
11217 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11218 have-tunables only.
11219 (tests-static): Add tst-malloc-usable-static-tunables for
11220 have-tunables only.
11221
11222 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11223
11224 * scripts/config.guess: Update to version 2017-01-01.
11225 * scripts/config.sub: Update to version 2017-01-01.
11226
11227 * NEWS: Update copyright dates.
11228 * catgets/gencat.c (print_version): Likewise.
11229 * csu/version.c (banner): Likewise.
11230 * debug/catchsegv.sh: Likewise.
11231 * debug/pcprofiledump.c (print_version): Likewise.
11232 * debug/xtrace.sh (do_version): Likewise.
11233 * elf/ldconfig.c (print_version): Likewise.
11234 * elf/ldd.bash.in: Likewise.
11235 * elf/pldd.c (print_version): Likewise.
11236 * elf/sotruss.sh: Likewise.
11237 * elf/sprof.c (print_version): Likewise.
11238 * iconv/iconv_prog.c (print_version): Likewise.
11239 * iconv/iconvconfig.c (print_version): Likewise.
11240 * locale/programs/locale.c (print_version): Likewise.
11241 * locale/programs/localedef.c (print_version): Likewise.
11242 * login/programs/pt_chown.c (print_version): Likewise.
11243 * malloc/memusage.sh (do_version): Likewise.
11244 * malloc/memusagestat.c (print_version): Likewise.
11245 * malloc/mtrace.pl: Likewise.
11246 * manual/libc.texinfo: Likewise.
11247 * nptl/version.c (banner): Likewise.
11248 * nscd/nscd.c (print_version): Likewise.
11249 * nss/getent.c (print_version): Likewise.
11250 * nss/makedb.c (print_version): Likewise.
11251 * posix/getconf.c (main): Likewise.
11252 * scripts/test-installation.pl: Likewise.
11253 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11254
11255 * All files with FSF copyright notices: Update copyright dates
11256 using scripts/update-copyrights.
11257 * intl/plural.c: Regenerated.
11258 * locale/programs/charmap-kw.h: Likewise.
11259 * locale/programs/locfile-kw.h: Likewise.
11260
11261 2016-12-31 Florian Weimer <fweimer@redhat.com>
11262
11263 [BZ #20593]
11264 Update DNS RR type definitions.
11265 * scripts/gen-rrtypes.py: New file.
11266 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11267 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11268 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11269 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11270 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11271 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11272 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11273 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11274 ns_t_ta, ns_t_dlv.
11275 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11276 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11277 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11278 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11279 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11280 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11281 Define.
11282 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11283 entry for ns_t_zxfr.
11284
11285 2016-12-31 Florian Weimer <fweimer@redhat.com>
11286
11287 [BZ #18784]
11288 CVE-2015-5180
11289 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11290 T_UNSPEC. Adjust value.
11291 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11292 * resolv/res_query.c (__libc_res_nquery): Likewise.
11293 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11294 QTYPEs.
11295 * resolv/tst-resolv-qtypes.c: New file.
11296 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11297 (tst-resolv-qtypes): Link against libresolv and libpthread.
11298
11299 2016-12-31 Florian Weimer <fweimer@redhat.com>
11300
11301 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11302
11303 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11304
11305 * manual/tunables.texi: New chapter.
11306 * manual/Makefile (chapters): Add it.
11307 * manual/probes.texi (@node): Point to the Tunables chapter.
11308
11309 * Makeconfig (have-tunables): Check for non-negative instead
11310 of positive.
11311 * configure.ac: Add 'valstring' as a valid value for
11312 --enable-tunables.
11313 * configure: Regenerate.
11314 * elf/Makefile (have-tunables): Check for non-negative instead
11315 of positive.
11316 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11317 dl-tunables.c.
11318 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11319 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11320 (tunables_strdup): Likewise.
11321 (disable_tunables): Likewise.
11322 (parse_tunables): Likewise.
11323 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11324 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11325 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11326 (TUNABLES_FRONTEND_yes): New macro, define as
11327 TUNABLES_FRONTEND_valstring by default.
11328 * manual/install.texi: Document new acceptable values for
11329 --enable-tunables.
11330 * INSTALL: Regenerate.
11331
11332 * config.make.in (have-loop-to-function): Define.
11333 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11334 -fno-tree-loop-distribute-patterns.
11335 * elf/dl-tunables.c: Include libc-internals.h.
11336 (GLIBC_TUNABLES): New macro.
11337 (tunables_strdup): New function.
11338 (parse_tunables): New function.
11339 (min_strlen): New function.
11340 (__tunables_init): Use the new functions and macro.
11341 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11342 * malloc/tst-malloc-usable-tunables.c: New test case.
11343 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11344 * malloc/Makefile (tests, tests-static): Add tests.
11345
11346 * manual/install.texi: Add --enable-tunables option.
11347 * INSTALL: Regenerate.
11348 * README.tunables: New file.
11349 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11350 (before-compile): Generate dl-tunable-list.h early.
11351 * config.h.in: Add HAVE_TUNABLES.
11352 * config.make.in: Add have-tunables.
11353 * configure.ac: Add --enable-tunables option.
11354 * configure: Regenerate.
11355 * csu/init-first.c (__libc_init_first): Move
11356 __libc_init_secure earlier...
11357 * csu/init-first.c (LIBC_START_MAIN):... to here.
11358 Include dl-tunables.h, libc-internal.h.
11359 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11360 binaries.
11361 * elf/Makefile (dl-routines): Add dl-tunables.
11362 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11363 namespace.
11364 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11365 only when !HAVE_TUNABLES.
11366 * elf/rtld.c (process_envvars): Likewise.
11367 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11368 (_dl_sysdep_start): Call __tunables_init.
11369 * elf/dl-tunable-types.h: New file.
11370 * elf/dl-tunables.c: New file.
11371 * elf/dl-tunables.h: New file.
11372 * elf/dl-tunables.list: New file.
11373 * malloc/tst-malloc-usable-static.c: New test case.
11374 * malloc/Makefile (tests-static): Add it.
11375 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11376 Define TUNABLE_NAMESPACE.
11377 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11378 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11379 callback functions.
11380 (ptmalloc_init): Set tunable values.
11381 * scripts/gen-tunables.awk: New file.
11382 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11383 (_dl_sysdep_start): Call __tunables_init.
11384
11385 2016-12-31 Florian Weimer <fweimer@redhat.com>
11386
11387 * resolv/resolv.h (RES_BLAST): Deprecate.
11388 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11389 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11390 to RES_BLAST.
11391
11392 2016-12-27 Florian Weimer <fweimer@redhat.com>
11393
11394 [BZ #19582]
11395 Deprecate RES_USE_INET6.
11396 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11397 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11398 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11399 RES_USE_INET6.
11400 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11401 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11402 (_nss_nisplus_gethostbyaddr_r): Likewise.
11403 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11404 of res_use_inet6.
11405 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11406 instead of RES_USE_INET6.
11407 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11408 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11409 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11410 Likewise.
11411 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11412 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11413 Likewise.
11414 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11415 (_nss_dns_gethostbyname_r): Likewise.
11416 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11417 alternate RES_USE_INET6 handling.
11418 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11419 instead of RES_USE_INET6.
11420 * resolv/res_init.c (res_setoptions): Likewise.
11421 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11422 * resolv/resolv-internal.h: New file.
11423 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11424 make the deprecation warning non-fatal.
11425 * resolv/README (Using the resolver in multi-threaded code): Drop
11426 reference to RES_USE_INET6.
11427 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11428 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11429
11430 2016-12-31 Florian Weimer <fweimer@redhat.com>
11431
11432 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11433 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11434 tst-resolv-search.
11435 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11436 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11437 with libresolv and libpthread.
11438 * resolv/tst-bug18665.c: New file.
11439 * resolv/tst-bug18665-tcp: Likewise.
11440 * resolv/tst-res_use_inet6: Likewise.
11441 * resolv/tst-resolv-basic: Likewise.
11442 * resolv/tst-resolv-network: Likewise.
11443 * resolv/tst-resolv-search: Likewise.
11444 * support/Makefile (libsupport-routines): Add check_addrinfo,
11445 check_dns_packet, check_hostent, check_netent, resolv_test,
11446 support_format_address_family, support_format_addrinfo,
11447 support_format_dns_packet, support_format_herrno,
11448 support_format_hostent, support_format_netent, support_run_diff,
11449 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11450 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11451 xstrdup, xwrite.
11452 * support/check_addrinfo.c: New file.
11453 * support/check_dns_packet.c: Likewise.
11454 * support/check_hostent.c: Likewise.
11455 * support/check_netent.c: Likewise.
11456 * support/check_nss.h: Likewise.
11457 * support/format_nss.h: Likewise.
11458 * support/resolv_test.c: Likewise.
11459 * support/resolv_test.h: Likewise.
11460 * support/run_diff.h: Likewise.
11461 * support/support_format_address_family.c: Likewise.
11462 * support/support_format_addrinfo.c: Likewise.
11463 * support/support_format_dns_packet.c: Likewise.
11464 * support/support_format_herrno.c: Likewise.
11465 * support/support_format_hostent.c: Likewise.
11466 * support/support_format_netent.c: Likewise.
11467 * support/support_run_diff.c: Likewise.
11468 * support/xaccept.c: Likewise.
11469 * support/xbind.c: Likewise.
11470 * support/xconnect.c: Likewise.
11471 * support/xfclose.c: Likewise.
11472 * support/xfopen.c: Likewise.
11473 * support/xgetsockname.c: Likewise.
11474 * support/xlisten.c: Likewise.
11475 * support/xmemstream.c: Likewise.
11476 * support/xmemstream.h: Likewise.
11477 * support/xpoll.c: Likewise.
11478 * support/xpthread_once.c: Likewise.
11479 * support/xrecvfrom.c: Likewise.
11480 * support/xsendto.c: Likewise.
11481 * support/xsetsockopt.c: Likewise.
11482 * support/xstdio.h: Likewise.
11483 * support/xstrdup.c: Likewise.
11484 * support/support.h (xstrdup): Declare.
11485 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11486 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11487 * support/xthread.h (xpthread_once): Likwise.
11488 * support/xunistd.h (xwrite): Declare.
11489
11490 2016-12-31 Florian Weimer <fweimer@redhat.com>
11491
11492 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11493 (test_verbose): Declare.
11494 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11495 * support/support_test_main.c (default_options): Likewise.
11496 (usage, support_test_main): Handle 'v'.
11497 (test_verbose): Define.
11498 * support/tst-support_record_failure.c (do_test): Use
11499 test_verbose.
11500 * support/tst-support_record_failure-2.sh (different_status): Add
11501 --verbose test.
11502
11503 2016-12-31 Florian Weimer <fweimer@redhat.com>
11504
11505 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11506 test failures are recorded.
11507 * support/check.c (support_print_failure_impl): Call
11508 support_record_failure.
11509 (support_exit_failure_impl): Call support_record_failure if status
11510 indicates failure.
11511 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11512 * support/xasprintf.c (xasprintf): Likewise.
11513 * support/xfork.c (xfork): Likewise.
11514 * support/xpthread_check_return.c (xpthread_check_return):
11515 Likewise.
11516 * support/xsocket.c (xsocket): Likeweise.
11517 * support/xwaitpid.c (xwaitpid): Likewise.
11518 * support/support_record_failure.c (struct test_failures): Adjust
11519 to coding style.
11520 * support/support_test_verify_impl.c (support_test_verify_impl):
11521 Adjust error messages.
11522 * support/tst-support_record_failure-2.sh (different_status):
11523 Adjust error messages.
11524
11525 2016-12-31 Florian Weimer <fweimer@redhat.com>
11526
11527 * support/namespace.h: New file.
11528 * support/support_become_root.c: Likewise.
11529 * support/support_enter_network_namespace.c: Likewise.
11530 * support/tst-support-namespace.c: Likewise.
11531 * support/xsocket.c: Likewise.
11532 * support/xsocket.h: Likewise.
11533 * support/Makefile (libsupport-routines): Add support_become_root,
11534 support_enter_network_namespace, xsocket.
11535 (tests): Add tst-support-namespace.
11536
11537 2016-12-31 Florian Weimer <fweimer@redhat.com>
11538
11539 [BZ #17252]
11540 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11541 __USE_GNU.
11542
11543 2016-12-31 Torvald Riegel <triegel@redhat.com>
11544
11545 [BZ #13165]
11546 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11547 use new algorithm.
11548 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11549 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11550 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11551 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11552 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11553 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11554 __condvar_cleanup_waiting, __condvar_dec_grefs,
11555 __pthread_cond_wait_common): New.
11556 (__condvar_cleanup): Remove.
11557 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11558 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11559 Likewise.
11560 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11561 Likewise.
11562 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11563 * nptl/tst-cond1.c: Add comment.
11564 * nptl/tst-cond20.c (do_test): Adapt.
11565 * nptl/tst-cond22.c (do_test): Likewise.
11566 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11567 structure.
11568 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11569 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11570 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11571 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11572 Likewise.
11573 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11574 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11575 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11576 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11577 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11578 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11579 Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11581 Likewise.
11582 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11583 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11584 (COND_CLOCK_BITS): Adapt.
11585 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11586 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11587 __PTHREAD_COND_SHARED_MASK): New.
11588 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11589 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11590 * nptl/nptl_lock_constants.pysym: Adapt.
11591 * nptl/test-cond-printers.py: Adapt.
11592 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11593 cond_compat_check_and_clear): Adapt.
11594 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11595 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11596 (__pthread_cond_timedwait): ... and move here.
11597 * nptl/DESIGN-condvar.txt: Remove file.
11598 * nptl/lowlevelcond.sym: Likewise.
11599 * nptl/pthread_cond_timedwait.c: Likewise.
11600 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11601 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11602 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11603 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11604 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11605 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11606 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11607 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11608 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11609 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11610 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11611 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11612 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11613 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11614 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11615 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11616
11617 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11618
11619 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11620 (fromfp): New declaration.
11621 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11622 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11623 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11624 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11625 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11626 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11627 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11628 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11629 * math/math.h: Include <bits/types.h>.
11630 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11631 constant and macro.
11632 (FP_INT_DOWNWARD): Likewise.
11633 (FP_INT_TOWARDZERO): Likewise.
11634 (FP_INT_TONEARESTFROMZERO): Likewise.
11635 (FP_INT_TONEAREST): Likewise.
11636 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11637 (fromfpf): Likewise.
11638 (fromfpl): Likewise.
11639 (ufromfp): Likewise.
11640 (ufromfpf): Likewise.
11641 (ufromfpl): Likewise.
11642 (fromfpx): Likewise.
11643 (fromfpxf): Likewise.
11644 (fromfpxl): Likewise.
11645 (ufromfpx): Likewise.
11646 (ufromfpxf): Likewise.
11647 (ufromfpxl): Likewise.
11648 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11649 s_fromfpxF and s_ufromfpxF.
11650 * math/gen-fromfp-tests.py: New file.
11651 * math/gen-fromfp-tests-inputs: Likewise.
11652 * math/libm-test.inc: Include <stdint.h>
11653 (check_intmax_t): New function.
11654 (check_uintmax_t): Likewise.
11655 (struct test_fiu_M_data): New type.
11656 (struct test_fiu_U_data): Likewise.
11657 (RUN_TEST_fiu_M): New macro.
11658 (RUN_TEST_LOOP_fiu_M): Likewise.
11659 (RUN_TEST_fiu_U): Likewise.
11660 (RUN_TEST_LOOP_fiu_U): Likewise.
11661 (fromfp_test_data): New array.
11662 (fromfp_test): New function.
11663 (fromfpx_test_data): New array.
11664 (fromfpx_test): New function.
11665 (ufromfp_test_data): New array.
11666 (ufromfp_test): New function.
11667 (ufromfpx_test_data): New array.
11668 (ufromfpx_test): New function.
11669 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11670 ufromfpx_test.
11671 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11672 characters.
11673 * math/test-tgmath-ret.c: Include <stdint.h>.
11674 (rm): New variable.
11675 (width): Likewise.
11676 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11677 called function.
11678 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11679 CHECK_RET_CONST_TYPE.
11680 (CHECK_RET_CONST_DOUBLE): Likewise.
11681 (CHECK_RET_CONST_LDOUBLE): Likewise.
11682 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11683 macros.
11684 (fromfp): New CHECK_RET_CONST call.
11685 (ufromfp): Likewise.
11686 (fromfpx): Likewise.
11687 (ufromfpx): Likewise.
11688 (do_test): Call check_return_fromfp, check_return_ufromfp,
11689 check_return_fromfpx and check_return_ufromfpx.
11690 * math/test-tgmath.c: Include <stdint.h>
11691 (NCALLS): Increase to 138.
11692 (F(compile_test)): Initialize i. Call fromfp functions.
11693 (F(fromfp)): New function.
11694 (F(fromfpx)): Likewise.
11695 (F(ufromfp)): Likewise.
11696 (F(ufromfpx)): Likewise.
11697 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11698 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11699 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11700 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11701 ufromfpxl.
11702 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11703 ufromfp and ufromfpx.
11704 * math/fromfp.h: New file.
11705 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11710 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11711 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11712 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11713 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11714 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11727 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11731 ufromfp, fromfpx and ufromfpx.
11732 (CFLAGS-nldbl-fromfp.c): New variable.
11733 (CFLAGS-nldbl-fromfpx.c): Likewise.
11734 (CFLAGS-nldbl-ufromfp.c): Likewise.
11735 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11736 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11737 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11738 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11739 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11740 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11741 * sysdeps/nacl/libm.abilist: Update.
11742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11743 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11744 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11748 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11749 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11755 Likewise.
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11757 Likewise.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11759 Likewise.
11760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11761 Likewise.
11762 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11764 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11765 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11766 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11768 Likewise.
11769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11770 Likewise.
11771 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11774
11775 2016-12-30 Florian Weimer <fweimer@redhat.com>
11776
11777 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11778 compat-gethnamaddr.
11779 (CPPFLAGS): Remove.
11780 * resolv/gethnamaddr.c: Rename ...
11781 * resolv/compat-gethnamaddr.c: ... to this file.
11782 (_endhtent): Make static.
11783 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11784 symbol.
11785 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11786 compat symbol.
11787 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11788 symbol.
11789 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11790 Turn into compat symbol.
11791 * include/resolv.h (_endhtent): Remove declaration.
11792
11793 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11794
11795 * bits/types.h (__intmax_t): New typedef.
11796 (__uintmax_t): Likewise.
11797 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11798 (intmax_t): Define using __intmax_t.
11799 (uintmax_t): Define using __uintmax_t.
11800
11801 * support/Makefile (tests-special): Make definition conditional on
11802 [$(run-built-tests) = yes].
11803 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11804 on [$(run-built-tests) = yes].
11805
11806 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11807
11808 * Rules (tests): Add tests-printers-programs to tests to be
11809 built.
11810
11811 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11812
11813 * sysvipc/Makefile (tests): Add test-sysvshm.
11814 * sysvipc/test-sysvshm.c: New file.
11815
11816 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11817 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11818 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11819 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11820 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11821 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11822 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11823 Likewise.
11824 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11825 Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11827 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11828 is defined.
11829
11830 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11831 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11832 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11833 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11834 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11835 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11836 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11837 Likewise.
11838 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11839 Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11841 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11842 defined.
11843
11844 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11845 oldshmctl.
11846 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11847 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11848 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11849 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11850 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11851 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11852 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11853 Likewise.
11854 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11855 Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11857 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11858 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11859 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11860 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11861 implementation.
11862 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11863 if it is defined.
11864
11865 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11866 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11867 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11868 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11869 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11870 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11871 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11872 Likewise.
11873 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11874 Likewise.
11875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11876 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11877 Define to __NR_osf_shmat.
11878 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11879 defined.
11880
11881 * sysvipc/Makefile (tests): Add test-sysvsem.
11882 * sysvipc/test-sysvsem.c: New file.
11883
11884 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11885 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11886 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11887 Likewise.
11888 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11889 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11890 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11893 Likewise.
11894 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11895 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11896 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11897 add a comment about s390 syscall difference from default one.
11898 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11899 syscall if it is defined.
11900
11901 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11902 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11903 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11904 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11905 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11906 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11907 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11908 Likewise.
11909 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11910 Likewise.
11911 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11912 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11913 defined.
11914
11915 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11916 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11917 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11918 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11919 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11920 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11921 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11922 Likewise.
11923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11924 Likewise.
11925 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11926 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11927 if it is defined.
11928
11929 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11930 oldsemctl.
11931 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11932 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11933 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11935 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11936 implementation.
11937 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11938 syscall if it is defined.
11939 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11940 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11941 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11942 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11943 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11944 Likewise.
11945 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11946
11947 * sysvipc/Makefile (tests): Add test-sysvmsg.
11948 * sysvipc/test-sysvmsg.c: New file.
11949 * support/check.h (FAIL_UNSUPPORTED): New define.
11950
11951 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11952 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11953 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11954 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11955 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11956 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11957 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11958 Likewise.
11959 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11960 Likewise.
11961 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11962 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11963 define.
11964
11965 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11966 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11967 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11968 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11969 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11970 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11971 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11972 Likewise.
11973 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11974 Likewise.
11975 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11976 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11977 if defined.
11978
11979 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11980 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11981 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11982 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11983 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11984 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11985 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11986 Likewise.
11987 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11988 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11989 Likewise.
11990 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11991 if defined.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11993
11994 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11995 oldmsgctl.
11996 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11997 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11998 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11999 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12000 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12001 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12002 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12003 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12004 Likewise.
12005 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12006 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12007 implementation.
12008 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12009 if defined.
12010
12011 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12012 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12013 definition and define its own.
12014 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12015 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12016 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12017 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12018 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12019 definitions to common header.
12020 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12021 operation from ipc_ops.h.
12022
12023 * sysdeps/unix/sysv/linux/kernel-features.h
12024 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12025 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12026 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12027 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12028 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12029 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12030 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12031 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12032 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12033 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12034 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12035 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12036 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12038 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12039
12040 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12041
12042 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12043 overflow in pointer addition.
12044
12045 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12046
12047 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12048 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12050 (strchr): Add __strchr_power8 to list of strchr functions.
12051 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12052 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12053 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12054 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12055 (strchr): Add __strchr_power8 to ifunc list.
12056 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12057 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12058 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12059 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12060
12061 2016-12-28 Florian Weimer <fweimer@redhat.com>
12062
12063 * support/Makefile (libsupport-routines): Add
12064 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12065 (tests): Add tst-support_record_failure.
12066 (tests-special): tst-support_record_failure-2.
12067 (tst-support_record_failure-2.out): Depend on
12068 tst-support_record_failure-2.sh and tst-support_record_failure.
12069 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12070 (support_test_verify_impl, support_record_failure)
12071 (support_report_failure, support_report_failure_reset): Declare.
12072 * support/support_test_main.c (adjust_exit_status): New function.
12073 (support_test_main): Call it to incorporate record test failures.
12074 * support/support_test_verify_impl.c: New file.
12075 * support/support_record_failure.c: Likewise.
12076 * support/tst-support_record_failure.c: Likewise.
12077 * support/tst-support_record_failure-2.sh: Likewise.
12078 * support/xunistd.h: Likewise.
12079 * support/xfork.c: Likewise.
12080 * support/xwaitpid.c: Likewise.
12081
12082 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12083
12084 * scripts/check-c++-types.sh: Add comments.
12085
12086 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12087
12088 [BZ #19514]
12089 * resolv/res_send.c: Fix typo in comment.
12090 * sysdeps/i386/i386-mcount.S: Likewise.
12091 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12092 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12093 * sysdeps/sparc/sparc-mcount.S: Likewise.
12094
12095 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12096
12097 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12098 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12099 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12100 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12101 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12102 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12103 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12104 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12105
12106 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12107
12108 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12109
12110 2016-12-27 Florian Weimer <fweimer@redhat.com>
12111
12112 [BZ #17252]
12113 * posix/unistd.h (getentropy): Declare.
12114
12115 2016-12-27 Florian Weimer <fweimer@redhat.com>
12116
12117 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12118 Remove.
12119 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12120 (cmd): Remove spoof, nospoof, spoofalert.
12121 (parse_line): Ignore spoof-related lines.
12122 (do_init): Do not process RESOLV_SPOOF_CHECK.
12123
12124 2016-12-27 Florian Weimer <fweimer@redhat.com>
12125
12126 [BZ #20964]
12127 sunrpc: Always obtain AF_INET addresses from NSS.
12128 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12129 * sunrpc/rpc_gethostbyname.c: New file.
12130 * sunrpc/Makefile (routines): Add it.
12131 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12132 * sunrpc/clnt_simp.c (callrpc): Likewise.
12133 * sunrpc/getrpcport.c (getrpcport): Likewise.
12134
12135 2016-12-27 Florian Weimer <fweimer@redhat.com>
12136
12137 * sunrpc/rpcinfo.c: Remove.
12138 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12139
12140 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12141
12142 [BZ #19387]
12143 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12144 addition.
12145 * string/test-memchr.c (do_test): Remove alignment limitation.
12146 (test_main): Add test that trigger BZ #19387.
12147
12148 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12149
12150 [BZ #7065]
12151 Enable stack protectore if requested by ./configure.
12152 * Makeconfig (+stack-protector): New variable.
12153 (+cflags): Use it.
12154
12155 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12156
12157 [BZ #7065]
12158 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12160 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12162 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12163
12164 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12165
12166 [BZ #7065]
12167 * login/Makefile (pt_chown-cflags): Remove.
12168 * nscd/Makefile (CFLAGS-nscd): Likewise.
12169 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12170
12171 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12172
12173 [BZ #7065]
12174 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12175 non-libc-linking testcase.
12176
12177 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12178 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12179 Florian Weimer <fweimer@redhat.com>
12180
12181 [BZ #7065]
12182 PLT avoidance for __stack_chk_fail*.
12183 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12184 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12185 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12186 __stack_chk_fail_local alias.
12187 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12188 (__stack_chk_fail): Turn into hidden reference to
12189 __stack_chk_fail_local.
12190
12191 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12192
12193 [BZ #7065]
12194 * configure.ac: Add check for unsupported stack-protection level.
12195 (libc_cv_predef_stack_protector): Remove.
12196 (no_ssp): New variable.
12197 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12198 (stack_protector): Set to -fno-stack-protector similarly.
12199 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12200 (libc_cv_asm_set_directive): Likewise.
12201 (libc_cv_protected_data): Likewise.
12202 (libc_cv_z_combreloc): Likewise.
12203 (libc_cv_hashstyle): Likewise.
12204 (libc_cv_has_glob_dat): Likewise.
12205 (libc_cv_output_format): Likewise.
12206 (libc_cv_output_format): Likewise.
12207 (libc_cv_ehdr_start): Likewise.
12208 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12209 (LIBC_LINKER_FEATURE): Likewise.
12210 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12211
12212 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12213
12214 [BZ #7065]
12215 * elf/Makefile (dummy-stack-chk-fail): New.
12216 (librtld.map): Use it.
12217
12218 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12219
12220 [BZ #7065]
12221 Compile the dynamic linker without stack protection.
12222 * elf/Makefile (elide-stack-protector): New.
12223 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12224 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12225 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12226 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12227
12228 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12229
12230 [BZ #7065]
12231 * config.make.in (have-ssp, no-stack-protector): New.
12232 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12233 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12234 (CFLAGS-sbrk.op): Likewise.
12235 (CFLAGS-brk.o): Likewise.
12236 (CFLAGS-brk.op): Likewise.
12237 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12238 (CFLAGS-wordcopy.c): Likewise.
12239
12240 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12241
12242 [BZ #7065]
12243 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12244 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12245 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12246 (__ifunc_resolver): Use it.
12247 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12248 inhibit_stack_protector.
12249 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12250 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12251 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12252 (foo_protected_ifunc): Likewise.
12253 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12254 (foo_protected_ifunc): Likewise.
12255 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12256 * sysdeps/nacl/nacl_interface_query.c
12257 (nacl_interface_query_ifunc): Likewise.
12258 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12259 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12260 Likewise.
12261 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12262 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12263 the generated vDSO syscall resolver.
12264
12265 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12266 Florian Weimer <fweimer@redhat.com>
12267
12268 [BZ #7065]
12269 Initialize the stack guard earlier when linking statically.
12270 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12271 (__pthread_initialize_minimal): Declare.
12272 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12273 declaration.
12274 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12275 stack canary and apply_irel initialization up. Call
12276 __pthread_initialize_minimal only if linked in.
12277 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12278 constant values.
12279 (__pthread_initialize_minimal): Remove.
12280 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12281 (__pthread_initialize_minimal_internal): Do not call
12282 __libc_setup_tls.
12283
12284 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12285
12286 [BZ #7065]
12287 * configure.ac (libc_cv_ssp): Move up.
12288 (libc_cv_ssp_strong): Likewise.
12289 (libc_cv_ssp_all): New.
12290 (stack_protector): Augment, adding -fstack-protector-all.
12291 (no_stack_protector): New.
12292 (STACK_PROTECTOR_LEVEL): New.
12293 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12294 * manual/install.texi (--enable-stack-protector): Document it.
12295 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12296
12297 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12298
12299 * README.pretty-printers: Must specify CPPFLAGS-* also.
12300 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12301 (CPPFLAGS-test-mutex-printers.c): Define.
12302 (CPPFLAGS-test-condattr-printers.c): Define.
12303 (CPPFLAGS-test-cond-printers.c): Define.
12304 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12305 (CPPFLAGS-test-rwlock-printers.c): Define.
12306
12307 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12308 (tests): Add tst-cancel-getpwuid_r.
12309 * nss/tst-cancel-getpwuid_r.c: New file.
12310
12311 [BZ #11941]
12312 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12313 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12314 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12315 tst-nodelete-dlclose.
12316 (modules-names): Add tst-nodelete-dlclose-dso and
12317 tst-nodelete-dlclose-plugin.
12318 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12319 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12320 ($(objpfx)tst-nodelete-dlclose): Define.
12321 ($(objpfx)tst-nodelete-dlclose.out): Define.
12322
12323 2016-12-23 Florian Weimer <fweimer@redhat.com>
12324
12325 * scripts/test_printers_common.py: Log GDB output in case of
12326 Python detection failure.
12327
12328 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12329
12330 * configure.ac: Check for python3 or python.
12331 * configure: Regenerated.
12332 * config.make.in (PYTHON): New variable.
12333 * benchtests/Makefile: Don't define PYTHON.
12334 (bench): Define target only if PYTHON was defined.
12335 * Rules: Don't define PYTHON.
12336 Define pretty printer targets only if PYTHON was defined.
12337 (tests-printers): Add to tests-unsupported if PYTHON is not
12338 found.
12339 (python-flags, python-invoke): Remove.
12340 (tests-printers-out): Use PYTHON instead of python-invoke.
12341
12342 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12343
12344 [BZ #20978]
12345 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12346 Compare name == NULL, not name != NULL.
12347
12348 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12349 trailing whitespace removed.
12350 * scripts/config.guess: Update to version 2016-10-02.
12351 * scripts/config.sub: Update to version 2016-11-19.
12352 * scripts/install-sh: Update to version 2016-01-11.22.
12353 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12354 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12355
12356 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12357
12358 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12359 (do_one_test) Restore original string so iteration works.
12360 * string/string-inlines.c (do_test): Create better input strings.
12361 (test_main) Reduce number of testruns.
12362 * string/string-inlines.c (__old_strsep_1c): New function.
12363 (__old_strsep_2c): Likewise.
12364 (__old_strsep_3c): Likewise.
12365 * string/strsep.c (__strsep): Remove case of small delim string.
12366 Call strcspn directly rather than strpbrk.
12367 * string/bits/string2.h (__strsep): Remove define.
12368 (__strsep_1c): Remove.
12369 (__strsep_2c): Remove.
12370 (__strsep_3c): Remove.
12371 (strsep): Remove.
12372 * sysdeps/unix/sysv/linux/internal_statvfs.c
12373 (__statvfs_getflags): Rename to __strsep.
12374
12375 2016-12-21 Florian Weimer <fweimer@redhat.com>
12376
12377 * csu/libc-tls.c (_dl_tls_setup): Remove.
12378 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12379 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12380 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12381
12382 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12383
12384 [BZ #7065]
12385 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12386 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12387
12388 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12389 Florian Weimer <fweimer@redhat.com>
12390
12391 [BZ #7065]
12392 * csu/Makefile (tests): Empty assignment and document it.
12393 (tests-static): Remove.
12394 * csu/tst-empty.c: Move to...
12395 * misc/tst-empty.c: ... here. Switch to new test driver.
12396 * csu/tst-atomic.c: Move to...
12397 * misc/tst-atomic.c: ... here. Switch to new test driver.
12398 * csu/tst-atomic-long.c: Move to...
12399 * misc/tst-atomic-long.c: ... here.
12400 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12401 tst-atomic-long.
12402 (tests-static): Add tst-empty.
12403
12404 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12405
12406 * manual/nss.texi: Change incorrect @vtable to @table.
12407 * manual/arith.texi: Convert @tables of variables to @vtables
12408 and remove unnecessary indexing.
12409 * manual/filesys.texi: Likewise.
12410 * manual/llio.texi: Likewise.
12411 * manual/memory.texi: Likewise.
12412 * manual/process.texi: Likewise.
12413 * manual/resource.texi: Likewise.
12414 * manual/search.texi: Likewise.
12415 * manual/signal.texi: Likewise.
12416 * manual/socket.texi: Likewise.
12417 * manual/stdio.texi: Likewise.
12418 * manual/sysinfo.texi: Likewise.
12419 * manual/syslog.texi: Likewise.
12420 * manual/terminal.texi: Likewise.
12421 * manual/time.texi: Likewise.
12422 * manual/users.texi: Likewise.
12423
12424 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12425
12426 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12427 (roundeven): New declaration.
12428 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12429 macro.
12430 * math/Versions (roundeven): New libm symbol at version
12431 GLIBC_2.25.
12432 (roundevenf): Likewise.
12433 (roundevenl): Likewise.
12434 * math/Makefile (libm-calls): Add s_roundevenF.
12435 * math/libm-test.inc (roundeven_test_data): New array.
12436 (roundeven_test): New function.
12437 (main): Call roundeven_test.
12438 * math/test-tgmath.c (NCALLS): Increase to 134.
12439 (F(compile_test)): Call roundeven.
12440 (F(roundeven)): New function.
12441 * manual/arith.texi (Rounding Functions): Document roundeven,
12442 roundevenf and roundevenl.
12443 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12444 * include/math.h (roundeven): Use libm_hidden_proto.
12445 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12446 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12447 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12452 roundeven.
12453 (CFLAGS-nldbl-roundeven.c): New variable.
12454 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12455 * sysdeps/nacl/libm.abilist: Update.
12456 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12469 Likewise.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12471 Likewise.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12473 Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12475 Likewise.
12476 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12482 Likewise.
12483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12484 Likewise.
12485 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12488
12489 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12490
12491 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12492 preprocessor indentation inside #if.
12493
12494 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12495
12496 * math/libm-test.inc (fmt_ftostr): New function.
12497 (print_float, check_float_internal): Replace some uses of
12498 FTOSTR with uses of fmt_ftostr.
12499 (print_max_error, print_complex_max_error, print_function_ulps)
12500 (print_complex_function_ulps): Remove uses of the macros
12501 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12502 * math/test-double.h (FTOSTR): Define to strfromd.
12503 (PRINTF_EXPR): Delete.
12504 (PRINTF_XEXPR): Likewise.
12505 (PRINTF_NEXPR): Likewise.
12506 * math/test-float.h (FTOSTR): Define to strfromf.
12507 (PRINTF_EXPR): Delete.
12508 (PRINTF_XEXPR): Likewise.
12509 (PRINTF_NEXPR): Likewise.
12510 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12511 (PRINTF_EXPR): Delete.
12512 (PRINTF_XEXPR): Likewise.
12513 (PRINTF_NEXPR): Likewise.
12514
12515 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12516
12517 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12518 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12519 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12520 (__lll_lock_elision): Decrement adapt_count while unlocking
12521 instead of before locking.
12522 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12523 (__lll_trylock_elision): Likewise.
12524 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12525 (__lll_unlock_elision): Likewise.
12526
12527 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12528
12529 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12530 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12531 Use __libc_tbegin_retry macro.
12532
12533 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12534
12535 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12536 Add -msoft-float.
12537 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12538 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12539 Use __libc_t* transaction macros instead of __builtin_t*.
12540 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12542
12543 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12544
12545 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12546 (__lll_lock_elision): Use atomics to load / store adapt_count.
12547 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12548 (__lll_trylock_elision): Likewise.
12549
12550 2016-12-20 Florian Weimer <fweimer@redhat.com>
12551
12552 Do not require memset elimination in explicit_bzero test.
12553 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12554 (enum test_expectation): Add NO_EXPECTATIONS.
12555 (subtests): NO_EXPECTATIONS for ordinary clear.
12556 (check_test_buffer): Handle NO_EXPECTATIONS.
12557 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12558
12559 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12560
12561 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12562 (fmaxmag): New declaration.
12563 (fminmag): Likewise.
12564 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12565 macro.
12566 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12567 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12568 (fmaxmagf): Likewise.
12569 (fmaxmagl): Likewise.
12570 (fminmag): Likewise.
12571 (fminmagf): Likewise.
12572 (fminmagl): Likewise.
12573 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12574 * math/s_fmaxmag_template.c: New file.
12575 * math/s_fminmag_template.c: Likewise.
12576 * math/libm-test.inc (fmaxmag_test_data): New array.
12577 (fmaxmag_test): New function.
12578 (fminmag_test_data): New array.
12579 (fminmag_test): New function.
12580 (main): Call fmaxmag_test and fminmag_test.
12581 * math/test-tgmath.c (NCALLS): Increase to 132.
12582 (F(compile_test)): Call fmaxmag and fminmag.
12583 (F(fminmag)): New function.
12584 (F(fmaxmag)): Likewise.
12585 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12586 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12587 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12588 fminmag.
12589 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12590 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12591 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12594 and fminmag.
12595 (CFLAGS-nldbl-fmaxmag.c): New variable.
12596 (CFLAGS-nldbl-fminmag.c): Likewise.
12597 * sysdeps/nacl/libm.abilist: Update.
12598 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12611 Likewise.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12613 Likewise.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12615 Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12617 Likewise.
12618 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12624 Likewise.
12625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12626 Likewise.
12627 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12630
12631 2016-12-19 Torvald Riegel <triegel@redhat.com>
12632
12633 [BZ #20973]
12634 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12635 wake-up in robust mutexes.
12636 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12637
12638 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12639
12640 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12641 (CFLAGS-bench-fmaxf.c): New rule.
12642 (CFLAGS-bench-fminf.c): Likewise.
12643 * benchtests/fmaxf-inputs: New file.
12644 * benchtests/fminf-inputs: Likewise.
12645
12646 * benchtests/Makefile (bench-math): Add fmin and fmax.
12647 (CFLAGS-bench-fmax.c): New rule.
12648 (CFLAGS-bench-fmin.c): Likewise.
12649 * benchtests/fmax-inputs: New file.
12650 * benchtests/fmin-inputs: Likewise.
12651
12652 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12653 parenthesis.
12654 (CMDLINE_PROCESS): Define using function instead of macro.
12655 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12656 of test-skeleton.
12657 * benchtests/bench-memchr.c: Likewise.
12658 * benchtests/bench-memcmp.c: Likewise.
12659 * benchtests/bench-memcpy-large.c: Likewise.
12660 * benchtests/bench-memcpy.c: Likewise.
12661 * benchtests/bench-memmem.c: Likewise.
12662 * benchtests/bench-memmove-large.c: Likewise.
12663 * benchtests/bench-memmove.c: Likewise.
12664 * benchtests/bench-memset-large.c: Likewise.
12665 * benchtests/bench-memset.c: Likewise.
12666 * benchtests/bench-rawmemchr.c: Likewise.
12667 * benchtests/bench-strcasecmp.c: Likewise.
12668 * benchtests/bench-strcasestr.c: Likewise.
12669 * benchtests/bench-strcat.c: Likewise.
12670 * benchtests/bench-strchr.c: Likewise.
12671 * benchtests/bench-strcmp.c: Likewise.
12672 * benchtests/bench-strcpy.c: Likewise.
12673 * benchtests/bench-strcpy_chk.c: Likewise.
12674 * benchtests/bench-strlen.c: Likewise.
12675 * benchtests/bench-strncasecmp.c: Likewise.
12676 * benchtests/bench-strncmp.c: Likewise.
12677 * benchtests/bench-strncpy.c: Likewise.
12678 * benchtests/bench-strnlen.c: Likewise.
12679 * benchtests/bench-strpbrk.c: Likewise.
12680 * benchtests/bench-strrchr.c: Likewise.
12681 * benchtests/bench-strsep.c: Likewise.
12682 * benchtests/bench-strspn.c: Likewise.
12683 * benchtests/bench-strstr.c: Likewise.
12684 * benchtests/bench-strtok.c: Likewise.
12685
12686 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12687
12688 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12689 stepping identification.
12690 (init_cpu_features): Add handle of Haswell.
12691
12692 2016-11-25 Jim Meyering <meyering@fb.com>
12693
12694 [BZ #20386]
12695 Let gcc detect assert(a = 1) errors.
12696 * assert/assert.h (assert): Rewrite, retaining the old definintion
12697 when required, but otherwise putting the expression as-is in an "if"
12698 expression (hence, with no added parentheses) within a statement
12699 expression.
12700
12701 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12702
12703 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12704 DSO.
12705
12706 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12707
12708 * Rules (python-flags, python-invoke): New.
12709 ($(test-printers-out)): Use $(python-flags).
12710
12711 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12712
12713 * manual/arith.texi (Math Error Reporting): Document that sNaN
12714 arguments are not considered domain errors.
12715
12716 2016-12-16 Zack Weinberg <zackw@panix.com>
12717 Florian Weimer <fweimer@redhat.com>
12718 Nick Mathewson <nickm@torproject.org>
12719
12720 * string/explicit_bzero.c: New routine.
12721 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12722 * string/Makefile (routines, strop-tests, tests): Add them.
12723 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12724 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12725
12726 * debug/explicit_bzero_chk.c: New routine.
12727 * debug/Makefile (routines): Add it.
12728 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12729 * string/bits/string3.h: Fortify explicit_bzero.
12730
12731 * manual/string.texi: Document explicit_bzero.
12732 * NEWS: Mention addition of explicit_bzero.
12733
12734 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12735 data before returning, using explicit_bzero.
12736 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12737 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12738 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12739
12740 * include/string.h: Redirect internal uses of explicit_bzero
12741 to __explicit_bzero_chk[_internal].
12742 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12743 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12744 * sysdeps/arm/nacl/libc.abilist
12745 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12746 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12747 * sysdeps/unix/sysv/linux/arm/libc.abilist
12748 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12749 * sysdeps/unix/sysv/linux/i386/libc.abilist
12750 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12751 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12752 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12753 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12754 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12755 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12756 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12757 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12758 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12764 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12765 * sysdeps/unix/sysv/linux/sh/libc.abilist
12766 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12767 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12770 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12771 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12772 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12773 Add entries for explicit_bzero and __explicit_bzero_chk.
12774
12775 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12776
12777 * math/fenv.h
12778 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12779 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12780 * math/test-fe-snans-always-signal.c: New file.
12781 * math/Makefile (tests): Add test-fe-snans-always-signal.
12782 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12783 * manual/arith.texi (Infinity and NaN): Document
12784 FE_SNANS_ALWAYS_SIGNAL.
12785
12786 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12787
12788 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12789 bracket.
12790
12791 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12792
12793 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12794 before calling execv.
12795
12796 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12797
12798 [BZ #20971]
12799 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12800 overflow in pointer addition.
12801 * string/test-memchr.c (do_test): Add an argument to pass as
12802 the size on memchr.
12803 (test_main): Add check for SIZE_MAX.
12804
12805 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12806
12807 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12808 (libm-calls): Add w_scalblnF.
12809 * math/w_scalbln.c: Remove.
12810 * math/w_scalblnf.c: Likewise.
12811 * math/w_scalblnl.c: Likewise.
12812 * math/w_scalbln_template.c: New file with type-generic
12813 implementation based on math/w_scalbln.c.
12814 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12815 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12816
12817 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12818
12819 [BZ #20947]
12820 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12821 either is a signaling NaN.
12822 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12823 follow fmaxl more closely.
12824 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12825 when either is a signaling NaN.
12826 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12827 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12828 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12829 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12830 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12831 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12832 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12833 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12834 (fmin_test_data): Likewise.
12835
12836 2016-12-15 Andreas Schwab <schwab@suse.de>
12837
12838 * support/support_test_main.c (support_test_main): Don't shadow
12839 file-local variable test_pid.
12840
12841 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12842
12843 [BZ #20947]
12844 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12845 either is a signaling NaN.
12846 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12847
12848 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12849
12850 [BZ #20947]
12851 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12852 when either is a signaling NaN.
12853 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12854
12855 * bits/long-double.h: New file.
12856 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12857 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12858 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12859 * sysdeps/mips/bits/long-double.h: Likewise.
12860 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12861 * math/Makefile (headers): Add bits/long-double.h.
12862 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12863 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12864 <bits/wordsize.h>.
12865 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12866 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12867 * math/math.h: Do not include <bits/mathdef.h>.
12868 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12869 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12870 inclusion.
12871 * sysdeps/ia64/bits/mathdef.h: Remove file.
12872 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12873 * sysdeps/mips/bits/mathdef.h: Likewise.
12874 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12875 * sysdeps/s390/bits/mathdef.h: Likewise.
12876 * sysdeps/sparc/bits/mathdef.h: Likewise.
12877 * sysdeps/x86/bits/mathdef.h: Likewise.
12878 * sysdeps/s390/s390-32/bits/wordsize.h
12879 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12880 conditional code.
12881 * sysdeps/s390/s390-64/bits/wordsize.h
12882 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12883 Likewise.
12884 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12885 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12886 Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12888 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12889 Likewise.
12890 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12891 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12892 Likewise.
12893
12894 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12895 <linux/falloc.h>.
12896 (FALLOC_FL_KEEP_SIZE): Remove.
12897 (FALLOC_FL_PUNCH_HOLE): Likewise.
12898 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12899 (FALLOC_FL_ZERO_RANGE): Likewise.
12900
12901 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12902
12903 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12904
12905 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12906
12907 * sysdeps/unix/sysv/linux/renameat.c: New file.
12908 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12909
12910 * sysdeps/unix/sysv/linux/rename.c: New file.
12911 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12912
12913 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12914
12915 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12916 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12917 * string/strtok_r.c (__strtok_r): Optimize for performance.
12918 * string/string-inlines.c (__old_strtok_r_1c): New function.
12919 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12920
12921 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12922
12923 * math/Makefile (gen-libm-calls): Add w_log1pF.
12924 (libm-calls): Remove w_log1pF.
12925 * math/w_log1p.c: Remove.
12926 * math/w_log1pf.c: Likewise.
12927 * math/w_log1pl.c: Likewise.
12928 * math/w_log1p_template.c: New file with type-generic
12929 implementation based on math/w_log1p.c.
12930 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12931 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12932
12933 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12934
12935 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12936
12937 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12938
12939 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12940 kernel version to 4.9.
12941
12942 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12943
12944 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12945 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12946
12947 2016-12-13 Andreas Schwab <schwab@suse.de>
12948
12949 * sysdeps/powerpc/dl-procinfo.c: Don't define
12950 _dl_powerpc_platforms.
12951 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12952 constants instead of referencing _dl_powerpc_platforms.
12953 (_dl_platform_string): Remove.
12954
12955 2016-12-13 Florian Weimer <fweimer@redhat.com>
12956
12957 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12958
12959 2016-12-13 Florian Weimer <fweimer@redhat.com>
12960
12961 * Rules (binaries-shared-tests, binaries-pie-tests)
12962 (binaries-static-tests): Link with $(link-extra-libs-tests).
12963 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12964 Remove $(link-extra-libs-tests).
12965
12966 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12967
12968 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12969 (sysdep_routines): Add strncmp_power9.
12970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12971 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12972 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12973 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12974 (strncmp): Add __strncmp_power9 to ifunc list.
12975 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12976
12977 2016-12-12 Florian Weimer <fweimer@redhat.com>
12978
12979 [BZ #17252]
12980 Add getentropy, getrandom.
12981 * stdlib/sys/random.h: New file.
12982 (headers): Add it.
12983 * stdlib/Makefile (routines): Add getentropy, getrandom.
12984 (tests): Add tst-getrandom.
12985 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12986 * stdlib/getentropy.c: New file.
12987 * stdlib/getrandom.c: Likewise.
12988 * stdlib/tst-getrandom.c: Likewise.
12989 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12990 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12991 * manual/crypt.texi (Unpredictable Bytes): New section.
12992 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12993 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12994 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13009 Likewise.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13011 Likewise.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13024
13025 2016-12-10 Florian Weimer <fweimer@redhat.com>
13026
13027 [BZ #20956]
13028 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13029 as additional compiler barriers.
13030 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13031 (fn2, do_test): Declare with external linkage.
13032 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13033 (do_test): Declare with external linkage.
13034 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13035 (do_test): Declare with external linkage.
13036 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13037 (do_test): Declare with external linkage.
13038
13039 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13040
13041 * support/support_test_main.c (support_test_main): Use correct
13042 timeout.
13043
13044 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13045 Florian Weimer <fweimer@redhat.com>
13046
13047 [BZ #16421]
13048 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13049 and __u6_addr32 members.
13050 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13051 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13052 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13053 Use __u6_addr32.
13054 * inet/tst-checks.c: Use <support/test-driver.c>
13055 * inet/tst-checks-posix.c: New file.
13056 * inet/Makefile (tests): Add it.
13057 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13058
13059 2016-12-09 Florian Weimer <fweimer@redhat.com>
13060
13061 New subdirectory support for build and test infrastructure.
13062 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13063 setting install-lib.
13064 * Makeconfig (link-extra-libs-tests): Define.
13065 (+link-pie-tests, +link-static-tests, +link-tests): Use
13066 link-extra-libs-tests.
13067 (rpath-dirs, all-subdirs): Add support.
13068 (built-modules): Add libsupport.
13069 (libsupport): Define.
13070 * support: New directory.
13071 * support/Makefile: New file.
13072 * support/check.c: Likewise.
13073 * support/check.h: Likewise.
13074 * support/delayed_exit.c: Likewise.
13075 * support/ignore_stderr.c: Likewise.
13076 * support/oom_error.c: Likewise.
13077 * support/set_fortify_handler.c: Likewise.
13078 * support/support.h: Likewise.
13079 * support/temp_file-internal.h: Likewise.
13080 * support/temp_file.c: Likewise.
13081 * support/test-driver.c: Likewise.
13082 * support/test-driver.h: Likewise.
13083 * support/test_main.c: Likewise.
13084 * support/write_message.c: Likewise.
13085 * support/xasprintf.c: Likewise.
13086 * support/xcalloc.c: Likewise.
13087 * support/xmalloc.c: Likewise.
13088 * support/xpthread_barrier_destroy.c: Likewise.
13089 * support/xpthread_barrier_init.c: Likewise.
13090 * support/xpthread_barrier_wait.c: Likewise.
13091 * support/xpthread_cancel.c: Likewise.
13092 * support/xpthread_check_return.c: Likewise.
13093 * support/xpthread_cond_wait.c: Likewise.
13094 * support/xpthread_create.c: Likewise.
13095 * support/xpthread_detach.c: Likewise.
13096 * support/xpthread_join.c: Likewise.
13097 * support/xpthread_mutex_lock.c: Likewise.
13098 * support/xpthread_mutex_unlock.c: Likewise.
13099 * support/xpthread_sigmask.c: Likewise.
13100 * support/xpthread_spin_lock.c: Likewise.
13101 * support/xpthread_spin_unlock.c: Likewise.
13102 * support/xrealloc.c: Likewise.
13103 * support/xsignal.h: Likewise.
13104 * support/xthread.h: Likewise.
13105 * support_tempfile.h: Likewise.
13106 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13107 (TEST_DATA_LIMIT): Remove unused macro.
13108 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13109 <support/check.h>.
13110 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13111 (ignore_stderr, set_fortify_handler): Remove. Now in
13112 <support/support.h>.
13113 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13114 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13115 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13116 (xpthread_join): Remove. Now in <support/xthread.h>.
13117 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13118 Introduce legacy wrappers.
13119 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13120 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13121 (write_message): Remove.
13122 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13123 test-skeleton.c.
13124 * io/test-open-tmpfile: Likewise.
13125 * io/tst-posix_fallocate-common.c: Likewise.
13126 * libio/tst-fseek.c: Likewise.
13127 * malloc/tst-malloc-backtrace.c: Likewise.
13128 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13129 * malloc/tst-malloc-thread-exit.c: Likewise.
13130 * nptl/tst-cancel7.c: Likewise.
13131 * nptl/tst-cleanup0.c: Likewise.
13132 * posix/tst-posix_fadvise-common.c: Likewise.
13133 * rt/tst-shm.c: Likewise.
13134 * time/bug-getdate1.c: Likewise.
13135 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13136 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13137 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13138
13139 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13140
13141 * Rules [$(run-built-tests) != no] (tests-expected): Add
13142 $(tests-printers).
13143 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13144
13145 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13146
13147 [BZ #20539]
13148 * math/Makefile (install-lib-ldscripts): Add libm.a.
13149 (install_subdir): Remove.
13150 (install-others): Add.
13151 ($(inst_libdir)/libm.a): Add rule for installation as
13152 linker script.
13153 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13154
13155 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13156
13157 * INSTALL: Regenerated.
13158 * Makeconfig: Add comments and whitespace to make the control flow
13159 clearer.
13160 (+link-printers-tests, +link-pie-printers-tests,
13161 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13162 built-rtld-LDFLAGS, link-libc-rpath,
13163 link-libc-tests-after-rpath-link,
13164 link-libc-printers-tests): New.
13165 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13166 link-libc-tests): Use the new variables as required.
13167 * Makerules ($(py-const)): New rule.
13168 generated: Add $(py-const).
13169 * README.pretty-printers: New file.
13170 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13171 (others): Depend on $(py-const).
13172 (tests): Depend on $(tests-printers-programs) or
13173 $(tests-printers-out),
13174 as required. Pass $(tests-printers) to merge-test-results.sh.
13175 * manual/install.texi: Add requirements for testing the pretty
13176 printers.
13177 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13178 tests-printers, CFLAGS-test-mutexattr-printers.c
13179 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13180 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13181 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13182 * nptl/nptl-printers.py: New file.
13183 * nptl/nptl_lock_constants.pysym: Likewise.
13184 * nptl/test-cond-printers.c: Likewise.
13185 * nptl/test-cond-printers.py: Likewise.
13186 * nptl/test-condattr-printers.c: Likewise.
13187 * nptl/test-condattr-printers.py: Likewise.
13188 * nptl/test-mutex-printers.c: Likewise.
13189 * nptl/test-mutex-printers.py: Likewise.
13190 * nptl/test-mutexattr-printers.c: Likewise.
13191 * nptl/test-mutexattr-printers.py: Likewise.
13192 * nptl/test-rwlock-printers.c: Likewise.
13193 * nptl/test-rwlock-printers.py: Likewise.
13194 * nptl/test-rwlockattr-printers.c: Likewise.
13195 * nptl/test-rwlockattr-printers.py: Likewise.
13196 * scripts/gen-py-const.awk: Likewise.
13197 * scripts/test_printers_common.py: Likewise.
13198 * scripts/test_printers_exceptions.py: Likewise.
13199
13200 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13201
13202 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13203 argument.
13204 (Glibc.build_glibc): Strip installed shared libraries if
13205 requested.
13206 (get_parser): Add --strip option.
13207 (main): Update Context call.
13208
13209 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13210 Dominik Vogt <vogt@linux.vnet.ibm.com>
13211
13212 [BZ #20847]
13213 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13214 array bounds for else branch.
13215 (__execvpe): Style fixes.
13216 * posix/tst-vfork3.c (run_script): New function.
13217 (create_script): Likewise.
13218 (do_test): Use run_script internal function.
13219 (do_prepare): Use create_script internal function.
13220
13221 2016-12-07 Andreas Schwab <schwab@suse.de>
13222
13223 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13224 (__elision_available): Don't declare.
13225 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13226 (__elision_available): Don't define.
13227 (elision_init): Don't set __elision_available.
13228
13229 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13230
13231 [BZ #20940]
13232 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13233 return Inf for arguments Inf and sNaN.
13234 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13235 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13236 Likewise.
13237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13238 Likewise.
13239 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13240 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13241 for arguments Inf and sNaN. When returning a NaN, compute it by
13242 arithmetic on the arguments.
13243 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13244 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13245 arguments.
13246
13247 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13248
13249 [BZ #20916]
13250 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13251 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13252 to compute result.
13253 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13254 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13255
13256 2016-12-05 Torvald Riegel <triegel@redhat.com>
13257
13258 * include/atomic.h (__atomic_check_size_ls): New.
13259 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13260 atomic_store_release): Use it.
13261 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13262 (elision_adapt, ELIDE_LOCK): Use atomics.
13263 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13264 atomics and improve code comments.
13265 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13266 (__lll_trylock_elision): Likewise.
13267
13268 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13269
13270 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13271 programs.
13272
13273 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13274
13275 [BZ #20916]
13276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13277 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13278 arguments to compute result.
13279 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13280 1 for arguments (sNaN, 0) or (1, sNaN).
13281 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13283
13284 [BZ #20919]
13285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13286 NaN first argument when raised to power 0.
13287 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13288 raising to power zero.
13289 * math/w_powf.c (__powf): Likewise.
13290 * math/w_powl.c (__powl): Likewise.
13291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13292 pow (0, 0) or pow (NaN, 0).
13293
13294 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13295
13296 [BZ #20918]
13297 * configure.ac: Test for static NSS cryptographic libraries and set
13298 libc_cv_static_nss_crypt.
13299 * configure: Regenerate.
13300 * config.make.in (static-nss-crypt): Define.
13301 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13302 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13303 (CFLAGS-tst-linkall-static.c): Define.
13304 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13305 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13306 ($(objpfx)tst-linkall-static): Define.
13307 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13308 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13309
13310 2016-12-02 Florian Weimer <fweimer@redhat.com>
13311
13312 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13313 (one-hundred, tst-tls-many-dynamic-modules): Define.
13314 (modules-names): Add $(tst-tls-many-dynamic-modules).
13315 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13316 macros.
13317 (tst-tls-manydynamic): Link against libdl, libpthread.
13318 (tst-tls-manydynamic.out): The test needs the test modules at run
13319 time.
13320 * elf/tst-tls-manydynamic.c: New file.
13321 * elf/tst-tls-manydynamic.h: Likewise.
13322 * elf/tst-tls-manydynamicmod.c: Likewise.
13323
13324 2016-12-02 Florian Weimer <fweimer@redhat.com>
13325
13326 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13327 (TLS_DTV_UNALLOCATED): Add.
13328 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13329 offsets.
13330
13331 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13332
13333 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13334
13335 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13336
13337 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13338 Add -fno-optimize-sibling-calls.
13339
13340 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13341
13342 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13343 New declaration.
13344 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13345 macro.
13346 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13347 New macro.
13348 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13349 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13350 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13351 (llogbf): Likewise.
13352 (llogbl): Likewise.
13353 * math/Makefile (gen-libm-calls): Add w_llogbF.
13354 (tests): Add test-fp-llogb-constants.
13355 * math/w_llogb_template.c: New file. Based on
13356 math/w_ilogb_template.c.
13357 * math/libm-test.inc (llogb_test_data): New array.
13358 (llogb_test): New function.
13359 (main): Call llogb_test.
13360 * math/test-fp-llogb-constants.c: New file. Based on
13361 math/test-fp-ilogb-constants.c.
13362 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13363 (do_test): Call check_return_llogb.
13364 * math/test-tgmath.c (NCALLS): Increase to 126.
13365 (F(compile_test)): Call llogb.
13366 (F(llogb)): New function.
13367 * manual/math.texi (Exponents and Logarithms): Document llogb,
13368 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13369 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13370 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13371 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13373 (CFLAGS-nldbl-llogb.c): New variable.
13374 * sysdeps/nacl/libm.abilist: Update.
13375 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13388 Likewise.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13390 Likewise.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13392 Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13394 Likewise.
13395 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13401 Likewise.
13402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13403 Likewise.
13404 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13407
13408 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13409
13410 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13411 _Float128 instead of long double.
13412 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13413
13414 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13415 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13416 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13417 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13418 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13419 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13420 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13421 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13422 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13423 Likewise.
13424
13425 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13426
13427 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13428 Remove redirection to __strrchr_ppc.
13429
13430 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13431
13432 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13433 (sysdep_routines): Add strcmp_power9.
13434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13435 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13436 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13437 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13438 (strcmp): Add __strcmp_power9 to ifunc list.
13439 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13440
13441 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13442
13443 * bits/fp-logb.h: New file.
13444 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13445 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13446 * sysdeps/x86/bits/fp-logb.h: Likewise.
13447 * math/Makefile (headers): Add bits/fp-logb.h.
13448 * math/math.h: Include <bits/fp-logb.h>.
13449 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13450 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13451 * bits/mathdef.h (FP_ILOGB0): Remove.
13452 (FP_ILOGBNAN): Likewise.
13453 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13454 (FP_ILOGBNAN): Likewise.
13455 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13456 (FP_ILOGBNAN): Likewise.
13457 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13458 (FP_ILOGBNAN): Likewise.
13459 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13460 (FP_ILOGBNAN): Likewise.
13461 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13462 (FP_ILOGBNAN): Likewise.
13463 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13464 (FP_ILOGBNAN): Likewise.
13465 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13466 (FP_ILOGBNAN): Likewise.
13467 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13468 (FP_ILOGBNAN): Likewise.
13469 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13470 (FP_ILOGBNAN): Likewise.
13471
13472 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13473 time module.
13474 (Context.__init__): Initialize self.logsdir_old.
13475 (Context.run_builds): Handle bot action.
13476 (Context.bot_cycle): Copy logs directory before running builds.
13477 (Context.bot_run_self): Take argument for whether to check
13478 subprocess result. Flush stdout before running subprocess.
13479 (Context.bot): New function.
13480 (get_parser): Allow bot action.
13481
13482 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13483
13484 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13485 Import email.mime.text, email.utils and smtplib modules.
13486 (Context.__init__): Initialize self.bot_config_json.
13487 (Context.run_builds): Handle bot-cycle action.
13488 (Context.load_bot_config_json): New function.
13489 (Context.part_build_old): Likewise.
13490 (Context.bot_cycle): Likewise.
13491 (Context.bot_build_mail): Likewise.
13492 (Context.bot_run_self): Likewise.
13493 (get_parser): Allow bot-cycle action.
13494
13495 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13496
13497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13498 Remove redirection to __stpcpy_ppc.
13499
13500 2016-11-30 Florian Weimer <fweimer@redhat.com>
13501
13502 Remove __libc_memalign from ld.so because it is unused.
13503 * elf/dl-minimal.c: Update comment on the malloc implementation.
13504 (malloc): Renamed from __libc_memalign, replacing the original
13505 malloc implementation. Replace the align parameter with
13506 MALLOC_ALIGNMENT.
13507 * elf/Versions (ld): Update comment and remove __libc_memalign.
13508 * sysdeps/nacl/ld.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13525 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13535 * sysdeps/generic/localplt.data (ld.so): Likewise.
13536 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13537 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13538 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13539 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13540 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13541 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13542 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13543 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13544 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13546 (ld.so): Likewise.
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13548 (ld.so): Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13550 Likewise.
13551 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13552 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13553 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13554 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13555 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13556
13557 2016-11-30 Florian Weimer <fweimer@redhat.com>
13558
13559 [BZ #16628]
13560 Implement _dl_catch_error, _dl_signal_error in libc.so.
13561 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13562 (catch_hook): Define as thread-local or regular variable,
13563 depending on DL_ERROR_BOOTSTRAP.
13564 (CATCH_HOOK): Remove.
13565 (dl_signal_error, _dl_catch_error): Use
13566 catch_hook. Add hidden definition for libc.
13567 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13568 for DL_ERROR_BOOTSTRAP only.
13569 * elf/dl-error.c: New file.
13570 * elf/dl-error-minimal.c: Likewise.
13571 * elf/tst-latepthread.c: Likewise.
13572 * elf/tst-latepthreadmod.c: Likewise.
13573 * elf/Makefile (routines): Add dl-error.
13574 (dl-routines): Remove dl-error.
13575 (rtld-routines): Add dl-error-minimal.
13576 [build-shared] (tests): Add tst-latepthread.
13577 (module-names): Add tst-latepthreadmod.
13578 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13579 symbol.
13580 (tst-latepthreadmod.so): Link against libpthread.
13581 (tst-latepthread): Link against libdbl.
13582 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13583 _dl_catch_error.
13584 [ld] (GLIBC_PRIVATE): Likewise.
13585 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13586 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13587 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13588 directly.
13589 * elf/dl-tsd.c: Remove file.
13590 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13591 _dl_catch_error, _dl_signal_error.
13592 (_dl_initial_error_catch_tsd): Remove definition.
13593 (do_preload): Remove initialization of dl_error_catch_tsd.
13594 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13595 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13596 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13597 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13598 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13599 set dl_error_catch_tsd.
13600 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13601 _dl_error_catch_tsd member.
13602 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13603 members.
13604 (_dl_initial_error_catch_tsd): Remove declaration.
13605 (_dl_dprintf): Provide definition for use outside of ld.so.
13606 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13607 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13608 prototype for libc.
13609 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13610 _dl_catch_error.
13611 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13612 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13613 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13614 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13615 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13616 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13617 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13618 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13619 Likewise.
13620 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13622 (ld.so): Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13624 (ld.so): Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13626 Likewise.
13627 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13628 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13630 Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13632 Likewise.
13633 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13634
13635 2016-11-30 Florian Weimer <fweimer@redhat.com>
13636
13637 [BZ #4099]
13638 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13639 _IO_BUFSIZ (8192).
13640
13641 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13642
13643 * PROJECTS: Remove file.
13644
13645 2016-11-29 Florian Weimer <fweimer@redhat.com>
13646
13647 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13648
13649 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13650 Steve Ellcey <sellcey@caviumnetworks.com>
13651
13652 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13653 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13654 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13655 fxstatat.
13656 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13657 lxstat.
13658 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13659 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13660 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13661 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13662 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13663 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13664 __xstat.
13665
13666 2016-11-29 Florian Weimer <fweimer@redhat.com>
13667
13668 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13669 Define.
13670 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13671 definition.
13672
13673 2016-11-29 Florian Weimer <fweimer@redhat.com>
13674
13675 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13676 version and turn into strong alias. Remove compat symbol.
13677
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13679 (__longjmp): Remove.
13680
13681 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13682
13683 * bits/fp-fast.h: New file.
13684 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13685 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13686 * math/Makefile (headers): Add bits/fp-fast.h.
13687 * math/math.h: Include <bits/fp-fast.h>.
13688 * bits/mathdef.h (FP_FAST_FMA): Remove.
13689 (FP_FAST_FMAF): Likewise.
13690 (FP_FAST_FMAL): Likewise.
13691 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13692 (FP_FAST_FMAF): Likewise.
13693 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13694 (FP_FAST_FMAF): Likewise.
13695 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13696 (FP_FAST_FMAF): Likewise.
13697 (FP_FAST_FMAL): Likewise.
13698 * sysdeps/arm/bits/mathdef.h: Remove file.
13699 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13700 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13701 * sysdeps/tile/bits/mathdef.h: Likewise.
13702
13703 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13704
13705 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13706 * math/w_ilogb.c: Remove.
13707 * math/w_ilogbf.c: Likewise.
13708 * math/w_ilogbl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13710 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13711 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13712 (libm-calls): Remove w_ilogbF.
13713 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13714 (LDOUBLE_ilogbl_libm_version): New macro.
13715
13716 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13717
13718 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13719 [!__STRICT_ANSI__ && !__cplusplus].
13720
13721 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 [BZ #20750]
13724 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13725 of PIC.
13726
13727 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13728 Yury Norov <ynorov@caviumnetworks.com>
13729 Steve Ellcey <sellcey@caviumnetworks.com>
13730
13731 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13732 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13733 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13734 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13735 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13736 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13737 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13738 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13739 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13740 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13741 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13742 to get correct reg name for ILP32.
13743 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13744 (RELA_SIZE): New Macro.
13745 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13746 to support ILP32.
13747 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13748 cast for ILP32 mode.
13749 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13750 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13751 * sysdeps/aarch64/memset.S (__memset): Ditto.
13752 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13753 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13754 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13755 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13756 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13757 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13758 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13759 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13760 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13761 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13762 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13763 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13764 change PTR_MANGLE call to use register numbers instead of names.
13765 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13766 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13767 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13768 * sysdeps/aarch64/start.S (_start): Ditto.
13769 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13770 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13771 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13772 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13773 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13774 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13775 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13776 Make defined values dependent on __ILP32__.
13777 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13778 (sem_t): Change __align type.
13779 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13780 PTR_SIZE): New Macros.
13781 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13782 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13783 Set when in ILP32 mode.
13784 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13785 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13786 Set elf flags for ILP32.
13787 (add_system_dir): Set ILP32 library directories.
13788 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13789 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13790 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13791 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13792 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13793 New Macros.
13794 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13795
13796 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13797
13798 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13799 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13800 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13801
13802 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13803
13804 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13805 <asm/cachectl.h>.
13806
13807 2016-11-27 Zack Weinberg <zackw@panix.com>
13808
13809 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13810 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13811
13812 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13813
13814 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13815 error_t to fix usage in C++ programs.
13816
13817 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13818
13819 * scripts/build-many-glibcs.py: Import datetime module.
13820 (Context.__init__): Load JSON build state. Initialize list of
13821 status logs.
13822 (Context.run_builds): Update saved build state.
13823 (Context.add_makefile_cmdlist): Update list of status logs.
13824 (Context.load_build_state_json): New function.
13825 (Context.store_build_state_json): Likewise.
13826 (Context.clear_last_build_state): Likewise.
13827 (Context.update_build_state): Likewise.
13828 (CommandList.status_logs): Likewise.
13829
13830 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13831
13832 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13833 script being executed.
13834 (Context.get_script_text): New function.
13835 (Context.exec_self): Likewise.
13836 (Context.checkout): Re-exec script if changed by checkout process.
13837
13838 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13839
13840 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13841 (setpayloadsig): New declaration.
13842 * math/Versions (setpayloadsig): New libm symbol at version
13843 GLIBC_2.25.
13844 (setpayloadsigf): Likewise.
13845 (setpayloadsigl): Likewise.
13846 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13847 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13848 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13849 (setpayloadsig_test_data): New array.
13850 (setpayloadsig_test): New function.
13851 (main): Call setpayloadsig_test.
13852 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13853 setpayloadsigf and setpayloadsigl.
13854 * manual/libm-err-tab.pl: Update comment on interfaces without
13855 ulps tabulated.
13856 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13857 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13862 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13863 setpayloadsig.
13864 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13865 * sysdeps/nacl/libm.abilist: Update.
13866 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13869 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13879 Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13881 Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13883 Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13885 Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13892 Likewise.
13893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13894 Likewise.
13895 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13898
13899 * scripts/build-many-glibcs.py: Import json module.
13900 (Context.__init__): Take replace_sources argument. Load
13901 versions.json.
13902 (Context.load_versions_json): New function.
13903 (Context.store_json): Likewise.
13904 (Context.store_versions_json): Likewise.
13905 (Context.set_component_version): Likewise.
13906 (Context.checkout): Update versions.json. Check for and handle
13907 changes of version. Prefer previously explicitly specified
13908 version to default version.
13909 (Context.checkout_vcs): Return a revision identifier.
13910 (Context.git_checkout): Likewise.
13911 (Context.gcc_checkout): Likewise.
13912 (get_parser): Add --replace-sources option.
13913 (main): Pass replace_sources argument to Context call.
13914
13915 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13916
13917 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13918 * nptl/allocatestack.c (allocate_stack): Likewise.
13919 (__reclaim_stacks): Likewise.
13920 (setxid_signal_thread): Obtain pid through syscall.
13921 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13922 (sighandle_setxid): Likewise.
13923 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13924 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13925 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13926 Likewise.
13927 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13928 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13929 comment.
13930 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13931 * nptl/descr.h (struct pthread): Change comment about pid value.
13932 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13933 pid assert.
13934 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13935 Do not set pid value.
13936 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13937 pid cache check.
13938 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13939 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13940 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13941 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13942 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13943 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13944 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13945 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13946 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13947 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13948 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13949 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13950 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13951 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13952 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13953 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13954 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13955 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13956 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13957 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13958 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13959 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13960 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13961 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13962 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13965 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13966 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13967 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13969 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13970 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13971 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13972 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13973 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13974 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13976 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13977 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13978 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13979 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13980 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13983 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13984 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13985 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13986 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13987 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13988 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13989 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13990 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13991 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13992 struct access.
13993 (clone_test): Remove function.
13994 (do_test): Rewrite to take in consideration pid is not cached anymore.
13995
13996 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13997
13998 * bits/flt-eval-method.h: New file.
13999 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14000 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14001 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14002 * math/Makefile (headers): Add bits/flt-eval-method.h.
14003 * math/math.h: Include <bits/flt-eval-method.h>.
14004 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14005 [__USE_ISOC99] (double_t): Likewise.
14006 * bits/mathdef.h (float_t): Remove.
14007 (double_t): Likewise.
14008 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14009 (double_t): Likewise.
14010 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14011 (double_t): Likewise.
14012 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14013 (double_t): Likewise.
14014 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14015 (double_t): Likewise.
14016 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14017 (double_t): Likewise.
14018 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14019 (double_t): Likewise.
14020 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14021 (double_t): Likewise.
14022 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14023 (double_t): Likewise.
14024 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14025 (double_t): Likewise.
14026 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14027 (double_t): Likewise.
14028 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14029 (double_t): Likewise.
14030 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14031 (double_t): Likewise.
14032 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14033 (double_t): Likewise.
14034
14035 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14036
14037 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14038 instead of PIC.
14039
14040 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14041
14042 [BZ #20859]
14043 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14044 (-0x7fffffff) instead of 0x80000001.
14045 * math/test-fp-ilogb-constants.c: New file.
14046 * math/Makefile (tests): Add test-fp-ilogb-constants.
14047
14048 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14049
14050 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14051 (_init): Use it in place of hardcoded R_MIPS_JALR.
14052 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14053 (_init): Use it in place of hardcoded R_MIPS_JALR.
14054 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14055 (_init): Use it in place of hardcoded R_MIPS_JALR.
14056
14057 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14058
14059 [BZ #20787]
14060 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14061 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14062 (double_t): Do not define to double if [__x86_64__] when
14063 __FLT_EVAL_METHOD__ is nonzero.
14064 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14065 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14066 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14067 test-flt-eval-method-387 and test-flt-eval-method-sse.
14068 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14069 variable.
14070 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14071
14072 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14073
14074 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14075 use of -fno-isolate-erroneous-paths options for tilepro.
14076
14077 2016-11-23 Florian Weimer <fweimer@redhat.com>
14078
14079 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14080 structure initialization is no longer needed.
14081
14082 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14083
14084 [BZ #20855]
14085 * bits/mathdef.h (float_t): Define to float.
14086 * math/test-flt-eval-method.c: New file.
14087 * math/Makefile (tests): Add test-flt-eval-method.
14088 (CFLAGS-test-flt-eval-method.c): New variable.
14089
14090 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14091
14092 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14093 and __fstatfs. Make them aliases of __fstatfs64 if
14094 STATFS_IS_STATFS64 is set to non-zero.
14095 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14096 and __statfs64.
14097 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14098 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14099 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14100 for __statfs and statfs.
14101 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14102 to 0.
14103 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14104 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14105 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14106 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14107 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14108 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14111 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14112 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14113 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14114 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14115
14116 2016-11-22 Andreas Schwab <schwab@suse.de>
14117
14118 * misc/mkstemp.c: Include <fcntl.h>.
14119 * misc/mkstemps.c: Likewise.
14120 * misc/mkostemp.c: Likewise.
14121 * misc/mkostemps.c: Likewise.
14122
14123 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14124
14125 [BZ #20847]
14126 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14127 array bounds.
14128 (__execvpe): Likewise.
14129
14130 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14131
14132 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14133 -fno-isolate-erroneous-paths options for tilepro.
14134
14135 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14136
14137 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14138 to 0 when in 32 bit mode.
14139 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14140 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14141 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14142 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14144 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14145 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14146 XSTAT_IS_XSTAT64 test.
14147 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14148 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14149 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14150 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14151 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14152 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14153 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14154 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14155 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14156 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14157 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14158
14159 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14160
14161 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14162 (setpayload): New declaration.
14163 * math/Versions (setpayload): New libm symbol at version
14164 GLIBC_2.25.
14165 (setpayloadf): Likewise.
14166 (setpayloadl): Likewise.
14167 * math/Makefile (libm-calls): Add s_setpayloadF.
14168 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14169 test_Ff_b1_data.
14170 (RUN_TEST_Ff_b1): New macro.
14171 (RUN_TEST_LOOP_Ff_b1): Likewise.
14172 (canonicalize_test_data): Update type.
14173 (setpayload_test_data): New array.
14174 (setpayload_test): New function.
14175 (main): Call setpayload_test.
14176 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14177 setpayloadf and setpayloadl.
14178 * manual/libm-err-tab.pl: Update comment on interfaces without
14179 ulps tabulated.
14180 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14181 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14183 Likewise.
14184 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14185 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14190 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14192 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14193 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14194 setpayload.
14195 (CFLAGS-nldbl-setpayload.c): New variable.
14196 * sysdeps/nacl/libm.abilist: Update.
14197 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14210 Likewise.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14212 Likewise.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14214 Likewise.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14216 Likewise.
14217 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14223 Likewise.
14224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14225 Likewise.
14226 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14229
14230 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14231
14232 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14233 * include/unistd.h: Extend comment about __access_noerrno return
14234 semantics.
14235 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14236 (access_common): Correct typo for EACCES.
14237
14238 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14239
14240 * sysdeps/tile/math-tests.h: New file.
14241
14242 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14243 (__old_set_dataplane): Rename from set_dataplane and make a
14244 compatibility symbol.
14245 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14246 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14247 sys/dataplane.h.
14248
14249 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14250
14251 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14252 script quote words in command output to log suitably for input to
14253 the shell.
14254
14255 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14256 Maciej W. Rozycki <macro@imgtec.com>
14257
14258 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14259 `.Lno_weak_fn' label.
14260 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14261 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14262
14263 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14264 Yury Norov <ynorov@caviumnetworks.com>
14265
14266 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14267 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14268 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14269 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14270 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14272 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14274 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14275 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14276 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14277 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14278 (sysdep_routines): Remove oldgetrlimit64.
14279 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14280 (sysdep_routines): Likewise.
14281 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14282 (sysdep_routines): Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14284 [$(subdir) = resource] (sysdep_routines): Likewise.
14285 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14286 [$(subdir) = resource] (sysdep_routines): Likewise.
14287 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14288 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14289 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14290 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14291 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14293 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14294 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14295 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14296 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14298 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14299 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14300 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14301 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14302 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14303 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14304 setrlimit and getrlimit.
14305 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14307 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14312 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14314 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14315 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14316 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14317 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14318 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14319 (__old_getrlimit64): Add compatibility symbol.
14320 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14321
14322 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14323
14324 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14325 newly built gmp, mpfr and mpc.
14326
14327 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14328
14329 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14330
14331 * conform/Makefile (linknamespace-libs): Rename to
14332 linknamespace-libs-thr.
14333 (linknamespace-libs-posix): New variable.
14334 (linknamespace-libs-xsi): Likewise.
14335 (linknamespace-libs-XPG3): Include libcrypt.a.
14336 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14337 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14338 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14339 (linknamespace-libs-XOPEN2K): Likewise.
14340 (linknamespace-libs-XOPEN2K8): Likewise.
14341 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14342
14343 [BZ #20829]
14344 * stdio-common/Versions (__snprintf): Add to version
14345 GLIBC_PRIVATE.
14346 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14347 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14348 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14349 of snprintf.
14350 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14351
14352 2016-11-16 Zack Weinberg <zackw@panix.com>
14353
14354 * string/string.h: Remove obsolete comment stating that
14355 strcoll_l and strxfrm_l have not yet been standardized.
14356
14357 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14358
14359 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14360 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14361 __access_noerrno.
14362 * io/access.c (__access_noerrno): New function.
14363 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14364 (hurd_fail_seterrno): Likewise.
14365 (access_common): Likewise.
14366 (__access_noerrno): Likewise.
14367 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14368 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14369 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14370 macro.
14371
14372 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14373
14374 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14375 Only declare fpregs if [__SH_FPU_ANY__].
14376
14377 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14378
14379 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14380 Make code unconditional.
14381 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14382
14383 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14384
14385 * manual/sysinfo.texi (S_APPEND): Delete.
14386 (S_IMMUTABLE): Likewise.
14387
14388 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14389 Magnus Granberg <zorry@gentoo.org>
14390 Mike Frysinger <vapier@gentoo.org>
14391
14392 [BZ #20662]
14393 * configure.ac (libc_cv_predef_stack_protector): Also check for
14394 __stack_chk_fail_local symbols.
14395 * configure: Regenerated.
14396
14397 2016-11-15 Florian Weimer <fweimer@redhat.com>
14398
14399 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14400 (libc_hidden_def): Remove redefinition.
14401 (__sigsetjmp): Add hidden definition.
14402 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14403 (libc_hidden_def): Remove redefinition.
14404 (__sigsetjmp): Add hidden definition.
14405
14406 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14407
14408 * scripts/build-many-glibcs.py (os.path): Do not import.
14409 (Context): Inherit explicitly from object. Remove blank line
14410 between class and docstring.
14411 (Config): Likewise.
14412 (Glibc): Likewise.
14413 (Command): Likewise.
14414 (CommandList): Likewise.
14415 (Context.write_files): Store chmod mode in a variable.
14416
14417 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14418 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14419 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14420
14421 2016-11-14 Zack Weinberg <zackw@panix.com>
14422
14423 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14424 creating or re-creating it.
14425
14426 * string/bits/string2.h: Fix typo in comment.
14427
14428 2016-11-14 Zack Weinberg <zackw@panix.com>
14429
14430 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14431 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14432 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14433 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14434 of redirected function names.
14435
14436 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14437 as well. Document that MESSAGE must be a single string literal.
14438
14439 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14440
14441 * scripts/build-many-glibcs.py: New file.
14442
14443 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14444 (do_test): Disable -Wmaybe-uninitialized around uses of
14445 except_mask.
14446
14447 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14448
14449 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14450
14451 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14452 (atomic_store_release): Provide tilepro-specific implementations.
14453
14454 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14455
14456 * math/math.h (__MATH_TG): New macro.
14457 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14458 [__USE_ISOC99] (signbit): Likewise.
14459 [__USE_ISOC99] (isfinite): Likewise.
14460 [__USE_ISOC99] (isnan): Likewise.
14461 [__USE_ISOC99] (isinf): Likewise.
14462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14463 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14465 __MATH_TG and __MATH_EVAL_FMT2.
14466 * sysdeps/generic/math_private.h (fabs_tg): Define using
14467 __MATH_TG.
14468 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14469 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14470 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14471 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14472 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14473 macro.
14474 (__iscanonical): Likewise.
14475 (iscanonical): Define using __MATH_TG.
14476
14477 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14478
14479 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14480 guards.
14481
14482 * sysdeps/unix/sysv/linux/access.c: New file.
14483 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14484
14485 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14486
14487 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14488 and __WORDSIZE32_PTRDIFF_LONG.
14489
14490 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14491
14492 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14493
14494 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14495
14496 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14497 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14498 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14499 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14500 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14502 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14503 * sysdeps/unix/sysv/linux/truncate.c: New file.
14504 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14505 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14506 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14507 Remove.
14508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14509 Likewise.
14510
14511 * posix/tst-truncate-common.c: New file.
14512 * posix/tst-truncate.c: Use tst-truncate-common.c.
14513 * posix/tst-truncate64.c: Likewise and add LFS tests.
14514 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14515 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14516 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14517 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14518 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14520 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14521 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14522 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14523 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14524 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14525 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14526 Remove.
14527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14528 Likewise.
14529
14530 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14531
14532 [BZ #20790]
14533 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14534 to MAXLINESIZE.
14535 * sunrpc/bug20790.x: New file.
14536 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14537 variable.
14538 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14539 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14540
14541 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14542
14543 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14544
14545 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14546 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14547 calloc, realloc, free, memalign and __libc_memalign rather than
14548 making them optional.
14549
14550 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14551 for libc.so.
14552
14553 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14554
14555 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14556 ptw-lseek64.
14557 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14558 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14559 Likewise.
14560 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14561 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14562 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14563 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14564 * sysdeps/unix/sysv/linux/lseek.c: New file.
14565 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14566 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14567 __libc_lseek64 from auto-generation.
14568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14569 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14570
14571 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14572
14573 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14574 * nptl/tst-cleanup1.c (do_test): Likewise.
14575 * nptl/tst-cleanup3.c (do_test): Likewise.
14576 * nptl/tst-key1.c (do_test): Likewise.
14577 * nptl/tst-key2.c (tf, do_test): Likewise.
14578 * nptl/tst-key3.c (tf, do_test): Likewise.
14579 * nptl/tst-stdio1.c (do_test): Likewise.
14580 * nptl/tst-stdio2.c (do_test): Likewise.
14581
14582 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14583 * nptl/tst-kill6.c (handler): Likewise.
14584 * nptl/tst-tls2.c (CB): Likewise.
14585 * nptl/tst-tls3.c (CB): Likewise.
14586
14587 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14588
14589 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14590
14591 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14592 Steve Ellcey <sellcey@caviumnetworks.com>
14593
14594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14595 __ASSUME_ST_INO_64_BIT as 0
14596 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14597 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14598 over the code where __ASSUME_ST_INO_64_BIT is used.
14599 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14600 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14601 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14602
14603 2016-11-07 Florian Weimer <fweimer@redhat.com>
14604
14605 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14606 Document ABI exposure of the __kind offset.
14607 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14608 Mention reason for the __kind offset exposure in the ABI.
14609 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14610 Likewise.
14611 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14612 Likewise.
14613 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14614 Likewise.
14615 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14616 (struct __pthread_mutex_s): Likewise.
14617 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14618 Likewise.
14619 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14620 Likewise.
14621 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14622 Likewise.
14623 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14624 Likewise.
14625 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14626 Likewise.
14627 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14628 Likewise.
14629 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14630 (struct __pthread_mutex_s): Likewise.
14631 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14632 (struct __pthread_mutex_s): Likewise.
14633 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14634 Likewise.
14635
14636 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14637
14638 * test-skeleton.c: Document do_test usage.
14639
14640 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14641
14642 * iconv/gconv.h (__gconv_info): Define __data element using a
14643 zero-length array.
14644
14645 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14646
14647 * math/test-tgmath2.c: Split up test function.
14648
14649 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14650
14651 * Rules (tests-expected): New variable, depending on
14652 $(run-built-tests).
14653 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14654 $(tests).
14655
14656 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14657 $(tests-unsupported).
14658
14659 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14660
14661 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14662 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14663
14664 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14665
14666 [BZ #20768]
14667 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14668 __fegetenv instead of fegetenv.
14669
14670 [BZ #14139]
14671 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14672 (find_files): Obtain platform name from libm-test-ulps-name and
14673 store in %pplatforms.
14674 (canonicalize_platform): Remove.
14675 (print_platforms): Use $pplatforms directly.
14676 (by_platforms): Do not allow for platforms missing from
14677 %pplatforms.
14678 * sysdeps/aarch64/libm-test-ulps-name: New file.
14679 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14680 * sysdeps/arm/libm-test-ulps-name: Likewise.
14681 * sysdeps/generic/libm-test-ulps-name: Likewise.
14682 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14683 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14684 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14685 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14686 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14687 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14688 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14689 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14690 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14691 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14692 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14693 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14694 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14695 * sysdeps/sh/libm-test-ulps-name: Likewise.
14696 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14697 * sysdeps/tile/libm-test-ulps-name: Likewise.
14698 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14699
14700 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14701
14702 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14703 (test-xfail-check-execstack): New variable.
14704
14705 * sysdeps/mips/localplt.data: New file.
14706
14707 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14708 Steve Ellcey <sellcey@caviumnetworks.com>
14709
14710 * bits/wordsize.h: Add documentation.
14711 * sysdeps/aarch64/bits/wordsize.h : New file
14712 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14713 definitions.
14714 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14715 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14716 with #if instead of #ifdef.
14717 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14718 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14719 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14720 Add or change defines.
14721 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14722 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14723 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14724 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14725 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14726 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14727 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14728 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14729 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14730 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14731 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14732 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14733 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14734 * sysdeps/x86/bits/wordsize.h: Likewise.
14735
14736 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14737 Kevin Petit <kevin.petit@arm.com>
14738
14739 * sysdeps/aarch64/memchr.S (__memchr): New file.
14740
14741 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14742
14743 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14744
14745 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14746
14747 [BZ #19398]
14748 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14749 $(linknamespace-symlists-tests).
14750
14751 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14752
14753 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14754
14755 2016-11-02 Florian Weimer <fweimer@redhat.com>
14756 Carlos O'Donell <carlos@redhat.com>
14757
14758 [Bug #20729]
14759 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14760 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14761 for -Os related change.
14762
14763 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14764
14765 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14766
14767 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14768
14769 [BZ #19673]
14770 * manual/math.texi (Exponents and Logarithms): Correct description
14771 of clog10.
14772
14773 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14774
14775 [Bz #20729]
14776 * locale/weight.h: Include libc-internal.h.
14777 * locale/weightwc.h: Likewise.
14778 * nptl/nptl_dbP.h: Likewise.
14779
14780 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14781
14782 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14783 when it is MACH_PORT_NULL.
14784
14785 2016-10-31 Andreas Schwab <schwab@suse.de>
14786
14787 [BZ #20707]
14788 * posix/glob.c (glob): Initialize pglob before checking for
14789 GLOB_BRACE. Don't call glob recursively if pattern contains no
14790 valid brace expression despite GLOB_BRACE.
14791 * posix/globtest.sh: Test it.
14792
14793 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14794
14795 [BZ #20729]
14796 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14797 Define.
14798 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14799 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14800 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14801 for seq2.back_us and seq1.back_us only for -Os compiles.
14802 * locale/weightwc.h (findix): Likewise.
14803 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14804 DB_GET_FIELD_ADDRESS only for -Os compiles.
14805 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14806 for slen only for -Os compiles.
14807 * string/strcoll_l.c (get_next_seq): Ignore
14808 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14809 for -Os compiles.
14810
14811 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14812 * include/crypt.h: New file.
14813
14814 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14815
14816 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14817 from test-skeleton.c.
14818 (statclass): Replace calls to write with calls to write_message.
14819
14820 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14821
14822 * math/math.h
14823 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14824 New macro.
14825 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14826 Likewise.
14827 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14828 Likewise.
14829 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14830 SNANL.
14831 * math/test-double.h (snan_value_MACRO): New macro.
14832 * math/test-float.h (snan_value_MACRO): Likewise.
14833 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14834 * math/libm-test.inc (issignaling_test_data): Add tests of
14835 snan_value_MACRO.
14836
14837 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14838
14839 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14840 behavior when eliding a lock not held by the current thread.
14841 * sysdeps/powerpc/nptl/elide.h: Likewise.
14842
14843 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14844
14845 [BZ #20728]
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14847 branch to _exit() by a function call.
14848
14849 2016-10-28 Florian Weimer <fweimer@redhat.com>
14850
14851 * malloc/malloc.c: Update chunk layout comments.
14852 (chunk_main_arena): Update comment.
14853
14854 2016-10-28 Florian Weimer <fweimer@redhat.com>
14855
14856 * crypt/sha256.c, crypt/sha256-block.c,
14857 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14858 sha256_process_block to __sha256_process_block.
14859 * crypt/sha512.c, crypt/sha512-block.c,
14860 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14861 sha512_process_block to __sha512_process_block.
14862
14863 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14864
14865 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14866
14867 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14868
14869 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14870
14871 [BZ #20019]
14872 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14873 definition in unrelocated shared library.
14874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14875
14876 2016-10-28 Florian Weimer <fweimer@redhat.com>
14877
14878 [BZ #20729]
14879 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14880 * sysdeps/unix/sysv/linux/i386/Makefile
14881 (uses-6-syscall-arguments): Define.
14882 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14883 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14884 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14885 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14886 Likewise.
14887 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14888 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14889 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14890 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14891 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14892 (CFLAGS-fallocate64.os): Likewise.
14893 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14894 (CFLAGS-pthread_rwlock_timedrdlock.os)
14895 (CFLAGS-pthread_rwlock_timedwrlock.o)
14896 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14897 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14898 (CFLAGS-sem_timedwait.os): Likewise.
14899
14900 2016-10-28 Florian Weimer <fweimer@redhat.com>
14901
14902 * elf/tst-linkall-static.c: New file.
14903 * elf/Makefile (tests-static): Add tst-linkall-static.
14904 (tst-linkall-static): Link against static libraries.
14905
14906 2016-10-27 Florian Weimer <fweimer@redhat.com>
14907
14908 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14909 mmaped chunks.
14910
14911 2016-10-28 Florian Weimer <fweimer@redhat.com>
14912
14913 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14914 members to mchunk_prev_size, mchunk_size.
14915 (chunk_main_arena): Reverse sense and rename from
14916 chunk_non_main_arena.
14917 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14918 mchunk_size instead of size.
14919 (set_non_main_arena): Define.
14920 (chunksize): Use chunksize_nomask instead of direct member access.
14921 (chunksize_nomask): Define.
14922 (next_chunk): Use chunksize instead of direct member access.
14923 (prev_size, set_prev_size): Define.
14924 (prev_chunk): Use prev_size instead of direct member access.
14925 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14926 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14927 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14928 (mchunk_prev_size, mchunk_size): Poison tokens.
14929 (unlink): Use chunksize_nomask, prev_size accessors.
14930 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14931 (do_check_free_chunk): Use prev_size accessor.
14932 (sysmalloc): Use set_prev_size, set_head accessors.
14933 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14934 (__libc_free): Use chunksize_nomask accessor.
14935 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14936 chunk_main_arena accessors.
14937 (_int_free): Use chunksize_nomask, prev_size accessors.
14938 (malloc_consolidate): Use chunksize, prev_size accessors.
14939 (_int_realloc): Use chunksize_nomask accessor.
14940 (_int_memalign): Use set_prev_size accessor.
14941 (__malloc_info): Use chunksize_nomask accessor.
14942 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14943 accessors.
14944 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14945 (heap_trim): Use chunksize_nomask, prev_size accessors.
14946
14947 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14948
14949 [BZ #19380]
14950 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14951 for inexact results.
14952 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14953 of inexact result where mpfr_subnormalize is the only inexact
14954 step.
14955 * stdlib/tst-strtod-round-data.h: Regenerated.
14956 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14957 Define to 0.
14958 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14959
14960 2016-10-27 David S. Miller <davem@davemloft.net>
14961
14962 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14963
14964 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14965
14966 * malloc/malloc.c (do_set_mallopt_check): New function.
14967 (do_set_mmap_threshold): Likewise.
14968 (do_set_mmaps_max): Likewise.
14969 (do_set_top_pad): Likewise.
14970 (do_set_perturb_byte): Likewise.
14971 (do_set_trim_threshold): Likewise.
14972 (do_set_arena_max): Likewise.
14973 (do_set_arena_test): Likewise.
14974 (__libc_mallopt): Use them.
14975
14976 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14977
14978 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14979 (canonicalize): New declaration.
14980 * math/Versions (canonicalize): New libm symbol at version
14981 GLIBC_2.25.
14982 (canonicalizef): Likewise.
14983 (canonicalizel): Likewise.
14984 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14985 * math/s_canonicalize_template.c: New file.
14986 * math/libm-test.inc: Update comment on functions tested and
14987 testing of NaN payloads.
14988 (TEST_NAN_PAYLOAD): New macro.
14989 (NO_TEST_INLINE): Update value.
14990 (XFAIL_TEST): Likewise.
14991 (ERRNO_UNCHANGED): Likewise.
14992 (ERRNO_EDOM): Likewise.
14993 (ERRNO_ERANGE): Likewise.
14994 (IGNORE_RESULT): Likewise.
14995 (NON_FINITE): Likewise.
14996 (TEST_SNAN): Likewise.
14997 (NO_TEST_MATHVEC): Likewise.
14998 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14999 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15000 (struct test_Ffp_b1_data): New type.
15001 (RUN_TEST_Ffp_b1): New macro.
15002 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15003 (canonicalize_test_data): New array.
15004 (canonicalize_test): New function.
15005 (main): Call canonicalize_test.
15006 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15007 canonicalizef and canonicalizel.
15008 * manual/libm-err-tab.pl: Update comment on interfaces without
15009 ulps tabulated.
15010 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15011 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15012 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15013 canonicalize.
15014 (CFLAGS-nldbl-canonicalize.c): New variable.
15015 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15016 to ...
15017 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15018 ... here.
15019 (do_test): Also test canonicalizel.
15020 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15021 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15022 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15023 file.
15024 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15025 Use libm_hidden_def.
15026 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15027 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15028 (do_test): Also test canonicalizel.
15029 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15030 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15031 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15032 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15033 libm_hidden_def.
15034 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15035 macro.
15036 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15037 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15038 * sysdeps/nacl/libm.abilist: Update.
15039 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15052 Likewise.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15054 Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15056 Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15058 Likewise.
15059 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15065 Likewise.
15066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15067 Likewise.
15068 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15071
15072 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15073 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15074 getpayload.
15075 (CFLAGS-nldbl-getpayload.c): New variable.
15076
15077 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15078
15079 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15080 integer from the format string.
15081
15082 2016-10-26 Florian Weimer <fweimer@redhat.com>
15083
15084 [BZ #19473]
15085 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15086 declarations.
15087 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15088 weak aliases.
15089 * malloc/hooks.c (__malloc_get_state): Remove definition.
15090 (malloc_get_state): New stub implementation as
15091 compatibility symbol.
15092 (malloc_set_state): Rename from __malloc_set_state. Turn into
15093 compat symbol.
15094 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15095 malloc_set_state.
15096 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15097
15098 2016-10-26 Florian Weimer <fweimer@redhat.com>
15099
15100 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15101 (names): Turn into concatenation of strings.
15102 (gconv_init): Adapt iteration over names.
15103
15104 2016-10-26 Florian Weimer <fweimer@redhat.com>
15105
15106 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15107 make const.
15108 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15109 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15110 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15111 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15112 character in sbconv.
15113 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15114 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15115 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15116
15117 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15118
15119 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15120
15121 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15122 (M_TRIM_THRESHOLD): Likewise.
15123
15124 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15125 (M_ARENA_MAX): Likewise.
15126 * malloc/malloc.c: Remove obsolete comment.
15127
15128 * manual/memory.texi: Add environment variable alternatives to
15129 setting mallopt parameters.
15130
15131 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15132
15133 * include/atomic.h
15134 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15135 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15136
15137 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15138
15139 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15140 * stdlib/tst-strfrom.h: New file.
15141 * stdlib/tst-strfrom.c: New file.
15142 * stdlib/tst-strfrom-locale.c: New file.
15143
15144 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15145 * stdlib/bug-strtod2.c: Likewise.
15146 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15147 * stdlib/tst-strtod6.c: Likewise.
15148 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15149
15150 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15151
15152 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15153 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15154 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15155 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15156 * stdlib/stdlib.h (strfromd): New declaration.
15157 (strfromf): Likewise.
15158 (strfroml): Likewise.
15159 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15160 strfrom.
15161 * stdlib/strfromd.c: New file.
15162 * stdlib/strfromf.c: Likewise.
15163 * stdlib/strfroml.c: Likewise.
15164 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15165 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15166 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15167 * sysdeps/arm/nacl/libc.abilist: Update.
15168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15196
15197 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15198
15199 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15200 instead of cmpli.
15201 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15202 instead of cmpli.
15203
15204 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15205
15206 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15207 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15208 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15209 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15210 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15211 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15212
15213 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15214
15215 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15216 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15217 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15218 SYSCALL_LL64_PRW.
15219 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15220 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15221 __ASSUME_PRW_DUMMY_ARG.
15222 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15223 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15224 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15225 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15226 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15227 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15228
15229 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15230
15231 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15232
15233 2016-10-22 Florian Weimer <fweimer@redhat.com>
15234
15235 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15236 "C++", to override a potential extern "C" directive around the
15237 header file inclusion.
15238
15239 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15240
15241 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15242
15243 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15244
15245 * sysdeps/powerpc/fpu/fenv_private.h:
15246 (_FPU_MASK_ALL): Rename to...
15247 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15248 XE FPSCR bits.
15249
15250 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15251
15252 (_FPU_MASK_ROUNDING): Rename to...
15253 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15254 NI bits.
15255
15256 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15257 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15258 bits and rounding bits.
15259
15260 (__libc_feholdbits_ppc): New inline function to mask, set,
15261 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15262 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15263 (libc_feholdexcept_setround_ppc): Likewise.
15264
15265 (__libc_femergeenv_ppc): New function to dynamically mask both
15266 old and new FP environments and merge.
15267 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15268 (libc_feresetround_ppc): Likewise.
15269 (libc_feupdateenv_test_ppc): Likewise.
15270 (libc_feupdateenv_ppc): Likewise.
15271
15272 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15273 of ISA RN bits, and update macro names.
15274 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15275 effectively the same as the previously mentioned function.
15276
15277 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15278 usage with fe_resetround_ppc.
15279
15280 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15281 to be used.
15282 (libc_feholdexcept_setround_ctxf): Likewise.
15283 (libc_feholdexcept_setround_ctxl): Likewise.
15284
15285 2016-10-21 Florian Weimer <fweimer@redhat.com>
15286
15287 [BZ #20715]
15288 * math/math.h [__cplusplus] (iszero): Define as function template.
15289 * math/Makefile [CXX] (tests): Add test-math-iszero.
15290 (CFLAGS-test-math-iszero.cc): Set.
15291 * math/test-math-iszero.cc: New file.
15292
15293 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15294
15295 [BZ #20660]
15296 * sysdeps/arm/e_sqrt.c: New file.
15297 * sysdeps/arm/e_sqrtf.c: Likewise.
15298
15299 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15300
15301 [BZ #20718]
15302 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15303 not use floating-point comparisons to test sign.
15304 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15305 Likewise.
15306
15307 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15308 (getpayload): New declaration.
15309 * math/Versions (getpayload): New libm symbol at version
15310 GLIBC_2.25.
15311 (getpayloadf): Likewise.
15312 (getpayloadl): Likewise.
15313 * math/Makefile (libm-calls): Add s_getpayloadF.
15314 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15315 (struct test_f_f_data): Add comment.
15316 (RUN_TEST_fp_f): New macro.
15317 (RUN_TEST_LOOP_fp_f): Likewise.
15318 (getpayload_test_data): New array.
15319 (getpayload_test): New function.
15320 (main): Call getpayload_test.
15321 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15322 descriptor.
15323 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15324 getpayloadf and getpayloadl.
15325 * manual/libm-err-tab.pl: Update comment on interfaces without
15326 ulps tabulated.
15327 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15328 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15329 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15333 * sysdeps/nacl/libm.abilist: Update.
15334 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15347 Likewise.
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15349 Likewise.
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15351 Likewise.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15353 Likewise.
15354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15360 Likewise.
15361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15362 Likewise.
15363 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15366
15367 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15368
15369 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15370 tst-fallocate{64}.
15371 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15372 on syscall return.
15373
15374 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15375
15376 [BZ #20689]
15377 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15378 usable.
15379
15380 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15381
15382 * sysdeps/generic/nan-high-order-bit.h: New file.
15383 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15384 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15385 * sysdeps/hppa/math_private.h: Remove file.
15386 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15387 not define here.
15388 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15389 <nan-high-order-bit.h>.
15390 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15391 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15392 <nan-high-order-bit.h>.
15393 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15394 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15395 <nan-high-order-bit.h>.
15396 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15397 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15398 <nan-high-order-bit.h>.
15399 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15400 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15401 <nan-high-order-bit.h>.
15402 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15403 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15404 <nan-high-order-bit.h>.
15405 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15406 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15407 <nan-high-order-bit.h>.
15408 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15409 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15410 <nan-high-order-bit.h>.
15411 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15412 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15413 <nan-high-order-bit.h>.
15414 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15415 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15416 <nan-high-order-bit.h>.
15417 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15418 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15419 <nan-high-order-bit.h>.
15420 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15421 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15422 <nan-high-order-bit.h>.
15423 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15424 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15425 <nan-high-order-bit.h>.
15426 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15427 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15428 <nan-high-order-bit.h>.
15429 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15430 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15431 <nan-high-order-bit.h>.
15432 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15433 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15434 <nan-high-order-bit.h>.
15435 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15436 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15437 <nan-high-order-bit.h>.
15438 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15439 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15440 <nan-high-order-bit.h>.
15441 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15442
15443 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15444
15445 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15446
15447 2016-09-22 John David Anglin <dave.anglin@bell.net>
15448
15449 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15450 abort-instr.h.
15451 (EFAULT): Remove conditional define.
15452 (ENOSYS): Likewise.
15453 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15454 instead of conditional branch instructions.
15455
15456 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15457
15458 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15459 (totalordermag): New declaration.
15460 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15461 New macro.
15462 * math/Versions (totalordermag): New libm symbol at version
15463 GLIBC_2.25.
15464 (totalordermagf): Likewise.
15465 (totalordermagl): Likewise.
15466 * math/Makefile (libm-calls): Add s_totalordermagF.
15467 * math/libm-test.inc (totalordermag_test_data): New array.
15468 (totalordermag_test): New function.
15469 (main): Call totalordermag_test.
15470 * math/test-tgmath.c (NCALLS): Increase to 125.
15471 (F(compile_test)): Call totalordermag.
15472 (F(totalordermag)): New function.
15473 * manual/arith.texi (FP Comparison Functions): Document
15474 totalordermag, totalordermagf and totalordermagl.
15475 * manual/libm-err-tab.pl: Update comment on interfaces without
15476 ulps tabulated.
15477 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15478 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15479 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15484 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15485 totalordermag.
15486 (CFLAGS-nldbl-totalordermag.c): New variable.
15487 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15488 (do_test): Also test totalordermagl.
15489 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15490 Likewise.
15491 * sysdeps/nacl/libm.abilist: Update.
15492 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15505 Likewise.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15507 Likewise.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15509 Likewise.
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15511 Likewise.
15512 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15518 Likewise.
15519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15520 Likewise.
15521 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15524
15525 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15526
15527 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15528 boolean.
15529
15530 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15531
15532 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15533 raising FE_INVALID with feraisexcept in case where part of
15534 argument is infinite, subtract that part of argument from itself.
15535 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15536 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15537 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15538
15539 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15540
15541 * math/libm-test.inc (totalorder_test_data): Add more tests.
15542
15543 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15544
15545 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15546 Undefine weak_alias and add a comment why mips64 require
15547 versioning.
15548
15549 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15550
15551 [BZ #20647]
15552 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15553 maximum CPUID level is less than 2.
15554
15555 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15556
15557 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15558 (totalorder): New declaration.
15559 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15560 New macro.
15561 * math/Versions (totalorder): New libm symbol at version
15562 GLIBC_2.25.
15563 (totalorderf): Likewise.
15564 (totalorderl): Likewise.
15565 * math/Makefile (libm-calls): Add s_totalorderF.
15566 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15567 string.
15568 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15569 (qnan_value_pl): Likewise.
15570 (snan_value_pl): Likewise.
15571 (qnan_value): Define using qnan_value_pl.
15572 (snan_value): Define using snan_value_pl.
15573 (struct test_ff_i_data): Add comment about which tests use this
15574 structure.
15575 (RUN_TEST_ff_b): New macro.
15576 (RUN_TEST_LOOP_ff_b): Likewise.
15577 (totalorder_test_data): New array.
15578 (totalorder_test): New function.
15579 (main): Call totalorder_test.
15580 * math/test-tgmath.c (NCALLS): Increase to 122.
15581 (F(compile_test)): Call totalorder.
15582 (F(totalorder)): New function.
15583 * manual/arith.texi (FP Comparison Functions): Document
15584 totalorder, totalorderf and totalorderl.
15585 * manual/libm-err-tab.pl: Update comment on interfaces without
15586 ulps tabulated.
15587 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15588 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15589 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15594 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15595 totalorder.
15596 (CFLAGS-nldbl-totalorder.c): New variable.
15597 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15598 file.
15599 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15600 Add test-totalorderl-ldbl-128ibm.
15601 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15602 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15603 test-totalorderl-ldbl-96.
15604 * sysdeps/nacl/libm.abilist: Update.
15605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15618 Likewise.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15620 Likewise.
15621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15622 Likewise.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15624 Likewise.
15625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15631 Likewise.
15632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15633 Likewise.
15634 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15637
15638 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15639
15640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15641 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15642 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15643 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15644 remove ENOSYS implementation.
15645 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15646 Consolidate all Linux implementations.
15647
15648 2016-10-11 Florian Weimer <fweimer@redhat.com>
15649
15650 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15651 * resolv/herror.c (herror): Cast away const-ness.
15652 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15653 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15654
15655 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15656
15657 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15658 instead of M_NAN + M_NAN.
15659 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15660
15661 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15662
15663 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15664 unused variable 'p'.
15665
15666 2016-10-09 Alan Modra <amodra@gmail.com>
15667 Andreas Schwab <schwab@linux-m68k.org>
15668
15669 [BZ #20554]
15670 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15671 [PIC && !SHARED]: Set up PIC register for PLT call.
15672
15673 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15674
15675 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15676 conditional on value of [__FLT_EVAL_METHOD__].
15677 * math/test-iseqsig-excess-precision.c: New file.
15678 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15679
15680 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15681
15682 * math/s_iseqsig_template.c: Include math-private.h.
15683
15684 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15685 * posix/tst-posix_fadvise.c: New file.
15686 * posix/tst-posix_fadvise64.c: Likewise.
15687 * posix/tst-posix_fadvise-common.c: Likewise.
15688 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15689 (__ASSUME_FADVISE64_64_6ARG): Define.
15690 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15691 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15692 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15693 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15694 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15695 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15696 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15697 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15698 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15699 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15700 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15701 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15704 Likewise.
15705 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15706 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15707 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15708 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15709 Alias to __posix_fadvise64_l32.
15710 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15711 Add compat definition to posix_fadvise64.
15712 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15713 Add versioned definition to posix_fadvise64.
15714 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15715 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15716 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15717 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15718 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15719
15720 * io/Makefile (tests): Add tst-posix_fallocate and
15721 tst-posix_fallocate64.
15722 * io/tst-posix_fallocate-common.c: New file.
15723 * io/tst-posix_fallocate.c: Likewise.
15724 * io/tst-posix_fallocate64.c: Likewise.
15725 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15726 file.
15727 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15728 Likewise.
15729 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15730 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15731 Likewise.
15732 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15733 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15734 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15735 SYSCALL_LL to pass both offset and len arguments.
15736 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15737 Likewise.
15738 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15739 __libc_pwrite64 alias used by posix_fallocate64.
15740
15741 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15742 tst-fallocate64.
15743 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15744 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15745 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15746 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15747 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15748 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15749 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15750 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15751 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15752 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15753 macro on offset argument.
15754 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15755 SYSCALL_LL64 on offset argument.
15756
15757 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15758 tst-fallocate64.
15759 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15760 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15761 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15762 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15763 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15764 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15765 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15766 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15767 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15768 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15769 macro on offset argument.
15770 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15771 SYSCALL_LL64 on offset argument.
15772 * test-skeleton.c (FAIL_RET): Add macro.
15773 (FAIL_EXIT): Likewise.
15774 (FAIL_EXIT1): Likewise.
15775 (_FAIL): Likewise.
15776
15777 2016-10-07 Florian Weimer <fweimer@redhat.com>
15778
15779 [BZ #20629]
15780 resolv: Remove RES_USEBSTRING and its implementation.
15781 * resolv/resolv.h (RES_USEBSTRING): Remove.
15782 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15783 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15784 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15785 (labellen): Remove extended label types support.
15786 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15787 * resolv/res_init.c (res_setoptions): Likewise.
15788 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15789
15790 2016-10-07 Florian Weimer <fweimer@redhat.com>
15791
15792 resolv: Remove RES_NOIP6DOTINT and its implementation.
15793 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15794 (RES_NOIP6DOTINT): Remove.
15795 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15796 handling.
15797 * resolv/res_debug.c (p_option): Likewise.
15798 * resolv/res_init.c (res_setoptions): Likewise.
15799 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15800
15801 2016-10-07 Florian Weimer <fweimer@redhat.com>
15802
15803 resolv: Deprecate unimplemented flags.
15804 * misc/sys/cdefs.h (__glibc_macro_warning1)
15805 (__glibc_macro_warning): Define.
15806 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15807 (RES_KEEPTSIG): Mark as deprecated.
15808 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15809 RES_NOCHECKNAME, RES_KEEPTSIG.
15810 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15811
15812 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15813
15814 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15815 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15816 Use strong_alias to create symbols for glibc verison 2.19.
15817
15818 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15819
15820 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15821
15822 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15823
15824 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15825
15826 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15827
15828 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15829
15830 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15831
15832 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15833 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15834 in header for using it as type for ifunc function because __GI_* symbols
15835 for ppc32 do not target the ifunc symbols.
15836 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15837
15838 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15839
15840 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15841 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15842 libc_ifunc_hidden_def.
15843 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15844 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15845 Redirect ifunced function in header for using it as type of ifunc'ed
15846 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15847 function for __GI_* symbol.
15848 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15849 * include/libc-symbols.h
15850 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15851
15852 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15853
15854 [BZ #20478]
15855 * sysdeps/s390/multiarch/ifunc-resolve.h
15856 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15857 to create ifunc symbols.
15858 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15859 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15860 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15861 for using it as type for ifunc function.
15862 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15863 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15864 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15865 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15866 * sysdeps/s390/multiarch/strcat.c: Likewise.
15867 * sysdeps/s390/multiarch/strchr.c: Likewise.
15868 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15869 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15870 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15871 * sysdeps/s390/multiarch/strlen.c: Likewise.
15872 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15873 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15874 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15875 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15876 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15877 * sysdeps/s390/multiarch/strspn.c: Likewise.
15878 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15879 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15880 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15881 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15882 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15883 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15884 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15885 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15886 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15887 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15888 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15889 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15890
15891 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15892
15893 * include/libc-symbols.h (__ifunc_resolver):
15894 New macro is used by __ifunc* macros.
15895 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15896 depending on HAVE_GCC_IFUNC.
15897 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15898 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15900 Redirect ifunced function in header for using as type for ifunc function.
15901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15907 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15908 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15909 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15910 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15911 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15912 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15914 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15920 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15921 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15922 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15923 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15924 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15925 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15926 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15927 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15928 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15929 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15930 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15931 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15932 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15933 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15935 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15936 instead of libc_ifunc() macro.
15937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15938 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15939
15940 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15941
15942 * config.h.in (HAVE_GCC_IFUNC): New undef.
15943 * configure.ac: Add check if gcc supports attribute ifunc feature.
15944 * configure: Regenerated.
15945 * manual/install.texi: Add recommendation for gcc with
15946 indirect-function support.
15947 * INSTALL: Regenerated.
15948
15949 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15950
15951 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15952 macro.
15953 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15954 (__iseqsig): New declaration.
15955 * math/s_iseqsig_template.c: New file.
15956 * math/Versions (__iseqsigf): New libm symbol at version
15957 GLIBC_2.25.
15958 (__iseqsig): Likewise.
15959 (__iseqsigl): Likewise.
15960 * math/libm-test.inc (iseqsig_test_data): New array.
15961 (iseqsig_test): New function.
15962 (main): Call iseqsig_test.
15963 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15964 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15965 * manual/libm-err-tab.pl: Update comment on interfaces without
15966 ulps tabulated.
15967 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15968 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15969 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15970 * sysdeps/nacl/libm.abilist: Update.
15971 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15984 Likewise.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15986 Likewise.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15988 Likewise.
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15990 Likewise.
15991 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15997 Likewise.
15998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15999 Likewise.
16000 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16003
16004 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16005
16006 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16007 do_sincos_2, sloww, sloww1): Update comments.
16008
16009 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16010 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16011
16012 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16013 K boolean and rename it.
16014 (__sin): Adjust.
16015 (__cos): Adjust.
16016
16017 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16018 Siddhesh Poyarekar <siddhesh@sourceware.org>
16019
16020 * manual/nss.texi: Fix typos in the manual.
16021
16022 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16023
16024 * manual/contrib.texi: Fix typos in the manual.
16025
16026 * manual/maint.texi: Fix typos in the manual.
16027
16028 * manual/install.texi: Fix typos in the manual.
16029 * INSTALL: Regenerated.
16030
16031 * manual/lang.texi: Fix typos in the manual.
16032
16033 * manual/probes.texi: Fix typos in the manual.
16034
16035 * manual/threads.texi: Fix typos in the manual.
16036
16037 * manual/debug.texi: Fix typos in the manual.
16038
16039 * manual/crypt.texi: Fix typos in the manual.
16040
16041 * manual/conf.texi: Fix typos in the manual.
16042
16043 * manual/sysinfo.texi: Fix typos in the manual.
16044
16045 * manual/users.texi: Fix typos in the manual.
16046
16047 * manual/job.texi: Fix typos in the manual.
16048
16049 * manual/process.texi: Fix typos in the manual.
16050
16051 * manual/argp.texi: Fix typos in the manual.
16052 * manual/getopt.texi: Likewise.
16053 * manual/startup.texi: Likewise.
16054
16055 * manual/signal.texi: Fix typos in the manual.
16056
16057 * manual/setjmp.texi: Fix typos in the manual.
16058
16059 * manual/resource.texi: Fix typos in the manual.
16060
16061 * manual/time.texi: Fix typos in the manual.
16062
16063 * manual/arith.texi: Fix typos in the manual.
16064
16065 * manual/math.texi: Fix typos in the manual.
16066
16067 * manual/syslog.texi: Fix typos in the manual.
16068
16069 * manual/terminal.texi: Fix typos in the manual.
16070
16071 * manual/socket.texi: Fix typos in the manual.
16072
16073 * manual/filesys.texi: Fix typos in the manual.
16074
16075 * manual/llio.texi: Fix typos in the manual.
16076
16077 * manual/stdio.text: Fix typos in the manual.
16078
16079 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16080
16081 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16082 instead of K1.
16083
16084 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16085 SHIFT_QUADRANT and make it bool.
16086 (do_sincos_2): Likewise.
16087 (sloww): Likewise.
16088 (sloww1): Likewise.
16089 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16090 (__cos): Likewise.
16091
16092 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16093
16094 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16095
16096 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16097
16098 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16099 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16100 0x7fffffffL].
16101 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16102
16103 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16104
16105 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16106 inline by __inline__.
16107 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16108 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16109 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16110 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16111 sigset_t from signal.h.
16112 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16113 which is already required.
16114
16115 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16116
16117 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16118
16119 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16120
16121 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16122 (struct tcp_repair_window): New type.
16123
16124 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16125
16126 * libio/tst-memstream3.c: Include string.h.
16127
16128 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16129
16130 [BZ #18241]
16131 [BZ #20181]
16132 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16133 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16134 write position is at the end the buffer.
16135 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16136 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16137 (_IO_str_seekoff): Set correct offset from negative displacement and
16138 set EINVAL for invalid ones.
16139 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16140 buffer length.
16141 (_IO_wstr_switch_to_get_mode): New function.
16142 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16143 set EINVAL for invalid ones.
16144 * libio/tst-memstream3.c: New file.
16145 * libio/tst-wmemstream3.c: Likewise.
16146 * manual/examples/memstrm.c: Remove warning when priting size_t.
16147
16148 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16149
16150 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16151 macro to use __builtin_fma.
16152 * sysdeps/x86_64/fpu/dla.h: Remove file.
16153
16154 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16155 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16156 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16157
16158 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16159
16160 [BZ #20292]
16161 * elf/Makefile (routines): Add dl-addr-obj.
16162 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16163 tst-_dl_addr_inside_object.
16164 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16165 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16166 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16167 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16168 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16169 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16170 * elf/dl-open.c: Likewise.
16171 * elf/dl-addr-obj.c: New file.
16172 * elf/tst-_dl_addr_inside_object.c: New file.
16173
16174 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16175
16176 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16177 <bits/iscanonical.h>.
16178 * bits/iscanonical.h: New file.
16179 * math/s_iscanonicall.c: Likewise.
16180 * math/Versions (__iscanonicall): New libm symbol at version
16181 GLIBC_2.25.
16182 * math/libm-test.inc (iscanonical_test_data): New array.
16183 (iscanonical_test): New function.
16184 (main): Call iscanonical_test.
16185 * math/Makefile (headers): Add bits/iscanonical.h.
16186 (type-ldouble-routines): Add s_iscanonicall.
16187 * manual/arith.texi (Floating Point Classes): Document
16188 iscanonical.
16189 * manual/libm-err-tab.pl: Update comment on interfaces without
16190 ulps tabulated.
16191 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16192 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16193 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16194 Likewise.
16195 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16196 test-iscanonical-ldbl-128ibm.
16197 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16198 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16200 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16201 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16205 Likewise.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16207 Likewise.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16209 Likewise.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16211 Likewise.
16212 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16214
16215 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16216
16217 * string/bits/string3.h: Remove C++ style comments.
16218
16219 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16220
16221 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16222 instead of ternary condition.
16223 (do_sincos_2): Likewise.
16224 (__sin): Likewise.
16225 (__cos): Likewise.
16226 (slow): Likewise.
16227 (sloww): Likewise.
16228 (sloww1): Likewise.
16229 (bsloww): Likewise.
16230 (bsloww1): Likewise.
16231
16232 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16233 instead of ternary condition.
16234 (do_sin_slow): Likewise.
16235 (do_sincos_1): Likewise.
16236 (do_sincos_2): Likewise.
16237 (__cos): Likewise.
16238 (sloww): Likewise.
16239 (sloww1): Likewise.
16240 (sloww2): Likewise.
16241 (bsloww): Likewise.
16242 (bsloww1): Likewise.
16243 (bsloww2): Likewise.
16244
16245 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16246 check from here...
16247 (slow2): ... and here...
16248 (__sin): ... to here.
16249
16250 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16251
16252 * math/math.h
16253 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16254 Cast argument to its own type.
16255 * math/test-iszero-excess-precision.c: New file.
16256 * math/Makefile (tests): Add test-iszero-excess-precision.
16257 (CFLAGS-test-iszero-excess-precision.c): New variable.
16258
16259 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16260
16261 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16262 field, add err field.
16263 (__spawni_child): Report error through err member instead of pipe.
16264 (__spawnix): Likewise.
16265
16266 2016-09-28 Zack Weinberg <zackw@panix.com>
16267
16268 * scripts/check-installed-headers.sh: Generalize treatment of
16269 sys/elf.h to all target architectures.
16270
16271 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16272 deleted typedef ucontext_t.
16273
16274 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16275
16276 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16277 (__INTERNAL_SYSCALL1): Likewise.
16278 (__INTERNAL_SYSCALL2): Likewise.
16279 (__INTERNAL_SYSCALL3): Likewise.
16280 (__INTERNAL_SYSCALL4): Likewise.
16281 (__INTERNAL_SYSCALL5): Likewise.
16282 (__INTERNAL_SYSCALL6): Likewise.
16283 (__INTERNAL_SYSCALL7): Likewise.
16284 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16285 (__INTERNAL_SYSCALL_NARGS): Likewise.
16286 (__INTERNAL_SYSCALL_DISP): Likewise.
16287 (INTERNAL_SYSCALL_CALL): Likewise.
16288 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16289 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16290 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16291 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16292 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16293 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16294 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16295 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16296 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16297 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16298 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16299 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16300 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16301
16302 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16303
16304 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16305 macro.
16306 * math/libm-test.inc (iszero_test_data): New array.
16307 (iszero_test): New function.
16308 (main): Call iszero_test.
16309 * manual/arith.texi (Floating Point Classes): Document iszero.
16310 * manual/libm-err-tab.pl: Update comment on interfaces without
16311 ulps tabulated.
16312
16313 2016-09-23 Zack Weinberg <zackw@panix.com>
16314
16315 * scripts/check-installed-headers.sh: New script.
16316 * Rules: In each directory that defines header files to be installed,
16317 run check-installed-headers.sh on them as a special test.
16318 * Makefile: Likewise for the headers installed at top level.
16319
16320 * include/aliases.h, include/alloca.h, include/argz.h
16321 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16322 * include/elf.h, include/envz.h, include/err.h
16323 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16324 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16325 * include/link.h, include/malloc.h, include/mcheck.h
16326 * include/mntent.h, include/netinet/ether.h
16327 * include/nss.h, include/obstack.h, include/printf.h
16328 * include/pty.h, include/resolv.h, include/rpc/auth.h
16329 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16330 * include/rpc/clnt.h, include/rpc/des_crypt.h
16331 * include/rpc/key_prot.h, include/rpc/netdb.h
16332 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16333 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16334 * include/rpc/rpc_msg.h, include/rpc/svc.h
16335 * include/rpc/svc_auth.h, include/rpc/xdr.h
16336 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16337 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16338 * include/rpcsvc/ypupd.h, include/shadow.h
16339 * include/stdio_ext.h, include/sys/epoll.h
16340 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16341 * include/sys/prctl.h, include/sys/profil.h
16342 * include/sys/statfs.h, include/sys/sysctl.h
16343 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16344 * sysdeps/arm/nacl/include/bits/setjmp.h
16345 * sysdeps/mips/include/sys/asm.h
16346 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16347 * sysdeps/unix/sysv/linux/include/sys/timex.h
16348 * sysdeps/x86/fpu/include/bits/fenv.h:
16349 Add #ifndef _ISOMAC guard around internal declarations.
16350 Add multiple-inclusion guard if not already present.
16351
16352 2016-09-23 Zack Weinberg <zackw@panix.com>
16353
16354 * sysdeps/generic/sys/ucontext.h
16355 * sysdeps/arm/sys/ucontext.h
16356 * sysdeps/i386/sys/ucontext.h
16357 * sysdeps/m68k/sys/ucontext.h
16358 * sysdeps/mips/sys/ucontext.h
16359 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16360 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16361 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16362 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16363 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16364 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16365 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16366 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16367 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16368 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16369 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16370 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16371 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16372 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16373 Include both bits/sigcontext.h and bits/sigstack.h.
16374 Fix grammar error in comment, if present.
16375
16376 * bits/sigstack.h
16377 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16378 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16379 * sysdeps/unix/sysv/linux/bits/sigstack.h
16380 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16381 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16382 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16383 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16384 * bits/sigcontext.h
16385 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16386 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16387 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16388 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16389 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16390 as well as signal.h, if this was not already allowed. Request
16391 definition of size_t if necessary. Minimize semantically-null
16392 differences across files.
16393
16394 2016-09-23 Zack Weinberg <zackw@panix.com>
16395
16396 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16397 Remove all logic conditional on __need macros. Move all the
16398 conditionally defined types to their own headers...
16399 * time/bits/types/clock_t.h: Define clock_t here.
16400 * time/bits/types/clockid_t.h: Define clockid_t here.
16401 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16402 * time/bits/types/struct_timespec.h: Define struct timespec here.
16403 * time/bits/types/struct_timeval.h: Define struct timeval here.
16404 * time/bits/types/struct_tm.h: Define struct tm here.
16405 * time/bits/types/time_t.h: Define time_t here.
16406 * time/bits/types/timer_t.h: Define timer_t here.
16407 * time/Makefile: Install the new headers.
16408
16409 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16410 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16411 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16412 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16413 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16414 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16415 * sysdeps/unix/sysv/linux/bits/resource.h
16416 * sysdeps/unix/sysv/linux/bits/timex.h
16417 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16418 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16419 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16420 * sysdeps/unix/sysv/linux/sys/acct.h
16421 * sysdeps/unix/sysv/linux/sys/timerfd.h
16422 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16423 * time/sys/time.h, time/sys/timeb.h
16424 Use the new bits/types headers.
16425
16426 * include/time.h: Remove __need logic.
16427 * include/bits/time.h
16428 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16429 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16430 * include/bits/types/struct_itimerspec.h
16431 * include/bits/types/struct_timespec.h
16432 * include/bits/types/struct_timeval.h
16433 * include/bits/types/struct_tm.h:
16434 New wrapper headers.
16435
16436 2016-09-23 Zack Weinberg <zackw@panix.com>
16437
16438 * sysdeps/mach/hurd/net/if_ppp.h
16439 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16440 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16441 if __USE_MISC is defined, to ensure struct ifreq is declared.
16442
16443 * inet/netinet/ether.h: Condition all function prototypes
16444 on __USE_MISC, to ensure struct ether_addr is declared.
16445
16446 * socket/bits/types/struct_osockaddr.h: New header.
16447 * include/bits/types/struct_osockaddr.h: New wrapper.
16448 * socket/Makefile: Install the new header.
16449 * socket/sys/socket.h, inet/protocols/talkd.h:
16450 Refer to bits/types/struct_osockaddr.h for the definition of
16451 struct osockaddr.
16452
16453 2016-09-23 Zack Weinberg <zackw@panix.com>
16454
16455 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16456 * inet/protocols/routed.h, inet/protocols/talkd.h
16457 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16458 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16459 * sysdeps/generic/netinet/if_ether.h
16460 * sysdeps/generic/netinet/in_systm.h
16461 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16462 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16463 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16464 * sysdeps/mach/hurd/net/if_arp.h
16465 * sysdeps/mach/hurd/net/if_ppp.h
16466 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16467 * sysdeps/unix/sysv/linux/bits/in.h
16468 * sysdeps/unix/sysv/linux/net/ethernet.h
16469 * sysdeps/unix/sysv/linux/net/if_arp.h
16470 * sysdeps/unix/sysv/linux/net/if_ppp.h
16471 * sysdeps/unix/sysv/linux/net/if_shaper.h
16472 * sysdeps/unix/sysv/linux/net/route.h
16473 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16474 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16475 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16476 * sysdeps/unix/sysv/linux/netipx/ipx.h
16477 * sysdeps/unix/sysv/linux/sys/acct.h
16478 * include/arpa/nameser.h, include/resolv.h:
16479 Change all uses of u_char to unsigned char,
16480 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16481 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16482 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16483 and u_int64_t and u_quad_t to uint64_t.
16484
16485 * mach/sys/reboot.h: Remove two casts of integer literals
16486 to the types they already have.
16487
16488 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16489 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16490 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16491 from referring to 'unsigned char' to 'uint8_t' for consistency with
16492 the macro definition below.
16493
16494 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16495 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16496 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16497 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16498 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16499 * sysdeps/unix/sysv/linux/sys/acct.h
16500 * include/arpa/nameser.h, include/resolv.h:
16501 Fix indentation disrupted by mechanical edits.
16502
16503 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16504 * sysdeps/generic/netinet/in_systm.h
16505 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16506 * sysdeps/gnu/netinet/udp.h
16507 * sysdeps/unix/sysv/linux/net/ethernet.h
16508 * sysdeps/unix/sysv/linux/net/if_arp.h
16509 * sysdeps/unix/sysv/linux/net/if_ppp.h
16510 * sysdeps/unix/sysv/linux/net/if_shaper.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 stdint.h for uintNN_t definitions.
16516 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16517
16518 2016-09-23 Zack Weinberg <zackw@panix.com>
16519
16520 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16521 * sysdeps/unix/sysv/linux/netrose/rose.h:
16522 Include sys/socket.h and netax25/ax25.h.
16523
16524 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16525 * resolv/arpa/nameser_compat.h:
16526 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16527
16528 * sysdeps/unix/sysv/linux/sys/quota.h:
16529 Use __caddr_t instead of caddr_t.
16530 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16531 Use __clockid_t instead of clockid_t.
16532
16533 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16534
16535 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16536 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16537 expanding it.
16538
16539 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16540 Define __glibc_c99_flexarr_available to 1 when the compiler
16541 supports C99-compatible flexible array members, 0 otherwise.
16542 * sysdeps/unix/sysv/linux/bits/socket.h
16543 * sysdeps/mach/hurd/bits/socket.h
16544 * bits/socket.h: Use __glibc_c99_flexarr_available in
16545 definitions of struct cmsghdr and CMSG_DATA.
16546
16547 2016-09-23 Florian Weimer <fweimer@redhat.com>
16548
16549 * manual/nss.texi (NSS Modules Interface): Adjust function return
16550 type to enum nss_status. Document errnop argument. Clarify
16551 h_errnop semantics. Fix cross-reference formatting.
16552 (NSS Module Function Internals): Mention that *errnop needs to be
16553 set on failure, but not to zero.
16554
16555 2016-09-23 Florian Weimer <fweimer@redhat.com>
16556
16557 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16558 (get_random_name): New functions.
16559 (check_wrapper_flags_mode): Use linkat to give the new file a name
16560 determined by get_random_name.
16561 (do_test): Add calls to test open64 and openat64.
16562
16563 2016-09-23 Florian Weimer <fweimer@redhat.com>
16564
16565 * test-skeleton.c: Remove #include <stdarg.h>.
16566
16567 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16568
16569 [BZ #19826]
16570 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16571 initialization of static TLS entries.
16572 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16573 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16574
16575 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16576
16577 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16578 _hurd_malloc_fork_prepare.
16579 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16580 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16581 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16582 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16583 (_hurd_fork_child_hook): Drop malloc_fork_child.
16584 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16585 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16586 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16587 after locking locks (notably hurd_dtable_lock). Call
16588 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16589 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16590 __malloc_fork_unlock_child.
16591 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16592
16593 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16594
16595 * soft-fp/extendhftf2.c: New.
16596 * soft-fp/fixhfti.c: Likewise.
16597 * soft-fp/fixunshfti.c: Likewise.
16598 * soft-fp/floattihf.c: Likewise.
16599 * soft-fp/floatuntihf.c: Likewise.
16600 * soft-fp/half.h: Likewise.
16601 * soft-fp/trunctfhf2.c: Likewise.
16602
16603 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16604
16605 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16606 macro.
16607 * math/libm-test.inc (issubnormal_test_data): New array.
16608 (issubnormal_test): New function.
16609 * manual/arith.texi (Floating Point Classes): Document
16610 issubnormal.
16611 * manual/libm-err-tab.pl: Update comment on interfaces without
16612 ulps tabulated.
16613
16614 * sysdeps/generic/stdint.h: Define
16615 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16616 <bits/libc-header-start.h> instead of including <features.h>.
16617 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16618 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16619 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16620 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16621 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16622 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16623 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16624 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16625 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16626 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16627 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16628 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16629 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16630 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16631 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16632 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16633 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16634 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16635 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16636 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16637 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16638 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16639 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16640 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16641 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16642 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16643 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16644 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16645 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16646 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16647 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16648 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16649 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16650 * manual/arith.texi (Integers): Document these macros for types
16651 specified by width properties.
16652 * manual/lang.texi (Width of Type): Document these macros for
16653 other standard typedefs.
16654 * stdlib/tst-width-stdint.c: New file.
16655 * stdlib/Makefile (tests): Add tst-width-stdint.
16656
16657 2016-09-21 Florian Weimer <fweimer@redhat.com>
16658
16659 [BZ #20016]
16660 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16661 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16662 Move ...
16663 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16664 ... here, as compatibility symbols in a new file.
16665 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16666 * resolv/res_init.c (__res_vinit): Adjust member names.
16667 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16668 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16669 (res_send_rhook): Remove.
16670 (struct __res_state): Rename qhook, rhook members.
16671
16672 2016-09-21 Florian Weimer <fweimer@redhat.com>
16673
16674 malloc: Use __libc_lock wrappers.
16675 * malloc/arena.c (list_lock, free_list_lock): Define using
16676 __libc_lock_define_initialized.
16677 (arena_lock): Adjust formatting.
16678 * malloc/malloc.c (struct malloc_state): Define mutex using
16679 __libc_lock_define.
16680 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16681 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16682 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16683 (mutex_unlock, mutex_trylock): Remove.
16684 (__pthread_initialize): Remove unused macro.
16685 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16686 (mutex_unlock, mutex_trylock): Remove.
16687
16688 2016-09-21 Florian Weimer <fweimer@redhat.com>
16689
16690 [BZ #20592]
16691 Remove RR type classification macros.
16692 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16693 (ns_t_udp_p, ns_t_xfr_p): Remove.
16694
16695 2016-09-21 Florian Weimer <fweimer@redhat.com>
16696
16697 Remove misleading version information.
16698 * resolv/arpa/nameser.h (__NAMESER): Remove.
16699 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16700
16701 2016-09-21 Florian Weimer <fweimer@redhat.com>
16702
16703 Remove the always-defined BIND_4_COMPAT macro.
16704 * resolv/arpa/nameser.h: Unconditionally include
16705 <arpa/nameser_compat.h>.
16706 (BIND_4_COMPAT): Remove.
16707 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16708
16709 2016-09-21 Florian Weimer <fweimer@redhat.com>
16710
16711 [BZ #20591]
16712 Remove obsolete DNSSEC support.
16713 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16714 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16715 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16716 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16717 (ns_cert_types): Add comment.
16718 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16719 separately.
16720 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16721 (dst_s_dns_key_id): Remove.
16722 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16723 variables.
16724
16725 2016-09-21 Florian Weimer <fweimer@redhat.com>
16726
16727 [BZ #20524]
16728 * manual/string.texi (String/Array Comparison): Clarify the
16729 strverscmp behavior.
16730
16731 2016-09-21 Florian Weimer <fweimer@redhat.com>
16732
16733 * test-skeleton.c (xasprintf): Add function.
16734 * io/tst-open-tmpfile.c: New test.
16735 * io/Makefile (tests): Add it.
16736
16737 2016-09-21 Florian Weimer <fweimer@redhat.com>
16738
16739 Avoid running $(CXX) during build to obtain header file paths.
16740 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16741 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16742 * Makerules (cstdlib, cmath): Remove variables. Use
16743 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16744 * configure: Regenerate.
16745
16746 2016-09-21 Florian Weimer <fweimer@redhat.com>
16747
16748 * Makeconfig (all-object-suffixes): Include .op only if
16749 $(build-profile).
16750
16751 2016-09-21 Florian Weimer <fweimer@redhat.com>
16752
16753 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16754 conditionals. Do not define PATH_MAX.
16755
16756 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16757
16758 * posix/Makefile (tests): Add tst-spawn3.
16759 * posix/tst-spawn3.c: New file.
16760 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16761 if it is already opened for open action.
16762
16763 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16764 all signals when executing the clone vfork child.
16765 (SIGALL_SET): Remove macro.
16766
16767 * nptl/Makefile (tests): Add tst-exec5.
16768 * nptl/tst-exec5.c: New file.
16769 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16770 asynchronous cancellation.
16771
16772 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16773
16774 * hurd/exc2signal.c: #include <hurd/signal.h>
16775 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16776 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16777 accordingly.
16778 * mach/mach_error.c (mach_error): Fix old-style function definition.
16779 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16780
16781 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16782
16783 * math/Makefile (libm-calls): Remove s_nanF.
16784 (gen-libm-calls): Add s_nanF.
16785
16786 * math/s_nan.c: Refactor into ...
16787 * math/s_nan_template.c: New file.
16788
16789 * math/s_nanf.c: Removed.
16790 * math/s_nanl.c: Removed.
16791 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16792 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16793
16794 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16795 (LDOUBLE_nanl_libm_version): New macro.
16796
16797 * sysdeps/generic/math-type-macros-double.h:
16798 (M_STRTO_NAN): New macro.
16799 * sysdeps/generic/math-type-macros-float.h: Likewise.
16800 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16801
16802 * sysdeps/generic/math-type-macros.h: Document
16803 M_STRTO_NAN.
16804
16805 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16806
16807 * math/s_nanf.c: Remove __nanf undef.
16808 * math/s_nan.c: Remove __nan undef.
16809 * math/s_nanl.c: Remove __nanl undef.
16810
16811 * sysdeps/generic/math_private.h (__nan): Remove macro
16812 override.
16813 (__nanf): Likewise.
16814 (__nanl): Likewise.
16815
16816 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16817
16818 * math/Makefile (gen-all-calls): New variable.
16819 (generated): Replace gen-libm-calls with gen-all-calls.
16820 (gen-libm-templates.stmp): Likewise. Also, ensure
16821 the output directory exists or is created and add
16822 dependency on the Makefile.
16823 (calls): Move s_ldexpF into gen-calls.
16824 (gen-calls): New variable.
16825
16826 * math/s_ldexpf.c: Removed.
16827 * math/s_ldexpl.c: Removed.
16828 * math/s_ldexp.c: Refactored into ...
16829 * math/s_ldexp_template.c: New file.
16830
16831 * sysdeps/generic/math-type-macros-double.h: Remove
16832 redundant fall-through definition of declare_mgen_alias.
16833 (declare_mgen_alias_2): New macro.
16834
16835 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16836 New macro for function aliased to two exported symbols.
16837
16838 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16839 new template file.
16840 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16841
16842 2016-09-20 Florian Weimer <fweimer@redhat.com>
16843
16844 * Makeconfig (all-object-suffixes): Remove .og.
16845 * Makerules (elide-routines.og): Remove.
16846 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16847 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16848 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16849
16850 2016-09-20 Florian Weimer <fweimer@redhat.com>
16851
16852 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16853 .os objects.
16854
16855 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16856
16857 [BZ #20615]
16858 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16859 fpu directory by non-fpu.
16860 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16861 on non-fpu directory from a fpu directory.
16862
16863 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16864
16865 * include/limits.h: Define
16866 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16867 <bits/libc-header-start.h> instead of including <features.h>.
16868 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16869 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16870 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16871 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16872 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16873 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16874 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16875 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16876 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16877 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16878 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16879 * manual/lang.texi (Width of Type): Document these macros.
16880 * stdlib/tst-width.c: New file.
16881 * stdlib/Makefile (tests): Add tst-width.
16882
16883 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16884
16885 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16886 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16887
16888 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16889
16890 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16891 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16892 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16893
16894 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16895
16896 [BZ #18243]
16897 * rt/Makefile (test): Add tst-shm-cancel.
16898 * rt/tst-shm-cancel.c: New file.
16899 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16900
16901 [BZ #18243]
16902 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16903 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16904 definition.
16905 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16906 uncontended case.
16907 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16908 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16909 (tf): Fix check for uncontended case.
16910 (do_test): Likewise.
16911 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16912 (tf): Fix check for uncontended case.
16913 (do_test): Likewise.
16914 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16915 (tf): Fix check for uncontended case.
16916 (do_test): Likewise.
16917 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16918 (tf): Fix check for uncontended case.
16919 (do_test): Likewise.
16920
16921 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16922 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16923
16924 [BZ #15765]
16925 * nptl/Makefile (tests): Add tst-sem16.
16926 * nptl/tst-sem16.c: New file.
16927 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16928
16929 * nptl/sem_open.c (sem_open): Init pad value to 0.
16930 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16931 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16932
16933 2016-09-15 Florian Weimer <fweimer@redhat.com>
16934
16935 [BZ #20611]
16936 * inet/Makefile (routines): Add inet6_scopeid_pton.
16937 (tests): Add tst-inet6_scopeid_pton.
16938 * inet/inet6_scopeid_pton.c: New file.
16939 * inet/net-internal.h: Likewise.
16940 * inet/tst-inet6_scopeid_pton.c: New test.
16941 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16942 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16944
16945 2016-09-14 Florian Weimer <fweimer@redhat.com>
16946
16947 Remove support for compiling wrappers with PTW.
16948 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16949 * nptl/Makefile (pthread-compat-wrappers): Define.
16950 (libpthread-routines): Use pthread-compat-wrappers.
16951 * sysdeps/unix/sysv/linux/alpha/Makefile
16952 (libpthread-routines, libpthread-shared-only-routines): Remove
16953 ptw- prefix.
16954 * sysdeps/s390/nptl/Makefile
16955 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16956 * sysdeps/ia64/nptl/Makefile
16957 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16958 * sysdeps/nacl/Makefile (libpthread-routines): Use
16959 pthread-compat-wrappers to filter the routines list instead of the
16960 ptw- prefix.
16961
16962 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16963
16964 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16965 with L() and remove explicit suffix, convert real literals
16966 which can be equivalentally substituted with integers, and
16967 transform -L(x) to L(-x).
16968
16969 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17017 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17019
17020 2016-09-13 Florian Weimer <fweimer@redhat.com>
17021
17022 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17023
17024 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17025
17026 * malloc/Makefile (tests): Remove individual static test names
17027 and just add all of tests-static.
17028
17029 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17030
17031 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17032
17033 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17034 file.
17035
17036 * sysdeps/sparc/fpu/fegetmode.c: New file.
17037 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17038
17039 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17040 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17041
17042 * sysdeps/s390/fpu/fegetmode.c: New file.
17043 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17044
17045 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17046 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17047 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17048 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17049 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17050 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17051
17052 * sysdeps/mips/fpu/fegetmode.c: New file.
17053 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17054
17055 * sysdeps/m68k/fpu/fegetmode.c: New file.
17056 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17057
17058 * sysdeps/ia64/fpu/fegetmode.c: New file.
17059 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17060
17061 * sysdeps/hppa/fpu/fegetmode.c: New file.
17062 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17063
17064 * sysdeps/arm/fegetmode.c: New file.
17065 * sysdeps/arm/fesetmode.c: Likewise.
17066
17067 * sysdeps/alpha/fpu/fegetmode.c: New file.
17068 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17069
17070 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17071 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17072
17073 * math/fegetmode.c: New file.
17074 * math/fesetmode.c: Likewise.
17075 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17076 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17077 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17078 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17079 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17080 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17081 declaration.
17082 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17083 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17084 typedef.
17085 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17086 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17087 (femode_t): New typedef.
17088 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17089 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17090 (femode_t): New typedef.
17091 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17092 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17093 (femode_t): New typedef.
17094 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17095 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17096 (femode_t): New typedef.
17097 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17098 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17099 (femode_t): New typedef.
17100 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17101 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17102 (femode_t): New typedef.
17103 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17104 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17105 (femode_t): New typedef.
17106 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17107 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17108 (femode_t): New typedef.
17109 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17110 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17111 (femode_t): New typedef.
17112 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17113 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17114 (femode_t): New typedef.
17115 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17116 declaration.
17117 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17118 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17119 (femode_t): New typedef.
17120 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17121 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17122 (femode_t): New typedef.
17123 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17124 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17125 (femode_t): New typedef.
17126 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17127 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17128 (femode_t): New typedef.
17129 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17130 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17131 (femode_t): New typedef.
17132 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17133 * manual/arith.texi (FE_DFL_MODE): Document macro.
17134 (fegetmode): Document function.
17135 (fesetmode): Likewise.
17136 * math/Versions (fegetmode): New libm symbol at version
17137 GLIBC_2.25.
17138 (fesetmode): Likewise.
17139 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17140 (tests): Add test-femode and test-femode-traps.
17141 * math/test-femode-traps.c: New file.
17142 * math/test-femode.c: Likewise.
17143 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17144 alias for __fe_dfl_env.
17145 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17146 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17147 (__fe_dfl_mode): Likewise.
17148 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17149 version GLIBC_2.25.
17150 * sysdeps/nacl/libm.abilist: Update.
17151 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17152 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17157 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17164 Likewise.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17166 Likewise.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17168 Likewise.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17170 Likewise.
17171 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17177 Likewise.
17178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17179 Likewise.
17180 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17183
17184 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 [BZ #20495]
17187 [BZ #20508]
17188 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17189 processors, set Use_dl_runtime_resolve_slow and set
17190 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17191 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17192 New.
17193 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17194 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17195 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17196 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17197 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17198 if Use_dl_runtime_resolve_opt is set. Use
17199 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17200 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17201 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17202 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17203 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17204 New.
17205 (_dl_runtime_resolve_opt): Likewise.
17206 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17207 defined.
17208
17209 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17210
17211 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17212 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17213
17214 2016-09-06 Florian Weimer <fweimer@redhat.com>
17215
17216 Convert malloc to __libc_lock. Automated part, using this Perl
17217 s/// command:
17218 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17219 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17220 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17221 conversion.
17222
17223 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17224
17225 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17226 (linknamespace-symlists-tests): Likewise.
17227 (linknamespace-header-tests): Likewise.
17228
17229 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17230
17231 [BZ #19810]
17232 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17233 * elf/tst-noload.c: New test case.
17234 * elf/Makefile (tests): Add tst-noload.
17235
17236 2016-09-02 Roland McGrath <roland@hack.frob.com>
17237
17238 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17239
17240 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17241 not any more.
17242
17243 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17244
17245 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17246
17247 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17248 (do_cos_slow): Likewise.
17249 (do_sin): Likewise.
17250 (do_sin_slow): Likewise.
17251 (slow): Likewise.
17252 (slow1): Likewise.
17253 (slow2): Likewise.
17254 (sloww): Likewise.
17255 (sloww1): Likewise.
17256 (sloww2): Likewise.
17257 (bsloww): Likewise.
17258 (bsloww1): Likewise.
17259 (bsloww2): Likewise.
17260 (cslow2): Likewise.
17261
17262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17263
17264 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17265 arguments. Consolidate input partitioning from callers here.
17266 (do_cos_slow): Likewise.
17267 (do_sin): Likewise.
17268 (do_sin_slow): Likewise.
17269 (do_sincos_1): Remove the no longer necessary input partitioning.
17270 (do_sincos_2): Likewise.
17271 (__sin): Likewise.
17272 (__cos): Likewise.
17273 (slow1): Likewise.
17274 (slow2): Likewise.
17275 (sloww1): Likewise.
17276 (sloww2): Likewise.
17277 (bsloww1): Likewise.
17278 (bsloww2): Likewise.
17279 (cslow2): Likewise.
17280
17281 2016-09-02 Florian Weimer <fweimer@redhat.com>
17282
17283 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17284 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17285 outside of allocated array.
17286
17287 2016-09-02 Florian Weimer <fweimer@redhat.com>
17288
17289 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17290 instead of MB_CUR_MAX to avoid variable-length array.
17291
17292 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17293
17294 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17295 (type-double-routines): Add k_rem_pio2.
17296 (type-float-routines): Add k_rem_pio2f.
17297
17298 * sysdeps/generic/math_private.h:
17299 (__kernel_rem_pio2l): Removed.
17300
17301 * math/k_rem_pio2l.c: Removed.
17302 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17303 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17304 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17305 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17306
17307 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17308
17309 * math/Makefile (gen-libm-calls): Add s_fmin
17310 (libm-calls): Remove above.
17311
17312 * math/s_fmin.c: Refactor into ...
17313 * math/s_fmin_template.c: New file.
17314
17315 * math/s_fminf.c: Removed.
17316 * math/s_fminl.c: Removed.
17317 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17318 (LDOUBLE_fmin_libm_version): New macro.
17319
17320 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17321 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17322
17323 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17324
17325 * math/Makefile: (gen-libm-calls): Add s_fmax.
17326 (libm-calls): Remove above.
17327
17328 * math/s_fmax.c: Refactor into ...
17329 * math/s_fmax_template.c: New file.
17330 * math/s_fmaxf.c: Removed.
17331 * math/s_fmaxl.c: Removed.
17332
17333 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17334 (LDOUBLE_fmaxl_libm_version): New macro.
17335
17336 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17337 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17338
17339 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17340 s_fmin.c to pick the aarch64 version of the file.
17341 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17342 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17343
17344 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17345
17346 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17347 (libm-calls): Remove above.
17348
17349 * math/s_nextdown.c: Refactor into ...
17350 * math/s_nextdown_template.c: New file.
17351 * math/s_nextdownf.c: Removed.
17352 * math/s_nextdownl.c: Removed.
17353
17354 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17355
17356 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17357
17358 * math/Makefile (gen-libm-calls): Add s_fdim.
17359 (libm-calls): Move to above.
17360
17361 * math/s_fdim.c: Renamed and refactored into to ...
17362 * math/s_fdim_template.c: New file.
17363 * math/s_fdiml.c: Removed.
17364 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17365 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17366
17367 * sysdeps/generic/math-type-macros-double.h:
17368 (declare_mgen_alias): Don't declare if already declared.
17369 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17370 Likewise.
17371
17372 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17373 (declare_mgen_alias): Don't declare if already declared.
17374 (M_LIBM_NEED_COMPAT): Likewise.
17375 (declare_mgen_libm_compat): Likewise.
17376 (LDOUBLE_fdiml_libm_version): New macro.
17377
17378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17379 Include math/s_fdim.c now that ldbl-opt version is not needed.
17380 (declare_mgen_alias): New macro to disable aliasing.
17381
17382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17383 (declare_mgen_alias): Likewise.
17384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17385 (declare_mgen_alias): Likewise.
17386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17387 (declare_mgen_alias): Likewise.
17388 (M_LIBM_NEED_COMPAT): Likewise.
17389
17390 2016-09-01 Florian Weimer <fweimer@redhat.com>
17391
17392 [BZ #20525]
17393 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17394 Include <linux/quota.h>.
17395 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17396 and btodb.
17397 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17398 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17399 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17400 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17401 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17402 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17403 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17404 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17405 types.
17406 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17407 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17408
17409 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17410
17411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17412 (gammal_positive): Fix spacing.
17413 (__ieee754_gammal_r): Likewise.
17414
17415 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17416
17417 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17418 (_Float128): Define as long double, always.
17419 (L): Apply long double type suffix, always.
17420
17421 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17422 _Float128, excepting comments.
17423
17424 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17490 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17492
17493 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17494 _Float128, and include math_private.h.
17495 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17496
17497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17498 long double semantics.
17499 (_Float128): Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17504
17505 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17506
17507 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17508 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17509 * sysdeps/s390/configure: Regenerated.
17510 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17511 instruction for raising over-/underflow if z196 zarch is supported
17512 by default.
17513 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17514
17515 2016-08-30 Svante Signell <svante.signell@gmail.com>
17516
17517 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17518 it point to a dumb buffer for RPC to fill it.
17519
17520 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17521
17522 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17523 instead of if/else.
17524 (do_sin_slow): Likewise.
17525 (do_sincos_1): Use fabs instead of if/else.
17526 (do_sincos_2): Likewise.
17527 (__sin): Likewise.
17528 (__cos): Likewise.
17529 (slow2): Likewise.
17530 (sloww): Likewise.
17531 (sloww1): Likewise. Drop argument M.
17532 (sloww2): Use fabs instead of if/else.
17533 (bsloww): Likewise.
17534 (bsloww1): Likewise.
17535 (bsloww2): Likewise.
17536
17537 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17538 fall through comment.
17539 (do_sincos_1): Likewise.
17540
17541 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17542 Consolidate switch cases 0 and 2.
17543
17544 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17545
17546 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17547 (libm-calls): Remove the above.
17548
17549 * math/s_cexp_template.c: Update using type-generic macros.
17550 * math/s_clog10_template.c: Likewise.
17551 * math/s_cpow_template.c: Likewise.
17552 * math/s_clog_template.c: Likewise.
17553 * math/s_cproj_template.c: Likewise.
17554 * math/s_csqrt_template.c: Likewise.
17555
17556 * math/s_cexp.c: Removed.
17557 * math/s_cexpf.c: Removed.
17558 * math/s_cexpl.c: Removed.
17559 * math/s_clog10.c: Removed.
17560 * math/s_clog10f.c: Removed.
17561 * math/s_clog10l.c: Removed.
17562 * math/s_cpow.c: Removed.
17563 * math/s_cpowf.c: Removed.
17564 * math/s_cpowl.c: Removed.
17565 * math/s_clog.c: Removed.
17566 * math/s_clogf.c: Removed.
17567 * math/s_clogl.c: Removed.
17568 * math/s_cproj.c: Removed.
17569 * math/s_cprojf.c: Removed.
17570 * math/s_cprojl.c: Removed.
17571 * math/s_csqrt.c: Removed.
17572 * math/s_csqrtf.c: Removed.
17573 * math/s_csqrtl.c: Removed.
17574
17575 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17576 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17577 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17578 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17579 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17580 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17581
17582 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17583 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17584 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17585 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17586 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17587 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17588 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17589 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17590 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17591 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17592 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17593
17594 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17595 version.
17596
17597 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17598 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17599 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17600 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17601
17602 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17603
17604 * s_cexp_template.c: Copy of s_cexp.c.
17605 * s_clog_template.c: Copy of s_clog.c.
17606 * s_clog10_template.c: Copy of s_clog10.c.
17607 * s_cpow_template.c: Copy of s_cpow.c.
17608 * s_cproj_template.c: Copy of s_cproj.c.
17609 * s_csqrt_template.c: Copy of s_csqrt.c.
17610
17611 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17612
17613 [BZ #20517]
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17615 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17616 exported.
17617
17618 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17619
17620 * math/fetestexceptflag.c: New file.
17621 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17622 Stefan Liebler.
17623 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17624 (fetestexceptflag): New function declaration.
17625 * manual/arith.texi (fetestexceptflag): Document function.
17626 * math/Versions (fetestexceptflag): New libm symbol at version
17627 GLIBC_2.25.
17628 * math/Makefile (libm-support): Add fetestexceptflag.
17629 (tests): Add test-fetestexceptflag.
17630 * math/test-fetestexceptflag.c: New file.
17631 * sysdeps/nacl/libm.abilist: Update.
17632 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17645 Likewise.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17647 Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17649 Likewise.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17651 Likewise.
17652 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17658 Likewise.
17659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17660 Likewise.
17661 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17664
17665 2016-08-26 Florian Weimer <fweimer@redhat.com>
17666
17667 [BZ #20432]
17668 Avoid strong references to malloc-internal symbols when linking
17669 statically, to support statically interposed mallocs.
17670 * include/libc-symbols.h (call_function_static_weak): New macro.
17671 * malloc/Makefile (tests): Add tst-interpose-nothread,
17672 tst-interpose-thread, tst-interpose-static-nothread,
17673 tst-interpose-static-thread.
17674 (tests-static): Add tst-interpose-static-nothread,
17675 tst-interpose-static-thread.
17676 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17677 tst-interpose-aux-thread.o.
17678 (test-extras): Add tst-interpose-aux-nothread,
17679 tst-interpose-aux-thread.
17680 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17681 tst-interpose-aux-nothread.o.
17682 (tst-interpose-thread, tst-interpose-static-thread): Link with
17683 tst-interpose-aux-thread.o and libthread.
17684 * malloc/tst-interpose-aux-nothread.c: New file.
17685 * malloc/tst-interpose-aux-thread.c: Likewise.
17686 * malloc/tst-interpose-aux.c: Likewise.
17687 * malloc/tst-interpose-aux.h: Likewise.
17688 * malloc/tst-interpose-nothread.c: Likewise.
17689 * malloc/tst-interpose-skeleton.c: Likewise.
17690 * malloc/tst-interpose-static-nothread.c: Likewise.
17691 * malloc/tst-interpose-static-thread.c: Likewise.
17692 * malloc/tst-interpose-thread.c: Likewise.
17693 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17694 * sysdeps/mach/hurd/fork.c (__fork): Only call
17695 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17696 __malloc_fork_unlock_child if defined.
17697 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17698
17699 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17700
17701 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17702 timespec C99 designated initialization.
17703
17704 2016-08-26 Florian Weimer <fweimer@redhat.com>
17705
17706 [BZ #19946]
17707 Avoid expected SIGALRM signals.
17708 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17709 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17710 (xpthread_create, xpthread_detach, xpthread_join)
17711 (delayed_exit_thread, delayed_exit): New functions.
17712 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17713 (tf): Use xpthread_cond_wait.
17714 (do_test): Likewise. Replace alarm with delayed_exit.
17715 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17716 (do_test): Call delayed_exit. Report failure.
17717 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17718 (do_test): Call delayed_exit.
17719 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17720 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17721 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17722 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17723 error.
17724 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17725 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17726 error.
17727 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17728 (do_test): Call delayed_exit.
17729 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17730 (do_test): Call delayed_exit.
17731 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17732 (do_test): Call delayed_exit instead of alarm. Use
17733 xpthread_mutex_lock.
17734 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17735 (do_test): Call delayed_exit instead of alarm. Use
17736 xpthread_mutex_lock.
17737 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17738 (do_test): Call delayed_exit instead of alarm.
17739 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17740 (do_test): Call delayed_exit instead of alarm. Use
17741 xpthread_spin_lock.
17742 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17743 (do_test): Call delayed_exit instead of alarm. Use
17744 xpthread_join.
17745
17746 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17749 adjust CFA when allocating register save area on re-aligned
17750 stack.
17751
17752 2016-08-26 Florian Weimer <fweimer@redhat.com>
17753
17754 * string/tst-cmp.c: New test.
17755 * string/Makefile (tests): Add it.
17756
17757 2016-08-25 Mark Wielaard <mark@klomp.org>
17758
17759 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17760 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17761 (check_tree_recurse): Use newly defined accessors.
17762 (check_tree): Likewise.
17763 (maybe_split_for_insert): Likewise.
17764 (__tfind): Likewise.
17765 (__tdelete): Likewise.
17766 (trecurse): Likewise.
17767 (tdestroy_recurse): Likewise.
17768 (__tsearch): Likewise. And add asserts for malloc alignment.
17769 (__twalk): Cast root to node in case CHECK_TREE is defined.
17770
17771 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17772
17773 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17774
17775 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17776
17777 * math/Makefile (libm-gen-calls): Add
17778 catan, catanh, ctan, ctanh.
17779 (libm-calls): Remove the above.
17780
17781 * math/s_catan_template.c: Update using type-generic macros.
17782 * math/s_catanh_template.c: Likewise.
17783 * math/s_ctan_template.c: Likewise.
17784 * math/s_ctanh_template.c: Likewise.
17785
17786 * math/s_catanf.c: Removed.
17787 * math/s_catan.c: Removed.
17788 * math/s_catanl.c: Removed.
17789 * math/s_catanhf.c: Removed.
17790 * math/s_catanh.c: Removed.
17791 * math/s_catanhl.c: Removed.
17792 * math/s_ctanf.c: Removed.
17793 * math/s_ctan.c: Removed.
17794 * math/s_ctanl.c: Removed.
17795 * math/s_ctanhf.c: Removed.
17796 * math/s_ctanh.c: Removed.
17797 * math/s_ctanhl.c: Removed.
17798
17799 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17800 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17801 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17802 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17803 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17804 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17805
17806 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17807 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17808 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17809 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17810
17811 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17812
17813 * s_catan_template.c: Copy of s_catan.c.
17814 * s_catanh_template.c: Copy of s_catanh.c.
17815 * s_ctan_template.c: Copy of s_ctan.c.
17816 * s_ctanh_template.c: Copy of s_ctanh.c.
17817
17818 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17819
17820 * math/Makefile (gen-libm-calls): Move
17821 casin, casinh, csin, csinh here.
17822 (libm-calls): Remove the above.
17823
17824 * math/s_casin_template.c: Update using type-generic macros.
17825 * math/s_casinh_template.c: Likewise.
17826 * math/s_csin_template.c: Likewise.
17827 * math/s_csinh_template.c: Likewise.
17828 * math/k_casinh_template.c: Likewise.
17829
17830 * math/s_casinf.c: Removed.
17831 * math/s_casin.c: Removed.
17832 * math/s_casinl.c: Removed.
17833 * math/s_casinh.c: Removed.
17834 * math/s_casinhf.c: Removed.
17835 * math/s_casinhl.c: Removed.
17836 * math/s_csin.c: Removed.
17837 * math/s_csinf.c: Removed.
17838 * math/s_csinl.c: Removed.
17839 * math/s_csinh.c: Removed.
17840 * math/s_csinhf.c: Removed.
17841 * math/s_csinhl.c: Removed.
17842 * math/k_casinh.c: Removed.
17843 * math/k_casinhf.c: Removed.
17844 * math/k_casinhl.c: Removed.
17845
17846 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17847 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17848 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17849 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17850
17851 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17852 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17853 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17854 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17855 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17856 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17857 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17858 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17859
17860 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17861 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17862 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17863 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17864
17865 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17866 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17867 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17868 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17869
17870 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17871
17872 * s_casin_template.c: Copy of s_casin.c.
17873 * s_casinh_template.c: Copy of s_casinh.c.
17874 * s_csin_template.c: Copy of s_csin.c.
17875 * s_csinh_template.c: Copy of s_csinh.c.
17876 * k_casinh_template.c: Copy of k_casinh.c.
17877
17878 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17881
17882 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17883
17884 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17885 (mul_split) Remove, rename as mul_splitl, remove
17886 redundant float.h include, and include via mul_splitl.h
17887
17888 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17890 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17891 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17892 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17893
17894 * math/mul_splitl.h: New file.
17895
17896 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17897 Move into mul_split.h, and remove redundant float.h include.
17898
17899 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17901 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17903
17904 * math/mul_split.h: New file.
17905
17906 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17907
17908 * math/Makefile (libm-gen-calls): Move
17909 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17910 (libm-calls): Remove above.
17911
17912 * math/s_cacos_template.c: Update using type-generic macros.
17913 * math/s_cacosh_template.c: Likewise.
17914 * math/s_ccos_template.c: Likewise.
17915 * math/s_ccosh_template.c: Likewise.
17916
17917 * math/s_cacosf.c: Removed.
17918 * math/s_cacos.c: Removed.
17919 * math/s_cacosl.c: Removed.
17920 * math/s_cacoshf.c: Removed.
17921 * math/s_cacosh.c: Removed.
17922 * math/s_cacoshl.c: Removed.
17923 * math/s_ccosf.c: Removed.
17924 * math/s_ccos.c: Removed.
17925 * math/s_ccosl.c: Removed.
17926 * math/s_ccoshf.c: Removed.
17927 * math/s_ccosh.c: Removed.
17928 * math/s_ccoshl.c: Removed.
17929
17930 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17931 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17932 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17933 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17934 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17935 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17936
17937 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17938 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17939 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17940 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17941
17942 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17943 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17944 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17945 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17946
17947 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17948
17949 * s_cacos_template.c: Copy of s_cacos.c.
17950 * s_cacosh_template.c: Copy of s_cacosh.c.
17951 * s_ccos_template.c: Copy of s_ccos.c.
17952 * s_ccosh_template.c: Copy of s_ccosh.c.
17953
17954 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17955
17956 * stdlib/tst-strtod-round-skeleton.c:
17957 Refactored from tst-strtod-round.c.
17958
17959 (L_): New macro to apply literal modifier.
17960 (FNPFX): New macro to select str or wcs prefix.
17961 (CHAR): New macro to choose wchar_t or char.
17962 (STRM): New macro to choose printf for tested character type.
17963
17964 (STRTO): New macro to choose appropriate string -> real function.
17965 (FNPFXS): Stringitized version of FNPFX.
17966 (STR): Support for above macro.
17967 (STRX): Likewise.
17968
17969 (TEST): Update with above macros.
17970 (test): Likewise.
17971 (GEN_ONE_TEST): Likewise.
17972 (test_in_one_mode): Likewise.
17973
17974 * stdlib/tst-strtod-round.c: New file.
17975 * wcsmbs/tst-wcstod-round.c: New file.
17976
17977 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17978 (tst-wcstod-round): Add libm depencency for fesetround.
17979
17980 2016-08-19 Zack Weinberg <zackw@panix.com>
17981
17982 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17983
17984 2016-08-18 Torvald Riegel <triegel@redhat.com>
17985
17986 [BZ #20477]
17987 * resolv/res_hconf.c (do_init): Use atomic access.
17988 * resolv/res_hconf.h: Add comments.
17989 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17990 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17992
17993 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17994
17995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17996 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17997 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17998 Likewise.
17999
18000 2016-08-18 Florian Weimer <fweimer@redhat.com>
18001
18002 [BZ #16907]
18003 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18004 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18005 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18006 (__attribute__): Remove definition.
18007
18008 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18009
18010 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18011 Remove unused sqrtl declaration.
18012
18013 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18014
18015 * math/Makefile: (gen-libm-templates.stmp): New rule.
18016 (libm-calls): Move carg conj cimag and cabs into ...
18017 (gen-libm-calls): New variable.
18018 (generated): Inform Make objects from gen-libm-calls
18019 may be generated.
18020
18021 * sysdeps/generic/math-type-macros.h: New file.
18022 * sysdeps/generic/math-type-macros-float.h: Likewise.
18023 * sysdeps/generic/math-type-macros-double.h: Likewise.
18024 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18025 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18026 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18027
18028 * math/cabs.c: Refactor into
18029 * math/cabs_template.c: new file.
18030 * math/cabsf.c: Removed.
18031 * math/cabsl.c: Removed.
18032 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18033 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18034
18035 * math/carg.c: Refactor into
18036 * math/carg_template.c: new file.
18037 * math/cargf.c: Removed.
18038 * math/cargl.c: Removed.
18039 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18040 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18041
18042 * math/conj.c: Refactor into
18043 * math/conj_template.c: new file.
18044 * math/conjf.c: Removed.
18045 * math/conjl.c: Removed.
18046 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18047 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18048
18049 * math/cimag.c: Refactor into
18050 * math/cimag_template.c: new file.
18051 * math/cimagf.c: Removed.
18052 * math/cimagl.c: Removed.
18053 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18054 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18055
18056 * math/cimag.c: Refactor into
18057 * math/cimag_template.c: new file.
18058 * math/cimagf.c: Removed.
18059 * math/cimagl.c: Removed.
18060 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18061 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18062
18063 2016-08-17 Florian Weimer <fweimer@redhat.com>
18064
18065 Reduce time to expected nptl/tst-once5 failure.
18066 * nptl/tst-once5.cc (TIMEOUT): Define.
18067
18068 2016-08-17 Florian Weimer <fweimer@redhat.com>
18069
18070 [BZ #20452]
18071 Avoid additional copies of objects in libc.a in static libraries.
18072 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18073 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18074 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18075 rt-sysdep.
18076 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18077 Add nptl-sysdep.
18078 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18079 Add ptw-sysdep.
18080 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18081 rt-sysdep.
18082 * sysdeps/unix/sysv/linux/alpha/Makefile
18083 (libpthread-shared-only-routines): Add ptw-sysdep,
18084 ptw-sigprocmask, ptw-rt_sigaction.
18085 * sysdeps/unix/sysv/linux/ia64/Makefile
18086 (librt-shared-only-routines): Add rt-sysdep.
18087 * sysdeps/unix/sysv/linux/i386/Makefile
18088 (libpthread-shared-only-routines): Add libc-do-syscall.
18089 * sysdeps/unix/sysv/linux/microblaze/Makefile
18090 (libpthread-shared-only-routines): Add sysdep.
18091 * sysdeps/unix/sysv/linux/powerpc/Makefile
18092 (librt-shared-only-routines): Add rt-sysdep.
18093 (libpthread-shared-only-routines): Add sysdep.
18094 * sysdeps/unix/sysv/linux/s390/Makefile
18095 (librt-shared-only-routines): Add rt-sysdep.
18096 * sysdeps/unix/sysv/linux/sparc/Makefile
18097 (librt-shared-only-routines): Add rt-sysdep.
18098 (libpthread-shared-only-routines): Add sysdep.
18099 * sysdeps/unix/sysv/linux/tile/Makefile
18100 (libpthread-shared-only-routines): Likewise.
18101
18102 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18103
18104 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18105 Mask implicit bit out of unpacked value.
18106 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18107 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18108 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18109
18110 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18111
18112 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18113
18114 * sysdeps/s390/fpu/fesetexcept.c: New file.
18115
18116 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18117 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18118 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18119
18120 * sysdeps/mips/fpu/fesetexcept.c: New file.
18121
18122 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18123
18124 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18125
18126 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18127
18128 * sysdeps/arm/fesetexcept.c: New file.
18129
18130 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18131
18132 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18133
18134 * math/fesetexcept.c: New file.
18135 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18136 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18137 * math/fenv.h: Define
18138 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18139 <bits/libc-header-start.h> instead of including <features.h>.
18140 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18141 declaration.
18142 * manual/arith.texi (fesetexcept): Document function.
18143 * math/Versions (fesetexcept): New libm symbol at version
18144 GLIBC_2.25.
18145 * math/Makefile (libm-support): Add fesetexcept.
18146 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18147 * math/test-fesetexcept.c: New file.
18148 * math/test-fesetexcept-traps.c: Likewise.
18149 * sysdeps/nacl/libm.abilist: Update.
18150 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18163 Likewise.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18165 Likewise.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18167 Likewise.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18169 Likewise.
18170 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18176 Likewise.
18177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18178 Likewise.
18179 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18182
18183 2016-08-16 Florian Weimer <fweimer@redhat.com>
18184
18185 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18186 New.
18187 (do_test): Apply default_stack_size_in_mb if not set.
18188 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18189
18190 2016-08-15 Andreas Schwab <schwab@suse.de>
18191
18192 [BZ #20435]
18193 CVE-2016-6323
18194 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18195 as .cantunwind.
18196
18197 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18198
18199 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18200 comment from fraiseexcpt.c.
18201
18202 * math/test-fexcept.c (feraiseexcept_exact): New function.
18203 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18204 (test_except): Likewise.
18205
18206 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18207
18208 [BZ #20455]
18209 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18210 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18211 to be restored.
18212
18213 * math/test-fexcept-traps.c: New file.
18214 * math/test-fexcept.c: Likewise.
18215 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18216 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18217 macro.
18218 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18219 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18220
18221 2016-08-09 Torvald Riegel <triegel@redhat.com>
18222
18223 * include/atomic.h (atomic_fetch_and_relaxed,
18224 atomic_fetch_and_release, atomic_fetch_or_release,
18225 atomic_fetch_xor_release): New.
18226
18227 2016-08-06 Christian Seiler <christian@iwakd.de>
18228
18229 [BZ #20444]
18230 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18231 MACH_PORT_NULL.
18232
18233 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18234
18235 * math/s_fdim.c: Avoid alias renamed.
18236 * math/s_fdimf.c: Likewise.
18237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18238 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18239 Add s_fdimf-vis3, s_fdim-vis3.
18240 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18241 (CFLAGS-s_fdim-vis3.c): Likewise.
18242 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18243 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18244
18245 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18246
18247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18248 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18249 Remove s_fdimf-vis3, s_fdim-vis3.
18250 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18251 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18258 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18259 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18260
18261 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18262
18263 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18264 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18265 -Wa,-Av9a -mvis.
18266
18267 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18268
18269 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18270 LIT() to individual constants in simple expressions
18271 after splitting on spaces.
18272 (_apply_lit): Rename replaced version, and use it to
18273 apply to what appears to be a token.
18274
18275 * math/libm-test.inc: Fix many, many issues with
18276 spacing.
18277
18278 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18279
18280 * math/math.h: Move comment about <bits/mathdef.h> definitions
18281 above inclusion of <bits/mathdef.h>. Do not mention
18282 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18283
18284 2016-08-05 Torvald Riegel <triegel@redhat.com>
18285
18286 * include/atomic.h (atomic_exchange_relaxed): New.
18287
18288 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18289
18290 * math/e_scalb.c: Do not include <fenv.h>.
18291 (invalid_fn): Do calculation resulting in NaN instead of raising
18292 FE_INVALID and returning a NaN explicitly.
18293 * math/e_scalbf.c: Do not include <fenv.h>.
18294 (invalid_fn): Do calculation resulting in NaN instead of raising
18295 FE_INVALID and returning a NaN explicitly.
18296 * math/e_scalbl.c: Do not include <fenv.h>.
18297 (invalid_fn): Do calculation resulting in NaN instead of raising
18298 FE_INVALID and returning a NaN explicitly.
18299
18300 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18301
18302 * po/de.po: Updated from Translation Project.
18303 * po/fi.po: Likewise.
18304 * po/sv.po: Likewise.
18305
18306 2016-08-04 Florian Weimer <fweimer@redhat.com>
18307
18308 [BZ #20452]
18309 Use sysdep.o from libc.a in static libraries.
18310 * sysdeps/unix/sysv/linux/i386/Makefile
18311 (libpthread-shared-only-routines): Add sysdep.
18312 (librt-shared-only-routines): Likewise.
18313
18314 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18315
18316 * math/tgmath.h (nextdown): Define if
18317 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18318 (nextup): Likewise.
18319
18320 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18321 macro.
18322 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18323 Document.
18324 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18325 Document macro.
18326 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18327 (exp10f): Likewise.
18328 (exp10l): Likewise.
18329 * math/bits/mathcalls.h (exp10): Declare if
18330 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18331
18332 * manual/arith.texi (nextup): Fix typo in last change.
18333
18334 2016-08-03 Zack Weinberg <zackw@panix.com>
18335
18336 [BZ #19239]
18337 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18338 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18339 define major, minor, and makedev to issue deprecation warnings on use.
18340 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18341 previously-activated deprecation warnings for these macros and prevent
18342 subsequent inclusions of this header from having any effect.
18343 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18344 including <sys/sysmacros.h>, and undefine it again afterward.
18345
18346 2016-08-03 Zack Weinberg <zackw@panix.com>
18347
18348 * sysdeps/generic/sys/sysmacros.h: Delete file.
18349 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18350 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18351 * bits/sysmacros.h: ... here; this encoding is now the generic
18352 encoding. Now defines only the following macros:
18353 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18354 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18355 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18356
18357 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18358 bits/sysmacros.h and the above new macros to generate the
18359 public implementations of major, minor, and makedev.
18360 * misc/tst-makedev.c: New test.
18361 * include/sys/sysmacros.h: New wrapper.
18362
18363 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18364 (routines): Add makedev.
18365 (tests): Add tst-makedev.
18366 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18367 gnu_dev_makedev.
18368 * posix/Makefile (headers): Remove sys/sysmacros.h.
18369 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18370
18371 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18372 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18373 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18374 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18375 * sysdeps/unix/sysv/linux/arm/libc.abilist
18376 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18377 * sysdeps/unix/sysv/linux/i386/libc.abilist
18378 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18379 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18380 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18381 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18382 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18383 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18384 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18385 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18386 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18391 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18392 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18393 * sysdeps/unix/sysv/linux/sh/libc.abilist
18394 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18395 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18398 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18399 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18400 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18401 Add GLIBC_2.25.
18402
18403 * include/features.h (__glibc_clang_prereq): New macro.
18404 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18405 (__attribute_deprecated_msg__): New macros.
18406
18407 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18408
18409 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18410 macro.
18411 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18412 * manual/arith.texi (issignaling): Document as ISO from TS
18413 18661-1:2014.
18414 (nextup): Likewise.
18415 (nextupf): Likewise.
18416 (nextupl): Likewise.
18417 (nextdown): Likewise.
18418 (nextdownf): Likewise.
18419 (nextdownl): Likewise.
18420 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18421 macro.
18422 * math/math.h: Define
18423 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18424 <bits/libc-header-start.h> instead of including <features.h>.
18425 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18426 [__USE_GNU].
18427 * math/bits/mathcalls.h (nextdown): Declare if
18428 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18429 (nextup): Likewise.
18430 (__issignaling): Likewise.
18431
18432 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18433
18434 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18435 check, and remove __glibc_likely hint
18436 from FP_INFINITE check.
18437 * s_csinhf.c (__csinhf): Likewise.
18438
18439 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18440 hint from FP_INFINITE check.
18441 * s_csinhl.c (__csinhl): Likewise.
18442
18443 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18444
18445 * math/Makefile (libm-calls): Insert F placeholder into
18446 object names. Move w_lgamma_compat* routines into
18447 (libm-compat-calls): New variable.
18448 (libm-compat-calls-ldouble-yes): New variable.
18449 (calls): Insert F placeholder.
18450 (generated): Redefine using new type-foreach macro call.
18451 (routines): Likewise.
18452
18453 (types): New variable to hold a list of symbolic names
18454 for each type supported by the target machine.
18455 (libm-routines): Redefine using new types variable.
18456 (type-foreach): macro to replace fooF with the
18457 appropriately suffixed foo for each types.
18458
18459 (type-ldouble-suffix): New variable.
18460 (type-ldouble-routines): Likewise.
18461 (type-ldouble-yes): Likewise.
18462 (type-double-suffix): Likewise.
18463 (type-double-routines): Likewise.
18464 (type-float-suffix): Likewise.
18465 (type-float-routines): Likewise.
18466
18467 (dbl-only-routines): Remove.
18468 (long-c-yes): Likewise.
18469 (long-m-routines): Likewise.
18470 (long-m-support): Likewise.
18471 (long-m-yes): Likewise.
18472 (test-longdouble-yes): Likewise.
18473
18474 (test-float.o): Simplify by increasing the scope of the
18475 recipe which adds libm-test.stmp to the vector types.
18476 (test-ifloat.o): Likewise.
18477 (test-float-finite.o): Likewise.
18478 (test-double.o): Likewise
18479 (test-idouble.o): Likewise.
18480 (test-double-finite.o): Likewise.
18481 (test-ldouble.o): Likewise
18482 (test-ildoubl.o): Likewise.
18483 (test-ldouble-finite.o): Likewise.
18484
18485 (libm-tests): Redefine type tests using foreach and the
18486 list of types in types.
18487
18488 (CPPFLAGS-test-ildoubl.c): Rename to
18489 (CPPFLAGS-test-ildouble.c): New variable
18490
18491 * math/test-ildoubl.c: Rename to
18492 * math/test-ildouble.c: New file.
18493
18494 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18495
18496 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18497 Use fabsl instead of fabs.
18498 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18499 Likewise.
18500 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18501 Add long double suffix to constant to ensure proper
18502 promotion to long double.
18503
18504 2016-08-03 Tom Tromey <tom@tromey.com>
18505
18506 [BZ #20311]
18507 * nptl_db/Makefile (headers): Add proc_service.h.
18508 * nptl_db/proc_service.h: Add include guard. Use
18509 __BEGIN/__END_DECLS.
18510 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18511 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18512 arguments.
18513
18514
18515 2016-08-03 Florian Weimer <fweimer@redhat.com>
18516
18517 [BZ #17730]
18518 Avoid using memalign for TCB allocations.
18519 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18520 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18521 Avoid alignment gap in the TLS_DTV_AT_TP case.
18522 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18523 determine the pointer to free.
18524 * nptl/tst-tls3-malloc.c: New test.
18525 * nptl/Makefile (tests): Add it.
18526 (tst-tls3-malloc): Link with libdl, libpthread.
18527 (LDFLAGS-tst-tls3-malloc): Set.
18528 (tst-tls3-malloc.out): Depend on DSO used in test.
18529
18530 2016-08-03 Florian Weimer <fweimer@redhat.com>
18531
18532 [BZ #17730]
18533 Avoid using memalign for TLS allocations.
18534 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18535 is_static member with to_free member.
18536 (union dtv): Use struct dtv_pointer.
18537 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18538 dtv_pointer instead of is_static.
18539 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18540 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18541 instead of val.
18542 (allocate_dtv_entry): New function.
18543 (allocate_and_init): Return struct dtv_pointer. Call
18544 allocate_dtv_entry instead of __libc_memalign.
18545 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18546 instead of val.
18547 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18548 instead of is_static. Adjust call to allocate_and_init.
18549 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18550 struct dtv_pointer instead of val.
18551
18552 2016-08-03 Florian Weimer <fweimer@redhat.com>
18553
18554 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18555 (MALLOC_ALIGN_MASK): Move ...
18556 * malloc/malloc-internal.h: ... to here.
18557 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18558
18559 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18560
18561 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18562 (UDP_ENCAP_GTP1U): Likewise.
18563
18564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18565 (PF_MAX): Update value.
18566 (AF_QIPCRTR): New macro.
18567
18568 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18569
18570 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18571 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18572 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18574 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18575 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18576 s_truncf-vis3, s_trunc-vis3.
18577 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18578 (CFLAGS-s_ceil-vis3.c): Likewise.
18579 (CFLAGS-s_floorf-vis3.c): Likewise.
18580 (CFLAGS-s_floor-vis3.c): Likewise.
18581 (CFLAGS-s_truncf-vis3.c): Likewise.
18582 (CFLAGS-s_trunc-vis3.c): Likewise.
18583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18595
18596 2016-08-02 David S. Miller <davem@davemloft.net>
18597
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18599 (__nearbyint_vis3): Don't check for sNaN before float register is
18600 loaded with the incoming argument.
18601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18602 (__nearbyintf_vis3): Likewise.
18603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18604 Likewise.
18605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18606 Likewise.
18607
18608 * string/test-strncmp.c (do_test_limit): Make sure the test data
18609 stream is aligned as required for the type "CHAR".
18610 (do_test): Likewise.
18611
18612 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18613
18614 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18615 by beq instructions jumping to the end of the function.
18616 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18617 clobber list. Use "i" constraint instead of "X".
18618 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18619 of "X".
18620
18621 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18622
18623 * bits/libc-header-start.h: New file.
18624 * Makefile (headers): Add bits/libc-header-start.h.
18625 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18626 (__GLIBC_USE): New macro.
18627 * libio/stdio.h: Define
18628 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18629 <bits/libc-header-start.h> instead of including <features.h>.
18630 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18631 (open_memstream): Likewise.
18632 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18633 (__asprintf): Likewise.
18634 (asprintf): Likewise.
18635 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18636 (getdelim): Likewise.
18637 (getline): Likewise.
18638 * string/string.h: Define
18639 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18640 <bits/libc-header-start.h> instead of including <features.h>.
18641 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18642 (strndup): Likewise.
18643 * wcsmbs/wchar.h: Define
18644 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18645 <bits/libc-header-start.h> instead of including <features.h>.
18646 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18647 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18648
18649 2016-08-02 Florian Weimer <fweimer@redhat.com>
18650
18651 Support linking against compatibility symbols, for use in tests.
18652 * include/libc-symbols.h (symbol_version_reference): New macro.
18653 (symbol_version): Use it.
18654 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18655 (compat_symbol): Use compat_symbol_reference.
18656 (compat_symbol_1, compat_symbol_2): Remove.
18657 (compat_symbol_reference, compat_symbol_reference_1)
18658 (compat_symbol_reference_2): New macro. Use
18659 symbol_version_reference.
18660
18661 2016-08-02 Florian Weimer <fweimer@redhat.com>
18662
18663 [BZ #19469]
18664 * malloc/Makefile (CPPFLAGS): Compile tests with
18665 -DTEST_NO_MALLOPT.
18666 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18667
18668 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18669
18670 [BZ #20033]
18671 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18672 finite version.
18673 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18674 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18675 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18678 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18679 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18680 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18681 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18682 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18685 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18688 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18690 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18691 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18692 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18693 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18694 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18695 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18696 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18697 in zero power.
18698
18699 2016-08-02 Florian Weimer <fweimer@redhat.com>
18700
18701 [BZ #20370]
18702 * malloc/arena.c (get_free_list): Update comment. Assert that
18703 arenas on the free list have no attached threads.
18704 (remove_from_free_list): New function.
18705 (reused_arena): Call it.
18706
18707 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18708
18709 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18710 when it is a NaN.
18711 [_IEEE_FP_INEXACT] Remove.
18712 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18713 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18714 when it is a NaN.
18715 [_IEEE_FP_INEXACT] Remove.
18716 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18717 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18718 when it is a NaN.
18719 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18720 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18721 when its absolute value is greater than 0x1.0p52.
18722 [_IEEE_FP_INEXACT] Remove.
18723 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18724 when its absolute value is greater than 0x1.0p23.
18725 [_IEEE_FP_INEXACT] Remove.
18726
18727 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18728
18729 * version.h (RELEASE): Set to "development"
18730 (VERSION): Set to 2.24.90.
18731 * NEWS: Add 2.25 section.
18732
18733 * version.h (RELEASE): Set to "stable"
18734 (VERSION): Set to 2.24.
18735 * include/features.h (__GLIBC_MINOR__): Set to 24.
18736
18737 * NEWS: Add 2.24 fixed bugs.
18738 * po/libc.pot: Regenerate.
18739
18740 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18741
18742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18743 [$(subdir) = math] (libm-sysdep_routines): Remove.
18744 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18745 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18746 s_truncf-vis3, s_trunc-vis3.
18747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18749 file.
18750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18783 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18784 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18785 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18786 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18787 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18788 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18789 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18790 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18791 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18792 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18793
18794 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18795
18796 [BZ #20384]
18797 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18798 test-double-libmvec-sincos-avx-main.o,
18799 test-double-libmvec-sincos-avx2-main.o,
18800 test-double-libmvec-sincos-main.o,
18801 test-float-libmvec-sincosf-avx-main.o,
18802 test-float-libmvec-sincosf-avx2-main.o and
18803 test-float-libmvec-sincosf-main.o.
18804 test-float-libmvec-sincosf-avx512-main.o.
18805 ($(objpfx)test-double-libmvec-sincos): Also link with
18806 $(objpfx)test-double-libmvec-sincos-main.o.
18807 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18808 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18809 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18810 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18811 ($(objpfx)test-float-libmvec-sincosf): Also link with
18812 $(objpfx)test-float-libmvec-sincosf-main.o.
18813 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18814 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18815 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18816 test-double-libmvec-sincos-avx512-main.o and
18817 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18818 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18819 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18820 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18821 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18822 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18823 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18824 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18825 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18826 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18827 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18828 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18829 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18830 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18831 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18832 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18833 -DREQUIRE_AVX2.
18834 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18835 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18836 -DREQUIRE_AVX512F.
18837 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18838 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18839 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18840 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18841 file.
18842 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18843 Likewise.
18844 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18845 Likewise.
18846 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18847 Likewise.
18848 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18849 Likewise.
18850 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18851 Likewise.
18852 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18853 Likewise.
18854 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18855 Likewise.
18856
18857 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18858
18859 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18860
18861 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18862
18863 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18864 and typo in a comment about AT_HWCAP entry.
18865
18866 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18867
18868 * sysdeps/aarch64/libm-test-ulps: Updated.
18869
18870 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18871
18872 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18873 of r13 as it is not restored in mvcle case.
18874
18875 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18876
18877 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18878 Rename "ret" to "__ret".
18879 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18880 inline_syscall5, inline_syscall6): Likewise.
18881
18882 2016-07-19 Will Newton <will.newton@gmail.com>
18883
18884 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18885 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18886 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18887 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18888 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18889
18890 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18891
18892 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18893 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18894 -mfpmath=387 with $(rtld-CFLAGS).
18895 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18896 $(rtld-CFLAGS).
18897
18898 2016-07-18 Ross Burton <ross.burton@intel.com>
18899 Khem Raj <raj.khem@gmail.com>
18900
18901 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18902 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18903 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18904 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18905 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18906 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18907 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18908 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18909 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18910 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18911 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18912 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18913 R_METAG_TLS_DTPOFF): New.
18914
18915 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18916 Matt Clay <mclay@lycos.com>
18917
18918 [BZ #20357]
18919 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18920 to call __mpsin/__mpcos and to negate values.
18921 * math/auto-libm-test-in: Add test.
18922 * math/auto-libm-test-out: Regenerate.
18923
18924 2016-07-18 Zack Weinberg <zackw@panix.com>
18925
18926 * grp/Makefile: Don't install the internal header grp-merge.h.
18927
18928 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18929
18930 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18931
18932 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18933
18934 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18935
18936 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18937
18938 [BZ #15368]
18939 * sysdeps/unix/sysv/linux/nptl-signals.h
18940 (__nptl_clear_internal_signals): New function.
18941 (__libc_signal_block_all): Likewise.
18942 (__libc_signal_block_app): Likewise.
18943 (__libc_signal_restore_set): Likewise.
18944 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18945 implementation.
18946 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18947 the cached pid/tid value in pthread structure.
18948
18949 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18950
18951 [BZ #20347]
18952 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18953
18954 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18955
18956 [BZ #20348]
18957 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18958 preadv64, pwrite64 and pwritev64.
18959
18960 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18961
18962 [BZ #20350]
18963 * posix/tst-preadwrite.c: Renamed to ...
18964 * posix/tst-preadwrite-common.c: This.
18965 (PREAD): Removed.
18966 (PWRITE): Likewise.
18967 (STRINGIFY): Likewise.
18968 (STRINGIFY2): Likewise.
18969 (do_prepare): Make it static and remove function arguments.
18970 (do_test): Likewise.
18971 (PREPARE): Updated.
18972 (TEST_FUNCTION): New.
18973 (name): Make it static.
18974 (fd): Likewise.
18975 (do_prepare): Use create_temp_file.
18976 (do_test): Renamed to ...
18977 (do_test_with_offset): This. Make it static and accept offset.
18978 Properly check return value of PWRITE and PREAD. Return bytes
18979 read. Don't close fd nor unlink name.
18980 * posix/tst-preadwrite.c: Rewrite.
18981 * posix/tst-preadwrite64.c: Likewise.
18982
18983 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18984
18985 [BZ #20309]
18986 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18987 -mtls-dialect=gnu2 works.
18988 * configure: Regenerated.
18989 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18990 (tests): Add tst-gnu2-tls1.
18991 (modules-names): Add tst-gnu2-tls1mod.
18992 ($(objpfx)tst-gnu2-tls1): New.
18993 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18994 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18995 * elf/tst-gnu2-tls1.c: New file.
18996 * elf/tst-gnu2-tls1mod.c: Likewise.
18997 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18998 bytes for push in the PLT entry to align the stack.
18999
19000 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19001
19002 [BZ #20349]
19003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19004
19005 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19006
19007 [BZ #18707]
19008 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19009 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19010
19011 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19012
19013 * sysdeps/unix/sysv/linux/sysdep.h
19014 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19015 guards.
19016 * misc/tst-preadvwritev-common.c: New file.
19017 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19018 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19019 a check for files larger than 2GB.
19020
19021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19022 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19023 * sysdeps/unix/sysv/linux/pread.c
19024 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19025 __OFF_T_MATCHES_OFF64_T.
19026 * sysdeps/unix/sysv/linux/pread64.c
19027 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19028 * sysdeps/unix/sysv/linux/preadv.c
19029 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19030 * sysdeps/unix/sysv/linux/preadv64.c
19031 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19032 * sysdeps/unix/sysv/linux/pwrite.c
19033 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19034 * sysdeps/unix/sysv/linux/pwrite64.c
19035 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19036 * sysdeps/unix/sysv/linux/pwritev.c
19037 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19038 * sysdeps/unix/sysv/linux/pwritev64.c
19039 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19040
19041 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19042
19043 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19044 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19045
19046 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19047
19048 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19049
19050 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19051
19052 [BZ #20240]
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19054 (CFLAGS-s_modf-ppc32.c): New variable.
19055 (CFLAGS-s_modff-ppc32.c): Likewise.
19056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19057 (CFLAGS-s_modf-ppc64.c): Likewise.
19058 (CFLAGS-s_modff-ppc64.c): Likewise.
19059
19060 2016-07-07 Andreas Schwab <schwab@suse.de>
19061
19062 [BZ #20263]
19063 * nptl/tst-robust10.c: New test.
19064 * nptl/Makefile (tests): Add tst-robust10.
19065
19066 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19067
19068 [BZ #20263]
19069 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19070
19071 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19072
19073 * sysdeps/s390/linkmap.h (struct link_map_machine):
19074 Remove member gotplt and add member jmprel.
19075 * sysdeps/s390/s390-32/dl-machine.h
19076 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19077 instead of gotplt with &got[3].
19078 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19079 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19080
19081 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19082
19083 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19084
19085 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19086
19087 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19088 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19089 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19090 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19091 * libio/vtables.c (_IO_vtable_check)
19092 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19093 * libio/libioP.h (IO_set_accept_foreign_vtables)
19094 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19095
19096 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 [BZ #20314]
19099 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19100 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19101 $(common-objpfx)cmath.
19102 ($(common-objpfx)cstdlib): New target.
19103 ($(common-objpfx)cmath): Likewise.
19104
19105 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19106
19107 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19108
19109 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19110
19111 [BZ #20327]
19112 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19113 are not part of the string.
19114
19115 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19116
19117 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19118 * nptl/tst-cancel4-common.h (fifoname): New variable.
19119 (fifofd): Likewise.
19120 (cl_fifo): New function.
19121 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19122 SIGINT.
19123 (tf_open): Add early cancel test.
19124
19125 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19126
19127 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19128
19129 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19130
19131 * sysdeps/generic/ldsodefs.h
19132 (dl_symbol_visibility_binds_local_p): New inline function.
19133 * elf/dl-addr.c (determine_info): Treat hidden and internal
19134 symbols as local.
19135 * elf/dl-lookup.c (do_lookup_x): Likewise.
19136 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19137
19138 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19139
19140 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19141 invalid exception for a sNaN input.
19142 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19143 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19144 (__nearbyint_vis3): Likewise
19145 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19146 (__nearbyintf_vis3): Likewise
19147 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19148 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19149 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19150 Likewise.
19151 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19152 Likewise.
19153
19154 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19155
19156 [BZ #20139]
19157 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19158 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19159 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19160 2.24 or above.
19161 (HAVE_AVX512_ASM_SUPPORT): Removed.
19162 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19163 * sysdeps/x86_64/configure: Regenerated.
19164 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19165 check unconditional.
19166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19167 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19168 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19169 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19170 Likewise.
19171 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19172 Likewise.
19173 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19174 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19175 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19176 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19177 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19178 Likewise.
19179 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19180 Likewise.
19181 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19182 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19183 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19184 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19185 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19186 Likewise.
19187 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19188 Likewise.
19189 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19190 Likewise.
19191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19192 Likewise.
19193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19194 Likewise.
19195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19196 Likewise.
19197 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19198 Likewise.
19199 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19200 Likewise.
19201 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19202 Likewise.
19203 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19204 Likewise.
19205 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19206 Likewise.
19207
19208 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19209
19210 [BZ #20024]
19211 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19213 of this implementation of vector function.
19214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19217 Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19219 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19220 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19221 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19222 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19223 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19224 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19225 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19226 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19227 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19228 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19229 for testing vector sincos with fixed ABI.
19230 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19231 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19232 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19233 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19234 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19235 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19236 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19237 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19238 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19239 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19240 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19241 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19242 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19243 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19244 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19245 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19246
19247 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19248
19249 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19250
19251 2016-06-30 Anton Blanchard <anton@samba.org>
19252
19253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19254 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19255 s_sinf-ppc64.
19256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19259 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19260
19261 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19262
19263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19265 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19266 e_expf-ppc64.
19267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19268 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19269 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19270 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19271
19272 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19273
19274 [BZ #20277]
19275 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19276 when SHARED is defined.
19277
19278 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19279
19280 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19281 (index_arch_Prefer_ERMS): Likewise.
19282 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19283 __memcpy_erms for Prefer_ERMS.
19284 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19285 (__memmove_erms): Enabled for libc.a.
19286 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19287 __memmove_erms or Prefer_ERMS.
19288 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19289 __mempcpy_erms for Prefer_ERMS.
19290 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19291 __memset_erms for Prefer_ERMS.
19292
19293 2016-06-30 Andreas Schwab <schwab@suse.de>
19294
19295 [BZ #20262]
19296 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19297 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19298 of memory.
19299
19300 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19301
19302 [BZ #18645]
19303 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19304 (test-extras): Add tst-cleanupx4aux.
19305 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19306 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19307 tst-cleanupx4aux.o.
19308 * nptl/tst-cleanupx4aux.c: New file.
19309
19310 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19311
19312 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19313
19314 2016-06-29 Andreas Schwab <schwab@suse.de>
19315
19316 [BZ #20260]
19317 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19318 address before the beginning of the string as an integer to avoid
19319 array-bounds warning.
19320
19321 2016-06-28 Richard Henderson <rth@redhat.com>
19322
19323 * elf/elf.h (EM_BPF): New.
19324 (EM_NUM): Update.
19325 (R_BPF_NONE, R_BPF_MAP_FD): New.
19326
19327 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19328 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19329 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19330 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19331 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19332 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19333 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19334 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19335 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19336 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19337 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19338 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19339 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19340 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19341 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19342 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19343 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19344 (EM_NUM): Update.
19345
19346 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19347
19348 [BZ #18960]
19349 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19350 Set _nl_current_LC_CATEGORY_used to two instead of one.
19351
19352 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19353
19354 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19355 (do_test): ... this.
19356 (TEST_FUNCTION): New macro.
19357 Include test-skeleton.c.
19358 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19359 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19360
19361 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19362
19363 [BZ #15479]
19364 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19365 floating-point environment rather than just control word.
19366 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19367 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19368 floating-point environment, with "invalid" exceptions merged in,
19369 rather than just control word.
19370 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19371 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19372 "inexact" exceptions.
19373
19374 [BZ #15479]
19375 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19376 floating-point environment rather than just control word.
19377 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19378 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19379 floating-point environment, with "invalid" exceptions merged in,
19380 rather than just control word.
19381 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19382 * math/libm-test.inc (floor_test_data): Do not allow spurious
19383 "inexact" exceptions.
19384
19385 [BZ #15479]
19386 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19387 floating-point environment rather than just control word.
19388 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19389 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19390 floating-point environment, with "invalid" exceptions merged in,
19391 rather than just control word.
19392 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19393 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19394 "inexact" exceptions.
19395
19396 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19397
19398 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19399 __libc_vfork.
19400 (__vfork) [IS_IN (libc)]: Remove alias.
19401 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19402 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19403 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19404
19405 2016-06-24 Torvald Riegel <triegel@redhat.com>
19406
19407 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19408 of atomic_compare_and_exchange_bool_rel.
19409 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19410 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19411 catomic_compare_and_exchange_bool_rel): Remove.
19412 * sysdeps/aarch64/atomic-machine.h
19413 (atomic_compare_and_exchange_bool_rel): Likewise.
19414 * sysdeps/alpha/atomic-machine.h
19415 (atomic_compare_and_exchange_bool_rel): Likewise.
19416 * sysdeps/arm/atomic-machine.h
19417 (atomic_compare_and_exchange_bool_rel): Likewise.
19418 * sysdeps/mips/atomic-machine.h
19419 (atomic_compare_and_exchange_bool_rel): Likewise.
19420 * sysdeps/microblaze/atomic-machine.h
19421 ( __arch_compare_and_exchange_bool_8_rel,
19422 __arch_compare_and_exchange_bool_16_rel): Likewise.
19423 * sysdeps/powerpc/atomic-machine.h
19424 ( __arch_compare_and_exchange_bool_8_rel,
19425 __arch_compare_and_exchange_bool_16_rel): Likewise.
19426 * sysdeps/powerpc/powerpc32/atomic-machine.h
19427 ( __arch_compare_and_exchange_bool_32_rel,
19428 __arch_compare_and_exchange_bool_64_rel): Likewise.
19429 * sysdeps/powerpc/powerpc64/atomic-machine.h
19430 ( __arch_compare_and_exchange_bool_32_rel,
19431 __arch_compare_and_exchange_bool_64_rel): Likewise.
19432 * sysdeps/tile/atomic-machine.h
19433 (atomic_compare_and_exchange_bool_rel): Likewise.
19434
19435 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19436
19437 [BZ #20296]
19438 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19439 when either argument is a NaN.
19440 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19441 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19442
19443 * math/libm-test.inc (snan_value_ld): New macro.
19444 (isgreater_test_data): Add sNaN tests.
19445 (isgreaterequal_test_data): Likewise.
19446 (isless_test_data): Likewise.
19447 (islessequal_test_data): Likewise.
19448 (islessgreater_test_data): Likewise.
19449 (isunordered_test_data): Likewise.
19450 (nextafter_test_data): Likewise.
19451 (nexttoward_test_data): Likewise.
19452 (remainder_test_data): Likewise.
19453 (remquo_test_data): Likewise.
19454 (significand_test_data): Likewise.
19455 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19456
19457 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19458
19459 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19460 environment macros are defined.
19461 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19462
19463 2016-06-23 Florian Weimer <fweimer@redhat.com>
19464
19465 [BZ #20191]
19466 Implement vtable verification in libio.
19467 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19468 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19469 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19470 _IO_new_file_init_internal instead of _IO_file_init.
19471 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19472 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19473 * libio/Makefile (routines): Add vtables.
19474 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19475 (_IO_init): Remove, not for internal use.
19476 (_IO_init_internal): Declare, internal replacement for _IO_init.
19477 (_IO_file_init): Remove, not for internal use.
19478 (_IO_new_file_init): Remove, not for internal use.
19479 (_IO_new_file_init_internal): Declare, internal replacement for
19480 _IO_new_file_init.
19481 (_IO_old_file_init): Remove, not for internal use.
19482 (_IO_old_file_init_internal): Declare, internal replacement for
19483 _IO_old_file_init.
19484 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19485 internal use.
19486 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19487 Declare.
19488 (libio_vtable): New macro.
19489 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19490 functions.
19491 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19492 _IO_new_file_init.
19493 (_IO_new_file_init): New externally visible wrapper which disables
19494 vtable verification.
19495 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19496 Define as vtables.
19497 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19498 (_IO_init): New externally visible wrapper which disables
19499 vtable verification.
19500 * libio/iofdopen.c (_IO_new_fdopen): Call
19501 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19502 comment.
19503 * libio/iofopen.c (__fopen_internal): Call
19504 _IO_new_file_init_internal instead of _IO_file_init.
19505 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19506 Define as vtables.
19507 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19508 _IO_new_file_init_internal instead of _IO_file_init.
19509 * libio/iopopen.c (_IO_new_popen): Likewise.
19510 (_IO_proc_jumps): Define as vtable.
19511 * libio/iovdprintf.c (_IO_vdprintf): Call
19512 _IO_new_file_init_internal instead of _IO_file_init.
19513 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19514 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19515 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19516 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19517 _IO_old_file_init.
19518 (_IO_old_file_init): New externally visible wrapper which disables
19519 vtable verification.
19520 (_IO_old_file_jumps): Define as vtable.
19521 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19522 _IO_old_file_init_internal instead of _IO_old_file_init.
19523 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19524 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19525 (_IO_old_proc_jumps): Define as vtable.
19526 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19527 Define as vtables.
19528 * libio/vtables.c: New file.
19529 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19530 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19531 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19532 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19533 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19534 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19535 instead of _IO_init.
19536
19537 2016-06-23 Florian Weimer <fweimer@redhat.com>
19538
19539 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19540
19541 2016-06-23 Florian Weimer <fweimer@redhat.com>
19542
19543 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19544 potentially unused.
19545
19546 2016-06-22 Florian Weimer <fweimer@redhat.com>
19547
19548 * test-skeleton.c (write_message): New function.
19549 * malloc/tst-mallocfork2.c (write_message): Remove.
19550 * debug/tst-longjmp_chk2.c (write_indented): New function.
19551 (write_message): Remove.
19552 (stackoverflow_handler): Call write_indented.
19553
19554 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19555
19556 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19557 "inexact" exceptions after fnstenv.
19558 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19559 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19560 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19561
19562 2015-06-22 Zack Weinberg <zackw@panix.com>
19563
19564 * sysdeps/generic/bits/hwcap.h: Moved to ...
19565 * bits/hwcap.h: Here.
19566
19567 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19568
19569 * sysdeps/aarch64/memcpy.S (memcpy):
19570 Further tuning for performance.
19571
19572 2016-06-21 Florian Weimer <fweimer@redhat.com>
19573
19574 [BZ #20284]
19575 * malloc/arena.c (reused_arena): Do not return NULL if we start
19576 out with a non-corrupted arena.
19577
19578 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19579
19580 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19581 * misc/tst-preadvwritev.c: New file.
19582 * misc/tst-preadvwritev64.c: Likewise.
19583 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19584 usage.
19585 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19586 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19587 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19588 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19589
19590 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19591
19592 [BZ #19654]
19593 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19594 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19595 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19596 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19597 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19598 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19599 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19600 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19601 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19602 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19603 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19604 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19605 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19606 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19607 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19608 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19609 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19610 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19611 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19612 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19613 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19614 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19615 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19616 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19617 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19618 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19619
19620 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19621
19622 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19623 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19624
19625 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19626
19627 * sysdeps/aarch64/memcpy.S (memcpy):
19628 Rewrite of optimized memcpy and memmove.
19629 * sysdeps/aarch64/memmove.S (memmove): Remove
19630 memmove code (merged into memcpy.S).
19631
19632 2016-06-20 Florian Weimer <fweimer@redhat.com>
19633
19634 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19635 * sysdeps/generic/dl-dtv.h: New file.
19636 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19637 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19638 (dtv_t): Remove.
19639 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19640 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19641 (dtv_t): Remove.
19642 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19643 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19644 (dtv_t): Remove.
19645 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19646 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19647 (dtv_t): Remove.
19648 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19649 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19650 (dtv_t): Remove.
19651 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19652 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19653 (dtv_t): Remove.
19654 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19655 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19656 (dtv_t): Remove.
19657 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19658 (dtv_t): Remove.
19659 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19660 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19661 (dtv_t): Remove.
19662 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19663 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19664 (dtv_t): Remove.
19665 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19666 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19667 (dtv_t): Remove.
19668 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19669 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19670 (dtv_t): Remove.
19671 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19672 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19673 (dtv_t): Remove.
19674 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19675 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19676 (dtv_t): Remove.
19677 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19678 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19679 (dtv_t): Remove.
19680 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19681 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19682 (dtv_t): Remove.
19683
19684 2016-06-20 Florian Weimer <fweimer@redhat.com>
19685
19686 Revert symbol poisoning of __malloc_initialize_hook.
19687 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19688 poisoning.
19689 * malloc/Makefile: Remove un-poisoning.
19690 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19691 instead of old__malloc_initialize_hook.
19692 * malloc/malloc-hooks.h: Likewise.
19693 * malloc/malloc.c: Likewise.
19694 * malloc/mcheck-init.c: Likewise.
19695
19696 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19697
19698 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19699
19700 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19701
19702 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19703 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19704 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19706
19707 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19708
19709 * NEWS: Mention addition of nextup and nextdown.
19710 * manual/arith.texi: Document nextup and nextdown.
19711 * manual/libm-err-tab.pl: Add nextup and nextdown.
19712 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19713 * math/Versions (libm): Add GLIBC_2.24.
19714 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19715 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19716 Add new test.
19717 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19718 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19719 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19720 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19721 (nextup_test_data): Likewise.
19722 (nextdown_test_data): Likewise.
19723 * math/s_nextdown.c: New file.
19724 * math/s_nextdownf.c: Likewise.
19725 * math/s_nextdownl.c: Likewise.
19726 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19727 F(nextup): New function.
19728 F(nextdown): Likewise.
19729 * math/tgmath.h: Add nextup and nextdown.
19730 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19731 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19736 Add nextup and nextdown.
19737 (CFLAGS-nldbl-nextup.c): New variable.
19738 (CFLAGS-nldbl-nextdown.c): Likewise.
19739 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19740 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19741 * sysdeps/nacl/libm.abilist: Update.
19742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19743 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19744 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19745 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19746 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19747 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19748 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19749 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19751 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19752 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19753 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19756 Likewise.
19757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19759 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19761 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19762 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19763 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19766 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19767 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19768 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19769 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19770
19771 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19772
19773 * manual/pattern.texi: Fix typos & grammar errors.
19774
19775 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19776
19777 * manual/search.texi: Fix typos & grammar errors.
19778
19779 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19780
19781 * manual/message.texi: Fix typos & grammar errors.
19782
19783 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19784
19785 * manual/contrib.texi: Fix spelling typos.
19786 * manual/crypt.texi: Likewise.
19787 * manual/filesys.texi: Likewise.
19788 * manual/locale.texi: Likewise.
19789 * manual/message.texi: Likewise.
19790 * manual/nss.texi: Likewise.
19791 * manual/string.texi: Likewise.
19792
19793 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19794
19795 * manual/locale.texi: Fix typos & grammar errors.
19796
19797 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19798
19799 * manual/charset.texi: Fix typos & grammar errors.
19800
19801 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19802
19803 * manual/string.texi: Fix typos.
19804
19805 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19806
19807 * manual/ctype.texi: Fix typos.
19808
19809 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19810
19811 * manual/memory.texi: Fix various typos & grammar errors.
19812
19813 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19814
19815 [BZ #20255]
19816 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19817 * math/libm-test.inc (fdim_test_data): Add another test.
19818
19819 [BZ #6796]
19820 [BZ #20255]
19821 [BZ #20256]
19822 * math/s_fdim.c: Include <math_private.h>.
19823 (__fdim): Use math_narrow_eval on result.
19824 * math/s_fdimf.c: Include <math_private.h>.
19825 (__fdimf): Use math_narrow_eval on result.
19826 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19827 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19828 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19829 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19830 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19831 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19832 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19833 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19834 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19835 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19836 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19837 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19838 overflow. Add sNaN tests.
19839
19840 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19841 fpclassify.
19842 * math/s_fdimf.c (__fdimf): Likewise.
19843 * math/s_fdiml.c (__fdiml): Likewise.
19844
19845 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19846
19847 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19848 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19850 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19851 ifunc'ed strcasecmp/strncasecmp.
19852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19853 [EALIGN]: Removed.
19854 [END]: Likewise.
19855 [__strcasecmp]: Define instead of the above to control symbol name.
19856 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19857 for __strcasecmp_power8.
19858 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19859 for __strncasecmp_power8.
19860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19862 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19863 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19864 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19865 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19866
19867 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19868
19869 [BZ #20252]
19870 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19871 arguments when second argument is a NaN.
19872 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19873 qNaN tests.
19874
19875 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19876 (conj_test_data): Likewise.
19877 (copysign_test_data): Likewise.
19878 (creal_test_data): Likewise.
19879 (fma_test_data): Likewise.
19880 (fmod_test_data): Likewise.
19881
19882 [BZ #20250]
19883 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19884 itself.
19885 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19886 zero input to itself.
19887 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19888 Likewise.
19889 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19890 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19891 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19892 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19893 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19894
19895 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19896
19897 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19898 * nptl/tst-cancel4-common.c: New file.
19899 * nptl/tst-cancel4-common.h: Likewise.
19900 * nptl/tst-cancel4.c: Move common definitions to
19901 tst-cancel4-common.{c,h} file.
19902 * nptl/tst-cancel4_1.c: New test.
19903 * nptl/tst-cancel4_2.c: New test.
19904
19905 2016-06-13 Florian Weimer <fweimer@redhat.com>
19906
19907 [BZ #20248]
19908 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19909 (write_message): New function.
19910 (stackoverflow_handler): Call it instead of printf, to avoid
19911 excessive stack usage by printf.
19912 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19913
19914 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19915
19916 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19917 (prio_inherit_missing): Remove define.
19918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19919 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19920 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19921 Likewise.
19922 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19923 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19924 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19925 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19926 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19927 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19928
19929 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19930
19931 [BZ #19670]
19932 [BZ #19672]
19933
19934 * io/test-lfs.c (do_prepare): Use xmalloc.
19935 * io/tst-fcntl.c (do_prepare): Likewise.
19936 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19937 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19938 * login/tst-utmp.c (do_prepare): Likewise.
19939 * posix/tst-exec.c (do_prepare): Likewise.
19940 * posix/tst-pathconf.c (prepare): Likewise.
19941 * posix/tst-spawn.c (do_prepare): Likewise.
19942 * posix/tst-truncate.c (do_prepare): Likewise.
19943 * rt/tst-aio.c (do_prepare): Likewise.
19944 * rt/tst-aio64.c (do_prepare): Likewise.
19945
19946 2016-06-11 Florian Weimer <fweimer@redhat.com>
19947
19948 [BZ #20237]
19949 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19950 (get*ent): Set entidx to NULL during initialization. If entidx is
19951 NULL, start iteration from the beginning.
19952
19953 2016-06-11 Florian Weimer <fweimer@redhat.com>
19954
19955 * malloc/malloc.c (musable): Return correct size for dumped fake
19956 mmapped chunk.
19957
19958 2016-06-11 Florian Weimer <fweimer@redhat.com>
19959
19960 [BZ #20222]
19961 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19962 (_IO_cookie_write): Likewise.
19963 (_IO_cookie_seek): Likewise.
19964 (_IO_cookie_close): Likewise.
19965 (_IO_old_cookie_seek): Likewise.
19966 (set_callbacks): New function.
19967 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19968
19969 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19970
19971 * locale/programs/localedef.c (oldstyle_tables): Remove.
19972 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19973
19974 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19975
19976 [BZ #20240]
19977 * math/Makefile (CFLAGS-s_modf.c): New variable.
19978 (CFLAGS-s_modff.c): Likewise.
19979 (CFLAGS-s_modfl.c): Likewise.
19980 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19981
19982 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19983
19984 [BZ #20215]
19985 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19986 [!__GNUC_PREREQ (3,2)]: Likewise.
19987
19988 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19989
19990 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19991 (msghdr.msg_controllen): Likewise.
19992 (cmsghdr.cmsg_len): Likewise.
19993 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19994 ptw-oldsendmsg.
19995 (CFLAGS-oldrecvmsg.c): Remove rule.
19996 (CFLAGS-oldsendmsg.c): Likewise.
19997 (CFLAGS-recvmsg.c): Add rule.
19998 (CFLAGS-sendmsg.c): Likewise.
19999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20000 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20001 (CFLAGS-recvmsg.c): Remove rule.
20002 (CFLAGS-sendmsg.c): Likewise.
20003 (CFLAGS-oldrecvmsg.c): Likewise.
20004 (CFLAGS-oldsendmsg.c): Likewise.
20005 (CFLAGS-recvmmsg.c): Likewise.
20006 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20007 to kernel defined interfaces.
20008 (msghdr.msg_controllen): Likewise.
20009 (cmsghdr.cmsg_len): Likewise.
20010 (msghdr.__glibc_reserved1): Remove member.
20011 (msghdr.__glibc_reserved2): Likewise.
20012 (cmsghdr.__glibc_reserved1): Likewise.
20013 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20014 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20015 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20016 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20017 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20018 version.
20019 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20020 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20021 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20022 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20023 Remove recvmsg and sendmsg.
20024 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20025 Likewise.
20026 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20027 Likewise.
20028 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20029 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20030 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20031 Likewise.
20032 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20033 Likewise.
20034 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20035 [libc] (GLIBC_2.24): Likewise.
20036 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20037 Likewise.
20038 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20039 Likewise.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20041 [libc] (GLIBC_2.24): Likewise.
20042 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20043 Likewise.
20044 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20045 Likewise.
20046 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20047 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20048 Likewise.
20049 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20050 Likewise.
20051 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20052 Likewise.
20053 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20054 Likewise.
20055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20056 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20057 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20058 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20059 version for {recv,send,recm,sendm}msg.
20060 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20061 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20062 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20063 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20065 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20066 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20067 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20068 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20069 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20070 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20071 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20073 Likewise.
20074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20075 Likewise.
20076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20078 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20079 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20080 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20081 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20082 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20083 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20086 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20087 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20088 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20089
20090 2016-06-10 Florian Weimer <fweimer@redhat.com>
20091
20092 [BZ #19564]
20093 Remove __malloc_initialize_hook from the API.
20094 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20095 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20096 #pragma GCC poison.
20097 * malloc/malloc-hooks.h: New file.
20098 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20099 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20100 (old__malloc_initialize_hook): Rename from
20101 __malloc_initialize_hook to evade poisoning. Turn into compat
20102 symbol.
20103 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20104 __malloc_initialize_hook.
20105 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20106 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20107 * manual/memory.texi (Hooks for Malloc): Remove
20108 __malloc_initialize_hook. Adjust hook example.
20109
20110 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20111
20112 [BZ #20235]
20113 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20114 itself.
20115 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20116 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20117
20118 [BZ #20234]
20119 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20120 infinity or NaN input to itself.
20121
20122 [BZ #20233]
20123 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20124 to itself.
20125
20126 [BZ #20232]
20127 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20128 itself.
20129
20130 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20131
20132 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20133 __libc_start_main via GOT.
20134
20135 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20136
20137 * sysdeps/x86_64/memcopy.h: New file.
20138 * sysdeps/x86_64/wordcopy.c: Likewise.
20139
20140 2016-06-09 Florian Weimer <fweimer@redhat.com>
20141
20142 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20143 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20144 <cstdlib>.
20145 (optimization_barrier): New.
20146 (do_test): Use it. Call quick_exit in the global namespace.
20147 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20148 instead of <cstdlib>, <thread>.
20149 (optimization_barrier): New.
20150 (non_main_thread): Adjust declaration. Call optimization_barrier.
20151 Call quick_exit in the global namespace.
20152 (do_test): Call optimization_barrier. Use pthread_create,
20153 pthread_join instead of std::thread.
20154
20155 2016-06-09 Andreas Schwab <schwab@suse.de>
20156
20157 [BZ #19755]
20158 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20159 new entries in auto-propagate mode.
20160 * nscd/grpcache.c (cache_addgr): Likewise.
20161
20162 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20163
20164 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20165 New functions.
20166 (add_temp_file): Use them.
20167
20168 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20169
20170 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20171
20172 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20173
20174 [BZ #20229]
20175 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20176 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20177 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20178
20179 [BZ #20228]
20180 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20181 itself.
20182 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20183 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20184
20185 [BZ #20227]
20186 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20187 itself.
20188 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20189 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20190 * math/libm-test.inc (log_test_data): Add sNaN tests.
20191
20192 [BZ #20226]
20193 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20194 itself.
20195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20196 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20197 (exp10_test_data): Likewise.
20198 (expm1_test_data): Likewise.
20199
20200 [BZ #20225]
20201 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20202 itself.
20203 * math/s_ldexpf.c (__ldexpf): Likewise.
20204 * math/s_ldexpl.c (__ldexpl): Likewise.
20205 * math/w_scalbln.c (__w_scalbln): Likewise.
20206 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20207 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20208 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20209 (scalbln_test_data): Likewise.
20210
20211 [BZ #20224]
20212 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20213 argument to itself.
20214 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20215
20216 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 [BZ #19776]
20219 * sysdeps/x86_64/memcpy.S: Make it dummy.
20220 * sysdeps/x86_64/mempcpy.S: Likewise.
20221 * sysdeps/x86_64/memmove.S: New file.
20222 * sysdeps/x86_64/memmove_chk.S: Likewise.
20223 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20224 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20225 * sysdeps/x86_64/memmove.c: Removed.
20226 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20227 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20228 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20229 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20230 Likewise.
20231 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20232 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20234 memcpy-sse2-unaligned, memmove-avx-unaligned,
20235 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20237 (__libc_ifunc_impl_list): Replace
20238 __memmove_chk_avx512_unaligned_2 with
20239 __memmove_chk_avx512_unaligned. Remove
20240 __memmove_chk_avx_unaligned_2. Replace
20241 __memmove_chk_sse2_unaligned_2 with
20242 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20243 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20244 with __memmove_avx512_unaligned. Replace
20245 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20246 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20247 with __memcpy_chk_avx512_unaligned. Remove
20248 __memcpy_chk_avx_unaligned_2. Replace
20249 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20250 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20251 Replace __memcpy_avx512_unaligned_2 with
20252 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20253 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20254 with __mempcpy_chk_avx512_unaligned. Remove
20255 __mempcpy_chk_avx_unaligned_2. Replace
20256 __mempcpy_chk_sse2_unaligned_2 with
20257 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20258 Replace __mempcpy_avx512_unaligned_2 with
20259 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20260 Replace __mempcpy_sse2_unaligned_2 with
20261 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20262 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20263 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20264 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20265 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20266 (ENTRY): Removed.
20267 (END): Likewise.
20268 (ENTRY_CHK): Likewise.
20269 (libc_hidden_builtin_def): Likewise.
20270 Don't include ../memcpy.S.
20271 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20272 __memcpy_chk_avx512_unaligned_erms and
20273 __memcpy_chk_avx512_unaligned. Use
20274 __memcpy_chk_avx_unaligned_erms and
20275 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20276 Default to __memcpy_chk_sse2_unaligned.
20277 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20278 Change function suffix from unaligned_2 to unaligned.
20279 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20280 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20281 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20282 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20283 (ENTRY): Removed.
20284 (END): Likewise.
20285 (ENTRY_CHK): Likewise.
20286 (libc_hidden_builtin_def): Likewise.
20287 Don't include ../mempcpy.S.
20288 (mempcpy): New. Add a weak alias.
20289 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20290 __mempcpy_chk_avx512_unaligned_erms and
20291 __mempcpy_chk_avx512_unaligned. Use
20292 __mempcpy_chk_avx_unaligned_erms and
20293 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20294 Default to __mempcpy_chk_sse2_unaligned.
20295
20296 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20297
20298 [BZ #19881]
20299 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20300 into ...
20301 * sysdeps/x86_64/memset.S: This.
20302 (__bzero): Removed.
20303 (__memset_tail): Likewise.
20304 (__memset_chk): Likewise.
20305 (memset): Likewise.
20306 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20307 defined.
20308 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20309 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20310 (__memset_zero_constant_len_parameter): Check SHARED instead of
20311 PIC.
20312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20313 memset-avx2 and memset-sse2-unaligned-erms.
20314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20315 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20316 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20317 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20318 (__bzero): Enabled.
20319 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20320 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20321 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20322 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20323 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20324 (memset): Removed.
20325 (__memset_chk): Likewise.
20326 (MEMSET_SYMBOL): New.
20327 (libc_hidden_builtin_def): Replace __memset_sse2 with
20328 __memset_sse2_unaligned.
20329 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20330 __memset_chk_sse2 and __memset_chk_avx2 with
20331 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20332 Use __memset_chk_sse2_unaligned_erms or
20333 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20334 __memset_chk_avx512_unaligned_erms and
20335 __memset_chk_avx512_unaligned.
20336
20337 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20338
20339 * math/gen-auto-libm-test.c (fp_format_desc): remove
20340 suffix member.
20341 (output_generic_value): Remove usage of suffix member,
20342 and the resulting unuse of the fp_format argument.
20343 (output_for_one_input_case): Remove unused fp_format
20344 parameter.
20345
20346 * math/auto-libm-test-out: Regenerate.
20347
20348 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20349 usage with TEST_COND_ibm128.
20350 (TEST_COND_flt_32): Remove.
20351 (TEST_COND_dbl_64): Remove.
20352 (TEST_COND_ldbl_96_intel): Remove.
20353 (TEST_COND_ldbl_96_m68k): Remove.
20354 (TEST_COND_ldbl_128): Remove.
20355
20356 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20357
20358 * auto-libm-test-in:
20359 Replace flt-32 usage with binary32.
20360 Replace dbl-64 usage with binary64.
20361 Replace ldbl-intel-96 usage with intel96.
20362 Replace ldbl-m68k-96 usage with m68k96.
20363 Replace ldbl-128ibm usage with ibm128.
20364 Replace ldbl-128 usage with binary128.
20365
20366 * auto-libm-test-out: Regenerate.
20367
20368 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20369
20370 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20371 (parse_ulps): Dynamically generate type name matching
20372 string from all_floats.
20373 (get_ulps): Generate the ulps as an array instead.
20374 (output_ulps): Dynamically compose the type based
20375 on the number of supported formats, and print
20376 the indices as type specific helper macros.
20377
20378 * math/libm-test.inc: Remove comment about CHOOSE.
20379 (ulp_data): Generate the type in libm-test-ulps.h.
20380 (ULP_IDX): New macro.
20381 (find_ulps): Update usage of max_ulp.
20382
20383 * math/test-double-vlen2.h (CHOOSE): Remove.
20384 * math/test-double-vlen4.h (CHOOSE): Likewise.
20385 * math/test-double-vlen8.h (CHOOSE): Likewise.
20386 * math/test-float.c (CHOOSE): Likewise.
20387 * math/test-float-finite.c (CHOOSE): Likewise.
20388 * math/test-double.c (CHOOSE): Likewise.
20389 * math/test-double-finite.c (CHOOSE): Likewise.
20390 * math/test-idouble.c (CHOOSE): Likewise.
20391 * math/test-ifloat.c (CHOOSE): Likewise.
20392 * math/test-ildoubl.c (CHOOSE): Likewise.
20393 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20394 * math/test-ldouble.c (CHOOSE): Likewise.
20395
20396 * math/test-float.h (TEST_FLOAT): Remove.
20397 * math/test-double.h (TEST_DOUBLE): Likewise.
20398 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20399
20400 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20401
20402 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20403 (parse_args): Strip C suffix from floating point literals
20404 typed with 'f' and wrap them with LIT().
20405
20406 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20407 (test_ff_f_data_nexttoward): Rename to
20408 (test_fj_f_data): New struct.
20409 (nexttoward_test_data): Relabel tests as
20410 TEST_fj_f instead of TEST_ff_f.
20411
20412 2016-06-08 Florian Weimer <fweimer@redhat.com>
20413
20414 Emacs bug 23726.
20415 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20416 (__libc_realloc): Correct size computation for dumped fake mmapped
20417 chunks.
20418
20419 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20420
20421 [BZ #20219]
20422 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20423 to itself.
20424 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20425
20426 [BZ #20218]
20427 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20428 to itself.
20429 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20430
20431 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20432
20433 [BZ #20195]
20434 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20435 check to ...
20436 (init_cpu_features): Here.
20437
20438 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20439
20440 [BZ #20214]
20441 * sysdeps/unix/sysv/linux/bits/in.h
20442 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20443 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20444 Define to 1.
20445 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20446 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20447 Define to 0.
20448 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20449 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20450
20451 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20452
20453 [BZ #20198]
20454 * stdlib/Makefile (tests): Add tst-quick_exit, and
20455 tst-thread-quick_exit.
20456 [ifeq ($(have-cxx-thread_local),yes)]
20457 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20458 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20459 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20460 (LDLIBS-tst-thread-quick_exit): Likewise.
20461 [ifneq ($(have-cxx-thread_local),yes)]
20462 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20463 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20464 If run_dtors is true call __call_tls_dtors.
20465 (exit): Call __run_exit_handlers with run_dtors set to true.
20466 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20467 definition.
20468 * stdlib/quick_exit.c (quick_exit): Remove function.
20469 (__new_quick_exit): New function.
20470 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20471 function.
20472 * stdlib/tst-quick_exit.cc: New file.
20473 * stdlib/tst-thread-quick_exit.cc: New file.
20474 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20475 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20477 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20478 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20479 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20480 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20481 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20482 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20483 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20484 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20485 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20486 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20487 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20488 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20489 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20494 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20495 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20496 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20497 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20498 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20501 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20502 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20503 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20504
20505 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20506
20507 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20508 a typo in comments.
20509
20510 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20511
20512 [BZ #20213]
20513 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20514 argument to itself.
20515 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20516
20517 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20518
20519 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20520 required flags.
20521 (CFLAGS-pwritev64.c): Likewise.
20522 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20523 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20524 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20525 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20526 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20527 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20528 syscall from auto-generation.
20529 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20530 [WORDSIZE == 64] (pwritev64): Remove macro.
20531 [!PWRITEV] (PWRITEV): Likewise.
20532 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20533 [!PWRITEV] (PWRITE): Likewise.
20534 [!PWRITEV] (OFF_T): Likewise.
20535 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20536 (LO_HI_LONG): Remove macro.
20537 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20538 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20539 (PWRITEV): Remove macro.
20540 (PWRITEV_REPLACEMENTE): Likewise.
20541 (PWRITE): Likewise.
20542 (OFF_T): Likewise.
20543 (pwritev64): New function.
20544 * nptl/tst-cancel4.c (tf_writev): Add test.
20545
20546 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20547 required flags.
20548 (CFLAGS-preadv64.c): Likewise.
20549 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20550 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20551 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20552 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20553 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20554 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20555 syscall from auto-generation.
20556 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20557 [WORDSIZE == 64] (preadv64): Remove macro.
20558 [!PREADV] (PREADV): Likewise.
20559 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20560 [!PREADV] (PREAD): Likewise.
20561 [!PREADV] (OFF_T): Likewise.
20562 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20563 (LO_HI_LONG): Remove macro.
20564 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20565 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20566 (PREADV): Remove macro.
20567 (PREADV_REPLACEMENTE): Likewise.
20568 (PREAD): Likewise.
20569 (OFF_T): Likewise.
20570 (preadv64): New function.
20571 * nptl/tst-cancel4.c (tf_preadv): Add test.
20572
20573 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20574
20575 [BZ #20212]
20576 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20577 argument to itself.
20578 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20579
20580 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20581
20582 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20583 New symbol defined as libc_hidden_def.
20584 (strcasestr): Became a weak alias to __strcasestr.
20585 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20586 according to multi-arch support. Move __stpncpy hidden
20587 definition from here to...
20588 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20589 symbol stpncpy.
20590 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20591 libc_hidden_builtin_def.
20592 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20593 memset symbol to use when multi-arch support is available.
20594
20595 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20596
20597 * dlfcn/tst-rec-dlopen.c: Include string.h.
20598
20599 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20600
20601 * manual/install.texi: Remove mention of --without-tls
20602 * INSTALL: Regenerate.
20603
20604 2016-06-05 Florian Weimer <fweimer@redhat.com>
20605
20606 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20607 Remove.
20608 (call_function, interposed_malloc_called): New variables.
20609 (malloc): New function.
20610 (do_test): Do not change malloc hooks. Initialize malloc. Set
20611 and clear call_function as needed.
20612
20613 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20614
20615 * include/wchar.h (__wmemset): Use __typeof.
20616
20617 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20618
20619 * include/wchar.h (__wmemset): Declare function without typeof.
20620
20621 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20622
20623 [BZ #20205]
20624 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20625 exponent when incrementing negative subnormal with low mantissa
20626 word zero.
20627 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20628 Add another test.
20629
20630 2016-06-03 Florian Weimer <fweimer@redhat.com>
20631
20632 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20633 __wmemset instead of wmemset.
20634
20635 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20636
20637 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20638 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20639 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20640 __USE_KERNEL_IPV6_DEFS to 0.
20641 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20642 Update comment.
20643
20644 2016-06-01 Florian Weimer <fweimer@redhat.com>
20645
20646 [BZ #19861]
20647 Do not use IFUNC resolver with potentially unrelocated symbol.
20648 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20649 (DEFINE_FORK): Remove macro and inline definition.
20650 (fork_alias): Renamed from fork_ifunc.
20651 (__fork_alias): Renamed from __fork_ifunc.
20652
20653 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20654
20655 [BZ 19653]
20656 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20657 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20658
20659 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20660
20661 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20662 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20663 i386-linux-gnu).
20664 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20665 Set to no.
20666 * sysdeps/mach/hurd/configure: Refresh.
20667
20668 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20669
20670 [BZ #20178]
20671 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20672 on failure instead of exit.
20673
20674 2016-05-30 Roland McGrath <roland@hack.frob.com>
20675
20676 [BZ #3629]
20677 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20678 of POSIX.1-2008.
20679
20680 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20681
20682 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20683 Use PLT entry for calling _hurd_self_sigstate.
20684
20685 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20686
20687 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20688 available logical processors with SMT level type sharing L2
20689 cache for Intel processors.
20690
20691 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20692
20693 [BZ #20160]
20694 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20695 argument to itself before returning the result.
20696 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20697 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20698 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20699 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20700 Likewise.
20701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20702 Likewise.
20703 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20704 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20705 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20706 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20707 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20708 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20709
20710 [BZ #20160]
20711 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20712 argument to itself before returning the result.
20713 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20714 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20715 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20716 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20717 Likewise.
20718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20719 Likewise.
20720 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20721 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20722 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20723 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20724 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20725 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20726
20727 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20728
20729 * libm-test.inc: Replace usage of M_El with
20730 (lit_e): New macro.
20731
20732 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20733
20734 * libm-test.inc: Replace usage of M_PI_4l with
20735 (lit_pi_4_d): New macro.
20736
20737 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20738
20739 * libm-test.inc: Replace usage of M_PIl with
20740 (lit_pi): New macro.
20741
20742 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20743
20744 * libm-test.inc: Replace usage of M_PI2l with
20745 (lit_pi_2_d): New macro.
20746
20747 * math/test-double.h (LITM): New macro.
20748 * math/test-float.h (LITM): Likewise.
20749 * math/test-ldouble.h (LITM): Likewise.
20750
20751 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20752
20753 * libm-test.inc (M_PI_34l): Rename to
20754 (lit_pi_3_m_4_d): New Macro.
20755 (M_PI_34_LOG10El): Rename to
20756 (lit_pi_3_m_4_ln10_m_d): New Macro.
20757 (M_PI2_LOG10El): Rename to
20758 (lit_pi_2_ln10_m_d): New Macro.
20759 (M_PI4_LOG10El): Rename to
20760 (lit_pi_4_ln10_m_d): New Macro.
20761 (M_PI_LOG10El): Rename to
20762 (lit_pi_ln10_d): New Macro.
20763
20764 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20765
20766 [BZ #20157]
20767 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20768 determine whether to negate low half if [_ARCH_PPCGR], and integer
20769 comparison otherwise.
20770 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20771 determine whether to negate low half.
20772
20773 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20774 (NO_TEST_INLINE_DOUBLE): Likewise.
20775 (TEST_COND_x86_64): Likewise.
20776 (TEST_COND_x86): Likewise.
20777 (M_PI_6l): Likewise.
20778
20779 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20780
20781 * math/libm-test.inc:
20782 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20783 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20784 (TEST_LDOUBLE): Update usage to evaluate as true if
20785 the guarded tests match the property being tested.
20786 (LDBL_MAX_EXP): Change to MAX_EXP.
20787 (LDBL_MIN_EXP): Change to MIN_EXP.
20788 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20789 nexttoward tests.
20790
20791 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20792
20793 * math/libm-test.inc:
20794 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20795 (TYPE_MIN): Likewise.
20796 (TYPE_TRUE_MIN): Likewise.
20797 (TYPE_MAX): Likewise.
20798 (MIN_EXP): Likewise.
20799 (MAX_EXP): Likewise.
20800 (MANT_DIG): Likewise.
20801
20802 (FSTR_MAX): New macro.
20803 (__CONCATX): Likewise.
20804 (QTYPE_STR): Likewise.
20805 (TEST_COND_binary32): Likewise.
20806 (TEST_COND_binary64): Likewise.
20807 (TEST_COND_binary128): Likewise.
20808 (TEST_COND_ibm128): Likewise.
20809 (TEST_COND_intel96): Likewise.
20810 (TEST_COND_m68k96): Likewise.
20811
20812 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20813 (TEST_COND_dbl_64): Likewise.
20814 (TEST_COND_ldbl_96_intel): Likewise.
20815 (TEST_COND_ldbl_96_m68k): Likewise.
20816 (TEST_COND_ldbl_128): Likewise.
20817 (TEST_COND_ldbl_128ibm): Likewise.
20818
20819 (plus_zero): Redefine using LIT macro.
20820 (minus_zero): Likewise.
20821 (plus_infty): Redefine as (INF).
20822 (minux_infty): Redefine as (-INF).
20823 (max_value): Redefine as TYPE_MAX.
20824 (min_value): Redefine as TYPE_MIN.
20825 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20826
20827 (print_float): Refactor to use snprintf to convert FLOAT values
20828 to string. This brings it closer to dropin replacement of strtof
20829 for the TS 18661 defined types.
20830 (update_stats): Likewise.
20831 (print_complex_function_ulps): Likewise.
20832 (print_max_error): Likewise.
20833 (print_complex_max_error): Likewise.
20834 (check_float_internal): Likewise.
20835
20836 * math/test-float.h (PREFIX): New macro.
20837 (LIT): Likewise.
20838 (TYPE_STR): Likewise.
20839 (FTOSTR): Likewise.
20840
20841 * math/test-double.h (PREFIX): New macro.
20842 (LIT): Likewise.
20843 (TYPE_STR): Likewise.
20844 (FTOSTR): Likewise.
20845
20846 * math/test-ldouble.h (PREFIX): New macro.
20847 (LIT): Likewise.
20848 (TYPE_STR): Likewise.
20849 (FTOSTR): Likewise.
20850
20851 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20852
20853 [BZ #20156]
20854 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20855 to itself when zero or not finite.
20856 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20857 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20858 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20859 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20860
20861 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20862
20863 [BZ #20153]
20864 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20865 x * x + x for infinities and NaNs.
20866
20867 [BZ #20151]
20868 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20869 argument to itself before returning result.
20870 (__ieee754_y0l): Likewise.
20871 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20872 (__ieee754_y1l).
20873
20874 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20875 (atan_test_data): Likewise.
20876 (ceil_test_data): Likewise.
20877 (cos_test_data): Likewise.
20878 (cosh_test_data): Likewise.
20879 (erf_test_data): Likewise.
20880 (exp2_test_data): Likewise.
20881 (fabs_test_data): Likewise.
20882 (floor_test_data): Likewise.
20883 (ilogb_test_data): Likewise.
20884 (j0_test_data): Likewise.
20885 (j1_test_data): Likewise.
20886 (jn_test_data): Likewise.
20887 (lgamma_test_data): Likewise.
20888 (lrint_test_data): Likewise.
20889 (llrint_test_data): Likewise.
20890 (logb_test_data): Likewise.
20891 (lround_test_data): Likewise.
20892 (llround_test_data): Likewise.
20893 (nearbyint_test_data): Likewise.
20894 (rint_test_data): Likewise.
20895 (round_test_data): Likewise.
20896 (sin_test_data): Likewise.
20897 (sincos_test_data): Likewise.
20898 (sinh_test_data): Likewise.
20899 (sqrt_test_data): Likewise.
20900 (tan_test_data): Likewise.
20901 (tanh_test_data): Likewise.
20902 (tgamma_test_data): Likewise.
20903 (trunc_test_data): Likewise.
20904 (y0_test_data): Likewise.
20905 (y1_test_data): Likewise.
20906 (yn_test_data): Likewise.
20907
20908 * math/libm-test.inc: Update comment about NaN testing.
20909 (TEST_SNAN): New macro.
20910 (snan_value): Likewise.
20911 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20912 (fpclassify_test_data): Add sNaN tests.
20913 (isfinite_test_data): Likewise.
20914 (isinf_test_data): Likewise.
20915 (isnan_test_data): Likewise.
20916 (isnormal_test_data): Likewise.
20917 (issignaling_test_data): Likewise.
20918 (signbit_test_data): Likewise.
20919 * math/gen-libm-test.pl (%beautify): Add snan_value.
20920 (show_exceptions): Add argument $test_snan.
20921 (parse_args): Handle snan_value as non-finite. Update call to
20922 show_exceptions.
20923 * math/Makefile (libm-test-no-inline-cflags): Add
20924 -fsignaling-nans.
20925
20926 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20927
20928 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20929 (CFLAGS-oldsendmsg.c): Add rule.
20930 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20931 Correct recvmsg symbol name.
20932 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20933 Likewise.
20934
20935 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20936
20937 * sysdeps/unix/sysv/linux/Makefile
20938 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20939 oldsendmmsg.
20940 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20941 sendmmsg.
20942 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20943 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20945 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20948 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20950 Likewise.
20951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20952 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20953 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20954 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20955 iovlen and controllen fields to adjust to POSIX specification.
20956 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20957
20958 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20959 and change to correct expected type.
20960 (msghdr.msg_controllen): Likewise.
20961 (cmsghdr.cmsg_len): Likewise.
20962 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20963 expected POSIX assumption about the size.
20964 (msghdr.msg_controllen): Likewise.
20965 (msghdr.__glibc_reserved1): Likewise.
20966 (msghdr.__glibc_reserved2): Likewise.
20967 (cmsghdr.cmsg_len): Likewise.
20968 (cmsghdr.__glibc_reserved1): Likewise.
20969 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20970 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20971 (CFLAGS-sendmsg.c): Remove rule.
20972 (CFLAGS-recvmsg.c): Likewise.
20973 (CFLAGS-oldsendmsg.c): Add rule.
20974 (CFLAGS-oldrecvmsg.c): Likewise.
20975 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20976 recvmsg and sendmsg.
20977 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20978 Likewise.
20979 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20980 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20981 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20982 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20983 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20984 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20985 Likewise.
20986 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20987 Likewise.
20988 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20989 Likewise.
20990 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20991 Likewise.
20992 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20993 Likewise.
20994 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20995 Likewise.
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20997 (GLIBC_2.24): Likewise.
20998 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20999 Likewise.
21000 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21001 Likewise.
21002 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21003 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21004 Likewise.
21005 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21006 Likewise.
21007 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21008 Likewise.
21009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21010 (GLIBC_2.24): Likewise.
21011 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21012 Likewise.
21013 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21014 Likewise.
21015 * sysdeps/unix/sysv/linux/Makefile
21016 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21017 (CFLAGS-sendmsg.c): Add rule.
21018 (CFLAGS-recvmsg.c): Likewise.
21019 (CFLAGS-oldsendmsg.c): Likewise.
21020 (CFLAGS-oldrecvmsg.c): Likewise.
21021 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21022 initialization.
21023 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21024 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21025 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21026 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21027 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21028 iovlen and controllen fields to adjust to POSIX specification.
21029 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21030 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21031 added recvmsg and sendmsg.
21032 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21033 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21034 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21035 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21037 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21038 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21040 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21042 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21043 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21045 Likewise.
21046 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21048 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21049 Likewise.
21050 Likewise.
21051 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21052 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21053 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21054 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21056 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21058 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21060 Likewise.
21061 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21063
21064 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21065 from auto-generation.
21066 (sendmsg): Likewise.
21067 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21068 (sendmsg): Likewise.
21069 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21070 (sendmsg): Likewise.
21071 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21072 (sendmsg): Likewise.
21073 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21074 (sendmsg): Likewise.
21075 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21076 (sendmsg): Likewise.
21077 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21078 Likewise.
21079 (sendmsg): Likewise.
21080 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21081 (sendmsg): Likewise.
21082 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21083 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21084 Remove.
21085 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21086 Likewise.
21087 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21088 Undefine.
21089 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21090 Likewise.
21091 * sysdeps/unix/sysv/linux/kernel-features.h
21092 (__ASSUME_SENDMSG_SYSCALL): Define.
21093 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21094 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21095 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21096 Remove.
21097 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21098 Likewise.
21099 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21100 Undefine.
21101 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21102 Likewise.
21103 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21104 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21105 Remove.
21106 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21107 Likewise.
21108 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21109 Undefine.
21110 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21111 Likewise.
21112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21113 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21114 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21115 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21116 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21117 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21118 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21119 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21120 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21121
21122 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21123
21124 * stdlib/gen-tst-strtod-round.c: Add backslash to
21125 compile command in comment.
21126 (printfp): Remove the literal suffix, and define an infinite
21127 value as INF to avoid expansion clash with INFINITY.
21128 (round_str): Remove the literal suffix.
21129 (round_for_all): Likewise, remove the now duplicate ldbl-64
21130 entry, and remove some magic constants.
21131
21132 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21133 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21134 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21135 (_CONCAT): New macro.
21136 (CONCAT): Likewise.
21137 (CHOOSE_ld): Likewise.
21138 (CHOOSE_f): Likewise.
21139 (CHOOSE_d): Likewise.
21140 (FTYPE_MEMBER): Likewise.
21141 (BOOL_MEMBER): Likewise.
21142 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21143 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21144 (_XNTRY): Likewise.
21145 (XNTRY): Likewise.
21146 (_ENTRY): Likewise.
21147 (ENTRY): Likewise.
21148 (test_exactness): Generate members via macro.
21149 (test_results): Likewise.
21150 (test): Update members.
21151 (TEST): Redefine using new macros.
21152 (INF): New macro.
21153 (fetestmodes): New structure.
21154 (do_test): Refactor to be type generic.
21155 (test_in_one_mode): Refactor duplicate code into
21156 (GEN_ONE_TEST): New macro.
21157
21158 * stdlib/tst-strtod-round-data.h: Regenerate.
21159
21160 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21161 Extend to pass additional arbitrary parameters to
21162 generators.
21163
21164 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21165
21166 [BZ #15479]
21167 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21168 floating-point state after first floating-point operation on
21169 input. Restore full floating-point state instead of just rounding
21170 mode.
21171 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21172 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21173 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21174 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21175 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21176
21177 [BZ #15479]
21178 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21179 floating-point state after first floating-point operation on
21180 input. Restore full floating-point state instead of just rounding
21181 mode.
21182 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21183 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21184 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21185 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21186 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21187
21188 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21189
21190 [BZ #19727]
21191 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21192 valid high surrogate.
21193 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21194 of an utf16 surrogate.
21195 * iconv/gconv_simple.c (BODY): Likewise.
21196 * iconvdata/bug-iconv12.c: New file.
21197 * iconvdata/Makefile (tests): Add bug-iconv12.
21198
21199 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21200
21201 [BZ #19726]
21202 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21203 outptrp in case of an illegal input.
21204 * iconv/tst-iconv6.c: New file.
21205 * iconv/Makefile (tests): Add tst-iconv6.
21206
21207 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21208
21209 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21210 an error in case of a value in range of an utf16 low surrogate.
21211
21212 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21213
21214 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21215 an error in case of a value in range of an utf16 low surrogate.
21216
21217 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21218
21219 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21220 Move to ...
21221 * sysdeps/s390/Makefile: ... here.
21222 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21223 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21224 (BRANCH_ON_COUNT): New define.
21225 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21226 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21227 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21228 run on s390-32, too.
21229 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21230 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21231 run on s390-32, too.
21232 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21233 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21234 run on s390-32, too.
21235
21236 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21237
21238 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21239 etf3eh or new vector loop-variant.
21240
21241 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21242
21243 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21244 etf3eh or new vector loop-variant.
21245
21246 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21247
21248 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21249 or new vector loop-variant.
21250
21251 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21252
21253 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21254 Rename to TR_LOOP and usage of tr instead of troo instruction.
21255
21256 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21257
21258 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21259 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21260
21261 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21262
21263 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21264 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21265 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21266 New override define.
21267 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21268
21269 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21270
21271 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21272 * sysdeps/s390/configure.ac: Add test for S390 vector register
21273 support in gcc.
21274 * sysdeps/s390/configure: Regenerated.
21275
21276 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21277
21278 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21279 Install file from $(objpfx)gconv-modules.
21280 ($(objpfx)gconv-modules): Concatenate architecture specific file
21281 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21282 * sysdeps/s390/gconv-modules: New file.
21283 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21284 Deleted.
21285 ($(objpfx)gconv-modules-s390): Deleted.
21286 (sysdeps-gconv-modules): New variable.
21287
21288 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21289
21290 [BZ #15479]
21291 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21292 of immediate operand to rounding instruction.
21293 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21294 Likewise.
21295 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21296 Likewise.
21297 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21298 Likewise.
21299
21300 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21301
21302 * math/libm-test.inc (MIN_EXP): Directly define as
21303 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21304
21305 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21306
21307 * math/libm-test.inc (MANT_DIG): Directly define as
21308 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21309
21310 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21311
21312 * stdlib/gen-tst-strtod-round.c (main):
21313 Change usage to more closely match the generated
21314 output. Add usage and compilation instructions.
21315 (string_to_fp): Add and use FILE* parameter as
21316 output target.
21317 (print_fp): Likewise.
21318 (round_str): Likewise.
21319 (round_for_all): Likewise.
21320 * stdlib/tst-strtod-round.c (tests): Move into
21321 * stdlib/tst-strtod-round-data.h: New file.
21322
21323 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21324
21325 [BZ #15479]
21326 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21327 (__round): Do not force "inexact" exception.
21328 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21329 variable.
21330 (__round): Do not force "inexact" exception.
21331 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21332 (__roundf): Do not force "inexact" exception.
21333 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21334 (__roundl): Do not force "inexact" exception.
21335 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21336 (__roundl): Do not force "inexact" exception.
21337 * math/libm-test.inc (round_test_data): Do not allow spurious
21338 "inexact" exceptions.
21339
21340 [BZ #15479]
21341 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21342 exception in comment.
21343 (huge): Remove variable.
21344 (__floor): Do not force "inexact" exception.
21345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21346 "inexact" exception in comment.
21347 (huge): Remove variable.
21348 (__floor): Do not force "inexact" exception.
21349 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21350 exception in comment.
21351 (huge): Remove variable.
21352 (__floorf): Do not force "inexact" exception.
21353 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21354 exception in comment.
21355 (huge): Remove variable.
21356 (__floorl): Do not force "inexact" exception.
21357
21358 [BZ #15479]
21359 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21360 exception in comment.
21361 (huge): Remove variable.
21362 (__ceil): Do not force "inexact" exception.
21363 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21364 "inexact" exception in comment.
21365 (huge): Remove variable.
21366 (__ceil): Do not force "inexact" exception.
21367 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21368 (__ceilf): Do not force "inexact" exception.
21369 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21370 exception in comment.
21371 (huge): Remove variable.
21372 (__ceill): Do not force "inexact" exception.
21373
21374 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 * config.h.in (BIND_NOW): New.
21377 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21378 * configure: Regenerated.
21379 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21380 indirect branch via the GOT slot.
21381
21382 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21383
21384 [BZ #19765]
21385 * sysdeps/s390/mempcpy.S: New File.
21386 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21387 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21388 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21389 Add mempcpy variants.
21390 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21391 (memcpy): Adjust to be usable from mempcpy entry point.
21392 (__memcpy_mvcle): Likewise.
21393 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21394 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21395 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21396 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21397 (__memcpy_z10): Likewise.
21398 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21399
21400 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21401
21402 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21403 Remove __GI_ symbol.
21404 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21405 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21406 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21407 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21408 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21409 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21410
21411 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21412
21413 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21414 Use cghi instead of chi to compare 64bit value.
21415
21416 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21417
21418 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21419 Jump to 1MB check before executing mvc-loop.
21420
21421 2016-05-24 Florian Weimer <fweimer@redhat.com>
21422
21423 [BZ #6527]
21424 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21425 unconditionally.
21426 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21427
21428 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21429
21430 * stdlib/tst-strtod6.c (do_test): Use new type generic
21431 invocation of the test function.
21432 (test): Refactor into ...
21433 (TEST_STRTOD): New macro base function.
21434
21435 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21436
21437 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21438 (TEST_STRTOD): New macro.
21439 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21440
21441 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21442
21443 * stdlib/tst-strtod6.c (do_test): Use new type generic
21444 invocation of the test function.
21445 (test): Refactor into ...
21446 (TEST_STRTOD): New macro base function.
21447
21448 2016-05-23 Florian Weimer <fweimer@redhat.com>
21449
21450 CVE-2016-4429
21451 [BZ #20112]
21452 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21453 payload.
21454
21455 2016-05-23 Florian Weimer <fweimer@redhat.com>
21456
21457 [BZ #20111]
21458 * bits/sockaddr.h (_SS_SIZE): Define.
21459 * bits/socket.h (_SS_SIZE): Remove.
21460 (_SS_PADSIZE): Adjust to account for all padding.
21461 (struct sockaddr_storage): Update comment. Avoid implicit
21462 padding.
21463 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21464 (_SS_PADSIZE): Adjust to account for all padding.
21465 (struct sockaddr_storage): Update comment. Avoid implicit
21466 padding.
21467 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21468 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21469 (_SS_PADSIZE): Adjust to account for all padding.
21470 (struct sockaddr_storage): Update comment. Avoid implicit
21471 padding.
21472 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21473 __SS_SIZE is 126 in this version.
21474 * inet/tst-sockaddr.c: New file.
21475 * inet/Makefile (tests): Add tst-sockaddr.c
21476 (tst-sockaddr.c): Compile with non-strict aliasing.
21477
21478 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21479
21480 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21481 [XPG3 || XPG4].
21482 (NL_ARGMAX): Also expect for [XPG3].
21483 (NL_LANGMAX): Likewise.
21484 (NL_MSGMAX): Likewise.
21485 (NL_NMAX): Likewise.
21486 (NL_SETMAX): Likewise.
21487 (NL_TEXTMAX): Likewise.
21488 (NZERO): Likewise.
21489 (TMP_MAX): Likewise.
21490 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21491 variable.
21492
21493 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21494 (PF_MAX): Update value.
21495 (AF_KCM): New macro.
21496 (SOL_NETBEUI): Likewise.
21497 (SOL_LLC): Likewise.
21498 (SOL_DCCP): Likewise.
21499 (SOL_NETLINK): Likewise.
21500 (SOL_TIPC): Likewise.
21501 (SOL_RXRPC): Likewise.
21502 (SOL_PPPOL2TP): Likewise.
21503 (SOL_BLUETOOTH): Likewise.
21504 (SOL_PNPIPE): Likewise.
21505 (SOL_RDS): Likewise.
21506 (SOL_IUCV): Likewise.
21507 (SOL_CAIF): Likewise.
21508 (SOL_ALG): Likewise.
21509 (SOL_NFC): Likewise.
21510 (SOL_KCM): Likewise.
21511 (MSG_BATCH): New enum value and macro.
21512
21513 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 [BZ #18185]
21516 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21517 sharing L2 cache to 2 for Knights Landing.
21518
21519 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21520
21521 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21522 (FTW_DP): Do not expect for [XPG3 || XPG4].
21523 (FTW_SL): Do not expect for [XPG3].
21524 (FTW_SLN): Likewise.
21525 (FTW_PHYS): Likewise.
21526 (FTW_MOUNT): Likewise.
21527 (FTW_DEPTH): Likewise.
21528 (FTW_CHDIR): Likewise.
21529 (nftw): Likewise.
21530 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21531 variable.
21532
21533 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21534
21535 * manual/errno.texi: Fix various typos & grammar errors.
21536
21537 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21538
21539 * manual/intro.texi: Fix duplicated typo.
21540
21541 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21542
21543 [BZ #13304]
21544 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21545 <float.h>, <math_private.h> and <stdlib.h>.
21546 (add_split): New function.
21547 (mul_split): Likewise.
21548 (ext_val): New typedef.
21549 (store_ext_val): New function.
21550 (mul_ext_val): New function.
21551 (compare): New function.
21552 (add_split_ext): New function.
21553 (__fmal): After checking for Inf, NaN and zero, compute result as
21554 an exact sum of scaled double values in round-to-nearest before
21555 adding those up and adjusting for other rounding modes.
21556 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21557 tests of fma.
21558 * math/auto-libm-test-out: Regenerated.
21559
21560 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 [BZ #20119]
21563 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21564 processor level type mask for CPUID with EAX == 11.
21565
21566 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21567
21568 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21569 logical threads if the HTT bit is 0.
21570 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21571 (index_cpu_HTT): Likewise.
21572 (reg_HTT): Likewise.
21573
21574 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21575
21576 [BZ #20115]
21577 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21578 Remove alignments on jump targets.
21579
21580 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21581
21582 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21583 (getpwent): Likewise.
21584 (setpwent): Likewise.
21585 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21586 variable.
21587
21588 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21589 (remque): Likewise.
21590 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21591 variable.
21592
21593 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21594
21595 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21596 not being tested.
21597
21598 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21599
21600 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21601 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21602 call.
21603 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21604 (__condvar_cleanup1): Likewise.
21605
21606 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21607
21608 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21609 New
21610 (__pthread_unwind): Renamed to ...
21611 (PTHREAD_UNWIND): This.
21612 (__pthread_enable_asynccancel): Replace
21613 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21614
21615 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21616
21617 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21618 (CLONE_NEWCGROUP): New macro.
21619
21620 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21621 (Q_GETNEXTQUOTA): New macro.
21622
21623 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21624
21625 [BZ #19907]
21626 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21627 buffer updated by the previous run.
21628 * string/test-memcpy.c (do_one_test): Likewise.
21629 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21630 * string/test-memmove.c (do_one_test): Likewise.
21631
21632 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21633
21634 [BZ #20094]
21635 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21636 not [__USE_XOPEN].
21637 (unlockpt): Likewise.
21638 (ptsname): Likewise.
21639 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21640 variable.
21641
21642 [BZ #20076]
21643 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21644 instead of [__USE_UNIX98].
21645 (S_ISSOCK): Likewise.
21646 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21647 variable.
21648
21649 [BZ #20074]
21650 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21651 [__USE_POSIX].
21652 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21653 variable.
21654
21655 [BZ #20051]
21656 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21657 (ttyslot): Do not declare.
21658 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21659 (ttyslot): New prototype.
21660 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21661 variable.
21662 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21663
21664 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21665
21666 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21667
21668 2016-05-13 Florian Weimer <fweimer@redhat.com>
21669
21670 Fix race condition in tst-mallocfork2, use fewer resources.
21671 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21672 to current process group.
21673 (signal_sender): Yield in the non-sleeping case.
21674
21675 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21676
21677 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21678 (ecvt): Likewise.
21679 (fcvt): Likewise.
21680 (gcvt): Likewise.
21681 (getsubopt): Likewise.
21682 (grantpt): Likewise.
21683 (initstate): Likewise.
21684 (l64a): Likewise.
21685 (mktemp): Likewise.
21686 (mkstemp): Likewise.
21687 (ptsname): Likewise.
21688 (random): Likewise.
21689 (realpath): Likewise.
21690 (setstate): Likewise.
21691 (srandom): Likewise.
21692 (ttyslot): Likewise.
21693 (unlockpt): Likewise.
21694 (valloc): Likewise.
21695
21696 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21697 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21698 variable.
21699
21700 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21701
21702 [BZ #20072]
21703 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21704 init_cpu_features only if SHARED is defined.
21705 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21706
21707 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21708
21709 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21710 non-inclusive caches on Intel processors.
21711
21712 2016-05-13 Florian Weimer <fweimer@redhat.com>
21713
21714 * malloc/malloc.c (dumped_main_arena_start)
21715 (dumped_main_arena_end): New variables.
21716 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21717 (do_check_chunk): Skip dumped fake mmapped chunks.
21718 (munmap_chunk): Likewise.
21719 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21720 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21721 mmapped chunks.
21722 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21723 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21724 and dumped_main_arena_end to cover the dumped heap.
21725
21726 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21727
21728 * conform/data/time.h-data (getdate_err): Do not expect for
21729 [XPG3].
21730 (getdate): Likewise.
21731 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21732 variable.
21733
21734 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21735 (F_ULOCK): Likewise.
21736 (F_TEST): Likewise.
21737 (F_TLOCK): Likewise.
21738 (useconds_t): Likewise.
21739 (intptr_t): Do not expect for [XPG3] or [XPG4].
21740 (brk): Do not expect for [XPG3]
21741 (fchown): Likewise.
21742 (fchdir): Likewise.
21743 (ftruncate): Likewise.
21744 (getdtablesize): Likewise.
21745 (gethostid): Likewise.
21746 (getpagesize): Likewise.
21747 (getpgid): Likewise.
21748 (getsid): Likewise.
21749 (getwd): Likewise.
21750 (lchown): Likewise.
21751 (lockf): Likewise.
21752 (readlink): Likewise.
21753 (sbrk): Likewise.
21754 (setpgrp): Likewise.
21755 (setregid): Likewise.
21756 (setreuid): Likewise.
21757 (symlink): Likewise.
21758 (sync): Likewise.
21759 (truncate): Likewise.
21760 (ualarm): Likewise.
21761 (usleep): Likewise.
21762 (vfork): Likewise.
21763 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21764 variable.
21765
21766 [BZ #20054]
21767 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21768 not [__USE_UNIX98].
21769 * conform/data/unistd.h-data (gethostname): Do not expect for
21770 [XPG3].
21771
21772 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21773 [!POSIX] (S_IFBLK): Likewise.
21774 [!POSIX] (S_IFCHR): Likewise.
21775 [!POSIX] (S_IFIFO): Likewise.
21776 [!POSIX] (S_IFREG): Likewise.
21777 [!POSIX] (S_IFDIR): Likewise.
21778 [!POSIX] (S_IFLNK): Likewise.
21779 [!POSIX] (S_IFSOCK): Likewise.
21780 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21781 variable.
21782 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21783
21784 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21785
21786 * sysdeps/aarch64/memset.S (__memset):
21787 Rewrite of optimized memset.
21788
21789 2016-05-12 Florian Weimer <fweimer@redhat.com>
21790
21791 [BZ #19703]
21792 Partially async-signal-safe fork for single-threaded processes.
21793 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21794 variable. Do not acquire and reset/release malloc and libio locks
21795 in single-threaded processes.
21796 * malloc/tst-mallocfork2.c: New file.
21797 * malloc/Makefile (tests): Add it.
21798
21799 2016-05-12 Florian Weimer <fweimer@redhat.com>
21800
21801 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21802 argument. Use scratch buffer instead of extend_alloca.
21803 (gethosts): Use scratch buffer instead of extend_alloca.
21804 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21805 extend_alloca.
21806 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21807
21808 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21809
21810 [BZ #20055]
21811 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21812 instead of [__USE_UNIX98].
21813 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21814 [__USE_UNIX98].
21815 * conform/data/termios.h-data (tcgetsid): Do not expect for
21816 [XPG3].
21817 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21818 variable.
21819 (test-xfail-XPG4/termios.h/conform): Likewise.
21820
21821 2016-05-11 Florian Weimer <fweimer@redhat.com>
21822
21823 Do not use mcheck in localedef.
21824 * locale/programs/localedef.c (turn_on_mcheck)
21825 (__malloc_initialize_hook): Remove.
21826
21827 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21828
21829 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21830 * sysdeps/s390/s390-64/Makefile: Likewise.
21831
21832 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21835 Remove ifunc-defines.sym.
21836 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21837 Likewise.
21838 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21839 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21840 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21841 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21842 rtld-global-offsets.sym.
21843 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21844 * sysdeps/x86/cpu-features-offsets.sym: This.
21845 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21846 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21847
21848 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21849
21850 [BZ #20073]
21851 * io/sys/stat.h (fchmod): Declare for
21852 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21853 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21854 variable.
21855
21856 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21857 [XPG3] (S_IFSOCK): Likewise.
21858 [XPG3] (S_ISVTX): Likewise.
21859 [XPG3] (S_ISLNK): Likewise.
21860 [XPG3] (S_ISSOCK): Likewise.
21861 [XPG3] (fchmod): Likewise.
21862 [XPG3] (lstat): Likewise.
21863 [XPG3] (mknod): Likewise.
21864
21865 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21866 [XPG3]. Expect type long and XFAIL for [XPG4].
21867 (st_blocks): Likewise.
21868
21869 [BZ #20044]
21870 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21871 (pthread_atfork): New prototype.
21872 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21873 variable.
21874
21875 [BZ #20043]
21876 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21877 prototype.
21878
21879 2016-05-10 Florian Weimer <fweimer@redhat.com>
21880
21881 [BZ #20017]
21882 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21883 gmtime.
21884
21885 2016-05-10 Florian Weimer <fweimer@redhat.com>
21886
21887 [BZ #19994]
21888 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21889 flag in _res.options.
21890
21891 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21892
21893 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21894 [XPG3 || XPG4].
21895 (blksize_t): Likewise.
21896 (clockid_t): Likewise.
21897 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21898 variable.
21899 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21900
21901 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21902
21903 * sysdeps/unix/sysv/linux/s390/init-first.c:
21904 Add VDSO_SYMBOL(getcpu).
21905 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21906 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21907 Add VDSO_SYMBOL(getcpu).
21908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21909 New define HAVE_GETCPU_VSYSCALL.
21910 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21911
21912 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21913
21914 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21915 instead of <sysdeps/x86_64/cacheinfo.c>.
21916 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21917 * sysdeps/x86/cacheinfo.c: Here.
21918
21919 2016-05-04 Florian Weimer <fweimer@redhat.com>
21920
21921 * malloc/malloc-internal.h: Adjust header file guard.
21922
21923 2016-05-04 Florian Weimer <fweimer@redhat.com>
21924
21925 [BZ #19787]
21926 * inet/getnameinfo.c (check_sprintf_result): New function.
21927 (CHECKED_SNPRINTF): New macro.
21928 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21929 to the host buffer.
21930 (gni_host_local): Use checked_copy to copy the host name.
21931 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21932 (gni_serv_local): Use checked_copy to copy the service name.
21933 (getnameinfo): Remove unnecessary truncation of result buffers.
21934
21935 2016-05-04 Florian Weimer <fweimer@redhat.com>
21936
21937 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21938 in case of inet_ntop failure.
21939
21940 2016-05-04 Florian Weimer <fweimer@redhat.com>
21941
21942 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21943 avoid long lines.
21944 (gni_host_inet_numeric): Likewise. Reduce scope of local
21945 variables.
21946 (gni_host_inet, gni_host_local): Add comment.
21947 (gni_host): Add comment. Use temporary to avoid long lines.
21948
21949 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21950
21951 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21952 registers specifiers where general purpose registers specifiers should
21953 have been used.
21954
21955 2016-05-04 Florian Weimer <fweimer@redhat.com>
21956
21957 [BZ #19779]
21958 CVE-2016-1234
21959 Avoid copying names of directory entries.
21960 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21961 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21962 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21963 (struct readdir_result): New type.
21964 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21965 (GL_READDIR): New macros.
21966 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21967 (convert_dirent, convert_dirent64): New functions.
21968 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21969 convert_dirent64. Adjust references to the readdir result.
21970 * sysdeps/unix/sysv/linux/i386/glob64.c:
21971 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21972 * posix/bug-glob2.c (LONG_NAME): Define.
21973 (filesystem): Add LONG_NAME.
21974 (my_DIR): Increase the size of room_for_dirent.
21975
21976 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21977
21978 [BZ #20041]
21979 * misc/sys/select.h (__need_timespec): Only define if
21980 [__USE_XOPEN2K].
21981 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21982 variable.
21983 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21984 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21985 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21986
21987 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21988 Segher Boessenkool <segher@gcc.gnu.org>
21989
21990 [BZ #20004]
21991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21992 (__novec_swapcontext): Add missing load.
21993
21994 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21995
21996 [BZ #20023]
21997 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21998 <time.h>.
21999 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22000 variable.
22001 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22002
22003 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22004
22005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22006 flags CLONE_VM compare.
22007
22008 2016-05-02 Florian Weimer <fweimer@redhat.com>
22009
22010 [BZ #20031]
22011 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22012 completely empty.
22013
22014 2016-05-02 Florian Weimer <fweimer@redhat.com>
22015
22016 [BZ #19573]
22017 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22018 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22019 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22020 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22021 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22022 (hesiod_free_list): Mark as hidden.
22023 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22024 res_set, res_get.
22025 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22026 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22027 (hesiod_init): Remove obsolete res_ninit call.
22028 (hesiod_end): Do not free resolver state. Do not invoke callback.
22029 (hesiod_bind): Do not call init.
22030 (get_txt_records): Use res_mkquery, res_send instead of
22031 res_nmkquery, res_nsend.
22032 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22033 instead of _nss_hesiod_init.
22034 (_nss_hesiod_initgroups_dyn): Likewise.
22035 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22036 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22037 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22038
22039 2016-05-02 Florian Weimer <fweimer@redhat.com>
22040
22041 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22042 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22043
22044 2016-05-02 Florian Weimer <fweimer@redhat.com>
22045
22046 * hesiod/hesiod.h: Remove RCS keyword.
22047 * hesiod/hesiod_p.h: Likewise.
22048
22049 * hesiod/hesiod.c: Likewise.
22050
22051 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22052
22053 [BZ #12450]
22054 * locale/iso-639.def: Add Samogitian/sgs.
22055
22056 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22057
22058 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22059
22060 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22061
22062 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22063 Carlos O'Donell <carlos@redhat.com>
22064
22065 [BZ #19072]
22066 * grp/Makefile (headers): Add grp-merge.h
22067 (routines): Add grp-merge.
22068 * grp/getgrgid_r.c: Include grp-merge.h.
22069 (DEEPCOPY_FN): Define.
22070 (MERGE_FN): Define.
22071 * grp/getgrname_r.c: Include grp-merge.h.
22072 (DEEPCOPY_FN): Define.
22073 (MERGE_FN): Define.
22074 * grp/grp-merge.c: New file.
22075 * grp/grp-merge.h: New file.
22076 * include/grp-merge.h: New file.
22077 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22078 __copy_grp@GLIBC_PRIVATE.
22079 * manual/nss.texi (Actions in the NSS configuration): Describe
22080 return, continue, and merge.
22081 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22082 (DEEPCOPY_FN): Define.
22083 (MERGE_FN): Define.
22084 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22085 (DEEPCOPY_FN): Define.
22086 (MERGE_FN): Define.
22087 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22088 [!MERGE_FN]: Define __merge_einval.
22089 (CHECK_MERGE): Define.
22090 (REENTRANT_NAME): Process merge if do_merge is true.
22091 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22092 (__nss_getent_r): Likewise.
22093 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22094 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22095
22096 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22097
22098 [BZ #20012]
22099 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22100 length to calculate the buffer to read.
22101 (fmemopen_write): Set the buffer position based on bytes written.
22102 (fmemopen_seek): Return EINVAL for invalid whence modes.
22103
22104 [BZ #19957]
22105 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22106 tst-getpid2.
22107 (test): Add tst-clone2.
22108 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22109 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22110 pid/tid fields for CLONE_VM.
22111 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22112 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22113 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22114 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22115 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22116 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22117 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22118 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22120 Likewise.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22122 Likewise.
22123 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22124 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22125 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22126 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22127 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22128 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22129 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22130 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22131
22132 2016-04-29 Florian Weimer <fweimer@redhat.com>
22133
22134 [BZ #19642]
22135 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22136 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22137 (gni_serv_local, gni_serv): New functions extracted from
22138 getnameinfo.
22139 (getnameinfo): Call gni_host and gni_serv to perform the
22140 processing. Always free scratch buffer.
22141
22142 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22143
22144 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22145 remaining bytes in the dest string, with zeros.
22146
22147 2016-04-29 Florian Weimer <fweimer@redhat.com>
22148
22149 [BZ #20010]
22150 CVE-2016-3706
22151 * sysdeps/posix/getaddrinfo.c
22152 (convert_hostent_to_gaih_addrtuple): New function.
22153 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22154 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22155 AF_INET data.
22156
22157 2016-04-29 Florian Weimer <fweimer@redhat.com>
22158
22159 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22160 callback function gl_readdir.
22161 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22162 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22163 (glob_in_dir): Remove len. Use strdup instead of malloc and
22164 memcpy to copy the name.
22165 * manual/pattern.texi (Calling Glob): Document requirements for
22166 implementations of the gl_readdir callback function.
22167 * manual/examples/mkdirent.c: New example.
22168 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22169 per the manual guidance.
22170 * posix/tst-gnuglob.c (my_readdir): Likewise.
22171
22172 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22173
22174 [BZ #20014]
22175 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22176 not [__USE_POSIX].
22177 (getchar_unlocked): Likewise.
22178 (putc_unlocked): Likewise.
22179 (putchar_unlocked): Likewise.
22180 (flockfile): Likewise.
22181 (ftrylockfile): Likewise.
22182 (funlockfile): Likewise.
22183 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22184 variable.
22185 (test-xfail-XPG4/stdio.h/conform): Likewise.
22186
22187 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22188 Expect constant.
22189 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22190 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22191 variable.
22192 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22193 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22194
22195 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22196 [__USE_LARGEFILE64] (off64_t): Likewise.
22197 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22198 variable.
22199
22200 2016-04-28 Florian Weimer <fweimer@redhat.com>
22201
22202 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22203
22204 2016-04-28 Florian Weimer <fweimer@redhat.com>
22205
22206 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22207 * resolv/res_init.c: Likewise.
22208 * resolv/res_mkquery.c: Likewise.
22209
22210 2016-04-28 Florian Weimer <fweimer@redhat.com>
22211
22212 * resolv/res_init.c (isascii): Do not define. Use definition in
22213 <ctype.h>.
22214 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22215 (LOG_AUTH): Remove.
22216 (SPRINTF): Remove, adjust caller.
22217 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22218
22219 2016-04-28 Florian Weimer <fweimer@redhat.com>
22220
22221 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22222 SUNSECURITY conditional.
22223 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22224
22225 2016-04-28 Florian Weimer <fweimer@redhat.com>
22226
22227 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22228 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22229 Remove BSD-related preprocessor conditionals.
22230 * conf/portability.h: Remove.
22231
22232 2016-04-28 Florian Weimer <fweimer@redhat.com>
22233
22234 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22235 * resolv/res_data.c: Likewise.
22236
22237 2016-04-28 Florian Weimer <fweimer@redhat.com>
22238
22239 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22240 * resolv/res_data.c: Remove code conditional on ultrix.
22241
22242 2016-04-28 Florian Weimer <fweimer@redhat.com>
22243
22244 * resolv/res_init.c (RFC1535): Do not define. Remove
22245 RFC1535 preprocessor conditionals.
22246 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22247 because there configuration options which make the resolver
22248 behavior different.
22249
22250 2016-04-28 Florian Weimer <fweimer@redhat.com>
22251
22252 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22253 RESOLVSORT preprocessor conditionals.
22254 * resolv/nss_dns/dns-host.c: Likewise.
22255 * resolv/res_init.c: Likewise.
22256
22257 2016-04-28 Florian Weimer <fweimer@redhat.com>
22258
22259 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22260 is never defined.
22261
22262 2016-04-28 Florian Weimer <fweimer@redhat.com>
22263
22264 * inet/inet_lnaof.c: Remove SCSS keyword.
22265 * inet/inet_mkadr.c: Likewise.
22266 * inet/inet_net.c: Likewise.
22267 * inet/inet_netof.c: Likewise.
22268 * inet/rcmd.c: Likewise.
22269 * inet/rexec.c: Likewise.
22270 * inet/ruserpass.c: Likewise.
22271
22272 2016-04-28 Florian Weimer <fweimer@redhat.com>
22273
22274 * resolv/inet_addr.c: Remove _LIBC conditionals.
22275 * resolv/res_data.c: Likewise.
22276 * resolv/res_init.c: Likewise.
22277 * resolv/res_mkquery.c: Likewise.
22278 * resolv/res_libc.c: Update comment.
22279 * resolv/README: Update.
22280
22281 2016-04-28 Florian Weimer <fweimer@redhat.com>
22282
22283 * resolv/gethnamaddr.c: Remove SCSS keyword.
22284 * resolv/herror.c: Likewise.
22285 * resolv/inet_addr.c: Likewise.
22286 * resolv/inet_net_ntop.c: Likewise.
22287 * resolv/inet_net_pton.c: Likewise.
22288 * resolv/inet_neta.c: Likewise.
22289 * resolv/inet_ntop.c: Likewise.
22290 * resolv/inet_pton.c: Likewise.
22291 * resolv/ns_date.c: Remove RCS keyword.
22292 * resolv/ns_name.c: Likewise.
22293 * resolv/ns_netint.c: Likewise.
22294 * resolv/ns_parse.c: Likewise.
22295 * resolv/ns_print.c: Likewise.
22296 * resolv/ns_samedomain.c: Likewise.
22297 * resolv/ns_ttl.c: Likewise.
22298 * resolv/nsap_addr.c: Likewise.
22299 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22300 * resolv/res_data.c: Remove RCS keyword.
22301 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22302 * resolv/res_init.c: Likewise.
22303 * resolv/res_mkquery.c: Likewise.
22304 * resolv/res_query.c: Likewise.
22305 * resolv/res_send.c: Likewise.
22306
22307 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22308
22309 * conform/data/stdio.h-data (fdopen): Expect also for
22310 [XPG3 || XPG4].
22311
22312 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22313 (fseeko): Likewise.
22314 (ftello): Likewise.
22315 (ftrylockfile): Likewise.
22316 (funlockfile): Likewise.
22317 (getc_unlocked): Likewise.
22318 (getchar_unlocked): Likewise.
22319 (putc_unlocked): Likewise.
22320 (putchar_unlocked): Likewise.
22321
22322 2016-04-27 Florian Weimer <fweimer@redhat.com>
22323
22324 [BZ #19868]
22325 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22326 DNS packet syntax checks (which were not needed before). Skip
22327 over non-PTR records.
22328
22329 2016-04-27 Florian Weimer <fweimer@redhat.com>
22330
22331 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22332 definition. Include <stddef.h> instead.
22333
22334 2016-04-27 Florian Weimer <fweimer@redhat.com>
22335
22336 [BZ #19831]
22337 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22338 function.
22339 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22340 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22341
22342 2016-04-27 Florian Weimer <fweimer@redhat.com>
22343
22344 [BZ #19862]
22345 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22346 (getanswer_r): Do not call syslog.
22347 (gaih_getanswer_slice): Likewise.
22348 * resolv/gethnamaddr.c (AskedForGot): Remove.
22349 (getanswer): Do not call syslog.
22350 (gethostbyaddr): Likewise.
22351
22352 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22353
22354 * conform/data/signal.h-data (union sigval): Expect also if
22355 [XOPEN2K].
22356 (struct sigevent): Likewise.
22357 (SIGEV_NONE): Likewise.
22358 (SIGEV_SIGNAL): Likewise.
22359 (SIGEV_THREAD): Likewise.
22360 (SIGRTMIN): Likewise.
22361 (SIGRTMAX): Likewise.
22362 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22363 variable.
22364 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22365
22366 2016-04-27 Florian Weimer <fweimer@redhat.com>
22367
22368 [BZ #19830]
22369 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22370 (gaih_getanswer_slice): Likewise.
22371 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22372 Also check for availability of RR metadata.
22373
22374 2016-04-27 Florian Weimer <fweimer@redhat.com>
22375
22376 [BZ #19825]
22377 * resolv/res_send.c (send_vc): Remove early *resplen2
22378 initialization. Set *resplen2 on socket error. Call
22379 close_and_return_error for other errors.
22380
22381 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22382
22383 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22384 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22385 (SCM_IUCV_TRGCLS): New define.
22386
22387 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22388
22389 [BZ #20005]
22390 * libio/fmemopen.c (fmemopen_write): Update internal position after
22391 write.
22392 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22393 * stdio-common/tst-fmemopen4.c: New file..
22394
22395 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22396
22397 [BZ #19996]
22398 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22399 not [__USE_XOPEN2K].
22400 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22401 variable.
22402
22403 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22404 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22405 variable.
22406
22407 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22408 [__USE_XOPEN2K8].
22409 [__USE_LARGEFILE64] (off64_t): Likewise.
22410 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22411 variable.
22412
22413 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22414
22415 [BZ #19989]
22416 * libio/stdio.h (cuserid): Do not declare if
22417 [__USE_XOPEN2K && !__USE_GNU].
22418 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22419 variable.
22420
22421 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22422
22423 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22424 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22426 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22427 ifunc'ed strcspn.
22428 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22429 [EALIGN]: Removed.
22430 [END]: Likewise
22431 [STRSPN]: Define instead of the above to control symbol name.
22432 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22433 New file.
22434 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22435 Likewise.
22436 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22437 Likewise.
22438 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22439 Likewise.
22440 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22441 [INITIAL_MASK]: New macro.
22442 [STRCSPN]: Likewise.
22443 [UPDATE_MASK]: Likewise.
22444 [USE_AS_STRCSPN]: Likewise.
22445
22446 2016-04-25 Florian Weimer <fweimer@redhat.com>
22447
22448 [BZ #19931]
22449 * stdio-common/tst-vfprintf-width-prec.c: New file.
22450 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22451 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22452 (generated): Add mtrace-related files.
22453 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22454 (tst-%-mem.out): New pattern rule, replaces
22455 tst-printf-bz18872-mem.out.
22456 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22457 specifier, deallocate any previously allocated work buffer.
22458
22459 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22460
22461 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22462 Add nop before __startcontext, add explaining comments.
22463
22464 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22465
22466 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22467 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22468 completely different API.
22469
22470 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22471 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22472 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22473 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22474 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22475 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22476 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22477 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22478 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22479 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22480
22481 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22482
22483 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22484
22485 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22486
22487 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22488 when it is the default of 0.
22489
22490 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22491
22492 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22493 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22494 (sysdep_routines): Add new strcasestr targets.
22495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22496 (__libc_ifunc_impl_list): Likewise.
22497 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22498 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22499 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22500 * sysdeps/powerpc/powerpc64/power8/Makefile:
22501 New file to add strcasestr-ppc64 to sysdep_routines.
22502 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22503 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22504
22505 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22506
22507 * benchtests/Makefile (wcsmbs-benchset): Include only for
22508 native builds and runs.
22509 (LOCALES): Likewise.
22510 (bench-build): Build timing-type here instead of the bench
22511 target. Generate locale only for native builds.
22512 * benchtests/README: Add note for cross-building.
22513
22514 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22515
22516 * benchtests/README: Update README to include instructions on
22517 using bench-build.
22518
22519 * Makefile.in (bench-build): New target.
22520 * Rules (PHONY): Add bench-build target.
22521 * benchtests/Makefile (bench): Depend on bench-build.
22522 (bench-build): New target.
22523
22524 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22525
22526 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22527 profil_reply_port.
22528 (profile_waiter): Do not initialize profil_reply_port.
22529 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22530 frequency instead of tick length in us.
22531
22532 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22533
22534 [BZ #18712]
22535 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22536 (__old_mempcpy_small): Likewise.
22537 (__old_strcpy_small): Likewise.
22538 (__old_stpcpy_small): Likewise.
22539 (__old_strpbrk_c2): Fix compat symbol name.
22540 (__old_strpbrk_c3): Likewise.
22541 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22542 (__mempcpy_small): Remove.
22543 (__strcpy_small): Remove.
22544 (__stpcpy_small): Remove.
22545
22546 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22547
22548 [BZ #19400]
22549 * locale/iso-639.def: Add the Talossan/tzl language.
22550
22551 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22552
22553 [BZ #16983]
22554 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22555 comment. Add "ln" to strchr check on postal_fmt.
22556
22557 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22558
22559 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22560 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22561 tel_dom_fmt.
22562
22563 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22564
22565 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22566 (sysdep_routines): Added __strlen_power8.
22567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22568 __strlen_power8 entry.
22569 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22570 Implementation for POWER8.
22571 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22572 for __strlen_power8.
22573 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22574 Implementation for POWER8.
22575
22576 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22577
22578 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22579
22580 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22581
22582 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22583 Goldmont and Airmont processors.
22584
22585 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22586
22587 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22588 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22589 (__STRING2_SMALL_GET32): Remove.
22590 (memset): Remove.
22591 (__memset_1): Remove.
22592 (__memset_gc): Remove.
22593 (__mempcpy): Remove.
22594 (mempcpy): Remove.
22595 (__mempcpy_args): Remove.
22596 (strchr): Remove.
22597 (strcpy): Remove.
22598 (strcpy_args): Remove.
22599 (__stpcpy_args): Remove.
22600 (__strcmp_cc): Remove.
22601 (__strcmp_gc): Remove.
22602 (strstr): Remove.
22603
22604 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22605
22606 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22607 * nis/nis_call.c (nis_server_cache_add): Likewise.
22608
22609 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22610
22611 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22612
22613 2016-04-14 Florian Weimer <fweimer@redhat.com>
22614
22615 * malloc/arena.c (__malloc_fork_lock_parent)
22616 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22617 internal_function attribute.
22618
22619 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22620
22621 * stdio-common/printf_fp.c (__printf_fp_l):
22622 Rename ___printf_fp_l to __printf_fp_l and
22623 remove strong alias. Use libc_hidden_def instead
22624 of ldbl_hidden_def macro.
22625
22626 2016-04-14 Florian Weimer <fweimer@redhat.com>
22627
22628 Remove malloc hooks from fork handler. They are no longer needed
22629 because malloc runs right before fork, and no malloc calls from
22630 other fork handlers are not possible anymore.
22631 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22632 declarations.
22633 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22634 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22635 (atfork_recursive_cntr): Remove.
22636 (__malloc_fork_lock_parent): Do not override malloc hooks and
22637 thread_arena.
22638 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22639 thread_arena.
22640 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22641 thread_arena instead of save_arena.
22642
22643 2016-04-14 Florian Weimer <fweimer@redhat.com>
22644
22645 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22646 (thread_atfork, thread_atfork_static): Remove.
22647 * sysdeps/mach/hurd/malloc-machine.h:
22648 (thread_atfork, thread_atfork_static): Remove.
22649
22650 2016-04-14 Florian Weimer <fweimer@redhat.com>
22651
22652 [BZ #19431]
22653 Run the malloc fork handler as late as possible to avoid deadlocks.
22654 * malloc/malloc-internal.h: New file.
22655 * malloc/malloc.c: Include it.
22656 * malloc/arena.c (ATFORK_MEM): Remove.
22657 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22658 Update comment.
22659 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22660 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22661 Remove outdated comment.
22662 (ptmalloc_init): Do not call thread_atfork. Remove
22663 thread_atfork_static.
22664 * malloc/tst-malloc-fork-deadlock.c: New file.
22665 * Makefile (tests): Add tst-malloc-fork-deadlock.
22666 (tst-malloc-fork-deadlock): Link against libpthread.
22667 * manual/memory.texi (Aligned Memory Blocks): Update safety
22668 annotation comments.
22669 * sysdeps/nptl/fork.c (__libc_fork): Call
22670 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22671 __malloc_fork_unlock_child.
22672 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22673
22674 2016-04-14 Florian Weimer <fweimer@redhat.com>
22675
22676 [BZ #19613]
22677 Remove union wait.
22678 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22679 (w_stopsig, w_stopval): Remove.
22680 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22681 stat_loc argument.
22682 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22683 (__WAIT_STATUS_DEFN): Remove.
22684 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22685 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22686 (wait, wait3, wait4): Use int * for the stat_loc argument.
22687 * posix/wait.c (__wait): Likewise.
22688 * posix/wait3.c (__wait3): Likewise.
22689 * posix/wait4.c (__wait4): Likewise.
22690 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22691 (__WAIT_STATUS_DEFN): Remove.
22692 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22693 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22694 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22695 argument.
22696 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22697 * sysdeps/posix/wait3.c (__wait3): Likewise.
22698 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22699 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22700 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22701 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22702 stat_loc argument.
22703 * manual/process.texi (BSD Wait Functions): Remove union wait.
22704
22705 2016-04-13 Andreas Schwab <schwab@suse.de>
22706
22707 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22708 (test-extras): Add tst-tlsalign-vars.
22709 * math/Makefile: Wrap long lines.
22710 (libm-vec-test-wrappers): Define.
22711 (test-extras): Add $(libm-vec-test-wrappers).
22712 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22713 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22714 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22715 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22716 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22717 (extra-test-objs): Add corresponding objects.
22718
22719 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22720
22721 [BZ #19928]
22722 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22723 New.
22724 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22725 times of shared cache size.
22726 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22727 (VMOVNT): New.
22728 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22729 (VMOVNT): Likewise.
22730 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22731 (VMOVNT): Likewise.
22732 (VMOVU): Changed to movups for smaller code sizes.
22733 (VMOVA): Changed to movaps for smaller code sizes.
22734 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22735 comments.
22736 (PREFETCH): New.
22737 (PREFETCH_SIZE): Likewise.
22738 (PREFETCHED_LOAD_SIZE): Likewise.
22739 (PREFETCH_ONE_SET): Likewise.
22740 Rewrite to use forward and backward loops, which move 4 vector
22741 registers at a time, to support overlapping addresses and use
22742 non temporal store if size is above the threshold and there is
22743 no overlap between destination and source.
22744
22745 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22746
22747 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22748 Include dl-vdso.
22749 * sysdeps/unix/sysv/linux/mips/Versions: Add
22750 __vdso_clock_gettime.
22751 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22752 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22753 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22754 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22755 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22756 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22757 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22758 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22759 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22760
22761 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22762
22763 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22764 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22765 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22766 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22767 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22768 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22771 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22773 syscalls generation.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22775 [__NR_pwrite64] (__NR_write): Remove define.
22776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22777 [__NR_pwrite64] (__NR_write): Remove define.
22778 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22779 Remove define.
22780 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22781 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22782 Remove define.
22783 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22784 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22785 Linux implementation as base.
22786 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22787
22788 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22789 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22790 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22791 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22794 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22796 syscall generation.
22797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22798 [__NR_pread64] (__NR_pread): Remove define.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22800 [__NR_pread64] (__NR_pread): Likewise.
22801 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22802 define.
22803 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22804 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22805 Remove define.
22806 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22807 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22808 Linux implementation as base.
22809 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22810 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22811 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22812
22813 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22814 definition.
22815 (__ALIGNMENT_COUNT): Likewise.
22816 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22817 (__ALIGNMENT_COUNT): Likewise.
22818 (SYSCALL_LL): New define.
22819 (SYSCALL_LL64): Likewise.
22820 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22821 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22822 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22823 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22824
22825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22826 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22828 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22829 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22830 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22831
22832 2016-04-11 Florian Weimer <fweimer@redhat.com>
22833
22834 [BZ #19865]
22835 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22836 original buffer before retry.
22837
22838 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22839
22840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22841 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22842 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22843 GLRO(dl_auxv) list.
22844 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22845 including <ldsodefs.h>.
22846 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22847
22848 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22849
22850 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22851 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22852 $(CPPFLAGS).
22853
22854 2016-04-09 Khem Raj <raj.khem@gmail.com>
22855
22856 [BZ #17950]
22857 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22858 Add -mfpmath=387.
22859
22860 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22861
22862 * sysdeps/i386/configure.ac: Change == to = when calling test.
22863 * sysdeps/x86_64/configure.ac: Likewise.
22864 * sysdeps/i386/configure: Regenerated.
22865 * sysdeps/x86_64/configure: Likewise.
22866
22867 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22868
22869 [BZ #16137]
22870 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22871 * benchtests/bench-strcoll.c (input_files): Likewise.
22872 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22873 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22874 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22875
22876 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22877
22878 [BZ #19929]
22879 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22880 [__USE_XOPEN2K8 && !__USE_GNU].
22881 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22882 variable.
22883
22884 [BZ #19925]
22885 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22886 define if [!__USE_MISC && __USE_XOPEN2K].
22887 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22888 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22889 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22890 Likewise.
22891 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22892 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22893 variable.
22894 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22895
22896 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22897
22898 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22899 (sysdep_routines): Add new strspn targets.
22900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22901 (__libc_ifunc_impl_list): Add strspn.
22902 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22903 New file.
22904 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22905 Likewise.
22906 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22907 Likewise.
22908 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22909 Likewise.
22910
22911 2016-04-07 Florian Weimer <fweimer@redhat.com>
22912
22913 * misc/hsearch_r.c: Include <limits.h>.
22914
22915 2016-04-07 Florian Weimer <fweimer@redhat.com>
22916
22917 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22918
22919 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22922 (MEMCPY_SYMBOL): New.
22923 (MEMPCPY_SYMBOL): Likewise.
22924 (MEMMOVE_CHK_SYMBOL): Likewise.
22925 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22926 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22927 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22928 Provide alias for memcpy in libc.a and ld.so.
22929
22930 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22933 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22934 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22935 Disabled fro now.
22936 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22937 symbols. Properly check USE_MULTIARCH on __memset symbols.
22938
22939 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * benchtests/Makefile (string-benchset): Add memcpy-large,
22942 memmove-large and memset-large.
22943 * benchtests/bench-memcpy-large.c: New file.
22944 * benchtests/bench-memmove-large.c: Likewise.
22945 * benchtests/bench-memmove-large.c: Likewise.
22946 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22947
22948 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22949
22950 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22951 32-bit displacement to avoid long nop between instructions.
22952
22953 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22954
22955 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22956 a comment on VMOVU and VMOVA.
22957
22958 2016-04-04 Florian Weimer <fweimer@redhat.com>
22959
22960 [BZ #19633]
22961 Use specified locale for number formatting in strfmon_l.
22962 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22963 (__nl_lookup_word): New inline functions.
22964 * include/printf.h (__print_fp_l): Declare.
22965 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22966 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22967 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22968 (___printf_fp): New function.
22969 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22970 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22971 * stdlib/tst-strfmon_l.c (do_test): New test.
22972 * stdlib/Makefile (tests): Add kt.
22973 (LOCALES): Build additional locales.
22974 (tst-strfmon_l.out): Require locales.
22975
22976 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22977
22978 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22979 if not in libc.
22980 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22981 Likewise.
22982 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22983 Likewise.
22984 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22985 Likewise.
22986
22987 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22988
22989 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22990 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22991 with unaligned_erms.
22992 (__memmove_erms): Skip if source == destination.
22993 (__memmove_unaligned_erms): Don't check source == destination
22994 first.
22995
22996 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22997
22998 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22999 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23000
23001 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23002
23003 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23004 * string/strspn.c (strspn): Likewise.
23005
23006 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 * benchtests/bench-memset.c (do_test): Support 64-byte
23009 alignment.
23010 (test_main): Test 64-byte alignment.
23011
23012 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23013
23014 * benchtests/bench-memmove.c (test_main): Test 64-byte
23015 alignment.
23016
23017 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23018
23019 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23020
23021 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23022
23023 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23024 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23025 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23026
23027 * string/strpbrk.c (strpbrk): Rewrite function.
23028 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23029 (__strpbrk_c2): Likewise.
23030 (__strpbrk_c3): Likewise.
23031 * string/string-inlines.c
23032 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23033 Likewise.
23034 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23035 Likewise.
23036
23037 * string/strspn.c (strcspn): Rewrite function.
23038 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23039 (__strspn_c1): Remove inline function.
23040 (__strspn_c2): Likewise.
23041 (__strspn_c3): Likewise.
23042 * string/string-inlines.c
23043 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23044 compatibility symbol.
23045 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23046 Likewise.
23047 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23048 Likewise.
23049 * string/string-inlines.c: Include generic version.
23050
23051 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23052 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23053
23054 * string/Version (libc): Add GLIBC_2.24.
23055 * string/strcspn.c (strcspn): Rewrite function.
23056 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23057 (__strcspn_c1): Remove inline function.
23058 (__strcspn_c2): Likewise.
23059 (__strcspn_c3): Likewise.
23060 * string/string-inline.c
23061 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23062 compatibility symbol.
23063 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23064 Likewise.
23065 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23066 Likewise.
23067 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23068
23069 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23070
23071 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23072 Use ahi instead of aghi to adjust stack pointer.
23073
23074 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23075
23076 [BZ #19853]
23077 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23078 TEST to take significant digits as second parameter.
23079 [TEST]: Redefine in terms of TEST_N taking 30
23080 significant digits.
23081 (do_test): Add test case to demonstrate precision
23082 failure in the ldbl-128ibm printf.
23083 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23084 (__mpn_extract_long_double): Carry 7 extra intermediate
23085 bits of precision to aide computing difference when
23086 signs differ.
23087
23088 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23089
23090 [BZ #19881]
23091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23092 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23093 memset-avx512-unaligned-erms.
23094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23095 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23096 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23097 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23098 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23099 __memset_sse2_unaligned_erms, __memset_erms,
23100 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23101 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23102 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23103 file.
23104 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23105 Likewise.
23106 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23107 Likewise.
23108 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23109 Likewise.
23110
23111 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23112
23113 [BZ #19776]
23114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23115 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23116 memmove-avx512-unaligned-erms.
23117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23118 (__libc_ifunc_impl_list): Test
23119 __memmove_chk_avx512_unaligned_2,
23120 __memmove_chk_avx512_unaligned_erms,
23121 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23122 __memmove_chk_sse2_unaligned_2,
23123 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23124 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23125 __memmove_avx512_unaligned_erms, __memmove_erms,
23126 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23127 __memcpy_chk_avx512_unaligned_2,
23128 __memcpy_chk_avx512_unaligned_erms,
23129 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23130 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23131 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23132 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23133 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23134 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23135 __mempcpy_chk_avx512_unaligned_erms,
23136 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23137 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23138 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23139 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23140 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23141 __mempcpy_erms.
23142 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23143 file.
23144 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23145 Likewise.
23146 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23147 Likewise.
23148 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23149 Likewise.
23150
23151 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23152
23153 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23154 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23155 (La_s390_64_regs): Likewise.
23156 (La_s390_32_retval): Append vector register lrv_v24.
23157 (La_s390_64_retval): Likeweise.
23158 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23159 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23160 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23161 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23162
23163 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23164
23165 [BZ #19916]
23166 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23167 to create a non-vector/vector version for _dl_runtime_resolve and
23168 _dl_runtime_profile. Move implementation to ...
23169 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23170 (_dl_runtime_resolve) Save and restore fpr/vrs.
23171 (_dl_runtime_profile) Save and restore vrs and fix some issues
23172 if _dl_call_pltexit is called.
23173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23174 Choose the correct resolver function if running on a machine with vx.
23175 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23176 to create a non-vector/vector version for _dl_runtime_resolve and
23177 _dl_runtime_profile. Move implementation to ...
23178 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23179 (_dl_runtime_resolve) Save and restore fpr/vrs.
23180 (_dl_runtime_profile) Save and restore vrs and fix some issues
23181 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23182 Choose the correct resolver function if running on a machine with vx.
23183
23184 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23185
23186 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23187
23188 2016-03-31 Florian Weimer <fweimer@redhat.com>
23189
23190 [BZ #19509]
23191 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23192 skip_map != NULL.
23193 * elf/tst-dlsym-error.c: New file.
23194 * elf/Makefile (tests): Add tst-dlsym-error.
23195 (tst-dlsym-error): Link against libdl.
23196
23197 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23198
23199 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23200 (__ASSUME_FUTIMESAT): Remove macro.
23201 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23202
23203 2016-03-29 Florian Weimer <fweimer@redhat.com>
23204
23205 [BZ #19879]
23206 CVE-2016-3075
23207 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23208 copy name.
23209
23210 2016-03-29 Florian Weimer <fweimer@redhat.com>
23211
23212 [BZ #19837]
23213 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23214 error if parse_line fails.
23215
23216 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23217
23218 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23219 (index_cpu_ERMS): Likewise.
23220 (reg_ERMS): Likewise.
23221
23222 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23223
23224 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23225 PER_LINUX_FDPIC): Add.
23226
23227 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23228
23229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23230 memcpy-avx512-no-vzeroupper.
23231 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23232 to ...
23233 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23234 (MEMCPY): Don't define.
23235 (MEMCPY_CHK): Likewise.
23236 (MEMPCPY): Likewise.
23237 (MEMPCPY_CHK): Likewise.
23238 (MEMPCPY_CHK): Renamed to ...
23239 (__mempcpy_chk_avx512_no_vzeroupper): This.
23240 (MEMPCPY_CHK): Renamed to ...
23241 (__mempcpy_chk_avx512_no_vzeroupper): This.
23242 (MEMCPY_CHK): Renamed to ...
23243 (__memmove_chk_avx512_no_vzeroupper): This.
23244 (MEMCPY): Renamed to ...
23245 (__memmove_avx512_no_vzeroupper): This.
23246 (__memcpy_avx512_no_vzeroupper): New alias.
23247 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23248
23249 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23250
23251 [BZ #18858]
23252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23253 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23254 and mempcpy-avx512-no-vzeroupper.
23255 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23256 New.
23257 (MEMPCPY): Likewise.
23258 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23259 (MEMPCPY_CHK): New.
23260 (MEMPCPY): Likewise.
23261 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23262 (MEMPCPY): Likewise.
23263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23264 (MEMPCPY): Likewise.
23265 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23266 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23267 Likewise.
23268 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23269 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23270
23271 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23272 Amit Pawar <Amit.Pawar@amd.com>
23273
23274 [BZ #19583]
23275 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23276 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23277 processors. Set Fast_Copy_Backward for AMD Excavator
23278 processors.
23279 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23280 New.
23281 (index_arch_Fast_Unaligned_Copy): Likewise.
23282 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23283 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23284
23285 2016-03-25 Florian Weimer <fweimer@redhat.com>
23286
23287 [BZ #19791]
23288 * resolv/res_send.c (close_and_return_error): New function.
23289 (send_dg): Initialize *resplen2 after reopen failure. Call
23290 close_and_return_error for error returns. On error paths without
23291 __res_iclose, initialze *resplen2 explicitly. Update comment for
23292 successful return.
23293
23294 2016-03-25 Florian Weimer <fweimer@redhat.com>
23295
23296 [BZ #19860]
23297 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23298 zero if the compiler does not provide the AVX512F bit.
23299
23300 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23301
23302 [BZ #19848]
23303 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23304 from 8 to 4.
23305 (__ieee754_powl): Compare integer exponent against 4 not 8.
23306 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23307 from 8 to 4.
23308 (__ieee754_powl): Compare integer exponent against 4 not 8.
23309 * math/auto-libm-test-in: Add more tests of pow.
23310 * math/auto-libm-test-out: Regenerated.
23311 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23313
23314 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23315
23316 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23317 Make code unconditional.
23318 [!__NR_utimensat]: Remove conditional code.
23319 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23320 Make code unconditional.
23321 [!__NR_utimensat]: Remove conditional code.
23322 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23323 Make code unconditional.
23324 [!__NR_utimensat]: Remove conditional code.
23325
23326 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23327
23328 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23329 Make code unconditional.
23330
23331 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23332
23333 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23334 call-clobbered %eax on retry path.
23335 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23336
23337 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23340 Don't set %rcx twice before "rep movsb".
23341
23342 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23343
23344 [BZ #19583]
23345 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23346 inline. Check family before setting family, model and
23347 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23348 bits here.
23349 (init_cpu_features): Replace HAS_CPU_FEATURE and
23350 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23351 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23352 for Intel processors with usable AVX2. Call get_common_indeces
23353 for other processors with family == NULL.
23354 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23355 (CPU_FEATURES_ARCH_P): Likewise.
23356 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23357 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23358
23359 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23360
23361 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23362 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23363 $(shared-thread-library) instead of hardcoding the path to libpthread.
23364
23365 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23366
23367 * sysdeps/unix/sysv/linux/kernel-features.h
23368 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23369 * sysdeps/unix/sysv/linux/getdents.c
23370 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23371 [!have_no_getdents64_defined]: Likewise.
23372 (__GETDENTS): Remove __have_no_getdents64 conditional.
23373
23374 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23375
23376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23377 Remove macro.
23378 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23379 <kernel-features.h>.
23380 (signalfd) [__NR_signalfd4]: Make code unconditional.
23381 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23382
23383 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23384
23385 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23386 style.
23387
23388 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23389
23390 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23391 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23392 __pthread_unwind.
23393 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23394 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23395 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23396 (__condvar_cleanup1): Likewise.
23397
23398 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23399
23400 [BZ #19822]
23401 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23402 move it to the final $@ location.
23403
23404 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23405
23406 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23407 access where posix_spawn success and pid argument is null.
23408 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23409 success case.
23410
23411 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23412
23413 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23414
23415 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23416
23417 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23418 and __fcntl.
23419 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23420 __fcntl only.
23421 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23422 adding attribute_hidden to __open and __fcntl.
23423
23424 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23425 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23426 depend on libc-modules.h,
23427 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23428
23429 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23430
23431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23432 Remove macro.
23433 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23434 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23435 entry.
23436
23437 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23438 Remove macro.
23439 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23440 include <kernel-features.h>.
23441 [!__ASSUME_FALLOCATE]: Remove conditional code.
23442 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23443
23444 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23445
23446 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23447 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23448 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23449 (_ZGVdN4v_cos_avx2): Likewise.
23450 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23451 (_ZGVdN4v_cos): Likewise.
23452 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23453 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23454 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23455 (_ZGVdN4v_exp_avx2): Likewise.
23456 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23457 (_ZGVdN4v_exp): Likewise.
23458 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23459 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23460 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23461 (_ZGVdN4v_log_avx2): Likewise.
23462 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23463 (_ZGVdN4v_log): Likewise.
23464 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23465 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23466 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23467 (_ZGVdN4vv_pow_avx2): Likewise.
23468 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23469 (_ZGVdN4vv_pow): Likewise.
23470 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23471 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23472 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23473 (_ZGVdN4v_sin_avx2): Likewise.
23474 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23475 (_ZGVdN4v_sin): Likewise.
23476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23477 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23478 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23479 (_ZGVdN4vvv_sincos_avx2): Likewise.
23480 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23481 (_ZGVdN4vvv_sincos): Likewise.
23482 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23483 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23484 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23485 (_ZGVbN4v_cosf_sse4): Likewise.
23486 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23487 (_ZGVdN8v_cosf_avx2): Likewise.
23488 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23489 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23490 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23491 (_ZGVbN4v_expf_sse4): Likewise.
23492 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23493 (_ZGVdN8v_expf_avx2): Likewise.
23494 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23495 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23496 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23497 (_ZGVbN4v_logf_sse4): Likewise.
23498 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23499 (_ZGVdN8v_logf_avx2): Likewise.
23500 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23501 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23502 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23503 (_ZGVbN4vv_powf_sse4): Likewise.
23504 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23505 (_ZGVdN8vv_powf_avx2): Likewise.
23506 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23507 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23508 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23509 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23510 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23511 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23512 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23513 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23514 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23515 (_ZGVbN4v_sinf_sse4): Likewise.
23516 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23517 (_ZGVdN8v_sinf_avx2): Likewise.
23518 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23519 Use JUMPTARGET to call callee.
23520 (WRAPPER_IMPL_SSE2_ff): Likewise.
23521 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23522 (WRAPPER_IMPL_AVX): Likewise.
23523 (WRAPPER_IMPL_AVX_ff): Likewise.
23524 (WRAPPER_IMPL_AVX_fFF): Likewise.
23525 (WRAPPER_IMPL_AVX512): Likewise.
23526 (WRAPPER_IMPL_AVX512_ff): Likewise.
23527 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23528 Likewise.
23529 (WRAPPER_IMPL_SSE2_ff): Likewise.
23530 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23531 (WRAPPER_IMPL_AVX): Likewise.
23532 (WRAPPER_IMPL_AVX_ff): Likewise.
23533 (WRAPPER_IMPL_AVX_fFF): Likewise.
23534 (WRAPPER_IMPL_AVX512): Likewise.
23535 (WRAPPER_IMPL_AVX512_ff): Likewise.
23536 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23537
23538 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23539
23540 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23541 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23542 qualifier.
23543 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23544 internal_function qualifiers.
23545
23546 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23547
23548 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23549 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23550 * math/atest-exp.c (exp_mpn): Mark chk unused.
23551 * math/atest-exp2.c (exp_mpn): Likewise.
23552 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23553 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23554
23555 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23556
23557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23558 Remove macro.
23559 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23560 <kernel-features.h>.
23561 [__NR_ppoll]: Make code unconditional.
23562 [!__ASSUME_PPOLL]: Remove conditional code.
23563
23564 * sysdeps/unix/sysv/linux/kernel-features.h
23565 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23566 (__ASSUME_ACCEPT4): Likewise.
23567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23568 Define.
23569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23570 Likewise.
23571 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23572 Likewise.
23573 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23574 Likewise.
23575 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23576 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23577 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23578 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23579 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23580 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23581 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23582 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23583 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23584 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23585 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23586 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23587 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23588 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23589 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23590 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23591 Likewise.
23592 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23593 Likewise.
23594 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23595 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23596 0x040300].
23597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23598 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23599 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23600 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23601 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23602 0x030300].
23603 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23604 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23605 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23606 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23607 0x040300].
23608 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23609 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23611 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23612 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23613 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23614 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23615 0x030300].
23616 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23617 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23618 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23619 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23620 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23621 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23622 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23623 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23624 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23625 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23626 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23627 0x040300].
23628 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23629 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23630 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23631 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23632 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23633 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23634 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23635 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23636 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23637 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23638 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23639 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23640 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23641 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23642 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23643 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23645 Likewise.
23646 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23647 Likewise.
23648
23649 2016-03-15 Andreas Schwab <schwab@suse.de>
23650
23651 [BZ #19257]
23652 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23653 statp->_u._ext.nscount as loop count.
23654
23655 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23656
23657 * math/test-signgam-finite-c99.c: Also #undef
23658 __LIBC_INTERNAL_MATH_INLINES.
23659 * math/test-signgam-main.c: Likewise.
23660
23661 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23662
23663 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23664 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23665 (MADV_FREE): Likewise.
23666 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23667 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23668 EPOLLEXCLUSIVE.
23669
23670 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23671
23672 * timezone/README: Remove mention of checktab.awk. Mention wiki
23673 SharedSourceFiles.
23674
23675 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23676
23677 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23678 WUNTRACED.
23679
23680 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23681
23682 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23683 order to match the type of p when calling atomic_exchange_acq().
23684
23685 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23686
23687 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23688 cfi_offset calls.
23689 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23690 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23691 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23692 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23693 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23694
23695 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23696
23697 * timezone/checktab.awk: Removed.
23698
23699 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23700
23701 * manual/math.texi (Errors in Math Functions): Document relaxed
23702 accuracy goals for IBM long double.
23703 * math/libm-test.inc (test_exceptions): Always allow spurious
23704 "underflow" and "inexact" exceptions for IBM long double.
23705
23706 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23707
23708 [BZ #19762]
23709 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23710 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23711 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23712 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23713 (bit_arch_*): This for feature array.
23714 (bit_*): Renamed to ...
23715 (bit_cpu_*): This for cpu array.
23716 (index_*): Renamed to ...
23717 (index_arch_*): This for feature array.
23718 (index_*): Renamed to ...
23719 (index_cpu_*): This for cpu array.
23720 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23721 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23722 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23723 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23724 bit_##name with index_cpu_##name and bit_cpu_##name.
23725 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23726 bit_##name with index_arch_##name and bit_arch_##name.
23727
23728 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23729
23730 [BZ #19792]
23731 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23732 Terminate FDE before return label.
23733
23734 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23735
23736 [BZ #19790]
23737 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23738 (rintl): Define as macro.
23739 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23740 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23741 of fesetround. Ensure results are evaluated before end of scope.
23742 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23743 USE_AS_NEARBYINTL and include s_rintl.c.
23744 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23745 Disable exception traps in new environment.
23746 (libc_feholdsetround_ppc_ctx): Likewise.
23747
23748 2016-03-08 Roland McGrath <roland@hack.frob.com>
23749
23750 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23751 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23752 (tst_audit10_aux) [__AVX512F__]: ... here.
23753
23754 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23755
23756 * include/sys/auxv.h: New file.
23757
23758 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23759
23760 [BZ #19759]
23761 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23762
23763 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23764
23765 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23766 operand modifier.
23767 (feclearexcept): Likewise.
23768
23769 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23770
23771 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23772 to reflect the entire 32-bit HWCAP.
23773 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23774 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23775
23776 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23777
23778 [BZ #19783]
23779 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23780 $(test-via-rtld-prefix).
23781 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23782
23783 2016-03-08 Florian Weimer <fweimer@redhat.com>
23784
23785 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23786 union wait. Report any non-zero exit status as error.
23787
23788 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23789
23790 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23791 configured with --enable-hardcoded-path-in-tests.
23792
23793 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23794
23795 [BZ #19677]
23796 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23797 (__ieee754_remainderl): Put zero low parts in canonical form.
23798 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23799 file. Based on
23800 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23801 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23802 with wrapper round test-fmodrem-ldbl-128ibm.c.
23803 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23804 file.
23805 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23806 Likewise.
23807 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23808 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23809
23810 2016-03-07 Florian Weimer <fweimer@redhat.com>
23811
23812 [BZ #19610]
23813 * elf/ldconfig.c (opt_link): Update comment.
23814 (options): Update help string for option -X.
23815 (search_dir): Unlink stale symbolic link only if updating symbolic
23816 links.
23817 * elf/tst-ldconfig-X.sh: New file.
23818 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23819 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23820
23821 2016-03-07 Andreas Schwab <schwab@suse.de>
23822
23823 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23824 needed arguments.
23825
23826 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23827
23828 [BZ #15333]
23829 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23830 to lstat64.
23831
23832 2016-03-07 Florian Weimer <fweimer@redhat.com>
23833
23834 * libio/filedoalloc.c (isatty): Remove.
23835 (local_isatty): Add comment. Call __isatty directly.
23836 (_IO_file_doallocate): Update comment. Assume _LIBC.
23837 * libio/wfiledoalloc.c (isatty): Remove.
23838 (_IO_wfile_doallocate): Update comment.
23839
23840 2016-03-07 Florian Weimer <fweimer@redhat.com>
23841
23842 [BZ #19269]
23843 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23844 tst-audit4-aux.o.
23845 (tst-audit10): Depend on tst-audit10-aux.o.
23846 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23847 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23848 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23849 instead of inline AVX code.
23850 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23851 instead of inline AVX512 code.
23852 * sysdeps/x86_64/tst-audit4-aux.c: New file
23853 * sysdeps/x86_64/tst-audit10-aux.c: New file
23854
23855 [BZ #19648]
23856 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23857
23858 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23859
23860 [BZ #14750]
23861 [BZ #10354]
23862 [BZ #18433]
23863 * include/sched.h (__clone): Add hidden prototype.
23864 (__clone2): Likewise.
23865 * include/unistd.h (__dup): Likewise.
23866 * posix/Makefile (tests): Add tst-spawn2.
23867 * posix/tst-spawn2.c: New file.
23868 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23869 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23870 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23871 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23872 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23873 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23874 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23875 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23876 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23877 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23878 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23880 Likewise.
23881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23882 Likewise.
23883 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23884 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23885 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23886 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23887 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23888 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23889 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23890 * sysdeps/unix/sysv/linux/nptl-signals.h
23891 (____nptl_is_internal_signal): New function.
23892 * sysdeps/unix/sysv/linux/spawni.c: New file.
23893
23894 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23895 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23896 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23897 * posix/tst-execvp2.c (do_test): Likewise.
23898 * posix/tst-execvp3.c (do_test): Likewise.
23899 * posix/tst-execvp4.c (do_test): Likewise.
23900 * posix/tst-execvpe1.c: New file.
23901 * posix/tst-execvpe2.c: Likewise.
23902 * posix/tst-execvpe3.c: Likewise.
23903 * posix/tst-execvpe4.c: Likewise.
23904 * posix/tst-execvpe5.c: Likewise.
23905 * posix/tst-execvpe6.c: Likewise.
23906
23907 [BZ #19534]
23908 * posix/execl.c (execl): Remove dynamic memory allocation.
23909 * posix/execle.c (execle): Likewise.
23910 * posix/execlp.c (execlp): Likewise.
23911
23912 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23913
23914 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23915 Replace .text with .text.avx512.
23916 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23917 Likewise.
23918
23919 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23920
23921 * sysdeps/generic/libnsl.abilist: New file.
23922 * sysdeps/generic/libutil.abilist: New file.
23923
23924 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23925
23926 [BZ #19762]
23927 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23928 HAS_ARCH_FEATURE with Fast_Rep_String.
23929 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23930 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23931 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23932 Likewise.
23933 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23934 Likewise.
23935 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23936 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23937 Likewise.
23938 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23939 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23940 Likewise.
23941
23942 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23943
23944 [BZ #19745]
23945 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23946 with *%rax in call.
23947
23948 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 [BZ #19745]
23951 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23952 with *__libc_start_main@GOTPCREL(%rip) in call.
23953
23954 2016-03-04 Roland McGrath <roland@hack.frob.com>
23955
23956 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23957 inside conditional for nonempty $(CXX).
23958
23959 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23960 nonempty.
23961
23962 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23963 to test for empty $(CXX) rather than $(CXX) of "no".
23964
23965 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23966
23967 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23968
23969 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23970 H.J. Lu <hongjiu.lu@intel.com>
23971
23972 [BZ #18880]
23973 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23974 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23975 enable __memcpy_ssse3_back.
23976
23977 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23978
23979 [BZ #19758]
23980 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23981 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23982
23983 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23984
23985 [BZ #19490]
23986 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23987 (__fentry__): Likewise.
23988
23989 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23990
23991 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23992 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23993
23994 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23995
23996 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23997 __mcount_internal directly.
23998 (C_LABEL(__fentry__)): Likewise.
23999 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24000 directly.
24001
24002 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24003
24004 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24005 (__start_context): Call __setcontext directly.
24006
24007 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24008
24009 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24010 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24011 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24012 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24014 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24015 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24016 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24017 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24018 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24019 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24020 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24021 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24022 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24023 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24024 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24025 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24027 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24028 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24029 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24030 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24031 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24032 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24033 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24034 Remove conditional code.
24035 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24036 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24037 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24038 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24039 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24040 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24041 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24042 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24043 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24044 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24045 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24046 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24047
24048 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24049
24050 * NEWS (2.23): Fix typo in bug 19048 text.
24051
24052 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24053
24054 [BZ #14259]
24055 * Makeconfig: Rename msgcatdir to localedir.
24056 Rename inst_msgcatdir to inst_localedir.
24057 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24058 * config.make.in: Add localedir.
24059 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24060 (ldd-rewrite): Likewise.
24061 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24062 (install-others): Use inst_localedir.
24063 (CPPFLAGS): Use localedir.
24064 * locale/Makefile (locale-CPPFLAGS): Likewise.
24065 * po/Makefile (mo-installed): Use inst_localedir.
24066
24067 [BZ #19575]
24068 * localedata/charmaps/GB18030: Update comments regarding PAU to
24069 non-PUA mappings.
24070
24071 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24072
24073 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24074 test for header.
24075 * sysdeps/unix/sysv/linux/configure: Regenerated.
24076 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24077 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24078 Remove conditional code.
24079 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24080
24081 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24082 Define to 3.2.0.
24083 (arch_minimum_kernel): Likewise.
24084 * sysdeps/unix/sysv/linux/configure: Regenerated.
24085 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24086 Define to 2.6.32.
24087 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24088 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24089 (arch_minimum_kernel): Define to 2.6.32.
24090 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24091 * README: Document Linux 3.2 requirement.
24092 * manual/install.texi (Linux): Document Linux 3.2 headers
24093 requirement.
24094 * INSTALL: Regenerated.
24095
24096 2016-02-24 Andreas Schwab <schwab@suse.de>
24097
24098 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24099 if !NO_LONG_DOUBLE.
24100
24101 2016-02-22 Roland McGrath <roland@hack.frob.com>
24102
24103 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24104 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24105
24106 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24107
24108 [BZ #19512]
24109 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24110
24111 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24112
24113 * posix/tst-dir.c: Include libc-internal.h.
24114
24115 2016-02-20 Florian Weimer <fweimer@redhat.com>
24116
24117 [BZ #19056]
24118 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24119 * manual/filesys.texi (Reading/Closing Directory): Mention
24120 deprecaion.
24121 * posix/tst-dir.c (main): Disable deprecation warning in test.
24122
24123 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 [BZ #19679]
24126 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24127 Renamed to ...
24128 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24129 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24130 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24131 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24132 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24133 * sysdeps/x86_64/dl-trampoline.h
24134 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24135 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24136
24137 2016-02-19 Mark Wielaard <mjw@redhat.com>
24138
24139 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24140
24141 2016-02-19 Mark Wielaard <mjw@redhat.com>
24142
24143 * elf/elf.h (R_386_GOT32X): New.
24144 (R_386_NUM): Update.
24145 (R_X86_64_GOTPCRELX: New.
24146 (R_X86_64_REX_GOTPCRELX): New.
24147 (R_X86_64_NUM): Update.
24148
24149 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24150
24151 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24152
24153 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24154
24155 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24156 assign attr->stackaddr to it, and adjust it down when
24157 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24158 [_STACK_GROWS_UP]: Delete assert.
24159 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24160 Implement stack grows up logic.
24161 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24162 stack grows up logic.
24163
24164 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24165
24166 * NEWS: Update with 2.24 template.
24167
24168 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24169
24170 [BZ #19678]
24171 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24172 Ensure +0.0 is returned when taking the next value below the least
24173 positive value.
24174
24175 2016-02-19 Florian Weimer <fweimer@redhat.com>
24176
24177 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24178 available. Do not define NO_THREADS.
24179 * malloc/malloc.c: Do not check NO_THREADS.
24180 * malloc/arena.c: Likewise.
24181
24182 2016-02-19 Florian Weimer <fweimer@redhat.com>
24183
24184 * malloc/malloc.c (__libc_mallinfo): Update comment.
24185 (struct malloc_par): Remove max_total_mem member, it was always 0.
24186 (int_mallinfo): Store 0 into usmblks (no functional change).
24187 * malloc/hooks.c (struct malloc_state): Document that
24188 max_total_mem is always 0.
24189 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24190 always 0.
24191 * manual/memory.texi (Statistics of Malloc): Likewise.
24192
24193 2016-02-19 Florian Weimer <fweimer@redhat.com>
24194
24195 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24196 * malloc/arena.c (arena_max): Remove.
24197 (heap_trim, _int_new_arena): Do not update arena_max.
24198
24199 2016-02-19 Florian Weimer <fweimer@redhat.com>
24200
24201 * resolv/res_init.c (res_ninit): Update comment.
24202
24203 2016-02-19 Florian Weimer <fweimer@redhat.com>
24204
24205 [BZ #19505]
24206 * posix/spawn_int.h: Add headers and include guard.
24207 (__spawn_valid_fd): New function.
24208 * posix/spawn_faction_addopen.c
24209 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24210 * posix/spawn_faction_addclose.c
24211 (posix_spawn_file_actions_addclose): Likewise.
24212 * posix/spawn_faction_adddup2.c
24213 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24214 second file descriptor.
24215 * posix/spawn_valid_fd.c: New file.
24216 * posix/tst-posix_spawn-fd.c: New file.
24217 * posix/Makefile (routines): Add spawn_valid_fd.
24218 (tests): Add tst-posix_spawn-fd.
24219
24220 2016-02-19 Florian Weimer <fweimer@redhat.com>
24221
24222 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24223 (do_test): Limit the number of arenas, so that we can use fewer
24224 outer threads. Limit timeout to 3 seconds, in preparation for a
24225 larger TIMEOUT value.
24226
24227 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24228
24229 [BZ #19674]
24230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24231 sign in overflowing and underflowing results when overflow or
24232 underflow is detected early. Include sign in result before rather
24233 than after scaling.
24234
24235 [BZ #19603]
24236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24237 (__ieee754_remainderl): Adjust sign of integer version of low part
24238 when taking absolute value of high part.
24239 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24240 * math/libm-test.inc (remainder_test_data): Add another test.
24241 (remquo_test_data): Likewise.
24242
24243 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24244
24245 [BZ #19602]
24246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24247 equal high parts and both low parts zero specially.
24248 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24249 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24250 Add test-fmodl-ldbl-128ibm.
24251
24252 [BZ #19595]
24253 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24254 common logic for all cases of shifting subnormal results. Do not
24255 insert sign bit in shifted mantissa. Always pass -1023 as biased
24256 exponent to ldbl_insert_mantissa in subnormal case.
24257
24258 [BZ #19594]
24259 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24260 on high and low parts then adjust result and use
24261 ldbl_canonicalize_int if needed.
24262
24263 [BZ #19593]
24264 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24265 on high part and __floor or __ceil on low part then use
24266 ldbl_canonicalize_int if needed.
24267
24268 [BZ #19592]
24269 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24270 high and low parts then use ldbl_canonicalize_int if needed.
24271
24272 [BZ #17899]
24273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24274 New function.
24275 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24276 on high and low parts then use ldbl_canonicalize_int if needed.
24277
24278 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24279
24280 * configure: Regenerated.
24281
24282 * po/libc.pot: Regenerated.
24283
24284 * po/be.po: Updated translation.
24285 * po/bg.po: Likewise.
24286 * po/ca.po: Likewise.
24287 * po/cs.po: Likewise.
24288 * po/da.po: Likewise.
24289 * po/el.po: Likewise.
24290 * po/eo.po: Likewise.
24291 * po/es.po: Likewise.
24292 * po/fi.po: Likewise.
24293 * po/fr.po: Likewise.
24294 * po/gl.po: Likewise.
24295 * po/hr.po: Likewise.
24296 * po/hu.po: Likewise.
24297 * po/ia.po: Likewise.
24298 * po/id.po: Likewise.
24299 * po/it.po: Likewise.
24300 * po/ja.po: Likewise.
24301 * po/lt.po: Likewise.
24302 * po/nb.po: Likewise.
24303 * po/nl.po: Likewise.
24304 * po/pt_BR.po: Likewise.
24305 * po/rw.po: Likewise.
24306 * po/sk.po: Likewise.
24307 * po/sl.po: Likewise.
24308 * po/sv.po: Likewise.
24309 * po/tr.po: Likewise.
24310 * po/zh_CN.po: Likewise.
24311 * po/zh_TW.po: Likewise.
24312
24313 * version.h (RELEAES): Set to "development".
24314 (VERSION): Set to 2.23.90.
24315
24316 * version.h (RELEASE): Set to "stable".
24317 (VERSION): Set to 2.23.
24318 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24319
24320 * NEWS: Updated fixed bugs.
24321
24322 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24323 Wilco Dijkstra <wdijkstr@arm.com>
24324
24325 [BZ #19462]
24326 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24327 (_STRING_INLINE_unaligned): This.
24328 * include/string.h: Include <string_private.h>.
24329 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24330 _STRING_INLINE_unaligned.
24331 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24332 (_STRING_INLINE_unaligned): New.
24333 * sysdeps/aarch64/string_private.h: New file.
24334 * sysdeps/generic/string_private.h: Likewise.
24335 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24336 * sysdeps/s390/string_private.h: Likewise.
24337 * sysdeps/x86/string_private.h: Likewise.
24338 * sysdeps/m68k/m680x0/m68020/bits/string.h
24339 (_STRING_ARCH_unaligned): Renamed to ...
24340 (_STRING_INLINE_unaligned): This.
24341 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24342 to ...
24343 (_STRING_INLINE_unaligned): This.
24344 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24345 to ...
24346 (_STRING_INLINE_unaligned): This.
24347 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24348 to ...
24349 (_STRING_INLINE_unaligned): This.
24350
24351 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24352 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 [BZ #19590]
24355 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24356 relocation.
24357
24358 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24359
24360 [BZ #18665]
24361 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24362 *herrno_p.
24363 (gaih_getanswer): Document functional behviour. Return tryagain
24364 if any result is tryagain.
24365 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24366 when freed.
24367 * resolv/res_send.c: Add copyright text.
24368 (__libc_res_nsend): Document that MAXPACKET is expected.
24369 (send_vc): Document. Remove buffer reuse.
24370 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24371 size of the buffer. Add Dprint for truncated UDP buffer.
24372
24373 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24374
24375 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24376 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24377 * INSTALL: Regenerate.
24378
24379 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24380 Jonathan Wakely <jwakely@redhat.com>
24381 Carlos O'Donell <carlos@redhat.com>
24382
24383 [BZ 19439]
24384 * math/Makefile (tests): Add test-math-isinff.
24385 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24386 * math/bits/mathcalls.h [__USE_MISC]: Use
24387 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24388 functions not in C++11 and which don't conflict e.g. isinff,
24389 isinfl etc.
24390 * math/test-math-isinff.cc: New file.
24391
24392 2016-02-12 Florian Weimer <fweimer@redhat.com>
24393
24394 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24395
24396 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24397
24398 [BZ #19529]
24399 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24400
24401 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24402
24403 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24404
24405 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24406
24407 [BZ #19550]
24408 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24409 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24410 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24411 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24412 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24413 New syscall entry.
24414 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24415 New syscall entry.
24416 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24417 syscall entry.
24418
24419 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24420
24421 [BZ #18240]
24422 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24423 unsigned int wraparound.
24424
24425 2016-01-27 Florian Weimer <fweimer@redhat.com>
24426
24427 [BZ #18240]
24428 * misc/bug18240.c: New test.
24429 * misc/Makefile (tests): Add it.
24430
24431 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24432 Joseph Myers <joseph@codesourcery.com>
24433
24434 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24435 load in branch delay slot when less than a word of input left.
24436
24437 2016-01-27 Andreas Schwab <schwab@suse.de>
24438
24439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24440 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24441 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24442 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24443
24444 2016-01-26 David S. Miller <davem@davemloft.net>
24445
24446 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24447
24448 2016-01-25 David S. Miller <davem@davemloft.net>
24449
24450 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24451 __sqrtl_finite.
24452 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24453 instead using versioned_symbol.
24454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24455 of entries.
24456
24457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24458 __sqrtl_finite to GLIBC_2.23
24459
24460 2016-01-25 Ricchard Henderson <rth@redhat.com>
24461
24462 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24463
24464 2016-01-25 Andreas Schwab <schwab@suse.de>
24465
24466 [BZ #17514]
24467 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24468 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24469 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24470 * nptl/tst-mutex-errorcheck.c: New file.
24471
24472 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24473
24474 [BZ #18560]
24475 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24476 (IPCOP_semop): Likewise.
24477 (IPCOP_semget): Likewise.
24478 (IPCOP_semctl): Likewise.
24479 (IPCOP_msgsnd): Likewise.
24480 (IPCOP_msgrcv): Likewise.
24481 (IPCOP_msgget): Likewise.
24482 (IPCOP_msgctl): Likewise.
24483 (IPCOP_shmat): Likewise.
24484 (IPCOP_shmdt): Likewise.
24485 (IPCOP_shmget): Likewise.
24486 (IPCOP_shmctl): Likewise.
24487
24488 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24489
24490 * string/tst-endian.c: Include <libc-internal.h>.
24491 (do_test): Ignore tautological-compare warnings around
24492 "htobeXX (beXXtoh (i)) != i" and
24493 "htoleXX (leXXtoh (i)) != i" if-statements.
24494
24495 2016-01-24 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24498 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24499 alias.
24500 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24501 __sqrtl_finite.
24502
24503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24504
24505 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24506
24507 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24508 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24509 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24510
24511 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24512
24513 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24514 (thread_func): Use new function to simplify barrier check.
24515 (do_test): Use new function to simplify checking barrier exit
24516 code, and actually join the child thread.
24517
24518 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24519
24520 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24521 semicolon.
24522 (__libc_tend): Likewise.
24523 (__libc_tabort): Likewise.
24524
24525 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24526
24527 * sysdeps/nios2/libm-test-ulps: Update.
24528 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24529 (__gtsf2): Likewise.
24530 (__unorddf2): Likewise.
24531 (__unordsf2): Likewise.
24532 (__ledf2): Likewise.
24533
24534 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24535
24536 * nis/nis_table.c (__follow_path): Disable diagnostic for
24537 uninitialized variable that is a false positive for gcc 4.7.
24538 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24539
24540 2016-01-20 Roland McGrath <roland@hack.frob.com>
24541
24542 * sysdeps/nacl/lowlevellock-futex.h
24543 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24544 Always evaluate PRIVATE argument.
24545
24546 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24547
24548 [BZ #19490]
24549 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24550 (pthread_cond_broadcast): Use ENTRY/END
24551 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24552 (pthread_cond_signal): Likewise.
24553 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24554 Likewise.
24555 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24556 Likewise.
24557 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24558 Likewise.
24559
24560 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24561
24562 * sysdeps/ieee754/dbl-64/s_finite.c
24563 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24564 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24565 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24567 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24568
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24570 (__gtsf2): Add as optional for libc.so.
24571 (__unordsf2): Likewise.
24572 (__signbit): Remove for libc.so.
24573 (__signbitl): Likewise.
24574
24575 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24576
24577 * iconvdata/bug-iconv11.c (test_ibm93x):
24578 Use %zu printf format specifier for size_t argument.
24579
24580 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24581
24582 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24583 already-recorded ulps.
24584 * sysdeps/arm/libm-test-ulps: Regenerated.
24585 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24586 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24587 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24588
24589 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24590 Paul Pluzhnikov <ppluzhnikov@google.com>
24591
24592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24593 assembler not supporting AVX-512.
24594
24595 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24596
24597 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24598
24599 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24600
24601 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24602 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24603
24604 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24605
24606 * sysdeps/arm/libm-test-ulps: Regenerated.
24607
24608 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24609
24610 [BZ #19451]
24611 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24612
24613 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24614
24615 [BZ #19486]
24616 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24617 * sysdeps/generic/fix-fp-int-convert-overflow.h
24618 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24619 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24620 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24621 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24622 Likewise.
24623 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24624 Avoid conversions to long int where inexact exceptions
24625 could be raised.
24626 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24627 Likewise.
24628 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24629 Avoid conversions to long long int where inexact exceptions
24630 could be raised.
24631 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24632 Likewise.
24633
24634 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24635
24636 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24637 * configure: Regenerated.
24638
24639 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24640
24641 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24642
24643 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24644
24645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24646 outside of comment.
24647
24648 2016-01-15 Torvald Riegel <triegel@redhat.com>
24649
24650 * nptl/tst-barrier1.c: Add description on first line.
24651 * nptl/tst-barrier2.c: Likewise.
24652 * nptl/tst-barrier3.c: Likewise.
24653 * nptl/tst-barrier4.c: Likewise.
24654 * nptl/tst-barrier5.c: Likewise.
24655
24656 2016-01-15 Torvald Riegel <triegel@redhat.com>
24657
24658 [BZ #18868]
24659 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24660
24661 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24662
24663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24665 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24666 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24667 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24668 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24669 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24670 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24671 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24672 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24673 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24674
24675 2016-01-15 Torvald Riegel <triegel@redhat.com>
24676
24677 [BZ #13065]
24678 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24679 new implementation.
24680 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24681 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24682 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24683 (BARRIER_IN_THRESHOLD): New macro.
24684 * nptl/pthread_barrierattr_setpshared.c
24685 (pthread_barrierattr_setpshared): Clean up.
24686 * nptl/tst-barrier4.c: Correct comment.
24687 * nptl/tst-barrier5.c: New file.
24688 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24689 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24690 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24691 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24692 * nptl/lowlevelbarrier.sym: Remove.
24693 * nptl/DESIGN-barrier.txt: Remove.
24694 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24695 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24696 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24697 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24698 error.
24699 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24700 implementation.
24701
24702 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24703
24704 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24705 (do_child): Mask SIGRTMIN while thr is running.
24706
24707 2016-01-15 Martin Sebor <msebor@redhat.com>
24708
24709 [BZ #19432]
24710 * iconvdata/Makefile: Add bug-iconv11.
24711 * iconvdata/bug-iconv11.c: New test.
24712 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24713 * iconvdata/ibm933.c: Same.
24714 * iconvdata/ibm935.c: Same.
24715 * iconvdata/ibm937.c: Same.
24716 * iconvdata/ibm939.c: Same.
24717
24718 2016-01-15 Martin Sebor <msebor@redhat.com>
24719
24720 [BZ #19443]
24721 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24722 [DEBUG] (_ufc_set_bits): Declare used.
24723 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24724 [DEBUG] (print_all): Declare used.
24725 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24726 operands of the ternary ?: expression to target type.
24727 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24728 calling the undeclared abort.
24729 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24730
24731 2016-01-15 Martin Sebor <msebor@redhat.com>
24732
24733 [BZ #18755]
24734 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24735 warnings.
24736 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24737 (__gai_create_helper_thread): Same.
24738 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24739 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24740 to suppress -Wmaybe-uninitialized warnings.
24741
24742 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24743
24744 [BZ #19465]
24745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24746 inside if.
24747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24748 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24750
24751 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24752
24753 [BZ #19466]
24754 * time/tst-mktime2.c (time_t_max): Removed.
24755 (time_t_min): Likewise.
24756 (TYPE_SIGNED): New.
24757 (TYPE_MINIMUM): Likewise.
24758 (TYPE_MAXIMUM): Likewise.
24759 (TIME_T_MIN): Likewise.
24760 (TIME_T_MAX): Likewise.
24761 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24762 and TIME_T_MIN.
24763 (do_test): Likewise.
24764
24765 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24766
24767 [BZ #19467]
24768 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24769 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24770
24771 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24772
24773 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24774
24775 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24776
24777 * benchtests/Makefile (PYTHON): Define.
24778 (bench-func): Use $(PYTHON) to run python scripts.
24779 ($(objpfx)bench-%.c): Likewise.
24780
24781 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24782
24783 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24784 leading slash when `file_name' is "/".
24785
24786 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24787
24788 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24789 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24790 Likewise.
24791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24792 Likewise.
24793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24794 Likewise.
24795 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24796 enum constant and macro.
24797 (PTRACE_SETSIGMASK): Likewise.
24798 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24799 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24800 (PTRACE_GETSIGMASK): Likewise.
24801 (PTRACE_SETSIGMASK): Likewise.
24802 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24804 Likewise.
24805 (PTRACE_SETSIGMASK): Likewise.
24806 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24807 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24808 (PTRACE_GETSIGMASK): Likewise.
24809 (PTRACE_SETSIGMASK): Likewise.
24810 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24812 Likewise.
24813 (PTRACE_SETSIGMASK): Likewise.
24814 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24816 Likewise.
24817 (PTRACE_SETSIGMASK): Likewise.
24818 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24819 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24820 Likewise.
24821 (PTRACE_SETSIGMASK): Likewise.
24822 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24823
24824 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24825 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24826
24827 [BZ #19439]
24828 * math/bits/mathcalls.h
24829 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24830 prototype.
24831 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24832
24833 2016-01-11 Andreas Schwab <schwab@suse.de>
24834
24835 [BZ #19253]
24836 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24837 cache when TZDEFRULES was used.
24838 * time/tst-tzname.c: New file.
24839 * time/Makefile (test): Add tst-tzname.
24840 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24841 * timezone/Makefile (test-zones): Add $(posixrules-file).
24842 ($(testdata)/$(posixrules-file)): New rule.
24843
24844 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24845
24846 Fix doc quoting problems with Texinfo 5
24847 Without this change, in the info file output, Texinfo 5 quotes code
24848 in text with undirected single quotes 'like this' and generates
24849 code examples that with many PDF readers cannot be cut out of PDFs
24850 and pasted into code.
24851 * manual/libc.texinfo: Configure the libc manual like the GNU
24852 Emacs manual, by using @documentencoding and setting
24853 txicodequoteundirected and txicodequotebacktick. This way,
24854 Texinfo 5 quotes code in text with directed single quotes ‘like
24855 this’ and produces examples that can be cut out of PDFs. This
24856 change causes Texinfo 5 to generate info files that contain UTF-8
24857 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24858 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24859
24860 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24861
24862 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24863 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24864 barriers to their respective compiler built-ins.
24865 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24866 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24867 * sysdeps/powerpc/sysdep.h: Likewise.
24868 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24869 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24870 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24871
24872 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24873
24874 * scripts/config.guess: Revert previous shebang change.
24875 * scripts/config.sub: Likewise.
24876 * scripts/mkinstalldirs: Likewise.
24877
24878 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24879
24880 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24881 PPC_FEATURE2_HAS_IEEE128.
24882 * sysdeps/powerpc/dl-procinfo.c:
24883 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24884
24885 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24886
24887 [BZ #19415]
24888 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24889 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24890 (_dl_lookup_address): Rewrite using function resolver trampoline.
24891 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24892 two bits in address.
24893
24894 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24895
24896 * longlong.h: Change !__SHMEDIA__ to
24897 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24898 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24899
24900 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24901 Joseph Myers <joseph@codesourcery.com>
24902 Mark Shinwell <shinwell@codesourcery.com>
24903 Andrew Stubbs <ams@codesourcery.com>
24904 Rich Felker <dalias@libc.org>
24905
24906 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24907
24908 2016-01-07 Richard Henderson <rth@redhat.com>
24909
24910 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24911
24912 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24913
24914 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24915 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24916 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24917 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24918 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24919
24920 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24921 Joseph Myers <joseph@codesourcery.com>
24922
24923 * timezone/private.h: Update from tzcode 2015g.
24924 * timezone/tzfile.h: Likewise.
24925 * timezone/tzselect.ksh: Likewise.
24926 * timezone/zdump.c: Likewise.
24927 * timezone/zic.c: Likewise.
24928 * timezone/ialloc.c: Remove file.
24929 * timezone/scheck.c: Likewise.
24930 * timezone/Makefile (extra-objs): Remove variable.
24931 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24932 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24933 -Wno-maybe-uninitialized.
24934 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24935 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24936 (CFLAGS-ialloc.c): Remove variable.
24937 (CFLAGS-scheck.c): Likewise.
24938 * timezone/README: Update list of files from tzcode.
24939
24940 2016-01-07 Khem Raj <raj.khem@gmail.com>
24941
24942 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24943 instead of __fxprintf when _LIBC is undefined.
24944
24945 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24946
24947 * catgets/test-gencat.sh: Remove space after shebang.
24948 * conform/GlibcConform.pm: Likewise.
24949 * conform/check-header-lists.sh: Likewise.
24950 * conform/conformtest.pl: Likewise.
24951 * conform/linknamespace.pl: Likewise.
24952 * conform/list-header-symbols.pl: Likewise.
24953 * debug/catchsegv.sh: Likewise.
24954 * elf/genrtldtbl.awk: Likewise.
24955 * elf/tst-pathopt.sh: Likewise.
24956 * elf/tst-rtld-load-self.sh: Likewise.
24957 * grp/tst_fgetgrent.sh: Likewise.
24958 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24959 * iconvdata/gen-8bit-gap.sh: Likewise.
24960 * iconvdata/gen-8bit.sh: Likewise.
24961 * iconvdata/run-iconv-test.sh: Likewise.
24962 * intl/tst-gettext.sh: Likewise.
24963 * intl/tst-gettext2.sh: Likewise.
24964 * intl/tst-gettext4.sh: Likewise.
24965 * intl/tst-gettext6.sh: Likewise.
24966 * intl/tst-translit.sh: Likewise.
24967 * io/ftwtest-sh: Likewise.
24968 * libio/test-freopen.sh: Likewise.
24969 * locale/gen-translit.pl: Likewise.
24970 * malloc/tst-mtrace.sh: Likewise.
24971 * manual/check-safety.sh: Likewise.
24972 * manual/libc-texinfo.sh: Likewise.
24973 * manual/tsort.awk: Likewise.
24974 * manual/xtract-typefun.awk: Likewise.
24975 * nptl/tst-cancel-wrappers.sh: Likewise.
24976 * nptl/tst-tls6.sh: Likewise.
24977 * posix/globtest.sh: Likewise.
24978 * posix/tst-getconf.sh: Likewise.
24979 * posix/wordexp-tst.sh: Likewise.
24980 * scripts/check-c++-types.sh: Likewise.
24981 * scripts/check-local-headers.sh: Likewise.
24982 * scripts/config.guess: Likewise.
24983 * scripts/config.sub: Likewise.
24984 * scripts/cpp: Likewise.
24985 * scripts/cross-test-ssh.sh: Likewise.
24986 * scripts/documented.sh: Likewise.
24987 * scripts/evaluate-test.sh: Likewise.
24988 * scripts/gen-libc-abis: Likewise.
24989 * scripts/gen-sorted.awk: Likewise.
24990 * scripts/list-fixed-bugs.py: Likewise.
24991 * scripts/merge-test-results.sh: Likewise.
24992 * scripts/mkinstalldirs: Likewise.
24993 * scripts/rellns-sh: Likewise.
24994 * scripts/test-installation.pl: Likewise.
24995 * scripts/update-copyrights: Likewise.
24996 * stdio-common/tst-printf.sh: Likewise.
24997 * stdio-common/tst-unbputc.sh: Likewise.
24998 * stdlib/tst-fmtmsg.sh: Likewise.
24999 * stdlib/tst-setcontext3.sh: Likewise.
25000 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25001 * sysdeps/unix/make-syscalls.sh: Likewise.
25002
25003 2016-01-06 John David Anglin <dave.anglin@bell.net>
25004
25005 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25006 asm stw with atomic_exchange_rel. Add explanatory comment.
25007 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25008 Likewise.
25009
25010 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25011
25012 [BZ #19122]
25013 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25014 * sysdeps/generic/dl-unistd.h: New file.
25015 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25016
25017 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25018
25019 [BZ #19122]
25020 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25021 * sysdeps/generic/dl-mman.h: New file.
25022 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25023
25024 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25025
25026 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25027 trailing whitespace removed.
25028 * scripts/config.guess: Update to version 2016-01-01.
25029 * scripts/config.sub: Update to version 2016-01-01.
25030 * scripts/move-if-change: Update from gnulib.
25031
25032 2016-01-04 Anton Blanchard <anton@samba.org>
25033
25034 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25035 for array indices.
25036 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25037
25038 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25039
25040 * NEWS: Update copyright dates.
25041 * catgets/gencat.c (print_version): Likewise.
25042 * csu/version.c (banner): Likewise.
25043 * debug/catchsegv.sh: Likewise.
25044 * debug/pcprofiledump.c (print_version): Likewise.
25045 * debug/xtrace.sh (do_version): Likewise.
25046 * elf/ldconfig.c (print_version): Likewise.
25047 * elf/ldd.bash.in: Likewise.
25048 * elf/pldd.c (print_version): Likewise.
25049 * elf/sotruss.sh: Likewise.
25050 * elf/sprof.c (print_version): Likewise.
25051 * iconv/iconv_prog.c (print_version): Likewise.
25052 * iconv/iconvconfig.c (print_version): Likewise.
25053 * locale/programs/locale.c (print_version): Likewise.
25054 * locale/programs/localedef.c (print_version): Likewise.
25055 * login/programs/pt_chown.c (print_version): Likewise.
25056 * malloc/memusage.sh (do_version): Likewise.
25057 * malloc/memusagestat.c (print_version): Likewise.
25058 * malloc/mtrace.pl: Likewise.
25059 * manual/libc.texinfo: Likewise.
25060 * nptl/version.c (banner): Likewise.
25061 * nscd/nscd.c (print_version): Likewise.
25062 * nss/getent.c (print_version): Likewise.
25063 * nss/makedb.c (print_version): Likewise.
25064 * posix/getconf.c (main): Likewise.
25065 * scripts/test-installation.pl: Likewise.
25066 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25067
25068 * All files with FSF copyright notices: Update copyright dates
25069 using scripts/update-copyrights.
25070 * intl/plural.c: Regenerated.
25071 * locale/programs/charmap-kw.h: Likewise.
25072 * locale/programs/locfile-kw.h: Likewise.
25073
25074 2016-01-02 Helge Deller <deller@gmx.de>
25075
25076 [BZ #19285]
25077 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25078 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25079 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25080 (MADV_xxK_PAGES): Remove.
25081
25082 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25083
25084 [BZ #15421]
25085 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25086 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25087 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25088 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25089
25090 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25091
25092 [BZ #19408]
25093 * sysdeps/unix/sysv/linux/personality.c: New file.
25094 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25095 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25096 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25097 (sysdep_routines): Add personality.
25098 (tests): Add tst-personality.
25099 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25101 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25102 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25103 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25104 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25105 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25106 Likewise.
25107 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25108 Likewise.
25109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25110 Likewise.
25111 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25112 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25113 Likewise.
25114
25115 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25116
25117 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25118 (PATH_ARM_SYSTYPE): Remove.
25119 (PATH_CPUINFO): Likewise.
25120 (IO_BASE_FOOTBRIDGE): Likewise.
25121 (IO_SHIFT_FOOTBRIDGE): Likewise.
25122 (struct platform): Likewise.
25123 (init_iosys): Remove compatibility code for 2.4 kernels.
25124 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25125
25126 2015-12-29 Florian Weimer <fweimer@redhat.com>
25127
25128 * malloc/tst-malloc-thread-fail.c: New file.
25129 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25130 (tst-malloc-thread-fail): Link against libpthread.
25131
25132 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25133
25134 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25135 (get_parser): New function.
25136 (main): New function.
25137
25138 2015-12-29 Rob Wu <rob@robwu.nl>
25139
25140 [BZ #19369]
25141 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25142
25143 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25144
25145 [BZ #19270]
25146 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25147
25148 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25149
25150 [BZ #15421]
25151 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25152
25153 2015-12-23 Torvald Riegel <triegel@redhat.com>
25154
25155 [BZ #13690]
25156 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25157 after releasing it.
25158 (__lll_robust_unlock): Likewise.
25159 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25160 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25161 (lll_robust_unlock): Likewise.
25162 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25163 Prevent warnings in callers.
25164
25165 2015-12-23 Florian Weimer <fweimer@redhat.com>
25166
25167 * malloc/arena.c (list_lock): Update comment.
25168
25169 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25170
25171 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25172 __parse_hwcap_and_convert_at_platform to libc.a.
25173
25174 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25175
25176 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25177 platform and feature support for POWER9.
25178 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25179 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25180 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25181 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25182 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25183 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25184 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25185 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25186
25187 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25188
25189 Harmonize generic stdio-lock support with nptl
25190
25191 This fixes build when _IO_funlockfile is a macro, fixes build where
25192 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25193 stack unwind.
25194
25195 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25196 _IO_release_lock ): Use cleanup attribute on new
25197 _IO_acquire_lock_file variable instead of assuming that
25198 _IO_release_lock will be called.
25199 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25200 _IO_acquire_lock_needs_exceptions_enabled.
25201 (_IO_acquire_lock_clear_flags2): New macro.
25202
25203 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25204
25205 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25206
25207 2015-12-21 Florian Weimer <fweimer@redhat.com>
25208
25209 [BZ #19182]
25210 * malloc/arena.c (list_lock): Document lock ordering requirements.
25211 (free_list_lock): New lock.
25212 (ptmalloc_lock_all): Comment on free_list_lock.
25213 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25214 (detach_arena): Update comment. free_list_lock is now needed.
25215 (_int_new_arena): Use free_list_lock around detach_arena call.
25216 Acquire arena lock after list_lock. Add comment, including FIXME
25217 about incorrect synchronization.
25218 (get_free_list): Switch to free_list_lock.
25219 (reused_arena): Acquire free_list_lock around detach_arena call
25220 and attached threads counter update. Add two FIXMEs about
25221 incorrect synchronization.
25222 (arena_thread_freeres): Switch to free_list_lock.
25223 * malloc/malloc.c (struct malloc_state): Update comments to
25224 mention free_list_lock.
25225
25226 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25227
25228 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25229 Remove functions.
25230 (sloww, sloww1): Accept argument to offset quadrant.
25231 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25232 quadrant.
25233 (__sin, __cos): Consolidate common code into new functions.
25234 (reduce_sincos_1, do_sincos_1): New functions.
25235 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25236
25237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25238 code to new functions.
25239 (reduce_sincos_2, do_sincos_2): New functions.
25240 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25241
25242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25243 common code for sincos.
25244 (__cos) [!IN_SINCOS]: Likewise.
25245 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25246 New function.
25247 (__sincos): Use it.
25248
25249 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25250
25251 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25252 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25253 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25254
25255 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25256
25257 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25260 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25261 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25262 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25263 index_Prefer_No_VZEROUPPER): New feature.
25264 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25265 Prefer_No_VZEROUPPER for Knights Landing.
25266
25267 015-12-18 Torvald Riegel <triegel@redhat.com>
25268
25269 * math/atest-exp2.c (mp_exp_m1): Remove.
25270
25271 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25272
25273 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25274 syscalls.
25275 (__SYSCALL0): New macro.
25276 (__SYSCALL1): Likewise.
25277 (__SYSCALL2): Likewise.
25278 (__SYSCALL3): Likewise.
25279 (__SYSCALL4): Likewise.
25280 (__SYSCALL5): Likewise.
25281 (__SYSCALL6): Likewise.
25282 (__SYSCALL_CONCAT_X): Likewise.
25283 (__SYSCALL_CONCAT): Likewise.
25284 (__SYSCALL_DIST): Likewise.
25285 (__SYSCALL_CALL): Likewise.
25286
25287 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25288
25289 [BZ #19363]
25290 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25291
25292 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25293
25294 [BZ #19375]
25295 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25296 negative subnormals.
25297
25298 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25299
25300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25301 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25302 (INTERNAL_SYSCALL_NCS): Use it.
25303 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25304
25305 2015-12-16 Florian Weimer <fweimer@redhat.com>
25306
25307 [BZ #19243]
25308 * malloc/arena.c (get_free_list): Remove assert and adjust
25309 reference count handling. Add comment about reused_arena
25310 interaction.
25311 (reused_arena): Add comments abount get_free_list interaction.
25312 * malloc/tst-malloc-thread-exit.c: New file.
25313 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25314 (tst-malloc-thread-exit): Link against libpthread.
25315
25316 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25317
25318 [BZ #19367]
25319 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25320 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25321 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25322 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25323 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25324
25325 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25326
25327 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25328 Silvermont optimizations for Knights Landing.
25329
25330 2015-12-15 Andreas Schwab <schwab@suse.de>
25331
25332 [BZ #17197]
25333 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25334 immediately after emitting SI.
25335 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25336 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25337 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25338 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25339 * iconvdata/bug-iconv10.c: New file.
25340 * iconvdata/Makefile (tests): Add bug-iconv10.
25341 ($(objpfx)bug-iconv10.out): New rule.
25342
25343 2015-12-15 Florian Weimer <fweimer@redhat.com>
25344
25345 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25346 aliasing violation.
25347
25348 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25349
25350 [BZ #18472]
25351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25352 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25353 conditionals for them.
25354 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25355 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25357 sys/kdaemon.h.
25358 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25359 compat-only syscall, obsoleted in glibc 2.23.
25360 (create_module): Likewise.
25361 (get_kernel_syms): Likewise.
25362 (query_module): Likewise.
25363 (uselib): Likewise.
25364 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25365
25366 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25367
25368 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25369 <linux/version.h>.
25370 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25371 conditional code.
25372 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25373 and ioshift_name initialization.
25374
25375 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25376
25377 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25378 Fix indentation.
25379
25380 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25381
25382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25383
25384 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25385
25386 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25387
25388 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25389 Jakub Wilk <jwilk@debian.org>
25390
25391 [BZ #19347]
25392 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25393 to change the group of the device to the tty group.
25394
25395 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25396
25397 Split large string section; add truncation advice
25398 * manual/examples/strncat.c: Remove.
25399 This example was misleading, as the code would have undefined
25400 behavior if "hello" was longer than SIZE. Anyway, the manual
25401 shouldn't encourage strncpy+strncat for this sort of thing.
25402 * manual/string.texi (Copying Strings and Arrays): Split into
25403 three sections Copying Strings and Arrays, Concatenating Strings,
25404 and Truncating Strings, as this section was way too long. All
25405 cross-referenced changed. Add advice about string-truncation
25406 functions. Remove misleading strncat example.
25407
25408 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25409
25410 * manual/nss.texi (NSS Modules Interface): Document
25411 NSS_STATUS_NOTFOUND and SUCCESS.
25412
25413 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25414
25415 [BZ 18568]
25416 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25417 201505L, for Unicode 8.
25418
25419 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25420
25421 * locale/C-translit.h: Regenerate.
25422
25423 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25424
25425 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25426 and U+0153.
25427
25428 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25429
25430 [BZ #19351]
25431 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25432 expanding log(1+z), compare z rather than its square with epsilon
25433 to determine when to avoid evaluating the expansion.
25434
25435 [BZ #19350]
25436 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25437 Increase overflow threshold.
25438
25439 [BZ #19349]
25440 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25441 when small.
25442
25443 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25444 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25445 New macro.
25446 [__LINUX_KERNEL_VERSION >= 0x040300]
25447 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25448 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25449 Likewise.
25450 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25451 Likewise.
25452 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25453 Likewise.
25454 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25455 Likewise.
25456 [__LINUX_KERNEL_VERSION >= 0x040300]
25457 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25458 [__LINUX_KERNEL_VERSION >= 0x040300]
25459 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25460 [__LINUX_KERNEL_VERSION >= 0x040300]
25461 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25462 [__LINUX_KERNEL_VERSION >= 0x040300]
25463 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25464 [__LINUX_KERNEL_VERSION >= 0x040300]
25465 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25466 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25467 Likewise.
25468 [__LINUX_KERNEL_VERSION >= 0x040300]
25469 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25470 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25471 Likewise.
25472 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25473 Likewise.
25474 [__LINUX_KERNEL_VERSION >= 0x040300]
25475 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25476 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25477 Likewise.
25478 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25479 Likewise.
25480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25481 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25482 Likewise.
25483 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25484 Likewise.
25485 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25486 Likewise.
25487 [__LINUX_KERNEL_VERSION >= 0x040300]
25488 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25489 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25490 Likewise.
25491 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25492 Likewise.
25493 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25494 Likewise.
25495 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25496 Likewise.
25497 [__LINUX_KERNEL_VERSION >= 0x040300]
25498 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25499 [__LINUX_KERNEL_VERSION >= 0x040300]
25500 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25501 [__LINUX_KERNEL_VERSION >= 0x040300]
25502 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25503 [__LINUX_KERNEL_VERSION >= 0x040300]
25504 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25505 [__LINUX_KERNEL_VERSION >= 0x040300]
25506 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25507 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25508 Likewise.
25509 [__LINUX_KERNEL_VERSION >= 0x040300]
25510 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25511 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25512 Likewise.
25513 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25514 Likewise.
25515 [__LINUX_KERNEL_VERSION >= 0x040300]
25516 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25517 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25518 Likewise.
25519 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25520 Likewise.
25521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25522 (__ASSUME_SOCKET_SYSCALL): Likewise.
25523 (__ASSUME_BIND_SYSCALL): Likewise.
25524 (__ASSUME_CONNECT_SYSCALL): Likewise.
25525 (__ASSUME_LISTEN_SYSCALL): Likewise.
25526 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25527 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25528 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25529 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25530 (__ASSUME_SEND_SYSCALL): Likewise.
25531 (__ASSUME_SENDTO_SYSCALL): Likewise.
25532 (__ASSUME_RECV_SYSCALL): Likewise.
25533 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25534 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25535 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25536 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25537 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25538 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25539 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25540 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25541 Likewise.
25542 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25543 Likewise.
25544 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25545 Likewise.
25546 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25547 Likewise.
25548 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25549 Likewise.
25550 [__LINUX_KERNEL_VERSION >= 0x020625]
25551 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25552 [__LINUX_KERNEL_VERSION >= 0x020625]
25553 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25554 [__LINUX_KERNEL_VERSION >= 0x020625]
25555 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25556 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25557 Likewise.
25558 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25559 Likewise.
25560 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25561 Likewise.
25562 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25563 Likewise.
25564 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25565 Likewise.
25566 [__LINUX_KERNEL_VERSION >= 0x020625]
25567 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25568 [__LINUX_KERNEL_VERSION >= 0x020625]
25569 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25570 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25571 Likewise.
25572 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25573 Likewise.
25574
25575 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25576
25577 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25578 record the current if the current ABI and CPU support the FP64
25579 extension.
25580 (has-modd-spreg): Define to record the current if the current ABI and
25581 CPU support 32-bit floating point values in odd FPU registers.
25582 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25583 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25584 $(has-modd-spreg) equals yes.
25585 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25586 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25587 $(has-modd-spreg) equal yes.
25588
25589 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25590
25591 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25592 basename.
25593
25594 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25595
25596 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25597 (bench-string): ... here.
25598 (bench): Add bench-string.
25599 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25600 to *-benchset to reflect what they are.
25601 (benchset): Adjust.
25602
25603 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25604 cos-inputs.
25605
25606 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25607
25608 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25609 __attribute__ ((__simd__)) for vector math function declarations.
25610
25611 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25612
25613 Fix typo in strncat, wcsncat manual entries
25614 * manual/string.texi (Copying and Concatenation): Fix typos in
25615 sample implementations of strncat and wcsncat, by having them use
25616 the old value of the destination length, not the new one.
25617
25618 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25619
25620 [BZ #16961]
25621 [BZ #16962]
25622 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25623 string on the stack for strtod.
25624 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25625 a string on the stack for strtof.
25626 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25627 constructing a string on the stack for strtold.
25628 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25629 __strtold_nan to GLIBC_PRIVATE.
25630 * math/test-nan-overflow.c: New file.
25631 * math/test-nan-payload.c: Likewise.
25632 * math/Makefile (tests): Add test-nan-overflow and
25633 test-nan-payload.
25634
25635 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25636
25637 Consistency about byte vs character in string.texi
25638 * manual/string.texi (String and Array Utilities):
25639 Distinguish more carefully among bytes, multibyte characters,
25640 and wide characters. Use "byte" when talking about C 'char',
25641 to distinguish it more clearly from multibyte characters.
25642 Say "wide character" or "multibyte character" instead of
25643 "character", when a wide or multibyte character is intended.
25644 Similarly for "multibyte string" versus "string".
25645 Define these terms more carefully.
25646
25647 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25648
25649 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25650 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25651 Likewise.
25652 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25653 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25654 * sysdeps/sh/math_private.h: New file.
25655 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25656 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25657 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25658 long double function name.
25659 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25665 Remove __finitel, __isinfl, and __isnanl.
25666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25667 Likewise.
25668 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25670 Remove __finitel.
25671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25672 Likewise.
25673 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25674
25675 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25676
25677 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25678 installed libmvec_nonshared.a.
25679
25680 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25681
25682 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25683 (sysdep_routines): Likewise.
25684 (sysdep-rtld-routines): Likewise.
25685 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25686 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25687 * sysdeps/powerpc/Versions: Added new
25688 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25689 * sysdeps/powerpc/hwcapinfo.c: New file.
25690 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25691 and parse hwcap, hwcap2 and platform number information.
25692 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25693 to store HWCAP+HWCAP2 and platform number.
25694 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25695 for HWCAP+HWCAP2 and platform number in the TCB.
25696 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25697 the HWCAP, HWCAP2 and platform number in the TCB.
25698 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25699 (TLS_INIT_TP): Included calls to add the hwcap and
25700 at_platform values in the TCB in TP initialization.
25701 (TLS_DEFINE_INIT_TP): Likewise.
25702 (THREAD_GET_HWCAP): New macro.
25703 (THREAD_SET_HWCAP): Likewise.
25704 (THREAD_GET_AT_PLATFORM): Likewise.
25705 (THREAD_SET_AT_PLATFORM): Likewise.
25706 * sysdeps/powerpc/powerpc32/dl-machine.h:
25707 (dl_platform_init): New function that calls
25708 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25709 powerpc32.
25710 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25711 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25712 this functionality, static linking case.
25713 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25714 linking case.
25715 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25716 __parse_hwcap_and_convert_at_platform for the static linking case.
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25718 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25719 ABI list for GLIBC 2.23.
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25721 Likewise.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25723 Likewise.
25724
25725 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25726
25727 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25728 * configure: Regenerate.
25729 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25730 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25731
25732 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25733
25734 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25735 * iconvdata/ibm933.c: Likewise.
25736 * iconvdata/ibm935.c: Likewise.
25737 * iconvdata/ibm937.c: Likewise.
25738 * iconvdata/ibm939.c: Likewise.
25739
25740 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25741
25742 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25743 pthread_join.
25744 * nptl/tst-cancel21.c (tf): Likewise.
25745
25746 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25747
25748 [BZ #19313]
25749 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25750 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25751 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25752 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25753 Likewise.
25754 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25755 Likewise.
25756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25757 Likewise.
25758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25759 Likewise.
25760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25761 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25762 unsigned long int with __CPU_MASK_TYPE.
25763
25764 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25765
25766 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25767
25768 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25769
25770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25771 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25772 t512.x.
25773 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25774
25775 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25776
25777 [BZ #19214]
25778 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25779 argument to return extended model. Update family and model
25780 with extended family and model when family == 0x0f.
25781 (init_cpu_features): Updated.
25782
25783 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25784
25785 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25786 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25787
25788 * sysdeps/mach/hurd/mmap64.c: New file.
25789
25790 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25791
25792 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25793 rights for its main user thread in NEWTASK.
25794
25795 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25796
25797 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25798 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25799
25800 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25801
25802 [BZ #14259]
25803 * Makeconfig: Rename localedir to complocaledir.
25804 Rename inst_localedir to inst_complocaledir.
25805 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25806 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25807 * configure.ac: Use libc_cv_complocaledir.
25808 * configure: Regenerate.
25809 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25810 -DCOMPLOCALEDIR.
25811 * locale/findlocale.c: Use COMPLOCALEDIR.
25812 * locale/loadarchive.c: Likewise.
25813 * locale/programs/locale.c: Likewise.
25814 * locale/programs/localedef.c: Likewise.
25815 * locale/programs/locarchive.c: Likewise.
25816 * localedata/Makefile: Use inst_complocaledir.
25817 * sysdeps/gnu/configure: Regenerate.
25818 * sysdeps/hppa/configure: Regenerate.
25819 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25820 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25822 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25823 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25824 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25825 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25826
25827 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25828
25829 [BZ #19058]
25830 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25831 AS_NEEDED.
25832 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25833 workaround.
25834 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25835 libmvec-static-only-routines): Added new file.
25836 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25837
25838 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25839
25840 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25841 of interrupted RPC instead of restoring it.
25842
25843 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25844 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25845 libc_hidden_def.
25846 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25847 into initialized data instead of common. Define rtld_hidden_data_def.
25848 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25849 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25850 libc_hidden_def.
25851 (if_freenameindex): Add libc_hidden_weak.
25852 (if_nameindex): Add libc_hidden_weak.
25853 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25854 __open64.
25855 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25856 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25857 * sysdeps/mach/nanosleep.c: Include <time.h>
25858 (__nanosleep): Rename to __libc_nanosleep.
25859 (__nanosleep): Add weak_alias.
25860 (nanosleep): Update alias.
25861
25862 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25863
25864 * stdlib/strtod_nan.c: New file.
25865 * stdlib/strtod_nan_double.h: Likewise.
25866 * stdlib/strtod_nan_float.h: Likewise.
25867 * stdlib/strtod_nan_main.c: Likewise.
25868 * stdlib/strtod_nan_narrow.h: Likewise.
25869 * stdlib/strtod_nan_wide.h: Likewise.
25870 * stdlib/strtof_nan.c: Likewise.
25871 * stdlib/strtold_nan.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25873 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25874 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25875 * wcsmbs/wcstod_nan.c: Likewise.
25876 * wcsmbs/wcstof_nan.c: Likewise.
25877 * wcsmbs/wcstold_nan.c: Likewise.
25878 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25879 strtold_nan.
25880 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25881 wcstof_nan.
25882 * include/stdlib.h (__strtof_nan): Declare and use
25883 libc_hidden_proto.
25884 (__strtod_nan): Likewise.
25885 (__strtold_nan): Likewise.
25886 (__wcstof_nan): Likewise.
25887 (__wcstod_nan): Likewise.
25888 (__wcstold_nan): Likewise.
25889 * include/wchar.h (____wcstoull_l_internal): Declare.
25890 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25891 (____strtoull_l_internal): Remove declaration.
25892 (STRTOF_NAN): Define macro.
25893 (SET_MANTISSA): Remove macro.
25894 (STRTOULL): Likewise.
25895 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25896 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25897 (STRTOF_NAN): Define macro.
25898 (SET_MANTISSA): Remove macro.
25899 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25900 (SET_MANTISSA): Remove macro.
25901 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25902 macro.
25903 (SET_MANTISSA): Remove macro.
25904 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25905 macro.
25906 (SET_MANTISSA): Remove macro.
25907 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25908 (SET_MANTISSA): Remove macro.
25909 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25910 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25911 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25912
25913 [BZ #19266]
25914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25915 upper case and lower case letters inside NAN(), not using TOLOWER.
25916 * stdlib/tst-strtod-nan-locale-main.c: New file.
25917 * stdlib/tst-strtod-nan-locale.c: Likewise.
25918 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25919 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25920 Depend on $(gen-locales).
25921 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25922 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25923 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25924 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25925 Depend on $(gen-locales).
25926 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25927
25928 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25929
25930 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25931
25932 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25934 __finitel, __isinfl, and __isnanl.
25935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25936 Likewise.
25937 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25939 __finitel.
25940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25941 Likewise.
25942 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25943
25944 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25945
25946 * malloc/memusage.c (me): Remove redundant getenv call.
25947
25948 2015-10-24 Florian Weimer <fweimer@redhat.com>
25949
25950 [BZ #19143]
25951 [BZ #19164]
25952 * nptl/check-cpuset.h: Remove.
25953 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25954 Remove CPU set size check.
25955 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25956 Likewise.
25957 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25958 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25959 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25960 (__pthread_setaffinity_new): Remove CPU set size check.
25961 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25962 (__kernel_cpumask_size): Remove.
25963 (__sched_setaffinity_new): Remove CPU set size check.
25964 * manual/threads.texi (Default Thread Attributes): Remove stale
25965 reference to check_cpuset_attr, determine_cpumask_size in comment.
25966 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25967 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25968 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25969 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25970 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25971 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25972 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25973 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25974 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25975 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25976 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25977 skeleton test file.
25978 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25979 tst-affinity-pid.
25980
25981 2015-11-24 Florian Weimer <fweimer@redhat.com>
25982
25983 * scripts/update-abilist.sh: New file.
25984 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25985 * Makerules (update-all-abi-%, update-all-abi)
25986 (subdir_update-all-abi): New targets.
25987 * elf/Makefile (update-all-abi): New target.
25988
25989 2015-11-24 Florian Weimer <fweimer@redhat.com>
25990
25991 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25992 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25993 (__libc_lock_define_initialized): Use it.
25994 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25995 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25996 * malloc/malloc.c (main_arena): Likewise.
25997 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25998 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25999
26000 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26001
26002 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26003 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26004 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26005 (PTRACE_O_MASK): Update value.
26006 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26007 New value in enum __ptrace_setoptions.
26008 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26009 (PTRACE_O_MASK): Update value.
26010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26011 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26012 (PTRACE_O_MASK): Update value.
26013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26014 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26015 (PTRACE_O_MASK): Update value.
26016 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26017 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26018 (PTRACE_O_MASK): Update value.
26019 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26020 New value in enum __ptrace_setoptions.
26021 (PTRACE_O_MASK): Update value.
26022 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26023 New value in enum __ptrace_setoptions.
26024 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26025 (PTRACE_O_MASK): Update value.
26026
26027 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26028 New macro.
26029 (PACKET_AUXDATA): Likewise.
26030 (PACKET_ORIGDEV): Likewise.
26031 (PACKET_VERSION): Likewise.
26032 (PACKET_HDRLEN): Likewise.
26033 (PACKET_RESERVE): Likewise.
26034 (PACKET_TX_RING): Likewise.
26035 (PACKET_LOSS): Likewise.
26036 (PACKET_VNET_HDR): Likewise.
26037 (PACKET_TX_TIMESTAMP): Likewise.
26038 (PACKET_TIMESTAMP): Likewise.
26039 (PACKET_FANOUT): Likewise.
26040 (PACKET_TX_HAS_OFF): Likewise.
26041 (PACKET_QDISC_BYPASS): Likewise.
26042 (PACKET_ROLLOVER_STATS): Likewise.
26043 (PACKET_FANOUT_DATA): Likewise.
26044 (PACKET_MR_UNICAST): Likewise.
26045
26046 [BZ #19242]
26047 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26048 (TOUPPER): Likewise.
26049 * stdlib/tst-strtol-locale-main.c: New file.
26050 * stdlib/tst-strtol-locale.c: Likewise.
26051 * stdlib/Makefile (tests): Add tst-strtol-locale.
26052 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26053 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26054 Depend on $(gen-locales).
26055 * wcsmbs/tst-wcstol-locale.c: New file.
26056 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26057 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26058 tr_TR.ISO-8859-9.
26059 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26060 Depend on $(gen-locales).
26061
26062 2015-11-20 Roland McGrath <roland@hack.frob.com>
26063
26064 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26065 __glibc_likely instead of __builtin_expect. After falling back to
26066 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26067 system interface to register the code pages as occupied.
26068
26069 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26070
26071 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26072 [!ARM_MATH_PRIVATE_H].
26073 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26074 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26075 [!HPPA_MATH_PRIVATE_H].
26076 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26077 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26078 to [!I386_MATH_PRIVATE_H].
26079 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26080 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26081 Change guard to [!M68K_MATH_PRIVATE_H].
26082 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26083 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26084 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26085 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26086 macro.
26087 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26088 [!MIPS_MATH_PRIVATE_H].
26089 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26090 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26091 [!NIO2_MATH_PRIVATE_H].
26092 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26093 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26094 [!TILE_MATH_PRIVATE_H].
26095 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26096
26097 [BZ #15421]
26098 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26099 initialize with 0 and define as weak alias of __signgam.
26100 * include/math.h [!_ISOMAC] (__signgam): Declare.
26101 * math/Makefile (libm-calls): Add w_lgamma_compat.
26102 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26103 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26104 test-signgam-ullong-init.
26105 (tests-static): Add test-signgam-uchar-static,
26106 test-signgam-uchar-init-static, test-signgam-uint-static,
26107 test-signgam-uint-init-static, test-signgam-ullong-static and
26108 test-signgam-ullong-init-static.
26109 (CFLAGS-test-signgam-uchar.c): New variable.
26110 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26111 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26112 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26113 (CFLAGS-test-signgam-uint.c): Likewise.
26114 (CFLAGS-test-signgam-uint-init.c): Likewise.
26115 (CFLAGS-test-signgam-uint-static.c): Likewise.
26116 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26117 (CFLAGS-test-signgam-ullong.c): Likewise.
26118 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26119 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26120 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26121 * math/Versions (libm): Add GLIBC_2.23.
26122 * math/lgamma-compat.h: New file.
26123 * math/test-signgam-main.c: Likewise.
26124 * math/test-signgam-uchar-init-static.c: Likewise.
26125 * math/test-signgam-uchar-init.c: Likewise.
26126 * math/test-signgam-uchar-static.c: Likewise.
26127 * math/test-signgam-uchar.c: Likewise.
26128 * math/test-signgam-uint-init-static.c: Likewise.
26129 * math/test-signgam-uint-init.c: Likewise.
26130 * math/test-signgam-uint-static.c: Likewise.
26131 * math/test-signgam-uint.c: Likewise.
26132 * math/test-signgam-ullong-init-static.c: Likewise.
26133 * math/test-signgam-ullong-init.c: Likewise.
26134 * math/test-signgam-ullong-static.c: Likewise.
26135 * math/test-signgam-ullong.c: Likewise.
26136 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26137 wrapper of w_lgamma_main.c.
26138 * math/w_lgamma_compat.c: New file.
26139 * math/w_lgamma_compatf.c: Likewise.
26140 * math/w_lgamma_compatl.c: Likewise.
26141 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26142 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26143 defining compatibility symbols.
26144 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26145 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26146 wrapper of w_lgammaf_main.c.
26147 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26148 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26149 defining compatibility symbols.
26150 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26151 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26152 wrapper of w_lgammal_main.c.
26153 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26154 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26155 defining compatibility symbols.
26156 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26157 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26158 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26159 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26160 <lgamma-compat.h>.
26161 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26162 (__ieee754_gamma): Define as alias.
26163 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26164 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26165 <lgamma-compat.h>.
26166 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26167 (__ieee754_gammaf): Define as alias.
26168 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26169 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26170 <lgamma-compat.h>.
26171 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26172 (__ieee754_gammal): Define as alias.
26173 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26174 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26175 <math/w_lgamma_compat.c>.
26176 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26177 Define as alias of __lgamma_compat and use in defining lgammal.
26178 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26179 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26180 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26181 (USE_AS_COMPAT): New macro.
26182 (LGAMMA_OLD_VER): Undefine and redefine.
26183 (lgammal): Do not define here.
26184 (gammal): Only define here if [GAMMA_ALIAS].
26185 * conform/linknamespace.pl (@whitelist): Remove signgam.
26186 * sysdeps/nacl/libm.abilist: Update.
26187 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26188 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26189 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26190 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26191 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26192 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26193 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26194 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26195 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26196 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26197 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26198 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26200 Likewise.
26201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26202 Likewise.
26203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26204 Likewise.
26205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26206 Likewise.
26207 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26208 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26209 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26210 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26211 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26213 Likewise.
26214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26215 Likewise.
26216 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26217 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26218 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26219
26220 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26221
26222 [BZ #16364]
26223 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26224 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26225
26226 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26227
26228 * sysdeps/s390/fpu/bits/mathinline.h:
26229 Use __asm__ [__volatile__] instead of asm [volatile].
26230 * sysdeps/s390/abort-instr.h: Likewise.
26231 * sysdeps/s390/atomic-machine.h: Likewise.
26232 * sysdeps/s390/bits/string.h: Likewise.
26233 * sysdeps/s390/dl-tls.h: Likewise.
26234 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26235 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26236 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26237 * sysdeps/s390/fpu/fesetround.c: Likewise.
26238 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26239 * sysdeps/s390/fpu/s_fma.c: Likewise.
26240 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26241 * sysdeps/s390/memusage.h: Likewise.
26242 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26243 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26244 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26245 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26246 * sysdeps/s390/nptl/tls.h: Likewise.
26247 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26248 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26249 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26250 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26251 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26252 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26253 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26254 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26255 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26256 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26257 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26258 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26259 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26260 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26261 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26262 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26263 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26264 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26265 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26267 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26269 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26270
26271 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26272 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26273
26274 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26275 Add lwarx hint, and use macro for acquire instruction.
26276 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26277 Likewise.
26278 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26279 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26280 update to use new atomic macros.
26281
26282 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26283
26284 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26285 (__lll_trylock_elision): Fix setting of adapt_count.
26286 * sysdeps/unix/sysv/linux/powerpc/htm.h
26287 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26288 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26289 (_ABORT_SYSCALL): Renumber, and clarify definition.
26290 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26291
26292 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26293
26294 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26295 after system headers to prevent MIN/MAX redefinition. Define
26296 HAVE_ALLOCA to preserve builtin alloca usage.
26297
26298 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26299
26300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26301 static and don't set or restore rounding.
26302 (__cos)[IN_SINCOS]: Likewise.
26303 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26304 (__sincos): Set and restore rounding mode. Remove check for infinite
26305 or NaN input.
26306
26307 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26308
26309 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26310 as used.
26311
26312 2015-11-16 Florian Weimer <fweimer@redhat.com>
26313
26314 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26315
26316 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26317
26318 * config.make.in (have-glob-dat-reloc): New.
26319 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26320 target supports GLOB_DAT relocaton. AC_SUBST.
26321 * configure: Regenerated.
26322 * elf/Makefile (tests): Add tst-prelink.
26323 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26324 (tst-prelink-ENV): New.
26325 ($(objpfx)tst-prelink-conflict.out): Likewise.
26326 ($(objpfx)tst-prelink-cmp.out): Likewise.
26327 * sysdeps/x86/tst-prelink.c: Moved to ...
26328 * elf/tst-prelink.c: Here.
26329 * sysdeps/x86/tst-prelink.exp: Moved to ...
26330 * elf/tst-prelink.exp: Here.
26331 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26332 (tst-prelink-ENV): Removed.
26333 ($(objpfx)tst-prelink-conflict.out): Likewise.
26334 ($(objpfx)tst-prelink-cmp.out): Likewise.
26335 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26336
26337 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26338
26339 [BZ #14551]
26340 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26341 (__mpn_construct_long_double): If high part overflows to infinity,
26342 set errno and recompute overflowed result of the correct sign.
26343 * sysdeps/ieee754/ldbl-128ibm/Makefile
26344 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26345 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26346 $(libm).
26347 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26348
26349 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26350
26351 [BZ #15479]
26352 [BZ #19238]
26353 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26354 floating-point state after first operation on input. Restore full
26355 state rather than just rounding mode.
26356 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26357 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26358 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26359
26360 [BZ #19235]
26361 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26362 add 0.5 to integer arguments.
26363 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26364 Likewise.
26365 (.LC2): New object.
26366
26367 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26368
26369 * scripts/pylintrc (reports): Set to no.
26370
26371 2015-11-10 Roland McGrath <roland@hack.frob.com>
26372
26373 * elf/dl-load.c (open_verify): Take new argument FD.
26374 Skip __open call if passed FD is not -1.
26375 (_dl_map_object, open_path): Update callers.
26376 * elf/dl-sysdep-open.h: New file.
26377 * elf/dl-load.c: Include it.
26378 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26379 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26380 * sysdeps/nacl/dl-sysdep-open.h: New file.
26381 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26382 from libc to rtld.
26383
26384 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26385
26386 [BZ #19228]
26387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26388 and restore full floating-point state.
26389 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26390 Likewise.
26391 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26392 Likewise.
26393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26394 Likewise.
26395 * math/test-nearbyint-except-2.c: New file.
26396 * math/Makefile (tests): Add test-nearbyint-except-2.
26397
26398 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26399
26400 [BZ #19178]
26401 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26402 (tst-prelink-ENV): New.
26403 ($(objpfx)tst-prelink-conflict.out): Likewise.
26404 ($(objpfx)tst-prelink-cmp.out): Likewise.
26405 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26406 * sysdeps/x86/tst-prelink.c: New file.
26407 * sysdeps/x86/tst-prelink.exp: Likewise.
26408
26409 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26410
26411 * math/auto-libm-test-in: Add another test of pow.
26412 * math/auto-libm-test-out: Regenerated.
26413 * math/libm-test.inc (pow_test_data): Add another test.
26414
26415 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26416
26417 [BZ #19219]
26418 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26419 weak_alias to nearbyintl.
26420
26421 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26422
26423 * sysdeps/aarch64/bits/string.h: New file.
26424 (_STRING_ARCH_unaligned): Define.
26425
26426 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26427
26428 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26429 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26430 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26431 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26433
26434 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26435
26436 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26437 for original name of the DSO. Add it to the name list of the DSO
26438 if it is actually given.
26439 (_dl_map_object): Keep track of whether an audit module rewrote
26440 the file name. If yes, pass the original name to
26441 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26442 debugging is enabled, log the change of the file name.
26443 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26444 _dl_map_object_from_fd.
26445 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26446 * elf/tst-audit11.c: New file
26447 * elf/tst-auditmod11.c: New file.
26448 * elf/tst-audit11mod1.c: New file.
26449 * elf/tst-audit11mod2.c: New file.
26450 * elf/tst-audit11mod2.map: New file.
26451 * elf/tst-audit12.c: New file
26452 * elf/tst-auditmod12.c: New file.
26453 * elf/tst-audit12mod1.c: New file.
26454 * elf/tst-audit12mod2.c: New file.
26455 * elf/tst-audit12mod2.map: New file.
26456 * elf/tst-audit12mod3.c: New file.
26457
26458 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26459
26460 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26461 Don't create weak aliases,
26462 because versioned symbols are created later.
26463 * sysdeps/s390/s390-32/setjmp.S
26464 (setjmp, _setjmp): Remove weak and rename to an unique name
26465 in SHARED case due to existing versioned symbols.
26466 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26467 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26468 (getcontext): Create weak alias only in non SHARED case.
26469 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26470
26471 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26472
26473 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26474 (__ASSUME_*_SYSCALL) Define new macros.
26475 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26476 Remove socketcall syscalls.
26477 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26478 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26479 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26480 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26481 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26482 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26483
26484 2015-11-09 Florian Weimer <fweimer@redhat.com>
26485
26486 [BZ #12926]
26487 Terminate process on invalid netlink response.
26488 * sysdeps/unix/sysv/linux/netlinkaccess.h
26489 (__netlink_assert_response): Declare.
26490 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26491 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26492 (sysdep_routines): Add netlink_assert_response.
26493 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26494 __netlink_assert_response.
26495 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26496 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26497 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26498 __netlink_assert_response.
26499
26500 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26501
26502 [BZ #19178]
26503 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26504 (RTYPE_CLASS_PLT): Likewise.
26505 (RTYPE_CLASS_COPY): Likewise.
26506 (RTYPE_CLASS_TLS): Likewise.
26507 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26508 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26509 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26510 DL_DEBUG_PRELINK.
26511
26512 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26513
26514 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26515 calls with argument -0.5.
26516 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26517
26518 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26519 (libc_cv_z_nodlopen): Likewise.
26520 (libc_cv_z_initfirst): Likewise.
26521 * configure: Regenerated.
26522
26523 2015-11-06 Florian Weimer <fweimer@redhat.com>
26524
26525 Simplify abilist format to be line-based.
26526 * scripts/abilist.awk: Collect descriptors in the descs variable.
26527 (emit): Write descs variable and sort it
26528 externally, with sort.
26529 * sysdeps/**/*.abilist: Convert to new format.
26530
26531 2015-11-06 Mark Wielaard <mjw@redhat.com>
26532
26533 [BZ #11460]
26534 * io/Makefile (routines): Add fts64.
26535 (tests): Add tst-fts and tst-fts-lfs.
26536 (CFLAGS-fts64.c): New.
26537 * io/Versions (GLIBC_2.23): New.
26538 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26539 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26540 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26541 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26542 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26543 (FTSENT64): Likewise.
26544 (fts64_children): Likewise.
26545 (fts64_close): Likewise.
26546 (fts64_open): Likewise.
26547 (fts64_read): Likewise.
26548 (fts64_set): Likewise.
26549 * io/fts64.c: New file.
26550 * io/tst-fts.c: New test.
26551 * io/tst-fts-lfs.c: Likewise.
26552 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26553 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26554 fts64_set.
26555 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26556 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26557 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26558 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26559 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26560 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26561 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26562 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26563 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26564 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26565 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26566 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26567 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26569 Likewise.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26571 Likewise.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26575 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26576 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26577 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26581 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26582 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26583 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26584 * sysdeps/wordsize-64/fts.c: New file.
26585 * sysdeps/wordsize-64/fts64.c: Likewise.
26586 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26587 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26588 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26589 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26590
26591 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26592
26593 * math/libm-test.inc (NON_FINITE): New macro.
26594 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26595 * math/gen-libm-test.pl (show_exceptions): Add argument
26596 $non_finite.
26597 (parse_args): Update call to show_exceptions.
26598 * math/test-math-finite.h: New file.
26599 * math/test-math-no-finite.h: Likewise.
26600 * math/test-double-finite.c: Likewise.
26601 * math/test-float-finite.c: Likewise.
26602 * math/test-ldouble-finite.c: Likewise.
26603 * math/test-double.c: Include "test-math-no-finite.h".
26604 * math/test-float.c: Include "test-math-no-finite.h".
26605 * math/test-ldouble.c: Include "test-math-no-finite.h".
26606 * math/test-math-inline.h (TEST_FINITE): New macro.
26607 * math/test-math-vector.h (TEST_FINITE): Likewise.
26608 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26609 (libm-tests): Add test-float-finite and test-double-finite.
26610 ($(objpfx)test-float-finite.o): New dependency on
26611 $(objpfx)libm-test.stmp.
26612 ($(objpfx)test-double-finite.o): Likewise.
26613 ($(objpfx)test-ldouble-finite.o): Likewise.
26614 (libm-test-no-inline-cflags): New variable.
26615 (libm-test-finite-cflags): Likewise.
26616 (CFLAGS-test-float-finite.c): Likewise.
26617 (CFLAGS-test-double-finite.c): Likewise.
26618 (CFLAGS-test-ldouble-finite.c): Likewise.
26619 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26620 (CFLAGS-test-double.c): Likewise.
26621 (CFLAGS-test-ldouble.c): Likewise.
26622
26623 2015-11-05 Roland McGrath <roland@hack.frob.com>
26624
26625 * io/fcntl.c (__fcntl): Add ... to prototype.
26626 * misc/ioctl.c (__ioctl): Likewise.
26627 * misc/syscall.c (syscall): Likewise.
26628
26629 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26630
26631 * scripts/list-fixed-bugs.py: New file.
26632
26633 [BZ #19213]
26634 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26635 returned for argument 1.
26636 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26637 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26638 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26639 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26640 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26641 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26642
26643 [BZ #19211]
26644 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26645 __USE_XOPEN], not if [!__USE_ISOC99].
26646 (lgammaf): Likewise.
26647 (lgammal): Likewise.
26648 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26649 (gammaf): Likewise.
26650 (gammal): Likewise.
26651 * math/test-signgam-finite-c11.c: New file.
26652 * math/test-signgam-finite-c99.c: Likewise.
26653 * math/test-signgam-finite.c: Likewise.
26654 * math/Makefile (tests): Add test-signgam-finite,
26655 test-signgam-finite-c99 and test-signgam-finite-c11.
26656 (CFLAGS-test-signgam-finite.c): New variable.
26657 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26658 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26659
26660 [BZ #19212]
26661 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26662 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26663 500].
26664 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26665 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26666 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26667 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26668 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26669 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26670 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26671 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26672 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26673 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26674
26675 [BZ #19209]
26676 * math/bits/math-finite.h (ldexp): Remove declaration.
26677 (ldexpf): Likewise.
26678 (ldexpl): Likewise.
26679
26680 [BZ #19205]
26681 * math/bits/math-finite.h (acosf): Condition declaration on
26682 [__USE_ISOC99].
26683 (acosl): Likewise.
26684 (acoshf): Likewise.
26685 (acoshl): Likewise.
26686 (asinf): Likewise.
26687 (asinl): Likewise.
26688 (atan2f): Likewise.
26689 (atan2l): Likewise.
26690 (atanhf): Likewise.
26691 (atanhl): Likewise.
26692 (coshf): Likewise.
26693 (coshl): Likewise.
26694 (expf): Likewise.
26695 (expl): Likewise.
26696 (fmodf): Likewise.
26697 (fmodl): Likewise.
26698 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26699 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26700 (j0l): Likewise.
26701 (y0f): Likewise.
26702 (y0l): Likewise.
26703 (j1f): Likewise.
26704 (j1l): Likewise.
26705 (y1f): Likewise.
26706 (y1l): Likewise.
26707 (jnf): Likewise.
26708 (jnl): Likewise.
26709 (ynf): Likewise.
26710 (ynl): Likewise.
26711 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26712 (lgammal_r): Likewise.
26713 (__lgamma_r_finite): New declaration.
26714 (__lgammaf_r_finite): Likewise.
26715 (__lgammal_r_finite): Likewise.
26716 (lgamma): Use __lgamma_r_finite.
26717 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26718 __lgammaf_r_finite.
26719 (lgammal): Condition definition on [__USE_ISOC99]. Use
26720 __lgammal_r_finite.
26721 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26722 __lgamma_r_finite.
26723 (gammaf): Condition definition on [__USE_ISOC99]. Use
26724 __lgammaf_r_finite.
26725 (gammal): Condition definition on [__USE_ISOC99]. Use
26726 __lgammal_r_finite.
26727 (logf): Condition declaration on [__USE_ISOC99].
26728 (logl): Likewise.
26729 (log10f): Likewise.
26730 (log10l): Likewise.
26731 (ldexpf): Likewise.
26732 (ldexpl): Likewise.
26733 (powf): Likewise.
26734 (powl): Likewise.
26735 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26736 __USE_ISOC99].
26737 (remainderf): Condition declaration on [__USE_ISOC99].
26738 (remainderl): Likewise.
26739 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26740 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26741 (scalbl): Likewise.
26742 (sinhf): Condition declaration on [__USE_ISOC99].
26743 (sinhl): Likewise.
26744 (sqrtf): Likewise.
26745 (sqrtl): Likewise.
26746
26747 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26748
26749 * sysdeps/arm/atomic-machine.h
26750 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26751 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26752 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26753 Remove conditional code.
26754 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26755 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26756 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26757 Change conditional to [__ASSEMBLER__].
26758 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26759 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26760 [!__ASSEMBLER__].
26761 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26762 code.
26763 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26764 conditional macro definitions.
26765 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26766 (__arch_compare_and_exchange_val_16_acq): Likewise.
26767 (__arch_compare_and_exchange_val_32_acq): Likewise.
26768 (atomic_exchange_and_add): Likewise.
26769 (atomic_add): Likewise.
26770 (atomic_add_negative): Likewise.
26771 (atomic_add_zero): Likewise.
26772 (atomic_bit_set): Likewise.
26773 (atomic_bit_test_set): Likewise.
26774 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26775 code unconditional.
26776 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26777
26778 * math/test-math-errno.h: New file.
26779 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26780 empty.
26781 (TEST_ERRNO): New macro.
26782 (TEST_EXCEPTIONS): Likewise.
26783 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26784 (TEST_EXCEPTIONS): Likewise.
26785 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26786 * math/test-double.c: Include "test-math-errno.h".
26787 * math/test-float.c: Likewise.
26788 * math/test-ldouble.c: Likewise.
26789 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26790 code unconditional.
26791 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26792 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26793 unconditional.
26794 (test_errno): Only run code if TEST_ERRNO.
26795 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26796
26797 2015-11-04 Florian Weimer <fweimer@redhat.com>
26798
26799 * nptl/tst-once5.cc: Remove attribution.
26800
26801 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26802
26803 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26804 sqrt, tan, tanh, y0, y1 and yn.
26805 * math/auto-libm-test-out: Regenerated.
26806 * math/libm-test.inc (scalb_test_data): Add more tests.
26807 (scalbn_test_data): Likewise.
26808 (scalbln_test_data): Likewise.
26809 (signbit_test_data): Likewise.
26810 (sin_test_data): Likewise.
26811 (sincos_test_data): Likewise.
26812 (sinh_test_data): Likewise.
26813 (sqrt_test_data): Likewise.
26814 (tan_test_data): Likewise.
26815 (tanh_test_data): Likewise.
26816 (tgamma_test_data): Likewise.
26817 (y0_test_data): Likewise.
26818 (y1_test_data): Likewise.
26819 (yn_test_data): Likewise.
26820 (significand_test_data): Likewise.
26821 * sysdeps/i386/fpu/libm-test-ulps: Update.
26822
26823 2015-11-03 David Kastrup <dak@gnu.org>
26824
26825 [BZ #18604]
26826 * assert/assert.h (assert): Don't macro-expand failed assertion
26827 expression in error message.
26828 * malloc/malloc.c (assert): Likewise.
26829
26830 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26831
26832 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26833 test.
26834 * configure: Regenerated.
26835
26836 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26837
26838 * math/libm-test.inc (modf_test_data): Add more tests.
26839 (nearbyint_test_data): Likewise.
26840 (nextafter_test_data): Likewise.
26841 (nexttoward_test_data): Likewise.
26842 (pow_test_data): Likewise.
26843 (remainder_test_data): Likewise.
26844 (remquo_test_data): Likewise.
26845 (rint_test_data): Likewise.
26846
26847 [BZ #19201]
26848 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26849 Check for zero remainder in case of large exponents and ensure
26850 correct sign of result in that case.
26851 * math/libm-test.inc (remainder_test_data): Add more tests.
26852
26853 [BZ #6799]
26854 * math/s_nextafter.c: Include <errno.h>.
26855 (__nextafter): Set errno on overflow and underflow.
26856 * math/s_nexttowardf.c: Include <errno.h>.
26857 (__nexttowardf): Set errno on overflow and underflow.
26858 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26859 (__nextafterl): Set errno on overflow and underflow.
26860 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26861 (__nexttoward): Set errno on overflow and underflow.
26862 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26863 (__nexttowardf): Set errno on overflow and underflow.
26864 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26865 (__nextafterf): Set errno on overflow and underflow.
26866 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26867 (__nextafterl): Set errno on overflow and underflow.
26868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26869 (__nexttoward): Set errno on overflow and underflow.
26870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26871 (__nexttowardf): Set errno on overflow and underflow.
26872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26873 (__nextafterl): Set errno on overflow and underflow.
26874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26875 (__nexttoward): Set errno on overflow and underflow.
26876 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26877 (__nexttowardf): Set errno on overflow and underflow.
26878 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26879 (__nexttoward): Set errno on overflow and underflow.
26880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26881 (__nexttowardf): Set errno on overflow and underflow.
26882 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26883 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26884 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26885 (__nextafterl): Set errno on overflow and underflow.
26886 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26887 setting to be missing on overflow. Add more tests.
26888 (nexttoward_test_data): Likewise.
26889
26890 * configure.ac (libc_cv_initfini_array): Remove configure test.
26891 * configure: Regenerated.
26892
26893 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26894
26895 [BZ #19189]
26896 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26897 non-finite argument handle arguments with negative sign.
26898
26899 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26900 result from infinite argument.
26901 (j1_test_data): Likewise.
26902 (jn_test_data): Likewise.
26903 (y0_test_data): Likewise.
26904 (y1_test_data): Likewise.
26905 (yn_test_data): Likewise.
26906
26907 [BZ #16171]
26908 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26909 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26910 * math/w_remainderf.c (dremf): Define as weak alias of
26911 __remainderf.
26912 * math/w_remainderl.c (dreml): Define as weak alias of
26913 __remainderl.
26914 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26915 __remainder.
26916 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26917 __remainderf.
26918 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26919 __remainderl.
26920 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26921 weak alias of remainderl.
26922 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26923 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26924 alias of __remainder.
26925 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26926 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26927 strong alias of __remainderl.
26928 (dreml): Use long_double_symbol.
26929 * math/Makefile (libm-calls): Remove w_drem.
26930 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26931 (CFLAGS-nldbl-drem.c): Remove variable.
26932 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26933 * math/w_drem.c: Remove file.
26934 * math/w_dremf.c: Likewise.
26935 * math/w_dreml.c: Likewise.
26936 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26937 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26938 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26939
26940 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26941 * sysdeps/i386/configure: Regenerated.
26942 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26943 * sysdeps/x86_64/configure: Regenerated.
26944
26945 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26946 test.
26947 (libc_cv_visibility_attribute): Likewise.
26948 (libc_cv_protected_data): Test unconditionally.
26949 (libc_cv_broken_visibility_attribute): Remove configure test.
26950 (libc_cv_have_sdata_section): Test unconditionally.
26951 * configure: Regenerated.
26952
26953 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26954 * include/scratch_buffer.h: Include <stddef.h> instead of
26955 <libc-internal.h>.
26956 (struct scratch_buffer): Use max_align_t instead of
26957 libc_max_align_t.
26958
26959 2015-10-29 Florian Weimer <fweimer@redhat.com>
26960
26961 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26962 instead of extend_alloca. Change control flow to avoid a goto.
26963 Remove assert which is trivially always true.
26964
26965 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26966
26967 [BZ #16068]
26968 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26969 (FE_ALL_EXCEPT_X86): New macro.
26970 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26971 FE_ALL_EXCEPT. Ensure precision control is included in
26972 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26973 handle "denormal operand exception" and clear FZ and DAZ bits.
26974 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26975 (FE_ALL_EXCEPT_X86): New macro.
26976 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26977 FE_ALL_EXCEPT. Ensure precision control is included in
26978 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26979 handle "denormal operand exception" and clear FZ and DAZ bits.
26980 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26981 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26982 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26983 test-fenv-x87 and test-fenv-sse-2.
26984 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26985
26986 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26987 * math/test-double.h (BUILD_COMPLEX): New macro.
26988 * math/test-float.h (BUILD_COMPLEX): Likewise.
26989 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26990
26991 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26992 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26993 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26995 instead of DBL_DENORM_MIN in comment.
26996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26997 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26999 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27001 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27002
27003 2015-10-28 Florian Weimer <fweimer@redhat.com>
27004
27005 [BZ #19048]
27006 * malloc/malloc.c (struct malloc_state): Update comment. Add
27007 attached_threads member.
27008 (main_arena): Initialize attached_threads.
27009 * malloc/arena.c (list_lock): Update comment.
27010 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27011 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27012 (deattach_arena): New function.
27013 (_int_new_arena): Initialize arena reference count and deattach
27014 replaced arena.
27015 (get_free_list, reused_arena): Update reference count and deattach
27016 replaced arena.
27017 (arena_thread_freeres): Update arena reference count and only put
27018 unreferenced arenas on the free list.
27019
27020 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27021
27022 [BZ #19181]
27023 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27024 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27025 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27026 * math/test-fenv-clear-main.c: New file.
27027 * math/test-fenv-clear.c: Likewise.
27028 * math/Makefile (tests): Add test-fenv-clear.
27029 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27030 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27031 test-fenv-clear-sse.
27032 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27033
27034 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27035 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27036 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27037
27038 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27039
27040 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27041 static libc.
27042
27043 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27044
27045 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27046 test.
27047 * sysdeps/i386/configure: Regenerated.
27048 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27049 test.
27050 * sysdeps/x86_64/configure: Regenerated.
27051 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27053 memset-avx2 unconditionally instead of conditionally on
27054 [$(config-cflags-avx2) = yes].
27055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27056 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27057 unconditional.
27058 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27059 * sysdeps/x86_64/multiarch/memset_chk.S
27060 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27061 to [IS_IN (libc) && SHARED].
27062
27063 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27064
27065 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27066 configure test.
27067 * sysdeps/arm/configure: Regenerated.
27068 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27069 Define variable if not already defined.
27070
27071 [BZ #17404]
27072 * sysdeps/mips/atomic-machine.h
27073 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27074 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27075 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27076
27077 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27078 unconditional.
27079 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27080 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27081 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27082 unconditional.
27083 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27084 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27085 unconditional.
27086 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27087 * stdlib/setenv.c
27088 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27089 code unconditional.
27090 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27091 Remove conditional code.
27092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27093 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27094 unconditional.
27095 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27096 code.
27097 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27098 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27099 unconditional.
27100 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27101 code.
27102 * sysdeps/ieee754/ldbl-128/k_tanl.c
27103 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27104 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27105 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27106 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27107 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27108 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27109 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27110 unconditional.
27111 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27112 code.
27113 * sysdeps/ieee754/ldbl-96/k_tanl.c
27114 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27115 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27116
27117 * nptl/tst-initializers1-c11.c: New file.
27118 * nptl/tst-initializers1-gnu11.c: Likewise.
27119 * nptl/Makefile (tests): Add these new tests.
27120 (CFLAGS-tst-initializers1-c11.c): New variable.
27121 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27122
27123 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27124 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27125 instead of -std=gnu99.
27126 * configure.ac (systemtap): Test with -std=gnu11 instead of
27127 -std=gnu99.
27128 * configure: Regenerated.
27129 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27130 in compilation command in comment.
27131
27132 * sysdeps/nptl/configure.ac: Remove file.
27133 * sysdeps/nptl/configure: Remove generated file.
27134 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27135 * configure: Regenerated.
27136 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27137 * config.make.in (have-forced-unwind): Remove variable.
27138 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27139 unconditional.
27140 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27141 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27142 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27143 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27144 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27145 unconditional.
27146
27147 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27148
27149 [BZ #19174]
27150 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27151 .skip_lock_out_of_tbegin_retries.
27152 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27153 (__lll_lock_elision): Likewise, and respect a value of
27154 try_tbegin <= 0.
27155
27156 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27157
27158 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27159 statement.
27160
27161 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27162
27163 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27164 variable.
27165 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27166 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27167
27168 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27169 of -std=c1x -D_ISOC11_SOURCE.
27170
27171 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27172 * configure: Regenerated.
27173 * manual/install.texi (Tools for Compilation): Document
27174 requirement for GCC 4.7 or later.
27175 * INSTALL: Regenerated.
27176
27177 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27178
27179 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27180 on CNT to a conditional jump to 'puntdata'.
27181
27182 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27183
27184 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27185 (libc_cv_gcc_tls_model_attr): Likewise.
27186 * configure: Regenerated.
27187
27188 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27189 * configure: Regenerated.
27190 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27191
27192 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27193
27194 * configure.ac (old_glibc_headers): Remove configure test.
27195 * configure: Regenerated.
27196 * config.make.in (old-glibc-headers): Remove variable.
27197 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27198 (install): Remove dependency on remove-old-headers.
27199 (headers2_0): Remove variable.
27200 (remove-old-headers): Remove rule.
27201
27202 * configure.ac (libc_cv_dot_text): Remove configure test.
27203 (libc_cv_asm_set_directive): Use .text instead of
27204 ${libc_cv_dot_text} in configure test.
27205 * configure: Regenerated.
27206
27207 2015-10-26 Florian Weimer <fweimer@redhat.com>
27208
27209 [BZ #19168]
27210 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27211
27212 2015-10-26 Florian Weimer <fweimer@redhat.com>
27213
27214 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27215 not support static linking.
27216 * configure: Regenerate.
27217
27218 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27219
27220 * math/libm-test.inc (check_float_internal): Do not special-case
27221 errors up to 0.5 ulp.
27222
27223 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27224 log2.
27225 * math/auto-libm-test-out: Regenerated.
27226 * math/libm-test.inc (MAX_EXP): New macro.
27227 (ilogb_test_data): Add more tests.
27228 (isfinite_test_data): Likewise.
27229 (isgreater_test_data): Likewise.
27230 (isgreaterequal_test_data): Likewise.
27231 (isinf_test_data): Likewise.
27232 (isless_test_data): Likewise.
27233 (islessequal_test_data): Likewise.
27234 (islessgreater_test_data): Likewise.
27235 (isnan_test_data): Likewise.
27236 (isnormal_test_data): Likewise.
27237 (issignaling_test_data): Likewise.
27238 (isunordered_test_data): Likewise.
27239 (j0_test_data): Likewise.
27240 (j1_test_data): Likewise.
27241 (jn_test_data): Likewise.
27242 (lgamma_test_data): Likewise.
27243 (log_test_data): Likewise.
27244 (log10_test_data): Likewise.
27245 (log1p_test_data): Likewise.
27246 (log2_test_data): Likewise.
27247 (logb_test_data): Likewise.
27248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27249
27250 [BZ #18611]
27251 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27252 avoid excess range and precision on underflow.
27253 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27254 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27255 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27256 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27257 underflow.
27258 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27262 * math/auto-libm-test-in: Do not allow missing errno setting for
27263 tests of j1 and jn.
27264 * math/auto-libm-test-out: Regenerated.
27265
27266 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27267
27268 [BZ #15491]
27269 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27270 floating-point environment instead of clearing all exceptions.
27271 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27272 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27273 merging in "invalid" exceptions from frndint.
27274 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27275 * math/test-nearbyint-except.c: New file.
27276 * math/Makefile (tests): Add test-nearbyint-except.
27277
27278 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27279
27280 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27281
27282 * sysdeps/tile/libm-test-ulps: Regenerated.
27283
27284 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27285
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27287 (__NR_sync_file_range2): Assume it is always defined.
27288 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27289 (__NR_sync_file_range): Assume it is always defined.
27290
27291 2015-10-22 Andreas Schwab <schwab@suse.de>
27292
27293 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27294 INTERNAL_SYSCALL_ERRNO.
27295 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27296 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27297 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27298 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27299 Likewise.
27300 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27301
27302 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27303
27304 * io/tst-fcntl.c (fd): New static variable.
27305 (do_prepare): Open temporary file here....
27306 (do_test): ...not here.
27307
27308 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27309
27310 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27313 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27314 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27315 Moved before "#ifdef __ASSEMBLER__".
27316
27317 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27318
27319 [BZ #19156]
27320 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27321 arguments very close to 0.
27322
27323 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27324
27325 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27326 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27327
27328 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27331 New. Defined for GCC 5 and above when not compiling for
27332 profiling.
27333 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27334
27335 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27336 Renamed to ...
27337 (CFLAGS-epoll_pwait.o): This.
27338 (CFLAGS-mmap.c): Renamed to ...
27339 (CFLAGS-mmap.o): This.
27340 (CFLAGS-mmap64.c): Renamed to ...
27341 (CFLAGS-mmap64.o): This.
27342 (CFLAGS-epoll_pwait.os): New.
27343 (CFLAGS-mmap.os): Likewise.
27344 (CFLAGS-mmap64.os): Likewise.
27345 (CFLAGS-semtimedop.os): Likewise.
27346 (CFLAGS-semtimedop.c): Renamed to ...
27347 (CFLAGS-semtimedop.o): This.
27348
27349 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27350
27351 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27352 warning message.
27353
27354 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27355
27356 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27357 * Makefile ($(objpfx)c++-types-check.out): Filter out
27358 $(+gccwarn-c) instead of -Wstrict-prototypes.
27359
27360 * io/fts.c (fts_open): Convert to prototype-style function
27361 definition.
27362 * malloc/mcheck.c (mcheck): Likewise.
27363 (mcheck_pedantic): Likewise.
27364 * posix/regexec.c (re_search_2_stub): Likewise. Use
27365 internal_function.
27366 (re_search_internal): Likewise.
27367 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27368 prototype-style function definition.
27369 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27370 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27371 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27372 (xdr_utmpptr): Likewise.
27373 (xdr_utmparr): Likewise.
27374 (xdr_utmpidle): Likewise.
27375 (xdr_utmpidleptr): Likewise.
27376 (xdr_utmpidlearr): Likewise.
27377
27378 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27379 log, log10 and log2.
27380 * math/auto-libm-test-out: Regenerated.
27381 * math/libm-test.inc (fmod_test_data): Add more tests.
27382 (fpclassify_test_data): Likewise.
27383 (frexp_test_data): Likewise.
27384 (hypot_test_data): Likewise.
27385 (ilogb_test_data): Likewise.
27386
27387 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27388
27389 * debug/fortify_fail.c (__fortify_fail): Convert to
27390 prototype-style function definition. Use internal_function.
27391 * libio/genops.c (save_for_backup): Convert to prototype-style
27392 function definition.
27393 * libio/wgenops.c (save_for_wbackup): Likewise.
27394 * login/grantpt.c (grantpt): Likewise.
27395 * login/ptsname.c (ptsname): Likewise.
27396 (__ptsname_r): Likewise.
27397 * login/unlockpt.c (unlockpt): Likewise.
27398 * mach/msgserver.c (__mach_msg_server): Likewise.
27399 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27400 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27401 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27402 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27403 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27404 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27405 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27406 Likewise.
27407 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27408 internal_function.
27409 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27410 prototype-style function definition.
27411 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27412 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27413 (__pthread_create_2_0): Likewise.
27414 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27415 * nptl/register-atfork.c (__register_atfork): Likewise.
27416 * posix/glob.c (glob): Likewise.
27417 * posix/regcomp.c (re_comp): Likewise.
27418 * posix/regexec.c (re_exec): Likewise.
27419 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27420 [!__STDC__]: Remove conditional code.
27421 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27422 [!__STDC__]: Remove conditional code.
27423 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27424 [!__STDC__]: Remove conditional code.
27425 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27426 [!__STDC__]: Remove conditional code.
27427 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27428 [!__STDC__]: Remove conditional code.
27429 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27430 [!__STDC__]: Remove conditional code.
27431 * stdlib/mul.c [__STDC__]: Make code unconditional.
27432 [!__STDC__]: Remove conditional code.
27433 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27434 [!__STDC__]: Remove conditional code.
27435 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27436 [!__STDC__]: Remove conditional code.
27437 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27438 function definition.
27439 (STRTOF): Likewise.
27440 * stdlib/strtod_l.c (__STRTOF): Likewise.
27441 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27442 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27443 (__strtol_l): Likewise.
27444 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27445 [!__STDC__]: Remove conditional code.
27446 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27447 definition.
27448 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27449 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27450 type.
27451 (__strcasecmp): Convert to prototype-style function definition.
27452 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27453 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27454 type.
27455 (__strncasecmp): Convert to prototype-style function definition.
27456 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27457 * sunrpc/xdr.c (xdr_union): Likewise.
27458 * sunrpc/xdr_array.c (xdr_array): Likewise.
27459 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27460 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27461 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27462 Likewise.
27463 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27464 Likewise.
27465 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27466 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27467 Likewise.
27468 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27469 (LOCALE_PARAM_PROTO): Likewise.
27470 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27471 argument type.
27472 (ut_argument_spec): Remove macro.
27473 (ut_argument_spec_iso): Rename to ut_argument_spec.
27474 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27475 prototype-style function definition.
27476 (memcpy_uppcase): Likewise.
27477 (__strftime_internal): Likewise.
27478 (my_strftime): Likewise.
27479 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27480 (LOCALE_PARAM_DECL): Likewise.
27481 [_LIBC] (LOCALE_PARAM): Include argument type.
27482 (__strptime_internal): Convert to prototype-style function
27483 definition.
27484 (strptime): Likewise.
27485 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27486 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27487 type.
27488 (__wcscasecmp): Convert to prototype-style function definition.
27489 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27490 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27491 type.
27492 (__wcsncasecmp): Convert to prototype-style function definition.
27493
27494 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27495 function definition.
27496 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27497 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27498 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27499 * elf/dl-minimal.c (_itoa): Likewise.
27500 * hurd/hurdmalloc.c (malloc): Likewise.
27501 (free): Likewise.
27502 (realloc): Likewise.
27503 * inet/inet6_option.c (inet6_option_space): Likewise.
27504 (inet6_option_init): Likewise.
27505 (inet6_option_append): Likewise.
27506 (inet6_option_alloc): Likewise.
27507 (inet6_option_next): Likewise.
27508 (inet6_option_find): Likewise.
27509 * io/ftw.c (FTW_NAME): Likewise.
27510 (NFTW_NAME): Likewise.
27511 (NFTW_NEW_NAME): Likewise.
27512 (NFTW_OLD_NAME): Likewise.
27513 * libio/iofwide.c (_IO_fwide): Likewise.
27514 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27515 (_IO_str_init_static): Likewise.
27516 (_IO_str_init_readonly): Likewise.
27517 (_IO_str_overflow): Likewise.
27518 (_IO_str_underflow): Likewise.
27519 (_IO_str_count): Likewise.
27520 (_IO_str_seekoff): Likewise.
27521 (_IO_str_pbackfail): Likewise.
27522 (_IO_str_finish): Likewise.
27523 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27524 (_IO_wstr_overflow): Likewise.
27525 (_IO_wstr_underflow): Likewise.
27526 (_IO_wstr_count): Likewise.
27527 (_IO_wstr_seekoff): Likewise.
27528 (_IO_wstr_pbackfail): Likewise.
27529 (_IO_wstr_finish): Likewise.
27530 * locale/programs/localedef.c (normalize_codeset): Likewise.
27531 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27532 (add_locales_to_archive): Likewise.
27533 (delete_locales_from_archive): Likewise.
27534 * malloc/malloc.c (__libc_mallinfo): Likewise.
27535 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27536 * misc/tsearch.c (__tfind): Likewise.
27537 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27538 * nptl/pthread_attr_getdetachstate.c
27539 (__pthread_attr_getdetachstate): Likewise.
27540 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27541 Likewise.
27542 * nptl/pthread_attr_getinheritsched.c
27543 (__pthread_attr_getinheritsched): Likewise.
27544 * nptl/pthread_attr_getschedparam.c
27545 (__pthread_attr_getschedparam): Likewise.
27546 * nptl/pthread_attr_getschedpolicy.c
27547 (__pthread_attr_getschedpolicy): Likewise.
27548 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27549 Likewise.
27550 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27551 Likewise.
27552 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27553 Likewise.
27554 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27555 Likewise.
27556 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27557 (__pthread_attr_init_2_0): Likewise.
27558 * nptl/pthread_attr_setdetachstate.c
27559 (__pthread_attr_setdetachstate): Likewise.
27560 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27561 Likewise.
27562 * nptl/pthread_attr_setinheritsched.c
27563 (__pthread_attr_setinheritsched): Likewise.
27564 * nptl/pthread_attr_setschedparam.c
27565 (__pthread_attr_setschedparam): Likewise.
27566 * nptl/pthread_attr_setschedpolicy.c
27567 (__pthread_attr_setschedpolicy): Likewise.
27568 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27569 Likewise.
27570 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27571 Likewise.
27572 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27573 Likewise.
27574 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27575 Likewise.
27576 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27577 Likewise.
27578 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27579 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27580 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27581 use internal_function.
27582 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27583 prototype-style function definition.
27584 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27585 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27586 internal_function.
27587 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27588 Convert to prototype-style function definition.
27589 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27590 Likewise.
27591 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27592 Likewise.
27593 (__pthread_mutex_unlock): Likewise.
27594 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27595 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27596 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27597 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27598 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27599 * nss/makedb.c (process_input): Likewise.
27600 * posix/fnmatch.c (__strchrnul): Likewise.
27601 (__wcschrnul): Likewise.
27602 (fnmatch): Likewise.
27603 * posix/fnmatch_loop.c (FCT): Likewise.
27604 * posix/glob.c (globfree): Likewise.
27605 (__glob_pattern_type): Likewise.
27606 (__glob_pattern_p): Likewise.
27607 * posix/regcomp.c (re_compile_pattern): Likewise.
27608 (re_set_syntax): Likewise.
27609 (re_compile_fastmap): Likewise.
27610 (regcomp): Likewise.
27611 (regerror): Likewise.
27612 (regfree): Likewise.
27613 * posix/regexec.c (regexec): Likewise.
27614 (re_match): Likewise.
27615 (re_search): Likewise.
27616 (re_match_2): Likewise.
27617 (re_search_2): Likewise.
27618 (re_search_stub): Likewise. Use internal_function
27619 (re_copy_regs): Likewise.
27620 (re_set_registers): Convert to prototype-style function
27621 definition.
27622 (prune_impossible_nodes): Likewise. Use internal_function.
27623 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27624 prototype-style function definition.
27625 (inet_net_pton_ipv4): Likewise.
27626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27627 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27628 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27629 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27630 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27631 Make variadic.
27632 * time/strptime_l.c (localtime_r): Convert to prototype-style
27633 function definition.
27634 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27635 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27636 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27637 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27638
27639 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27640 definition.
27641 (_ufc_doit_r): Likewise.
27642 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27643 (_ufc_output_conversion_r): Likewise.
27644 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27645 * inet/rcmd.c (rcmd_af): Likewise.
27646 (rcmd): Likewise.
27647 (ruserok_af): Likewise.
27648 (ruserok): Likewise.
27649 (ruserok2_sa): Likewise.
27650 (ruserok_sa): Likewise.
27651 (iruserok_af): Likewise.
27652 (iruserok): Likewise.
27653 (__ivaliduser): Likewise.
27654 (__validuser2_sa): Likewise.
27655 * inet/rexec.c (rexec_af): Likewise.
27656 (rexec): Likewise.
27657 * inet/ruserpass.c (ruserpass): Likewise.
27658 * locale/programs/xmalloc.c (xcalloc): Likewise.
27659 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27660 * math/w_drem.c (__drem): Likewise.
27661 * math/w_dremf.c (__dremf): Likewise.
27662 * math/w_dreml.c (__dreml): Likewise.
27663 * misc/daemon.c (daemon): Likewise.
27664 * resolv/res_debug.c (p_fqnname): Likewise.
27665 * stdlib/div.c (div): Likewise.
27666 * string/memcmp.c (memcmp_bytes): Likewise.
27667 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27668 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27669
27670 * crypt/cert.c (main): Convert to prototype-style function
27671 definition.
27672 * io/pipe.c (__pipe): Likewise.
27673 * io/pipe2.c (__pipe2): Likewise.
27674 * misc/futimesat.c (futimesat): Likewise.
27675 * misc/utimes.c (__utimes): Likewise.
27676 * posix/execve.c (__execve): Likewise.
27677 * posix/execvp.c (execvp): Likewise.
27678 * posix/execvpe.c (__execvpe): Likewise.
27679 * posix/fexecve.c (fexecve): Likewise.
27680 * socket/socketpair.c (socketpair): Likewise.
27681 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27682 * stdlib/erand48.c (erand48): Likewise.
27683 * stdlib/erand48_r.c (__erand48_r): Likewise.
27684 * stdlib/jrand48.c (jrand48): Likewise.
27685 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27686 * stdlib/lcong48.c (lcong48): Likewise.
27687 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27688 * stdlib/nrand48.c (nrand48): Likewise.
27689 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27690 * stdlib/seed48.c (seed48): Likewise.
27691 * stdlib/seed48_r.c (__seed48_r): Likewise.
27692 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27693 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27694 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27695
27696 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27697
27698 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27699 * configure: Regenerated.
27700 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27701 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27702 unconditional.
27703 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27704 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27705 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27706 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27707 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27708 unconditional.
27709 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27710
27711 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27712 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27713
27714 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27715 function definition.
27716 * crypt/crypt_util.c (__encrypt_r): Likewise.
27717 * libio/genops.c (_IO_no_init): Likewise.
27718 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27719 (_IO_old_fopencookie): Likewise.
27720 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27721 * libio/iogetline.c (_IO_getline): Likewise.
27722 (_IO_getline_info): Likewise.
27723 * libio/iogetwline.c (_IO_getwline): Likewise.
27724 (_IO_getwline_info): Likewise.
27725 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27726 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27727 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27728 (find_entry): Likewise.
27729 (iterate_table): Likewise.
27730 (lookup): Likewise.
27731 * login/forkpty.c (forkpty): Likewise.
27732 * misc/hsearch_r.c (__hsearch_r): Likewise.
27733 * misc/select.c (__select): Likewise.
27734 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27735 Likewise.
27736 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27737 Likewise.
27738 * nptl/old_pthread_cond_timedwait.c
27739 (__pthread_cond_timedwait_2_0): Likewise.
27740 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27741 * nptl/pthread_barrierattr_getpshared.c
27742 (pthread_barrierattr_getpshared): Likewise.
27743 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27744 Likewise.
27745 * nptl/pthread_mutex_setprioceiling.c
27746 (pthread_mutex_setprioceiling): Likewise.
27747 * nptl/pthread_mutexattr_getprioceiling.c
27748 (pthread_mutexattr_getprioceiling): Likewise.
27749 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27750 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27751 Likewise.
27752 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27753 Likewise.
27754 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27755 Likewise.
27756 * socket/recvfrom.c (__recvfrom): Likewise.
27757 * socket/sendto.c (__sendto): Likewise.
27758 * socket/setsockopt.c (__setsockopt): Likewise.
27759 * stdio-common/_itoa.c (_itoa): Likewise.
27760 * stdio-common/_itowa.c (_itowa): Likewise.
27761 * stdio-common/reg-printf.c (__register_printf_specifier):
27762 Likewise.
27763 (__register_printf_function): Likewise.
27764 * stdio-common/tempname.c (__path_search): Likewise.
27765 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27766 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27767 * stdlib/random_r.c (__initstate_r): Likewise.
27768 * stdlib/setenv.c (__add_to_environ): Likewise.
27769 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27770 * streams/getpmsg.c (getpmsg): Likewise.
27771 * streams/putmsg.c (putmsg): Likewise.
27772 * streams/putpmsg.c (putpmsg): Likewise.
27773 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27774 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27775 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27776 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27777 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27778 * sunrpc/svc_udp.c (cache_get): Likewise.
27779 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27780 * sysdeps/mach/hurd/getcwd.c
27781 (__canonicalize_directory_name_internal): Likewise.
27782 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27783 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27784 * sysdeps/mach/hurd/select.c (__select): Likewise.
27785 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27786 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27787 * sysdeps/sparc/nptl/pthread_barrier_init.c
27788 (__pthread_barrier_init): Likewise.
27789 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27790 (__pthread_cond_timedwait): Likewise.
27791 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27792 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27793 Likewise.
27794 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27795 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27796 Likewise.
27797 * sysvipc/semtimedop.c (semtimedop): Likewise.
27798 * time/setitimer.c (__setitimer): Likewise.
27799 * time/strftime_l.c (emacs_strftime): Likewise.
27800
27801 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27802
27803 * config.make.in (have-ssp): Delete.
27804 (stack-protector): New variable.
27805 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27806 cache test for -fstack-protector-strong. Export stack_protector to
27807 the best ssp flag.
27808 * configure: Regenerated.
27809 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27810 * nscd/Makefile (CFLAGS-nscd): Likewise.
27811 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27812
27813 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 [BZ #19122]
27816 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27817 attribute_hidden.
27818
27819 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27820
27821 [BZ #18743]
27822 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27823 code to...
27824 (ELIDE_LOCK): ...here.
27825 (__get_new_count): New function with part of the code from
27826 __elide_lock that updates the value of adapt_count after a
27827 transaction abort.
27828 (__elided_trylock): Moved this code to...
27829 (ELIDE_TRYLOCK): ...here.
27830
27831 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27832
27833 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27834 * configure: Regenerate.
27835 * INSTALL: Regenerate.
27836 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27837 and tweak grammar.
27838
27839 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27840
27841 * login/programs/pt_chown.c: Include signal.h
27842 (main): Clear any signal mask from the parent process.
27843
27844 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27845
27846 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27847 * configure: Regenerated.
27848 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27849 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27850 $(gnu89-inline-CFLAGS).
27851
27852 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27853 test.
27854 (libc_cv_asm_weakext_directive): Likewise.
27855 * configure: Regenerated.
27856 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27857 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27858 * include/libc-symbols.h
27859 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27860 #error.
27861 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27862 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27863
27864 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27865 prototype-style function definition.
27866 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27867 * sysdeps/i386/ffs.c (__ffs): Likewise.
27868 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27869 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27870 Likewise.
27871 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27872 Likewise.
27873 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27875 Likewise.
27876 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27877 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27878 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27879 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27880 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27881 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27882 * sysdeps/mach/hurd/access.c (__access): Likewise.
27883 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27884 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27885 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27886 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27887 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27888 (cthread_getspecific): Likewise.
27889 (cthread_setspecific): Likewise.
27890 (__libc_getspecific): Likewise.
27891 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27892 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27893 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27894 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27895 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27896 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27897 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27898 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27899 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27900 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27901 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27902 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27903 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27904 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27905 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27906 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27907 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27908 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27909 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27910 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27911 * sysdeps/mach/hurd/link.c (__link): Likewise.
27912 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27913 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27914 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27915 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27916 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27917 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27918 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27919 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27920 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27921 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27922 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27923 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27924 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27925 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27926 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27927 * sysdeps/mach/hurd/send.c (__send): Likewise.
27928 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27929 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27930 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27931 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27932 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27933 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27934 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27935 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27936 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27937 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27938 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27939 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27940 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27941 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27942 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27943 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27944 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27945 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27946 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27947 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27948 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27949 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27950 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27951 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27952 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27953 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27954 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27955 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27956 * sysdeps/posix/alarm.c (alarm): Likewise.
27957 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27958 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27959 * sysdeps/posix/dup.c (__dup): Likewise.
27960 * sysdeps/posix/dup2.c (__dup2): Likewise.
27961 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27962 (main): Likewise.
27963 * sysdeps/posix/flock.c (__flock): Likewise.
27964 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27965 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27966 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27967 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27968 * sysdeps/posix/isatty.c (__isatty): Likewise.
27969 * sysdeps/posix/killpg.c (killpg): Likewise.
27970 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27971 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27972 * sysdeps/posix/raise.c (raise): Likewise.
27973 * sysdeps/posix/remove.c (remove): Likewise.
27974 * sysdeps/posix/rename.c (rename): Likewise.
27975 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27976 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27977 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27978 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27979 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27980 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27981 * sysdeps/posix/sigset.c (sigset): Likewise.
27982 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27983 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27984 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27985 * sysdeps/posix/time.c (time): Likewise.
27986 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27987 (ttyname): Likewise.
27988 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27989 * sysdeps/posix/utime.c (utime): Likewise.
27990 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27991 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27992 Likewise.
27993 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27994 (pthread_spin_trylock): Likewise.
27995 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27996 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27997 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27998 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27999 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28000 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28001 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28002 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28003 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28004 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28005 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28006 * sysdeps/s390/ffs.c (__ffs): Likewise.
28007 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28008 Likewise.
28009 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28010 Likewise.
28011 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28012 Likewise.
28013 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28014 (pthread_barrier_destroy): Likewise.
28015 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28016 (__pthread_barrier_wait): Likewise.
28017 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28018 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28019 (__pthread_barrier_wait): Likewise.
28020 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28021 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28022 (memcmp_not_common_alignment): Likewise.
28023 (MEMCMP): Likewise.
28024 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28025 (_wordcopy_fwd_dest_aligned): Likewise.
28026 (_wordcopy_bwd_aligned): Likewise.
28027 (_wordcopy_bwd_dest_aligned): Likewise.
28028 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28029 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28030 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28031 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28032 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28033 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28034 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28035 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28036 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28037 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28038 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28039 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28040 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28041 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28042 * sysdeps/unix/stime.c (stime): Likewise.
28043 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28044 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28045 Likewise. Use internal_function.
28046 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28047 Convert to prototype-style function definition.
28048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28049 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28051 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28052 Likewise. Use internal_function.
28053 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28054 prototype-style function definition
28055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28056 Likewise.
28057 (__getlogin_r): Likewise.
28058 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28059 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28060 (__pthread_cond_broadcast): Likewise.
28061 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28062 (__pthread_cond_destroy): Likewise.
28063 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28064 (__pthread_cond_init): Likewise.
28065 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28066 (__pthread_cond_signal): Likewise.
28067 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28068 (__pthread_cond_wait): Likewise.
28069 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28070 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28071 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28072 Likewise.
28073 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28074 Likewise.
28075 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28076 Likewise.
28077 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28078 Likewise.
28079 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28081 (__ftruncate64): Likewise.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28083 (truncate64): Likewise.
28084 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28085 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28086 (pthread_getcpuclockid): Likewise.
28087 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28088 Likewise.
28089 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28090 Likewise.
28091 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28092 Likewise.
28093 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28094 Likewise.
28095 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28096 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28097 (__libc_sigaction): Likewise.
28098 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28099 Likewise.
28100 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28101 (__sigprocmask): Likewise.
28102 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28103 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28104 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28105 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28106 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28107 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28108 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28109 Likewise.
28110 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28111 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28112 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28113 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28115 Likewise.
28116 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28117 (__sigprocmask): Likewise.
28118 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28119 (cfgetispeed): Likewise.
28120 (cfsetospeed): Likewise.
28121 (cfsetispeed): Likewise.
28122 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28123 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28124 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28125 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28126 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28127 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28128 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28129 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28130 Likewise.
28131 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28132 Likewise.
28133 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28134 Likewise.
28135 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28136 Likewise.
28137 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28138
28139 2015-10-17 Florian Weimer <fweimer@redhat.com>
28140
28141 sunrpc: Rewrite with explicit TLS access using __thread.
28142 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28143 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28144 directly.
28145 (__rpc_thread_variables): Access thread_rpc_vars directly.
28146 Eliminate redundant assignment of the tvp variable.
28147
28148 2015-10-17 Florian Weimer <fweimer@redhat.com>
28149
28150 malloc: Rewrite with explicit TLS access using __thread.
28151 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28152 (tsd_setspecific, tsd_getspecific): Remove.
28153 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28154 (tsd_setspecific, tsd_getspecific): Likewise.
28155 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28156 (tsd_setspecific, tsd_getspecific): Likewise.
28157 * malloc/arena.c (thread_arena): New TLS variable.
28158 (arena_key): Remove variable.
28159 (arena_get): Use thread_arena.
28160 (arena_lookup): Remove macro.
28161 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28162 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28163 (_int_new_arena, get_free_list, reused_arena)
28164 (arena_thread_freeres): Use thread_arena.
28165 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28166 tsd_getspecific, tsd_setspecific from safety annotations.
28167 (Allocating Cleared Space): Remove arena_lookup from safety
28168 annotations.
28169
28170 2015-10-17 Florian Weimer <fweimer@redhat.com>
28171
28172 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28173 struct scratch_buffer instead of extend_alloca.
28174
28175 2015-10-17 Florian Weimer <fweimer@redhat.com>
28176
28177 * sysdeps/unix/sysv/linux/kernel-features.h
28178 (__ASSUME_SOCK_CLOEXEC): Remove.
28179 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28180 (__have_paccept): Remove unused macro.
28181 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28182 * misc/syslog.c (openlog_internal): Remove fallback code for
28183 !__ASSUME_SOCK_CLOEXEC.
28184 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28185 missing SOCK_CLOEXEC.
28186 * nscd/connections.c (have_sock_cloexec): Remove definition.
28187 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28188 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28189 !__ASSUME_SOCK_CLOEXEC.
28190 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28191 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28192 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28193 definition.
28194 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28195 code for !__ASSUME_SOCK_CLOEXEC.
28196
28197 2015-10-17 Florian Weimer <fweimer@redhat.com>
28198
28199 [BZ #18982]
28200 * manual/stdio.texi (Variable Arguments Output): Add portability
28201 note, explaining that vfprintf clobbers the va_list pointer.
28202
28203 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28204
28205 * math/libm-test.inc (fabs_test_data): Add more tests.
28206 (fdim_test_data): Likewise.
28207 (fma_test_data): Likewise.
28208 (fmax_test_data): Likewise.
28209 (fmin_test_data): Likewise.
28210 (fmod_test_data): Likewise.
28211
28212 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28213
28214 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28215 data.
28216
28217 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28218
28219 * math/libm-test.inc (ceil_test_data): Add more tests and more
28220 expectations for "inexact".
28221 (floor_test_data): Add more tests.
28222 (round_test_data): Likewise.
28223 (trunc_test_data): Likewise.
28224
28225 * crypt/cert.c (good_bye): Convert to prototype-style function
28226 definition.
28227 (get8): Likewise.
28228 (put8): Likewise.
28229 * crypt/crypt-entry.c (crypt): Likewise.
28230 (__fcrypt): Likewise.
28231 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28232 (_ufc_set_bits): Likewise.
28233 (_ufc_clearmem): Likewise.
28234 (__init_des_r): Likewise.
28235 (shuffle_sb): Likewise.
28236 (shuffle_sb): Likewise.
28237 (_ufc_setup_salt_r): Likewise.
28238 (_ufc_mk_keytab_r): Likewise.
28239 (_ufc_dofinalperm_r): Likewise.
28240 (encrypt): Likewise.
28241 (__setkey_r): Likewise.
28242 (setkey): Likewise.
28243 * crypt/md5.c (md5_init_ctx): Likewise.
28244 (md5_read_ctx): Likewise.
28245 (md5_finish_ctx): Likewise.
28246 (md5_stream): Likewise.
28247 (md5_buffer): Likewise.
28248 (md5_process_bytes): Likewise.
28249 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28250 (__sha256_finish_ctx): Likewise.
28251 (__sha256_process_bytes): Likewise.
28252 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28253 (__sha512_finish_ctx): Likewise.
28254 (__sha512_process_bytes): Likewise.
28255 * ctype/isctype.c (__isctype): Likewise.
28256 * debug/backtrace.c (__backtrace): Likewise.
28257 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28258 * debug/fgets_chk.c (__fgets_chk): Likewise.
28259 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28260 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28261 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28262 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28263 * debug/memset_chk.c (__memset_chk): Likewise.
28264 * debug/strcat_chk.c (__strcat_chk): Likewise.
28265 * debug/strncat_chk.c (__strncat_chk): Likewise.
28266 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28267 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28268 * dirent/dirfd.c (dirfd): Likewise.
28269 * dirent/getdents.c (__getdirentries): Likewise.
28270 * dirent/getdents64.c (getdirentries64): Likewise.
28271 * dirent/rewinddir.c (__rewinddir): Likewise.
28272 * dirent/seekdir.c (seekdir): Likewise.
28273 * dirent/telldir.c (telldir): Likewise.
28274 * elf/sln.c (makesymlinks): Likewise.
28275 (makesymlink): Likewise.
28276 * gmon/gmon.c (__moncontrol): Likewise.
28277 (__monstartup): Likewise.
28278 (write_hist): Likewise.
28279 (write_call_graph): Likewise.
28280 (write_bb_counts): Likewise.
28281 * grp/setgroups.c (setgroups): Likewise.
28282 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28283 * inet/inet_net.c (inet_network): Likewise.
28284 * inet/inet_netof.c (inet_netof): Likewise.
28285 * inet/rcmd.c (rresvport_af): Likewise.
28286 (rresvport): Likewise.
28287 * io/access.c (__access): Likewise.
28288 * io/chdir.c (__chdir): Likewise.
28289 * io/chmod.c (__chmod): Likewise.
28290 * io/chown.c (__chown): Likewise.
28291 * io/close.c (__close): Likewise.
28292 * io/creat.c (creat): Likewise.
28293 * io/creat64.c (creat64): Likewise.
28294 * io/dup.c (__dup): Likewise.
28295 * io/dup2.c (__dup2): Likewise.
28296 * io/dup3.c (__dup3): Likewise.
28297 * io/euidaccess.c (__euidaccess): Likewise.
28298 * io/faccessat.c (faccessat): Likewise.
28299 * io/fchmod.c (__fchmod): Likewise.
28300 * io/fchmodat.c (fchmodat): Likewise.
28301 * io/fchown.c (__fchown): Likewise.
28302 * io/fchownat.c (fchownat): Likewise.
28303 * io/fcntl.c (__fcntl): Likewise.
28304 * io/flock.c (__flock): Likewise.
28305 * io/fts.c (fts_load): Likewise.
28306 (fts_close): Likewise.
28307 (fts_read): Likewise.
28308 (fts_set): Likewise.
28309 (fts_children): Likewise.
28310 (fts_build): Likewise.
28311 (fts_stat): Likewise.
28312 (fts_sort): Likewise.
28313 (fts_alloc): Likewise.
28314 (fts_lfree): Likewise.
28315 (fts_palloc): Likewise.
28316 (fts_padjust): Likewise.
28317 (fts_maxarglen): Likewise.
28318 (fts_safe_changedir): Likewise.
28319 * io/getwd.c (getwd): Likewise.
28320 * io/isatty.c (__isatty): Likewise.
28321 * io/lchown.c (__lchown): Likewise.
28322 * io/link.c (__link): Likewise.
28323 * io/linkat.c (linkat): Likewise.
28324 * io/lseek.c (__libc_lseek): Likewise.
28325 * io/mkdir.c (__mkdir): Likewise.
28326 * io/mkdirat.c (mkdirat): Likewise.
28327 * io/mkfifo.c (mkfifo): Likewise.
28328 * io/mkfifoat.c (mkfifoat): Likewise.
28329 * io/open.c (__libc_open): Likewise.
28330 * io/open64.c (__libc_open64): Likewise.
28331 * io/readlink.c (__readlink): Likewise.
28332 * io/readlinkat.c (readlinkat): Likewise.
28333 * io/rmdir.c (__rmdir): Likewise.
28334 * io/symlink.c (__symlink): Likewise.
28335 * io/symlinkat.c (symlinkat): Likewise.
28336 * io/ttyname.c (ttyname): Likewise.
28337 * io/ttyname_r.c (__ttyname_r): Likewise.
28338 * io/umask.c (__umask): Likewise.
28339 * io/unlink.c (__unlink): Likewise.
28340 * io/unlinkat.c (unlinkat): Likewise.
28341 * io/utime.c (utime): Likewise.
28342 * libio/clearerr.c (clearerr): Likewise.
28343 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28344 * libio/feof.c (_IO_feof): Likewise.
28345 * libio/feof_u.c (feof_unlocked): Likewise.
28346 * libio/ferror.c (_IO_ferror): Likewise.
28347 * libio/ferror_u.c (ferror_unlocked): Likewise.
28348 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28349 * libio/fileno.c (__fileno): Likewise.
28350 * libio/fputc.c (fputc): Likewise.
28351 * libio/fputc_u.c (fputc_unlocked): Likewise.
28352 * libio/fputwc.c (fputwc): Likewise.
28353 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28354 * libio/freopen.c (freopen): Likewise.
28355 * libio/freopen64.c (freopen64): Likewise.
28356 * libio/fseek.c (fseek): Likewise.
28357 * libio/fseeko.c (fseeko): Likewise.
28358 * libio/fseeko64.c (fseeko64): Likewise.
28359 * libio/ftello.c (__ftello): Likewise.
28360 * libio/ftello64.c (ftello64): Likewise.
28361 * libio/fwide.c (fwide): Likewise.
28362 * libio/genops.c (_IO_un_link): Likewise.
28363 (_IO_link_in): Likewise.
28364 (_IO_least_marker): Likewise.
28365 (_IO_switch_to_main_get_area): Likewise.
28366 (_IO_switch_to_backup_area): Likewise.
28367 (_IO_switch_to_get_mode): Likewise.
28368 (_IO_free_backup_area): Likewise.
28369 (_IO_switch_to_put_mode): Likewise.
28370 (__overflow): Likewise.
28371 (__underflow): Likewise.
28372 (__uflow): Likewise.
28373 (_IO_setb): Likewise.
28374 (_IO_doallocbuf): Likewise.
28375 (_IO_default_underflow): Likewise.
28376 (_IO_default_uflow): Likewise.
28377 (_IO_default_xsputn): Likewise.
28378 (_IO_sgetn): Likewise.
28379 (_IO_default_xsgetn): Likewise.
28380 (_IO_sync): Likewise.
28381 (_IO_default_setbuf): Likewise.
28382 (_IO_default_seekpos): Likewise.
28383 (_IO_default_doallocate): Likewise.
28384 (_IO_init): Likewise.
28385 (_IO_old_init): Likewise.
28386 (_IO_default_sync): Likewise.
28387 (_IO_default_finish): Likewise.
28388 (_IO_default_seekoff): Likewise.
28389 (_IO_sputbackc): Likewise.
28390 (_IO_sungetc): Likewise.
28391 (_IO_set_column): Likewise.
28392 (_IO_set_column): Likewise.
28393 (_IO_adjust_column): Likewise.
28394 (_IO_get_column): Likewise.
28395 (_IO_init_marker): Likewise.
28396 (_IO_remove_marker): Likewise.
28397 (_IO_marker_difference): Likewise.
28398 (_IO_marker_delta): Likewise.
28399 (_IO_seekmark): Likewise.
28400 (_IO_unsave_markers): Likewise.
28401 (_IO_nobackup_pbackfail): Likewise.
28402 (_IO_default_pbackfail): Likewise.
28403 (_IO_default_seek): Likewise.
28404 (_IO_default_stat): Likewise.
28405 (_IO_default_read): Likewise.
28406 (_IO_default_write): Likewise.
28407 (_IO_default_showmanyc): Likewise.
28408 (_IO_default_imbue): Likewise.
28409 (_IO_iter_next): Likewise.
28410 (_IO_iter_file): Likewise.
28411 * libio/getc.c (_IO_getc): Likewise.
28412 * libio/getwc.c (_IO_getwc): Likewise.
28413 * libio/iofclose.c (_IO_new_fclose): Likewise.
28414 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28415 * libio/iofflush.c (_IO_fflush): Likewise.
28416 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28417 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28418 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28419 * libio/iofgets.c (_IO_fgets): Likewise.
28420 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28421 * libio/iofgetws.c (fgetws): Likewise.
28422 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28423 * libio/iofopen64.c (_IO_fopen64): Likewise.
28424 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28425 (_IO_cookie_write): Likewise.
28426 (_IO_cookie_seek): Likewise.
28427 (_IO_cookie_close): Likewise.
28428 (_IO_cookie_seekoff): Likewise.
28429 (_IO_old_cookie_seek): Likewise.
28430 * libio/iofputs.c (_IO_fputs): Likewise.
28431 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28432 * libio/iofputws.c (fputws): Likewise.
28433 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28434 * libio/iofread.c (_IO_fread): Likewise.
28435 * libio/iofread_u.c (__fread_unlocked): Likewise.
28436 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28437 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28438 * libio/ioftell.c (_IO_ftell): Likewise.
28439 * libio/iofwrite.c (_IO_fwrite): Likewise.
28440 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28441 * libio/iogets.c (_IO_gets): Likewise.
28442 * libio/iopadn.c (_IO_padn): Likewise.
28443 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28444 (_IO_new_popen): Likewise.
28445 (_IO_new_proc_close): Likewise.
28446 * libio/ioputs.c (_IO_puts): Likewise.
28447 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28448 (_IO_seekoff): Likewise.
28449 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28450 (_IO_seekpos): Likewise.
28451 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28452 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28453 * libio/ioungetc.c (_IO_ungetc): Likewise.
28454 * libio/ioungetwc.c (ungetwc): Likewise.
28455 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28456 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28457 * libio/iowpadn.c (_IO_wpadn): Likewise.
28458 * libio/libc_fatal.c (__libc_fatal): Likewise.
28459 * libio/memstream.c (__open_memstream): Likewise.
28460 (_IO_mem_sync): Likewise.
28461 (_IO_mem_finish): Likewise.
28462 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28463 (_IO_old_file_close_it): Likewise.
28464 (_IO_old_file_finish): Likewise.
28465 (_IO_old_file_fopen): Likewise.
28466 (_IO_old_file_attach): Likewise.
28467 (_IO_old_file_setbuf): Likewise.
28468 (_IO_old_do_write): Likewise.
28469 (old_do_write): Likewise.
28470 (_IO_old_file_underflow): Likewise.
28471 (_IO_old_file_overflow): Likewise.
28472 (_IO_old_file_sync): Likewise.
28473 (_IO_old_file_seekoff): Likewise.
28474 (_IO_old_file_write): Likewise.
28475 (_IO_old_file_xsputn): Likewise.
28476 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28477 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28478 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28479 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28480 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28481 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28482 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28483 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28484 (_IO_old_popen): Likewise.
28485 (_IO_old_proc_close): Likewise.
28486 * libio/oldpclose.c (__old_pclose): Likewise.
28487 * libio/pclose.c (__new_pclose): Likewise.
28488 * libio/peekc.c (_IO_peekc_locked): Likewise.
28489 * libio/putc.c (_IO_putc): Likewise.
28490 * libio/putc_u.c (putc_unlocked): Likewise.
28491 * libio/putchar.c (putchar): Likewise.
28492 * libio/putchar_u.c (putchar_unlocked): Likewise.
28493 * libio/putwc.c (putwc): Likewise.
28494 * libio/putwc_u.c (putwc_unlocked): Likewise.
28495 * libio/putwchar.c (putwchar): Likewise.
28496 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28497 * libio/rewind.c (rewind): Likewise.
28498 * libio/setbuf.c (setbuf): Likewise.
28499 * libio/setlinebuf.c (setlinebuf): Likewise.
28500 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28501 * libio/vscanf.c (_IO_vscanf): Likewise.
28502 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28503 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28504 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28505 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28506 (_IO_switch_to_main_wget_area): Likewise.
28507 (_IO_switch_to_wbackup_area): Likewise.
28508 (_IO_wsetb): Likewise.
28509 (_IO_wdefault_pbackfail): Likewise.
28510 (_IO_wdefault_finish): Likewise.
28511 (_IO_wdefault_uflow): Likewise.
28512 (__woverflow): Likewise.
28513 (__wuflow): Likewise.
28514 (__wunderflow): Likewise.
28515 (_IO_wdefault_xsputn): Likewise.
28516 (_IO_wdefault_xsgetn): Likewise.
28517 (_IO_wdoallocbuf): Likewise.
28518 (_IO_wdefault_doallocate): Likewise.
28519 (_IO_switch_to_wget_mode): Likewise.
28520 (_IO_free_wbackup_area): Likewise.
28521 (_IO_switch_to_wput_mode): Likewise.
28522 (_IO_sputbackwc): Likewise.
28523 (_IO_sungetwc): Likewise.
28524 (_IO_adjust_wcolumn): Likewise.
28525 (_IO_init_wmarker): Likewise.
28526 (_IO_wmarker_delta): Likewise.
28527 (_IO_seekwmark): Likewise.
28528 (_IO_unsave_wmarkers): Likewise.
28529 * libio/wmemstream.c (open_wmemstream): Likewise.
28530 (_IO_wmem_sync): Likewise.
28531 (_IO_wmem_finish): Likewise.
28532 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28533 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28534 * locale/programs/simple-hash.c (init_hash): Likewise.
28535 (delete_hash): Likewise.
28536 (insert_entry): Likewise.
28537 (set_entry): Likewise.
28538 (next_prime): Likewise.
28539 (is_prime): Likewise.
28540 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28541 (xmalloc): Likewise.
28542 (xrealloc): Likewise.
28543 * locale/programs/xstrdup.c (xstrdup): Likewise.
28544 * localedata/collate-test.c (xstrcoll): Likewise.
28545 * localedata/xfrm-test.c (xstrcmp): Likewise.
28546 * login/getlogin_r.c (__getlogin_r): Likewise.
28547 * login/getpt.c (__posix_openpt): Likewise.
28548 * login/login_tty.c (login_tty): Likewise.
28549 * login/setlogin.c (setlogin): Likewise.
28550 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28551 (mach_msg_destroy_port): Likewise.
28552 (mach_msg_destroy_memory): Likewise.
28553 * malloc/mcheck.c (flood): Likewise.
28554 * misc/acct.c (acct): Likewise.
28555 * misc/brk.c (__brk): Likewise.
28556 * misc/chflags.c (chflags): Likewise.
28557 * misc/chroot.c (chroot): Likewise.
28558 * misc/fchflags.c (fchflags): Likewise.
28559 * misc/fstab.c (getfsspec): Likewise.
28560 (getfsfile): Likewise.
28561 * misc/fsync.c (fsync): Likewise.
28562 * misc/ftruncate.c (__ftruncate): Likewise.
28563 * misc/ftruncate64.c (__ftruncate64): Likewise.
28564 * misc/getdomain.c (getdomainname): Likewise.
28565 (getdomainname): Likewise.
28566 * misc/gethostname.c (__gethostname): Likewise.
28567 * misc/getpass.c (getpass): Likewise.
28568 * misc/getttyent.c (skip): Likewise.
28569 (value): Likewise.
28570 * misc/gtty.c (gtty): Likewise.
28571 * misc/hsearch.c (hsearch): Likewise.
28572 (hcreate): Likewise.
28573 * misc/hsearch_r.c (__hcreate_r): Likewise.
28574 (__hdestroy_r): Likewise.
28575 * misc/ioctl.c (__ioctl): Likewise.
28576 * misc/mkdtemp.c (mkdtemp): Likewise.
28577 * misc/mkostemp.c (mkostemp): Likewise.
28578 * misc/mkostemp64.c (mkostemp64): Likewise.
28579 * misc/mkostemps.c (mkostemps): Likewise.
28580 * misc/mkostemps64.c (mkostemps64): Likewise.
28581 * misc/mkstemp.c (mkstemp): Likewise.
28582 * misc/mkstemp64.c (mkstemp64): Likewise.
28583 * misc/mkstemps.c (mkstemps): Likewise.
28584 * misc/mkstemps64.c (mkstemps64): Likewise.
28585 * misc/mktemp.c (__mktemp): Likewise.
28586 * misc/preadv.c (preadv): Likewise.
28587 * misc/preadv64.c (preadv64): Likewise.
28588 * misc/pwritev.c (pwritev): Likewise.
28589 * misc/pwritev64.c (pwritev64): Likewise.
28590 * misc/readv.c (__readv): Likewise.
28591 * misc/revoke.c (revoke): Likewise.
28592 * misc/setdomain.c (setdomainname): Likewise.
28593 * misc/setegid.c (setegid): Likewise.
28594 * misc/seteuid.c (seteuid): Likewise.
28595 * misc/sethostid.c (sethostid): Likewise.
28596 * misc/sethostname.c (sethostname): Likewise.
28597 * misc/setregid.c (__setregid): Likewise.
28598 * misc/setreuid.c (__setreuid): Likewise.
28599 * misc/sstk.c (sstk): Likewise.
28600 * misc/stty.c (stty): Likewise.
28601 * misc/syscall.c (syscall): Likewise.
28602 * misc/syslog.c (setlogmask): Likewise.
28603 * misc/truncate.c (__truncate): Likewise.
28604 * misc/truncate64.c (truncate64): Likewise.
28605 * misc/ualarm.c (ualarm): Likewise.
28606 * misc/usleep.c (usleep): Likewise.
28607 * misc/ustat.c (ustat): Likewise.
28608 * misc/writev.c (__writev): Likewise.
28609 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28610 * nptl/old_pthread_cond_broadcast.c
28611 (__pthread_cond_broadcast_2_0): Likewise.
28612 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28613 Likewise.
28614 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28615 Likewise.
28616 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28617 Likewise.
28618 * nptl/pt-raise.c (raise): Likewise.
28619 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28620 Likewise.
28621 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28622 * nptl/pthread_barrierattr_destroy.c
28623 (pthread_barrierattr_destroy): Likewise.
28624 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28625 Likewise.
28626 * nptl/pthread_barrierattr_setpshared.c
28627 (pthread_barrierattr_setpshared): Likewise.
28628 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28629 Likewise.
28630 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28631 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28632 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28633 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28634 Likewise.
28635 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28636 Likewise.
28637 * nptl/pthread_condattr_getpshared.c
28638 (pthread_condattr_getpshared): Likewise.
28639 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28640 Likewise.
28641 * nptl/pthread_condattr_setpshared.c
28642 (pthread_condattr_setpshared): Likewise.
28643 * nptl/pthread_detach.c (pthread_detach): Likewise.
28644 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28645 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28646 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28647 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28648 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28649 Likewise.
28650 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28651 Likewise.
28652 * nptl/pthread_mutex_getprioceiling.c
28653 (pthread_mutex_getprioceiling): Likewise.
28654 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28655 Likewise.
28656 * nptl/pthread_mutexattr_getprotocol.c
28657 (pthread_mutexattr_getprotocol): Likewise.
28658 * nptl/pthread_mutexattr_getpshared.c
28659 (pthread_mutexattr_getpshared): Likewise.
28660 * nptl/pthread_mutexattr_getrobust.c
28661 (pthread_mutexattr_getrobust): Likewise.
28662 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28663 Likewise.
28664 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28665 Likewise.
28666 * nptl/pthread_mutexattr_setprioceiling.c
28667 (pthread_mutexattr_setprioceiling): Likewise.
28668 * nptl/pthread_mutexattr_setprotocol.c
28669 (pthread_mutexattr_setprotocol): Likewise.
28670 * nptl/pthread_mutexattr_setpshared.c
28671 (pthread_mutexattr_setpshared): Likewise.
28672 * nptl/pthread_mutexattr_setrobust.c
28673 (pthread_mutexattr_setrobust): Likewise.
28674 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28675 Likewise.
28676 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28677 Likewise.
28678 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28679 Likewise.
28680 * nptl/pthread_rwlockattr_getkind_np.c
28681 (pthread_rwlockattr_getkind_np): Likewise.
28682 * nptl/pthread_rwlockattr_getpshared.c
28683 (pthread_rwlockattr_getpshared): Likewise.
28684 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28685 Likewise.
28686 * nptl/pthread_rwlockattr_setkind_np.c
28687 (pthread_rwlockattr_setkind_np): Likewise.
28688 * nptl/pthread_rwlockattr_setpshared.c
28689 (pthread_rwlockattr_setpshared): Likewise.
28690 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28691 Likewise.
28692 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28693 Likewise.
28694 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28695 Likewise.
28696 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28697 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28698 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28699 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28700 * nptl/sem_close.c (sem_close): Likewise.
28701 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28702 * nptl/sem_init.c (__old_sem_init): Likewise.
28703 * nptl/sigaction.c (__sigaction): Likewise.
28704 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28705 * posix/_exit.c (_exit): Likewise.
28706 * posix/alarm.c (alarm): Likewise.
28707 * posix/confstr.c (confstr): Likewise.
28708 * posix/fpathconf.c (__fpathconf): Likewise.
28709 * posix/getgroups.c (__getgroups): Likewise.
28710 * posix/getpgid.c (__getpgid): Likewise.
28711 * posix/group_member.c (__group_member): Likewise.
28712 * posix/pathconf.c (__pathconf): Likewise.
28713 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28714 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28715 * posix/setgid.c (__setgid): Likewise.
28716 * posix/setpgid.c (__setpgid): Likewise.
28717 * posix/setuid.c (__setuid): Likewise.
28718 * posix/sleep.c (__sleep): Likewise.
28719 * posix/sysconf.c (__sysconf): Likewise.
28720 * posix/times.c (__times): Likewise.
28721 * posix/uname.c (__uname): Likewise.
28722 * posix/waitid.c (__waitid): Likewise.
28723 * pwd/getpw.c (__getpw): Likewise.
28724 * resolv/base64.c (b64_pton): Likewise.
28725 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28726 * resolv/gethnamaddr.c (Dprintf): Likewise.
28727 (gethostbyname): Likewise.
28728 (gethostbyname2): Likewise.
28729 (gethostbyaddr): Likewise.
28730 (_sethtent): Likewise.
28731 (_gethtbyname): Likewise.
28732 (_gethtbyname2): Likewise.
28733 (_gethtbyaddr): Likewise.
28734 (map_v4v6_address): Likewise.
28735 (map_v4v6_hostent): Likewise.
28736 (addrsort): Likewise.
28737 (ht_sethostent): Likewise.
28738 (ht_gethostbyname): Likewise.
28739 (ht_gethostbyaddr): Likewise.
28740 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28741 (inet_net_ntop_ipv4): Likewise.
28742 * resolv/inet_neta.c (inet_neta): Likewise.
28743 * resolv/inet_ntop.c (inet_ntop): Likewise.
28744 (inet_ntop4): Likewise.
28745 (inet_ntop6): Likewise.
28746 * resolv/inet_pton.c (__inet_pton): Likewise.
28747 (inet_pton4): Likewise.
28748 (inet_pton6): Likewise.
28749 * resolv/res_debug.c (loc_aton): Likewise.
28750 (loc_ntoa): Likewise.
28751 * resource/getpriority.c (__getpriority): Likewise.
28752 * resource/getrusage.c (__getrusage): Likewise.
28753 * resource/nice.c (nice): Likewise.
28754 * resource/setpriority.c (__setpriority): Likewise.
28755 * resource/setrlimit64.c (setrlimit64): Likewise.
28756 * resource/vlimit.c (vlimit): Likewise.
28757 * resource/vtimes.c (vtimes): Likewise.
28758 * rt/aio_error.c (aio_error): Likewise.
28759 * rt/aio_return.c (aio_return): Likewise.
28760 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28761 * signal/kill.c (__kill): Likewise.
28762 * signal/killpg.c (killpg): Likewise.
28763 * signal/raise.c (raise): Likewise.
28764 * signal/sigaction.c (__sigaction): Likewise.
28765 * signal/sigaddset.c (sigaddset): Likewise.
28766 * signal/sigaltstack.c (sigaltstack): Likewise.
28767 * signal/sigandset.c (sigandset): Likewise.
28768 * signal/sigblock.c (__sigblock): Likewise.
28769 * signal/sigdelset.c (sigdelset): Likewise.
28770 * signal/sigempty.c (sigemptyset): Likewise.
28771 * signal/sigfillset.c (sigfillset): Likewise.
28772 * signal/sighold.c (sighold): Likewise.
28773 * signal/sigignore.c (sigignore): Likewise.
28774 * signal/sigintr.c (siginterrupt): Likewise.
28775 * signal/sigisempty.c (sigisemptyset): Likewise.
28776 * signal/sigismem.c (sigismember): Likewise.
28777 * signal/signal.c (signal): Likewise.
28778 * signal/sigorset.c (sigorset): Likewise.
28779 * signal/sigpause.c (__sigpause): Likewise.
28780 * signal/sigpending.c (sigpending): Likewise.
28781 * signal/sigprocmask.c (__sigprocmask): Likewise.
28782 * signal/sigrelse.c (sigrelse): Likewise.
28783 * signal/sigreturn.c (__sigreturn): Likewise.
28784 * signal/sigset.c (sigset): Likewise.
28785 * signal/sigsetmask.c (__sigsetmask): Likewise.
28786 * signal/sigstack.c (sigstack): Likewise.
28787 * signal/sigsuspend.c (__sigsuspend): Likewise.
28788 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28789 * signal/sysv_signal.c (__sysv_signal): Likewise.
28790 * socket/accept.c (accept): Likewise.
28791 * socket/accept4.c (__libc_accept4): Likewise.
28792 * socket/bind.c (__bind): Likewise.
28793 * socket/connect.c (__connect): Likewise.
28794 * socket/getpeername.c (getpeername): Likewise.
28795 * socket/getsockname.c (__getsockname): Likewise.
28796 * socket/getsockopt.c (getsockopt): Likewise.
28797 * socket/listen.c (__listen): Likewise.
28798 * socket/recv.c (__recv): Likewise.
28799 * socket/recvmsg.c (__recvmsg): Likewise.
28800 * socket/send.c (__send): Likewise.
28801 * socket/sendmsg.c (__sendmsg): Likewise.
28802 * socket/shutdown.c (shutdown): Likewise.
28803 * socket/sockatmark.c (sockatmark): Likewise.
28804 * socket/socket.c (__socket): Likewise.
28805 * stdio-common/ctermid.c (ctermid): Likewise.
28806 * stdio-common/cuserid.c (cuserid): Likewise.
28807 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28808 * stdio-common/remove.c (remove): Likewise.
28809 * stdio-common/rename.c (rename): Likewise.
28810 * stdio-common/renameat.c (renameat): Likewise.
28811 * stdio-common/tempname.c (__gen_tempname): Likewise.
28812 * stdio-common/xbug.c (InitBuffer): Likewise.
28813 (AppendToBuffer): Likewise.
28814 (ReadFile): Likewise.
28815 * stdlib/a64l.c (a64l): Likewise.
28816 * stdlib/drand48_r.c (drand48_r): Likewise.
28817 * stdlib/getcontext.c (getcontext): Likewise.
28818 * stdlib/getenv.c (getenv): Likewise.
28819 * stdlib/l64a.c (l64a): Likewise.
28820 * stdlib/llabs.c (llabs): Likewise.
28821 * stdlib/lldiv.c (lldiv): Likewise.
28822 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28823 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28824 * stdlib/putenv.c (putenv): Likewise.
28825 * stdlib/random.c (__srandom): Likewise.
28826 (__initstate): Likewise.
28827 (__setstate): Likewise.
28828 * stdlib/random_r.c (__srandom_r): Likewise.
28829 (__setstate_r): Likewise.
28830 (__random_r): Likewise.
28831 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28832 * stdlib/setcontext.c (setcontext): Likewise.
28833 * stdlib/setenv.c (setenv): Likewise.
28834 (unsetenv): Likewise.
28835 * stdlib/srand48.c (srand48): Likewise.
28836 * stdlib/srand48_r.c (__srand48_r): Likewise.
28837 * stdlib/swapcontext.c (swapcontext): Likewise.
28838 * stdlib/system.c (__libc_system): Likewise.
28839 * stdlib/tst-strtod.c (expand): Likewise.
28840 * stdlib/tst-strtol.c (expand): Likewise.
28841 * stdlib/tst-strtoll.c (expand): Likewise.
28842 * streams/fattach.c (fattach): Likewise.
28843 * streams/fdetach.c (fdetach): Likewise.
28844 * streams/getmsg.c (getmsg): Likewise.
28845 * streams/isastream.c (isastream): Likewise.
28846 * string/ffs.c (__ffs): Likewise.
28847 * string/ffsll.c (ffsll): Likewise.
28848 * string/memcmp.c (memcmp_common_alignment): Likewise.
28849 (memcmp_not_common_alignment): Likewise.
28850 (MEMCMP): Likewise.
28851 * string/memcpy.c (memcpy): Likewise.
28852 * string/memmove.c (MEMMOVE): Likewise.
28853 * string/memset.c (memset): Likewise.
28854 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28855 * string/strchrnul.c (STRCHRNUL): Likewise.
28856 * string/strerror.c (strerror): Likewise.
28857 * string/strndup.c (__strndup): Likewise.
28858 * string/strverscmp.c (__strverscmp): Likewise.
28859 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28860 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28861 (clnttcp_freeres): Likewise.
28862 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28863 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28864 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28865 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28866 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28867 (xdr_callhdr): Likewise.
28868 * sunrpc/rpcinfo.c (udpping): Likewise.
28869 (tcpping): Likewise.
28870 (pstatus): Likewise.
28871 (pmapdump): Likewise.
28872 (brdcst): Likewise.
28873 (deletereg): Likewise.
28874 (getprognum): Likewise.
28875 (getvers): Likewise.
28876 (get_inet_address): Likewise.
28877 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28878 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28879 (svcudp_stat): Likewise.
28880 (svcudp_recv): Likewise.
28881 (svcudp_reply): Likewise.
28882 (svcudp_getargs): Likewise.
28883 (svcudp_freeargs): Likewise.
28884 (svcudp_destroy): Likewise.
28885 * sunrpc/xdr.c (xdr_bytes): Likewise.
28886 (xdr_netobj): Likewise.
28887 (xdr_string): Likewise.
28888 (xdr_wrapstring): Likewise.
28889 * sunrpc/xdr_float.c (xdr_float): Likewise.
28890 (xdr_double): Likewise.
28891 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28892 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28893 * sysvipc/ftok.c (ftok): Likewise.
28894 * sysvipc/msgctl.c (msgctl): Likewise.
28895 * sysvipc/msgget.c (msgget): Likewise.
28896 * sysvipc/msgrcv.c (msgrcv): Likewise.
28897 * sysvipc/msgsnd.c (msgsnd): Likewise.
28898 * sysvipc/semget.c (semget): Likewise.
28899 * sysvipc/semop.c (semop): Likewise.
28900 * sysvipc/shmat.c (shmat): Likewise.
28901 * sysvipc/shmctl.c (shmctl): Likewise.
28902 * sysvipc/shmdt.c (shmdt): Likewise.
28903 * sysvipc/shmget.c (shmget): Likewise.
28904 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28905 * termios/speed.c (cfgetospeed): Likewise.
28906 (cfgetispeed): Likewise.
28907 (cfsetospeed): Likewise.
28908 (cfsetispeed): Likewise.
28909 * termios/tcflow.c (tcflow): Likewise.
28910 * termios/tcflush.c (tcflush): Likewise.
28911 * termios/tcgetattr.c (__tcgetattr): Likewise.
28912 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28913 * termios/tcgetsid.c (tcgetsid): Likewise.
28914 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28915 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28916 * time/adjtime.c (__adjtime): Likewise.
28917 * time/dysize.c (dysize): Likewise.
28918 * time/ftime.c (ftime): Likewise.
28919 * time/getitimer.c (__getitimer): Likewise.
28920 * time/gettimeofday.c (__gettimeofday): Likewise.
28921 * time/gmtime.c (__gmtime_r): Likewise.
28922 (gmtime): Likewise.
28923 * time/localtime.c (__localtime_r): Likewise.
28924 (localtime): Likewise.
28925 * time/offtime.c (__offtime): Likewise.
28926 * time/settimeofday.c (__settimeofday): Likewise.
28927 * time/stime.c (stime): Likewise.
28928 * time/strftime_l.c (tm_diff): Likewise.
28929 (iso_week_days): Likewise.
28930 * time/strptime.c (strptime): Likewise.
28931 * time/time.c (time): Likewise.
28932 * time/timespec_get.c (timespec_get): Likewise.
28933 * time/tzset.c (tzset_internal): Likewise.
28934 (compute_change): Likewise.
28935 (__tz_compute): Likewise.
28936 * wcsmbs/btowc.c (__btowc): Likewise.
28937 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28938 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28939 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28940 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28941 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28942 * wcsmbs/wcscat.c (__wcscat): Likewise.
28943 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28944 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28945 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28946 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28947 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28948 * wcsmbs/wcslen.c (__wcslen): Likewise.
28949 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28950 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28951 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28952 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28953 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28954 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28955 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28956 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28957 * wcsmbs/wcstok.c (wcstok): Likewise.
28958 * wcsmbs/wctob.c (wctob): Likewise.
28959 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28960 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28961 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28962 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28963 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28964 * wcsmbs/wmemset.c (__wmemset): Likewise.
28965 * wctype/wcfuncs.c (__towlower): Likewise.
28966 (__towupper): Likewise.
28967
28968 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28969 (lll_unlock_elision): Add adapt_count parameter.
28970
28971 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28972
28973 * sysdeps/nptl/configure.ac: Do not give errors based on the
28974 results of top-level configure tests.
28975 * sysdeps/nptl/configure: Regenerated.
28976
28977 * configure.ac (libc_cv_Bgroup): Remove configure test.
28978 * configure: Regenerated.
28979 * config.make.in (have-Bgroup): Remove variable.
28980
28981 * configure.ac (sizeof_long_double): Remove configure test.
28982 * configure: Regenerated.
28983 * config.make.in (sizeof-long-double): Remove variable.
28984
28985 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28986 * configure: Regenerated.
28987 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28988 variable.
28989 (exceptions): Likewise.
28990 * sysdeps/arm/configure: Regenerated.
28991 * config.make.in (exceptions): Remove variable.
28992 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28993 $(exceptions).
28994 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28995 (CFLAGS-vdprintf_chk.c): Likewise.
28996 (CFLAGS-printf_chk.c): Likewise.
28997 (CFLAGS-fprintf_chk.c): Likewise.
28998 (CFLAGS-vprintf_chk.c): Likewise.
28999 (CFLAGS-vfprintf_chk.c): Likewise.
29000 (CFLAGS-gets_chk.c): Likewise.
29001 (CFLAGS-fgets_chk.c): Likewise.
29002 (CFLAGS-fgets_u_chk.c): Likewise.
29003 (CFLAGS-fread_chk.c): Likewise.
29004 (CFLAGS-fread_u_chk.c): Likewise.
29005 (CFLAGS-wprintf_chk.c): Likewise.
29006 (CFLAGS-fwprintf_chk.c): Likewise.
29007 (CFLAGS-vwprintf_chk.c): Likewise.
29008 (CFLAGS-vfwprintf_chk.c): Likewise.
29009 (CFLAGS-fgetws_chk.c): Likewise.
29010 (CFLAGS-fgetws_u_chk.c): Likewise.
29011 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29012 (CFLAGS-fputc.c): Likewise.
29013 (CFLAGS-fputwc.c): Likewise.
29014 (CFLAGS-freopen64.c): Likewise.
29015 (CFLAGS-freopen.c): Likewise.
29016 (CFLAGS-fseek.c): Likewise.
29017 (CFLAGS-fseeko64.c): Likewise.
29018 (CFLAGS-fseeko.c): Likewise.
29019 (CFLAGS-ftello64.c): Likewise.
29020 (CFLAGS-ftello.c): Likewise.
29021 (CFLAGS-fwide.c): Likewise.
29022 (CFLAGS-genops.c): Likewise.
29023 (CFLAGS-getc.c): Likewise.
29024 (CFLAGS-getchar.c): Likewise.
29025 (CFLAGS-getwc.c): Likewise.
29026 (CFLAGS-getwchar.c): Likewise.
29027 (CFLAGS-iofclose.c): Likewise.
29028 (CFLAGS-iofflush.c): Likewise.
29029 (CFLAGS-iofgetpos64.c): Likewise.
29030 (CFLAGS-iofgetpos.c): Likewise.
29031 (CFLAGS-iofgets.c): Likewise.
29032 (CFLAGS-iofgetws.c): Likewise.
29033 (CFLAGS-iofputs.c): Likewise.
29034 (CFLAGS-iofputws.c): Likewise.
29035 (CFLAGS-iofread.c): Likewise.
29036 (CFLAGS-iofsetpos64.c): Likewise.
29037 (CFLAGS-iofsetpos.c): Likewise.
29038 (CFLAGS-ioftell.c): Likewise.
29039 (CFLAGS-iofwrite.c): Likewise.
29040 (CFLAGS-iogetdelim.c): Likewise.
29041 (CFLAGS-iogetline.c): Likewise.
29042 (CFLAGS-iogets.c): Likewise.
29043 (CFLAGS-iogetwline.c): Likewise.
29044 (CFLAGS-ioputs.c): Likewise.
29045 (CFLAGS-ioseekoff.c): Likewise.
29046 (CFLAGS-ioseekpos.c): Likewise.
29047 (CFLAGS-iosetbuffer.c): Likewise.
29048 (CFLAGS-iosetvbuf.c): Likewise.
29049 (CFLAGS-ioungetc.c): Likewise.
29050 (CFLAGS-ioungetwc.c): Likewise.
29051 (CFLAGS-oldfileops.c): Likewise.
29052 (CFLAGS-oldiofclose.c): Likewise.
29053 (CFLAGS-oldiofgetpos64.c): Likewise.
29054 (CFLAGS-oldiofgetpos.c): Likewise.
29055 (CFLAGS-oldiofsetpos64.c): Likewise.
29056 (CFLAGS-oldiofsetpos.c): Likewise.
29057 (CFLAGS-peekc.c): Likewise.
29058 (CFLAGS-putc.c): Likewise.
29059 (CFLAGS-putchar.c): Likewise.
29060 (CFLAGS-putwc.c): Likewise.
29061 (CFLAGS-putwchar.c): Likewise.
29062 (CFLAGS-rewind.c): Likewise.
29063 (CFLAGS-wfileops.c): Likewise.
29064 (CFLAGS-wgenops.c): Likewise.
29065 (CFLAGS-oldiofopen.c): Likewise.
29066 (CFLAGS-iofopen.c): Likewise.
29067 (CFLAGS-iofopen64.c): Likewise.
29068 (CFLAGS-oldtmpfile.c): Likewise.
29069 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29070 (CFLAGS-fprintf.c): Likewise.
29071 (CFLAGS-printf.c): Likewise.
29072 (CFLAGS-vfwprintf.c): Likewise.
29073 (CFLAGS-vfscanf.c): Likewise.
29074 (CFLAGS-vfwscanf.c): Likewise.
29075 (CFLAGS-fscanf.c): Likewise.
29076 (CFLAGS-scanf.c): Likewise.
29077 (CFLAGS-isoc99_vfscanf.c): Likewise.
29078 (CFLAGS-isoc99_vscanf.c): Likewise.
29079 (CFLAGS-isoc99_fscanf.c): Likewise.
29080 (CFLAGS-isoc99_scanf.c): Likewise.
29081 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29082 (CFLAGS-isoc99_fwscanf.c): Likewise.
29083 (CFLAGS-isoc99_vwscanf.c): Likewise.
29084 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29085
29086 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29087 after mkstemp64.
29088 * login/tst-utmp.c (do_prepare): Likewise.
29089 * rt/tst-aio.c (do_prepare): Likewise.
29090 * rt/tst-aio64.c (do_prepare): Likewise.
29091
29092 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29093
29094 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29095 (__lll_lock_elision): Remove adapt_count decrement...
29096 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29097 (__lll_trylock_elision): Likewise.
29098 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29099 (__lll_unlock_elision): ... to here. And utilize
29100 new adapt_count parameter.
29101 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29102 (__lll_unlock_elision): Update to include adapt_count
29103 parameter.
29104 (lll_unlock_elision): Pass pointer to adapt_count
29105 variable.
29106
29107 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29108
29109 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29110 Add elision adapt_count parameter to list of arguments.
29111 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29112 (lll_unlock_elision): Update with new parameter list
29113 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29114 (lll_unlock_elision): Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29116 (lll_unlock_elision): Likewise.
29117
29118 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29119
29120 [BZ #19122]
29121 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29122 attribute_hidden.
29123
29124 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29125 attribute_hidden.
29126 [IS_IN (rtld)] (__strdup): Likewise.
29127 [IS_IN (rtld)] (__strerror_r): Likewise.
29128 [IS_IN (rtld)] (__strsep_g): Likewise.
29129 [IS_IN (rtld)] (memchr): Likewise.
29130 [IS_IN (rtld)] (memcmp): Likewise.
29131 [IS_IN (rtld)] (memcpy): Likewise.
29132 [IS_IN (rtld)] (memmove): Likewise.
29133 [IS_IN (rtld)] (memset): Likewise.
29134 [IS_IN (rtld)] (rawmemchr): Likewise.
29135 [IS_IN (rtld)] (stpcpy): Likewise.
29136 [IS_IN (rtld)] (strchr): Likewise.
29137 [IS_IN (rtld)] (strcmp): Likewise.
29138 [IS_IN (rtld)] (strlen): Likewise.
29139 [IS_IN (rtld)] (strnlen): Likewise.
29140 [IS_IN (rtld)] (strsep): Likewise.
29141
29142 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29143 attribute_hidden.
29144 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29145
29146 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29147 attribute_hidden.
29148 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29149
29150 * include/setjmp.h (__longjmp): Add attribute_hidden.
29151 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29152
29153 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29154 Add attribute_hidden.
29155
29156 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29157 [IS_IN (rtld)] (__open): Likewise.
29158 [IS_IN (rtld)] (__fcntl): Likewise.
29159
29160 * include/dirent.h (__opendirat): Add attribute_hidden.
29161 (__getdents): Likewise.
29162 (__getdents64): Likewise.
29163 (__alloc_dir): Likewise.
29164 [IS_IN (rtld)] (__closedir): Likewise.
29165 [IS_IN (rtld)] (__fdopendir): Likewise.
29166 [IS_IN (rtld)] (__readdir): Likewise.
29167 [IS_IN (rtld)] (__readdir64): Likewise.
29168 [IS_IN (rtld)] (__rewinddir): Likewise.
29169
29170 * include/dlfcn.h (_dl_catch_error): Moved to ...
29171 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29172 attribute_hidden.
29173
29174 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29175 (_itoa_word): Likewise.
29176
29177 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29178 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29179 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29180 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29181 (_dl_higher_prime_number): Likewise.
29182 (_dl_debug_printf_c): Likewise.
29183 (_dl_signal_cerror): Likewise.
29184 (_dl_receive_error): Likewise.
29185 (_dl_reloc_bad_type): Likewise.
29186 (_dl_resolve_conflicts): Likewise.
29187 (_dl_check_all_versions): Likewise.
29188 (_dl_check_map_versions): Likewise.
29189 (_dl_sort_fini): Likewise.
29190 (_dl_debug_initialize): Likewise.
29191 (_dl_init_paths): Likewise.
29192 (_dl_show_auxv): Likewise.
29193 (_dl_next_ld_env_entry): Likewise.
29194 (_dl_important_hwcaps): Likewise.
29195 (_dl_load_cache_lookup): Likewise.
29196 (_dl_update_slotinfo): Likewise.
29197 (_dl_show_scope): Likewise.
29198
29199 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29200 attribute_hidden.
29201 (_wordcopy_fwd_dest_aligned): Likewise.
29202 (_wordcopy_bwd_aligned): Likewise.
29203 (_wordcopy_bwd_dest_aligned): Likewise.
29204
29205 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29206 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29207 Likewise.
29208 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29209 Likewise.
29210 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29211
29212 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29213
29214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29215 GCC 5 requirement.
29216
29217 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29218
29219 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29220 test.
29221 * sysdeps/i386/configure: Regenerated.
29222 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29223 code unconditional.
29224
29225 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29226 test.
29227 (libc_cv_asm_popsection_directive): Likewise.
29228 * configure: Regenerated.
29229 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29230 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29231 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29232 (__make_section_unallocated): Make definition unconditional.
29233 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29234 Remove conditional definition.
29235 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29236 (__make_section_unallocated): Likewise.
29237
29238 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29239 * configure: Regenerated.
29240 * config.make.in (static-libgcc): Remove variable.
29241 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29242 $(static-libgcc).
29243 (build-module-helper): Likewise.
29244
29245 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29246 * configure: Regenerated.
29247
29248 2015-10-15 Florian Weimer <fweimer@redhat.com>
29249
29250 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29251 (struct char_buffer): New type.
29252 (char_buffer_start, char_buffer_size, char_buffer_error)
29253 (char_buffer_rewind, char_buffer_add): New functions.
29254 (ADDW): Remove macro, replaced by the char_buffer_add function.
29255 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29256 of extend_alloca. Make control flow more explicit.
29257
29258 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 [BZ #19137]
29261 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29262 Add -fomit-frame-pointer.
29263 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29264
29265 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29266
29267 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29268 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29269 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29270 only if !__GNUC_PREREQ (5,0).
29271 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29272 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29273 (INTERNAL_SYSCALL_NCS): Likewise.
29274 (LOADREGS_0): New macro for GCC 5.
29275 (ASMARGS_0): Likewise.
29276 (LOADREGS_1): Likewise.
29277 (ASMARGS_1): Likewise.
29278 (LOADREGS_2): Likewise.
29279 (ASMARGS_2): Likewise.
29280 (LOADREGS_3): Likewise.
29281 (ASMARGS_3): Likewise.
29282 (LOADREGS_4): Likewise.
29283 (ASMARGS_4): Likewise.
29284 (LOADREGS_5): Likewise.
29285 (ASMARGS_5): Likewise.
29286 (LOADREGS_6): Likewise.
29287 (ASMARGS_6): Likewise.
29288
29289 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29290
29291 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29292 -fomit-frame-pointer.
29293 (CFLAGS-mmap64.c): Likewise.
29294 (CFLAGS-semtimedop.c): Likewise.
29295 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29296 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29297 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29298 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29299
29300 2015-10-15 Florian Weimer <fweimer@redhat.com>
29301
29302 [BZ #18928]
29303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29304 _dl_pointer_guard member.
29305 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29306 initializer.
29307 (security_init): Always set up pointer guard.
29308 (process_envvars): Do not process LD_POINTER_GUARD.
29309
29310 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29311
29312 [BZ #19134]
29313 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29314 (.LC2): Likewise.
29315 (.LC3): Likewise.
29316 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29317
29318 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29319
29320 [BZ #19129]
29321 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29322 r0 and r1.
29323
29324 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29325
29326 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29327
29328 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29329
29330 * include/stap-probe.h: Fix macro definition formatting.
29331
29332 2015-10-14 Florian Weimer <fweimer@redhat.com>
29333
29334 [BZ #19074]
29335 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29336 load and store num_ifs.
29337
29338 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 [BZ #18822]
29341 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29342 (__sched_getaffinity_new): Add libc_hidden_proto and
29343 libc_hidden_def.
29344
29345 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29346
29347 [BZ #19007]
29348 * scripts/localplt.awk: Also allow GOT references.
29349 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29350 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29351 with "+ REL R_386_GLOB_DAT".
29352 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29353 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29354
29355 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29356
29357 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29358 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29359 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29360 Likewise.
29361 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29362 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29363 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29364 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29365 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29366 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29367 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29368 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29369 Likewise.
29370 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29371
29372 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29373
29374 [BZ #19125]
29375 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29376 <math_private.h> and <stdint.h>.
29377 (__llround): Avoid conversions to and from long long int, and
29378 subtractions, where those might raise spurious exceptions.
29379 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29380 <math_private.h> and <stdint.h>.
29381 (__llroundf): Avoid conversions to and from long long int, and
29382 subtractions, where those might raise spurious exceptions.
29383
29384 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29385
29386 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29387 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29388 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29389 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29390 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29391 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29392 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29393 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29394 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29395 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29396 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29397 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29398 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29399 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29400 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29401 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29402 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29403 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29404 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29405 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29406 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29407 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29408 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29409 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29410 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29411 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29412 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29413 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29414 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29415 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29416 (__xstat64_conv): Likewise.
29417 (__xstat32_conv): Likewise.
29418
29419 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29420
29421 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29422 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29423 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29424 <sysdeps/unix/sysv/linux/sysdep.h>.
29425 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29426 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29427 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29428 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29429 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29430 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29431 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29432 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29433 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29438 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29439 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29441 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29442 (sysdep-dl-routines): Add sysdep.
29443 [$(subdir) == nptl] (libpthread-routines): Likewise.
29444 [$(subdir) == rt] (librt-routines): Likewise.
29445 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29446 PIC when branching to SYSCALL_ERROR_LABEL.
29447 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29449 <sysdeps/unix/sysv/linux/sysdep.h>.
29450 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29451 (SYSCALL_ERROR_ERRNO): Removed.
29452 (SYSCALL_ERROR_HANDLER): Changed to empty.
29453 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29454 (__syscall_error): New prototype.
29455 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29456 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29457
29458 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29459
29460 [BZ #19124]
29461 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29462 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29463 _dl_runtime_resolve_avx.
29464 (_dl_runtime_profile_avx512): Make it a hidden alias of
29465 _dl_runtime_profile_avx.
29466
29467 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29468
29469 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29470 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29471 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29472 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29473
29474 [BZ #16422]
29475 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29476 New configure test.
29477 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29478 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29479 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29480 <math_private.h> and <stdint.h>.
29481 (__llrint): Avoid conversions to long long int where those might
29482 raise spurious exceptions.
29483 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29484 <math_private.h> and <stdint.h>.
29485 (__llrintf): Avoid conversions to long long int where those might
29486 raise spurious exceptions.
29487
29488 2015-10-12 Andreas Schwab <schwab@suse.de>
29489
29490 [BZ #18969]
29491 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29492 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29493 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29494 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29495 $(gen-locales).
29496 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29497 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29498 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29499 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29500 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29501 $(gen-locales).
29502 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29503 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29504 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29505 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29506 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29507 ($(objpfx)tst-ftell-active-handler.out)
29508 ($(objpfx)tst-ftell-append.out)
29509 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29510 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29511 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29512 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29513 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29514 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29515 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29516 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29517 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29518 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29519 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29520 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29521 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29522 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29523 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29524 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29525 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29526 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29527 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29528 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29529 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29530 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29531 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29532 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29533 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29534 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29535 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29536 $(gen-locales).
29537 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29538 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29539 $(gen-locales).
29540 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29541 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29542 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29543 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29544 $(gen-locales).
29545 * libio/tst_wprintf2.c (main): Use explicit locale.
29546 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29547
29548 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29549
29550 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29551 __msg_sig_post.
29552 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29553
29554 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29555
29556 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29557 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29558
29559 * sysdeps/arm/libm-test-ulps: Regenerated.
29560
29561 [BZ #15470]
29562 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29563
29564 [BZ #16399]
29565 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29566 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29567 and <fix-fp-int-convert-overflow.h>.
29568 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29569 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29570 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29571 and <fix-fp-int-convert-overflow.h>.
29572 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29573 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29574 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29575 <fix-fp-int-convert-overflow.h>.
29576 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29577 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29578 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29579 <fix-fp-int-convert-overflow.h>.
29580 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29581 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29582 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29583 and <fix-fp-int-convert-overflow.h>.
29584 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29585 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29586 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29587 <limits.h> and <fix-fp-int-convert-overflow.h>.
29588 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29589 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29590 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29591 and <fix-fp-int-convert-overflow.h>.
29592 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29593 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29594 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29595 and <fix-fp-int-convert-overflow.h>.
29596 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29597 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29598 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29599
29600 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29601
29602 [BZ #18589]
29603 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29604 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29605 $(gen-locales).
29606
29607 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29608 Phil Blundell <pb@pbcl.net>
29609
29610 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29611 * nptl/tst-cancel26.c: New file.
29612 * nptl/tst-cancel27.c: Likewise.
29613
29614 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29615
29616 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29617 __ILP32__ isn't defined.
29618 (lrint): Likewise.
29619 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29620 (lrintf): Likewise.
29621 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29622 (lrintl): Likewise.
29623 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29624 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29625 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29626
29627 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29628
29629 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29630 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29631
29632 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29633 file.
29634 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29635 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29636
29637 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29638
29639 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29640 configure test.
29641 * sysdeps/i386/configure: Regenerated.
29642 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29643 configure test.
29644 * sysdeps/x86_64/configure: Regenerated.
29645 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29646 Make code unconditional.
29647
29648 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29649 test.
29650 * sysdeps/i386/configure: Regenerated.
29651 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29652 test.
29653 * sysdeps/x86_64/configure: Regenerated.
29654 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29655 Make code unconditional.
29656 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29657 Likewise.
29658 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29659 Likewise.
29660 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29661 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29662 code unconditional.
29663 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29664 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29665 code unconditional.
29666 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29667 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29668 code unconditional.
29669 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29670 code unconditional.
29671 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29672 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29673 code unconditional.
29674 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29675 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29676 code unconditional.
29677 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29678 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29679 code unconditional.
29680 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29681 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29682 code unconditional.
29683 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29684 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29685
29686 [BZ #19095]
29687 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29688 mantissa to long int before shifting left.
29689
29690 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29691
29692 [BZ #19094]
29693 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29694 <limits.h>.
29695 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29696 when result overflows but exception would not result from cast.
29697 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29698 <limits.h>.
29699 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29700 when result overflows but exception would not result from cast.
29701 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29702 <limits.h>.
29703 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29704 when result overflows but exception would not result from cast.
29705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29706 <limits.h>.
29707 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29708 when result overflows but exception would not result from cast.
29709 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29710 <limits.h>.
29711 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29712 when result overflows but exception would not result from cast.
29713 * math/libm-test.inc (lrint_test_data): Add more tests.
29714 (llrint_test_data): Likewise.
29715
29716 2015-10-08 Roland McGrath <roland@hack.frob.com>
29717
29718 [BZ #18872]
29719 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29720 Move out from under [$(run-built-tests) = yes] conditional.
29721 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29722 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29723
29724 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29725
29726 [BZ #18589]
29727 * string/Makefile (tests): Add bug-strcoll2.
29728 (LOCALES): Add cs_CZ.UTF-8.
29729 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29730
29731 [BZ #18589]
29732 * string/bug-strcoll2.c: New file.
29733 * locale/categories.def: Revert commit
29734 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29735 * locale/langinfo.h: Likewise.
29736 * locale/localeinfo.h: Likewise.
29737 * locale/C-collate.c: Likewise.
29738 * locale/programs/ld-collate.c (collate_output): Likewise.
29739 * string/strcoll_l.c (STRDIFF): Likewise.
29740 (STRCOLL): Likewise.
29741 * wcsmbs/wcscoll_l.c: Likewise.
29742
29743 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29744
29745 * math/libm-test.inc (lround_test_data): Do not expect the absence
29746 of "inexact" for some tests with non-integer arguments.
29747 (llround_test_data): Likewise.
29748
29749 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29750 test.
29751 (libc_cv_cc_sse2avx): Likewise.
29752 * sysdeps/i386/configure: Regenerated.
29753 * sysdeps/i386/i686/multiarch/Makefile
29754 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29755 [$(subdir) = math].
29756 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29757 code unconditional.
29758 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29759 Likewise.
29760 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29761 Likewise.
29762 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29763 Likewise.
29764 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29765 test.
29766 (libc_cv_cc_sse2avx): Likewise.
29767 * sysdeps/x86_64/configure: Regenerated.
29768 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29769 unconditional.
29770 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29771 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29772 unconditional.
29773 (_dl_runtime_profile)
29774 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29775 conditional code.
29776 * sysdeps/x86_64/fpu/multiarch/Makefile
29777 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29779 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29780 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29781 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29782 * sysdeps/x86_64/fpu/multiarch/e_log.c
29783 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29784 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29785 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29786 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29787 Likewise.
29788 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29789 Likewise.
29790 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29791 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29792 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29793 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29794 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29795 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29796 (HAVE_SSE2AVX_SUPPORT): Likewise.
29797
29798 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29799
29800 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29801 instead of #pragma optimize.
29802
29803 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29804
29805 [BZ #17195]
29806 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29807 as is similarly done in systrim and _int_free already.
29808
29809 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29810
29811 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29812
29813 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29814
29815 [BZ #19088]
29816 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29817 <limits.h>.
29818 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29819 overflows but exception would not result from cast.
29820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29821 and <limits.h>.
29822 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29823 overflows but exception would not result from cast.
29824 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29825 <limits.h>.
29826 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29827 overflows but exception would not result from cast.
29828 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29829 <limits.h>.
29830 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29831 overflows but exception would not result from cast.
29832 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29833 <limits.h>.
29834 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29835 overflows but exception would not result from cast.
29836 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29837 <limits.h>.
29838 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29839 overflows but exception would not result from cast.
29840 * math/libm-test.inc (lround_test_data): Add more tests.
29841 (llround_test_data): Likewise.
29842
29843 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29844
29845 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29846 (CFLAGS-ialloc.c): Ditto.
29847 (CFLAGS-scheck.c): Ditto.
29848
29849 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29850
29851 [BZ #19086]
29852 * manual/filesys.texi (Storage Allocation): Fix argument order for
29853 posix_fallocate64.
29854
29855 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29856
29857 [BZ #19085]
29858 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29859 exponent below 48 inside case for non-overflowing exponent.
29860 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29861
29862 2015-10-07 Florian Weimer <fweimer@redhat.com>
29863
29864 * iconvdata/cp737.h (from_idx): Add const.
29865 * iconvdata/cp775.h (from_idx): Likewise.
29866
29867 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29868
29869 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29870 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29871 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29872
29873 [BZ #19079]
29874 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29875 file, conditioned on [!_LP64].
29876 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29877 [!_LP64] (__lround): Do not define as function or alias.
29878 [!_LP64] (lround): Likewise.
29879 [!_LP64] (__lroundl): Likewise.
29880 [!_LP64] (lroundl): Likewise.
29881 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29882 macro.
29883 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29884 Likewise.
29885
29886 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29887
29888 * math/libm-test.inc (lrint_test_data): Add more tests.
29889 (llrint_test_data): Likewise.
29890 (lround_test_data): Likewise.
29891 (llround_test_data): Likewise.
29892
29893 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29894 (llrint_test_data): Add tests used for lrint.
29895
29896 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29897 test.
29898 * sysdeps/i386/configure: Regenerated.
29899 * sysdeps/i386/i686/multiarch/Makefile
29900 [$(config-cflags-sse4) = yes]: Make code unconditional.
29901 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29902 Likewise.
29903 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29904 Likewise.
29905 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29906 test.
29907 * sysdeps/x86_64/configure: Regenerated.
29908 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29909 Make code unconditional.
29910 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29911 Likewise.
29912 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29913 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29914
29915 * scripts/rpm2dynsym.sh: Remove file.
29916
29917 2015-10-06 Florian Weimer <fweimer@redhat.com>
29918
29919 * configure.ac (libc_cv_cxx_thread_local): Define.
29920 * configure: Regenerate.
29921 * config.make.in (have-cxx-thread_local): Define.
29922 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29923 (LDLIBS-tst-thread_local1): Define.
29924 (tests): Add tst-thread_local1.
29925 [have-cxx-thread_local != yes] (tests-unsupported): Add
29926 tst-thread_local1.
29927 * nptl/tst-thread_local1.cc: New file.
29928
29929 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29930
29931 [BZ #19078]
29932 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29933 (u_thres): Likewise.
29934 (__expl): Determine whether to call __kernel_standard_l based on
29935 value of result, not argument.
29936
29937 * math/libm-test.inc (scalb_test_data): Add more expectations for
29938 the "inexact" exception.
29939
29940 [BZ #19077]
29941 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29942 0.0L for argument 1.0L.
29943
29944 [BZ #19076]
29945 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29946 constant 0.0L when computing infinite result.
29947
29948 2015-10-06 Florian Weimer <fweimer@redhat.com>
29949
29950 [BZ #10432]
29951 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29952 malloc_usable_size.
29953
29954 2015-10-06 Florian Weimer <fweimer@redhat.com>
29955
29956 [BZ #19018]
29957 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29958 Mangle function pointer before storing it.
29959 (__call_tls_dtors): Demangle function pointer before calling it.
29960
29961 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29962
29963 [BZ #19012]
29964 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29965 Clean up on failure.
29966
29967 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29968
29969 [BZ #19071]
29970 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29971 long int variable to store possibly incremented high part of
29972 mantissa.
29973 * math/libm-test.inc (lround_test_data): Add tests used for
29974 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29975 for tests requiring 64-bit long. Do not condition tests on
29976 [TEST_FLOAT] unnecessarily.
29977 (llround_test_data): Add tests used for lround. Add another
29978 expectation for the "inexact" exception. Do not condition tests
29979 on [TEST_FLOAT] unnecessarily.
29980
29981 [BZ #887]
29982 [BZ #19049]
29983 [BZ #19050]
29984 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29985 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29986 <fix-int-fp-convert-zero.h>.
29987 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29988 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29989 <fix-int-fp-convert-zero.h>.
29990 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29991 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29992 <fix-int-fp-convert-zero.h>.
29993 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29994 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29995 <fix-int-fp-convert-zero.h>.
29996 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29997 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29998 <fix-int-fp-convert-zero.h>.
29999 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30000 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30001 <fix-int-fp-convert-zero.h>.
30002 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30003 * sysdeps/ieee754/flt-32/s_erff.c: Include
30004 <fix-int-fp-convert-zero.h>.
30005 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30006 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30007 <fix-int-fp-convert-zero.h>.
30008 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30010 <fix-int-fp-convert-zero.h>.
30011 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30013 <fix-int-fp-convert-zero.h>.
30014 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30015 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30016 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30017 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30018 file.
30019 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30020
30021 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30022
30023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30024
30025 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30026
30027 [BZ #19059]
30028 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30029 overflowing computation.
30030 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30031 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30032 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30033 Likewise.
30034 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30035 Likewise.
30036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30037 Likewise.
30038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30039 Likewise.
30040 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30041 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30042 Likewise.
30043 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30044 Likewise.
30045 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30046
30047 * nss/rewrite_field.c (__nss_rewrite_field): Use
30048 internal_function.
30049 * nss/valid_field.c (__nss_valid_field): Likewise.
30050 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30051
30052 2015-10-02 Florian Weimer <fweimer@redhat.com>
30053
30054 [BZ #18724]
30055 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30056 (__nss_invalid_field_characters, __nss_valid_field)
30057 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30058 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30059 tst-field.c: New file.
30060 * nss/Makefile (routines): Add valid_field, rewrite_field.
30061 (tests-static): Define unconditionally.
30062 (tests): Include tests-static.
30063 [build-static-nss] (tests-static): Use append.
30064 [build-static-nss] (tests): Remove modification.
30065 * nss/getent.c (print_group): Call putgrent. Report error.
30066 (print_gshadow): Call putsgent. Report error.
30067 (print_passwd): Call putpwent. Report error.
30068 (print_shadow): Call putspent. Report error.
30069 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30070 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30071 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30072 name, password, directory, shell fields for valid syntax. Rewrite
30073 GECOS field to match syntax.
30074 * pwd/Makefile (tests): Add tst-putpwent.
30075 * pwd/tst-putpwent.c: New file.
30076 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30077 Check grName, grpasswd, gr_mem fields for valid syntax.
30078 Change loop variable i to size_t.
30079 * grp/Makefile (tests): Add tst-putgrent.
30080 * grp/tst-putgrent.c: New file.
30081 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30082 valid syntax.
30083 * shadow/Makefile (tests): Add tst-putspent.
30084 * shadow/tst-putspent.c: New file.
30085 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30086 sg_mem fields for valid syntax.
30087 * gshadow/Makefile (tests): Add tst-putsgent.
30088 * gshadow/tst-putsgent.c: New file.
30089
30090 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30091
30092 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30093 assembly instructions.
30094
30095 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30096
30097 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30098 prefix from operands.
30099
30100 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30101
30102 [BZ #16347]
30103 [BZ #19046]
30104 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30105 <libc-internal.h>.
30106 (MAXLGM): Do not use diagnostic control macros.
30107 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30108 threshold for ldbl-128ibm.
30109 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30110 instead of multiplying by log then subtracting.
30111 * math/auto-libm-test-in: Add more tests of lgamma.
30112 * math/auto-libm-test-out: Regenerated.
30113
30114 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30115 (TYPE_HEX_DIG): Likewise.
30116 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30117 precisions when printing floating-point numbers.
30118 (check_float_internal): Likewise.
30119
30120 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30121
30122 [BZ #16620]
30123 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30124 of log (10) rounded downward to 48 bits.
30125 (log10_low): Use corresponding low part of log (10).
30126
30127 [BZ #19032]
30128 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30129 compute result as (x - x) / (x - x) not as 0 / 0.
30130 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30131 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30132
30133 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30134 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30135 and expm1.
30136 * math/auto-libm-test-out: Regenerated.
30137 * math/libm-test.inc (acos_test_data): Add more tests.
30138 (asin_test_data): Likewise.
30139 (asinh_test_data): Likewise.
30140 (atan_test_data): Likewise.
30141 (atanh_test_data): Likewise.
30142 (atan2_test_data): Likewise.
30143 (cbrt_test_data): Likewise.
30144 (ceil_test_data): Likewise.
30145 (copysign_test_data): Likewise.
30146 (cos_test_data): Likewise.
30147 (cosh_test_data): Likewise.
30148 (erf_test_data): Likewise.
30149 (erfc_test_data): Likewise.
30150 (exp_test_data): Likewise.
30151 (exp10_test_data): Likewise.
30152 (exp2_test_data): Likewise.
30153 (expm1_test_data): Likewise.
30154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30155
30156 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30157
30158 [BZ #19006]
30159 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30160 to ...
30161 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30162 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30163 to ...
30164 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30165 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30166 to ...
30167 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30168 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30169 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30170 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30171 to ...
30172 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30173 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30174 Moved to ...
30175 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30176 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30177 Moved to ...
30178 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30179 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30180 to ...
30181 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30182 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30183 Moved to ...
30184 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30185 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30186 to ...
30187 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30188 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30189 Removed.
30190 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30191 Likewise.
30192 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30193 Likewise.
30194 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30195 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30196 Likewise.
30197 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30198 Likewise.
30199 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30200 Likewise.
30201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30202 Likewise.
30203 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30204 Likewise.
30205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30206 Likewise.
30207 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30208 Likewise.
30209 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30210 Likewise.
30211 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30212 Likewise.
30213 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30214 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30215 Likewise.
30216 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30217 Likewise.
30218 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30219 Likewise.
30220 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30221 Likewise.
30222 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30223 Likewise.
30224 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30225 Replace ../i486/pthread_cond_timedwait.S with
30226 ../pthread_cond_timedwait.S.
30227
30228 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30229
30230 * math/libm-test.inc (acos_test_data): Refine expectations for
30231 errno and "inexact" exceptions.
30232 (acosh_test_data): Likewise.
30233 (asin_test_data): Likewise.
30234 (asinh_test_data): Likewise.
30235 (atan_test_data): Likewise.
30236 (atanh_test_data): Likewise.
30237 (atan2_test_data): Likewise.
30238 (cbrt_test_data): Likewise.
30239 (ceil_test_data): Likewise.
30240 (copysign_test_data): Likewise.
30241 (cosh_test_data): Likewise.
30242 (erf_test_data): Likewise.
30243 (erfc_test_data): Likewise.
30244 (exp_test_data): Likewise.
30245 (exp10_test_data): Likewise.
30246 (exp2_test_data): Likewise.
30247 (expm1_test_data): Likewise.
30248 (fabs_test_data): Likewise.
30249 (floor_test_data): Likewise.
30250 (fma_test_data): Likewise.
30251 (fmax_test_data): Likewise.
30252 (fmin_test_data): Likewise.
30253 (fmod_test_data): Likewise.
30254 (fpclassify_test_data): Likewise.
30255 (frexp_test_data): Likewise.
30256 (hypot_test_data): Likewise.
30257 (ilogb_test_data): Likewise.
30258 (isgreater_test_data): Likewise.
30259 (isgreaterequal_test_data): Likewise.
30260 (isinf_test_data): Likewise.
30261 (isless_test_data): Likewise.
30262 (islessequal_test_data): Likewise.
30263 (islessgreater_test_data): Likewise.
30264 (isnan_test_data): Likewise.
30265 (isnormal_test_data): Likewise.
30266 (issignaling_test_data): Likewise.
30267 (isunordered_test_data): Likewise.
30268 (j0_test_data): Likewise.
30269 (j1_test_data): Likewise.
30270 (jn_test_data): Likewise.
30271 (lgamma_test_data): Likewise.
30272 (lrint_test_data): Likewise.
30273 (llrint_test_data): Likewise.
30274 (log_test_data): Likewise.
30275 (log10_test_data): Likewise.
30276 (log1p_test_data): Likewise.
30277 (log2_test_data): Likewise.
30278 (logb_test_data): Likewise.
30279 (lround_test_data): Likewise.
30280 (llround_test_data): Likewise.
30281 (modf_test_data): Likewise.
30282 (nearbyint_test_data): Likewise.
30283 (nextafter_test_data): Likewise.
30284 (nexttoward_test_data): Likewise.
30285 (pow_test_data): Likewise.
30286 (remainder_test_data): Likewise.
30287 (remquo_test_data): Likewise.
30288 (rint_test_data): Likewise.
30289 (round_test_data): Likewise.
30290 (signbit_test_data): Likewise.
30291 (sinh_test_data): Likewise.
30292 (sqrt_test_data): Likewise.
30293 (tanh_test_data): Likewise.
30294 (tgamma_test_data): Likewise.
30295 (trunc_test_data): Likewise.
30296 (y0_test_data): Likewise.
30297 (y1_test_data): Likewise.
30298 (yn_test_data): Likewise.
30299 (significand_test_data): Likewise.
30300
30301 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30302
30303 * manual/filesys.texi (Storage Allocation): Document that
30304 posix_fallocate emulation fails when fd is open with O_WRONLY.
30305
30306 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30307
30308 [BZ #19016]
30309 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30310 allow more cases with X^2 + Y^2 >= 0.5.
30311 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30312 normal element in sum instead of special-casing based on values of
30313 arguments.
30314 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30315 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30316 -1 as normal element in sum instead of special-casing based on
30317 values of arguments.
30318 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30319 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30320 (__x2y2m1): Update comment.
30321 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30322 as normal element in sum instead of special-casing based on values
30323 of arguments.
30324 * math/s_clog.c (__clog): Handle more cases using log1p without
30325 hypot.
30326 * math/s_clog10.c (__clog10): Likewise.
30327 * math/s_clog10f.c (__clog10f): Likewise.
30328 * math/s_clog10l.c (__clog10l): Likewise.
30329 * math/s_clogf.c (__clogf): Likewise.
30330 * math/s_clogl.c (__clogl): Likewise.
30331 * math/auto-libm-test-in: Add more tests of clog and clog10.
30332 * math/auto-libm-test-out: Regenerated.
30333 * sysdeps/i386/fpu/libm-test-ulps: Update.
30334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30335
30336 2015-09-28 Martin Sebor <msebor@redhat.com>
30337
30338 [BZ #18969]
30339 * string/Makefile (LOCALES): Define.
30340 (gen-locales.mk): Include.
30341 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30342 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30343 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30344 on setlocale failure.
30345
30346 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30347
30348 [BZ #18985]
30349 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30350 (__strftime_internal): Likewise.
30351 * time/tst-strftime.c (do_bz18985): New test.
30352 (do_test): Call it.
30353
30354 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30355
30356 [BZ #18956]
30357 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30358 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30359 extracting high part.
30360 * math/auto-libm-test-in: Add another test of pow.
30361 * math/auto-libm-test-out: Regenerated.
30362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30363
30364 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30365
30366 [BZ #18825]
30367 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30368 New macro.
30369 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30370 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30371 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30372 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30373 DBL_NARROW_EVAL, reloading the PIC register as needed.
30374 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30375 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30376 FLT_NARROW_EVAL. Use separate return path for case when first
30377 argument is NaN.
30378 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30379 DEFINE_LDBL_MIN.
30380 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30381 PIC register.
30382 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30383 math_check_force_underflow_nonneg.
30384 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30385 underflow for subnormal result.
30386 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30388 math_check_force_underflow_nonneg.
30389 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30390 math_check_force_underflow.
30391 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30392 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30393 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30394 DEFINE_LDBL_MIN.
30395 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30396 * math/auto-libm-test-in: Add more tests of pow.
30397 * math/auto-libm-test-out: Regenerated.
30398
30399 2015-09-25 Florian Weimer <fweimer@redhat.com>
30400
30401 * nss/bug17079.c (init_test_items): Add diagnostic for
30402 inconsistent entries.
30403 (test_buffer_size): Skip inconsistent entries.
30404
30405 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30406
30407 [BZ #13304]
30408 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30409 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30410 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30411
30412 [BZ #13304]
30413 * sysdeps/microblaze/s_fma.c: New file.
30414 * sysdeps/microblaze/s_fmaf.c: Likewise.
30415 * sysdeps/microblaze/sfp-machine.h: Likewise.
30416
30417 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30418
30419 [BZ #17250]
30420 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30421 member.
30422
30423 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30424
30425 [BZ #18803]
30426 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30427 (MO): New macro.
30428 (__ieee754_hypot) [PIC]: Load PIC register.
30429 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30430 DBL_NARROW_EVAL.
30431 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30432 math_check_force_underflow_nonneg in case where result might be
30433 tiny.
30434 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30435 Likewise.
30436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30437 Likewise.
30438 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30439 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30440 * math/auto-libm-test-in: Add more tests of hypot.
30441 * math/auto-libm-test-out: Regenerated.
30442
30443 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30444
30445 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30446
30447 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30448
30449 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30450 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30451 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30452 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30453 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30454 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30455 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30456
30457 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30458 LOAD_PIC_REG.
30459
30460 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30461 (FLT_CHECK_FORCE_UFLOW): Likewise.
30462 (DBL_CHECK_FORCE_UFLOW): Likewise.
30463 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30464 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30465 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30466 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30467 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30468 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30469 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30470 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30471 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30472 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30473 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30474 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30475 (flt_min): Replace with use of DEFINE_FLT_MIN.
30476 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30477 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30478 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30479 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30480 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30481 (flt_min): Replace with use of DEFINE_FLT_MIN.
30482 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30483 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30484 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30485 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30486 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30487 (flt_min): Replace with use of DEFINE_FLT_MIN.
30488 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30489 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30490 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30491 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30492 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30493 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30494 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30495 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30496 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30497 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30498 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30499 (flt_min): Replace with use of DEFINE_FLT_MIN.
30500 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30501 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30502 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30503 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30504 main computation.
30505 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30506 (flt_min): Replace with use of DEFINE_FLT_MIN.
30507 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30508 main computation.
30509 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30510 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30511 (MO): New macro.
30512 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30513 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30514 (flt_min): Replace with use of DEFINE_FLT_MIN.
30515 (MO): New macro.
30516 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30517 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30518 (__log1pl): Use MO.
30519
30520 [BZ #19003]
30521 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30522 $(config-cflags-nofma).
30523
30524 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30525
30526 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30527
30528 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30529
30530 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30531 (TWO127): Likewise.
30532
30533 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30534 (min_of_type): Likewise.
30535 (math_check_force_underflow): Likewise.
30536 (math_check_force_underflow_nonneg): Likewise.
30537 (math_check_force_underflow_complex): Likewise.
30538 * math/e_exp2l.c (__ieee754_exp2l): Use
30539 math_check_force_underflow_nonneg.
30540 * math/k_casinh.c (__kernel_casinh): Likewise.
30541 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30542 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30543 * math/s_catan.c (__catan): Use
30544 math_check_force_underflow_complex.
30545 * math/s_catanf.c (__catanf): Likewise.
30546 * math/s_catanh.c (__catanh): Likewise.
30547 * math/s_catanhf.c (__catanhf): Likewise.
30548 * math/s_catanhl.c (__catanhl): Likewise.
30549 * math/s_catanl.c (__catanl): Likewise.
30550 * math/s_ccosh.c (__ccosh): Likewise.
30551 * math/s_ccoshf.c (__ccoshf): Likewise.
30552 * math/s_ccoshl.c (__ccoshl): Likewise.
30553 * math/s_cexp.c (__cexp): Likewise.
30554 * math/s_cexpf.c (__cexpf): Likewise.
30555 * math/s_cexpl.c (__cexpl): Likewise.
30556 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30557 * math/s_clog10.c (__clog10): Likewise.
30558 * math/s_clog10f.c (__clog10f): Likewise.
30559 * math/s_clog10l.c (__clog10l): Likewise.
30560 * math/s_clogf.c (__clogf): Likewise.
30561 * math/s_clogl.c (__clogl): Likewise.
30562 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30563 * math/s_csinf.c (__csinf): Likewise.
30564 * math/s_csinh.c (__csinh): Likewise.
30565 * math/s_csinhf.c (__csinhf): Likewise.
30566 * math/s_csinhl.c (__csinhl): Likewise.
30567 * math/s_csinl.c (__csinl): Likewise.
30568 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30569 * math/s_csqrtf.c (__csqrtf): Likewise.
30570 * math/s_csqrtl.c (__csqrtl): Likewise.
30571 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30572 * math/s_ctanf.c (__ctanf): Likewise.
30573 * math/s_ctanh.c (__ctanh): Likewise.
30574 * math/s_ctanhf.c (__ctanhf): Likewise.
30575 * math/s_ctanhl.c (__ctanhl): Likewise.
30576 * math/s_ctanl.c (__ctanl): Likewise.
30577 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30578 instead of volatile.
30579 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30580 math_check_force_underflow.
30581 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30582 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30583 volatile when forcing underflow.
30584 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30585 math_check_force_underflow_nonneg.
30586 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30587 Likewise.
30588 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30589 math_check_force_underflow.
30590 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30591 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30592 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30593 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30594 math_check_force_underflow_nonneg.
30595 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30596 math_check_force_underflow.
30597 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30599 instead of volatile.
30600 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30601 math_check_force_underflow.
30602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30603 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30604 math_check_force_underflow_nonneg.
30605 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30606 math_check_force_underflow.
30607 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30608 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30609 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30610 math_check_force_underflow_nonneg.
30611 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30612 Likewise.
30613 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30614 math_check_force_underflow.
30615 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30616 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30617 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30618 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30619 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30620 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30621 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30622 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30623 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30624 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30625 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30626 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30627 Likewise.
30628 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30629 math_check_force_underflow_nonneg.
30630 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30631 Likewise.
30632 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30633 math_check_force_underflow.
30634 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30635 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30636 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30637 Likewise.
30638 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30639 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30640 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30641 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30642 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30643 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30645 instead of volatile.
30646 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30647 math_check_force_underflow.
30648 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30650 math_check_force_underflow.
30651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30652 Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30654 Use math_check_force_underflow_nonneg.
30655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30656 math_check_force_underflow.
30657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30658 Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30660 Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30667 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30668 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30669 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30670 math_check_force_underflow_nonneg.
30671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30672 math_check_force_underflow.
30673 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30674 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30675 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30676 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30677 math_check_force_underflow_nonneg.
30678 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30679 math_check_force_underflow.
30680 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30682 instead of volatile.
30683 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30684 math_check_force_underflow.
30685
30686 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30687 * stdlib/strtod_l.c: Include <math_private.h>.
30688 (overflow_value): Use math_narrow_eval.
30689 (underflow_value): Likewise.
30690 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30691 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30692 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30693 (__ieee754_gamma_r): Likewise.
30694 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30695 Likewise.
30696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30697 Likewise.
30698 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30699 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30700 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30701 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30702 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30703 (__ieee754_gammaf_r): Likewise.
30704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30705 Likewise.
30706 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30707 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30708 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30709 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30710 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30711 volatile.
30712 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30714 math_narrow_eval.
30715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30716 Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30718 Likewise.
30719 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30720 Likewise.
30721 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30722 volatile.
30723 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30725 math_narrow_eval.
30726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30727 Likewise.
30728 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30729 Likewise.
30730
30731 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30732
30733 * nptl/Versions: Remove ignored symbols.
30734
30735 2015-09-22 Florian Weimer <fweimer@redhat.com>
30736
30737 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30738 * nss/Makefile (tests): Update.
30739
30740 2015-09-22 Florian Weimer <fweimer@redhat.com>
30741
30742 * nss/bug18287.c: New file.
30743 * nss/Makefile (tests): Add bug18287.
30744
30745 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30746
30747 * mach/Versions (__mach_host_self_): Add symbol.
30748
30749 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30750
30751 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30752 vm_page_size.
30753
30754 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30755
30756 Really fix sysdeps/i386/fpu/s_scalbn.S build
30757
30758 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30759 (libc: GLIBC_2_22): Remove unused version set.
30760
30761 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30762
30763 * config.make.in (enable-timezone-tools): New variable.
30764 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30765 (enable_timezone_tools): Export to generated files.
30766 * configure: Regenerate.
30767 * INSTALL: Regenerate.
30768 * manual/install.texi (--disable-timezone-tools): Document new flag.
30769 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30770 ifeq ($(enable-timezone-tools),yes) check.
30771
30772 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30773
30774 * timezone/Makefile: Revert previous change.
30775
30776 [BZ #18980]
30777 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30778 (DEFINE_DBL_MIN): Likewise.
30779 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30780 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30781 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30782 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30783 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30784 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30785 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30786 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30787 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30788 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30789 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30790 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30791 (flt_min): Replace with use of DEFINE_FLT_MIN.
30792 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30793 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30794 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30795 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30796 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30797 (flt_min): Replace with use of DEFINE_FLT_MIN.
30798 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30799 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30800 (flt_min): Replace with use of DEFINE_FLT_MIN.
30801 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30802 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30803 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30804 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30805 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30806 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30807 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30808 (__ieee754_pow): Use DBL_NARROW_EVAL.
30809 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30810 (__ieee754_powf): Use FLT_NARROW_EVAL.
30811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30812 (__ieee754_expf_sse2): Convert double-precision result to single
30813 precision.
30814 * sysdeps/i386/fpu/libm-test-ulps: Update.
30815
30816 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30817
30818 * timezone/Makefile: Ignore unused variable errors due to private.h
30819 (time_t_min) and (time_t_max).
30820 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30821 Likewise.
30822
30823 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30824
30825 [BZ #18981]
30826 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30827 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30828 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30829 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30830 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30831 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30832 (__scalbn): Use DBL_NARROW_EVAL.
30833 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30834 (__scalbnf): Use FLT_NARROW_EVAL.
30835
30836 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30837
30838 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30839 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30840 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30841 * stdio-common/printf_fp.c (___printf_fp):
30842 Use signbit to get the sign. Use isinf macro to allow inlining.
30843 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30844 * stdio-common/printf_size.c (__printf_size): Likewise.
30845
30846 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30847
30848 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30849
30850 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30851
30852 [BZ #18980]
30853 * sysdeps/generic/math_private.h: Include <float.h>.
30854 (math_narrow_eval): New macro.
30855 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30856 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30857 math_narrow_eval on overflowing return value.
30858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30859 Likewise.
30860 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30861 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30863 Likewise.
30864 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30865
30866 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30867
30868 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30869 * math/Makefile: Remove isinf_ns.c.
30870 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30871 * math/multc3.c (__multc3): Likewise.
30872 * math/s_casin.c (__casin): Likewise.
30873 * math/s_casinf.c (__casinf): Likewise.
30874 * math/s_casinl.c (__casinl): Likewise.
30875 * math/s_cproj.c (__cproj): Likewise.
30876 * math/s_cprojf.c (__cprojf): Likewise.
30877 * math/s_cprojl.c (__cprofl): Likewise.
30878 * math/s_ctan.c (__ctan): Likewise.
30879 * math/s_ctanf.c (__ctanf): Likewise.
30880 * math/s_ctanh.c (__ctanh): Likewise.
30881 * math/s_ctanhf.c (__ctanhf): Likewise.
30882 * math/s_ctanhl.c (__ctanhl): Likewise.
30883 * math/s_ctanl.c (__ctanl): Likewise.
30884 * math/w_fmod.c (__fmod): Likewise.
30885 * math/w_fmodf.c (__fmodf): Likewise.
30886 * math/w_fmodl.c (_fmodl): Likewise.
30887 * math/w_remainder.c (__remainder): Likewise.
30888 * math/w_remainderf.c (__remainderf): Likewise.
30889 * math/w_remainderl.c (__remainderl): Likewise.
30890 * math/w_scalb.c (__scalb): Likewise.
30891 * math/w_scalbf.c (__scalbf): Likewise.
30892 * math/w_scalbl.c (__scalbl): Likewise.
30893 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30894 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30895 with isinf.
30896 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30898 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30899 __isinf_nsf with isinf.
30900 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30901 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30902 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30903 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30904 with isinf.
30905 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30906 __isinf_nsl with isinf.
30907 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30908 with isinf.
30909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30910 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30911 __isinf_nsl with isinf.
30912 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30913 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30914 with isinf.
30915
30916 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30917
30918 * resolv/base64.c (rcsid): Remove unused static.
30919 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30920 static. (tqpi1): Likewise.
30921 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30922 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30923 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30924 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30925 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30926 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30927 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30928 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30929 Likewise.
30930
30931 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30932
30933 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30934 <nptl/pthreadP.h>.
30935 (_longjmp_unwind): Use __libc_ptf_call.
30936 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30937
30938 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30939
30940 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30941 * sysdeps/arm/__longjmp.S: Likewise.
30942
30943 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30944
30945 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30946 Use __builtin_signbit.
30947 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30948 Use __builtin_signbitf.
30949 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30950 Use __builtin_signbitl.
30951 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30952 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30953
30954 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30955
30956 [BZ #15367]
30957 [BZ #17441]
30958
30959 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30960 * math/math.h (fpclassify): Use __builtin_fpclassify when
30961 available. (signbit): Use __builtin_signbit(f/l).
30962 (isfinite): Use__builtin_isfinite. (isnormal): Use
30963 __builtin_isnormal. (isnan): Use __builtin_isnan.
30964 (isinf): Use __builtin_isinf_sign.
30965
30966 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30967
30968 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30969 * benchtests/bench-math-inlines.c: New benchmark.
30970 * benchtests/bench-util.h: New file.
30971 * benchtests/bench-util.c: New file.
30972 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30973
30974 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30975
30976 * elf/tst-dlmopen1.c: Define TEST_SO.
30977 (do_test): Use TEST_SO.
30978
30979 * elf/dl-load.c: Include libc-internal.h.
30980 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30981
30982 2015-09-18 Vincent Bernat <vincent@bernat.im>
30983
30984 [BZ #17887]
30985 * time/strptime_l.c (__strptime_internal): Make %z accept
30986 [+-]HH:MM time zones.
30987
30988 2015-09-18 Vincent Bernat <vincent@bernat.im>
30989
30990 [BZ #17886]
30991 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30992 valid time zone.
30993
30994 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30995
30996 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30997 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30998 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30999 (__ASSUME_FDATASYNC): Delete.
31000
31001 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31002
31003 * conform/linknamespace.pl: Require weak undefined symbols to be
31004 in the standard namespace.
31005 (%strong_syms): Rename to %seen_syms.
31006 (%strong_seen): Rename to %seen_where.
31007
31008 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31009
31010 [BZ #18970]
31011 * misc/error.c (error): Replace pthread_setcancelstate with
31012 __pthread_setcancelstate.
31013 (error_at_line): Likewise.
31014 * posix/wordexp.c (parse_comm): Likewise.
31015 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31016 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31017 (__pthread_setcancelstate): This.
31018 (pthread_setcancelstate): Add an alias.
31019 * nptl/nptl-init.c (pthread_functions): Replace
31020 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31021 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31022 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31023 hidden_proto.
31024 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31025 it with hidden_def.
31026 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31027 (pthread_setcancelstate): Renamed to ...
31028 (__pthread_setcancelstate): This.
31029 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31030 __libc_ptf_call with __pthread_setcancelstate.
31031
31032 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31033 Andreas Schwab <schwab@suse.de>
31034
31035 [BZ #17118]
31036 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31037 result when imaginary part of argument is infinite using sine and
31038 cosine.
31039 * math/s_ctanf.c (__ctanf): Likewise.
31040 * math/s_ctanl.c (__ctanl): Likewise.
31041 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31042 of result when real part of argument is infinite using sine and
31043 cosine.
31044 * math/s_ctanhf.c (__ctanhf): Likewise.
31045 * math/s_ctanhl.c (__ctanhl): Likewise.
31046 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31047 (ctanh_test_data): Add more tests of ctanh.
31048
31049 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31050
31051 [BZ #15384]
31052 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31053 bit-mask as in subtraction.
31054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31055 Likewise.
31056 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31057 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31059
31060 [BZ #18951]
31061 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31062 underflow exception for small results.
31063 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31064 Likewise.
31065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31066 Likewise.
31067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31068 Likewise.
31069 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31070 Likewise.
31071 * math/auto-libm-test-in: Add more tests of tgamma.
31072 * math/auto-libm-test-out: Regenerated.
31073
31074 2015-09-17 Andreas Schwab <schwab@suse.de>
31075
31076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31077
31078 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31079
31080 [BZ #18977]
31081 * math/bits/mathcalls.h
31082 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31083 not declare.
31084 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31085 Likewise.
31086 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31087 Likewise.
31088 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31089 Likewise.
31090 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31091 Likewise.
31092 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31093 Likewise.
31094 * conform/data/math.h-data
31095 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31096 function.
31097 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31098 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31099 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31100 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31101 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31102 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31103 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31104 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31105 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31106 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31107 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31108
31109 [BZ #6803]
31110 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31111 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31112 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31113 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31114 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31115 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31116 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31117 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31118 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31120 Likewise.
31121 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31122 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31123 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31124 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31125 long_double_symbol calls.
31126 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31127 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31128 strong alias of __ldexpl.
31129 (scalbnl): Define using long_double_symbol.
31130 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31131 Remove alias.
31132 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31133 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31134 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31135 (scalbln_test_data): Add more errno expectations.
31136
31137 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31138
31139 Cache the host port like we cache the task port. This way we do not
31140 need to call the kernel just to get the port. Furthermore, we no
31141 longer increase the reference count on every invocation of
31142 `mach_host_self'.
31143
31144 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31145 Protect declarations against the macro expansion.
31146 * mach/mach_init.c (__mach_host_self_): New variable.
31147 (mach_init): Initialize `__mach_host_self_'.
31148 * mach/mach_init.h (__mach_host_self_): New declaration.
31149 (__mach_host_self, mach_host_self): New macros.
31150 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31151 Release reference.
31152
31153 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31154
31155 [BZ #4404]
31156 * po/de.po: Update from Translation Project.
31157
31158 [BZ #16415]
31159 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31160 (__expm1l): Remove code to handle positive infinity and overflow.
31161 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31162 variable.
31163 (__expm1l): Remove code to handle positive infinity and overflow.
31164
31165 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31166 Paul Pluzhnikov <ppluzhnikov@google.com>
31167
31168 [BZ #18872]
31169 * stdio-common/Makefile (tst-printf-bz18872): New test.
31170 (tst-printf-bz18872-mem.out): Likewise.
31171 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31172 * stdio-common/vfprintf.c: Fix memory leaks.
31173
31174 2015-09-16 Andreas Schwab <schwab@suse.de>
31175
31176 [BZ #17244]
31177 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31178 Remove extra va_start/va_end calls.
31179
31180 [BZ #17243]
31181 * posix/execl.c (execl): Add missing va_end.
31182 * posix/execle.c (execle): Likewise.
31183 * posix/execlp.c (execlp): Likewise.
31184
31185 2015-09-15 Roland McGrath <roland@hack.frob.com>
31186
31187 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31188 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31189
31190 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31191
31192 [BZ #18967]
31193 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31194 undefine around includes of <bits/mathcalls.h>.
31195 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31196 not declare function.
31197 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31198 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31199 (scalb): Likewise.
31200 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31201 not define macro.
31202 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31203 variable.
31204 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31205 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31206 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31207
31208 [BZ #18857]
31209 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31210 return non-finite argument without doing ordered comparisons on
31211 it.
31212
31213 [BZ #16296]
31214 * math/fenv.h (fegetround): Use __attribute_pure__.
31215 * include/fenv.h (__fegetround): Likewise.
31216
31217 [BZ #18595]
31218 * math/s_ctan.c (__ctan): Force underflow exception for results
31219 whose real or imaginary part has small absolute value.
31220 * math/s_ctanf.c (__ctanf): Likewise.
31221 * math/s_ctanh.c (__ctanh): Likewise.
31222 * math/s_ctanhf.c (__ctanhf): Likewise.
31223 * math/s_ctanhl.c (__ctanhl): Likewise.
31224 * math/s_ctanl.c (__ctanl): Likewise.
31225 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31226 and ctanh. Add more tests of ctan and ctanh.
31227
31228 [BZ #15918]
31229 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31230 handling of cases where one argument is an infinity.
31231
31232 [BZ #18875]
31233 [BZ #18966]
31234 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31235 (MO): New macro.
31236 (__ieee754_exp10): For small results, force underflow exception
31237 and remove excess range and precision from return value.
31238 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31239 (MO): New macro.
31240 (__ieee754_exp10f): For small results, force underflow exception
31241 and remove excess range and precision from return value.
31242 * math/auto-libm-test-in: Add more tests of exp10.
31243 * math/auto-libm-test-out: Regenerated.
31244
31245 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31246
31247 [BZ #18875]
31248 [BZ #18961]
31249 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31250 (MO): New macro.
31251 (__ieee754_exp): For small results, force underflow exception and
31252 remove excess range and precision from return value.
31253 (__exp_finite): Likewise.
31254 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31255 (MO): New macro.
31256 (__ieee754_expf): For small results, force underflow exception and
31257 remove excess range and precision from return value.
31258 (__expf_finite): Likewise.
31259 * math/auto-libm-test-in: Add more tests of exp.
31260 * math/auto-libm-test-out: Regenerated.
31261
31262 [BZ #16521]
31263 [BZ #18875]
31264 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31265 small results.
31266 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31267 (MO): New macro.
31268 (__ieee754_exp2): For small results, force underflow exception and
31269 remove excess range and precision from return value.
31270 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31271 (MO): New macro.
31272 (__ieee754_exp2f): For small results, force underflow exception
31273 and remove excess range and precision from return value.
31274 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31275 (MO): New macro.
31276 (__ieee754_exp2l): Force underflow exception for small results.
31277 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31278 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31279 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31280 (MO): New macro.
31281 (__ieee754_exp2l): Force underflow exception for small results.
31282 * math/auto-libm-test-in: Add more tests or exp2.
31283 * math/auto-libm-test-out: Regenerated.
31284
31285 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31286
31287 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31288
31289 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31290 /dev/null.
31291
31292 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31293
31294 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31295 io fs process)): Drop spurious backslash.
31296
31297 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31298
31299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31300 Use sysinfo system call instead of parsing /proc/meminfo.
31301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31302 Likewise.
31303
31304 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31305
31306 [BZ #16985]
31307 * programs/localedef.c (main): Display argv[remaining] when
31308 output_path is NULL.
31309
31310 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31311
31312 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31313 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31314 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31315 tanh.
31316 * math/auto-libm-test-out: Regenerated.
31317 * sysdeps/i386/fpu/libm-test-ulps: Update.
31318 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31319 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31321
31322 2015-09-11 Roland McGrath <roland@hack.frob.com>
31323
31324 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31325 Use 'override' keyword to freeze the value here, preventing
31326 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31327
31328 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31329
31330 [BZ #14912]
31331 * sysdeps/aarch64/bits/atomic.h: Move to ...
31332 * sysdeps/aarch64/atomic-machine.h: ...here.
31333 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31334 _AARCH64_ATOMIC_MACHINE_H.
31335 * sysdeps/alpha/bits/atomic.h: Move to ...
31336 * sysdeps/alpha/atomic-machine.h: ...here.
31337 * sysdeps/arm/bits/atomic.h: Move to ...
31338 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31339 * bits/atomic.h: Move to ...
31340 * sysdeps/generic/atomic-machine.h: ...here.
31341 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31342 * sysdeps/i386/bits/atomic.h: Move to ...
31343 * sysdeps/i386/atomic-machine.h: ...here.
31344 * sysdeps/ia64/bits/atomic.h: Move to ...
31345 * sysdeps/ia64/atomic-machine.h: ...here.
31346 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31347 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31348 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31349 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31350 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31351 * sysdeps/microblaze/bits/atomic.h: Move to ...
31352 * sysdeps/microblaze/atomic-machine.h: ...here.
31353 * sysdeps/mips/bits/atomic.h: Move to ...
31354 * sysdeps/mips/atomic-machine.h: ...here.
31355 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31356 * sysdeps/powerpc/bits/atomic.h: Move to ...
31357 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31358 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31359 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31360 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31361 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31362 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31363 <atomic-machine.h> instead of <bits/atomic.h>.
31364 * sysdeps/s390/bits/atomic.h: Move to ...
31365 * sysdeps/s390/atomic-machine.h: ...here.
31366 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31367 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31368 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31369 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31370 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31371 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31372 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31373 * sysdeps/tile/bits/atomic.h: Move to ...
31374 * sysdeps/tile/atomic-machine.h: ...here.
31375 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31376 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31377 <sysdeps/tile/atomic-machine.h> instead of
31378 <sysdeps/tile/bits/atomic.h>.
31379 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31380 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31381 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31382 <sysdeps/tile/atomic-machine.h> instead of
31383 <sysdeps/tile/bits/atomic.h>.
31384 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31385 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31386 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31387 <sysdeps/arm/atomic-machine.h> instead of
31388 <sysdeps/arm/bits/atomic.h>.
31389 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31390 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31391 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31392 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31393 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31394 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31395 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31396 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31397 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31398 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31399 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31400 * sysdeps/x86_64/bits/atomic.h: Move to ...
31401 * sysdeps/x86_64/atomic-machine.h: ...here.
31402 * include/atomic.h: Include <atomic-machine.h> instead of
31403 <bits/atomic.h>.
31404
31405 * sysdeps/mips/mips32/libm-test-ulps: Update.
31406 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31407
31408 [BZ #18952]
31409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31410 not convert non-integer negative arguments to int to determine the
31411 value of signgam.
31412 * math/auto-libm-test-in: Add more tests of lgamma.
31413 * math/auto-libm-test-out: Regenerated.
31414
31415 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31416 cosh, csqrt, erfc, expm1 and lgamma.
31417 * math/auto-libm-test-out: Regenerated.
31418 * sysdeps/i386/fpu/libm-test-ulps: Update.
31419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31420
31421 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31422
31423 [BZ #2542]
31424 [BZ #2543]
31425 [BZ #2558]
31426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31427 __lgamma_neg for arguments from -28.0 to -2.0.
31428 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31429 __lgamma_negf for arguments from -15.0 to -2.0.
31430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31431 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31432 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31433 Call __lgamma_negl for arguments from -33.0 to -2.0.
31434 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31435 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31436 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31437 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31438 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31444 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31445 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31446 (__lgamma_neg): Likewise.
31447 (__lgamma_negl): Likewise.
31448 (__lgamma_product): Likewise.
31449 (__lgamma_productl): Likewise.
31450 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31451 * math/auto-libm-test-in: Add more tests of lgamma.
31452 * math/auto-libm-test-out: Regenerated.
31453 * sysdeps/i386/fpu/libm-test-ulps: Update.
31454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31455
31456 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31457
31458 [BZ #18675]
31459 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31460
31461 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31462
31463 [BZ #14912]
31464 * bits/libc-lock.h: Move to ...
31465 * sysdeps/generic/libc-lock.h: ...here.
31466 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31467 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31468 * sysdeps/mach/hurd/libc-lock.h: ...here.
31469 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31470 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31471 * sysdeps/mach/bits/libc-lock.h: Move to ...
31472 * sysdeps/mach/libc-lock.h: ...here.
31473 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31474 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31475 * sysdeps/nptl/libc-lock.h: ...here.
31476 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31477 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31478 * sysdeps/nptl/libc-lockP.h: ...here.
31479 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31480 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31481 <bits/libc-lock.h>.
31482 * dirent/scandir-tail.c: Likewise.
31483 * dlfcn/dlerror.c: Likewise.
31484 * elf/dl-close.c: Likewise.
31485 * elf/dl-iteratephdr.c: Likewise.
31486 * elf/dl-lookup.c: Likewise.
31487 * elf/dl-open.c: Likewise.
31488 * elf/dl-support.c: Likewise.
31489 * elf/dl-writev.h: Likewise.
31490 * elf/rtld.c: Likewise.
31491 * grp/fgetgrent.c: Likewise.
31492 * gshadow/fgetsgent.c: Likewise.
31493 * gshadow/sgetsgent.c: Likewise.
31494 * iconv/gconv_conf.c: Likewise.
31495 * iconv/gconv_db.c: Likewise.
31496 * iconv/gconv_dl.c: Likewise.
31497 * iconv/gconv_int.h: Likewise.
31498 * iconv/gconv_trans.c: Likewise.
31499 * include/link.h: Likewise.
31500 * inet/getnameinfo.c: Likewise.
31501 * inet/getnetgrent.c: Likewise.
31502 * inet/getnetgrent_r.c: Likewise.
31503 * intl/bindtextdom.c: Likewise.
31504 * intl/dcigettext.c: Likewise.
31505 * intl/finddomain.c: Likewise.
31506 * intl/gettextP.h: Likewise.
31507 * intl/loadmsgcat.c: Likewise.
31508 * intl/localealias.c: Likewise.
31509 * intl/textdomain.c: Likewise.
31510 * libidn/idn-stub.c: Likewise.
31511 * libio/libioP.h: Likewise.
31512 * locale/duplocale.c: Likewise.
31513 * locale/freelocale.c: Likewise.
31514 * locale/newlocale.c: Likewise.
31515 * locale/setlocale.c: Likewise.
31516 * login/getutent_r.c: Likewise.
31517 * login/getutid_r.c: Likewise.
31518 * login/getutline_r.c: Likewise.
31519 * login/utmp-private.h: Likewise.
31520 * login/utmpname.c: Likewise.
31521 * malloc/mtrace.c: Likewise.
31522 * misc/efgcvt.c: Likewise.
31523 * misc/error.c: Likewise.
31524 * misc/fstab.c: Likewise.
31525 * misc/getpass.c: Likewise.
31526 * misc/mntent.c: Likewise.
31527 * misc/syslog.c: Likewise.
31528 * nis/nis_call.c: Likewise.
31529 * nis/nis_callback.c: Likewise.
31530 * nis/nss-default.c: Likewise.
31531 * nis/nss_compat/compat-grp.c: Likewise.
31532 * nis/nss_compat/compat-initgroups.c: Likewise.
31533 * nis/nss_compat/compat-pwd.c: Likewise.
31534 * nis/nss_compat/compat-spwd.c: Likewise.
31535 * nis/nss_nis/nis-alias.c: Likewise.
31536 * nis/nss_nis/nis-ethers.c: Likewise.
31537 * nis/nss_nis/nis-grp.c: Likewise.
31538 * nis/nss_nis/nis-hosts.c: Likewise.
31539 * nis/nss_nis/nis-network.c: Likewise.
31540 * nis/nss_nis/nis-proto.c: Likewise.
31541 * nis/nss_nis/nis-pwd.c: Likewise.
31542 * nis/nss_nis/nis-rpc.c: Likewise.
31543 * nis/nss_nis/nis-service.c: Likewise.
31544 * nis/nss_nis/nis-spwd.c: Likewise.
31545 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31546 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31547 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31548 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31549 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31550 * nis/nss_nisplus/nisplus-network.c: Likewise.
31551 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31552 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31553 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31554 * nis/nss_nisplus/nisplus-service.c: Likewise.
31555 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31556 * nis/ypclnt.c: Likewise.
31557 * nptl/libc_pthread_init.c: Likewise.
31558 * nss/getXXbyYY.c: Likewise.
31559 * nss/getXXent.c: Likewise.
31560 * nss/getXXent_r.c: Likewise.
31561 * nss/nss_db/db-XXX.c: Likewise.
31562 * nss/nss_db/db-netgrp.c: Likewise.
31563 * nss/nss_db/nss_db.h: Likewise.
31564 * nss/nss_files/files-XXX.c: Likewise.
31565 * nss/nss_files/files-alias.c: Likewise.
31566 * nss/nsswitch.c: Likewise.
31567 * posix/regex_internal.h: Likewise.
31568 * posix/wordexp.c: Likewise.
31569 * pwd/fgetpwent.c: Likewise.
31570 * resolv/res_hconf.c: Likewise.
31571 * resolv/res_libc.c: Likewise.
31572 * shadow/fgetspent.c: Likewise.
31573 * shadow/lckpwdf.c: Likewise.
31574 * shadow/sgetspent.c: Likewise.
31575 * socket/opensock.c: Likewise.
31576 * stdio-common/reg-modifier.c: Likewise.
31577 * stdio-common/reg-printf.c: Likewise.
31578 * stdio-common/reg-type.c: Likewise.
31579 * stdio-common/vfprintf.c: Likewise.
31580 * stdio-common/vfscanf.c: Likewise.
31581 * stdlib/abort.c: Likewise.
31582 * stdlib/cxa_atexit.c: Likewise.
31583 * stdlib/fmtmsg.c: Likewise.
31584 * stdlib/random.c: Likewise.
31585 * stdlib/setenv.c: Likewise.
31586 * string/strsignal.c: Likewise.
31587 * sunrpc/auth_none.c: Likewise.
31588 * sunrpc/bindrsvprt.c: Likewise.
31589 * sunrpc/create_xid.c: Likewise.
31590 * sunrpc/key_call.c: Likewise.
31591 * sunrpc/rpc_thread.c: Likewise.
31592 * sysdeps/arm/backtrace.c: Likewise.
31593 * sysdeps/generic/ldsodefs.h: Likewise.
31594 * sysdeps/generic/stdio-lock.h: Likewise.
31595 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31596 * sysdeps/i386/backtrace.c: Likewise.
31597 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31598 * sysdeps/m68k/backtrace.c: Likewise.
31599 * sysdeps/mach/hurd/cthreads.c: Likewise.
31600 * sysdeps/mach/hurd/dirstream.h: Likewise.
31601 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31602 * sysdeps/nptl/malloc-machine.h: Likewise.
31603 * sysdeps/nptl/stdio-lock.h: Likewise.
31604 * sysdeps/posix/dirstream.h: Likewise.
31605 * sysdeps/posix/getaddrinfo.c: Likewise.
31606 * sysdeps/posix/system.c: Likewise.
31607 * sysdeps/pthread/aio_suspend.c: Likewise.
31608 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31609 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31610 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31611 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31612 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31613 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31614 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31615 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31616 * sysdeps/unix/sysv/linux/system.c: Likewise.
31617 * sysdeps/x86_64/backtrace.c: Likewise.
31618 * time/alt_digit.c: Likewise.
31619 * time/era.c: Likewise.
31620 * time/tzset.c: Likewise.
31621 * wcsmbs/wcsmbsload.c: Likewise.
31622 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31623 instead of <bits/libc-lock.h> in comment.
31624
31625 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31626
31627 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31628 Only use .set mips2 if the current ISA is below mips2.
31629 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31630 Likewise.
31631 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31632 mips32r2 if the current ISA is below mips32r2.
31633 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31634 (TLS_IE): Updated to use the TLD_RDHWR macro.
31635 (TLS_LE): Likewise.
31636 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31637 __ASSEMBLER__ condition.
31638
31639 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31640
31641 Fix parallel build of before-compile targets.
31642
31643 * sysdeps/mach/Makefile ($(patsubst
31644 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31645 mach-before-compile target.
31646 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31647 io fs process)): Move rule to dedicated hurd-before-compile target.
31648
31649 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31650
31651 Fix rules generating headers in hurd/ and mach/ when initial make call
31652 has subdir= explicitly set.
31653
31654 * sysdeps/mach/Makefile ($(patsubst
31655 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31656 calling $(MAKE).
31657 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31658 io fs process)): Force subdir to hurd when calling $(MAKE).
31659 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31660 subdir to mach when calling $(MAKE).
31661
31662 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31663
31664 Check sysheaders when looking for Mach and Hurd headers
31665
31666 * sysdeps/mach/configure.ac: Add sysheaders check.
31667 * sysdeps/mach/configure: Regenerate.
31668 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31669 * sysdeps/mach/hurd/configure: Regenerate.
31670
31671 2015-09-04 Roland McGrath <roland@hack.frob.com>
31672
31673 [BZ #18921]
31674 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31675 Fix inverted sense of test of 'o_directory_works' value.
31676 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31677 Bernhard Voelker <mail@bernhard-voelker.de>.
31678
31679 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31680
31681 [BZ #14912]
31682 * bits/linkmap.h: Move to ...
31683 * sysdeps/generic/linkmap.h: ...here.
31684 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31685 * sysdeps/aarch64/linkmap.h: ...here.
31686 * sysdeps/arm/bits/linkmap.h: Move to ...
31687 * sysdeps/arm/linkmap.h: ...here.
31688 * sysdeps/hppa/bits/linkmap.h: Move to ...
31689 * sysdeps/hppa/linkmap.h: ...here.
31690 * sysdeps/ia64/bits/linkmap.h: Move to ...
31691 * sysdeps/ia64/linkmap.h: ...here.
31692 * sysdeps/mips/bits/linkmap.h: Move to ...
31693 * sysdeps/mips/linkmap.h: ...here.
31694 * sysdeps/s390/bits/linkmap.h: Move to ...
31695 * sysdeps/s390/linkmap.h: ...here.
31696 * sysdeps/sh/bits/linkmap.h: Move to ...
31697 * sysdeps/sh/linkmap.h: ...here.
31698 * sysdeps/x86/bits/linkmap.h: Move to ...
31699 * sysdeps/x86/linkmap.h: ...here.
31700 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31701
31702 2015-09-04 Andreas Schwab <schwab@suse.de>
31703
31704 [BZ #18635]
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31706 (__makecontext): Terminate FDE before return label.
31707 (__novec_makecontext): Likewise.
31708
31709 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31710
31711 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31712 first member of struct sv in syscall macro.
31713
31714 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31715
31716 [BZ #14912]
31717 * bits/stdio-lock.h: Move to ...
31718 * sysdeps/generic/stdio-lock.h: ...here.
31719 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31720 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31721 * sysdeps/nptl/stdio-lock.h: ...here.
31722 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31723 * include/libio.h: Include <stdio-lock.h> instead of
31724 <bits/stdio-lock.h>.
31725 * sysdeps/nptl/fork.c: Likewise.
31726 * sysdeps/pthread/flockfile.c: Likewise.
31727 * sysdeps/pthread/ftrylockfile.c: Likewise.
31728 * sysdeps/pthread/funlockfile.c: Likewise.
31729
31730 [BZ #14912]
31731 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31732 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31733 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31734 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31735 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31736 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31737 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31738
31739 2015-09-03 Roland McGrath <roland@hack.frob.com>
31740
31741 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31742 (test-xfail-tst-protected1b): New variable.
31743
31744 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31745
31746 [BZ #14912]
31747 * bits/libc-tsd.h: Move to ...
31748 * sysdeps/generic/libc-tsd.h: ...here.
31749 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31750 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31751 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31752 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31753 * include/ctype.h: Include <libc-tsd.h> instead of
31754 <bits/libc-tsd.h>.
31755 * include/rpc/rpc.h: Likewise.
31756 * locale/localeinfo.h: Likewise.
31757 * sunrpc/rpc_thread.c: Likewise.
31758 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31759 * sysdeps/nptl/malloc-machine.h: Likewise.
31760
31761 * Makefile (headers): Remove bits/libc-lock.h.
31762 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31763
31764 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31765 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31766 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31767 <bits/stdio-lock.h>.
31768 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31769 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31770
31771 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31772
31773 [BZ #18757]
31774 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31775 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31776 BZ #18757.
31777
31778 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31779
31780 * malloc/mtrace.pl: Filter out NULL entries.
31781
31782 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31783
31784 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31785 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31786 macro.
31787
31788 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31789 (TCP_CC_INFO): Likewise.
31790 (TCP_SAVE_SYN): Likewise.
31791 (TCP_SAVED_SYN): Likewise.
31792
31793 2015-08-31 Brett Neumeier <brett@neumeier.us>
31794
31795 [BZ #18870]
31796 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31797
31798 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31799
31800 [BZ #18873]
31801 Fix broken overflow check in posix_fallocate
31802 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31803 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31804 Fix parenthesization typo.
31805
31806 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31807
31808 [BZ #18887]
31809 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31810 tst-mntent-blank-passno.
31811 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31812 * misc/tst-mntent-blank-corrupt.c: New test.
31813 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31814 * misc/tst-mntent.c (do_test): ... here.
31815
31816 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31817
31818 [BZ #4404]
31819 * po/de.po: Fix SIGALRM typo.
31820
31821 2015-08-28 James Perkins <james@loowit.net>
31822
31823 * time/tst-strptime2.c (tests): Replace short list of test
31824 strings for strptime %z specifier with code which exhaustively
31825 tests every combination of sign and 0 to 5 digits. Tests for
31826 rejection of invalid strings.
31827
31828 2015-08-28 James Perkins <james@loowit.net>
31829
31830 [BZ #16141]
31831 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31832 calculation, removing incorrect decimal time rounding, so that
31833 all minute values result in a valid seconds value.
31834 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31835 offset range limits to UTC-99:59 through UTC+99:59 to parse
31836 current and historical use cases.
31837 * time/tst-strptime2.c (tests): Modify and add tests for the
31838 strptime %z input field descriptor, specifically conversion of
31839 minutes to seconds and validating an offset range of -9959 to
31840 +9959.
31841
31842 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31843 Dmitry V. Levin <ldv@altlinux.org>
31844
31845 [BZ #18877]
31846 * posix/Makefile (tests): Add tst-mmap-offset.
31847 * posix/tst-mmap.c: New file.
31848 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31849 offset calculation for negative values.
31850
31851 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * sysdeps/i386/init-arch.h: New file.
31854 * sysdeps/i386/i586/init-arch.h: Likewise.
31855 * sysdeps/i386/i686/init-arch.h: Likewise.
31856 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31857 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31858 * sysdeps/x86/cpu-features.h (bit_I586): New.
31859 (bit_I686): Likewise.
31860 (bit_CX8): Likewise.
31861 (bit_CMOV): Likewise.
31862 (index_CX8): Likewise.
31863 (index_CMOV): Likewise.
31864 (index_I586): Likewise.
31865 (index_I686): Likewise.
31866 (reg_CX8): Likewise.
31867 (reg_CMOV): Likewise.
31868 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31869 available at compile-time.
31870 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31871 available at compile-time.
31872 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31873 (USE_I686): Likewise.
31874
31875 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31876
31877 * sysdeps/i386/bcopy.S: New file.
31878 * sysdeps/i386/bzero.S: Likewise.
31879 * sysdeps/i386/memcpy.S: Likewise.
31880 * sysdeps/i386/memmove.S: Likewise.
31881 * sysdeps/i386/mempcpy.S: Likewise.
31882 * sysdeps/i386/memset.S: Likewise.
31883 * sysdeps/i386/bzero.c: Removed.
31884 * sysdeps/i386/memset.c: Likewise.
31885 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31886 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31887 * sysdeps/i386/i586/memset_chk.S: Likewise.
31888 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31889 * sysdeps/i386/memcpy_chk.S: Here.
31890 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31891 * sysdeps/i386/memmove_chk.S: Here.
31892 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31893 * sysdeps/i386/mempcpy_chk.S: Likewise.
31894 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31895 * sysdeps/i386/memset_chk.S: Likewise.
31896
31897 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31898
31899 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31900 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31901 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31902 * soft-fp/fmadf4.c: Ditto.
31903 * soft-fp/fmatf4.c: Ditto.
31904
31905 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31906
31907 * sysdeps/i386/i586/Implies: Removed.
31908 * sysdeps/i386/i686/Implies: Likewise.
31909
31910 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31911
31912 * sysdeps/i386/i486/strlen.S: Moved to ...
31913 * sysdeps/i386/strlen.S: Here.
31914
31915 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31916
31917 * sysdeps/i386/i486/strcat.S: Moved to ...
31918 * sysdeps/i386/strcat.S: Here.
31919
31920 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31921
31922 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31923 * sysdeps/i386/pthread_spin_trylock.S: Here.
31924 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31925 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31926
31927 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31928
31929 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31930 * sysdeps/i386/string-inlines.c: Here.
31931
31932 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31933
31934 * sysdeps/i386/i486/htonl.S: Moved ...
31935 * sysdeps/i386/htonl.S: here.
31936
31937 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31938
31939 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31940 * sysdeps/i386/bits/atomic.h: Here.
31941
31942 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/i386/i486/Versions: Removed.
31945
31946 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31947
31948 [BZ #2898]
31949 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31950 Based on patch by Aurelien Jarno.
31951
31952 2015-08-26 Stan Shebs <stanshebs@google.com>
31953
31954 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31955 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31956
31957 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31958
31959 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31960 * sysdeps/powerpc/dl-procinfo.c:
31961 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31962 feature so it shows when LD_SHOW_AUXV=1.
31963
31964 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31965
31966 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31967 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31968 definition. ISA 2.07B no longer requires full sync.
31969
31970 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31971
31972 [BZ #18863]
31973 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31974 (si_call_addr): Define.
31975 (si_syscall): Define.
31976 (si_arch): Define.
31977
31978 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31979
31980 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31981 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31982 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31983 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31984 (__memset_zero_constant_len_parameter): New.
31985 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31986 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31987 (__memset_zero_constant_len_parameter): Don't define if
31988 __memset_chk or USE_AS_BZERO are defined.
31989
31990 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31991 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31992 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31993
31994 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31995 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31996 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31997 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31998 comments.
31999 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32000 -mno-mmx for $(all-rtld-routines).
32001 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32002 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32003 i386.
32004
32005 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32006
32007 * sysdeps/generic/unwind.h
32008 (_Unwind_Word): Use __mode__(__unwind_word__)
32009 instead of __mode__(__word__).
32010 (_Unwind_Sword): Likewise.
32011
32012 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32013 (MAX_NEEDED_INPUT): New define.
32014 (MAX_NEEDED_OUTPUT): New define.
32015
32016 * NEWS: New item for IBM z13 string optimizations.
32017
32018 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32019 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32020 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32021 * sysdeps/s390/multiarch/Makefile
32022 (sysdep_routines): Add memrchr functions.
32023 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32024 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32025
32026 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32027 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32028 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32029 * sysdeps/s390/multiarch/Makefile
32030 (sysdep_routines): Add wmemcmp functions.
32031 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32032 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32033 * benchtests/bench-wmemcmp.c: New File.
32034 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32035
32036 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32037 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32038 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32039 * sysdeps/s390/multiarch/Makefile
32040 (sysdep_routines): Add wmemset functions.
32041 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32042 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32043 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32044 * string/test-memset.c: Add wmemset support.
32045 * wcsmbs/test-wmemset.c: New File.
32046 * wcsmbs/Makefile (strop-tests): Add wmemset.
32047 * benchtests/bench-memset.c: Add wmemset support.
32048 * benchtests/bench-wmemset.c: New File.
32049 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32050
32051 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32052 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32053 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32054 * sysdeps/s390/multiarch/Makefile
32055 (sysdep_routines): Add memccpy functions.
32056 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32057 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32058 * string/memccpy.c: Use MEMCCPY if defined.
32059
32060 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32061 * sysdeps/s390/multiarch/memchr.c: Likewise.
32062 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32063 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32064 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32065 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32066 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32067 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32068 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32069 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32070 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32071 and rawmemchr functions.
32072 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32073 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32074 and wmemchr.
32075 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32076 * string/test-memchr.c: Add wmemchr support.
32077 * wcsmbs/test-wmemchr.c: New File.
32078 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32079 * benchtests/bench-memchr.c: Add wmemchr support.
32080 * benchtests/bench-wmemchr.c: New File.
32081 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32082
32083 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32084 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32085 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32086 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32087 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32088 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32089 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32090 wcscspn functions.
32091 * sysdeps/s390/multiarch/ifunc-impl-list.c
32092 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32093 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32094 * string/test-strcspn.c: Add wcscspn support.
32095 * wcsmbs/test-wcscspn.c: New File.
32096 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32097 * benchtests/bench-strcspn.c: Add wcscspn support.
32098 * benchtests/bench-wcscspn.c: New File.
32099 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32100
32101 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32102 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32103 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32104 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32105 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32106 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32108 wcspbrk functions.
32109 * sysdeps/s390/multiarch/ifunc-impl-list.c
32110 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32111 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32112 * string/test-strpbrk.c: Add wcspbrk support.
32113 * wcsmbs/test-wcspbrk.c: New File.
32114 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32115 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32116 * benchtests/bench-wcspbrk.c: New File.
32117 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32118
32119 * sysdeps/s390/multiarch/strspn-c.c: New File.
32120 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32121 * sysdeps/s390/multiarch/strspn.c: Likewise.
32122 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32123 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32124 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32125 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32126 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32127 wcsspn functions.
32128 * sysdeps/s390/multiarch/ifunc-impl-list.c
32129 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32130 * string/test-strspn.c: Add wcsspn support.
32131 * wcsmbs/test-wcsspn.c: New File.
32132 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32133 * benchtests/bench-strspn.c: Add wcsspn support.
32134 * benchtests/bench-wcsspn.c: New File.
32135 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32136
32137 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32138 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32139 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32140 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32141 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32142 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32143 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32144 wcsrchr functions.
32145 * sysdeps/s390/multiarch/ifunc-impl-list.c
32146 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32147 * benchtests/bench-wcsrchr.c: New File.
32148 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32149
32150 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32151 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32152 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32153 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32154 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32155 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32156 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32157 wcschrnul functions.
32158 * sysdeps/s390/multiarch/ifunc-impl-list.c
32159 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32160 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32161 * string/test-strchr.c: Add wcschrnul support.
32162 * wcsmbs/test-wcschrnul.c: New File.
32163 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32164 * benchtests/bench-strchr.c: Add wcschrnul support.
32165 * benchtests/bench-wcschrnul.c: New File.
32166 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32167
32168 * sysdeps/s390/multiarch/strchr-c.c: New File.
32169 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32170 * sysdeps/s390/multiarch/strchr.c: Likewise.
32171 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32172 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32173 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32174 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32175 wcschr functions.
32176 * sysdeps/s390/multiarch/ifunc-impl-list.c
32177 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32178 * string/strchr.c (STRCHR): Define and use macro.
32179 * benchtests/bench-wcschr.c: New File.
32180 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32181
32182 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32183 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32184 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32185 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32186 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32187 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32188 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32189 wcsncmp functions.
32190 * sysdeps/s390/multiarch/ifunc-impl-list.c
32191 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32192 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32193 * benchtests/bench-strncmp.c: Add wcsncmp support.
32194 * benchtests/bench-wcsncmp.c: New File.
32195 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32196
32197 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32198 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32199 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32200 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32201 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32202 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32203 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32204 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32205 wcscmp functions.
32206 * sysdeps/s390/multiarch/ifunc-impl-list.c
32207 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32208 * string/strcmp.c (STRCMP): Define and use macro.
32209 * benchtests/bench-wcscmp.c: New File.
32210 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32211 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32212 instead of _HAVE_STRING_ARCH_memchr.
32213
32214 * sysdeps/s390/multiarch/strncat-c.c: New File.
32215 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32216 * sysdeps/s390/multiarch/strncat.c: Likewise.
32217 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32218 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32219 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32220 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32221 wcsncat functions.
32222 * sysdeps/s390/multiarch/ifunc-impl-list.c
32223 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32224 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32225 * string/test-strncat.c: Add wcsncat support.
32226 * wcsmbs/test-wcsncat.c: New File.
32227 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32228 * benchtests/bench-strncat.c: Add wcsncat support.
32229 * benchtests/bench-wcsncat.c: New File.
32230 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32231
32232 * sysdeps/s390/multiarch/strcat-c.c: New File.
32233 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32234 * sysdeps/s390/multiarch/strcat.c: Likewise.
32235 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32236 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32237 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32238 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32239 wcscat functions.
32240 * sysdeps/s390/multiarch/ifunc-impl-list.c
32241 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32242 * string/strcat.c (STRCAT): Define and use macro.
32243 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32244 * string/test-strcat.c: Add wcscat support.
32245 * wcsmbs/test-wcscat.c: New File.
32246 * wcsmbs/Makefile (strop-tests): Add wcscat.
32247 * benchtests/bench-strcat.c: Add wcscat support.
32248 * benchtests/bench-wcscat.c: New File.
32249 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32250
32251 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32252 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32253 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32254 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32255 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32256 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32257 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32258 wcpncpy functions.
32259 * sysdeps/s390/multiarch/ifunc-impl-list.c
32260 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32261 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32262 * string/test-stpncpy.c: Add wcpncpy support.
32263 * wcsmbs/test-wcpncpy.c: New File.
32264 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32265 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32266 * benchtests/bench-wcpncpy.c: New File.
32267 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32268
32269 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32270 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32271 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32272 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32273 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32274 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32275 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32276 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32277 wcsncpy functions.
32278 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32279 * sysdeps/s390/multiarch/ifunc-impl-list.c
32280 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32281 * string/test-strncpy.c: Add wcsncpy support.
32282 * wcsmbs/test-wcsncpy.c: New File.
32283 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32284 * benchtests/bench-strncpy.c: Add wcsncpy support.
32285 * benchtests/bench-wcsncpy.c: New File.
32286 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32287
32288 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32289 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32290 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32291 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32292 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32293 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32294 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32295 wcpcpy functions.
32296 * string/stpcpy.c: Use STPCPY if defined.
32297 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32298 * sysdeps/s390/multiarch/ifunc-impl-list.c
32299 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32300 * string/test-stpcpy.c: Add wcpcpy support.
32301 * wcsmbs/test-wcpcpy.c: New File.
32302 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32303 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32304 * benchtests/bench-wcpcpy.c: New File.
32305 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32306
32307 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32308 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32309 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32310 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32311 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32312 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32313 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32314 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32315 wcscpy functions.
32316 * sysdeps/s390/multiarch/ifunc-impl-list.c
32317 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32318 * benchtests/bench-wcscpy.c: New File.
32319 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32320
32321 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32322 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32323 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32324 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32325 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32326 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32327 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32328 wcsnlen functions.
32329 * sysdeps/s390/multiarch/ifunc-impl-list.c
32330 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32331 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32332 * string/test-strnlen.c: Add wcsnlen support.
32333 * wcsmbs/test-wcsnlen.c: New File.
32334 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32335 * benchtests/bench-strnlen.c: Add wcsnlen support.
32336 * benchtests/bench-wcsnlen.c: New File.
32337 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32338
32339 * sysdeps/s390/multiarch/Makefile: New File.
32340 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32341 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32342 * sysdeps/s390/multiarch/strlen.c: Likewise.
32343 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32344 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32345 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32346 * string/strlen.c (STRLEN): Define and use macro.
32347 * sysdeps/s390/multiarch/ifunc-impl-list.c
32348 (IFUNC_VX_IMPL): New macro function.
32349 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32350 * benchtests/Makefile (wcsmbs-bench): New variable.
32351 (string-bench-all): Added wcsmbs-bench.
32352 * benchtests/bench-wcslen.c: New File.
32353
32354 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32355 s390_vx_libc_ifunc2): New macro function.
32356
32357 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32358 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32359 assembler support.
32360 * sysdeps/s390/configure: Regenerated.
32361
32362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32363 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32364
32365 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32366 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32368
32369 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32370 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32372 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32373 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32374 (memcmp, bcmp): Use __memcmp_default as alias source.
32375 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32376 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32377 Rename to __memcmp_default.
32378 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32379 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32380 (memcpy): Use __memcpy_default as alias source.
32381 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32382 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32383 Rename to __memcpy_default.
32384 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32385 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32386 (memset): Use __memset_default as alias source.
32387 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32388 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32389 Rename to __memset_default.
32390 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32391 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32392 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32393 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32394 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32395 (memcmp, bcmp): Use __memcmp_default as alias source.
32396 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32397 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32398 Rename to __memcmp_default.
32399 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32400 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32401 (memcpy): Use __memcpy_default as alias source.
32402 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32403 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32404 Rename to __memcpy_default.
32405 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32406 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32407 (memset): Use __memset_default as alias source.
32408 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32409 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32410 Rename to __memset_default.
32411 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32412 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32413
32414 [BZ #18610]
32415 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32416 __ieee_instruction_pointer to __unused.
32417 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32418 __ieee_instruction_pointer.
32419 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32420 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32421 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32422 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32423 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32424 Mark dxc-field as reserved.
32425
32426 2015-08-25 Roland McGrath <roland@hack.frob.com>
32427
32428 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32429 if the weak reference is not null.
32430
32431 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32432
32433 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32434
32435 [BZ #11214]
32436 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32437
32438 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32439
32440 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32441 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32442 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32443 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32444 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32445 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32446 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32447 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32448 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32449 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32450 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32451 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32452 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32453 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32454 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32455 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32456 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32457 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32458
32459 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32460
32461 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32462 register other than r0 for tabort, it has special meaning.
32463 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32464 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32465 transaction before starting syscall.
32466
32467 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32468
32469 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32470
32471 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32472
32473 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32474
32475 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32476 * sysdeps/x86_64/rtld-memset.S: Likewise.
32477 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32478 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32479 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32480 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32481
32482 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32483
32484 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32485
32486 * debug/strcpy_chk.c: Improve performance.
32487 * debug/stpcpy_chk.c: Likewise.
32488 * sysdeps/x86_64/strcpy_chk.S: Remove.
32489 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32490
32491 [BZ #18240]
32492 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32493
32494 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32495
32496 [BZ #15128]
32497 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32498 ifuncmain8.
32499 (modules-names): Add ifuncmod8.
32500 ($(objpfx)ifuncmain8): New rule.
32501 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32502 <cpuid.h>.
32503 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32504 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32505 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32506 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32507 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32508 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32509 * sysdeps/x86_64/ifuncmain8.c: New file.
32510 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32511 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32512 Removed.
32513 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32514 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32515 Change rtld_savespace_sse to __glibc_unused2.
32516 (RTLD_CHECK_FOREIGN_CALL): Removed.
32517 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32518 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32519 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32520
32521 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32522
32523 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32524
32525 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32526
32527 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32528 Unconditionally set __fpcr to avoid uninialized warning.
32529 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32530
32531 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32532
32533 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32534 is corrupt.
32535
32536 * malloc/arena.c (arena_get2): Drop unused argument.
32537 (arena_lock): Adjust.
32538 (arena_get_retry): Likewise.
32539
32540 2015-08-24 Andreas Schwab <schwab@suse.de>
32541
32542 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32543 Don't define.
32544 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32545 (__ASSUME_IPC64): Don't undef.
32546 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32547 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32548 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32549 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32550 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32551 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32552 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32553 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32554 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32555 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32556 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32557 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32558 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32559 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32560 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32561 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32562 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32563 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32564 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32565 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32566 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32567
32568 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32569
32570 * manual/Makefile (install): Only build manual when perl is available.
32571
32572 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32573
32574 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32575 '#undef memcpy' by '#undef memchr'.
32576
32577 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32578
32579 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32580 memchr not point to the internal __GI_memchr implementation.
32581
32582 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32583
32584 * timezone/Makefile (CFLAGS-zdump.c): Remove
32585 -Wno-strict-prototypes.
32586 (CFLAGS-zic.c): Likewise.
32587 (CFLAGS-ialloc.c): Likewise.
32588 (CFLAGS-scheck.c): Likewise.
32589
32590 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32591 -Wno-error=undef.
32592
32593 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32594
32595 * i386/i686/multiarch/strcasestr-c.c: Removed.
32596 * x86_64/multiarch/strcasestr.c: Likewise.
32597 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32598 Remove strcasestr.
32599
32600 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32601
32602 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32603
32604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32605 variables for high and low parts before possibly modifying them.
32606
32607 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32608
32609 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32610 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32611 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32612 of "multiarch/init-arch.h".
32613 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32614 * sysdeps/x86/init-arch.h: This.
32615
32616 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32617
32618 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32619 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32620
32621 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32622
32623 [BZ #17787]
32624 * manual/macros.texi: Add twoexp macro.
32625 * manual/filesys.texi: Fix exponents.
32626 * manual/llio.texi: Likewise.
32627 * manual/stdio.texi: Likewise.
32628
32629 2015-08-20 Florian Weimer <fweimer@redhat.com>
32630
32631 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32632 incorrect use.
32633
32634 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32635
32636 [BZ #18370]
32637 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32638 whose real or imaginary part has small absolute value.
32639 * math/s_csqrtf.c (__csqrtf): Likewise.
32640 * math/s_csqrtl.c (__csqrtl): Likewise.
32641 * math/auto-libm-test-in: Add more tests of csqrt.
32642 * math/auto-libm-test-out: Regenerated.
32643 * sysdeps/i386/fpu/libm-test-ulps: Update.
32644
32645 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32646
32647 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32648 __ppc_set_ppr_very_low): New functions.
32649 * manual/platform.texi: Add documentation about
32650 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32651
32652 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32653
32654 * string/stpncpy.c (stpncpy): Improve performance using
32655 __strnlen/memcpy/memset.
32656
32657 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32658
32659 [BZ #18796]
32660 * scripts/test-installation.pl: Don't add -lmvec to build options if
32661 libmvec wasn't built.
32662
32663 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32664
32665 [BZ #14341]
32666 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32667 case when there is a gap between DT_REL and DT_JMPREL sections.
32668 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32669 (LDFLAGS-tst-split-dynreloc): New.
32670 (tst-split-dynreloc-ENV): Likewise.
32671 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32672 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32673
32674 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32675
32676 [BZ #18822]
32677 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32678 attribute_hidden.
32679 (__xstat64_conv): Likewise.
32680 (__xstat32_conv): Likewise.
32681
32682 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32683
32684 [BZ #18822]
32685 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32686 Don't load %ebx when calling __setcontext. Call __setcontext
32687 with HIDDEN_JUMPTARGET.
32688 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32689 libc_hidden_def.
32690
32691 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32692
32693 * sysdeps/i386/i686/Makefile
32694 [$(subdir) == string] (sysdep_routines): Moved to ...
32695 * sysdeps/i386/Makefile: Here.
32696 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32697 * sysdeps/i386/cacheinfo.c: Here.
32698 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32699 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32700 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32701 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32702
32703 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32706 __i586__ is defined.
32707 (HAS_I686): Defined to 1 if __i686__ is defined.
32708
32709 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32710
32711 * elf/Makefile [$(have-z-execstack) = yes]
32712 (CPPFLAGS-tst-execstack.c): New variable.
32713
32714 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32715 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32716 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32717 UTMPX || _HAVE_UT_TV].
32718 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32719 UTMPX || _HAVE_UT_TV - 0].
32720
32721 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32722
32723 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32724 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32725 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32726
32727 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32728
32729 * sysdeps/powerpc/dl-procinfo.c:
32730 (_dl_powerpc_cap_flags): Added missing strings for some
32731 hwcap features.
32732 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32733
32734 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32735
32736 Port the 0x7efe...feff pattern to GCC 6.
32737 See Steve Ellcey's bug report in:
32738 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32739 * string/memrchr.c (MEMRCHR):
32740 * string/rawmemchr.c (RAWMEMCHR):
32741 * string/strchr.c (strchr):
32742 * string/strchrnul.c (STRCHRNUL):
32743 Rewrite code to avoid issues with signed shift overflow.
32744
32745 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32746
32747 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32748 whether cpuid is available only if HAS_CPUID is 0.
32749 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32750 (HAS_I586): Likewise.
32751 (HAS_I686): Likewise.
32752
32753 2015-08-18 Zack Weinberg <zackw@panix.com>
32754
32755 * misc/Versions (libc): Add GLIBC_2.23.
32756
32757 2015-08-18 Alan Modra <amodra@gmail.com>
32758
32759 [BZ #18421]
32760 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32761 .Lp__global.
32762 (_start): Load %dp via .Lp__global.
32763 [!SHARED]: Use .section .rodata.
32764
32765 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32766
32767 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32768 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32769
32770 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32771
32772 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32773 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32774
32775 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32776
32777 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32778 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32779
32780 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32781
32782 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32783 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32784
32785 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32786
32787 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32788 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32789
32790 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32791
32792 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32793 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32794
32795 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32796
32797 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32798
32799 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32800
32801 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32802 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32803 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32804 (__ASSUME_LWS_CAS): Delete.
32805
32806 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32807
32808 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32809 * sysdeps/hppa/configure: Regenerated.
32810 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32811 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32812 * sysdeps/hppa/nptl/tls.h: Likewise.
32813
32814 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32815
32816 [BZ #18823]
32817 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32818 for scaling up small arguments.
32819 * math/s_csqrtf.c (__csqrtf): Likewise.
32820 * math/s_csqrtl.c (__csqrtl): Likewise.
32821 * math/auto-libm-test-in: Add more tests of csqrt.
32822 * math/auto-libm-test-out: Regenerated.
32823
32824 2015-08-17 Andreas Schwab <schwab@suse.de>
32825
32826 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32827 version set GLIBC_2.19.
32828
32829 2015-08-16 Zack Weinberg <zackw@panix.com>
32830
32831 [BZ #18681]
32832 * misc/regexp.h: This interface is no longer supported.
32833 Remove all contents, leaving only an #error directive.
32834 * misc/regexp.c (loc1, loc2, locs, step, advance):
32835 Demote to compatibility symbols.
32836
32837 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32838
32839 [BZ #18084]
32840 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32841 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32842 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32843 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32844 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32845 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32846 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32847 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32848 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32849
32850 2015-08-15 Zack Weinberg <zackw@panix.com>
32851
32852 [BZ #18795]
32853 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32854 buffer length is known to be too large, not if it's known to be
32855 small enough.
32856 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32857 overflow at runtime, involving a length parameter, twice: once
32858 with a compile-time constant length parameter, once without.
32859
32860 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32861
32862 [BZ #18824]
32863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32864 scaling x * y up instead of down.
32865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32867 * math/auto-libm-test-in: Add more tests of fma.
32868 * math/auto-libm-test-out: Regenerated.
32869
32870 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32871
32872 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32873
32874 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32875
32876 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32877 unnecessary movq.
32878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32879 Likewise.
32880
32881 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32882
32883 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32884 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32885 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32886 and tgamma.
32887 * math/auto-libm-test-out: Regenerated.
32888 * sysdeps/i386/fpu/libm-test-ulps: Update.
32889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32890
32891 [BZ #16520]
32892 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32893 (__tanh): Force underflow exception for arguments with small
32894 absolute value.
32895 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32896 (__tanhf): Force underflow exception for arguments with small
32897 absolute value.
32898 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32899 (__tanhl): Force underflow exception for arguments with small
32900 absolute value.
32901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32902 (__tanhl): Force underflow exception for arguments with small
32903 absolute value.
32904 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32905 (__tanhl): Force underflow exception for arguments with small
32906 absolute value.
32907 * math/auto-libm-test-in: Add more tests of tanh.
32908 * math/auto-libm-test-out: Regenerated.
32909 * sysdeps/i386/fpu/libm-test-ulps: Update.
32910
32911 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32912
32913 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32914 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32915
32916 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32917
32918 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32919 <cpuid.h>.
32920
32921 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32922
32923 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32924 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32925
32926 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32929 Remove $(objpfx)init-arch.o.
32930 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32931 init-arch.
32932 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32933 (INIT_ARCH_EXT): Defined as empty.
32934 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32935 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32936 __init_cpu_features call. Replace HAS_XXX with
32937 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32938 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32939 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32941 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32942 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32943 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32944 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32945 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32946 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32947 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32948 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32949 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32950 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32951 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32955 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32956 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32957 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32958 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32963 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32964 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32965 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32966 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32967 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32968 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32969 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32972 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32973
32974 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32975
32976 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32977 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32978 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32979 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32980 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32981 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32982 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32983 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32984 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32985 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32986 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32987 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32988 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32989 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32990 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32991 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32992 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32993 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32994 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32995 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32996 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32997 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32998 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32999 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33000 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33001 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33002 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33010 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33011 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33012 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33019
33020 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33023 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33024 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33025 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33026 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33027 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33029 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33030 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33033 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33034 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33035 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33036 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33037 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33038 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33039 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33040 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33041 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33042 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33043 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33044 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33045 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33046 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33047 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33048 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33049 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33050 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33051 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33052 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33053 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33054 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33055 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33056 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33057 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33058 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33059 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33060 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33061 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33062 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33063 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33064 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33065
33066 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33067
33068 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33069 (dl_platform_init): Call init_cpu_features.
33070 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33071 * sysdeps/i386/i686/cacheinfo.c
33072 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33073 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33074 * sysdeps/i386/i686/multiarch/Versions: Removed.
33075 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33076 Removed.
33077 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33078 * sysdeps/unix/sysv/linux/x86/Makefile
33079 (libpthread-sysdep_routines): Remove init-arch.
33080 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33081 <sysdeps/x86_64/dl-procinfo.c> instead of
33082 sysdeps/generic/dl-procinfo.c>.
33083 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33084 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33085 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33086 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33087 [$(subdir) == elf] (tests-static): Add
33088 tst-get-cpu-features-static.
33089 * sysdeps/x86/Versions: New file.
33090 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33091 * sysdeps/x86/cpu-features.c: Likewise.
33092 * sysdeps/x86/cpu-features.h: Likewise.
33093 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33094 * sysdeps/x86/libc-start.c: Likewise.
33095 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33096 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33097 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33098 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33099 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33100 Assume USE_MULTIARCH is defined and don't check it.
33101 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33102 (is_amd): Likewise.
33103 (max_cpuid): Likewise.
33104 (intel_check_word): Likewise.
33105 (__cache_sysconf): Don't call __init_cpu_features.
33106 (__x86_preferred_memory_instruction): Removed.
33107 (init_cacheinfo): Don't call __init_cpu_features. Replace
33108 __cpu_features with GLRO(dl_x86_cpu_features).
33109 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33110 (dl_platform_init): Call init_cpu_features.
33111 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33112 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33113 * sysdeps/x86_64/multiarch/Versions: Removed.
33114 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33115 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33116 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33117 Removed.
33118 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33119
33120 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33121
33122 [BZ #18820]
33123 * libio/Makefile (test-fmemopen-mem): New test.
33124 * libio/test-fmemopen.c (do_bz18820): New test.
33125 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33126 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33127
33128 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33129
33130 [BZ #16734]
33131 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33132 (FREE_BUF): Delete.
33133 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33134 * libio/genops.c (_IO_setb): Use malloc and free directly.
33135 (_IO_default_doallocate, _IO_default_finish): Likewise.
33136 ( _IO_unbuffer_all): Likewise.
33137 ( libc_freeres_fn): Likewise.
33138 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33139 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33140 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33141 (_IO_wdefault_doallocate): Likewise.
33142
33143 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33144
33145 [BZ #18086]
33146 * sysdeps/posix/nice.c (nice): Restore old errno.
33147 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33148
33149 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33150
33151 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33152
33153 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33154
33155 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33156 __bcopy and add a weak_alias to bcopy.
33157 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33158 for static build.
33159
33160 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33161 cleanup macro usage.
33162 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33163 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33165 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33166 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33167 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33168 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33169 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33170 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33171 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33172 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33173 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33174 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33175 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33176 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33177 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33178 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33179 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33180 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33181
33182 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33183 libc_hidden_def.
33184 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33185
33186 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33187 (sysdep_routines): Add strstr-ppc64.
33188 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33189
33190 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33191
33192 [BZ #18778]
33193 * elf/Makefile (tests): Add Add tst-nodelete2.
33194 (modules-names): Add tst-nodelete2mod.
33195 (tst-nodelete2mod.so-no-z-defs): New.
33196 ($(objpfx)tst-nodelete2): Likewise.
33197 ($(objpfx)tst-nodelete2.out): Likewise.
33198 (LDFLAGS-tst-nodelete2): Likewise.
33199 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33200 out of loop through all loaded libraries.
33201 * elf/tst-nodelete2.c: New file.
33202 * elf/tst-nodelete2mod.c: Likewise.
33203 * elf/tst-znodelete-zlib.cc: Delete.
33204
33205 2015-08-11 Andreas Schwab <schwab@suse.de>
33206
33207 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33208 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33209 (__openat64_nocancel): Likewise.
33210
33211 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33212
33213 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33214 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33215 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33216 * math/auto-libm-test-out: Regenerated.
33217 * sysdeps/i386/fpu/libm-test-ulps: Update.
33218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33219
33220 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33221
33222 [BZ #18790]
33223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33224 threshold for returning +/- 1.
33225 * math/auto-libm-test-in: Add more tests of tanh.
33226 * math/auto-libm-test-out: Regenerated.
33227 * sysdeps/i386/fpu/libm-test-ulps: Update.
33228
33229 2015-08-10 Andreas Schwab <schwab@suse.de>
33230
33231 [BZ #18781]
33232 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33233 MORE_OFLAGS to oflag.
33234 * io/test-lfs.c (do_test): Test openat64.
33235
33236 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33237
33238 [BZ #18789]
33239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33240 smaller threshold for returning the argument.
33241 * math/auto-libm-test-in: Add more tests of sinh.
33242 * math/auto-libm-test-out: Regenerated.
33243 * sysdeps/i386/fpu/libm-test-ulps: Update.
33244
33245 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33246
33247 [BZ #18674]
33248 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33249 break.
33250
33251 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33252
33253 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33254 (generated): Don't add $(addprefix z.,$(tzfiles)).
33255
33256 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33257
33258 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33259 * scripts/sysd-rules.awk: Likewise.
33260
33261 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33262
33263 * iconvdata/tst-tables.sh: Change echo -n to printf.
33264 * nss/db-Makefile: Likewise.
33265 * posix/tst-getconf.sh: Likewise.
33266 * stdio-common/tst-unbputc.sh: Likewise.
33267
33268 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33269
33270 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33271 MADV_*_PAGES defines behind this feature check.
33272
33273 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33274
33275 [BZ #18480]
33276 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33277 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33278 Define.
33279 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33280 LOAD_REGS_5, LOAD_REGS_6): Update.
33281 (INTERNAL_SYSCALL): Update using new LOAD defines.
33282 (INTERNAL_SYSCALL_NCS): Likewise.
33283 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33284
33285 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33286
33287 [BZ #16734]
33288 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33289
33290 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33291
33292 [BZ #17905]
33293 * catgets/Makefile (tst-catgets-mem): New test.
33294 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33295 * catgets/open_catalog.c (__open_catalog): Likewise.
33296 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33297
33298 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33299
33300 [BZ #18787]
33301 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33302 clobber registers.
33303 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33304 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33305 Cast return to __typeof (oldval).
33306
33307 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33308
33309 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33310 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33311 and delete sys/syscall.h include.
33312
33313 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33314
33315 [BZ #16517]
33316 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33317 (tan): Force underflow exception for arguments with small absolute
33318 value.
33319 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33320 (__kernel_tanf): Force underflow exception for arguments with
33321 small absolute value.
33322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33323 (__kernel_tanl): Force underflow exception for arguments with
33324 small absolute value.
33325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33326 (__kernel_tanl): Force underflow exception for arguments with
33327 small absolute value.
33328 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33329 (__kernel_tanl): Force underflow exception for arguments with
33330 small absolute value.
33331 * math/auto-libm-test-in: Add more tests of tan.
33332 * math/auto-libm-test-out: Regenerated.
33333
33334 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33335
33336 Fix sysdeps/i386/fpu/s_scalbn.S build
33337
33338 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33339
33340 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33341
33342 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33343
33344 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33345
33346 Fix gcrt0.o compilation
33347
33348 When static-start-installed-name is different from
33349 start-installed-name, we must not use the shared objects.
33350
33351 * csu/Makefile
33352 (extra-objs): Add gmon-start.o when building shared library and
33353 $(static-start-installed-name) is different from
33354 $(start-installed-name).
33355 $(objpfx)g$(static-start-installed-name): When building shared
33356 library and $(static-start-installed-name) is different from
33357 $(static-start-installed-name), revert to non-shared rule,
33358 i.e. using $(objpfx)% and gmon-start.o.
33359
33360 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33361
33362 [BZ #16519]
33363 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33364 (__ieee754_sinh): Force underflow exception for arguments with
33365 small absolute value.
33366 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33367 (__ieee754_sinhf): Force underflow exception for arguments with
33368 small absolute value.
33369 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33370 (__ieee754_sinhl): Force underflow exception for arguments with
33371 small absolute value.
33372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33373 (__ieee754_sinhl): Force underflow exception for arguments with
33374 small absolute value.
33375 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33376 (__ieee754_sinhl): Force underflow exception for arguments with
33377 small absolute value.
33378 * math/auto-libm-test-in: Add more tests of sinh.
33379 * math/auto-libm-test-out: Regenerated.
33380 * sysdeps/i386/fpu/libm-test-ulps: Update.
33381
33382 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33383
33384 * libio/oldfileops.c: Include unistd.h.
33385
33386 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33387
33388 * stdlib/isomac.c: Include ctype.h.
33389
33390 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33391
33392 * dirent/tst-seekdir.c (main): Converted to ...
33393 (do_test): ... this.
33394 (TEST_FUNCTION): New macro.
33395 Include test-skeleton.c.
33396 * elf/tst-dlmodcount.c (main): Converted to ...
33397 (do_test): ... this.
33398 (TEST_FUNCTION): New macro.
33399 Include test-skeleton.c.
33400 * elf/tst-order-main.c (main): Converted to ...
33401 (do_test): ... this.
33402 (TEST_FUNCTION): New macro.
33403 Include test-skeleton.c.
33404 * elf/tst-pie2.c (main): Converted to ...
33405 (do_test): ... this.
33406 (TEST_FUNCTION): New macro.
33407 Include test-skeleton.c.
33408 * inet/tst-ether_aton.c (main): Converted to ...
33409 (do_test): ... this.
33410 (TEST_FUNCTION): New macro.
33411 Include test-skeleton.c.
33412 * misc/tst-mntent.c (main): Converted to ...
33413 (do_test): ... this.
33414 (TEST_FUNCTION): New macro.
33415 Include test-skeleton.c.
33416 * misc/tst-tsearch.c (main): Converted to ...
33417 (do_test): ... this.
33418 (TEST_FUNCTION): New macro.
33419 Include test-skeleton.c.
33420 * posix/tst-regexloc.c (main): Converted to ...
33421 (do_test): ... this.
33422 (TEST_FUNCTION): New macro.
33423 Include test-skeleton.c.
33424 * resolv/tst-aton.c (main): Converted to ...
33425 (do_test): ... this.
33426 (TEST_FUNCTION): New macro.
33427 Include test-skeleton.c.
33428 * stdio-common/test-fwrite.c (main): Converted to ...
33429 (do_test): ... this.
33430 (TEST_FUNCTION): New macro.
33431 Include test-skeleton.c.
33432 * stdio-common/tst-ferror.c (main): Converted to ...
33433 (do_test): ... this.
33434 (TEST_FUNCTION): New macro.
33435 Include test-skeleton.c.
33436 * stdio-common/tst-printf.c (main): Converted to ...
33437 (do_test): ... this.
33438 (TEST_FUNCTION): New macro.
33439 Include test-skeleton.c.
33440 * stdio-common/tst-printfsz.c (main): Converted to ...
33441 (do_test): ... this.
33442 (TEST_FUNCTION): New macro.
33443 Include test-skeleton.c.
33444 * stdlib/tst-strtod.c (main): Converted to ...
33445 (do_test): ... this.
33446 (TEST_FUNCTION): New macro.
33447 Include test-skeleton.c.
33448 * string/tst-strlen.c (main): Converted to ...
33449 (do_test): ... this.
33450 (TEST_FUNCTION): New macro.
33451 Include test-skeleton.c.
33452 * string/tst-svc.c (main): Converted to ...
33453 (do_test): ... this.
33454 (TEST_FUNCTION): New macro.
33455 Include test-skeleton.c.
33456 * time/tst-strptime.c (main): Converted to ...
33457 (do_test): ... this.
33458 (TEST_FUNCTION): New macro.
33459 Include test-skeleton.c.
33460 * timezone/tst-timezone.c (main): Converted to ...
33461 (do_test): ... this.
33462 (TEST_FUNCTION): New macro.
33463 Include test-skeleton.c.
33464
33465 2015-08-05 Zack Weinberg <zackw@panix.com>
33466
33467 * misc/regexp.h: Update comments.
33468
33469 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33470
33471 [BZ #18635]
33472 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33473 before return label.
33474
33475 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33476
33477 [BZ #18661]
33478 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33479 when calling __errno_location.
33480 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33481 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33482
33483 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33484
33485 [BZ #18661]
33486 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33487 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33488 __gettimeofday.
33489
33490 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33491
33492 [BZ #18661]
33493 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33494 (__start_context): Don't use pop to restore %rdi so that stack
33495 is aligned to 16 bytes when calling __setcontext.
33496
33497 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33498
33499 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33500 only for libc.
33501 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33502
33503 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33504
33505 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33506 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33507 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33508
33509 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33510
33511 * string/memccpy.c (memccpy):
33512 Improve performance by using memchr/memcpy/__mempcpy.
33513
33514 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33515
33516 * string/strncpy.c (strncpy):
33517 Improve performance by using __strnlen/memcpy.
33518
33519 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33520
33521 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33522 Optimize to avoid an unnecessary FPCR read.
33523
33524 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33525
33526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33527 Optimize to reduce FPCR/FPSR accesses.
33528
33529 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33530
33531 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33532 dead->data[category] != NULL.
33533
33534 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33535
33536 [BZ #18647]
33537 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33538 and |x| close to 1, use absolute value of x when computing log.
33539 * math/auto-libm-test-in: Add more tests of pow.
33540 * math/auto-libm-test-out: Regenerated.
33541
33542 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33543
33544 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33545 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33546 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33547
33548 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33549
33550 [BZ #18525]
33551 * locales/km_KH: Remove timezone definition.
33552 * locales/lo_LA: Likewise.
33553 * locales/my_MM: Likewise.
33554 * locales/nan_TW@latin: Likewise.
33555 * locales/th_TH: Likewise.
33556 * locales/uk_UA: Likewise.
33557
33558 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33559
33560 [BZ #18265]
33561 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33562 (wcsncat): Likewise.
33563 (wcscmp): Likewise.
33564 (wcsncmp): Likewise.
33565
33566 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33567
33568 * test-skeleton.c (usage): New function.
33569 (main): Call usage when opt is '?'.
33570
33571 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33572
33573 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33574 before first use.
33575
33576 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33577
33578 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33579 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33580 in there too.
33581
33582 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33583
33584 * version.h (RELEASE): Set to "development".
33585 (VERSION): Set to "2.22.90"
33586
33587 * version.h (RELEASE): Set to "stable".
33588 (VERSION): Set to "2.22"
33589 * include/features.h (__GLIBC_MINOR__): Set to 22.
33590
33591 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33592
33593 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33594 Restructure macro to avoid "value computed is not used" warning.
33595 (atomic_compare_and_exchange_val_acq): Likewise.
33596
33597 2015-08-04 Andreas Schwab <schwab@suse.de>
33598
33599 [BZ #18635]
33600 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33601 ret.
33602 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33603
33604 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33605
33606 * po/pl.po: Updated translation.
33607 * po/uk.po: Likewise.
33608 * po/fi.po: Likewise.
33609 * po/ko.po: Likewise.
33610 * po/ru.po: Likewise.
33611 * po/vi.po: Likewise.
33612
33613 2015-07-31 Zack Weinberg <zackw@panix.com>
33614
33615 [BZ #18681]
33616 * regexp.h: Add unconditional #warning stating that this header
33617 will be removed soon. Revise banner comment to match.
33618 (compile): Consistently use ERROR instead of RETURN to report
33619 errors (partial fix for BZ #18681).
33620 * regexp.c: Don't include regexp.h. Remove some unnecessary
33621 declarations.
33622
33623 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33624
33625 * po/libc.pot: Regenerated.
33626
33627 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33628
33629 [BZ #18740]
33630 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33631 float-vlen4-arch-ext-cflags): Removed.
33632 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33633 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33634
33635 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33636
33637 [BZ #14113]
33638 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33639 aligned to __aligned__.
33640 (pthread_cond_t, pthread_rwlock_t): Likewise.
33641
33642 2015-07-30 Torvald Riegel <triegel@redhat.com>
33643
33644 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33645
33646 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33647
33648 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33649 (struct sigaction): Change sa_flags from a long to an int, and add
33650 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33651
33652 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33653
33654 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33655 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33656 sysdeps/generic/sysdep.h include.
33657 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33658 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33659 sysdeps/hppa/sysdep.h.
33660 (ENTRY, PSEUDO): Undefine before defining.
33661
33662 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33663
33664 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33665 from scratch to use INTERNAL_SYSCALL.
33666
33667 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33668
33669 [BZ #18078]
33670 * scripts/check-localplt.awk: Support alternate relocations.
33671 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33672 sections.
33673 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33674 malloc entries with + REL R_386_GLOB_DAT.
33675 * sysdeps/x86_64/localplt.data: New file.
33676
33677 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33678
33679 [BZ #18731]
33680 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33681 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33682 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33683
33684 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33685
33686 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33687
33688 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33689
33690 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33691 directly in terms of __sync_fetch_and_add and delete (int) cast.
33692
33693 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33694
33695 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33696 the -D_ASM_IA64_CURRENT_H flag.
33697
33698 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33699
33700 [BZ #18641]
33701 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33702
33703 2015-07-27 Andreas Schwab <schwab@suse.de>
33704
33705 * conform/conformtest.pl (checknamespace): Filter out string
33706 literals while tokenizing.
33707
33708 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33709
33710 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33711 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33712 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33713
33714 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33715
33716 * nptl/tst-join7mod.c: Add #include <string.h>.
33717
33718 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33719
33720 * sysdeps/nios2/libm-test-ulps: Update.
33721
33722 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33723
33724 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33725 Fix order of arguments to the rt_sigprocmask syscall.
33726 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33727 Likewise.
33728
33729 2015-07-24 Roland McGrath <roland@hack.frob.com>
33730
33731 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33732
33733 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33734
33735 [BZ #18457]
33736 * nptl/Makefile (tests): New test case tst-join7.
33737 (modules-names): New test case module tst-join7mod.
33738 * nptl/tst-join7.c: New file.
33739 * nptl/tst-join7mod.c: New file.
33740 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33741 all translation units in libc.so, libpthread.so and rtld.
33742
33743 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33744
33745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33746
33747 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33748
33749 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33750 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33751 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33752 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33753 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33754 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33755 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33756 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33757 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33758 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33759 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33760 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33761 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33762 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33763 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33764 implementation.
33765
33766 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33767
33768 [BZ #17711]
33769 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33770 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33771 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33772 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33773 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33774 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33775
33776 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33777
33778 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33779 instead of just saying load lock in the comments.
33780
33781 2015-07-23 Roland McGrath <roland@hack.frob.com>
33782
33783 * sysdeps/unix/Subdirs: Moved ...
33784 * sysdeps/posix/Subdirs: ... here.
33785 * login/pty.h (struct termios, struct winsize): Add forward decls.
33786 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33787 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33788 * sysdeps/arm/nacl/libc.abilist: Updated.
33789 * sysdeps/nacl/libutil.abilist: New file.
33790
33791 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33792 (SIGWINCH): New macro.
33793
33794 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33795 * sysdeps/arm/nacl/libc.abilist: Add it.
33796
33797 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33798
33799 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33800
33801 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33802
33803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33804 Swap __glibc_reserved0 and sa_flags order.
33805
33806 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33807
33808 [BZ #18657]
33809 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33810 are pending TLS destructor calls.
33811 * include/link.h (struct link_map): Add concurrency note for
33812 L_TLS_DTOR_COUNT.
33813 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33814 Don't touch the link map flag. Atomically increment
33815 l_tls_dtor_count.
33816 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33817 Avoid taking the load lock and don't touch the link map flag.
33818 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33819 * stdlib/Makefile (tests): Use it.
33820 * stdlib/tst-tls-atexit.c (do_test): dlopen
33821 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33822 to allow tst-tls-atexit-nodelete test case to use it.
33823
33824 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33825
33826 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33827 to bits/types.h.
33828 (msgqnum_t): New typedef.
33829 (msglen_t): Likewise.
33830 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33831 and msg_qbytes type to msglen_t.
33832
33833 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33834
33835 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33836 pad0 to __glibc_reserved0.
33837 (struct stat64): Likewise.
33838
33839 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33840
33841 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33842 Change sa_flags from a long to an int and add __glibc_reserved0 before
33843 it for padding.
33844
33845 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33846
33847 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33848 anonymous by deleting "siginfo" name.
33849
33850 2015-07-21 Roland McGrath <roland@hack.frob.com>
33851
33852 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33853 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33854 rather than __nacl_irt_filename.
33855 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33856
33857 * NEWS: New item for arm-nacl port.
33858 * sysdeps/arm/nacl/libc.abilist: New file.
33859 * sysdeps/nacl/ld.abilist: New file.
33860 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33861 * sysdeps/nacl/libanl.abilist: New file.
33862 * sysdeps/nacl/libcrypt.abilist: New file.
33863 * sysdeps/nacl/libdl.abilist: New file.
33864 * sysdeps/nacl/libm.abilist: New file.
33865 * sysdeps/nacl/libpthread.abilist: New file.
33866 * sysdeps/nacl/libresolv.abilist: New file.
33867 * sysdeps/nacl/librt.abilist: New file.
33868
33869 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33870
33871 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33872 __startcontext to initialize the new context.
33873 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33874 up CFI directive to forbid further backtracing.
33875
33876 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33877
33878 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33879 reference.
33880 * charmaps/ANSI_X3.4-1968: Likewise.
33881 * charmaps/BS_4730: Likewise.
33882 * charmaps/BS_VIEWDATA: Likewise.
33883 * charmaps/CP1250: Likewise.
33884 * charmaps/CP1251: Likewise.
33885 * charmaps/CP1252: Likewise.
33886 * charmaps/CP1253: Likewise.
33887 * charmaps/CP1254: Likewise.
33888 * charmaps/CP1255: Likewise.
33889 * charmaps/CP1256: Likewise.
33890 * charmaps/CSN_369103: Likewise.
33891 * charmaps/EBCDIC-DK-NO: Likewise.
33892 * charmaps/GB_1988-80: Likewise.
33893 * charmaps/GREEK-CCITT: Likewise.
33894 * charmaps/GREEK7: Likewise.
33895 * charmaps/INIS-8: Likewise.
33896 * charmaps/ISIRI-3342: Likewise.
33897 * charmaps/ISO_2033-1983: Likewise.
33898 * charmaps/ISO_5427-EXT: Likewise.
33899 * locales/POSIX: Likewise.
33900 * locales/ar_SA: Likewise.
33901 * locales/be_BY: Likewise.
33902 * locales/be_BY@latin: Likewise.
33903 * locales/ca_ES: Likewise.
33904 * locales/cs_CZ: Likewise.
33905 * locales/da_DK: Likewise.
33906 * locales/de_BE: Likewise.
33907 * locales/de_CH: Likewise.
33908 * locales/de_LU: Likewise.
33909 * locales/en_AU: Likewise.
33910 * locales/en_BW: Likewise.
33911 * locales/en_CA: Likewise.
33912 * locales/en_DK: Likewise.
33913 * locales/en_GB: Likewise.
33914 * locales/en_IE: Likewise.
33915 * locales/en_NZ: Likewise.
33916 * locales/en_ZA: Likewise.
33917 * locales/en_ZW: Likewise.
33918 * locales/es_AR: Likewise.
33919 * locales/es_BO: Likewise.
33920 * locales/es_CL: Likewise.
33921 * locales/es_CO: Likewise.
33922 * locales/es_DO: Likewise.
33923 * locales/es_EC: Likewise.
33924 * locales/es_ES: Likewise.
33925 * locales/es_HN: Likewise.
33926 * locales/es_MX: Likewise.
33927 * locales/es_PA: Likewise.
33928 * locales/es_PE: Likewise.
33929 * locales/es_PY: Likewise.
33930 * locales/es_SV: Likewise.
33931 * locales/es_US: Likewise.
33932 * locales/es_UY: Likewise.
33933 * locales/es_VE: Likewise.
33934 * locales/et_EE: Likewise.
33935 * locales/fa_IR: Likewise.
33936 * locales/fo_FO: Likewise.
33937 * locales/fr_CA: Likewise.
33938 * locales/fr_CH: Likewise.
33939 * locales/gv_GB: Likewise.
33940 * locales/he_IL: Likewise.
33941 * locales/hr_HR: Likewise.
33942 * locales/id_ID: Likewise.
33943 * locales/is_IS: Likewise.
33944 * locales/it_CH: Likewise.
33945 * locales/iw_IL: Likewise.
33946 * locales/kl_GL: Likewise.
33947 * locales/ko_KR: Likewise.
33948 * locales/kw_GB: Likewise.
33949 * locales/lg_UG: Likewise.
33950 * locales/lt_LT: Likewise.
33951 * locales/lv_LV: Likewise.
33952 * locales/mi_NZ: Likewise.
33953 * locales/nhn_MX: Likewise.
33954 * locales/nl_BE: Likewise.
33955 * locales/pl_PL: Likewise.
33956 * locales/sk_SK: Likewise.
33957 * locales/sl_SI: Likewise.
33958 * locales/sv_FI: Likewise.
33959 * locales/tl_PH: Likewise.
33960 * locales/tr_TR: Likewise.
33961 * locales/vi_VN: Likewise.
33962
33963 2015-07-21 Khem Raj <raj.khem@gmail.com>
33964
33965 [BZ #17475]
33966 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33967 of tu_IN and bh_IN.
33968
33969 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33970
33971 [BZ #18694]
33972 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33973 bits/wordsize.h.
33974 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33975
33976 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33977
33978 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33979 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33980 (spawn_thread): New function.
33981 (load): Rename to reg_dtor_and_close. Move dlopen to...
33982 (do_test): ... here. Use IS_LOADED to test for its
33983 availability.
33984
33985 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33986
33987 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33988
33989 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33990
33991 [BZ #18696]
33992 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33993 si_addr_bnd.
33994 (si_lower): New.
33995 (si_upper): Likewise.
33996
33997 2015-07-16 David S. Miller <davem@davemloft.net>
33998
33999 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34000
34001 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34002
34003 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34004 buffer.
34005 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34006 fail output information.
34007
34008 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34009
34010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34011 and strstr-ppc64..
34012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34013 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34014 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34015 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34016 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34017
34018 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34019
34020 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34021 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34022 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34023 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34024
34025 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34026
34027 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34028 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34029 rtld_hidden_proto.
34030 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34031
34032 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34033
34034 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34035 the test can fail.
34036
34037 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34038
34039 [BZ #18676]
34040 * elf/tst-nodelete-opened.c: New test case.
34041 * elf/tst-nodelete-opened-lib.c: New test case module.
34042 * elf/Makefile (tests, modules-names): Use them.
34043 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34044 early.
34045
34046 2015-07-15 David S. Miller <davem@davemloft.net>
34047
34048 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34049 futex-intenal.h
34050 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34051 * sysdeps/sparc/sparc64/Makefile: Likewise.
34052 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34053 Remove space from macro define.
34054 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34055
34056 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34057
34058 [BZ #17475]
34059 * locale/iso-639.def: Update Bhili and Tulu language codes as
34060 per iso639-3.
34061
34062 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34063
34064 * elf/tst-leaks1.c (main): Converted to ...
34065 (do_test): ... this.
34066 (TEST_FUNCTION): New macro.
34067 Include test-skeleton.c.
34068 * localedata/tst-langinfo.c (main): Converted to ...
34069 (do_test): ... this.
34070 (TEST_FUNCTION): New macro.
34071 Include test-skeleton.c.
34072 * math/test-fpucw.c (main): Converted to ...
34073 (do_test): ... this.
34074 (TEST_FUNCTION): New macro.
34075 Include test-skeleton.c.
34076 * math/test-tgmath.c (main): Converted to ...
34077 (do_test): ... this.
34078 (TEST_FUNCTION): New macro.
34079 Include test-skeleton.c.
34080 * math/test-tgmath2.c (main): Converted to ...
34081 (do_test): ... this.
34082 (TEST_FUNCTION): New macro.
34083 Include test-skeleton.c.
34084 * setjmp/tst-setjmp.c (main): Converted to ...
34085 (do_test): ... this.
34086 (TEST_FUNCTION): New macro.
34087 Include test-skeleton.c.
34088 * stdio-common/tst-sscanf.c (main): Converted to ...
34089 (do_test): ... this.
34090 (TEST_FUNCTION): New macro.
34091 Include test-skeleton.c.
34092 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34093 (do_test): ... this.
34094 (TEST_FUNCTION): New macro.
34095 Include test-skeleton.c.
34096
34097 * elf/tst-audit9.c (main): Converted to ...
34098 (do_test): ... this.
34099 (TEST_FUNCTION): New macro.
34100 Include test-skeleton.c.
34101
34102 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34103
34104 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34105
34106 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34107
34108 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34109 New variable.
34110
34111 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34112
34113 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34114
34115 2015-07-14 Roland McGrath <roland@hack.frob.com>
34116
34117 * sysdeps/generic/dl-fileid.h: New file.
34118 * sysdeps/posix/dl-fileid.h: New file.
34119 * sysdeps/nacl/dl-fileid.h: New file.
34120 * include/link.h: Include <dl-fileid.h>.
34121 (struct link_map): Replace l_dev and l_ino with l_file_id.
34122 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34123 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34124 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34125
34126 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34127
34128 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34129
34130 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34131
34132 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34133 Add iff $CXX is set.
34134 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34135 Likewise.
34136 (tst-nodelete-zmodiff): Likewise.
34137 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34138
34139 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34140
34141 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34142
34143 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34144
34145 * sysdeps/aarch64/fpu/math_private.h
34146 (define math_opt_barrier): Add AArch64 version.
34147 (math_force_eval): Likewise.
34148
34149 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34150
34151 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34152
34153 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34154
34155 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34156 %ld with %jd and cast to intmax_t.
34157 (do_test_length_zero): Likewise.
34158
34159 2015-07-10 Roland McGrath <roland@hack.frob.com>
34160
34161 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34162
34163 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34164
34165 * sysdeps/tile/libm-test-ulps: Regenerated.
34166
34167 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34168 Comment out the whole function, not just its body.
34169
34170 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34171
34172 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34173 locks.
34174
34175 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34176
34177 2015-07-10 Torvald Riegel <triegel@redhat.com>
34178
34179 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34180 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34181
34182 2015-07-10 Torvald Riegel <triegel@redhat.com>
34183
34184 * sysdeps/nptl/futex-internal.h: New file.
34185 * sysdeps/nacl/futex-internal.h: New file.
34186 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34187 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34188 error checking.
34189 (setxid_unmark_thread): Likewise.
34190 (__nptl_setxid): Likewise.
34191 (__wait_lookup_done): Likewise.
34192 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34193 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34194 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34195 * nptl/pthread_once.c (clear_once_control): Likewise.
34196 (__pthread_once_slow): Likewise.
34197 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34198 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34199 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34200 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34201 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34202 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34203 Likewise.
34204 (__pthread_rwlock_rdlock): Likewise.
34205 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34206 Likewise.
34207 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34208 Likewise.
34209 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34210 Likewise.
34211 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34212 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34213 Likewise.
34214 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34215 __ASSUME_PRIVATE_FUTEX check.
34216 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34217 Check that shared futexes are supported.
34218 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34219 wrappers with error checking.
34220 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34221 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34222 * nptl/pthread_barrierattr_setpshared.c
34223 (pthread_barrierattr_setpshared): Check that shared futexes are
34224 supported.
34225 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34226 Likewise.
34227 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34228 Likewise.
34229 * nptl/sem_init.c (futex_private_if_supported): Remove.
34230 (__new_sem_init): Adapt and check that shared futexes are supported.
34231 * nptl/sem_open.c (sem_open): Likewise.
34232 * nptl/sem_post.c (futex_wake): Remove.
34233 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34234 (do_futex_wait): Use futex wrappers with error checking.
34235 * nptl/sem_wait.c: Include lowlevellock.h.
34236 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34237 Use futex_supports_pshared.
34238 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34239 Use futex wrappers with error checking.
34240 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34241 Likewise.
34242 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34243 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34244 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34245 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34246 (futex_wake): Likewise.
34247 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34248 (do_futex_wait): Use futex wrappers with error checking.
34249 (__new_sem_wait_slow): Update EINTR handling.
34250 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34251
34252 2015-07-09 Martin Sebor <msebor@redhat.com>
34253
34254 [BZ #18435]
34255 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34256 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34257 * nptl/Makefile (test-xfail-tst-once5): Define.
34258
34259 2015-07-09 Roland McGrath <roland@hack.frob.com>
34260
34261 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34262 * elf/dl-minimal.c: For readability, reorder some definitions and
34263 introduce more page breaks. Include <stdio.h>.
34264 (__libc_fatal): New function.
34265
34266 * include/unistd.h: Add rtld_hidden_proto for _exit.
34267 * posix/_exit.c: Add rtld_hidden_def.
34268 * sysdeps/mach/hurd/_exit.c: Likewise.
34269 * sysdeps/nacl/_exit.c: Likewise.
34270 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34271 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34272
34273 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34274
34275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34276 bndmov encoding with zero displacement.
34277
34278 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34279 H.J. Lu <hongjiu.lu@intel.com>
34280
34281 [BZ #18134]
34282 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34283 * sysdeps/i386/configure: Regenerated.
34284 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34285 (_dl_runtime_profile): Save and restore Intel MPX return bound
34286 registers when calling _dl_call_pltexit. Add
34287 PRESERVE_BND_REGS_PREFIX before return.
34288 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34289 (LRV_BND1_OFFSET): Likewise.
34290 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34291 lrv_bnd1.
34292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34293 typo in bndmov encoding.
34294 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34295 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34296 branch instructions to preserve bounds.
34297
34298 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34299
34300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34301 [GLIBC_2.22]: Add fmemopen.
34302
34303 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34304
34305 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34306 returns an error, also try to use host port from __mach_host_self for
34307 the __vm_wire call.
34308 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34309
34310 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34311
34312 [BZ #18400]
34313 [BZ #18648]
34314 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34315 Fix pr_uid and pr_gid members.
34316 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34317 definition to elf_greg_t.
34318
34319 2015-07-08 Roland McGrath <roland@hack.frob.com>
34320
34321 [BZ #18383]
34322 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34323 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34324 * sysdeps/arm/configure: Regenerated.
34325 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34326 (test-xfail-tst-tlsalign-static): Variable removed.
34327
34328 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34329 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34330 rather than explicit 'ln -s'.
34331
34332 * resolv/rpc/netdb.h: New file.
34333 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34334
34335 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34336
34337 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34338 length buffers.
34339 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34340 test-skeleton.c.
34341
34342 [BZ #6544]
34343 [BZ #11216]
34344 [BZ #12836]
34345 [BZ #13151]
34346 [BZ #13152]
34347 [BZ #14292]
34348 * include/stdio.h (fmemopen): Remove hidden prototype.
34349 (__fmemopen): Add new hidden prototype.
34350 * libio/Makefile: Add oldfmemopen object.
34351 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34352 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34353 compliance.
34354 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34355 symbol compatibility.
34356 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34357 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34358 fmemopen.
34359 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34360 on append and read mode.
34361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34362 fmemopen.
34363 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34364 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34365 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34366 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34367 Likewise.
34368 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34369 [GLIBC_2.22]: Likewise.
34370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34371 Likewise.
34372 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34373 Likewise.
34374 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34375 [GLIBC_2.22]: Likewise.
34376 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34377 [GLIBC_2.22]: Likewise.
34378 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34379 [GLIBC_2.22]: Likewise.
34380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34381 [GLIBC_2.22]: Likewise.
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34383 [GLIBC_2.22]: Likewise.
34384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34385 [GLIBC_2.22]: Likewise.
34386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34387 [GLIBC_2.22]: Likewise.
34388 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34389 Likewise.
34390 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34391 Likewise.
34392 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34393 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34394 [GLIBC_2.22]: Likewise.
34395 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34396 [GLIBC_2.22]: Likewise.
34397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34398 [GLIBC_2.22]: Likewise.
34399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34400 [GLIBC_2.22]: Likewise.
34401 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34402 Likewise.
34403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34404 Likewise.
34405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34406 Likewise.
34407 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34408 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34409
34410 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34411
34412 [BZ #18643]
34413 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34414 IPV6_PATHMTU, and IPV6_DONTFRAG.
34415
34416 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34417
34418 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34419 and _IO_UNBUFFERED.
34420 * libio/oldfileops.c: Likewise.
34421 * libio/wfileops.c: Likewise.
34422
34423 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34424
34425 * nscd/selinux.c: Delete selinux/flask.h include.
34426
34427 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34428
34429 [BZ #18641]
34430 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34431 (putpwent): Likewise.
34432 (getpwnam): Likewise.
34433 (getpwent_r): Likewise.
34434 (getpwuid_r): Likewise.
34435 (getpwnam_r): Likewise.
34436 (fgetpwent_r): Likewise.
34437
34438 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34439
34440 [BZ #18557]
34441 * inet/rcmd.c (__validuser2_sa): Check user first to
34442 short-circuit host check.
34443
34444 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34445 Mikhail Ilin <m.ilin@samsung.com>
34446
34447 [BZ #17833]
34448 * elf/Makefile (tests): Add tst-nodelete.
34449 (modules-names): Add tst-nodelete-uniquemod.
34450 (tst-nodelete-uniquemod.so-no-z-defs): New.
34451 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34452 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34453 ($(objpfx)tst-nodelete): Likewise.
34454 ($(objpfx)tst-nodelete.out): Likewise.
34455 (LDFLAGS-tst-nodelete): Likewise.
34456 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34457 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34458 implement forced object deletion.
34459 (_dl_close): Pass false to _dl_close_worker.
34460 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34461 * elf/tst-nodelete.cc: New file.
34462 * elf/tst-nodeletelib.cc: Likewise.
34463 * elf/tst-znodeletelib.cc: Likewise.
34464 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34465
34466 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34467
34468 [BZ #18508]
34469 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34470 Depend on $(libdl).
34471 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34472 is not called infinitely times.
34473 (backtrace_helper): New function.
34474 (trace_arg): New struct.
34475 (st1): Enlarge stack size.
34476 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34477 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34478 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34479 Likewise.
34480
34481 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34482
34483 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34484
34485 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34486
34487 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34488 Include sys/types.h instead of bits/types.h.
34489 Remove inclusion of bits/wordsize.h.
34490
34491 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34492
34493 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34494 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34495 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34496 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34497 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34498 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34499
34500 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34501
34502 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34503 link-defines.sym.
34504 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34505 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34506 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34507 and LR_SIZE.
34508 * sysdeps/i386/link-defines.sym: New file.
34509
34510 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34511
34512 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34513 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34514 ($(objpfx)tst-audit3): New rule.
34515 ($(objpfx)tst-audit3.out): Likewise.
34516 * sysdeps/i386/tst-audit3.c: New file.
34517 * sysdeps/i386/tst-audit3.h: Likewise.
34518 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34519 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34520
34521 2015-07-07 Torvald Riegel <triegel@redhat.com>
34522
34523 [BZ #18633]
34524 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34525 pointer in C code.
34526 (__strcat_c): Likewise.
34527 (__strcat_g): Likewise.
34528
34529 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34530
34531 [BZ #18592]
34532 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34533
34534 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34535
34536 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34537 New function. (__ieee754_sqrtf): New function.
34538 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34539 New function.
34540 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34541 New function.
34542
34543 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34544
34545 * sysdeps/ieee754/support.c: Remove unused file.
34546
34547 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34548
34549 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34550 registers instead of d ones so the layout is kernel abi compatible.
34551 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34552 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34553 Likewise.
34554
34555 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34556
34557 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34558
34559 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34560
34561 [BZ #18619]
34562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34563 and return argument in case of subnormal argument.
34564
34565 2015-07-01 Martin Sebor <msebor@redhat.com>
34566
34567 [BZ #18435]
34568 * nptl/Makefile: Add tst-once5.cc.
34569 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34570 Remove macro redefinitions.
34571 * nptl/tst-once5.cc: New test.
34572
34573 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34574
34575 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34576
34577 * sysdeps/arm/libm-test-ulps: Regenerated.
34578
34579 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34580 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34581
34582 2015-06-30 Torvald Riegel <triegel@redhat.com>
34583
34584 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34585 lll_lock_wait_private and lll_futex_wake probes.
34586
34587 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34588 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34589 Likewise.
34590 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34591 atomic_spin_nop.
34592 * sysdeps/x86_64/bits/atomic.h: Likewise.
34593 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34594 to atomic_spin_nop and move ...
34595 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34596 ... here and ...
34597 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34598 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34599 atomic_spin_nop instead of BUSY_WAIT_NOP.
34600 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34601 Likewise.
34602 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34603 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34604 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34605 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34606 instead of atomic_delay.
34607
34608 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34609
34610 [BZ #18613]
34611 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34612 X_ADJ not X when adjusting exponent.
34613 (__ieee754_gamma_r): Do intermediate computations in
34614 round-to-nearest then adjust overflowing and underflowing results
34615 as needed.
34616 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34617 of X_ADJ not X when adjusting exponent.
34618 (__ieee754_gammaf_r): Do intermediate computations in
34619 round-to-nearest then adjust overflowing and underflowing results
34620 as needed.
34621 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34622 log of X_ADJ not X when adjusting exponent.
34623 (__ieee754_gammal_r): Do intermediate computations in
34624 round-to-nearest then adjust overflowing and underflowing results
34625 as needed. Use 1.0L not 1.0f as numerator of division.
34626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34627 log of X_ADJ not X when adjusting exponent.
34628 (__ieee754_gammal_r): Do intermediate computations in
34629 round-to-nearest then adjust overflowing and underflowing results
34630 as needed. Use 1.0L not 1.0f as numerator of division.
34631 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34632 of X_ADJ not X when adjusting exponent.
34633 (__ieee754_gammal_r): Do intermediate computations in
34634 round-to-nearest then adjust overflowing and underflowing results
34635 as needed. Use 1.0L not 1.0f as numerator of division.
34636 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34637 to auto-libm-test-in.
34638 (tgamma_test): Use ALL_RM_TEST.
34639 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34640 tests of tgamma with spurious-overflow.
34641 * math/auto-libm-test-out: Regenerated.
34642 * math/gen-libm-have-vector-test.sh: Do not check for START.
34643 * sysdeps/i386/fpu/libm-test-ulps: Update.
34644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34645
34646 [BZ #18612]
34647 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34648 arguments, just return 0.5 times the argument, with underflow
34649 forced as needed.
34650 * math/auto-libm-test-in: Add more tests of j1.
34651 * math/auto-libm-test-out: Regenerated.
34652
34653 [BZ #16559]
34654 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34655 (__ieee754_j1): Force underflow exception for small results.
34656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34657 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34658 (__ieee754_j1f): Force underflow exception for small results.
34659 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34660 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34662 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34663 (__ieee754_j1l): Force underflow exception for small results.
34664 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34665 * math/auto-libm-test-in: Add more tests of j1 and jn.
34666 * math/auto-libm-test-out: Regenerated.
34667
34668 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34669 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34670 (PF_MPLS): Likewise.
34671 (AF_IB): Likewise.
34672 (AF_MPLS): Likewise.
34673 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34674 value and macro.
34675 (MS_RMT_MASK): Include MS_LAZYTIME.
34676
34677 2015-06-26 Mel Gorman <mgorman@suse.de>
34678
34679 [BZ #18502]
34680 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34681 already minimal.
34682
34683 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34684
34685 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34686 (DT_MIPS_NUM): Update.
34687 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34688 DT_MIPS_RLD_MAP_REL.
34689
34690 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34691
34692 [BZ #16559]
34693 [BZ #18602]
34694 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34695 round-to-nearest internally then recompute results that
34696 underflowed to zero in the original rounding mode.
34697 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34700 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34701 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34702 * sysdeps/i386/fpu/libm-test-ulps: Update.
34703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34704
34705 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34706
34707 * NEWS: Fixed description of link with vector math library.
34708
34709 2015-06-25 Andreas Schwab <schwab@suse.de>
34710
34711 [BZ #18549]
34712 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34713 * libio/test-fmemopen.c (do_test): Add test for it.
34714
34715 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34716
34717 [BZ #17841]
34718 * Makeconfig (no-pie-ldflag): New.
34719 (+link): Set to $(+link-pie) if default to PIE.
34720 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34721 * config.make.in (build-pie-default): New.
34722 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34723 is default. AC_SUBST.
34724 * configure: Regenerated.
34725 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34726
34727 2015-06-24 Roland McGrath <roland@hack.frob.com>
34728
34729 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34730 to 'unsigned int'.
34731
34732 * resolv/gai_misc.h (struct waitlist): Change type of field
34733 counterp to 'volatile unsigned int *'.
34734 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34735 FUTEXADDR and OLDVAL.
34736 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34737 Give local variable TOTAL type 'volatile unsigned int'.
34738 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34739 * resolv/gai_suspend.c (gai_suspend):
34740 Give local variable CNTR type 'unsigned int'.
34741
34742 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34743 counterp to 'volatile unsigned int *'.
34744 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34745 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34746 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34747 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34748 Give local variable TOTAL type 'volatile unsigned int'.
34749 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34750
34751 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34752
34753 [BZ #18383]
34754 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34755 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34756 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34757 comment for i386/x86-64.
34758 (test-xfail-tst-tlsalign-extern-static): Removed.
34759
34760 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34761
34762 * math/test-double.h: New file.
34763 * math/test-float.h: Likewise.
34764 * math/test-ldouble.h: Likewise.
34765 * math/test-math-inline.h: Likewise.
34766 * math/test-math-no-inline.h: Likewise.
34767 * math/test-math-scalar.h: Likewise.
34768 * math/test-math-vector.h: Likewise.
34769 * math/test-vec-loop.h: Remove file. Contents moved into
34770 test-math-vector.h.
34771 * math/libm-test.inc (MATHCONST): Do not document macro.
34772 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34773 and test-math-scalar.h.
34774 (FUNC): Remove macro.
34775 (FUNC_TEST): Likewise.
34776 (FLOAT): Likewise.
34777 (MATHCONST): Likewise.
34778 (PRINTF_EXPR): Likewise.
34779 (PRINTF_XEXPR): Likewise.
34780 (PRINTF_NEXPR): Likewise.
34781 (TEST_DOUBLE): Likewise.
34782 (TEST_MATHVEC): Likewise.
34783 (__NO_MATH_INLINES): Likewise.
34784 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34785 and test-math-scalar.h.
34786 (FUNC): Remove macro.
34787 (FUNC_TEST): Likewise.
34788 (FLOAT): Likewise.
34789 (MATHCONST): Likewise.
34790 (PRINTF_EXPR): Likewise.
34791 (PRINTF_XEXPR): Likewise.
34792 (PRINTF_NEXPR): Likewise.
34793 (TEST_FLOAT): Likewise.
34794 (TEST_MATHVEC): Likewise.
34795 (__NO_MATH_INLINES): Likewise.
34796 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34797 and test-math-scalar.h.
34798 (FUNC): Remove macro.
34799 (FUNC_TEST): Likewise.
34800 (FLOAT): Likewise.
34801 (MATHCONST): Likewise.
34802 (PRINTF_EXPR): Likewise.
34803 (PRINTF_XEXPR): Likewise.
34804 (PRINTF_NEXPR): Likewise.
34805 (TEST_DOUBLE): Likewise.
34806 (TEST_MATHVEC): Likewise.
34807 (TEST_INLINE): Likewise.
34808 (__NO_MATH_INLINES): Likewise.
34809 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34810 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_FLOAT): Likewise.
34819 (TEST_MATHVEC): Likewise.
34820 (TEST_INLINE): Likewise.
34821 (__NO_MATH_INLINES): Likewise.
34822 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34823 and test-math-scalar.h.
34824 (FUNC): Remove macro.
34825 (FUNC_TEST): Likewise.
34826 (FLOAT): Likewise.
34827 (MATHCONST): Likewise.
34828 (PRINTF_EXPR): Likewise.
34829 (PRINTF_XEXPR): Likewise.
34830 (PRINTF_NEXPR): Likewise.
34831 (TEST_LDOUBLE): Likewise.
34832 (TEST_MATHVEC): Likewise.
34833 (TEST_INLINE): Likewise.
34834 (__NO_MATH_INLINES): Likewise.
34835 * math/test-ldouble.c: Include test-ldouble.h,
34836 test-math-no-inline.h and test-math-scalar.h.
34837 (FUNC): Remove macro.
34838 (FUNC_TEST): Likewise.
34839 (FLOAT): Likewise.
34840 (MATHCONST): Likewise.
34841 (PRINTF_EXPR): Likewise.
34842 (PRINTF_XEXPR): Likewise.
34843 (PRINTF_NEXPR): Likewise.
34844 (TEST_LDOUBLE): Likewise.
34845 (TEST_MATHVEC): Likewise.
34846 (__NO_MATH_INLINES): Likewise.
34847 * math/test-double-vlen2.h: Include test-double.h,
34848 test-math-no-inline.h and test-math-vector.h.
34849 (FLOAT): Remove macro.
34850 (FUNC): Likewise.
34851 (MATHCONST): Likewise.
34852 (PRINTF_EXPR): Likewise.
34853 (PRINTF_XEXPR): Likewise.
34854 (PRINTF_NEXPR): Likewise.
34855 (TEST_DOUBLE): Likewise.
34856 (TEST_MATHVEC): Likewise.
34857 (__NO_MATH_INLINES): Likewise.
34858 (CNCT): Likewise.
34859 (CONCAT): Likewise.
34860 (WRAPPER_NAME): Likewise.
34861 (WRAPPER_DECL): Likewise.
34862 (WRAPPER_DECL_ff): Likewise.
34863 (WRAPPER_DECL_fFF): Likewise.
34864 (VECTOR_WRAPPER): Likewise.
34865 (VECTOR_WRAPPER_ff): Likewise.
34866 (VECTOR_WRAPPER_fFF): Likewise.
34867 (VEC_LEN): New macro.
34868 * math/test-double-vlen4.h: Include test-double.h,
34869 test-math-no-inline.h and test-math-vector.h.
34870 (FLOAT): Remove macro.
34871 (FUNC): Likewise.
34872 (MATHCONST): Likewise.
34873 (PRINTF_EXPR): Likewise.
34874 (PRINTF_XEXPR): Likewise.
34875 (PRINTF_NEXPR): Likewise.
34876 (TEST_DOUBLE): Likewise.
34877 (TEST_MATHVEC): Likewise.
34878 (__NO_MATH_INLINES): Likewise.
34879 (CNCT): Likewise.
34880 (CONCAT): Likewise.
34881 (WRAPPER_NAME): Likewise.
34882 (WRAPPER_DECL): Likewise.
34883 (WRAPPER_DECL_ff): Likewise.
34884 (WRAPPER_DECL_fFF): Likewise.
34885 (VECTOR_WRAPPER): Likewise.
34886 (VECTOR_WRAPPER_ff): Likewise.
34887 (VECTOR_WRAPPER_fFF): Likewise.
34888 (VEC_LEN): New macro.
34889 * math/test-double-vlen8.h: Include test-double.h,
34890 test-math-no-inline.h and test-math-vector.h.
34891 (FLOAT): Remove macro.
34892 (FUNC): Likewise.
34893 (MATHCONST): Likewise.
34894 (PRINTF_EXPR): Likewise.
34895 (PRINTF_XEXPR): Likewise.
34896 (PRINTF_NEXPR): Likewise.
34897 (TEST_DOUBLE): Likewise.
34898 (TEST_MATHVEC): Likewise.
34899 (__NO_MATH_INLINES): Likewise.
34900 (CNCT): Likewise.
34901 (CONCAT): Likewise.
34902 (WRAPPER_NAME): Likewise.
34903 (WRAPPER_DECL): Likewise.
34904 (WRAPPER_DECL_ff): Likewise.
34905 (WRAPPER_DECL_fFF): Likewise.
34906 (VECTOR_WRAPPER): Likewise.
34907 (VECTOR_WRAPPER_ff): Likewise.
34908 (VECTOR_WRAPPER_fFF): Likewise.
34909 (VEC_LEN): New macro.
34910 * math/test-float-vlen4.h: Include test-float.h,
34911 test-math-no-inline.h and test-math-vector.h.
34912 (FLOAT): Remove macro.
34913 (FUNC): Likewise.
34914 (MATHCONST): Likewise.
34915 (PRINTF_EXPR): Likewise.
34916 (PRINTF_XEXPR): Likewise.
34917 (PRINTF_NEXPR): Likewise.
34918 (TEST_FLOAT): Likewise.
34919 (TEST_MATHVEC): Likewise.
34920 (__NO_MATH_INLINES): Likewise.
34921 (CNCT): Likewise.
34922 (CONCAT): Likewise.
34923 (WRAPPER_NAME): Likewise.
34924 (WRAPPER_DECL): Likewise.
34925 (WRAPPER_DECL_ff): Likewise.
34926 (WRAPPER_DECL_fFF): Likewise.
34927 (VECTOR_WRAPPER): Likewise.
34928 (VECTOR_WRAPPER_ff): Likewise.
34929 (VECTOR_WRAPPER_fFF): Likewise.
34930 (VEC_LEN): New macro.
34931 * math/test-float-vlen8.h: Include test-float.h,
34932 test-math-no-inline.h and test-math-vector.h.
34933 (FLOAT): Remove macro.
34934 (FUNC): Likewise.
34935 (MATHCONST): Likewise.
34936 (PRINTF_EXPR): Likewise.
34937 (PRINTF_XEXPR): Likewise.
34938 (PRINTF_NEXPR): Likewise.
34939 (TEST_FLOAT): Likewise.
34940 (TEST_MATHVEC): Likewise.
34941 (__NO_MATH_INLINES): Likewise.
34942 (CNCT): Likewise.
34943 (CONCAT): Likewise.
34944 (WRAPPER_NAME): Likewise.
34945 (WRAPPER_DECL): Likewise.
34946 (WRAPPER_DECL_ff): Likewise.
34947 (WRAPPER_DECL_fFF): Likewise.
34948 (VECTOR_WRAPPER): Likewise.
34949 (VECTOR_WRAPPER_ff): Likewise.
34950 (VECTOR_WRAPPER_fFF): Likewise.
34951 (VEC_LEN): New macro.
34952 * math/test-float-vlen16.h: Include test-float.h,
34953 test-math-no-inline.h and test-math-vector.h.
34954 (FLOAT): Remove macro.
34955 (FUNC): Likewise.
34956 (MATHCONST): Likewise.
34957 (PRINTF_EXPR): Likewise.
34958 (PRINTF_XEXPR): Likewise.
34959 (PRINTF_NEXPR): Likewise.
34960 (TEST_FLOAT): Likewise.
34961 (TEST_MATHVEC): Likewise.
34962 (__NO_MATH_INLINES): Likewise.
34963 (CNCT): Likewise.
34964 (CONCAT): Likewise.
34965 (WRAPPER_NAME): Likewise.
34966 (WRAPPER_DECL): Likewise.
34967 (WRAPPER_DECL_ff): Likewise.
34968 (WRAPPER_DECL_fFF): Likewise.
34969 (VECTOR_WRAPPER): Likewise.
34970 (VECTOR_WRAPPER_ff): Likewise.
34971 (VECTOR_WRAPPER_fFF): Likewise.
34972 (VEC_LEN): New macro.
34973 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34974 test-vec-loop.h.
34975 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34976 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34977 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34978 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34979 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34980 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34981 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34982
34983 2015-06-24 Roland McGrath <roland@hack.frob.com>
34984
34985 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34986 (__getlogin_r): ... this.
34987
34988 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34989
34990 [BZ #18594]
34991 * math/s_ccosh.c (__ccosh): Compare with least normal value
34992 instead of comparing class with FP_SUBNORMAL.
34993 * math/s_ccoshf.c (__ccoshf): Likewise.
34994 * math/s_ccoshl.c (__ccoshl): Likewise.
34995 * math/s_cexp.c (__cexp): Likewise.
34996 * math/s_cexpf.c (__cexpf): Likewise.
34997 * math/s_cexpl.c (__cexpl): Likewise.
34998 * math/s_csin.c (__csin): Likewise.
34999 * math/s_csinf.c (__csinf): Likewise.
35000 * math/s_csinh.c (__csinh): Likewise.
35001 * math/s_csinhf.c (__csinhf): Likewise.
35002 * math/s_csinhl.c (__csinhl): Likewise.
35003 * math/s_csinl.c (__csinl): Likewise.
35004 * math/s_ctan.c (__ctan): Likewise.
35005 * math/s_ctanf.c (__ctanf): Likewise.
35006 * math/s_ctanh.c (__ctanh): Likewise.
35007 * math/s_ctanhf.c (__ctanhf): Likewise.
35008 * math/s_ctanhl.c (__ctanhl): Likewise.
35009 * math/s_ctanl.c (__ctanl): Likewise.
35010 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35011 csin, csinh, ctan and ctanh.
35012 * math/auto-libm-test-out: Regenerated.
35013 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35014 * sysdeps/i386/fpu/libm-test-ulps: Update.
35015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35016
35017 2015-06-24 Roland McGrath <roland@hack.frob.com>
35018
35019 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35020 return value is wrong, print the expected value too.
35021
35022 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35023
35024 [BZ #18585]
35025 * elf/readlib.c (is_gdb_python_file): New.
35026 (process_file): Don't issue errors on filenames with -gdb.py
35027 suffix.
35028
35029 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35030
35031 * math/auto-libm-test-in: Add more tests of csin and csinh.
35032 * math/auto-libm-test-out: Regenerated.
35033 * math/libm-test.inc (csin_test_data): Remove tests moved to
35034 auto-libm-test-in.
35035 (csinh_test_data): Likewise.
35036
35037 [BZ #18593]
35038 * math/s_csin.c (__csin): Negate before rather than after possibly
35039 overflowing multiplication.
35040 * math/s_csinf.c (__csinf): Likewise.
35041 * math/s_csinh.c (__csinh): Likewise.
35042 * math/s_csinhf.c (__csinhf): Likewise.
35043 * math/s_csinhl.c (__csinhl): Likewise.
35044 * math/s_csinl.c (__csinl): Likewise.
35045 * math/auto-libm-test-in: Add some tests of csin and csinh.
35046 * math/auto-libm-test-out: Regenerated.
35047 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35048 (csinh_test_data): Likewise.
35049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35050
35051 [BZ #18586]
35052 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35053 underflow exception for small results.
35054
35055 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35056
35057 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35058 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35059 variable and included header.
35060 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35061 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35062 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35063 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35064 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35065 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35066 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35067 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35068 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35069 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35070 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35071 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35072 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35073 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35074 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35075 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35076
35077 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35078
35079 [BZ #16526]
35080 [BZ #16538]
35081 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35082 (__sin): Force underflow exception for arguments with small
35083 absolute value.
35084 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35085 (__kernel_sinf): Force underflow exception for arguments with
35086 small absolute value.
35087 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35088 (__kernel_sincosl): Force underflow exception for arguments with
35089 small absolute value.
35090 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35091 (__kernel_sinl): Force underflow exception for arguments with
35092 small absolute value.
35093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35094 (__kernel_sincosl): Force underflow exception for arguments with
35095 small absolute value.
35096 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35097 (__kernel_sinl): Force underflow exception for arguments with
35098 small absolute value.
35099 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35100 (__kernel_sinl): Force underflow exception for arguments with
35101 small absolute value.
35102 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35103 (__kernel_sinf): Force underflow exception for arguments with
35104 small absolute value.
35105 * math/auto-libm-test-in: Add more tests of sin and sincos.
35106 * math/auto-libm-test-out: Regenerated.
35107
35108 [BZ #18245]
35109 [BZ #18583]
35110 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35111 (__kernel_standard_l): Use feholdexcept and fesetenv around
35112 conversion to double instead of special-casing overflow and
35113 underflow.
35114 * math/libm-test.inc (fmod_test_data): Add more tests.
35115 (remainder_test_data): Likewise.
35116 (sqrt_test_data): Likewise.
35117
35118 2015-06-23 Torvald Riegel <triegel@redhat.com>
35119
35120 [BZ #17403]
35121 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35122 atomic_read_barrier, atomic_write_barrier): Define.
35123 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35124 atomic_read_barrier, atomic_write_barrier): Define.
35125
35126 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35127
35128 * math/Makefile [$(PERL) != no]
35129 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35130 dependency on libm-test.stmp below the inclusion of Rules.
35131
35132 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35133
35134 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35135 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35136 and included header.
35137 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35138 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35139 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35140 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35145 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35146 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35147 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35148 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35149 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35150 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35151 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35152 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35153 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35154 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35155 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35156
35157 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35158
35159 [BZ #18371]
35160 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35161 intermediate but not final result might underflow.
35162 * math/s_csqrtf.c (__csqrtf): Likewise.
35163 * math/s_csqrtl.c (__csqrtl): Likewise.
35164 * math/auto-libm-test-in: Add more tests of csqrt.
35165 * math/auto-libm-test-out: Regenerated.
35166 * sysdeps/i386/fpu/libm-test-ulps: Update.
35167
35168 [BZ #18219]
35169 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35170 threshold on absolute value of exponent for which scaling is used.
35171 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35172 * math/auto-libm-test-in: Add more tests of exp2.
35173 * math/auto-libm-test-out: Regenerated.
35174
35175 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35176
35177 [BZ #17977]
35178 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35179 when initializing interface list, based on the bug analysis
35180 and the patch proposed by Eric Newton.
35181 * resolv/tst-res_hconf_reorder.c: New test.
35182 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35183 tst-res_hconf_reorder.
35184 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35185 and $(shared-thread-library).
35186 (tst-res_hconf_reorder-ENV): New variable.
35187
35188 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35189 in comment.
35190
35191 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35192
35193 [BZ #16353]
35194 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35195 (__expm1): Force underflow exception for arguments with small
35196 absolute value.
35197 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35198 (__expm1f): Force underflow exception for arguments with small
35199 absolute value.
35200 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35201 (__expm1): Force underflow exception for arguments with small
35202 absolute value.
35203 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35204 (__expm1f): Force underflow exception for arguments with small
35205 absolute value.
35206 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35207 Check for small arguments before calling __expm1.
35208 * math/auto-libm-test-in: Do not mark underflow exceptions as
35209 possibly missing for bug 16353.
35210 * math/auto-libm-test-out: Regenerated.
35211
35212 2015-06-22 Andreas Schwab <schwab@suse.de>
35213
35214 [BZ #18513]
35215 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35216 PTR queries.
35217
35218 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35219
35220 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35221
35222 * string/strcoll_l.c: Remove unused struct element idxnow.
35223
35224 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35225
35226 [BZ #18569]
35227 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35228 underflow and return argument in case of subnormal argument.
35229 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35230 Likewise.
35231 * math/auto-libm-test-in: Add more tests of expm1.
35232 * math/auto-libm-test-out: Regenerated.
35233
35234 [BZ #16361]
35235 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35236 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35237 tiny results.
35238 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35239 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35240 tiny results.
35241 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35242 mark underflow exceptions as possibly missing for bug 16361.
35243 * math/auto-libm-test-out: Regenerated.
35244
35245 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35246
35247 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35248 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35249 Remove variable.
35250 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35251 (test-xfail-XOPEN2K8/utmpx.h/conform).
35252
35253 * conform/conformtest.pl ($xerrors): New variable.
35254 (note_error): New function.
35255 (compiletest): New argument $xfail. Use not_error.
35256 (runtest): Likewise.
35257 (top level): Handle xfail- lines. Update calls to compiletest and
35258 runtest. Handle xfail- and optional- in headers listed with
35259 allow-header.
35260 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35261 (O_EXEC): Likewise.
35262 (O_SEARCH): Likewise.
35263 * conform/data/stropts.h-data (ioctl): Likewise.
35264 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35265 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35266 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35267 (msghdr.msg_controllen): Likewise.
35268 (cmsghdr.cmsg_len): Likewise.
35269 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35270 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35271 variable.
35272 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35273 (test-xfail-XPG4/stropts.h/conform): Likewise.
35274 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35275 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35276 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35277 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35278 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35279 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35280 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35281 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35282 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35283 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35284 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35285 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35286 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35287 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35288 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35289 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35290 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35291 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35292 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35293
35294 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35295
35296 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35297 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35298 definitions for proper unfolding of __MATHDECL_VEC.
35299
35300 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35301
35302 * benchtests/bench-strcoll.c:
35303 Include string.h.
35304 (main): Remove unused variable res.
35305
35306 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35307
35308 * timezone/Makefile (%/UTC %/Universal):
35309 Generate test-result files for UTC and Universal.
35310
35311 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35312
35313 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35314
35315 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35316
35317 [BZ #16350]
35318 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35319 for arguments with small absolute value.
35320 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35321 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35322 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35323 (__asinh): Force underflow exception for arguments with small
35324 absolute value.
35325 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35326 (__asinhf): Force underflow exception for arguments with small
35327 absolute value.
35328 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35329 (__asinhl): Force underflow exception for arguments with small
35330 absolute value.
35331 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35332 (__asinhl): Force underflow exception for arguments with small
35333 absolute value.
35334 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35335 (__asinhl): Force underflow exception for arguments with small
35336 absolute value.
35337 * math/auto-libm-test-in: Do not mark underflow exceptions as
35338 possibly missing for bug 16350.
35339 * math/auto-libm-test-out: Regenerated.
35340
35341 * include/bits/ipc.h: Remove file.
35342 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35343 variable.
35344 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35345 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35346 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35347 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35348 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35349 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35350 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35351 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35352 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35353
35354 * math/auto-libm-test-in: Remove spurious underflow allowance for
35355 tests of cexp.
35356 * math/auto-libm-test-out: Regenerated.
35357
35358 [BZ #18558]
35359 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35360 unconditional definition.
35361 (MCAST_BLOCK_SOURCE): Likewise.
35362 (MCAST_UNBLOCK_SOURCE): Likewise.
35363 (MCAST_LEAVE_GROUP): Likewise.
35364 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35365 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35366 (MCAST_MSFILTER): Likewise.
35367 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35368 Remove variable.
35369 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35370 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35371 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35372 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35373 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35374
35375 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35376
35377 * NEWS: Mention addition of x86_64 vector sincosf.
35378 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35379 * math/test-float-vlen4.h: Likewise.
35380 * math/test-float-vlen8.h: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35382 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35383 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35384 * sysdeps/x86_64/fpu/Versions: New versions added.
35385 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35386 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35387 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35388 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35389 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35390 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35391 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35392 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35393 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35394 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35395 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35396 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35397 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35398 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35399 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35400 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35401 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35402 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35403 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35404 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35405 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35406 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35407 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35408 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35409
35410 * NEWS: Mention addition of x86_64 vector sincos.
35411 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35412 * math/math.h (__MATHDECL_VEC): New macro.
35413 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35414 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35415 declaration under condition.
35416 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35417 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35418 TEST_VEC_LOOP change.
35419 * math/test-double-vlen4.h: Likewise.
35420 * math/test-double-vlen8.h: Likewise.
35421 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35422 * math/test-float-vlen4.h: Likewise.
35423 * math/test-float-vlen8.h: Likewise.
35424 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35425 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35426 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35427 * sysdeps/x86_64/fpu/Versions: New versions added.
35428 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35429 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35430 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35431 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35432 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35433 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35435 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35436 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35437 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35438 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35439 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35440 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35441 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35442 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35443 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35444 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35445 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35446 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35447 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35448 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35449 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35450 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35451 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35452
35453 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35454 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35455 redirections for powf.
35456 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35457 * sysdeps/x86_64/fpu/Versions: New versions added.
35458 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35459 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35460 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35461 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35462 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35463 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35464 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35465 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35466 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35467 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35468 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35469 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35470 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35471 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35472 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35473 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35474 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35475 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35476 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35477 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35478 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35479 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35480 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35481 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35482 * math/test-float-vlen16.h: Fixed 2 argument macro.
35483 * math/test-float-vlen4.h: Likewise.
35484 * math/test-float-vlen8.h: Likewise.
35485 * NEWS: Mention addition of x86_64 vector powf.
35486
35487 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35488
35489 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35490 and redefine.
35491 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35492 and redefine.
35493 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35494 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35496
35497 [BZ #18553]
35498 * resource/getpriority.c (getpriority): Rename to __getpriority
35499 and define as weak alias of __getpriority.
35500 * resource/setpriority.c (setpriority): Rename to __setpriority
35501 and define as weak alias of __setpriority.
35502 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35503 __getpriority and define as weak alias of __getpriority.
35504 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35505 __setpriority and define as weak alias of __setpriority.
35506 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35507 strong name.
35508 (setpriority): Use __setpriority as strong name.
35509 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35510 __getpriority and define as weak alias of __getpriority.
35511 * include/sys/resource.h (__getpriority): Declare. Use
35512 libc_hidden_proto.
35513 (__setpriority): Likewise.
35514 (getpriority): Don't use libc_hidden_proto.
35515 (setpriority): Likewise.
35516 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35517 getpriority. Call __setpriority instead of setpriority.
35518 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35519 Remove variable.
35520
35521 [BZ #18547]
35522 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35523 as weak alias of __getttynam. Use prototype function definition.
35524 Call __setttyent, __getttyent and __endttyent instead of
35525 setttyent, getttyent and endttyent.
35526 (getttyent): Rename to __getttyent and define as weak alias of
35527 __getttyent. Call __setttyent instead of setttyent. Call
35528 __fgets_unlocked instead of fgets_unlocked.
35529 (setttyent): Rename to __setttyent and define as weak alias of
35530 __setttyent.
35531 (endttyent): Rename to __endttyent and define as weak alias of
35532 __endttyent.
35533 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35534 (__setttyent): Likewise.
35535 (__endttyent): Likewise.
35536 (getttyent): Don't use libc_hidden_proto.
35537 (setttyent): Likewise.
35538 (endttyent): Likewise.
35539 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35540 __endttyent instead of setttyent, getttyent and endttyent.
35541 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35542 Remove variable.
35543
35544 [BZ #18546]
35545 * socket/recv.c (__recv): Use libc_hidden_def.
35546 * socket/socket.c (__socket): Likewise.
35547 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35548 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35549 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35550 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35551 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35552 libc_hidden_def.
35553 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35554 libc_hidden_weak.
35555 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35556 Use libc_hidden_proto.
35557 (__recv): Likewise.
35558 * socket/Versions (libc): Export __recv and __socket at version
35559 GLIBC_PRIVATE.
35560 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35561 instead of recv.
35562 (init_mq_netlink): Call __socket instead of socket.
35563 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35564 Remove variable.
35565
35566 [BZ #18545]
35567 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35568 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35569 hidden_weak.
35570 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35571 define as alias of __mq_timedsend. Use hidden_weak.
35572 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35573 __mq_timedsend as strong name.
35574 (mq_timedreceive): Use __mq_timedreceive as strong name.
35575 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35576 (__mq_timedreceive): Likewise.
35577 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35578 __mq_timedreceive instead of mq_timedreceive.
35579 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35580 instead of mq_timedsend.
35581 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35582 Remove variable.
35583
35584 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35585 hidden_def and hidden_weak instead of libc_hidden_def and
35586 libc_hidden_weak.
35587 (top level): Refer to hidden_def in comment.
35588 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35589 macro. Use it instead of libc_hidden_def.
35590 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35591 specify __GI_* name explicitly.
35592 (mq_timedreceive): Likewise.
35593 (mq_setattr): Likewise.
35594
35595 [BZ #18544]
35596 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35597 __pthread_barrier_init and define as weak alias of
35598 __pthread_barrier_init.
35599 * sysdeps/sparc/nptl/pthread_barrier_init.c
35600 (pthread_barrier_init): Likewise.
35601 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35602 __pthread_barrier_wait and define as weak alias of
35603 __pthread_barrier_wait.
35604 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35605 (pthread_barrier_wait): Likewise.
35606 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35607 (pthread_barrier_wait): Likewise.
35608 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35609 (pthread_barrier_wait): Likewise.
35610 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35611 (pthread_barrier_wait): Likewise.
35612 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35613 __pthread_barrier_wait at version GLIBC_PRIVATE.
35614 * include/pthread.h (__pthread_barrier_init): Declare.
35615 (__pthread_barrier_wait): Likewise.
35616 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35617 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35618 (helper_thread): Likewise.
35619 (init_mq_netlink): Call __pthread_barrier_init instead of
35620 pthread_barrier_init.
35621
35622 [BZ #18542]
35623 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35624 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35625 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35626 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35627 vswscanf.
35628 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35629 Remove variable.
35630
35631 [BZ #18540]
35632 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35633 strong alias of _IO_fflush. Use libc_hidden_def.
35634 * libio/iofflush_u.c (fflush_unlocked): Rename to
35635 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35636 Use libc_hidden_weak.
35637 * include/stdio.h (__fflush_unlocked): Declare. Use
35638 libc_hidden_proto.
35639 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35640 fflush_unlocked.
35641 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35642 Remove variable.
35643
35644 [BZ #18539]
35645 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35646 define as weak alias of __addseverity.
35647 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35648 Remove variable.
35649 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35650 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35651 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35652
35653 [BZ #18536]
35654 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35655 (__tfind): Likewise.
35656 (__tdelete): Likewise.
35657 (__twalk): Likewise.
35658 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35659 __twalk to GLIBC_PRIVATE.
35660 * include/search.h (__tsearch): Use libc_hidden_proto.
35661 (__tfind): Likewise.
35662 (__tdelete): Likewise.
35663 (__twalk): Likewise.
35664 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35665 Call __tdelete instead of tdelete.
35666 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35667 tfind. Call __tsearch instead of tsearch.
35668 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35669 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35670 Remove variable.
35671 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35672
35673 [BZ #18534]
35674 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35675 (dprintf): Define as a weak alias of __dprintf, not a strong
35676 alias.
35677 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35678 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35679 dprintf.
35680 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35681 Remove variable.
35682 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35683 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35684
35685 [BZ #18533]
35686 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35687 not a strong alias.
35688 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35689 Remove variable.
35690
35691 [BZ #18532]
35692 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35693 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35694 (in6addr_loopback): Rename to __in6addr_loopback and define as
35695 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35696 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35697 libc_hidden_proto.
35698 (__in6addr_any): Likewise.
35699 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35700 in6addr_any.
35701 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35702 variable.
35703 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35704
35705 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35706
35707 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35708 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35709 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35710 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35711 redirections for pow.
35712 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35713 * sysdeps/x86_64/fpu/Versions: New versions added.
35714 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35715 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35716 build of SSE, AVX2 and AVX512 IFUNC versions.
35717 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35718 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35719 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35720 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35721 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35722 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35723 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35724 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35725 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35726 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35727 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35728 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35729 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35730 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35731 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35732 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35733 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35734 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35735 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35736 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35737 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35738 * NEWS: Mention addition of x86_64 vector pow.
35739
35740 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35741 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35742 redirections for expf.
35743 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35744 * sysdeps/x86_64/fpu/Versions: New versions added.
35745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35746 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35747 build of SSE, AVX2 and AVX512 IFUNC versions.
35748 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35749 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35750 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35751 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35752 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35753 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35754 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35755 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35756 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35757 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35758 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35759 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35760 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35761 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35762 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35763 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35764 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35765 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35766 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35767 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35768 * NEWS: Mention addition of x86_64 vector expf.
35769
35770 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35771 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35772 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35773 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35774 redirections for exp.
35775 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35776 * sysdeps/x86_64/fpu/Versions: New versions added.
35777 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35778 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35779 build of SSE, AVX2 and AVX512 IFUNC versions.
35780 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35781 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35782 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35783 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35784 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35785 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35786 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35787 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35788 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35789 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35790 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35791 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35792 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35793 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35794 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35795 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35796 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35797 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35798 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35799 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35800 * NEWS: Mention addition of x86_64 vector exp.
35801
35802 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35803 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35804 redirections for logf.
35805 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35806 * sysdeps/x86_64/fpu/Versions: New versions added.
35807 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35808 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35809 build of SSE, AVX2 and AVX512 IFUNC versions.
35810 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35811 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35812 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35813 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35814 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35815 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35816 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35817 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35818 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35819 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35820 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35821 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35822 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35823 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35824 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35825 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35826 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35827 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35828 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35829 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35830 * NEWS: Mention addition of x86_64 vector logf.
35831
35832 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35833 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35834 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35835 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35836 redirections for log.
35837 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35838 * sysdeps/x86_64/fpu/Versions: New versions added.
35839 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35840 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35841 build of SSE, AVX2 and AVX512 IFUNC versions.
35842 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35843 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35844 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35845 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35846 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35847 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35848 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35849 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35850 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35851 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35852 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35853 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35854 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35855 test.
35856 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35857 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35858 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35859 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35860 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35861 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35862 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35863 * NEWS: Mention addition of x86_64 vector log.
35864
35865 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35866
35867 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35868 cfi_adjust_cfa_offset argument.
35869 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35870 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35871
35872 [BZ #18034]
35873 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35874 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35875 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35876 ordering using ldar.
35877 (_dl_tlsdesc_dynamic): Likewise.
35878 (_dl_tlsdesc_return_lazy): Likewise.
35879 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35880 relaxed atomics instead of volatile and synchronize with release store.
35881 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35882 volatile.
35883 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35884
35885 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35886
35887 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35888 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35889 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35890 * sysdeps/x86_64/fpu/Versions: New versions added.
35891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35892 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35893 build of SSE, AVX2 and AVX512 IFUNC versions.
35894 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35895 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35896 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35897 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35898 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35899 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35900 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35901 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35902 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35903 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35904 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35905 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35906 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35907 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35908 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35909 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35910 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35911 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35912 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35913 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35914 * NEWS: Mention addition of x86_64 vector sinf.
35915
35916 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35917
35918 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35919 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35920 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35921 Remove variable.
35922 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35923 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35924
35925 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35926
35927 [BZ #18530]
35928 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35929 strong alias of _IO_fputs. Use libc_hidden_def.
35930 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35931 and define as weak alias of __fputs_unlocked. Use
35932 libc_hidden_weak.
35933 * include/stdio.h (__fputs_unlocked): Declare. Use
35934 libc_hidden_proto.
35935 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35936 fputs_unlocked.
35937
35938 [BZ #18529]
35939 * resolv/netdb.h [__USE_POSIX]: Change condition to
35940 [__USE_XOPEN2K].
35941 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35942 not expect.
35943 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35944 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35945 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35946 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35947 [XPG4 || UNIX98] (AI_ALL): Likewise.
35948 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35949 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35950 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35951 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35952 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35953 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35954 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35955 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35956 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35957 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35958 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35959 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35960 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35961 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35962 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35963 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35964 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35965 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35966 [XPG4 || UNIX98] (gai_strerror): Likewise.
35967 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35968 [XPG4 || UNIX98] (getnameinfo): Likewise.
35969
35970 [BZ #18528]
35971 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35972 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35973 __USE_XOPEN2K8].
35974 (getgrent): Likewise.
35975 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35976 expect.
35977 [XPG3 || POSIX2008] (endgrent): Likewise.
35978 [XPG3] (setgrent): Likewise.
35979 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35980 variable.
35981 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35982
35983 [BZ #18527]
35984 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35985 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35986 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35987 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35988 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35989 * include/unistd.h (__getlogin_r): Declare. Use
35990 libc_hidden_proto.
35991 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35992 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35993 variable.
35994 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35995 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35996 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35997
35998 2015-06-12 Martin Sebor <msebor@redhat.com>
35999
36000 [BZ #18512]
36001 * Makerules (check-install-supported): New target.
36002 (install): Add check-install-supported as a dependency.
36003 * manual/install.texi (Installing the C Library): Document
36004 that overriding prefix and exec_prefix is not supported.
36005 Mention DESTDIR.
36006 * INSTALL: Regenerate from the above.
36007
36008 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36009
36010 [BZ #18519]
36011 * posix/Versions (libc): Export __libc_pread at version
36012 GLIBC_PRIVATE.
36013 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36014 instead of pread.
36015 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36016 variable.
36017
36018 [BZ #18522]
36019 * misc/efgcvt_r.c
36020 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36021 (cvt_symbol): Use weak_alias instead of strong_alias.
36022 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36023 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36024 Remove variable.
36025 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36026 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36027
36028 [BZ #18520]
36029 * inet/herrno.c (h_errno): Rename to __h_errno.
36030 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36031 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36032 to __h_errno instead of h_errno.
36033 * nptl/herrno.c (h_errno): Rename to __h_errno.
36034 (__h_errno_location): Refer to __h_errno not h_errno.
36035 * resolv/Versions (h_errno): Rename to __h_errno.
36036 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36037 Remove variable.
36038 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36039
36040 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36041
36042 * configure.ac: More strict check for AVX512 assembler support.
36043 * configure: Regenerated.
36044
36045 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36046 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36047 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36048 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36049 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36050 * sysdeps/x86_64/fpu/Versions: New versions added.
36051 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36052 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36053 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36058 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36059 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36060 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36061 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36062 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36063 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36064 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36065 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36066 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36067 test.
36068 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36069 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36070 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36071 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36072 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36073 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36074 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36075 * NEWS: Mention addition of x86_64 vector sin.
36076
36077 2015-06-11 Florian Weimer <fweimer@redhat.com>
36078
36079 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36080 comment.
36081
36082 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36083
36084 [BZ #18479]
36085 * nptl/pt-interp.c: New file.
36086 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36087 Add pt-interp.
36088 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36089 $(common-objpfx)runtime-linker.h.
36090
36091 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36092
36093 * Makeconfig (+interp): Remove unused variable.
36094 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36095 only. Depend on $(common-objpfx)runtime-linker.h instead of
36096 $(elf-objpfx)runtime-linker.h.
36097 ($(elf-objpfx)runtime-linker.h): Rename to
36098 $(common-objpfx)runtime-linker.h and move ...
36099 * Makerules [$(build-shared) = yes]: ... here.
36100 * elf/interp.c: Include <runtime-linker.h> instead of
36101 <elf/runtime-linker.h>.
36102
36103 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36104
36105 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36106 (__gettimeofday_syscall): Remove vsyscall fallback.
36107 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36108 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36109 Add syscall fallback function.
36110 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36111 if vDSO is not present.
36112 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36113 fallback function.
36114 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36115 present.
36116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36117 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36118
36119 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36120
36121 [BZ #18497]
36122 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36123 of wcscmp.
36124 (wcscmp): Define as weak alias of WCSCMP.
36125 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36126 wcscoll.
36127 (USE_HIDDEN_DEF): Define.
36128 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36129 __wcscoll. Don't use libc_hidden_weak.
36130 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36131 wcscmp.
36132 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36133 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36134 __GI_wcscmp.
36135 (weak_alias): Undefine and redefine.
36136 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36137 __wcscmp and define as weak alias of __wcscmp.
36138 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36139 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36140 (__wcscoll): Likewise.
36141 (wcscmp): Don't use libc_hidden_proto.
36142 (wcscoll): Likewise.
36143 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36144 wcscoll.
36145 * posix/regexec.c (check_node_accept_bytes): Likewise.
36146 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36147 variable.
36148 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36149 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36150
36151 [BZ #18507]
36152 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36153 __fstatvfs and define as weak alias of __fstatvfs. Use
36154 libc_hidden_weak.
36155 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36156 and define as weak alias of __statvfs. Use libc_hidden_weak.
36157 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36158 Define as alias of __fstatvfs, not fstatvfs.
36159 (fstatvfs64): Likewise.
36160 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36161 Define as alias of __statvfs, not statvfs.
36162 (statvfs64): Likewise.
36163 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36164 Remove variable.
36165
36166 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36167
36168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36169 (HAVE_GETCPU_VSYSCALL): Define.
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36171 (HAVE_GETCPU_VSYSCALL): Likewise.
36172 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36173 * sysdeps/unix/sysv/linux/sched_getcpu.c
36174 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36175 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36176 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36177 prototype.
36178 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36179 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36182 Define.
36183 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36184 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36187
36188 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36189
36190 * sysdeps/x86_64/fpu/Makefile: New file.
36191 * sysdeps/x86_64/fpu/Versions: New file.
36192 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36193 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36194 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36195 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36196 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36197 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36198 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36199 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36201 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36202 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36203 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36204 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36205 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36206 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36207 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36208 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36209 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36210 * sysdeps/x86_64/configure: Regenerated.
36211 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36212 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36213 * manual/install.texi (Configuring and compiling): Document
36214 --disable-mathvec.
36215 * INSTALL: Regenerated.
36216 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36217
36218 * math/Makefile: Added rules for vector tests.
36219 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36220 declaration under condition.
36221 * math/test-double-vlen2.h: New file.
36222 * math/test-double-vlen4.h: New file.
36223 * math/test-double-vlen8.h: New file.
36224 * math/test-vec-loop.h: Added initialization macro.
36225 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36226 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36227 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36228 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36229 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36230 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36231 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36232 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36233 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36234 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36235 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36236
36237 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36238 * sysdeps/x86_64/fpu/Versions: New versions added.
36239 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36240 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36241 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36242 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36243 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36244 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36245 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36246 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36247 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36248 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36249 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36250 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36251 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36252 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36253 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36254 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36255 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36256 * NEWS: Mention addition of x86_64 vector cosf.
36257
36258 * math/Makefile: Added CFLAGS for new tests.
36259 * math/test-float-vlen16.h: New file.
36260 * math/test-float-vlen4.h: New file.
36261 * math/test-float-vlen8.h: New file.
36262 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36263 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36264 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36265 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36266 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36267 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36268 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36269 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36270 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36271 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36272 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36273
36274 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36275
36276 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36277 * locale/programs/ld-ctype.c: Likewise.
36278
36279 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36280
36281 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36282 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36283 bit_ZMM16_31_state): New macro.
36284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36285 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36286
36287 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36288
36289 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36290
36291 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36292
36293 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36294
36295 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36296
36297 [BZ #18498]
36298 * libio/memstream.c (open_memstream): Rename to __open_memstream
36299 and define as weak alias of __open_memstream.
36300 * include/stdio.h (__open_memstream): Declare. Use
36301 libc_hidden_proto.
36302 (open_memstream): Don't use libc_hidden_proto.
36303 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36304 open_memstream.
36305 * posix/getopt.c (_getopt_internal_r): Likewise.
36306 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36307 variable.
36308 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36309 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36310 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36311
36312 [BZ #18496]
36313 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36314 instead of wcrtomb.
36315
36316 [BZ #18483]
36317 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36318 [__USE_XOPEN2K8]. Remove redundant #endif.
36319 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36320 Remove redundant #if.
36321 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36322 Remove variable.
36323 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36324 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36325
36326 [BZ #18495]
36327 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36328 (__iswlower): Likewise.
36329 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36330 (__iswlower): Likewise.
36331 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36332 instead of towlower.
36333 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36334 instead of iswlower. Call __towupper instead of towupper.
36335 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36336 instead of iswalnum.
36337
36338 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36339
36340 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36341 errors to stderr.
36342
36343 2015-06-05 Florian Weimer <fweimer@redhat.com>
36344
36345 [BZ #15661]
36346 [BZ #17322]
36347 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36348 Check for overflow properly. Check for O_APPEND. Ignore large
36349 file system block sizes. Add comments about problems.
36350 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36351 * manual/filesys.texi (Storage Allocation): New node.
36352
36353 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36354
36355 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36356 cancellable syscalls.
36357 (SYS_ify): Add guard to no redefine it.
36358 (INLINE_SYSCALL): Likewise.
36359 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36360 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36361 SYSCALL_CANCEL instead.
36362 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36363 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36364 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36365 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36366 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36367 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36368 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36369 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36370 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36371 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36372 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36373 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36374 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36375 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36376 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36377 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36378 Likewise.
36379 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36380 (__libc_pread64): Likewise.
36381 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36382 (__libc_preadv): Likewise.
36383 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36384 (__libc_readv64): Likewise.
36385 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36386 (__libc_pwrite): Likewise.
36387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36388 (__libc_pwrite64): Likewise.
36389 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36390 (__libc_pwritev): Likewise.
36391 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36392 (__libc_pwritev64): Likewise.
36393 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36394 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36395 (sync_file_range): Likewise.
36396 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36397 Likewise.
36398 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36399 Likewise.
36400 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36401 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36402 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36403 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36404 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36405 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36406 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36407 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36409 Likewise.
36410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36411 (__libc_read64): Likewise.
36412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36413 Likewise.
36414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36415 Likewise.
36416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36417 Likewise.
36418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36419 Likewise.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36421 (__libc_pread64): Likewise.
36422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36423 Likewise.
36424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36425 (__libc_pwrite64): Likewise.
36426 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36427 (sync_file_range): Likewise.
36428 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36429 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36430 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36431 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36432 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36433 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36434 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36435 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36436 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36437 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36438 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36439 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36440 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36441 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36442 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36443 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36444 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36445 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36446 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36447 Likewise.
36448 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36449 Likewise.
36450 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36451 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36452 Likewise.
36453 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36454 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36455 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36456 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36457 Likewise.
36458 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36459 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36460 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36461 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36462 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36463
36464 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36465
36466 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36467 Include dl-vdso.
36468 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36469 Use VDSO routines for gettimeofday, clock_gettime if
36470 available.
36471 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36472 Declare VDSO symbols.
36473 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36474 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36475 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36476 * sysdeps/unix/sysv/linux/arm/Versions: Add
36477 __vdso_clock_gettime.
36478
36479 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36480
36481 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36482 be an inline implementation regardless of library is built within.
36483 (open_not_cancel_2): Likewise.
36484 (__read_nocancel): Likewise.
36485 (__write_nocancel): Likewise.
36486 (openat_not_cancel): Likewise.
36487 (openat_not_cancel_3): Likewise.
36488 (openat64_not_cancel): Likewise.
36489 (openat64_not_cancel_3): Likewise.
36490 (__close_nocancel): Likewise.
36491 (pause_not_cancel): Likewise.
36492 (nanosleep_not_cancel): Likewise.
36493 (sigsuspend_not_cancel): Likewise.
36494
36495 2015-06-04 Torvald Riegel <triegel@redhat.com>
36496
36497 [BZ #14958]
36498 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36499 wake-up.
36500 (__pthread_rwlock_rdlock_slow): Likewise.
36501 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36502 Likewise.
36503 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36504 Likewise.
36505 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36506 * nptl/tst-rwlock16.c: New file.
36507 * nptl/Makefile (tests): Add new test.
36508
36509 2015-06-04 Torvald Riegel <triegel@redhat.com>
36510
36511 [BZ #18324]
36512 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36513 missing wake-up of readers.
36514 * nptl/tst-rwlock15.c: New file.
36515 * nptl/Makefile (tests): Add new test.
36516
36517 2015-06-03 Roland McGrath <roland@hack.frob.com>
36518
36519 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36520 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36521 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36522 and __nacl_supply_interface_rtld.
36523 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36524 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36525 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36526 Add __nacl_supply_interface_rtld.
36527 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36528
36529 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36530
36531 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36532 isfinite.
36533 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36534 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36535
36536 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36537
36538 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36539 __signbit* with standard C99 macros.
36540 * math/e_exp10l.c: Likewise.
36541 * math/e_exp2l.c: Likewise.
36542 * math/e_scalb.c: Likewise.
36543 * math/e_scalbf.c: Likewise.
36544 * math/e_scalbl.c: Likewise.
36545 * math/s_ldexp.c: Likewise.
36546 * math/s_ldexpf.c: Likewise.
36547 * math/s_ldexpl.c: Likewise.
36548 * math/w_atan2.c: Likewise.
36549 * math/w_atan2f.c: Likewise.
36550 * math/w_atan2l.c: Likewise.
36551 * math/w_cosh.c: Likewise.
36552 * math/w_coshf.c: Likewise.
36553 * math/w_coshl.c: Likewise.
36554 * math/w_exp10.c: Likewise.
36555 * math/w_exp10f.c: Likewise.
36556 * math/w_exp10l.c: Likewise.
36557 * math/w_exp2.c: Likewise.
36558 * math/w_exp2f.c: Likewise.
36559 * math/w_exp2l.c: Likewise.
36560 * math/w_fmod.c: Likewise.
36561 * math/w_fmodf.c: Likewise.
36562 * math/w_fmodl.c: Likewise.
36563 * math/w_hypot.c: Likewise.
36564 * math/w_hypotf.c: Likewise.
36565 * math/w_hypotl.c: Likewise.
36566 * math/w_jnl.c: Likewise.
36567 * math/w_lgamma.c: Likewise.
36568 * math/w_lgamma_r.c: Likewise.
36569 * math/w_lgammaf.c: Likewise.
36570 * math/w_lgammaf_r.c: Likewise.
36571 * math/w_lgammal.c: Likewise.
36572 * math/w_lgammal_r.c: Likewise.
36573 * math/w_pow.c: Likewise.
36574 * math/w_powf.c: Likewise.
36575 * math/w_powl.c: Likewise.
36576 * math/w_remainder.c: Likewise.
36577 * math/w_remainderf.c: Likewise.
36578 * math/w_remainderl.c: Likewise.
36579 * math/w_scalb.c: Likewise.
36580 * math/w_scalbf.c: Likewise.
36581 * math/w_scalbl.c: Likewise.
36582 * math/w_scalbln.c: Likewise.
36583 * math/w_scalblnf.c: Likewise.
36584 * math/w_scalblnl.c: Likewise.
36585 * math/w_sinh.c: Likewise.
36586 * math/w_sinhf.c: Likewise.
36587 * math/w_sinhl.c: Likewise.
36588 * math/w_tgamma.c: Likewise.
36589 * math/w_tgammaf.c: Likewise.
36590 * math/w_tgammal.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36601 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36602 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36603 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36604 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36605 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36606 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36608 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36609 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36610 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36616 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36617 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36618 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36619 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36620 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36621 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36622 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36623 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36624 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36625 * stdio-common/printf_fp.c: Likewise.
36626 * stdio-common/printf_fphex.c: Likewise.
36627 * stdio-common/printf_size.c: Likewise.
36628
36629 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36630
36631 [BZ #18470]
36632 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36633 strnlen.
36634 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36635 Remove variable.
36636 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36637 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36638 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36639 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36640 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36641 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36642 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36643 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36644 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36645 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36646
36647 [BZ #18468]
36648 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36649 weak alias of __wmemchr. Use libc_hidden_weak.
36650 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36651 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36652 instead of wmemchr.
36653
36654 2015-06-02 Roland McGrath <roland@hack.frob.com>
36655
36656 [BZ #18383]
36657 * elf/tst-tlsalign-extern.c: New file.
36658 * elf/tst-tlsalign-extern-static.c: New file.
36659 * elf/tst-tlsalign-vars.c: New file.
36660 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36661 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36662 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36663 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36664 (test-xfail-tst-tlsalign-extern-static): New variable.
36665
36666 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36667
36668 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36669 Use variable name _sc_err instead of err.
36670 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36671 instead of ret.
36672 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36673 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36674 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36675 (INLINE_SYSCALL): Likewise.
36676
36677 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36678 * include/string.h (__strnlen): Use libc_hidden_proto.
36679 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36680 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36681 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36682 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36683 (libc_hidden_def): Undefine and redefine.
36684 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36685 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36686 __GI_strnlen.
36687 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36688 libc_hidden_def.
36689 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36690
36691 [BZ #18469]
36692 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36693 weak alias of __towlower. Use libc_hidden_weak.
36694 (towupper): Rename to __towupper and define as weak alias of
36695 __towupper. Use libc_hidden_weak.
36696 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36697 (__towupper): Likewise.
36698 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36699 __towlower instead of towlower.
36700
36701 2015-06-02 Roland McGrath <roland@hack.frob.com>
36702
36703 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36704 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36705
36706 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36707
36708 * sysdeps/aarch64/libm-test-ulps: Update.
36709
36710 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36711
36712 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36713 Define.
36714 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36716 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36717 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36718 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36719 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36720 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36721
36722 2015-06-01 Martin Sebor <msebor@redhat.com>
36723
36724 [BZ #18116]
36725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36726 (__setcontext): Use extended four-operand version of mtsf whenever
36727 possible.
36728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36729 (__novec_swapcontext): Likewise.
36730
36731 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36732
36733 * benchtests/scripts/compare_bench.py: New file.
36734 * benchtests/scripts/import_bench.py (mean): New function.
36735 (split_list): Likewise.
36736 (do_for_all_timings): Likewise.
36737 (compress_timings): Likewise.
36738
36739 * benchtests/scripts/import_bench.py: New file.
36740 * benchtests/scripts/validate_benchout.py: Import import_bench
36741 instead of jsonschema.
36742 (validate_bench): Remove function.
36743 (main): Use import_bench.
36744
36745 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36746
36747 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36748 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36749
36750 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36751
36752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36753
36754 2015-05-28 Roland McGrath <roland@hack.frob.com>
36755
36756 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36757 set THREAD_SELF->tid to a magic value and futex-wake it.
36758 Pass its address to the thread_exit system call.
36759 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36760 bit is clear.
36761 * sysdeps/nacl/lowlevellock.h: New file.
36762 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36763
36764 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36765 Add TIMEOUT to current time, don't subtract it.
36766
36767 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36768
36769 [BZ #2981]
36770 [BZ #18422]
36771 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36772 ($(objpfx)tst-audit2.out): Also depend on
36773 $(objpfx)tst-auditmod9b.so.
36774 * elf/tst-audit2.c: Include <dlfcn.h>.
36775 (calloc_called): New.
36776 (calloc): Allow to be called more than once.
36777 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36778
36779 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36780
36781 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36782 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36783
36784 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36785
36786 * stdlib/monetary.h: Fix comment.
36787
36788 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36789
36790 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36791 Avoid using variables in #defines that might cause shadowing.
36792 (INTERNAL_VSYSCALL_CALL): Likewise.
36793
36794 2015-05-26 Roland McGrath <roland@hack.frob.com>
36795
36796 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36797
36798 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36799 * nptl/lll_timedlock_wait.c: ... to this new file.
36800 * nptl/Makefile (libpthread-routines): Add it.
36801 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36802 * nptl/lll_timedwait_tid.c: ... to this new file.
36803 * nptl/Makefile (libpthread-routines): Add it.
36804 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36805 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36806 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36807 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36808 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36809 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36810 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36811 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36812 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36813 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36814
36815 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36816
36817 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36818 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36819 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36820 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36821 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36823 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36825 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36826 * sysdeps/unix/sysv/linux/tile/sysdep.h
36827 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36828 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36829 using vDSO syscall macro.
36830
36831 2015-05-26 Andriy Rysin <arysin@gmail.com>
36832
36833 [BZ #17293]
36834 * uk_UA: Fix sorting order for Ukrainian locale
36835
36836 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36837
36838 * stdlib/monetary.h: Fix comment.
36839
36840 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36841
36842 [BZ #18234]
36843 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36844 st_mtim and st_ctim members.
36845 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36846 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36847 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36848 (struct stat64): Likewise.
36849 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36850 (struct stat64): Likewise.
36851 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36852 (struct stat64): Likewise.
36853
36854 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36855
36856 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36857 Define and include sysdep-vdso.h.
36858 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36859 Likewise.
36860 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36861 Likewise.
36862 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36863 Define with VDSO_SYMBOL and use PTR_MANGLE.
36864 (__vdso_clock_gettime): Likewise.
36865 (__vdso_clock_getres): Likewise.
36866 (_libc_vdso_platform_setup): Likewise.
36867 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36868 Likewise.
36869 (_libc_vdso_platform_setup): Likewise.
36870 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36871 Likewise.
36872 (__vdso_clock_gettime): Likewise.
36873 (__vdso_clock_getres): Likewise.
36874 (__vdso_get_tbfreq): Likewise.
36875 (__vdso_getcpu): Likewise.
36876 (__vdso_time): Likewise.
36877 (__vdso_sigtramp_rt64): Likewise.
36878 (__vdso_signtramp32): Likewise.
36879 (__vdso_sigtramp_rt32): Likewise.
36880 (_libc_vdso_platform_setup): Likewise.
36881 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36882 Likewise.
36883 (__vdso_clock_gettime): Likewise.
36884 (__vdso_clock_getres): Likewise.
36885 (_libc_vdso_platform_setup): Likewise.
36886 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36887 Likewise.
36888 (__vdso_clock_gettime): Likewise.
36889 (_libc_vdso_platform_setup): Likewise.
36890 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36891 Likewise.
36892 (__vdso_getcpu): Likewise.
36893 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36894 Use VDSO_SYMBOL macro to define.
36895 (__vdso_clock_gettime): Likewise.
36896 (__vdso_clock_getres): Likewise.
36897 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36898 Likewise.
36899 (__vdso_clock_gettime): Likewise.
36900 (__vdso_clock_getres): Likewise.
36901 (__vdso_get_tbfreq): Likewise.
36902 (__vdso_getcpu): Likewise.
36903 (__vdso_time): Likewise.
36904 (__vdso_sigtramp_rt64): Likewise.
36905 (__vdso_signtramp32): Likewise.
36906 (__vdso_sigtramp_rt32): Likewise.
36907 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36908 Likewise.
36909 (__vdso_clock_gettime): Likewise.
36910 (__vdso_clock_getres): Likewise.
36911 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36912 Likewise.
36913 (__vdso_clock_gettime): Likewise.
36914 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36915 Likewise.
36916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36917 macro.
36918 (INTERNAL_VSYSCALL): Likewise.
36919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36920 Remove macro.
36921 (INTERNAL_VSYSCALL): Likewise.
36922 (INTERNAL_VSYSCALL_NCS): Likewise.
36923 (INTERNAL_VSYSCALL_CALL): New macro.
36924 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36926 Likewise.
36927 (INTERNAL_VSYSCALL): Likewise.
36928 (INTERNAL_VSYSCALL_NCS): Likewise.
36929 (INTERNAL_VSYSCALL_CALL): New macro.
36930 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36932 (INLINE_VSYSCALL): Remove macro.
36933 (INTERNAL_VSYSCALL): Remove macro.
36934 (INTERNAL_VSYSCALL_NCS): Remove macro.
36935 (INTERNAL_VSYSCALL_CALL): New macro.
36936 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36937 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36938 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36939 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36940 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36942 (INLINE_VSYSCALL): Remove macro.
36943 (INTERNAL_VSYSCALL): Likewise.
36944 (INTERNAL_VSYSCALL_NCS): Likewise.
36945 (INTERNAL_VSYSCALL_CALL): New macro.
36946 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36947 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36948 PTR_DEMANGLE on vDSO pointer.
36949 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36950 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36951 macro.
36952 (INTERNAL_SYSCALL): Likewise.
36953 (INTERNAL_VSYSCALL_NCS): Remove macro.
36954 (INTERNAL_VSYSCALL_CALL): New macro.
36955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36956 Remove macro.
36957 (INTERNAL_VSYSCALL): Likewise.
36958 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36959 sysdep-vdso.h instead of libc-vdso.h.
36960 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36961 definition.
36962 (INLINE_VSYSCALL): Likewise.
36963 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36964 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36965 definition.
36966 (INLINE_VSYSCALL): Likewise.
36967 (INTERNAL_VSYSCALL): Likewise.
36968 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36969 * sysdeps/unix/sysv/linux/timespec_get.c
36970 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36971 (timespec_get): Use ANSI prototype.
36972 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36973 and definition for Linux.
36974
36975 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36976
36977 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36978 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36979
36980 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36981
36982 [BZ #2981]
36983 [BZ #18410]
36984 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36985 for missing DT_PLTRELSZ.
36986
36987 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36988
36989 Remove obsolete aliases that broke 'locale -a'
36990 [BZ #18412]
36991 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36992 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36993 breaking some applications that use 'locale -a' output.
36994 Change the encoding of this file from Latin-1 to ASCII to avoid
36995 other potential problems with people grepping this file.
36996
36997 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36998
36999 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37000 -fasynchronous-unwind-tables.
37001 (CFLAGS-sendto.c): Likewise.
37002 (CFLAGS-sendmsg.c): Likewise.
37003 (CFLAGS-connect.c): Likewise.
37004 (CFLAGS-recvmsg.c): Likewise.
37005 (CFLAGS-recvfrom.c): Likewise.
37006 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37007 (SOCKETCALL): New macro: non-cancellable socketcall.
37008 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37009 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37010 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37011 * sysdeps/unix/sysv/linux/accept.c: New file.
37012 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37013 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37014 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37015 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37016 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37017 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37018 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37019 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37020 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37021 * sysdeps/unix/sysv/linux/send.c: Likewise.
37022 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37023 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37024 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37025 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37026 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37027 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37028 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37029 prototype.
37030 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37031 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37032 instead of __internal_xxx function.
37033 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37034 prototype.
37035 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37036 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37037 instead of __internal_xxx function.
37038 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37039 prototype.
37040 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37041 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37042 instead of __internal_xxx function.
37043 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37044 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37045 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37046 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37047 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37048 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37049 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37050 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37051 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37052 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37053 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37054 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37055 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37056 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37057 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37058 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37059 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37060 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37061 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37062 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37065 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37066 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37067 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37068 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37069 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37070 * sysdeps/unix/sysv/linux/send.S: Likewise.
37071 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37072 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37073 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37074 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37075 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37076 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37077 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37078 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37079 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37080 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37081 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37082 socketcall is implemented in GLIBC.
37083
37084 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37085
37086 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37087 (__fma): Ignore uninitialized warnings around packing.
37088 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37089 (__fmaf): Ignore uninitialized warnings around packing.
37090 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37091 (__fmal): Ignore uninitialized warnings around packing.
37092
37093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37094 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37096 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37097
37098 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37099 switch statement into default case.
37100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37101
37102 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37103 a conditional in forcing "inexact".
37104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37105 Likewise.
37106
37107 2015-05-22 Roland McGrath <roland@hack.frob.com>
37108
37109 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37110 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37111 for each INTERNAL_SYSCALL use.
37112
37113 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37114
37115 [BZ #438]
37116 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37117 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37118 variable.
37119
37120 [BZ #18444]
37121 * string/basename.c (basename): Rename to __basename and define as
37122 weak alias of __basename. Use libc_hidden_weak.
37123 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37124 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37125 __basename instead of basename.
37126 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37127 Remove variable.
37128 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37129
37130 2015-05-18 Florian Weimer <fweimer@redhat.com>
37131
37132 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37133 (_IO_JUMPS_FILE_plus): New.
37134 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37135 _IO_CAST_FIELD_ACCESS.
37136 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37137 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37138 * libio/freopen.c (freopen): Likewise.
37139 * libio/freopen64.c (freopen64): Likewise.
37140 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37141 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37142 * libio/iofwide.c (_IO_fwide): Likewise.
37143 * libio/memstream.c (open_memstream): Likewise.
37144 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37145 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37146 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37147
37148 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37149
37150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37151 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37152 NADJ.
37153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37154 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37155 NADJ.
37156 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37157 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37158 NADJ.
37159
37160 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37161 (p == 4) case.
37162
37163 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37164 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37165 Remove variable.
37166 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37167 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37168 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37169
37170 2015-05-21 Florian Weimer <fweimer@redhat.com>
37171
37172 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37173 Adjust jump table label generation macros.
37174
37175 2015-05-21 Florian Weimer <fweimer@redhat.com>
37176
37177 * stdio-common/vfprintf.c (vfprintf): Move local variables
37178 args_malloced, specs, specs_malloced, and the code after
37179 do_positional to the printf_positional function.
37180 (printf_positional): New function.
37181
37182 2015-05-21 Florian Weimer <fweimer@redhat.com>
37183
37184 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37185 function.
37186 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37187 STEP4_TABLE, process_arg): Move macro definitions
37188 out of the vfprintf function. (Cosmetic change only.)
37189
37190 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37191
37192 * benchtests/Makefile (stdio-common-bench): Define.
37193 (benchset): Add stdio-common-bench.
37194 * sprintf-inputs: New file.
37195 * sprintf-source.c: New file.
37196
37197 2015-05-21 Andreas Schwab <schwab@suse.de>
37198
37199 [BZ #13028]
37200 [BZ #17053]
37201 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37202 of struct __res_state.
37203 * resolv/res_send.c (__libc_res_nsend): Likewise.
37204 (get_nsaddr): New function.
37205 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37206 statp directly.
37207
37208 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37209
37210 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37211 -D_POSIX_C_SOURCE=199506L.
37212
37213 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37214
37215 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37216 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37217 Do not mention otherwise.
37218 [POSIX] (_XOPEN_VERSION): Do not expect.
37219 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37220 [POSIX] (_POSIX2_C_BIND): Likewise.
37221 [POSIX] (_POSIX2_VERSION): Likewise.
37222 [POSIX] (_XOPEN_XPG2): Likewise.
37223 [POSIX] (_XOPEN_XPG3): Likewise.
37224 [POSIX] (_XOPEN_XPG4): Likewise.
37225 [POSIX] (_XOPEN_UNIX): Likewise.
37226 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37227 [POSIX] (_POSIX_BARRIERS): Likewise.
37228 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37229 [POSIX] (_POSIX_CPUTIME): Likewise.
37230 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37231 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37232 [POSIX] (_POSIX_SHELL): Likewise.
37233 [POSIX] (_POSIX_SPAWN): Likewise.
37234 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37235 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37236 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37237 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37238 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37239 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37240 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37241 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37242 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37243 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37244 [POSIX] (_POSIX2_PBS): Likewise.
37245 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37246 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37247 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37248 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37249 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37250 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37251 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37252 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37253 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37254 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37255 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37256 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37257 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37258 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37259 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37260 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37261 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37262 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37263 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37264 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37265 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37266 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37267 [POSIX] (_SC_2_C_BIND): Likewise.
37268 [POSIX] (_SC_2_C_VERSION): Likewise.
37269 [POSIX] (_SC_2_PBS): Likewise.
37270 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37271 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37272 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37273 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37274 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37275 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37276 [POSIX] (_SC_BARRIERS): Likewise.
37277 [POSIX] (_SC_BASE): Likewise.
37278 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37279 [POSIX] (_SC_DEVICE_IO): Likewise.
37280 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37281 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37282 [POSIX] (_SC_FD_MGMT): Likewise.
37283 [POSIX] (_SC_FIFO): Likewise.
37284 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37285 [POSIX] (_SC_FILE_LOCKING): Likewise.
37286 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37287 [POSIX] (_SC_IOV_MAX): Likewise.
37288 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37289 [POSIX] (_SC_NETWORKING): Likewise.
37290 [POSIX] (_SC_PAGE_SIZE): Likewise.
37291 [POSIX] (_SC_PASS_MAX): Likewise.
37292 [POSIX] (_SC_PIPE): Likewise.
37293 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37294 [POSIX] (_SC_REGEXP): Likewise.
37295 [POSIX] (_SC_SHELL): Likewise.
37296 [POSIX] (_SC_SIGNALS): Likewise.
37297 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37298 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37299 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37300 [POSIX] (_SC_USER_GROUPS): Likewise.
37301 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37302 [POSIX] (_SC_STREAMS): Likewise.
37303 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37304 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37305 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37306 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37307 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37308 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37309 [POSIX] (_PC_FILESIZEBITS): Likewise.
37310 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37311 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37312 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37313 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37314 [POSIX] (uid_t): Likewise.
37315 [POSIX] (gid_t): Likewise.
37316 [POSIX] (off_t): Likewise.
37317 [POSIX] (pid_t): Likewise.
37318 [POSIX] (cuserid): Allow.
37319 (_SC_2_CHAR_TERM): Require constant.
37320 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37321 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37322 variable.
37323
37324 2015-05-20 Roland McGrath <roland@hack.frob.com>
37325
37326 * sysdeps/nacl/pthread-pids.h: New file.
37327 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37328 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37329
37330 * nptl/pthread-pids.h: New file.
37331 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37332 * nptl/nptl-init.c: Include <pthread-pids.h>.
37333 (__pthread_initialize_minimal_internal):
37334 Call __pthread_initialize_pids instead of set_tid_address syscall.
37335
37336 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37337 * sysdeps/posix/usleep.c: ... here.
37338
37339 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37340
37341 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37342 call_pselect6 object.
37343 [$(subdir) = io]: Remove call_sync_file_range object.
37344 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37345 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37346 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37347 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37348
37349 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37350
37351 * math/s_cproj.c: Add include "math_private.h".
37352 * math/s_cprojf.c: Likewise.
37353 * math/s_cprojl.c: Likewise.
37354
37355 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37356
37357 [BZ #18244]
37358 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37359 high mantissa bit when testing whether P is a NaN.
37360 * math/libm-test.inc (remainder_test_data): Add more tests.
37361 (remquo_test_data): Likewise.
37362
37363 [BZ #18049]
37364 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37365 below -32, return the argument, with underflow if subnormal.
37366 * math/auto-libm-test-in: Add more tests of atanh.
37367 * math/auto-libm-test-out: Regenerated.
37368
37369 2015-05-19 Roland McGrath <roland@hack.frob.com>
37370
37371 [BZ #18434]
37372 * nptl/tst-sem15.c: New file.
37373 * nptl/Makefile (tests): Add it.
37374 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37375 s/<</>>/ to fix typo in EOVERFLOW check.
37376 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37377
37378 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37379
37380 * manual/strings.texi (envz_remove): Fix typo in safety
37381 annotations.
37382
37383 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37384 Steve Ellcey <sellcey@imgtec.com>
37385
37386 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37387 in order to avoid strict alias warnings.
37388 (iruserok_af): Ditto for ra.
37389
37390 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37391
37392 [BZ #17581]
37393 * malloc/hooks.c
37394 (magicbyte): Convert to a function and avoid returning 0x01.
37395 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37396 (mem2chunk_check): Fix unsigned comparisons to zero.
37397 Hoist defs of sz and magic.
37398
37399 2015-05-19 Richard Henderson <rth@redhat.com>
37400
37401 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37402
37403 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37404
37405 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37406
37407 [BZ #16159]
37408 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37409 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37410 (reused_arena): Find a non-corrupt arena.
37411 (heap_trim): Pass arena to unlink.
37412 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37413 malloc_printerr.
37414 (top_check): Likewise.
37415 (free_check): Likewise.
37416 (realloc_check): Likewise.
37417 * malloc/malloc.c (malloc_printerr): Add arena argument.
37418 (unlink): Likewise.
37419 (munmap_chunk): Adjust.
37420 (ARENA_CORRUPTION_BIT): New macro.
37421 (arena_is_corrupt): Likewise.
37422 (set_arena_corrupt): Likewise.
37423 (sysmalloc): Use mmap if there are no usable arenas.
37424 (_int_malloc): Likewise.
37425 (__libc_malloc): Don't fail if arena_get returns NULL.
37426 (_mid_memalign): Likewise.
37427 (__libc_calloc): Likewise.
37428 (__libc_realloc): Adjust for additional argument to
37429 malloc_printerr.
37430 (_int_free): Likewise.
37431 (malloc_consolidate): Likewise.
37432 (_int_realloc): Likewise.
37433 (_int_memalign): Don't touch corrupt arenas.
37434 * malloc/tst-malloc-backtrace.c: New test case.
37435
37436 * Makefile (summarize-tests): Fix return value on success.
37437
37438 * manual/string.texi (Envz Functions): Add envz_remove.
37439
37440 2015-05-18 Roland McGrath <roland@hack.frob.com>
37441
37442 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37443 (invalid_name): New function, broken out of ...
37444 (__opendirat): ... here. Call it.
37445 (need_isdir_precheck): New function, broken out of ...
37446 (__opendirat): ... here. Call it.
37447 Use __fxstatat64, not __xstatat64.
37448 (opendir_oflags): New function, broken out of ...
37449 (__opendirat): ... here. Call it.
37450 (opendir_tail): New function, broken out of ...
37451 (__opendirat): ... here. Call it.
37452 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37453 opendir_tail, rather than punting to __opendirat.
37454 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37455
37456 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37457
37458 * .gitignore: Ignore generated *.pyc.
37459
37460 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37461
37462 * include/stdio.h: Define __need_wint_t.
37463 * test-skeleton.c: Avoid `for' loop initial declaration.
37464 * nptl/tst-initializers1.c: Use test-skeleton.c.
37465
37466 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37467
37468 [BZ #18418]
37469 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37470
37471 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37472
37473 [BZ #16352]
37474 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37475 (__ieee754_atanh): Force underflow exception for results with
37476 small absolute value.
37477 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37478 (__ieee754_atanhf): Force underflow exception for results with
37479 small absolute value.
37480 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37481 (__ieee754_atanh): Force underflow exception for results with
37482 small absolute value.
37483 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37484 (__ieee754_atanhf): Force underflow exception for results with
37485 small absolute value.
37486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37487 (__ieee754_atanhl): Force underflow exception for results with
37488 small absolute value.
37489 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37490 (__ieee754_atanhl): Force underflow exception for results with
37491 small absolute value.
37492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37493 (__ieee754_atanhl): Force underflow exception for results with
37494 small absolute value.
37495 * math/auto-libm-test-in: Do not allow missing underflow
37496 exceptions from atanh.
37497 * math/auto-libm-test-out: Regenerated.
37498
37499 [BZ #18221]
37500 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37501 2**-28 as threshold for returning x or +/- 1/x.
37502 * math/auto-libm-test-in: Add more tests of tan.
37503 * math/auto-libm-test-out: Regenerated.
37504
37505 [BZ #18220]
37506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37507 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37508 * math/auto-libm-test-in: Add another test of lgamma.
37509 * math/auto-libm-test-out: Regenerated.
37510
37511 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37512
37513 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37514 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37515 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37516 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37517 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37518 (ADD2A): Use fabs. (SUB2A): Use fabs.
37519 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37522 (log1): Use fabs. (my_log2): Use fabs.
37523 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37524 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37526 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37528 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37529 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37530 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37531 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37532 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37533 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37534
37535 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37536
37537 [BZ #18217]
37538 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37539 as threshold for returning 1 - x.
37540 * math/auto-libm-test-in: Add more tests of erfc.
37541 * math/auto-libm-test-out: Regenerated.
37542
37543 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37544
37545 [BZ #18196]
37546 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37547 threshold for large arguments.
37548 * math/auto-libm-test-in: Add another test of atan.
37549 * math/auto-libm-test-out: Regenerated.
37550
37551 [BZ #16339]
37552 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37553 (__log1p): Force underflow exception for results with small
37554 absolute value.
37555 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37556 (__log1pf): Force underflow exception for results with small
37557 absolute value.
37558 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37559 (__log1p): Force underflow exception for results with small
37560 absolute value.
37561 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37562 (__log1pf): Force underflow exception for results with small
37563 absolute value.
37564 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37565 (__log1pl): Force underflow exception for results with small
37566 absolute value.
37567 * math/auto-libm-test-in: Do not allow missing underflow
37568 exceptions from log1p.
37569 * math/auto-libm-test-out: Regenerated.
37570
37571 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37572 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37573
37574 [BZ #16704]
37575 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37576
37577 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37578
37579 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37580 (libmvec): New variable.
37581 * configure.ac: Added option for mathvec build.
37582 * configure: Regenerated.
37583 * mathvec/Depend: New file.
37584 * mathvec/Makefile: New file.
37585 * shlib-versions: Added libmvec.
37586 * math/Makefile: Added rule for libm.so installation.
37587
37588 * bits/math-vector.h: New file.
37589 * bits/libm-simd-decl-stubs.h: New header.
37590 * math/Makefile (headers): Added new header
37591 libm-simd-decl-stubs.h.
37592 * math/math.h (__MATHCALL_VEC): New macro.
37593
37594 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37595 for conditions in testing functions.
37596 * math/Makefile: Added call of libm-have-vector-test.sh.
37597 * math/libm-test.inc (HAVE_VECTOR): New macros.
37598
37599 * math/libm-test.inc: START refactored.
37600 * math/test-double.c (TEST_MATHVEC): Add define.
37601 * math/test-float.c: Likewise.
37602 * math/test-idouble.c: Likewise.
37603 * math/test-ifloat.c: Likewise.
37604 * math/test-ildoubl.c: Likewise.
37605 * math/test-ldouble.c: Likewise.
37606 * sysdeps/generic/math-tests-arch.h
37607 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37608 architecture check.
37609
37610 * math/test-double.c (FUNC_TEST): New macro.
37611 * math/test-float.c: Likewise.
37612 * math/test-idouble.c: Likewise.
37613 * math/test-ifloat.c: Likewise.
37614 * math/test-ildoubl.c: Likewise.
37615 * math/test-ldouble.c: Likewise.
37616 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37617
37618 2015-05-13 Roland McGrath <roland@hack.frob.com>
37619
37620 * sysdeps/nacl/fdopendir.c: New file.
37621
37622 * dirent/scandir-tail.c: New file.
37623 * dirent/scandir64-tail.c: New file.
37624 * dirent/Makefile (routines): Add them.
37625 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37626 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37627 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37628 [!SCANDIR] (SCANDIR_TAIL): New macro.
37629 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37630 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37631 (SCANDIRAT): Macro removed.
37632 (SCANDIR_TAIL): New macro.
37633 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37634 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37635 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37636 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37637 (READDIR): Macro removed.
37638 (SCANDIR_TAIL): New macro.
37639 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37640 (SCANDIR_TAIL): New macro.
37641
37642 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37643 * dirent/scandir-cancel.c: ... to this new file.
37644 * dirent/Makefile (routines): Add it.
37645 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37646 * sysdeps/unix/sysv/linux/i386/scandir64.c
37647 (SKIP_SCANDIR_CANCEL): Macro removed.
37648 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37649
37650 * dirent/tst-scandir.c: New file.
37651 * dirent/tst-scandir64.c: New file.
37652 * dirent/Makefile (tests): Add them.
37653
37654 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37655
37656 [BZ #18409]
37657 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37658
37659 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37660
37661 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37662 list.
37663
37664 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37665
37666 * benchtests/bench-strcoll.c: New benchmark.
37667 * benchtests/Makefile: Generate locales and run benchmark.
37668 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37669 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37670 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37671 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37672 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37673 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37674 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37675 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37676 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37677 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37678 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37679 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37680 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37681 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37682 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37683 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37684 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37685 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37686 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37687 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37688 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37689 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37690 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37691 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37692
37693 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37694
37695 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37696 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37697
37698 2015-05-12 Roland McGrath <roland@hack.frob.com>
37699
37700 * posix/uname-values.h: New file.
37701 * posix/uname.c: Include that instead of <config-name.h>.
37702 * sysdeps/nacl/uname-values.h: New file.
37703 * sysdeps/arm/nacl/uname-values.h: New file.
37704
37705 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37706
37707 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37708 splitting into fields.
37709
37710 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37711
37712 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37713 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37714 * locale/localeinfo.h: Add enum collation_encoding_type.
37715 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37716 * programs/ld-collate.c (collate_output): Add encoding type info.
37717 * string/strcoll_l.c (STRDIFF): New function.
37718 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37719 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37720
37721 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37722
37723 [BZ #18397]
37724 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37725 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37726 <fpu_control.h> instead of <math/fpu_control.c>.
37727 * sysdeps/mips/mips32/fpu/Makefile: New file.
37728
37729 2015-05-11 Andreas Schwab <schwab@suse.de>
37730
37731 [BZ #18007]
37732 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37733 nss_endgrent.
37734 (_nss_compat_endgrent): Call nss_endgrent.
37735 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37736 nss_endpwent.
37737 (_nss_compat_endpwent): Call nss_endpwent.
37738 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37739 needent, call nss_setspent only if non-zero.
37740 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37741 (internal_endspent): Don't call nss_endspent.
37742 (_nss_compat_endspent): Call nss_endspent.
37743 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37744 Remove. All uses removed.
37745 (internal_setent): Remove parameter stayopen, add parameter
37746 stream. Use it instead of global variable.
37747 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37748 (internal_endent, internal_getent): Add parameter stream. Use it
37749 instead of global variable.
37750 (CONCAT(_nss_files_end,ENTNAME))
37751 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37752 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37753 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37754 uses removed.
37755 (internal_setent, internal_endent): Add parameter stream. Use it
37756 instead of global variable.
37757 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37758 stream.
37759 (get_next_alias): Add parameter stream.
37760 (_nss_files_getaliasent_r): Pass global stream.
37761 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37762 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37763 (_nss_files_gethostbyname4_r): Pass local stream to
37764 internal_setent, internal_getent and internal_endent. Remove
37765 locking.
37766
37767 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37768
37769 * tst-strfmon1.c (tests): Update expected currency symbol.
37770
37771 2015-05-08 Roland McGrath <roland@hack.frob.com>
37772
37773 * sysdeps/nacl/gethostname.c: New file.
37774
37775 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37776
37777 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37778 and sinh.
37779 * math/auto-libm-test-out: Regenerated.
37780 * sysdeps/i386/fpu/libm-test-ulps: Update.
37781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37782
37783 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37784
37785 [BZ #18125]
37786 * stdlib/tst-setcontext3.c: New file.
37787 * stdlib/tst-setcontext3.sh: New file.
37788 * stdlib/Makefile (tests): Add tst-setcontext3.
37789 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37790 to verify test program created output file.
37791 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37792 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37793 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37794 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37795
37796 2015-05-06 Roland McGrath <roland@hack.frob.com>
37797
37798 [BZ #18383]
37799 * elf/tst-tlsalign.c: New file.
37800 * elf/tst-tlsalign-static.c: New file.
37801 * elf/tst-tlsalign-lib.c: New file.
37802 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37803 (tests-static): Add tst-tlsalign-static.
37804 (modules-names): Add tst-tlsalign-lib.
37805 (test-xfail-tst-tlsalign): New variable.
37806 (test-xfail-tst-tlsalign-static): New variable.
37807
37808 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37809 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37810
37811 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37812
37813 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37814 csqrt, erfc, sin and sincos.
37815 * math/auto-libm-test-out: Regenerated.
37816 * sysdeps/i386/fpu/libm-test-ulps: Update.
37817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37818
37819 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37820
37821 * sysdeps/aarch64/libm-test-ulps: Update.
37822
37823 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37824
37825 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37826 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37827 * math/auto-libm-test-out: Regenerated.
37828 * sysdeps/i386/fpu/libm-test-ulps: Update.
37829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37830
37831 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37832
37833 [BZ #18265]
37834 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37835 (wcsncpy): Likewise.
37836
37837 2015-05-05 Florian Weimer <fweimer@redhat.com>
37838
37839 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37840 Assume __ASSUME_FALLOCATE is always true.
37841 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37842 (__posix_fallocate64_l64): Likewise.
37843 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37844 (posix_fallocate): Likewise.
37845 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37846 (__posix_fallocate64_l64): Likewise.
37847 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37848 [!__ASSUME_FALLOCATE]: Add comment.
37849
37850 2015-05-05 Florian Weimer <fweimer@redhat.com>
37851
37852 * sysdeps/unix/sysv/linux/i386/Makefile
37853 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37854 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37855 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37856 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37857 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37858 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37859 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37860
37861 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37862
37863 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37864 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37865 tgamma.
37866 * math/auto-libm-test-out: Regenerated.
37867 * sysdeps/i386/fpu/libm-test-ulps: Update.
37868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37869
37870 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37871
37872 * math/auto-libm-test-in: Add more tests of tgamma.
37873 * math/auto-libm-test-out: Regenerated.
37874 * sysdeps/i386/fpu/libm-test-ulps: Update.
37875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37876
37877 * math/auto-libm-test-in: Add more tests of tanh.
37878 * math/auto-libm-test-out: Regenerated.
37879 * sysdeps/i386/fpu/libm-test-ulps: Update.
37880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37881
37882 * math/auto-libm-test-in: Add more tests of tan.
37883 * math/auto-libm-test-out: Regenerated.
37884 * sysdeps/i386/fpu/libm-test-ulps: Update.
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37886
37887 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37888 * math/auto-libm-test-out: Regenerated.
37889 * sysdeps/i386/fpu/libm-test-ulps: Update.
37890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37891
37892 * math/auto-libm-test-in: Add another test of pow.
37893 * math/auto-libm-test-out: Regenerated.
37894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37895
37896 * math/auto-libm-test-in: Add more tests of lgamma.
37897 * math/auto-libm-test-out: Regenerated.
37898 * sysdeps/i386/fpu/libm-test-ulps: Update.
37899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37900
37901 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37902 log1p.
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 Mark Wielaard <mjw@redhat.com>
37908
37909 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37910 Elf64_Chdr structs and ELFCOMPRESS constants.
37911
37912 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37913
37914 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37915 expm1.
37916 * math/auto-libm-test-out: Regenerated.
37917 * sysdeps/i386/fpu/libm-test-ulps: Update.
37918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37919
37920 * math/auto-libm-test-in: Add more tests of erf and erfc.
37921 * math/auto-libm-test-out: Regenerated.
37922 * sysdeps/i386/fpu/libm-test-ulps: Update.
37923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37924
37925 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37926
37927 * config.h.in (HAVE_AARCH64_BE): Add.
37928
37929 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37930
37931 * math/auto-libm-test-in: Add more tests of csqrt.
37932 * math/auto-libm-test-out: Regenerated.
37933 * sysdeps/i386/fpu/libm-test-ulps: Update.
37934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37935
37936 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37937 * math/auto-libm-test-out: Regenerated.
37938 * sysdeps/i386/fpu/libm-test-ulps: Update.
37939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37940
37941 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37942
37943 2015-04-29 Roland McGrath <roland@hack.frob.com>
37944
37945 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37946 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37947
37948 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37949 (euidaccess, eaccess): Define as weak aliases.
37950
37951 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37952 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37953 but __suseconds_t is often 'long int' so some sources assume that
37954 type is being used (e.g. they use %ld to print tv_usec).
37955
37956 2015-04-29 Florian Weimer <fweimer@redhat.com>
37957
37958 [BZ #18007]
37959 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37960 (CVE-2014-8121)
37961 * nss/tst-nss-getpwent.c: New file.
37962 * nss/Makefile (tests): Add new test.
37963
37964 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37965
37966 [BZ #18346]
37967 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37968 exponents less than 48 as cases where high part of mantissa needs
37969 examining to determine whether argument is integral.
37970 * math/libm-test.inc (round_test_data): Add more tests.
37971
37972 2015-04-28 Mark Wielaard <mjw@redhat.com>
37973
37974 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37975
37976 2015-04-27 David S. Miller <davem@davemloft.net>
37977
37978 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37979 __tls_get_addr.
37980 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37981
37982 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37983
37984 [BZ #18333]
37985 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37986
37987 2015-04-27 Florian Weimer <fweimer@redhat.com>
37988
37989 [BZ #18333]
37990 * time/tzset.c (parse_tzname): Return error on memory allocation
37991 failure.
37992 * test-skeleton.c (struct temp_name_list): Change type of name
37993 member to non-const.
37994 (add_temp_file): Create a copy of the file name.
37995 (delete_temp_files): Deallocate memory.
37996 (create_temp_file): Add comment.
37997
37998 2015-04-24 Florian Weimer <fweimer@redhat.com>
37999
38000 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38001 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38002
38003 2015-04-24 Roland McGrath <roland@hack.frob.com>
38004
38005 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38006 * sysdeps/arm/configure: Regenerated.
38007
38008 2015-04-24 Florian Weimer <fweimer@redhat.com>
38009
38010 [BZ #17715]
38011 * time/tzfile.c (__tzfile_read): Check for large values of
38012 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38013 * time/tzset.c (__tzstring_len): New function, based on the old
38014 __tzstring function.
38015 (__tzstring): Call __tzstring_len.
38016 (parse_tzname): New helper function extracted from
38017 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38018 the input string.
38019 (parse_offset): New helper function extracted from
38020 __tzset_parse_tz. Replace switch with fallthrough with
38021 initialization before sscanf.
38022 (parse_rule): Likewise.
38023 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38024 new-style function definition.
38025 * timezone/Makefile (tests): Add tst-tzset.
38026 (tst-tzset.out): Dependencies on time zone files.
38027 (tst-tzset-ENV): Set TZDIR.
38028 (testdata/XT%): Copy crafted time zone files.
38029 * timezone/README: Mention crafted time zone files.
38030 * timezone/testdata/XT1, timezone/testdata/XT2,
38031 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38032 files.
38033 * timezone/tst-tzset.c: New test.
38034
38035 2015-04-24 Florian Weimer <fweimer@redhat.com>
38036
38037 * Makeconfig (+gccwarn): Remove -Winline.
38038
38039 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38040
38041 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38042
38043 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38044
38045 * NEWS: Mention sysconf() cache information support for s390.
38046 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38047
38048 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38049
38050 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38052 (__nearbyint): Likewise.
38053 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38054 (copysignl): Likewise.
38055
38056 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38057
38058 [BZ #18287]
38059 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38060 based on padding. (CVE-2015-1781)
38061
38062 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38063
38064 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38065 libc-vdso.h.
38066 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38067 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38068 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38069 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38070 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38071 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38072 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38074 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38075 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38076 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38077 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38078 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38079 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38080 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38081 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38082 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38084 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38085 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38086 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38087 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38088 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38089
38090 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38091
38092 * stdlib/setenv.c (__add_to_environ):
38093 Dump core quickly if setenv (..., NULL, ...) is called.
38094 This time, do it the right way, and pacify GCC with a pragma.
38095
38096 2015-04-17 Roland McGrath <roland@hack.frob.com>
38097
38098 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38099 IMAP->l_prev cannot be null, and #if out the code for the contrary
38100 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38101 believe that NS (&_dl_ns[NSID]) could point outside the array.
38102
38103 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38104 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38105 before using NSID as an index.
38106
38107 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38108
38109 [BZ #17825]
38110 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38111 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38112 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38113
38114 2015-04-17 Roland McGrath <roland@hack.frob.com>
38115
38116 Add preliminary port to Google Native Client on ARM.
38117 * abi-tags (.*-.*-nacl.*): New entry.
38118 * sysdeps/arm/nacl: New directory.
38119 * sysdeps/nacl: New directory.
38120
38121 2015-04-16 David S. Miller <davem@davemloft.net>
38122
38123 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38124 lowlevellock-futex.h
38125
38126 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38127
38128 * sysdeps/tile/configure.ac: New file.
38129 * sysdeps/tile/configure: Regenerated.
38130
38131 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38132
38133 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38134 conditionals for weak_alias and libc_hidden_weak.
38135 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38136 libc_hidden_weak and weak_alias.
38137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38138 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38139 and weak_alias for static one.
38140
38141 2015-04-15 David S. Miller <davem@davemloft.net>
38142
38143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38144
38145 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38146
38147 [BZ #18206]
38148 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38149 Use signed comparision instead of substraction to avoid
38150 overflow bug.
38151 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38152 Take the sign of ret.
38153 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38154 Do not expect precise return values. Only the sign matters.
38155 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38156 * wcsmbs/test-wcsncmp.c: New File.
38157 * string/test-strncmp.c: Add wcsncmp support.
38158
38159 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38160
38161 [BZ #6792]
38162 * math/w_log1p.c: New file.
38163 * math/w_log1pf.c: Likewise.
38164 * math/w_log1pl.c: Likewise.
38165 * math/Makefile (libm-calls): Add w_log1p.
38166 * math/s_log1pl.c (log1pl): Remove weak_alias.
38167 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38168 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38169 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38170 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38171 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38172 [NO_LONG_DOUBLE] (log1pl): Likewise.
38173 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38174 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38175 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38176 (log1p): Remove long_double_symbol.
38177 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38178 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38179 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38180 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38181 remove weak_alias for corresponding log1p function.
38182 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38183 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38184 * sysdeps/ia64/fpu/w_log1p.c: New file.
38185 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38186 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38187 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38188
38189 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38190
38191 [BZ #18247]
38192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38193 decimal exponent by 1.
38194 * stdlib/tst-strtod-round-data: Add more tests.
38195 * stdlib/tst-strtod-round.c (tests): Regenerated.
38196
38197 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38198
38199 * math/auto-libm-test-in: Add more tests of clog and clog10.
38200 * math/auto-libm-test-out: Regenerated.
38201 * sysdeps/i386/fpu/libm-test-ulps: Update.
38202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38203
38204 2015-04-09 Roland McGrath <roland@hack.frob.com>
38205
38206 * Makeconfig (module-cppflags): Exclude all .v.i files.
38207 (skip-module-cppflags): Variable removed.
38208
38209 * configure.ac (libc_config_ok): Initialize before reading
38210 preconfigure scripts, not after.
38211 * configure: Regenerated.
38212
38213 * test-skeleton.c (TIMEOUT): Move #define to top level.
38214 (main): Grok environment variable TEST_DIRECT. If set, print
38215 test expectation details into that file and then behave as if
38216 given --direct.
38217
38218 2015-04-09 Florian Weimer <fweimer@redhat.com>
38219
38220 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38221 warning on 32-bit.
38222
38223 2015-04-08 David S. Miller <davem@davemloft.net>
38224
38225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38226
38227 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38228
38229 * math/auto-libm-test-in: Add more tests of atanh.
38230 * math/auto-libm-test-out: Regenerated.
38231 * sysdeps/i386/fpu/libm-test-ulps: Update.
38232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38233
38234 * math/auto-libm-test-in: Add more tests of atan.
38235 * math/auto-libm-test-out: Regenerated.
38236 * sysdeps/i386/fpu/libm-test-ulps: Update.
38237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38238
38239 2015-04-08 Florian Weimer <fweimer@redhat.com>
38240
38241 * elf/pldd.c (main): Rewrite to use struct
38242 scratch_buffer instead of extend_alloca.
38243 * elf/pldd-xx.c (find_maps): Likewise.
38244 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38245 <alloca.h>.
38246 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38247 scratch_buffer instead of extend_alloca.
38248 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38249 grp/compat-initgroups.c.
38250 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38251 Rewrite to use struct scratch_buffer instead of extend_alloca.
38252 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38253 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38254
38255 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38256
38257 * math/auto-libm-test-in: Add more tests of cbrt.
38258 * math/auto-libm-test-out: Regenerated.
38259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38260
38261 * math/auto-libm-test-in: Add more tests of cabs.
38262 * math/auto-libm-test-out: Regenerated.
38263 * sysdeps/i386/fpu/libm-test-ulps: Update.
38264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38265
38266 [BZ #18210]
38267 [BZ #18211]
38268 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38269 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38270 computations.
38271 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38272 clog10.
38273 * math/auto-libm-test-out: Regenerated.
38274 * sysdeps/i386/fpu/libm-test-ulps: Update.
38275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38276
38277 [BZ #18197]
38278 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38279 (atan): Set FE_TONEAREST mode for internal computations.
38280 * math/auto-libm-test-in: Add more tests of atan.
38281 * math/auto-libm-test-out: Regenerated.
38282
38283 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38284
38285 [BZ #17930]
38286 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38287
38288 2015-04-07 Florian Weimer <fweimer@redhat.com>
38289
38290 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38291
38292 2015-04-07 Florian Weimer <fweimer@redhat.com>
38293
38294 * include/scratch_buffer.h: New file.
38295 * malloc/scratch_buffer_grow.c: Likewise.
38296 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38297 * malloc/scratch_buffer_set_array_size.c: Likewise.
38298 * malloc/tst-scratch_buffer.c: Likewise.
38299 * malloc/Makefile (routines): Add scratch_buffer_grow.
38300 (tests): Add test case.
38301 * malloc/Versions (GLIBC_PRIVATE): Export
38302 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38303 __libc_scratch_buffer_set_array_size.
38304
38305 2015-04-06 Richard Henderson <rth@redhat.com>
38306
38307 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38308 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38309
38310 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38311 unsigned int before printing.
38312
38313 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38314
38315 [BZ #17596]
38316 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38317 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38318
38319 2015-04-02 Florian Weimer <fweimer@redhat.com>
38320
38321 * include/libc-internal.h (libc_max_align_t): Define.
38322
38323 2015-04-02 Andreas Schwab <schwab@suse.de>
38324
38325 [BZ #16850]
38326 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38327
38328 2015-04-02 Mel Gorman <mgorman@suse.de>
38329
38330 [BZ #17195]
38331 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38332 as well as the main arena.
38333
38334 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38335
38336 [BZ #18185]
38337 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38338 sharing L2 cache to 2 for Silvermont/Knights Landing.
38339
38340 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38341
38342 [BZ #17711]
38343 * config.make.in (have-protected-data): New.
38344 * configure.ac: Check linker support for protected data symbol.
38345 * configure: Regenerated.
38346 * elf/Makefile (modules-names): Add tst-protected1moda and
38347 tst-protected1modb if $(have-protected-data) is yes.
38348 (tests): Add tst-protected1a and tst-protected1b if
38349 $(have-protected-data) is yes.
38350 ($(objpfx)tst-protected1a): New.
38351 ($(objpfx)tst-protected1b): Likewise.
38352 (tst-protected1modb.so-no-z-defs): Likewise.
38353 * elf/tst-protected1a.c: New file.
38354 * elf/tst-protected1b.c: Likewise.
38355 * elf/tst-protected1mod.h: Likewise.
38356 * elf/tst-protected1moda.c: Likewise.
38357 * elf/tst-protected1modb.c: Likewise.
38358
38359 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38360
38361 [BZ #17711]
38362 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38363 indicates it is called from do_lookup_x on relocation against
38364 protected data, skip the data definion in the executable from
38365 copy reloc.
38366 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38367 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38368 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38369 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38370 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38371 otherwise to 0.
38372 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38373 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38374 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38375 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38376 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38377 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38378
38379 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38380
38381 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38382 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38383
38384 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38385
38386 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38387 THREAD_SETMEM_NC.
38388 * sysdeps/x86_64/nptl/tls.h: Ditto.
38389
38390 2015-03-27 Roland McGrath <roland@hack.frob.com>
38391
38392 * dlfcn/tststatic.c (main): Converted to ...
38393 (do_test): ... this.
38394 (TEST_FUNCTION): New macro.
38395 Include test-skeleton.c.
38396
38397 2015-03-26 Alan Modra <amodra@gmail.com>
38398
38399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38400 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38401 zero for undefined weak.
38402 (elf_machine_plt_conflict): Similarly.
38403
38404 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38405
38406 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38407 atanh.
38408 * math/auto-libm-test-out: Regenerated.
38409 * sysdeps/i386/fpu/libm-test-ulps: Update.
38410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38411
38412 * math/auto-libm-test-in: Add another test of asin.
38413 * math/auto-libm-test-out: Regenerated.
38414 * sysdeps/i386/fpu/libm-test-ulps: Update.
38415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38416
38417 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38418 Remove macro.
38419 (LLL_EBX_REG): Likewise.
38420 (LLL_ENTER_KERNEL): Likewise.
38421
38422 * math/auto-libm-test-in: Add more tests of asin.
38423 * math/auto-libm-test-out: Regenerated.
38424 * sysdeps/i386/fpu/libm-test-ulps: Update.
38425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38426
38427 [BZ #18138]
38428 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38429 libc_do_syscall_args): New structure.
38430 (INTERNAL_SYSCALL_MAIN_0): New macro.
38431 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38432 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38433 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38434 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38435 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38436 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38437 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38438 Replace conditional definitions by conditional definitions of ....
38439 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38440 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38441 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38442 (libpthread-sysdep_routines): Add libc-do-syscall.
38443 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38445 to __NR_futex not 240.
38446
38447 2015-03-25 Alan Modra <amodra@gmail.com>
38448
38449 * NEWS: Advertise TLS optimization.
38450 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38451 (DT_PPC_NUM): Increment.
38452 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38453 (CHECK_STATIC_TLS): Use here.
38454 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38455 TLS descriptors.
38456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38457 * sysdeps/powerpc/dl-tls.c: New file.
38458 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38459 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38460 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38461 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38465
38466 2015-03-25 Alan Modra <amodra@gmail.com>
38467
38468 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38469 for overlapping .opd entries" to "support...".
38470 * sysdeps/powerpc/powerpc64/configure: Regenerate
38471
38472 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38473
38474 * math/auto-libm-test-in: Add more tests of acos.
38475 * math/auto-libm-test-out: Regenerated.
38476 * sysdeps/i386/fpu/libm-test-ulps: Update.
38477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38478
38479 * math/auto-libm-test-in: Add more tests of expm1.
38480 * math/auto-libm-test-out: Regenerated.
38481 * sysdeps/i386/fpu/libm-test-ulps: Update.
38482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38483
38484 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38485
38486 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38487 * math/auto-libm-test-out: Regenerated.
38488 * sysdeps/i386/fpu/libm-test-ulps: Update.
38489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38490
38491 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38493
38494 * math/auto-libm-test-in: Add more tests of log2.
38495 * math/auto-libm-test-out: Regenerated.
38496 * sysdeps/i386/fpu/libm-test-ulps: Update.
38497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38498
38499 2015-03-23 Roland McGrath <roland@hack.frob.com>
38500
38501 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38502 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38503 _IO_IS_APPENDING bit in READ_WRITE instead.
38504
38505 2015-03-23 Florian Weimer <fweimer@redhat.com>
38506
38507 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38508 (__determine_cpumask_size): Replace extend_alloca with a
38509 variable-length array. Do not treat res == 0 as an error.
38510
38511 2015-03-23 Florian Weimer <fweimer@redhat.com>
38512
38513 [BZ #18100]
38514 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38515 and integer overflow.
38516 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38517 (main): Add integer overflow tests.
38518 * manual/pattern.texi (Calling Wordexp): Document additional use
38519 for WRDE_SYNTAX.
38520
38521 2015-03-23 Alan Modra <amodra@gmail.com>
38522
38523 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38524 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38525 and false branch of conditional.
38526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38527 Likewise.
38528
38529 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38530
38531 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38532 libc-modules.h
38533 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38534 unused declaration of _hurd_intr_rpc_msg_in_trap.
38535 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38536 defined instead of whether it is non-zero.
38537 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38538 input constraint instead of both input and output constraint. Use ecx
38539 clobber instead of %ecx.
38540 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38541 mutex_unlock): Use a statement expression instead of an expression list.
38542 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38543 type to vm_size_t instead of vm_address_t.
38544 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38545 defined instead of whether it is non-zero.
38546 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38547 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38548 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38549 comparisons with mapaddr.
38550 * nscd/nscd-client.h: Include <time.h>.
38551 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38552 9th parameter to __vm_region instead of int.
38553 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38554 * scripts/check-local-headers.sh (exclude): Add device/,
38555 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38556 cthreads.h.
38557
38558 2015-03-19 Roland McGrath <roland@hack.frob.com>
38559
38560 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38561 to account for alignment padding.
38562 * sysdeps/arm/memmove.S: Likewise.
38563
38564 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38565
38566 * sysdeps/unix/sysv/linux/generic/README: New file.
38567
38568 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38569
38570 [BZ #18138]
38571 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38572 (futex_abstimed_wait)
38573 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38574 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38575 of lll_futex_timed_wait.
38576
38577 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38578
38579 [BZ #17542]
38580 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38581
38582 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38583
38584 [BZ #17090]
38585 [BZ #17620]
38586 [BZ #17621]
38587 [BZ #17628]
38588 * NEWS: Update.
38589 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38590 entries with Static TLS too. Skip entries past the end of the
38591 allocated DTV, from Alan Modra.
38592 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38593 Static TLS DTV entry set up from...
38594 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38595 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38596 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38597 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38598 for Static TLS.
38599 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38600 that the slot we find is associated with the given map before
38601 using its generation count.
38602 * nptl_db/db_info.c: Include ldsodefs.h.
38603 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38604 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38605 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38606 (link_map::l_tls_offset): New struct field.
38607 (dtv_t::counter): Likewise.
38608 (rtld_global): New struct.
38609 (_rtld_global): New rtld variable.
38610 (dl_tls_dtv_slotinfo_list): New rtld global field.
38611 (dtv_slotinfo_list): New struct.
38612 (dtv_slotinfo): Likewise.
38613 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38614 (td_lookup): Rename to...
38615 (td_mod_lookup): ... this. Use new mod parameter instead of
38616 LIBPTHREAD_SO.
38617 * nptl_db/td_thr_tlsbase.c: Include link.h.
38618 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38619 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38620 addresses even if the DTV is out of date or missing them.
38621 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38622 index zero-length arrays.
38623 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38624 (td_lookup): Make it a macro implemented in terms of...
38625 (td_mod_lookup): ... this declaration.
38626 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38627 (DB_MAIN_VARIABLE): Likewise.
38628
38629 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38630
38631 [BZ #18134]
38632 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38633
38634 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38635
38636 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38637
38638 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38639
38640 [BZ #18128]
38641 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38642 (atomic_add, atomic_increment_and_test)
38643 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38644
38645 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38646
38647 * stdlib/setenv.c (__add_to_environ):
38648 Dump core quickly if setenv (..., NULL, ...) is called.
38649
38650 2015-03-13 Roland McGrath <roland@hack.frob.com>
38651
38652 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38653 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38654 all the necessary asm magic in one place.
38655 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38656 using those.
38657
38658 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38659
38660 [BZ #14906]
38661 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38662 traced file mtime. Use consistent log message.
38663 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38664 (register_traced_file): Call install_watches. Always set mtime.
38665 (invalidate_cache): Iterate over all trace files. Call install_watches.
38666 (inotify_check_files): Don't inline. Handle watching parent
38667 directories and configuration file movement in and out.
38668 (handle_inotify_events): New function.
38669 (main_loop_poll): Call handle_inotify_events.
38670 (main_loop_epoll): Likewise.
38671 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38672 (struct traced_file): Use array of inotify fds. Add parent directory,
38673 and basename.
38674 (struct database_dyn): Remove unused file_mtime.
38675 (init_traced_file): New inline function.
38676 (define_traced_file): New macro.
38677 * nss/nss_db/db-init.c: Use define_traced_file.
38678 (_nss_db_init): Use init_traced_file.
38679 * nss/nss_files/files-init.c: Use define_traced_file.
38680 (_nss_files_init): Use init_traced_file.
38681
38682 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38683
38684 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38685 [_LIBC]: Do not include <stdlib.h>.
38686 [!_LIBC] (abort): Remove declaration.
38687 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38688 _FP_STATIC_ASSERT instead of conditionally calling abort.
38689 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38690 (_FP_EXTEND_CNAN): Likewise.
38691 (FP_TRUNC): Likewise.
38692 (__FP_CLZ): Likewise.
38693 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38694
38695 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38696
38697 * manual/string.texi (XPG basename): Fix prototype.
38698
38699 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38700
38701 [BZ #18080]
38702 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38703 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38704 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38705 (__setcontext): Likewise.
38706 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38707 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38708 Call rt_sigprocmask syscall one time to set new signal mask
38709 and retrieve the current signal mask instead of two calls.
38710 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38711 (__swapcontext): Likewise.
38712 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38713 * stdlib/tst-setcontext2.c: New file.
38714
38715 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38716
38717 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38718
38719 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38720
38721 [BZ #18093]
38722 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38723 the wrong size.
38724
38725 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38726
38727 [BZ #18043]
38728 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38729
38730 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38731
38732 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38733 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38734 Remove define.
38735 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38736 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38737 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38738 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38739 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38740 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38741 define.
38742 * nptl_db/td_symbol_list.c (td_lookup): Remove
38743 HAVE_ASM_GLOBAL_DOT_NAME code.
38744 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38745 HAVE_ASM_GLOBAL_DOT_NAME check.
38746 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38747 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38748 (DOT_LABEL): Remove define.
38749 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38750 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38751 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38752 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38753 (__TLS_GET_ADDR): Likewise.
38754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38755 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38756
38757 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38758
38759 [BZ #18111]
38760 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38761 (_FPU_SETCW): Initialize cw from fpsr before storing.
38762 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38763 (fesetexceptflag): Rewrite using fpu_control.h.
38764 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38765
38766 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38767
38768 [BZ #18110]
38769 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38770 asms.
38771 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38772
38773 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38774
38775 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38776 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38777 abort.
38778 (_FP_FMA): Likewise.
38779 (_FP_DIV): Likewise.
38780
38781 2015-03-10 Roland McGrath <roland@hack.frob.com>
38782
38783 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38784 with 0 in that case.
38785 * Makefile (summarize-tests): New canned sequence, factored out of
38786 commands for targets tests and xtests. Display summary lines that
38787 don't start with PASS: or XFAIL: rather than ones that do start with
38788 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38789 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38790 do start with ERROR: or FAIL:.
38791 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38792 (except for [$(build-shared) = yes]).
38793 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38794 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38795 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38796 * nptl/Makefile: Revert 2015-03-04 changes.
38797 [$(CXX) empty] (tests-unsupported): New variable.
38798 * debug/Makefile: Likewise.
38799
38800 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38801 gnulib file. Replace __attribute with __attribute__ throughout.
38802
38803 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38804
38805 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38806
38807 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38808
38809 [BZ #18104]
38810 * math/auto-libm-test-in: Add another test of pow.
38811 * math/auto-libm-test-out: Regenerated.
38812
38813 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38814
38815 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38816 $(config-cflags-nofma).
38817
38818 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38819
38820 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38821 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38822 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38823 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38824 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38825 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38826 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38827 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38828 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38829 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38830 Add comment on closing #endif.
38831
38832 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38833
38834 * posix/wordexp.c (CHAR_IN_SET): New macro.
38835 (parse_param): Use it.
38836
38837 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38838
38839 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38840
38841 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38842
38843 [BZ #18043]
38844 * posix/wordexp.c (parse_param): Fix buffer overflow.
38845 * posix/wordexp-test.c (test_case): Add test case.
38846
38847 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38848
38849 [BZ #18042]
38850 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38851 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38852
38853 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38854
38855 [BZ #18043]
38856 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38857 (do_bz18043): Delete.
38858 (at_page_end): New.
38859 (testit): Refactor to have words at the edge of unreadable page.
38860
38861 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38862
38863 [BZ #16734]
38864 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38865 Cleanup read-only streams as well.
38866 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38867
38868 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38869
38870 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38871 <bits/libc-lockP.h>
38872
38873 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38874
38875 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38876 on [__KERNEL__].
38877 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38878 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38879 * soft-fp/op-common.h (_FP_DECL): Likewise.
38880
38881 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38882
38883 * elf/ifuncdep2.c (global): Replace
38884 __attribute__((visibility("protected"))) with
38885 asm (".protected global").
38886 * elf/ifuncmod1.c (global): Likewise.
38887 * elf/ifuncmod5.c (global): Likewise.
38888
38889 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38890
38891 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38892 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38893
38894 2015-03-06 Roland McGrath <roland@hack.frob.com>
38895
38896 * manual/install.texi (Configuring and compiling):
38897 Document test-wrapper-env-only.
38898 * INSTALL: Regenerated.
38899
38900 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38901
38902 [BZ #18043]
38903 * posix/wordexp.c (parse_param): Fix buffer overflow.
38904 * posix/wordexp-test.c (do_bz18043): Add test case.
38905
38906 2015-03-06 Vincent Bernat <vincent@bernat.im>
38907
38908 * time/tst-strptime2.c (do_test): Ensure failing tests are
38909 reported correctly.
38910 * time/tst-strptime3.c (do_test): Likewise.
38911
38912 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38913
38914 Fix aio_error thread-safety.
38915 * sysdeps/pthread/aio_error.c: New file
38916 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38917 synchronization.
38918
38919 2015-03-06 Florian Weimer <fweimer@redhat.com>
38920
38921 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38922 (group_number, vfprintf): Use it.
38923 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38924 (JUMP, REF): Use it.
38925 (WORK_BUFFER_SIZE): New enum constant.
38926 (process_arg, vfprintf): Use it.
38927
38928 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38929
38930 * manual/errno.texi (Error Messages): Complete example function
38931 by adding missing #define.
38932 (program_invocation_name): Add statement indicating GNU
38933 extension and reference which header file declares the variable.
38934 (program_invocation_short_name): Likewise.
38935
38936 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38937
38938 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38939 compatibility note.
38940
38941 2015-03-05 Roland McGrath <roland@hack.frob.com>
38942
38943 * Makeconfig (test-wrapper-env-only): New variable.
38944 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38945 then use that with $(test-wrapper-env-only) rather than using
38946 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38947
38948 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38949
38950 [BZ #18082]
38951 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38952 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38953 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38954 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38955 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38956 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38957 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38958 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38959 Likewise.
38960 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38961 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38962 Likewise.
38963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38964 Likewise.
38965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38966 Likewise.
38967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38968 Likewise.
38969 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38971 Likewise.
38972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38973 Likewise.
38974 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38975 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38976
38977 2015-03-04 Roland McGrath <roland@hack.frob.com>
38978
38979 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38980 (ETH_ALEN): New macro.
38981 (struct ether_addr): Use it for length of ether_addr_octet.
38982
38983 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38984 (setdb): Don't call __nss_configure_lookup for "rpc".
38985 (do_test): Don't call test_rpc.
38986 (output_rpcent, test_rpc): Functions moved ...
38987 * sunrpc/test-rpcent.c: ... to this new file.
38988 * sunrpc/Makefile (tests): Add it.
38989
38990 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38991 __xpg_sigpause.
38992 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38993 * nptl/tst-signal6.c: Likewise.
38994 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38995 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38996
38997 * configure.ac (libc_cv_cxx_link_ok): New check.
38998 Reset CXX to empty if it fails to link.
38999 * configure: Regenerated.
39000 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39001 bug-atexit3-lib only if $(CXX) is nonempty.
39002 * nptl/Makefile (tests): Likewise for tst-cancel24.
39003 (tests, tests-static): Likewise for tst-cancel24-static.
39004 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39005 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39006 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39007 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39008
39009 2015-03-04 Andreas Schwab <schwab@suse.de>
39010
39011 [BZ #17631]
39012 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39013 for non-GCC compilers.
39014 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39015 Likewise.
39016
39017 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39018
39019 [BZ #17776]
39020 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39021 integer before bitwise and assembly operations.
39022 (feclearexcept): Likewise.
39023 * math/test-fenvinline.c: New file.
39024 * math/Makefile: Add test-fenvinline test.
39025
39026 2015-03-03 Alan Modra <amodra@gmail.com>
39027
39028 [BZ #16512]
39029 * scripts/localplt.awk: Strip off symbol version.
39030 * NEWS: Mention bug fix.
39031
39032 2015-03-02 Roland McGrath <roland@hack.frob.com>
39033
39034 * sysdeps/pthread/timer_routines.c
39035 (timer_free_list, thread_free_list, thread_active_list): Make static.
39036
39037 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39038
39039 [BZ #17779]
39040 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39041 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39042 Undefine.
39043 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39044 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39045 Likewise.
39046 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39047 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39048 Likewise.
39049
39050 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39051
39052 [BZ #18036]
39053 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39054 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39055
39056 2015-03-02 Andreas Schwab <schwab@suse.de>
39057
39058 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39059 variable name.
39060
39061 2015-03-02 Florian Weimer <fweimer@redhat.com>
39062
39063 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39064 Return error status.
39065
39066 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39067
39068 [BZ #15969]
39069 * locale/findlocale.c (_nl_find_locale): Introduce const
39070 version of loc_name and drop unsafe type casts.
39071
39072 2015-02-27 Roland McGrath <roland@hack.frob.com>
39073
39074 * dlfcn/tststatic2.c (main): Converted to ...
39075 (do_test): ... this.
39076 (TEST_FUNCTION): New macro.
39077 Include test-skeleton.c.
39078
39079 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39080
39081 [BZ #17711]
39082 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39083 (tests-pie): Add vismain.
39084 (CFLAGS-vismain.c): New.
39085 * elf/vismain.c: Add comments for PIE requirement.
39086
39087 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39088
39089 [BZ #18046]
39090 [BZ #18047]
39091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39092 0x1p-56L as threshold for just returning the argument.
39093 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39094 0x1p-32L as threshold for just returning the argument.
39095 * math/auto-libm-test-in: Add more tests of atanh.
39096 * math/auto-libm-test-out: Regenerated.
39097 * sysdeps/i386/fpu/libm-test-ulps: Update.
39098 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39099
39100 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39101
39102 * string/bcopy.c (bcopy): Call memmove for performance.
39103
39104 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39105
39106 * string/bzero.c (__bzero): Call memset for performance.
39107
39108 2015-02-27 John David Anglin <dave.anglin@bell.net>
39109
39110 [BZ #18068]
39111 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39112 to 00100000.
39113
39114 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39115
39116 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39117
39118 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39119
39120 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39121 (__kernel_standard): Use CSTR macro when setting exc.name.
39122 * sysdeps/ieee754/Makefile [$(subdir) = math]
39123 (CFLAGS-k_standard.c): Remove variable.
39124
39125 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39126 setting p and q from "else if" to "else".
39127 (qzero): Likewise.
39128 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39129 (qone): Likewise.
39130 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39131 (qzerof): Likewise.
39132 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39133 (qonef): Likewise.
39134 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39135 (qzero): Likewise.
39136 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39137 (qone): Likewise.
39138
39139 [BZ #18038]
39140 [BZ #18039]
39141 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39142 return pi/2 for arguments below 0x1p-113L.
39143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39144 return pi/2 for arguments below 0x1p-106L.
39145 * math/auto-libm-test-in: Add more tests of acos.
39146 * math/auto-libm-test-out: Regenerated.
39147
39148 [BZ #16351]
39149 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39150 (MO): New macro.
39151 (__ieee754_asin): Force underflow exception for results with small
39152 absolute value.
39153 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39154 (MO): New macro.
39155 (__ieee754_asinf): Force underflow exception for results with
39156 small absolute value.
39157 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39158 (__ieee754_asin): Force underflow exception for results with small
39159 absolute value.
39160 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39161 (__ieee754_asinf): Force underflow exception for results with
39162 small absolute value.
39163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39164 (__ieee754_asinl): Force underflow exception for results with
39165 small absolute value.
39166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39167 (__ieee754_asinl): Force underflow exception for results with
39168 small absolute value.
39169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39170 (__ieee754_asinl): Force underflow exception for results with
39171 small absolute value.
39172 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39173 Include <math.h>.
39174 * math/auto-libm-test-in: Do not mark underflow exceptions as
39175 possibly missing for bug 16351.
39176 * math/auto-libm-test-out: Regenerated.
39177
39178 [BZ #18030]
39179 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39180 of power of 2 down when low part has opposite sign.
39181 * math/libm-test.inc (logb_test_data): Add more tests.
39182
39183 2015-02-26 Andreas Schwab <schwab@suse.de>
39184
39185 [BZ #18032]
39186 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39187 over collating symbol inside a bracket expression. Minor cleanup.
39188 * posix/tst-fnmatch3.c (do_test): Add test case.
39189
39190 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39191
39192 [BZ #18029]
39193 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39194 Adjust exponent of power of 2 down when low part has opposite
39195 sign.
39196 * math/libm-test.inc (ilogb_test_data): Add more tests.
39197
39198 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39199
39200 [BZ #15969]
39201 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39202 the previous change.
39203
39204 [BZ #15969]
39205 * locale/findlocale.c (_nl_find_locale): Retry archive search
39206 after alias expansion.
39207
39208 2015-02-25 Roland McGrath <roland@hack.frob.com>
39209
39210 * iconv/tst-iconv3.c (main): Converted to ...
39211 (do_test): ... this.
39212 (TEST_FUNCTION): New macro.
39213 Include test-skeleton.c.
39214
39215 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39216 (convert): Make function static.
39217 (test_unalign): Likewise. Add const to argument pointee types.
39218 (main): Replace with static function do_test.
39219 Print "Succeeded." only if RET is zero.
39220 (TEST_FUNCTION): New macro.
39221 Include test-skeleton.c.
39222
39223 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39224 returns a null pointer.
39225
39226 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39227
39228 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39229 to __memcpy_ppc only for static builds.
39230
39231 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39232
39233 [BZ #18020]
39234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39235 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39236 * math/auto-libm-test-in: Add more tests of asinh.
39237 * math/auto-libm-test-out: Regenerated.
39238 * sysdeps/i386/fpu/libm-test-ulps: Update.
39239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39240
39241 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39242
39243 [BZ #15850]
39244 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39245 and ip6_mtuinfo definitions here.
39246 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39247 in this define too. Update comment.
39248
39249 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39250
39251 * elf/sprof.c (load_shobj): Tweak error message to match others.
39252
39253 2015-02-24 Kevin Easton <kevin@guarana.org>
39254
39255 [BZ #16145] (partial fix)
39256 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39257 to reduce lock contention.
39258
39259 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39260
39261 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39262 (struct timex): Update time comment.
39263 (ADJ_SETOFFSET): Define.
39264
39265 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39266
39267 [BZ #18019]
39268 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39269 2**56 not 2**28 as threshold for log (2x) formula.
39270 * math/auto-libm-test-in: Add more tests of acosh.
39271 * math/auto-libm-test-out: Regenerated.
39272 * sysdeps/i386/fpu/libm-test-ulps: Update.
39273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39274
39275 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39276
39277 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39278 parenthesis around the buf assignment.
39279 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39280
39281 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39282
39283 [BZ #16783]
39284 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39285 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39286 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39287 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39288 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39289 * math/libm-test.inc (scalb_test_data): Add more tests.
39290
39291 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39292
39293 [BZ #17916]
39294 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39295 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39296
39297 2015-02-24 Eric Rannaud <e@nanocritical.com>
39298
39299 [BZ #17523]
39300 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39301 * io/bits/fcntl2.h (open): Use it.
39302 (openat): Likewise.
39303 * io/open.c (__libc_open): Likewise.
39304 * io/open64.c (__libc_open64): Likewise.
39305 * io/open64_2.c (__open64_2): Likewise.
39306 * io/open_2.c (__open_2): Likewise.
39307 * io/openat.c (__openat): Likewise.
39308 * io/openat64.c (__openat64): Likewise.
39309 * io/openat64_2.c (__openat64_2): Likewise.
39310 * io/openat_2.c (__openat_2): Likewise.
39311 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39312 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39313 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39314 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39315 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39316 (__open_nocancel): Likewise.
39317 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39318 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39319 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39320
39321 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39322
39323 [BZ #14841]
39324 * resolv/gethnamaddr.c (getanswer): Skip logging if
39325 RES_USE_DNSSEC is set.
39326 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39327
39328 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39329
39330 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39331
39332 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39333
39334 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39335 201304L, for Unicode 7.
39336
39337 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39338
39339 [BZ #17836]
39340 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39341 shared library. Add gmon-start.os otherwise.
39342 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39343 $(objpfx)gmon-start.os if builing shared library.
39344 ($(objpfx)g$(static-start-installed-name)): Likewise.
39345
39346 2015-02-23 Andreas Schwab <schwab@suse.de>
39347
39348 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39349
39350 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39351
39352 [BZ #17269]
39353 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39354 (enlarge_userbuf): Likewise.
39355
39356 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39357
39358 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39359 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39360 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39361 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39362
39363 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39364
39365 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39366 expression inside statement expression.
39367
39368 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39369
39370 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39371 <sysdeps/nptl/lowlevellock.h> and remove macros and
39372 functions that are now defined there.
39373 (SYS_futex): Remove.
39374 (lll_compare_and_swap): Remove.
39375 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39376
39377 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39378
39379 [BZ #17999]
39380 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39381 instead of scandirat.
39382 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39383 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39384 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39385 __scandirat.
39386 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39387 (__scandirat): Declare. Use libc_hidden_proto.
39388 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39389 Remove variable.
39390 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39391
39392 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39393
39394 [BZ #15319]
39395 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39396 (MO): New macro.
39397 (__ieee754_atan2): For results with small absolute value, force
39398 underflow exception and remove excess range and precision from
39399 return value.
39400 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39401 (MO): New macro.
39402 (__ieee754_atan2f): For results with small absolute value, force
39403 underflow exception and remove excess range and precision from
39404 return value.
39405 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39406 (MO): New macro.
39407 (__atan): For results with small absolute value, force underflow
39408 exception and remove excess range and precision from return value.
39409 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39410 (MO): New macro.
39411 (__atanf): For results with small absolute value, force underflow
39412 exception and remove excess range and precision from return value.
39413 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39414 <math.h>.
39415 (__ieee754_atan2): Force underflow exception for results with
39416 small absolute value.
39417 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39418 <math_private.h>.
39419 (atan): Force underflow exception for results with small absolute
39420 value.
39421 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39422 (__atanf): Force underflow exception for results with small
39423 absolute value.
39424 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39425 <math.h>.
39426 (__atanl): Force underflow exception for results with small
39427 absolute value.
39428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39429 (__atanl): Force underflow exception for results with small
39430 absolute value.
39431 * sysdeps/x86/fpu/bits/mathinline.h
39432 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39433 (__ieee754_atan2): Only define inline for long double.
39434 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39435 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39436 * math/auto-libm-test-in: Do not mark underflow exceptions as
39437 possibly missing for bug 15319. Add more tests of atan2.
39438 * math/auto-libm-test-out: Regenerated.
39439 * math/libm-test.inc (casin_test_data): Do not mark underflow
39440 exceptions as possibly missing for bug 15319.
39441 (casinh_test_data): Likewise.
39442 * sysdeps/i386/fpu/libm-test-ulps: Update.
39443
39444 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39445
39446 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39447 * sysdeps/mips/bits/endian.h: Fix comments.
39448
39449 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39450
39451 [BZ #17996]
39452 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39453 (hdestroy_r): Likewise.
39454 (hsearch_r): Likewise.
39455 (__hcreate_r): Declare and use libc_hidden_proto.
39456 (__hdestroy_r): Likewise.
39457 (__hsearch_r): Likewise.
39458 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39459 (hcreate): Call __hcreate_r instead of hcreate_r.
39460 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39461 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39462 as weak alias of __hcreate_r.
39463 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39464 __hdestroy_r.
39465 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39466 __hsearch_r.
39467 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39468 Remove variable.
39469 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39470 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39471 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39472 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39473
39474 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39475
39476 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39477 arena_lock into a single arena_get.
39478
39479 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39480
39481 * dl-reloc.c: Inlucde libc-internal.h.
39482 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39483 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39484 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39485 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39486 (grow_heap): Likewise.
39487 * malloc/malloc.c: Include libc-internal.h.
39488 (do_check_malloc): Call powerof2.
39489 (sysmalloc): Use pagesize. Call ALIGN_UP.
39490 (systrim): Use pagesize.
39491 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39492 (__libc_valloc): Use pagesize.
39493 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39494
39495 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39496
39497 [BZ #17991]
39498 * include/sys/resource.h (__getrlimit64): Declare. Use
39499 libc_hidden_proto.
39500 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39501 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39502 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39503 getrlimit64.
39504 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39505 __getrlimit64.
39506 [!getrlimit64] (getrlimit64): Define as weak alias of
39507 __getrlimit64. Use libc_hidden_weak.
39508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39509 using __getrlimit64 not __new_getrlimit64.
39510 (__GI_getrlimit64): Likewise.
39511 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39512 Likewise.
39513 (__GI_getrlimit64): Likewise.
39514 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39516 (getrlimit): Add __getrlimit64 alias.
39517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39518 Likewise.
39519 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39520 Remove variable.
39521 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39522 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39523
39524 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39525
39526 * libio/fileops.c: Add missing sys/mman.h
39527 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39528
39529 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39530
39531 * manual/math.texi (Errors in Math Functions): Clarify goals
39532 regarding inexact and underflow exceptions.
39533
39534 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39535
39536 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39537 * sysdeps/mips/memset.S: Ditto.
39538
39539 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39540
39541 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39542
39543 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39544
39545 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39546 (__v1longjmp): Remove versioned symbol.
39547 (__v1siglongjmp): Remove alias and versioned symbol.
39548 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39549 (__v2siglongjmp): Likewise.
39550
39551 2015-02-16 Torvald Riegel <triegel@redhat.com>
39552
39553 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39554
39555 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39556
39557 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39558
39559 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39560
39561 [BZ #17987]
39562 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39563 zero result does not depend on the sign resulting from
39564 subtraction.
39565 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39566 Likewise.
39567 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39568 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39570 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39571 * math/libm-test.inc (remquo_test_data): Add more tests.
39572
39573 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39574
39575 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39576 Problem reported by J William Piggott.
39577
39578 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39579
39580 [BZ #17978]
39581 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39582 products 4 * y and 2 * y where those would overflow.
39583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39584 Likewise.
39585 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39586 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39587 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39588 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39589 * math/libm-test.inc (remquo_test_data): Add more tests.
39590
39591 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39592
39593 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39594 [defined _COMPILING_NEWLIB].
39595 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39596 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39597
39598 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39599 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39600
39601 2015-02-16 Torvald Riegel <triegel@redhat.com>
39602
39603 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39604 acquired.
39605
39606 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39607
39608 [BZ #17792]
39609 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39610 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39611 HOST_STACK_END_ADDR): Likewise.
39612
39613 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39614
39615 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39616 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39617 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39618
39619 2015-02-13 Roland McGrath <roland@hack.frob.com>
39620
39621 * sysdeps/generic/c++-types.data: New file.
39622 * sysdeps/generic/ld.abilist: New file.
39623 * sysdeps/generic/libBrokenLocale.abilist: New file.
39624 * sysdeps/generic/libanl.abilist: New file.
39625 * sysdeps/generic/libc.abilist: New file.
39626 * sysdeps/generic/libcrypt.abilist: New file.
39627 * sysdeps/generic/libdl.abilist: New file.
39628 * sysdeps/generic/libm.abilist: New file.
39629 * sysdeps/generic/libpthread.abilist: New file.
39630 * sysdeps/generic/libresolv.abilist: New file.
39631 * sysdeps/generic/librt.abilist: New file.
39632
39633 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39634
39635 [BZ #17569]
39636 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39637 Compute absolute value of x as modified by fmod, not original
39638 value of x.
39639 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39640 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39641 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39642 RUN_TEST_ffI_f1_mod8.
39643 (remquo_test_data): Add more tests.
39644
39645 2015-02-13 Roland McGrath <roland@hack.frob.com>
39646
39647 * sysdeps/init_array/pt-crti.S: New file.
39648
39649 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39650
39651 [BZ #17967]
39652 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39653 __builtin_fmaf instead of relying on contraction of a * b + c.
39654
39655 2015-02-12 J William Piggott <elseifthen@gmx.com>
39656
39657 [BZ #17969]
39658 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39659 node.
39660
39661 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39662
39663 [BZ #17964]
39664 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39665 __builtin_fma instead of relying on contraction of a * b + c.
39666
39667 2015-02-12 Roland McGrath <roland@hack.frob.com>
39668
39669 * Makeconfig (ASFLAGS): Add -Werror=undef.
39670 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39671 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39672 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39673
39674 * Makeconfig (after-link): New variable.
39675 (+link-pie, +link-pie-tests): Use it.
39676 (+link-static, +link-static-tests): Likewise.
39677 (+link, +link-tests): Likewise.
39678 * Makerules (build-module, build-module-asneeded): Likewise.
39679 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39680 Likewise.
39681 * elf/Makefile ($(objpfx)ld.so): Likewise.
39682
39683 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39684
39685 [BZ #17965]
39686 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39687 both struct timeval and struct timespec.
39688
39689 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39690
39691 [BZ #16560]
39692 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39693 and redefine.
39694 (__ieee754_exp2l): Do not multiply small fractional parts by
39695 M_LN2l.
39696 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39697 small argument.
39698 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39699 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39700 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39701 * math/auto-libm-test-in: Add more tests of exp2.
39702 * math/auto-libm-test-out: Regenerated.
39703
39704 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39705
39706 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39707 unaligned path.
39708
39709 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39710
39711 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39712 little endian.
39713
39714 2015-02-12 Andreas Schwab <schwab@suse.de>
39715
39716 [BZ #15790]
39717 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39718 Filter out elision flags from value returned in kind.
39719 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39720 * nptl/tst-pthread-mutexattr.c: New file.
39721
39722 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39723
39724 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39725 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39726 into gnu-gnu, and update comment to refer to abi-tags.
39727
39728 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39729
39730 [BZ #15467]
39731 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39732 (__sincos): Set errno to EDOM for infinite argument.
39733 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39734 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39735 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39736 (__sincosl): Set errno to EDOM for infinite argument.
39737 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39738 (__sincosl): Set errno to EDOM for infinite argument.
39739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39740 (__sincosl): Set errno to EDOM for infinite argument.
39741 * math/libm-test.inc (sincos_test_data): Test errno setting.
39742
39743 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39744
39745 * string/strxfrm_l.c: Remove #define STRCMP.
39746 * string/strcoll_l.c: Remove #define STRLEN.
39747 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39748 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39749
39750 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39751
39752 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39753 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39754 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39755 * sysdeps/mips/mips64/Makefile: ... here.
39756 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39757 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39758 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39759 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39760 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39761 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39762 * sysdeps/mips/mips64/n64/Implies: Likewise.
39763
39764 2015-02-10 Roland McGrath <roland@hack.frob.com>
39765
39766 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39767 <sys/time.h>, <string.h>, and <errno.h>.
39768 (dest_offset, dest_address, value, zero): Remove unused variables.
39769 (ldouble): Remove typedef.
39770 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39771 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39772 1). Fix code style.
39773 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39774 (check): Function removed.
39775 (CHECK): New macro.
39776 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39777 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39778 Don't call set_sigaction_FP and remove_sigaction_FP here.
39779 (ldouble_test): Just use 'long double' as macro argument, no need for
39780 the 'ldouble' typedef.
39781 (do_test): Set up SIGFPE handler at start, using plain signal rather
39782 than sigaction. Fix code style.
39783
39784 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39785
39786 [BZ #17949]
39787 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39788 jump label.
39789
39790 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39791
39792 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39793 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39794
39795 * sysdeps/powerpc/configure.ac: Remove file.
39796 * sysdeps/powerpc/configure: Likewise.
39797
39798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39799 [sysdep_routines]: Remove wordcopy-power6 object.
39800 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39801 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39802 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39803 (__memmove_ppc32): Likewise.
39804 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39805 file.
39806 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39808 Remove preprocessor.
39809
39810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39811 [sysdep_routines]: Remove wide chars objects.
39812 [wcsmbs]: New rule for wide char objects.
39813
39814 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39815 Remove wordcopy-power6 obejct.
39816 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39817 Use local call for wordcopy and memcpy symbols.
39818 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39819 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39820 implementation for loader.
39821 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39822
39823 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39824 Remove wordcopy-power7 object.
39825 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39826 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39827 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39828 (_wordcopy_fwd_dest_aligned): Likewise.
39829 (_wordcopy_bwd_aligned): Likewise.
39830 (_wordcopy_bwd_dest_aligned): Likewise.
39831
39832 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39833 Rewrite to call __memmove_ppc instead of include default
39834 implementation.
39835
39836 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39837 Remove wide chars objects.
39838 [wcsmbs]: New rule for wide char objects.
39839
39840 2015-02-09 Andreas Schwab <schwab@suse.de>
39841
39842 [BZ #17912]
39843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39844 in terms of __O_DIRECTORY.
39845
39846 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39847
39848 * time/getdate.c: Include <stdbool.h>.
39849 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39850 call PTR_MANGLE.
39851 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39852 PTR_DEMANGLE.
39853
39854 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39855
39856 Add ersatz _Static_assert on older C hosts
39857 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39858 pre-C11 C platform that is not known to support _Static_assert.
39859
39860 2015-02-07 Richard Braun <rbraun@sceen.net>
39861
39862 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39863 sigstate.
39864 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39865
39866 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39867
39868 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39869 priority against unexistent AIO_PRIO_DELTA_MAX.
39870 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39871 instead of int.
39872 * misc/fchflags.c (fchflags): Likewise.
39873 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39874 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39875 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39876 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39877 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39878 Declare macros.
39879 [__USE_MISC] (chflags, fchflags): Declare functions.
39880 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39881 EINVAL when nfds is greater than FD_SETSIZE.
39882 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39883 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39884 45.
39885 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39886 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39887 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39888 MACH_RCV_TIMED_OUT.
39889 * hurd/hurd/signal.h (_hurd_self_sigstate,
39890 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39891 Explicit casts from void *.
39892 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39893 * abi-tags: Rename gnu-gnu os into gnu.
39894
39895 [BZ #4719]
39896 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39897 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39898 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39899 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39900 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39901 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39902
39903 [BZ #17944]
39904 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39905 duplicates ADDR->sun_path with sockaddr LEN limitation.
39906 * sysdeps/mach/hurd/connect.c: Include <string.h>
39907 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39908 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39909 * sysdeps/mach/hurd/sendto.c: Likewise.
39910 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39911 implementing it by hand.
39912
39913 2015-02-06 Roland McGrath <roland@hack.frob.com>
39914
39915 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39916 Use sfi_breg on ldr.
39917 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39918 Likewise.
39919
39920 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39921 it's defined.
39922 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39923 Test SIGSETXID only if it's defined.
39924
39925 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39926
39927 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39928 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39929
39930 * nptl/tst-align2.c: Moved ...
39931 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39932 * nptl/Makefile (tests): Remove tst-align2.
39933 * sysdeps/unix/sysv/linux/Makefile
39934 [$(subdir) = nptl] (tests): Add tst-align-clone.
39935 * nptl/tst-getpid1.c: Moved ...
39936 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39937 * nptl/tst-getpid2.c: Moved ...
39938 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39939 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39940 * sysdeps/unix/sysv/linux/Makefile
39941 [$(subdir) = nptl] (tests): ... here.
39942 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39943 * sysdeps/unix/sysv/linux/Makefile
39944 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39945
39946 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39947 Drop trailing \n from perror argument. Use return rather than exit.
39948
39949 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39950 on [SA_SIGINFO].
39951 * nptl/tst-cancel21.c (do_test): Likewise.
39952 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39953 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39954 [!SA_SIGINFO]: Make it a stub test.
39955
39956 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39957 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39958
39959 * posix/tst-getlogin.c: Move to ...
39960 * login/tst-getlogin.c: ... here.
39961 * posix/Makefile (tests): Move tst-getlogin to ...
39962 * login/Makefile (tests): ... here.
39963
39964 * libio/tst-atime.c (do_test): Move local variables SV and E
39965 inside [ST_NOATIME] conditional.
39966
39967 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39968
39969 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39970
39971 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39972 (wait_code): New function replaces macro.
39973 Call nanosleep rather than syscall.
39974
39975 * nptl/pt-system.c: Rewritten. Put everything under
39976 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39977 Use IFUNC to redirect when possible.
39978
39979 * nptl/pt-longjmp.c: Rewritten. Put everything under
39980 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39981 Use IFUNC to redirect when possible.
39982
39983 * nptl/pt-fork.c: Rewritten. Put everything under
39984 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39985 Use IFUNC to redirect when possible.
39986 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39987
39988 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39989 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39990 unconditionally nowadays. This included the only reference to
39991 __vdso_clock_gettime that appears outside libc proper.
39992 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39993 Remove version set (containing only __vdso_clock_gettime).
39994 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39995 Add attribute_hidden.
39996 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39997 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39998 libc_hidden_data_def.
39999 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40000 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40001
40002 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40003 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40004 setrpcent, and getrpcport to ...
40005 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40006 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40007 getrpcbynumber_r, and getrpcent_r to ...
40008 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40009 * inet/getrpcbyname.c: Moved ...
40010 * sunrpc/getrpcbyname.c: ... here.
40011 * inet/getrpcbyname_r.c: Moved ...
40012 * sunrpc/getrpcbyname_r.c: ... here.
40013 * inet/getrpcbynumber.c: Moved ...
40014 * sunrpc/getrpcbynumber.c: ... here.
40015 * inet/getrpcbynumber_r.c: Moved ...
40016 * sunrpc/getrpcbynumber_r.c: ... here.
40017 * inet/getrpcent.c: Moved ...
40018 * sunrpc/getrpcent.c: ... here.
40019 * inet/getrpcent_r.c: Moved ...
40020 * sunrpc/getrpcent_r.c: ... here.
40021 * inet/Makefile (routines): Move those to ...
40022 * sunrpc/Makefile (routines): ... here.
40023 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40024 the $(subdirs) list.
40025 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40026 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40027 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40028 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40029
40030 * elf/Makefile (routines): Include $(all-dl-routines), not just
40031 $(dl-routines).
40032 (rtld-routines): Likewise. Use = rather than :=.
40033 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40034 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40035 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40036 * sysdeps/arm/Makefile: Likewise.
40037 * sysdeps/i386/Makefile: Likewise.
40038 * sysdeps/x86_64/Makefile: Likewise.
40039 * sysdeps/hppa/Makefile [$(subdir) = elf]
40040 (sysdep_routines, sysdep-rtld-routines): Don't add
40041 $(sysdep-dl-routines) to these.
40042 * sysdeps/ia64/Makefile: Likewise.
40043 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40044 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40045 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40046 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40047 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40048 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40049 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40050 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40051 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40052 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40053 these; sysdep-dl-routines alone is enough.
40054
40055 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40056
40057 [BZ #17932]
40058 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40059 where multiplication results in zero and third argument is finite
40060 and nonzero.
40061 * math/auto-libm-test-in: Add more tests of fma.
40062 * math/auto-libm-test-out: Regenerated.
40063
40064 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40065 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40066 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40067 (_FP_CMP_EQ): Likewise.
40068 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40069
40070 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40071 extra argument CHECK_NAN. Redefine as wrapper around
40072 _FP_EXTEND_CNAN.
40073
40074 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40075
40076 * version.h (RELEASE): Set to "stable".
40077 (VERSION): Set to "2.21"
40078 * include/features.h (__GLIBC_MINOR__): Set to 21.
40079
40080 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40081
40082 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40083 Paul Eggert <eggert@cs.ucla.edu>
40084
40085 [BZ #16618]
40086 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40088 size in bytes. Store needed elements in wpmax. Use needed size
40089 in bytes for extend_alloca.
40090
40091 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40092
40093 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40094 binutls 2.25, and texinfo 5.2.
40095 * INSTALL: Regenerate.
40096 * sysdeps/nios2/configure: Regenerate.
40097 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40098 * manual/contrib.texi: Update.
40099 * po/be.po: Update.
40100 * po/bg.po: Update.
40101 * po/ca.po: Update.
40102 * po/cs.po: Update.
40103 * po/da.po: Update.
40104 * po/de.po: Update.
40105 * po/el.po: Update.
40106 * po/eo.po: Update.
40107 * po/es.po: Update.
40108 * po/fi.po: Update.
40109 * po/fr.po: Update.
40110 * po/gl.po: Update.
40111 * po/hr.po: Update.
40112 * po/hu.po: Update.
40113 * po/ia.po: Update.
40114 * po/id.po: Update.
40115 * po/it.po: Update.
40116 * po/ja.po: Update.
40117 * po/ko.po: Update.
40118 * po/lt.po: Update.
40119 * po/nb.po: Update.
40120 * po/nl.po: Update.
40121 * po/pl.po: Update.
40122 * po/pt_BR.po: Update.
40123 * po/ru.po: Update.
40124 * po/rw.po: Update.
40125 * po/sk.po: Update.
40126 * po/sl.po: Update.
40127 * po/sv.po: Update.
40128 * po/tr.po: Update.
40129 * po/uk.po: Update.
40130 * po/vi.po: Update.
40131 * po/zh_CN.po: Update.
40132 * po/zh_TW.po: Update.
40133
40134 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40135 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40136 * sysdeps/hppa/dl-irel.h: Remove #warning.
40137 * sysdeps/hppa/entry.h: Provide prototype for
40138 __canonicalize_funcptr_for_compare and cast argument.
40139 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40140 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40141 * sysdeps/hppa/sotruss-lib.c: New file.
40142 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40143 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40144 (atomic_compare_and_exchange_bool_acq): Likewise.
40145 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40146 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40147
40148 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40149 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40150 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40151
40152 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40153
40154 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40155 called function in non-PIC case.
40156
40157 2015-01-31 David S. Miller <davem@davemloft.net>
40158
40159 * sysdeps/sparc/sparc32/bits/atomic.h
40160 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40161 unlock not after it.
40162 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40163 volatile register usage warnings from the compiler.
40164
40165 * sysdeps/sparc/nptl/sem_init.c: Delete.
40166 * sysdeps/sparc/nptl/sem_post.c: Delete.
40167 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40168 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40169 * sysdeps/sparc/sparc32/sem_init.c: New file.
40170 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40171 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40172 padding explicitly initialized.
40173 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40174 padding for in-semaphore spinlock.
40175 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40176 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40177 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40178 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40179 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40180 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40181 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40182 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40183 version.
40184 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40185 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40186
40187 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40188
40189 [BZ #17801]
40190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40191 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40192 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40193 New.
40194 (index_AVX_Fast_Unaligned_Load): Likewise.
40195 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40196 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40197 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40198 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40199 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40200 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40201 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40202 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40203 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40204
40205 2015-01-29 Andreas Schwab <schwab@suse.de>
40206
40207 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40208
40209 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40210
40211 [BZ #17892]
40212 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40213
40214 2015-01-28 Martin Sebor <msebor@redhat.com>
40215
40216 * math/README.libm-test: Clarify. Add "How to read the test output."
40217
40218 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40219
40220 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40221 Define to 0.
40222
40223 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40224
40225 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40226 (__HAVE_64B_ATOMICS): Define to 0.
40227
40228 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40229
40230 [BZ #17885]
40231 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40232 value to set as new flag.
40233
40234 [BZ #16576]
40235 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40236 and use _ARCH_PPCSQ instead.
40237 (__ieee754_sqrt): Likewise.
40238 (__ieee754_sqrtf): Likewise.
40239 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40240 _ARCH_PPCSQ is defined.
40241 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40242 fsqrt instruction.
40243 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40244 _ARCH_PPCSQ is defined.
40245 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40246 fsqrts instruction.
40247 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40248
40249 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40250
40251 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40252 bug (GCC BZ #64739).
40253
40254 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40255
40256 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40257 Mark _retval as used.
40258 (lll_futex_wake_unlock): Likewise.
40259 (lll_futex_timed_wait_requeue_pi): Likewise.
40260
40261 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40262 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40263 register variables.
40264
40265 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40266 libm_hidden_def.
40267
40268 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40269 (__bswap_64): Mark as __always_inline.
40270
40271 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40272
40273 [BZ #15378]
40274 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40275 when none of the search directories exist.
40276
40277 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40278
40279 [BZ #17869]
40280 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40281 power8 in .machine directive.
40282
40283 [BZ #17868]
40284 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40285 set dependency from opd value.
40286
40287 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40288
40289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40290 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40291 architecture.
40292
40293 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40294
40295 [BZ #17870]
40296 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40297 with uint64_t.
40298 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40299 (uint64_t) 1.
40300 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40301 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40302 Replace 1UL with (uint64_t) 1.
40303 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40304 int with uint64_t.
40305
40306 2015-01-23 Roland McGrath <roland@hack.frob.com>
40307
40308 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40309 (if_freenameindex): Likewise.
40310
40311 * resource/getrlimit64.c: Add missing libc_hidden_def.
40312
40313 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40314
40315 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40316 __label__.
40317 (_FP_FMA): Likewise.
40318 (_FP_TO_INT_ROUND): Likewise.
40319 (_FP_FROM_INT): Likewise.
40320
40321 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40322
40323 [BZ #16418]
40324 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40325 Make code racy and cancel safe.
40326
40327 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40328
40329 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40330 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40331 attribution.
40332
40333 * pwd/tst-getpw.c: Rewrite.
40334
40335 [BZ #17702]
40336 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40337 (modules-names): Add moddummy1 and moddummy2.
40338 ($(objpfx)tst-rec-dlopen): Define.
40339 * dlfcn/moddummy1.c: New file.
40340 * dlfcn/moddummy2.c: New file.
40341 * dlfcn/tst-rec-dlopen.c: New file.
40342 * elf/dl-cache.c (_dl_load_cache_lookup):
40343 Return char*. Copy result with alloca/strcpy/strdup.
40344 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40345 returns char*. Free cached. If not saving realname
40346 free cached.
40347 * elf/dl-open.c (dl_open_worker): Do not assert that
40348 _r_debug->r_state is RT_CONSISTENT.
40349 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40350 returns char*.
40351
40352 2015-01-21 Torvald Riegel <triegel@redhat.com>
40353 Carlos O'Donell <carlos@redhat.com>
40354
40355 [BZ #12674]
40356 * nptl/sem_waitcommon.c: New file.
40357 * nptl/sem_wait.c: Include sem_waitcommon.c.
40358 (__sem_wait_cleanup, do_futex_wait): Remove.
40359 (__new_sem_wait): Adapt.
40360 (__new_sem_trywait): New function.
40361 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40362 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40363 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40364 (sem_timedwait): Adapt.
40365 * nptl/sem_post.c (__new_sem_post): Adapt.
40366 (futex_wake): New function.
40367 (__old_sem_post): Add release MO fence.
40368 * nptl/sem_open.c (sem_open): Adapt.
40369 * nptl/sem_init.c (__new_sem_init): Adapt.
40370 (futex_private_if_supported): New function.
40371 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40372 (__old_sem_getvalue): Add using previous code.
40373 * sysdeps/nptl/internaltypes.h: Adapt.
40374 * nptl/tst-sem13.c (do_test): Adapt.
40375 * nptl/tst-sem11.c (main): Adapt.
40376 * nptl/sem_trywait.c: Remove.
40377 * nptl/DESIGN-sem.txt: Remove.
40378 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40379 (gen-as-const-headers): Remove structsem.sym.
40380 * nptl/structsem.sym: Remove.
40381 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40382 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40383 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40384 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40385 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40386 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40387 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40389 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40390 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40391 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40392 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40393 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40394 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40395 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40396 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40397 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40398 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40399 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40400 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40401 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40402 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40403
40404 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40405
40406 * INSTALL: Regenerated.
40407
40408 * po/libc.pot: Regenerated.
40409
40410 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40411 Sandra Loosemore <sandra@codesourcery.com>
40412 Andrew Jenner <andrew@codesourcery.com>
40413 Joseph Myers <joseph@codesourcery.com>
40414 Nathan Sidwell <nathan@codesourcery.com>
40415
40416 * NEWS: Mention new Nios II port.
40417 * sysdeps/nios2/Implies: New file.
40418 * sysdeps/nios2/Makefile: New file.
40419 * sysdeps/nios2/Subdirs: New file.
40420 * sysdeps/nios2/Versions: New file.
40421 * sysdeps/nios2/__longjmp.S: New file.
40422 * sysdeps/nios2/abort-instr.h: New file.
40423 * sysdeps/nios2/backtrace.c: New file.
40424 * sysdeps/nios2/bits/endian.h: New file.
40425 * sysdeps/nios2/bits/fenv.h: New file.
40426 * sysdeps/nios2/bits/link.h: New file.
40427 * sysdeps/nios2/bits/setjmp.h: New file.
40428 * sysdeps/nios2/bsd-_setjmp.S: New file.
40429 * sysdeps/nios2/bsd-setjmp.S: New file.
40430 * sysdeps/nios2/configure: New generated file.
40431 * sysdeps/nios2/configure.ac: New file.
40432 * sysdeps/nios2/crti.S: New file.
40433 * sysdeps/nios2/crtn.S: New file.
40434 * sysdeps/nios2/dl-init.c: New file.
40435 * sysdeps/nios2/dl-machine.h: New file.
40436 * sysdeps/nios2/dl-sysdep.h: New file.
40437 * sysdeps/nios2/dl-tls.h: New file.
40438 * sysdeps/nios2/dl-trampoline.S: New file.
40439 * sysdeps/nios2/gccframe.h: New file.
40440 * sysdeps/nios2/gmp-mparam.h: New file.
40441 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40442 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40443 * sysdeps/nios2/ldsodefs.h: New file.
40444 * sysdeps/nios2/libc-tls.c: New file.
40445 * sysdeps/nios2/libm-test-ulps: New file.
40446 * sysdeps/nios2/machine-gmon.h: New file.
40447 * sysdeps/nios2/math-tests.h: New file.
40448 * sysdeps/nios2/math_private.h: New file.
40449 * sysdeps/nios2/memusage.h: New file.
40450 * sysdeps/nios2/nptl/Makefile: New file.
40451 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40452 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40453 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40454 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40455 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40456 * sysdeps/nios2/nptl/tls.h: New file.
40457 * sysdeps/nios2/preconfigure: New file.
40458 * sysdeps/nios2/s_fma.c: New file.
40459 * sysdeps/nios2/s_fmaf.c: New file.
40460 * sysdeps/nios2/setjmp.S: New file.
40461 * sysdeps/nios2/sfp-machine.h: New file.
40462 * sysdeps/nios2/sotruss-lib.c: New file.
40463 * sysdeps/nios2/stackguard-macros.h: New file.
40464 * sysdeps/nios2/stackinfo.h: New file.
40465 * sysdeps/nios2/start.S: New file.
40466 * sysdeps/nios2/sysdep.h: New file.
40467 * sysdeps/nios2/tls-macros.h: New file.
40468 * sysdeps/nios2/tst-audit.h: New file.
40469 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40470 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40471 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40472 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40473 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40474 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40475 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40476 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40477 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40478 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40479 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40480 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40481 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40482 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40483 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40484 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40485 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40486 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40487 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40488 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40489 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40490 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40491 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40492 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40493 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40494 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40495 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40496 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40497 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40498 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40499 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40500 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40501 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40502 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40503 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40504 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40505 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40506 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40507 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40508 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40509 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40510 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40511 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40512 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40513
40514 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40515
40516 [BZ #17844]
40517 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40518 (getutent): Use weak_alias in non SHARED case
40519 and default_symbol_version in SHARED case.
40520 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40521 (getutent_r, pututline): Likewise.
40522 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40523 (getutid): Likewise.
40524 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40525 (getutid_r): Likewise.
40526 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40527 (getutline): Likewise.
40528 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40529 (getutline_r): Likewise.
40530 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40531 (updwtmp): Likewise.
40532
40533 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40534
40535 [BZ #17848]
40536 * sysdeps/s390/s390-32/memcmp.S
40537 (memcmp_g5): Rename to __memcmp_g5.
40538 * sysdeps/s390/s390-32/memcpy.S
40539 (memcpy_g5): Rename to __memcpy_g5.
40540 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40541 (memcpy_mvcle) Rename to __memcpy_mvcle.
40542 * sysdeps/s390/s390-32/memset.S
40543 (memset_g5): Rename to __memset_g5.
40544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40545 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40546 and use prefixed functions.
40547 * sysdeps/s390/s390-32/multiarch/memcmp.S
40548 (memcmp_z196): Rename to __memcmp_z196.
40549 (memcmp_z10): Rename to __memcmp_z10.
40550 (memcmp): Set alias to __memcmp_g5.
40551 (bcmp): Set alias to __memcmp_g5.
40552 * sysdeps/s390/s390-32/multiarch/memcpy.S
40553 (memcpy_z196): Rename to __memcpy_z196.
40554 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40555 (memcpy_z10): Rename to __memcpy_z10.
40556 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40557 (memcpy): Set alias to __memcpy_g5.
40558 * sysdeps/s390/s390-32/multiarch/memset.S
40559 (memset_z196): Rename to __memset_z196.
40560 Jump to __memset_mvcle instead of memset_mvcle.
40561 (memset_z10): Rename to __memset_z10.
40562 Jump to __memset_mvcle instead of memset_mvcle.
40563 (memset_mvcle) Rename to __memset_mvcle.
40564 (memset): Set alias to __memset_g5.
40565 * sysdeps/s390/s390-64/memcmp.S
40566 (memcmp_z900): Rename to __memcmp_z900.
40567 * sysdeps/s390/s390-64/memcpy.S
40568 (memcpy_z900): Rename to __memcpy_z900.
40569 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40570 (memcpy_mvcle) Rename to __memcpy_mvcle.
40571 * sysdeps/s390/s390-64/memset.S
40572 (memset_z900): Rename to __memset_z900.
40573 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40574 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40575 and use prefixed functions.
40576 * sysdeps/s390/s390-64/multiarch/memcmp.S
40577 (memcmp_z196): Rename to __memcmp_z196.
40578 (memcmp_z10): Rename to __memcmp_z10.
40579 (memcmp): Set alias to __memcmp_z900.
40580 (bcmp): Set alias to __memcmp_z900.
40581 * sysdeps/s390/s390-64/multiarch/memcpy.S
40582 (memcpy_z196): Rename to __memcpy_z196.
40583 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40584 (memcpy_z10): Rename to __memcpy_z10.
40585 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40586 (memcpy): Set alias to __memcpy_z900.
40587 * sysdeps/s390/s390-64/multiarch/memset.S
40588 (memset_z196): Rename to __memset_z196.
40589 Jump to __memset_mvcle instead of memset_mvcle.
40590 (memset_z10): Rename to __memset_z10.
40591 Jump to __memset_mvcle instead of memset_mvcle.
40592 (memset_mvcle) Rename to __memset_mvcle.
40593 (memset): Set alias to __memset_z900.
40594
40595 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40596
40597 [BZ #17748]
40598 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40599 __fesetenv instead of fesetenv.
40600
40601 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40602
40603 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40604 macro.
40605
40606 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40607
40608 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40609 regression on LE.
40610
40611 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40612 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40614 strncmp-power8 object.
40615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40616 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40617 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40618 * NEWS: Update.
40619
40620 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40621 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40622
40623 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40624 trailing byte check.
40625
40626 2015-01-13 David S. Miller <davem@davemloft.net>
40627
40628 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40629
40630 2015-01-13 Roland McGrath <roland@hack.frob.com>
40631
40632 * login/logout.c (logout): Use memset rather than bzero.
40633 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40634 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40635 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40636 (_gethtbyaddr): Likewise.
40637 * locale/programs/simple-hash.c (bcopy): Macro removed.
40638
40639 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40640
40641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40642 Add strcmp-power8 object.
40643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40644 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40645 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40646 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40647 __strcmp_power8 implementation.
40648 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40649 * NEWS: Update.
40650
40651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40652 Add strncpy-power8 and stpncpy-power8 objects.
40653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40654 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40655 implementations.
40656 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40657 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40658 __stpncpy_power8 implementation.
40659 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40660 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40661 __strncpy_power8 implementation.
40662 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40663 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40664 * NEWS: Update.
40665
40666 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40667 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40668 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40669
40670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40671 strncat-power8 object.
40672 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40673 __strcat_power8 implementation.
40674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40675 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40676 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40677 optimized strcat for power8.
40678
40679 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40680 strcpy-power8 and stpcpy-power8 objects.
40681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40682 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40683 implementations.
40684 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40685 multiarch stpcpy implementation for POWER8.
40686 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40687 multiarch strcpy implementation for POWER8.
40688 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40689 __strcpy_power8 function.
40690 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40691 stpcpy for POWER8.
40692 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40693 strcpy for POWER8.
40694 * NEWS: Update.
40695
40696 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40697
40698 [BZ #16009]
40699 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40700 weights and rules. Use do_xfrm_cached if data fits in cache,
40701 do_xfrm otherwise. Moved former main loop to...
40702 * (do_xfrm_cached): New function.
40703 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40704 find_idx, find_position and stack_push.
40705 * (find_idx): New function.
40706 * (find_position): Likewise.
40707 * localedata/sort-test.sh: Added test run for do_xfrm.
40708 * localedata/xfrm-test.c (main): Added command line option
40709 -nocache to run the test with strings that are too large for
40710 the STRXFRM cache.
40711
40712 2015-01-13 Torvald Riegel <triegel@redhat.com>
40713
40714 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40715 variable to lll_futex_wake call, not the value itself.
40716
40717 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40718
40719 [BZ #17803]
40720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40721 twom64. Adjust value to 0x1p-64L.
40722 (__scalblnl): Only return standard underflowing result for K <=
40723 -64 not K <= -63; adjust exponent for underflowing result by 64
40724 not 63.
40725 * math/libm-test.inc (scalbn_test_data): Add more tests.
40726 (scalbln_test_data): Likewise.
40727
40728 [BZ #17834]
40729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40730 0x1p63L.
40731 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40732 not HX.
40733 * math/libm-test.inc (scalbn_test_data): Add more tests.
40734 (scalbln_test_data): Likewise.
40735
40736 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40737 Stefani Seibold <stefani@seibold.net>
40738
40739 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40740 (sysdep_routines): Add dl-vdso here, ...
40741 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40742 (sysdep_routines): ... not here.
40743 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40744 fallback when vDSO is not presented.
40745 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40746 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40747 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40748 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40749 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40750 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40751 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40753 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40755 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40756 fallback configurable symbol when vDSO is not available.
40757 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40758 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40759 be able to redefine fallback symbol when vDSO is not available.
40760 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40761 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40762
40763 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40764
40765 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40766 (TLS_INIT_TP): Add tm_capable initialization.
40767 (TLS_DEFINE_INIT_TP): Likewise.
40768 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40769 TCB.
40770 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40771 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40772 calculation.
40773 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40774 transactoion is lock elision is built and TCB tm_capable is set.
40775 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40777 (INTERNAL_SYSCALL_NCS): Likewise.
40778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40779 (INTERNAL_SYSCALL_NCS): Likewise.
40780 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40781
40782 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40783 for powerpc.
40784 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40785 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40786 and remove it for 32 bits case.
40787 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40788 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40789 initialization.
40790 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40791 Disable lock elision with rdlocks if elision is not available.
40792
40793 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40794 (sysdep_routines): Add lock elision objects.
40795 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40796 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40797 [pthread_mutex_t] (__elision): Add field.
40798 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40799 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40800 elision definitions for powerpc.
40801 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40802 implementation of lock elision for powerpc.
40803 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40804 implementation of timed lock elision for powerpc.
40805 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40806 implementation of trylock with lock elision for powerpc.
40807 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40808 implementaion of unlock for lock elision for powerpc.
40809 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40810 automatic enable lock elision for mutexes.
40811 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40812 transaction execution definitions for powerpc.
40813 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40814 definitions.
40815 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40816 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40817 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40818 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40819 * NEWS: Update.
40820
40821 2015-01-09 Roland McGrath <roland@hack.frob.com>
40822
40823 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40824 for #include of <shm-directory.h>.
40825
40826 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40827
40828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40829 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40830
40831 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40832
40833 [BZ #17791]
40834 * NEWS: Mention bug fix.
40835 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40836 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40837 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40838
40839 2015-01-09 Torvald Riegel <triegel@redhat.com>
40840
40841 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40842
40843 2015-01-09 Torvald Riegel <triegel@redhat.com>
40844
40845 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40846
40847 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40848
40849 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40850 pointer and cast to uintptr_t.
40851
40852 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40853
40854 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40855 removed.
40856 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40857
40858 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40859
40860 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40861 of 0.
40862
40863 2015-01-08 Roland McGrath <roland@hack.frob.com>
40864
40865 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40866 <nptl/pthreadP.h> instead.
40867 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40868
40869 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40870 already defined.
40871 [__SIGRTMIN] (init): Function removed.
40872 [__SIGRTMIN] (initialized): Variable removed.
40873 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40874 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40875 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40876 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40877 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40878 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40879 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40880 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40881 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40882 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40883 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40884 * sysdeps/nptl/allocrtsig.c: New file.
40885 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40886 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40887 * sysdeps/generic/testrtsig.h: File removed.
40888
40889 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40890 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40891
40892 * nptl/nptl-init.c (pthread_functions): Conditionalize
40893 .ptr__nptl_setxid initialization on [SIGSETXID].
40894
40895 * sysdeps/nptl/sys/procfs.h: New file.
40896 * nptl_db/Makefile (headers): Add it.
40897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40898
40899 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40900 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40901 * nptl/pthread_attr_setaffinity.c: Include it.
40902 * nptl/pthread_setattr_default_np.c: Likewise.
40903 * nptl/check-cpuset.h: New file.
40904
40905 2015-01-08 Richard Henderson <rth@redhat.com>
40906
40907 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40908 (CFLAGS-tst-execstack-prog.c): Likewise.
40909 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40910
40911 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40912 Sandra Loosemore <sandra@codesourcery.com>
40913 Andrew Jenner <andrew@codesourcery.com>
40914 Joseph Myers <joseph@codesourcery.com>
40915 Nathan Sidwell <nathan@codesourcery.com>
40916
40917 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40918 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40919 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40920 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40921 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40922 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40923 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40924 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40925 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40926 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40927 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40928 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40929 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40930 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40931 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40932 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40933 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40934
40935 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40936
40937 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40938 timespec struct member in syscall macro.
40939 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40940 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40941 first timeval struct member in syscall macro.
40942 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40943
40944 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40945
40946 [BZ #17748]
40947 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40948 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40949 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40950 __feupdateenv and define as weak alias of __feupdateenv. Use
40951 libm_hidden_weak.
40952 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40953 libm_hidden_def.
40954 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40955 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40956 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40957 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40958 libm_hidden_def.
40959 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40960 __feupdateenv and define as weak alias of __feupdateenv. Use
40961 libm_hidden_weak.
40962 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40963 libm_hidden_def.
40964 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40965 __feupdateenv and define as weak alias of __feupdateenv. Use
40966 libm_hidden_weak.
40967 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40968 libm_hidden_def.
40969 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40970 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40971 (__feupdateenv): Likewise.
40972 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40973 __feupdateenv and define as weak alias of __feupdateenv. Use
40974 libm_hidden_weak.
40975 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40976 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40977 libm_hidden_def.
40978 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40979 function.
40980 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40981 libm_hidden_def.
40982 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40983 __feupdateenv instead of feupdateenv.
40984 (default_libc_feupdateenv_test): Likewise.
40985 (libc_feresetround_ctx): Likewise.
40986
40987 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40988
40989 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40990 prototype.
40991
40992 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40993
40994 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40995 COLL_SYM in a couple of places to avoid uninitialized variable
40996 wanings on tilegx gcc 4.8.2.
40997
40998 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40999
41000 * sysdeps/aarch64/strcpy.S: New file.
41001 * sysdeps/aarch64/stpcpy.S: New file.
41002 * NEWS: Updated.
41003
41004 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41005
41006 * sysdeps/aarch64/strrchr.S: New file.
41007 * NEWS: Updated.
41008
41009 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41010
41011 [BZ #17658]
41012 * stdlib/setenv.c: Fix memory leak when setting large,
41013 duplicate string.
41014
41015 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41016
41017 [BZ #17273]
41018 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41019 and tabs from buffer before parsing fstab entry.
41020 * misc/tst-mntent.c (main): Add test for mount entry with
41021 trailing spaces and tabs.
41022
41023 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41024
41025 [BZ #17748]
41026 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41027 * math/fesetround.c (fesetround): Rename to __fesetround and
41028 define as weak alias of __fesetround. Use libm_hidden_weak.
41029 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41030 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41031 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41032 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41033 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41034 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41035 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41036 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41037 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41038 __fesetround_inline.
41039 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41040 __fesetround_inline instead of __fesetround.
41041 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41042 __fesetround and define as weak alias of __fesetround. Use
41043 libm_hidden_weak. Call __fesetround_inline instead of
41044 __fesetround.
41045 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41046 __fesetround and define as weak alias of __fesetround. Use
41047 libm_hidden_weak.
41048 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41049 Likewise.
41050 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41052 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41053 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41054 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41055 __fesetround and define as weak alias of __fesetround. Use
41056 libm_hidden_weak.
41057 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41058 __fesetround instead of fesetround.
41059 (default_libc_feholdexcept_setround): Likewise.
41060 (libc_feholdsetround_ctx): Likewise.
41061 (libc_feholdsetround_noex_ctx): Likewise.
41062
41063 [BZ #17748]
41064 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41065 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41066 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41067 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41068 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41069 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41070 define as weak alias of __fesetenv. Use libm_hidden_weak.
41071 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41072 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41073 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41074 define as weak alias of __fesetenv. Use libm_hidden_weak.
41075 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41076 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41077 define as weak alias of __fesetenv. Use libm_hidden_weak.
41078 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41079 libm_hidden_def.
41080 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41081 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41082 Likewise.
41083 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41084 define as weak alias of __fesetenv. Use libm_hidden_weak.
41085 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41086 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41087 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41088 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41089 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41090 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41091 __fesetenv instead of fesetenv.
41092 (libc_feresetround_noex_ctx): Likewise.
41093 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41094 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41095 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41096 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41097 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41098 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41099 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41100 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41101 (__feupdateenv): Likewise.
41102 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41103 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41104 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41105 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41106
41107 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41108
41109 [BZ #17806]
41110 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41111 addresses have been freed.
41112
41113 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41114
41115 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41116 and nservall.
41117
41118 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
41119
41120 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41121 Clean up check_pf allocation pattern. addresses
41122
41123 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41124
41125 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41126 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41127 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41128 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41129 * nptl/pthread_join.c (pthread_join): Likewise.
41130 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41131 * sysdeps/posix/waitid.c (__waitid): Likewise.
41132 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41133 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41134 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41135 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41137 Likewise.
41138 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41139 (__libc_pread64): Likewise.
41140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41141 (__libc_pwrite): Likewise.
41142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41143 (__libc_pwrite64): Likewsie.
41144 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41145 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41146 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41147 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41148 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41149 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41150 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41152 Likewise.
41153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41154 (__libc_pread64): Likewise.
41155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41156 Likewise.
41157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41158 (__libc_pwrite64): Likewise.
41159 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41160 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41161 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41162 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41163 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41164 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41165 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41166 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41167 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41168 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41169 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41170 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41171 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41172 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41173 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41174 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41175 Likewise.
41176
41177 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41178
41179 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41180 (CFLAGS-test-double.c): Likewise.
41181 (CFLAGS-test-ldouble.c): Likewise.
41182 (CPPFLAGS-test-ifloat.c): Likewise.
41183 (CPPFLAGS-test-idouble.c): Likewise.
41184 (CPPFLAGS-test-ildoubl.c): Likewise.
41185 (CFLAGS-test-test-fenv.c): Remove variable.
41186 (CFLAGS-test-misc.c): Likewise.
41187
41188 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41189
41190 [BZ #17797]
41191 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41192 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41193 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41194 CLOCKS_PER_SEC == 1000000.
41195 * time/clocktest.c (main): Replace %ld with %jd and cast to
41196 intmax_t.
41197
41198 2015-01-05 Roland McGrath <roland@hack.frob.com>
41199
41200 * sysdeps/generic/unwind-resume.h: New file.
41201 * sysdeps/gnu/unwind-resume.c: Include it.
41202 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41203 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41204 argument list.
41205 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41206 global rather than static.
41207 (_Unwind_Resume): Update user.
41208 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41209 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41210 rather than static. Add __attribute__ ((cold)).
41211 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41212 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41213 * sysdeps/arm/arm-unwind-resume.S: New file.
41214 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41215 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41216 * sysdeps/arm/Makefile [$(subdir) = csu]
41217 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41218 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41219 Add rt-arm-unwind-resume.
41220 [$(subdir) = nptl]
41221 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41222 Add pt-arm-unwind-resume.
41223 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41224 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41225
41226 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41227
41228 [BZ #17748]
41229 * include/fenv.h (__feholdexcept): Declare. Use
41230 libm_hidden_proto.
41231 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41232 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41233 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41234 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41235 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41236 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41237 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41238 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41239 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41240 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41241 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41242 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41243 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41244 (feholdexcept): Likewise.
41245 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41246 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41247 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41248 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41249 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41250 __feholdexcept instead of feholdexcept.
41251 (default_libc_feholdexcept_setround): Likewise.
41252
41253 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41254
41255 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41256 to avoid using stl/str to align destination.
41257
41258 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41259
41260 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41261
41262 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41263
41264 [BZ #17796]
41265 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41266 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41267 Define as weak alias not strong alias.
41268
41269 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41270
41271 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41272 bltzal with addiupc.
41273 (RTLD_START): Ditto.
41274
41275 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41276
41277 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41278 for __vdso_* functions in declarations.
41279 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41280 definitions.
41281 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41282 INTERNAL_VSYSCALL): Use struct return types to check for error.
41283
41284 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41285 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41286 function with cast from llround().
41287 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41288 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41289 Define.
41290
41291 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41292
41293 [BZ #17793]
41294 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41295 Define as weak alias not strong alias.
41296
41297 [BZ #17635]
41298 * ctype/ctype-c99.c: New file. isblank implementation moved from
41299 ...
41300 * ctype/ctype-extn.c: ... here.
41301 (__isblank_l): Move to ...
41302 * ctype/ctype-c99_l.c: ... here. New file.
41303 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41304 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41305 Remove variable.
41306 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41307 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41308 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41309 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41310 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41311
41312 [BZ #17777]
41313 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41314 (posix_fadvise64): Define as weak alias not strong alias.
41315 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41316 (posix_fallocate64): Likewise.
41317 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41318 Remove variable.
41319 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41320 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41321 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41322 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41323 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41324
41325 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41326
41327 [BZ #16191]
41328 * NEWS: Mention bug fix.
41329 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41330 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41331 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41332 (HOST_STACK_END_ADDR): Likewise.
41333
41334 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41335
41336 [BZ #17748]
41337 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41338 * math/fegetround.c (fegetround): Rename to __fegetround and
41339 define as weak alias of __fegetround. Use libm_hidden_weak.
41340 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41341 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41342 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41343 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41344 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41345 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41346 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41347 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41348 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41349 Undefine after rather than before function definition; use
41350 parentheses around function name in definition.
41351 (__fegetround): Also undefine macro after function definition.
41352 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41353 __fegetround and define as weak alias of __fegetround. Use
41354 libm_hidden_weak. Do not undefine as macro.
41355 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41356 Likewise.
41357 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41358 __fegetround and define as weak alias of __fegetround. Use
41359 libm_hidden_weak.
41360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41361 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41362 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41363 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41364 __fegetround and define as weak alias of __fegetround. Use
41365 libm_hidden_weak.
41366 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41367 __fegetround instead of fegetround.
41368
41369 [BZ #17782]
41370 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41371 Condition macro definition on [__USE_MISC].
41372
41373 [BZ #17781]
41374 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41375 (struct sigaction): Change type of sa_flags field to int.
41376
41377 [BZ #17780]
41378 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41379 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41380 __glibc_reserved0.
41381
41382 * nptl/version.c (banner): Use single year in copyright notice.
41383
41384 * NEWS: Update copyright dates.
41385 * catgets/gencat.c (print_version): Likewise.
41386 * csu/version.c (banner): Likewise.
41387 * debug/catchsegv.sh: Likewise.
41388 * debug/pcprofiledump.c (print_version): Likewise.
41389 * debug/xtrace.sh (do_version): Likewise.
41390 * elf/ldconfig.c (print_version): Likewise.
41391 * elf/ldd.bash.in: Likewise.
41392 * elf/pldd.c (print_version): Likewise.
41393 * elf/sotruss.sh: Likewise.
41394 * elf/sprof.c (print_version): Likewise.
41395 * iconv/iconv_prog.c (print_version): Likewise.
41396 * iconv/iconvconfig.c (print_version): Likewise.
41397 * locale/programs/locale.c (print_version): Likewise.
41398 * locale/programs/localedef.c (print_version): Likewise.
41399 * login/programs/pt_chown.c (print_version): Likewise.
41400 * malloc/memusage.sh (do_version): Likewise.
41401 * malloc/memusagestat.c (print_version): Likewise.
41402 * malloc/mtrace.pl: Likewise.
41403 * manual/libc.texinfo: Likewise.
41404 * nptl/version.c (banner): Likewise.
41405 * nscd/nscd.c (print_version): Likewise.
41406 * nss/getent.c (print_version): Likewise.
41407 * nss/makedb.c (print_version): Likewise.
41408 * posix/getconf.c (main): Likewise.
41409 * scripts/test-installation.pl: Likewise.
41410 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41411
41412 2015-01-02 Will Newton <will.newton@linaro.org>
41413
41414 * sysdeps/arm/armv7/configure: Removed.
41415 * sysdeps/arm/armv7/configure.ac: Likewise.
41416
41417 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41418
41419 * All files with FSF copyright notices: Update copyright dates
41420 using scripts/update-copyrights.
41421 * intl/plural.c: Regenerated.
41422 * locale/programs/charmap-kw.h: Likewise.
41423 * locale/programs/locfile-kw.h: Likewise.
41424
41425 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41426
41427 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41428
41429 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41430
41431 [BZ #17748]
41432 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41433 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41434 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41435 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41436 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41437 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41438 define as weak alias of __fegetenv. Use libm_hidden_weak.
41439 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41440 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41441 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41442 define as weak alias of __fegetenv. Use libm_hidden_weak.
41443 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41444 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41445 define as weak alias of __fegetenv. Use libm_hidden_weak.
41446 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41447 libm_hidden_def.
41448 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41449 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41450 Likewise.
41451 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41452 define as weak alias of __fegetenv. Use libm_hidden_weak.
41453 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41454 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41455 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41456 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41457 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41458 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41459 __fegetenv instead of fegetenv.
41460 (libc_feholdsetround_noex_ctx): Likewise.
41461
41462 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41463
41464 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41465 (Elf_MIPS_ABIFlags_v0): New structure.
41466 (EF_MIPS_FP64): Define.
41467 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41468 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41469 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41470 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41471 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41472 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41473 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41474 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41475 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41476 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41477 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41478 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41479 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41480 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41481 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41482 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41483 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41484 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41485 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41486 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41487 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41488 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41489 field.
41490 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41491 EF_MIPS_FP64.
41492 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41493 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41494 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41495 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41496 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41497 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41498 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41499 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41500 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41501 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41502 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41503 record the current FP ABI extension.
41504 (mips-mode-switch): Define to show if kernel headers support mode
41505 switching.
41506 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41507 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41508 supported SYSV ABI version to 3.
41509 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41510 feature.
41511
41512 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41513 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41514
41515 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41516 path.
41517 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41518
41519 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41520
41521 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41522 __fegetround and redefine to call __fegetround. Remove condition
41523 on [!__NO_MATH_INLINES].
41524 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41525 function.
41526 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41527 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41528 Remove macro.
41529 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41530 instead of <fenv_libc.h>.
41531 (__llrintl): Call fegetround instead of __fegetround.
41532 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41533 instead of <fenv_libc.h>.
41534 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41535 (__lrintl): Call fegetround instead of __fegetround.
41536 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41537 instead of <fenv_libc.h>.
41538 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41539 (__rintl): Call fegetround instead of __fegetround.
41540
41541 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41542
41543 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41544 arrays.
41545
41546 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41547
41548 [BZ #17775]
41549 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41550 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41551 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41552
41553 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41554
41555 * sysdeps/i386/tls-macros.h: Include <features.h>.
41556 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41557 (TLS_IE): Likewise.
41558 (TLS_LD): Likewise.
41559 (TLS_GD): Likewise.
41560 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41561 define for GCC >= 5.0.
41562
41563 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41564
41565 * math/test-fenv.c (test_single_exception, set_single_exc,
41566 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41567 feexcp_mask_test, feenable_test, fe_single_test): Add
41568 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41569 case where they are not used.
41570 * math/libm-test.inc: Likewise.
41571 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41572 unused in the absence of FP rounding/exception support.
41573 * stdio-common/tst-printf-round.c: Likewise.
41574 * stdlib/tst-strtod-round.c: Likewise.
41575 * stdlib/tst-strtod-underflow.c: Likewise.
41576
41577 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41578
41579 [BZ #17723]
41580 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41581 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41582 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41583 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41584 libm_hidden_weak.
41585 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41586 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41587 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41588 libm_hidden_def.
41589 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41590 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41591 libm_hidden_weak.
41592 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41593 Likewise.
41594 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41595 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41596 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41597 libm_hidden_weak.
41598 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41599 libm_hidden_def.
41600 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41601 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41602 (__feraiseexcept): Likewise.
41603 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41604 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41605 libm_hidden_weak.
41606 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41607 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41608 libm_hidden_def.
41609 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41610 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41611 Use libm_hidden_def.
41612 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41613 libm_hidden_def.
41614 (feraiseexcept): Define as weak not strong alias. Use
41615 libm_hidden_weak.
41616 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41617 New inline function. Factored out of ...
41618 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41619 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41620 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41621 feraiseexcept.
41622 * math/w_acos.c (__acos): Likewise.
41623 * math/w_asin.c (__asin): Likewise.
41624 * math/w_ilogb.c (__ilogb): Likewise.
41625 * math/w_j0.c (y0): Likewise.
41626 * math/w_j1.c (y1): Likewise.
41627 * math/w_jn.c (yn): Likewise.
41628 * math/w_log.c (__log): Likewise.
41629 * math/w_log10.c (__log10): Likewise.
41630 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41631 * sysdeps/aarch64/fpu/math_private.h
41632 (libc_feupdateenv_test_aarch64): Likewise.
41633 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41634 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41635 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41636 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41637 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41638 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41639 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41640 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41641 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41642 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41643
41644 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41645
41646 [BZ #17732]
41647 * io/test-utime.c (main): Replace %ld with %jd and cast to
41648 intmax_t.
41649 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41650 * nptl/tst-mutex5.c: Include <stdint.h>.
41651 (do_test): Replace %ld with %jd and cast to intmax_t.
41652 * posix/tst-regex.c (run_test): Likewise.
41653 (run_test_backwards): Likewise.
41654 * rt/tst-clock.c: Include <stdint.h>.
41655 (clock_test): Replace %ld with %jd and cast to intmax_t.
41656 * rt/tst-cpuclock1.c: Include <stdint.h>.
41657 (do_test): Replace %lu with %ju and cast to uintmax_t.
41658 * rt/tst-cpuclock2.c: Include <stdint.h>.
41659 (do_test): Replace %lu with %ju and cast to uintmax_t.
41660 * rt/tst-mqueue1.c: Include <stdint.h>.
41661 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41662 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41663 intmax_t.
41664 * rt/tst-mqueue4.c (do_test): Likewise.
41665 * rt/tst-timer4.c: Include <stdint.h>.
41666 (check_ts): Replace %ld with %jd and cast to intmax_t.
41667 (do_test): Likewise.
41668 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41669 and cast to intmax_t.
41670 * sysdeps/pthread/tst-timer.c (main): Likewise.
41671 * time/clocktest.c (main): Likewise.
41672 * time/tst-posixtz.c (do_test): Likewise.
41673 * timezone/tst-timezone.c (main): Likewise.
41674
41675 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41676 H.J. Lu <hongjiu.lu@intel.com>
41677
41678 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41679 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41680 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41681 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41682 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41683 version if bit_Fast_Unaligned_Load is set.
41684 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41685 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41686 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41687 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41688 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41689 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41691 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41692 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41693 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41694 to 4.
41695 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41696 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41697 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41698 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41699
41700 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41701
41702 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41703 instead of #if to avoid a Wundef warning.
41704 * stdlib/tst-limits.c (do_test): Likewise.
41705
41706 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41707 parallel other exception macros.
41708 (fegetenv): Convert from macro to extern inline so that it applies
41709 retroactively to inline functions already seen by the compiler.
41710 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41711
41712 * posix/Makefile (before-compile): Use $(objpfx) for
41713 posix-conf-vars-def.h.
41714
41715 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41716
41717 * posix/getconf.c (main): Use size_t for type of I.
41718 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41719 NSPEC.
41720
41721 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41722 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41723 * posix/posix-envs.def: Likewise.
41724 * sysdeps/posix/sysconf.c: Likewise.
41725 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41726 (specs): Remove array.
41727 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41728 array.
41729
41730 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41731 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41732 (__sysconf): Use CONF_IS_* macros.
41733
41734 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41735 ($(objpfx)posix-conf-vars-def.h): New target.
41736 * posix/posix-conf-vars.list: New file.
41737 * posix/posix-conf-vars.h: New file.
41738 * posix/confstr.c: Include posix-conf-vars.h.
41739 (confstr): Use CONF_IS_* macros.
41740 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41741 CONF_IS_* macros.
41742 * scripts/gen-posix-conf-vars.awk: New file.
41743
41744 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41745
41746 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41747 fegetround): Add no-op macros to avoid linknamespace issues.
41748
41749 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41750 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41751
41752 * sysdeps/unix/sysv/linux/tile/sysdep.h
41753 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41754 assembly-specific section to avoid a redefinition warning.
41755
41756 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41757 long before casting to pointer to avoid a cast warning.
41758
41759 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41760
41761 * sysdeps/tile/tilegx/Implies: New file.
41762
41763 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41764
41765 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41766
41767 2014-12-23 Florian Weimer <fweimer@redhat.com>
41768
41769 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41770
41771 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41772
41773 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41774 not define.
41775 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41776 <kernel-features.h>.
41777 (__utimes) [__NR_utimes]: Make code unconditional.
41778 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41780 (__ASSUME_UTIMES): Do not undefine.
41781 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41782 (__ASSUME_UTIMES): Likewise.
41783 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41784 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41785 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41786 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41787
41788 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41789
41790 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41791
41792 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41793
41794 [BZ #17747]
41795 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41796 alias to weak alias for j0l, y0l.
41797 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41798 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41799
41800 [BZ #17746]
41801 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41802 conversion.
41803
41804 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41805
41806 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41807 to zero if not already defined.
41808
41809 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41810
41811 [BZ #17724]
41812 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41813 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41814 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41815 (char *) casts added.
41816 * sysdeps/ieee754/k_standardf.c: New file.
41817 * sysdeps/ieee754/k_standardl.c: Likewise.
41818 * math/Makefile (libm-support): Remove k_standard.
41819 (libm-calls): Add k_standard.
41820
41821 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41822
41823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41824 Optimize to avoid an unnecessary FPCR read.
41825
41826 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41827
41828 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41829 Optimize to reduce FPCR/FPSR accesses.
41830
41831 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41832
41833 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41834 Call libc_fetestexcept_aarch64.
41835
41836 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41837
41838 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41839 Call libc_fesetround_aarch64.
41840
41841 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41842
41843 [BZ #17733]
41844 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41845 (__bind): Do not define as weak alias.
41846 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41847 define.
41848 (__getsockname): Do not define as weak alias.
41849
41850 2014-12-22 Will Newton <will.newton@linaro.org>
41851
41852 * manual/install.texi: Document that we require bison 2.7
41853 or above.
41854 * INSTALL: Regenerate.
41855 * configure.ac: Use AC_CHECK_PROG_VER instead of
41856 AC_PATH_PROG when checking for bison and check for
41857 version 2.7 or above.
41858 * configure: Regenerate.
41859
41860 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41861
41862 [BZ #17745]
41863 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41864 * sysdeps/tile/ffsll.c (ffsll): To here.
41865
41866 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41867
41868 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41869
41870 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41871 if not defined.
41872 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41873 definition.
41874 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41875 hidden ___tls_get_addr.
41876 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41877 hidden __tls_get_addr.
41878 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41879 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41880 Likewise.
41881
41882 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41883
41884 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41885 _dl_init call.
41886
41887 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41888
41889 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41890 from "call _dl_init@PLT".
41891 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41892
41893 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41894
41895 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41896 guarantees.
41897
41898 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41899
41900 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41901
41902 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41903
41904 [BZ #17744]
41905 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41906 strnlen.
41907
41908 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41909
41910 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41911 of multu on MIPSr6.
41912 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41913 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41914 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41915 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41916 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41917
41918 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41919
41920 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41921 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41922 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41923 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41924 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41925 mips32r6/mips64r6.
41926 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41927
41928 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41929
41930 * string/strncat.c (STRNCAT): Simplify implementation.
41931
41932 2014-12-19 David S. Miller <davem@davemloft.net>
41933
41934 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41935 access the quad as both a long double and as a series of 4 words.
41936
41937 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41938 link_map->l_info array access.
41939
41940 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41941
41942 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41943
41944 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41945 * math/atest-exp2.c (TIMEOUT): Likewise.
41946 * math/atest-sincos.c (TIMEOUT): Likewise.
41947
41948 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41949
41950 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41951 -Wno-error with -fno-builtin-lround.
41952
41953 2014-12-19 Torvald Riegel <triegel@redhat.com>
41954
41955 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41956 Contains futex constants and functions moved over from ...
41957 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41958 <lowlevellock-futex.h>.
41959 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41960 (lll_timedwait_tid): Add comments and parentheses around macro
41961 arguments.
41962
41963 2014-12-19 Torvald Riegel <triegel@redhat.com>
41964
41965 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41966 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41967 (__lll_private_flag): Remove.
41968 (lll_futex_wait): Likewise.
41969 (lll_futex_timed_wait): Likewise.
41970 (lll_futex_wake): Likewise.
41971 (lll_futex_requeue): Likewise.
41972 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41973 (__lll_timedwait_tid): Spell out argument names.
41974 (lll_timedwait_tid): Add comments and parentheses around macro
41975 arguments.
41976 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41977 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41978
41979 2014-12-19 Torvald Riegel <triegel@redhat.com>
41980
41981 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41982 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41983 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41984 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41985 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41986 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41987 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41988 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41989 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41990 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41991 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41992 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41993 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41994 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41995 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41996 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41997 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41998 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41999 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42000
42001 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42002
42003 * sysdeps/x86_64/x32/Makefile: New file.
42004
42005 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42006
42007 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42008 1L with (mp_limb_t) 1.
42009
42010 2014-12-17 Roland McGrath <roland@hack.frob.com>
42011
42012 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42013 * nptl/libc_pthread_init.c: ... here.
42014 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42015 * nptl/register-atfork.c: ... here.
42016
42017 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42018 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42019 Use assert_perror to check its return value.
42020 (__gai_create_helper_thread): Likewise.
42021
42022 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42023
42024 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42025
42026 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42027
42028 [BZ #17725]
42029 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42030 __profil_counter.
42031 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42032 Likewise.
42033 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42034 Likewise.
42035 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42036 Likewise.
42037 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42038 (profil_counter): Likewise.
42039 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42040 (profil_counter): Likewise.
42041 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42042 Likewise.
42043 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42044 Likewise.
42045 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42046 (profil_counter): Likewise.
42047 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42048 Likewise.
42049 [!__profil_counter] (profil_counter): Define as weak alias of
42050 __profil_counter.
42051 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42052 (profil_counter): Rename to __profil_counter.
42053 [!__profil_counter] (profil_counter): Define as weak alias of
42054 __profil_counter.
42055 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42056 (profil_counter): Rename to __profil_counter.
42057 [!__profil_counter] (profil_counter): Define as weak alias of
42058 __profil_counter.
42059 * sysdeps/posix/profil.c: Update comment referring to
42060 profil_counter.
42061 (__profil): Use __profil_counter instead of profil_counter.
42062 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42063 __profil_counter. Use __profil_counter_ushort and
42064 __profil_counter_uint in definitions.
42065 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42066 instead of profil_counter_uint and profil_counter_ushort.
42067
42068 [BZ #17722]
42069 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42070 define as weak alias of __inet_makeaddr.
42071 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42072 as weak alias of __inet_addr.
42073 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42074 as weak alias of __inet_pton. Use libc_hidden_weak.
42075 * include/arpa/inet.h (__inet_pton): Declare. Use
42076 libc_hidden_proto.
42077 (inet_makeaddr): Don't use libc_hidden_proto.
42078 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42079 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42080 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42081 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42082 Remove variable.
42083 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42084 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42085
42086 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42087
42088 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42089
42090 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42091
42092 * stdio-common/bug-vfprintf-nargs.c (do_test):
42093 Cast value to intptr_t to avoid format warning
42094 for usage with PRIdPTR printing macro.
42095
42096 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42097
42098 * libio/tst-widetext.c (do_test):
42099 Use format type %td instead of %Zd for ptrdiff_t
42100 in order to avoid format warning.
42101
42102 2014-12-17 Andreas Schwab <schwab@suse.de>
42103
42104 * nscd/mem.c (gc): Add size_t cast to match printf format.
42105
42106 2014-12-16 Roland McGrath <roland@hack.frob.com>
42107
42108 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42109 (init): Apply PTR_MANGLE to pointers before storing them.
42110 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42111 before using them.
42112
42113 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42114
42115 [BZ #17719]
42116 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42117 define as weak alias of __memrchr.
42118 (__memrchr): Do not define as strong alias of memrchr.
42119 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42120 Remove variable.
42121 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42122 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42123 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42124
42125 [BZ #17717]
42126 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42127 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42128 (if_indextoname): Rename to __if_indextoname and define as weak
42129 alias of __if_indextoname. Use libc_hidden_weak.
42130 (if_freenameindex): Rename to __if_freenameindex and define as
42131 weak alias of __if_freenameindex.
42132 (if_nameindex): Rename to __if_nameindex and define as weak alias
42133 of __if_nameindex.
42134 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42135 __if_nametoindex and define as weak alias of __if_nametoindex.
42136 Use libc_hidden_weak.
42137 (if_freenameindex): Rename to __if_freenameindex and define as
42138 weak alias of __if_freenameindex.
42139 (if_nameindex): Rename to __if_nameindex and define as weak alias
42140 of __if_nameindex.
42141 (if_indextoname): Rename to __if_indextoname and define as weak
42142 alias of __if_indextoname. Use libc_hidden_weak.
42143 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42144 __if_nametoindex and define as weak alias of __if_nametoindex.
42145 Use libc_hidden_weak.
42146 (if_freenameindex): Rename to __if_freenameindex and define as
42147 weak alias of __if_freenameindex. Use libc_hidden_weak.
42148 (if_nameindex_netlink): Use __if_freenameindex instead of
42149 if_freenameindex.
42150 (if_nameindex): Rename to __if_nameindex and define as weak alias
42151 of __if_nameindex. Use libc_hidden_weak.
42152 (if_indextoname): Rename to __if_indextoname and define as weak
42153 alias of __if_indextoname. Use libc_hidden_weak.
42154 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42155 libc_hidden_proto.
42156 [!_ISOMAC] (__if_freenameindex): Likewise.
42157 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42158 if_nametoindex.
42159 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42160 variable.
42161 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42162 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42163 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42164 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42165 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42166 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42167 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42168
42169 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42170 Remove variable.
42171 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42172 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42173
42174 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42175
42176 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42177 subscript above bounds'
42178
42179 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42180 bounds.
42181
42182 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42183
42184 * libio/tst-fopenloc.c: Use test-skeleton.c.
42185
42186 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42187 (entry): Rename to ITEM.
42188 (do_test, comp): Adjust.
42189
42190 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42191
42192 2014-12-16 Torvald Riegel <triegel@redhat.com>
42193
42194 * string/tester.c: Include <libc-internal.h>.
42195 (test_memset): Ignore -Wmemset-transposed-args.
42196
42197 2014-12-16 Torvald Riegel <triegel@redhat.com>
42198
42199 * misc/tst-mntent2.c (do_test): Fix warning.
42200
42201 2014-12-16 Torvald Riegel <triegel@redhat.com>
42202
42203 * elf/tst-unique4lib.cc(a): Mark as used.
42204
42205 2014-12-16 Florian Weimer <fweimer@redhat.com>
42206
42207 [BZ #17630]
42208 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42209 names.
42210
42211 2014-12-16 Allan McRae <allan@archlinux.org>
42212
42213 * stdio-common/Makefile (tests): Re-add bug26.
42214
42215 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42216
42217 [BZ #17657]
42218 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42219 static array.
42220
42221 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42222
42223 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42224 (__lll_lock_wait): Likewise.
42225 (__lll_timedlock_wait): Likewise.
42226 (__lll_timedwait_tid): Likewise.
42227 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42228 (__lll_robust_timedlock_wait): Likewise.
42229 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42230 (lll_cond_trylock): Likewise.
42231 (__lll_lock): Likewise.
42232 (__lll_robust_lock): Likewise.
42233 (__lll_cond_lock): Likewise.
42234 (lll_robust_cond_lock): Likewise.
42235 (__lll_timedlock): Likewise.
42236 (__lll_robust_timedlock): Likewise.
42237 (__lll_unlock): Likewise.
42238 (__lll_robust_unlock): Likewise.
42239 (lll_wait_tid): Likewise.
42240 (lll_timedwait_tid): Likewise.
42241
42242 2014-12-15 Torvald Riegel <triegel@redhat.com>
42243
42244 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42245
42246 2014-12-15 Torvald Riegel <triegel@redhat.com>
42247
42248 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42249
42250 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42251
42252 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42253 * stdio-common/tst-sprintf.c: Likewise.
42254
42255 2014-12-15 Torvald Riegel <triegel@redhat.com>
42256
42257 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42258
42259 2014-12-15 Jeff Law <law@redhat.com>
42260
42261 [BZ #16617]
42262 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42263 on the heap. (CVE-2012-3406)
42264 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42265 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42266 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42267
42268 2014-12-15 Will Newton <will.newton@linaro.org>
42269
42270 * manual/install.texi: Bump required version of texinfo
42271 to 4.7 from 4.5.
42272 * INSTALL: Regenerated.
42273 * configure.ac: Check for makeinfo version 4.7 and above.
42274 * configure: Regenerated.
42275
42276 2014-12-12 Roland McGrath <roland@hack.frob.com>
42277
42278 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42279 PREFIX, string constant to insert between directory and name.
42280 * sysdeps/posix/shm_open.c: Update caller.
42281 * sysdeps/posix/shm_unlink.c: Likewise.
42282 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42283 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42284 (SEM_SHM_PREFIX): New macro.
42285 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42286 [$(have-thread-library) = no].
42287 * nptl/Makefile (libpthread-routines): Add shm-directory.
42288 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42289 * sysdeps/nptl/shm-directory.h: New file.
42290 * sysdeps/posix/shm-directory.c
42291 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42292 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42293 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42294 INTERNAL_SYSCALL.
42295 (__where_is_shmfs): Function removed.
42296 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42297 Variables removed.
42298 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42299 Use SHM_GET_NAME.
42300 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42301
42302 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42303 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42304 unconditional for use inside libpthread.
42305 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42306
42307 2014-12-12 Roland McGrath <roland@hack.frob.com>
42308
42309 * nptl/pthread_getaffinity.c: New file.
42310 * nptl/pthread_setaffinity.c: New file.
42311 * nptl/pthread_getname.c: New file.
42312 * nptl/pthread_setname.c: New file.
42313
42314 * nptl/pthread_create.c (START_THREAD_DEFN)
42315 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42316
42317 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42318 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42319
42320 * resolv/res_send.c (send_vc): Disable warning resplen may
42321 be used uninitialized.
42322
42323 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42324
42325 * nptl/tst-mutex6.c
42326 (ATTR_NULL): New define checks ATTR against NULL.
42327 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42328 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42329
42330 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42331
42332 [BZ #17581]
42333 * malloc/hooks.c
42334 (mem2mem_check): Revert my previous change.
42335 (malloc_check_get_size): Revert my previous change.
42336 (mem2chunk_check): Revert my previous change.
42337
42338 2014-12-11 Roland McGrath <roland@hack.frob.com>
42339
42340 * sysdeps/posix/shm-directory.c: New file.
42341 * sysdeps/posix/shm-directory.h: New file.
42342 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42343 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42344 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42345 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42346 Transmute EPERM to EACCES.
42347 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42348 from ...
42349 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42350 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42351
42352 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42353
42354 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42355 pointer and cast to uintptr_t.
42356 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42357 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42358 Add cast to avoid warning.
42359 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42360
42361 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42362
42363 * nptl/semaphore.h: Move to ...
42364 * sysdeps/pthread/semaphore.h: ... here.
42365 * Makefile (installed-headers): Change nptl/semaphore.h to
42366 sysdeps/pthread/semaphore.h.
42367
42368 2014-12-11 Roland McGrath <roland@hack.frob.com>
42369
42370 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42371 generated error format strings.
42372
42373 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42374 -Wformat-extra-args warnings for scanf formats.
42375 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42376 test of zero-length format (duh).
42377 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42378 corner-case scanf format test.
42379 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42380 generated fprintf format string.
42381 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42382 corner-case sprintf format tests.
42383 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42384 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42385 -Wformat-extra-args warnings throughout.
42386 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42387 (CFLAGS-scanf4.c): Likewise.
42388 (CFLAGS-scanf7.c): Likewise.
42389 (CFLAGS-tst-sprintf.c): Likewise.
42390 (CFLAGS-tst-printf.c): Likewise.
42391 (CFLAGS-tst-printfsz.c): Likewise.
42392
42393 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42394
42395 * include/cpio.h: New file.
42396 * include/fmtmsg.h: Likewise.
42397
42398 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42399 corresponding format argument to size_t.
42400 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42401 arguments.
42402 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42403 corresponding format argument to size_t.
42404 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42405 arguments.
42406 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42407 corresponding format argument to size_t.
42408 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42409 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42410 (CFLAGS-tst-mbswcs2.c): Likewise.
42411 (CFLAGS-tst-mbswcs3.c): Likewise.
42412 (CFLAGS-tst-mbswcs4.c): Likewise.
42413 (CFLAGS-tst-mbswcs5.c): Likewise.
42414 (CFLAGS-tst-trans.c): Likewise.
42415
42416 2014-12-11 Roland McGrath <roland@hack.frob.com>
42417
42418 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42419 rather than assuming they won't contain any '%'s.
42420
42421 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42422
42423 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42424 inhibit_loop_to_libcall to avoid recursive calls.
42425 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42426 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42427
42428 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42429
42430 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42431 prototype.
42432
42433 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42434
42435 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42436 integer value instead of boolean.
42437
42438 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42439
42440 * malloc/malloc.c: Fix powerof2 check.
42441
42442 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42443
42444 * locale/programs/locfile.h (maybe_swap_uint32):
42445 Remove inline and add unused attribute.
42446
42447 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42448
42449 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42450 Truncating assembler expression to a .long expression.
42451
42452 2014-12-11 Andreas Schwab <schwab@suse.de>
42453
42454 * elf/rtld.c (struct map_args): Constify str member.
42455 (do_preload): Constify fname argument.
42456
42457 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42458
42459 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42460 constants definition.
42461
42462 2014-12-11 Andreas Schwab <schwab@suse.de>
42463
42464 [BZ #16657]
42465 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42466 FORCE_ELISION instead of DO_ELISION.
42467 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42468 Remove.
42469 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42470 Likewise.
42471
42472 * iconvdata/gconv-modules: Remove duplicate entry.
42473
42474 2014-12-11 Will Newton <will.newton@linaro.org>
42475
42476 Merge gettext 0.19.3 into intl/.
42477
42478 This involves a number of cosmetic changes to comments
42479 and ANSI function definitions and prototypes throughout
42480 all the files. The gettext copyright header is used but
42481 with the date ranges taken from the glibc copy.
42482
42483 * NEWS: Add gettext merge to 2.21.
42484 * intl/bindtextdom.c: Switch to gettext copyright.
42485 Use ANSI definitions and prototypes.
42486 Use gl_* locking primitives rather than __libc_* ones.
42487 Use __builtin_expect rather than __glibc_likely/unlikely.
42488 * intl/dcgettext.c: Switch to gettext copyright.
42489 Use ANSI definitions and prototypes.
42490 * intl/dcigettext.c: Switch to gettext copyright.
42491 Use ANSI definitions and prototypes.
42492 (INTDIV0_RAISES_SIGFPE): New define.
42493 Use gl_* locking primitives rather than __libc_* ones.
42494 Include eval-plural.h instead of plural-eval.c.
42495 Use __builtin_expect rather than __glibc_likely/unlikely.
42496 * intl/dcngettext.c: Switch to gettext copyright.
42497 Use ANSI definitions and prototypes.
42498 * intl/dgettext.c: Likewise.
42499 * intl/dngettext.c: Likewise.
42500 * intl/plural-eval.c: Renamed to...
42501 * intl/eval-plural.h: ...this.
42502 * intl/explodename.c: Switch to gettext copyright.
42503 Use ANSI definitions and prototypes.
42504 (_nl_explode_name): Use strchr instead of __rawmemchr.
42505 * intl/finddomain.c: Switch to gettext copyright.
42506 Use ANSI definitions and prototypes.
42507 Use gl_* locking primitives rather than __libc_* ones.
42508 (_nl_find_domain): Use malloc rather than alloca for
42509 allocation of temporary locale name.
42510 * intl/gettext.c: Switch to gettext copyright.
42511 Use ANSI definitions and prototypes.
42512 * intl/gettextP.h: Switch to gettext copyright.
42513 Use ANSI definitions and prototypes.
42514 Use gl_* locking primitives rather than __libc_* ones.
42515 * intl/gmo.h: Switch to gettext copyright.
42516 (struct sysdep_string): Move struct segment_pair outside of
42517 struct definition.
42518 * intl/hash-string.c: Use ANSI definitions and prototypes.
42519 * intl/hash-string.h: Switch to gettext copyright.
42520 Use ANSI definitions and prototypes.
42521 * intl/l10nflist.c: Switch to gettext copyright.
42522 Use ANSI definitions and prototypes.
42523 (_nl_normalize_codeset): Avoid integer overflow.
42524 * intl/loadinfo.h: Switch to gettext copyright.
42525 Use ANSI definitions and prototypes.
42526 (LIBINTL_DLL_EXPORTED): New define.
42527 (PATH_SEPARATOR): New define.
42528 * intl/loadmsgcat.c: Switch to gettext copyright.
42529 * intl/localealias.c: Switch to gettext copyright.
42530 Use ANSI definitions and prototypes.
42531 (_nl_expand_alias): Use PATH_SEPARATOR.
42532 * intl/ngettext.c: Switch to gettext copyright.
42533 Use ANSI definitions and prototypes.
42534 * intl/plural-exp.c: Likewise.
42535 * intl/plural-exp.h: Switch to gettext copyright.
42536 Use ANSI definitions and prototypes.
42537 (struct expression): Move definition of enum operator outside
42538 of struct definition.
42539 * intl/plural.c: Regenerate.
42540 * intl/plural.y: Switch to gettext copyright.
42541 Use ANSI definitions and prototypes.
42542 Port to bison 3.0.
42543 * intl/textdomain.c: Switch to gettext copyright.
42544 Use ANSI definitions and prototypes.
42545 Use gl_* locking primitives rather than __libc_* ones.
42546
42547 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42548
42549 * debug/warning-nop.c: Add used atrribute.
42550
42551 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42552
42553 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42554
42555 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42556 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42557 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42558
42559 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42560 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42561
42562 [BZ #17634]
42563 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42564 Undefine after defining function. Define as weak alias of
42565 __wcschr. Use libc_hidden_weak.
42566 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42567 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42568 (libc_hidden_def): Also define __GI___wcschr alias.
42569 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42570 __wcschr and define as weak alias of __wcschr.
42571 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42572 __wcschr.
42573 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42574 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42575 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42576 libc_hidden_weak. Do not use libc_hidden_def.
42577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42578 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42579 __GI___wcschr alias.
42580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42581 [IS_IN (libc)] (wcschr): Define as macro expanding to
42582 __redirect_wcschr.
42583 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42584 [IS_IN (libc)] (__wcschr_power6): Likewise.
42585 [IS_IN (libc)] (__wcschr_power7): Likewise.
42586 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42587 instead of wcschr.
42588 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42589 __libc_wcschr.
42590 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42591 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42592 __wcschr and define as weak alias of __wcschr. Use
42593 libc_hidden_builtin_def.
42594 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42595 as weak alias of __wcschr. Use libc_hidden_weak.
42596 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42597 wcschr.
42598 * time/era.c (_nl_init_era_entries): Likewise.
42599 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42600 variable.
42601 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42602 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42603
42604 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42605
42606 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42607 format for long int variable.
42608
42609 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42610
42611 [BZ #10672]
42612 * manual/search.texi: (Array Sort Function): Remove claim how to make
42613 qsort stable.
42614
42615 2014-12-10 Andreas Schwab <schwab@suse.de>
42616
42617 [BZ #12847]
42618 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42619 user-controlled locks.
42620
42621 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42622
42623 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42624 register.
42625
42626 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42627
42628 * configure.ac (--disable-werror): New configure option.
42629 (enable_werror): New AC_SUBST.
42630 * configure: Regenerated.
42631 * config.make.in (enable-werror): New variable.
42632 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42633 -Wno-error=undef.
42634 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42635 * manual/install.texi (Configuring and compiling): Document
42636 --disable-werror.
42637 * INSTALL: Regenerated.
42638 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42639 (CFLAGS-tst-chk2.c): Likewise.
42640 (CFLAGS-tst-chk3.c): Likewise.
42641 (CFLAGS-tst-chk4.cc): Likewise.
42642 (CFLAGS-tst-chk5.cc): Likewise.
42643 (CFLAGS-tst-chk6.cc): Likewise.
42644 (CFLAGS-tst-lfschk1.c): Likewise.
42645 (CFLAGS-tst-lfschk2.c): Likewise.
42646 (CFLAGS-tst-lfschk3.c): Likewise.
42647 (CFLAGS-tst-lfschk4.cc): Likewise.
42648 (CFLAGS-tst-lfschk5.cc): Likewise.
42649 (CFLAGS-tst-lfschk6.cc): Likewise.
42650
42651 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42652 (main): Disable -Wdeprecated-declarations around calls to
42653 register_printf_function.
42654
42655 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42656 (do_test): Disable -Wdiv-by-zero around some calls to
42657 fwrite_unlocked and fread_unlocked.
42658
42659 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42660 (DIAG_POP_NEEDS_COMMENT): Likewise.
42661 (_DIAG_STR1): Likewise.
42662 (_DIAG_STR): Likewise.
42663 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42664 * stdio-common/bug21.c: Include <libc-internal.h>.
42665 (do_test): Disable -Wformat around call to sscanf.
42666 * stdio-common/scanf14.c: Include <libc-internal.h>.
42667 (main): Disable -Wformat around some calls to scanf functions.
42668
42669 2014-12-09 Torvald Riegel <triegel@redhat.com>
42670
42671 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42672
42673 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42674
42675 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42676 stack variable alignment.
42677
42678 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42679
42680 [BZ #17682]
42681 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42682 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42683 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42684 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42685 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42686 __getrlimit instead of getrlimit.
42687 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42688 __gettimeofday instead of gettimeofday.
42689 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42690 Likewise.
42691 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42692 Likewise.
42693 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42694 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42695 Remove variable.
42696 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42697 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42698
42699 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42700
42701 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42702 for wide-character tests.
42703
42704 2014-12-04 Roland McGrath <roland@hack.frob.com>
42705
42706 * io/openat64.c: #include <libc-internal.h>
42707 (__openat64): Prototypify. Use ignore_value on MODE.
42708 * io/openat.c: Likewise.
42709 * misc/reboot.c: #include <libc-internal.h>
42710 (reboot): Prototypify. Use ignore_value on HOWTO.
42711 * misc/ptrace.c: #include <libc-internal.h>
42712 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42713
42714 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42715
42716 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42717 XPG4, UNIX98 and XOPEN2K.
42718 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42719 Remove variable.
42720 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42721
42722 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42723
42724 * libio/fileops.c: Use ISO C style for function definitions.
42725 * libio/iofopen.c: Likewise.
42726 * libio/wfileops.c: Likewise.
42727
42728 [BZ #17653]
42729 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42730 offset on EOF.
42731 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42732 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42733 (fgets_func): Function pointer to fgets and fgetws.
42734 (do_ftell_test): Add test to verify ftell value after read
42735 EOF.
42736 (do_test): Set fgets_func.
42737
42738 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42739 O_TRUNC flag for w and w+ modes.
42740 (do_rewind_test): Likewise.
42741 (do_ftell_test): Likewise.
42742 (do_write_test): Likewise.
42743
42744 [BZ #17647]
42745 * libio/fileops.c (do_ftell): Seek only when there are
42746 unflushed writes.
42747 * libio/wfileops.c (do_ftell_wide): Likewise.
42748 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42749 test case.
42750 (do_one_test): Call it.
42751
42752 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42753
42754 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42755 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42756 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42757 Remove variable.
42758 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42759 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42760 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42761
42762 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42763
42764 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42765 Remove variable.
42766 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42767
42768 [BZ #17668]
42769 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42770 as weak alias of __getifaddrs. Use libc_hidden_weak.
42771 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42772 __freeifaddrs. Use libc_hidden_weak.
42773 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42774 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42775 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42776 __freeifaddrs. Use libc_hidden_weak.
42777 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42778 __getifaddrs and define as weak alias of __getifaddrs. Use
42779 libc_hidden_weak.
42780 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42781 __freeifaddrs. Use libc_hidden_weak.
42782 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42783 Remove variable.
42784 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42785 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42786
42787 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42788
42789 [BZ #17601]
42790 * sysdeps/mips/start.S (__start): Use indirect jump to call
42791 __libc_start_main.
42792
42793 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42794
42795 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42796
42797 * nptl/tst-mutex1.c: Include <stdbool.h>.
42798 [!ATTR] (ATTR_NULL): New macro.
42799 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42800 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42801 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42802
42803 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42804 to char *.
42805
42806 [BZ #17665]
42807 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42808 Change conditional to [__USE_MISC].
42809
42810 [BZ #17664]
42811 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42812 fgets_unlocked.
42813 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42814 __fgets_unlocked.
42815 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42816 fgets_unlocked.
42817 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42818 Remove variable.
42819 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42820 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42821 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42822 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42823 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42824 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42825 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42826 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42827 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42828
42829 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42830
42831 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42832
42833 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42834 Remove strpbrk objects.
42835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42836 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42837 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42838 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42839 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42840 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42841
42842 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42843 Remove strcspn objects.
42844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42845 (__libc_ifunc_impl_list): Remove strcspn implementation.
42846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42847 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42848 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42849 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42850
42851 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42852 Remove strspn objetcs.
42853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42854 (__libc_ifunc_impl_list): Remove strspn implementation.
42855 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42856 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42857 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42858 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42859
42860 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42861
42862 [BZ #17581]
42863 * malloc/hooks.c
42864 (mem2mem_check): Add a terminator to the chain of checking blocks.
42865 (malloc_check_get_size): Use it here.
42866 (mem2chunk_check): Ditto.
42867
42868 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42869
42870 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42871 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42872
42873 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42874
42875 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42876
42877 * nptl/nptl-init.c: Include libc-internal.h.
42878 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42879
42880 * elf/ldconfig.c (search_dir): Expand comment.
42881
42882 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42883
42884 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42885 variable.
42886 (linknamespace-symlist-stdlibs-tests): Likewise.
42887 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42888 instead of $(objpfx)symlist-stdlibs.
42889 (linknamespace-libs-isoc): New variable.
42890 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42891 (linknamespace-libs-ISO): New variable.
42892 (linknamespace-libs-ISO99): Likewise.
42893 (linknamespace-libs-ISO11): Likewise.
42894 (linknamespace-libs-XPG3): Likewise.
42895 (linknamespace-libs-XPG4): Likewise.
42896 (linknamespace-libs-POSIX): Likewise.
42897 (linknamespace-libs-UNIX98): Likewise.
42898 (linknamespace-libs-XOPEN2K): Likewise.
42899 (linknamespace-libs-POSIX2008): Likewise.
42900 (linknamespace-libs-XOPEN2K8): Likewise.
42901 ($(objpfx)symlist-stdlibs): Replace by
42902 $(linknamespace-symlist-stdlibs-tests). Use
42903 $(linknamespace-libs-$*) as set of libraries.
42904 ($(linknamespace-header-tests)): Update dependencies. Use
42905 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42906 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42907 * conform/linknamespace.pl: Remove comment about considering
42908 definitions of symbols from irrelevant libraries.
42909
42910 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42911
42912 [BZ #13862]
42913 * elf/dl-tls.c: Include <atomic.h>.
42914 (oom): Remove #ifdef SHARED/#endif.
42915 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42916 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42917 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42918 big enough.
42919 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42920 * nptl/Makefile (tests): Add tst-stack4.
42921 (modules-names): Add tst-stack4mod.
42922 ($(objpfx)tst-stack4): New.
42923 (tst-stack4mod.sos): Likewise.
42924 ($(objpfx)tst-stack4.out): Likewise.
42925 ($(tst-stack4mod.sos)): Likewise.
42926 (clean): Likewise.
42927 * nptl/tst-stack4.c: New file.
42928 * nptl/tst-stack4mod.c: Likewise.
42929
42930 2014-11-27 J. Brown <jb999@gmx.de>
42931
42932 * sysdeps/x86/bits/string.h: Add recent CPUs.
42933
42934 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42935
42936 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42937 sigblock.
42938
42939 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42940 feof.
42941
42942 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42943 variable.
42944
42945 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42946
42947 * nscd/connections.c: Include libc-internal.h because of macro
42948 usage ignore_value.
42949
42950 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42951
42952 * string/bits/string3.h (__warn_memset_zero_len): Don't
42953 declare for gcc newer than 5.0.
42954 (memset): Don't test for zero-length __LEN for gcc newer than
42955 5.0.
42956
42957 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42958
42959 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42960 size_t for %zu format.
42961
42962 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42963 difference, not %ju.
42964
42965 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42966
42967 * include/libc-internal.h (ignore_value): New macro.
42968 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42969 with ignore_value.
42970
42971 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42972 definition.
42973
42974 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42975 pthread_cleanup_push to void *.
42976
42977 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42978 Undefine.
42979
42980 [BZ #16619]
42981 [BZ #16740]
42982 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42983 instead of 1L << 52.
42984
42985 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42986 * libio/bug-rewind2.c (do_test): Likewise.
42987
42988 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42989 * debug/test-strcpy_chk-ifunc.c: Likewise.
42990 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42991 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42992 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42993 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42994 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42995 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42996 * Rules [$(multi-arch) = no] (tests): Do not filter out
42997 $(tests-ifunc).
42998 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42999 * debug/Makefile (tests-ifunc): Remove variable.
43000 (tests): Do not add $(tests-ifunc).
43001 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43002 (tests): Do not add $(tests-ifunc).
43003 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43004 [TEST_IFUNC]: Remove conditionals.
43005 * string/test-string.h (TEST_IFUNC): Remove macro.
43006 [TEST_IFUNC]: Remove conditionals.
43007
43008 * string/test-strchr.c [!WIDE] (L): New macro.
43009 [WIDE] (L): Likewise.
43010 (check1): Use CHAR instead of char. Use L on string and character
43011 constants.
43012
43013 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43014
43015 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43016 tests.
43017 * sysdeps/powerpc/bits/atomic.h
43018 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43019 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43020 (atomic_exchange_and_add_acq): Likewise.
43021 (atomic_exchange_and_add_rel): Likewise.
43022 * sysdeps/powerpc/powerpc32/bits/atomic.h
43023 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43024 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43025 * sysdeps/powerpc/powerpc64/bits/atomic.h
43026 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43027 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43028
43029 2014-11-26 Torvald Riegel <triegel@redhat.com>
43030
43031 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43032 Change synchronization of __sched_fifo_min_prio and
43033 __sched_fifo_max_prio.
43034 * nptl/pthread_mutexattr_getprioceiling.c
43035 (pthread_mutexattr_getprioceiling): Likewise.
43036 * nptl/pthread_mutexattr_setprioceiling.c
43037 (pthread_mutexattr_setprioceiling): Likewise.
43038 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43039 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43040 Likewise.
43041
43042 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43043
43044 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43045 void.
43046
43047 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43048
43049 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43050 third argument const.
43051
43052 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43053
43054 fnmatch: work around GCC compiler warning bug with uninit var
43055 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43056 This works around a bug with x86-64 GCC 4.9.2 and earlier
43057 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43058 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43059 used uninitialized in this function [-Wmaybe-uninitialized]".
43060
43061 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43062
43063 * posix/bug-regex31.c (main): Return RES not 0.
43064
43065 2014-11-25 Anton Blanchard <anton@samba.org>
43066
43067 * sysdeps/powerpc/bits/atomic.h
43068 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43069
43070 2014-11-24 Sterling Augustine <saugustine@google.com>
43071
43072 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43073
43074 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43075
43076 [BZ #17608]
43077 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43078
43079 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43080
43081 [BZ #17633]
43082 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43083 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43084 variable.
43085 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43086 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43087
43088 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43089
43090 * string/strncpy.c (strncpy): Improve performance by using memset.
43091
43092 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43093
43094 * string/strcpy.c (strcpy):
43095 Improve performance by using strlen and memcpy.
43096
43097 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43098
43099 * string/strcoll_l.c (get_next_seq): __always_inline.
43100 * string/strcoll_l.c (do_compare): __always_inline.
43101
43102 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43103
43104 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43105 defined.
43106 * include/mqueue.h: Likewise.
43107 * include/stdlib.h: Likewise.
43108
43109 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43110 (get_null_defines): Adjust.
43111 * sunrpc/Makefile: Adjust comment.
43112 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43113 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43114 (CFLAGS-interp.c): Likewise.
43115 (CFLAGS-ldconfig.c): Likewise.
43116 (CPPFLAGS-.os): Likewise.
43117 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43118 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43119 * extra-modules.mk (extra-modules.mk): Likewise.
43120 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43121 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43122 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43123 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43124 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43125 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43126 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43127 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43128 * iconvdata/Makefile (CPPFLAGS): Likewise.
43129 (cpp-srcs-left): Add libof for all iconvdata routines.
43130 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43131 * include/assert.h: Likewise.
43132 * include/ctype.h: Likewise.
43133 * include/errno.h: Likewise.
43134 * include/libc-symbols.h: Likewise.
43135 * include/math.h: Likewise.
43136 * include/netdb.h: Likewise.
43137 * include/resolv.h: Likewise.
43138 * include/stdio.h: Likewise.
43139 * include/stdlib.h: Likewise.
43140 * include/string.h: Likewise.
43141 * include/sys/stat.h: Likewise.
43142 * include/wctype.h: Likewise.
43143 * intl/l10nflist.c: Likewise.
43144 * libidn/idn-stub.c: Likewise.
43145 * libio/libioP.h: Likewise.
43146 * nptl/libc_multiple_threads.c: Likewise.
43147 * nptl/pthreadP.h: Likewise.
43148 * posix/regex_internal.h: Likewise.
43149 * resolv/res_hconf.c: Likewise.
43150 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43151 * sysdeps/arm/memmove.S: Likewise.
43152 * sysdeps/arm/sysdep.h: Likewise.
43153 * sysdeps/generic/_itoa.h: Likewise.
43154 * sysdeps/generic/symbol-hacks.h: Likewise.
43155 * sysdeps/gnu/errlist.awk: Likewise.
43156 * sysdeps/gnu/errlist.c: Likewise.
43157 * sysdeps/i386/i586/memcpy.S: Likewise.
43158 * sysdeps/i386/i586/memset.S: Likewise.
43159 * sysdeps/i386/i686/memcpy.S: Likewise.
43160 * sysdeps/i386/i686/memmove.S: Likewise.
43161 * sysdeps/i386/i686/mempcpy.S: Likewise.
43162 * sysdeps/i386/i686/memset.S: Likewise.
43163 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43164 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43165 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43166 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43167 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43168 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43169 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43170 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43171 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43179 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43180 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43181 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43185 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43186 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43187 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43189 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43190 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43191 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43193 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43196 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43198 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43199 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43200 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43202 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43203 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43204 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43206 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43207 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43208 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43209 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43210 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43211 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43212 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43213 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43214 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43215 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43216 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43217 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43218 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43219 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43220 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43221 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43222 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43223 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43224 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43225 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43226 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43227 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43228 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43229 * sysdeps/posix/closedir.c: Likewise.
43230 * sysdeps/posix/opendir.c: Likewise.
43231 * sysdeps/posix/readdir.c: Likewise.
43232 * sysdeps/posix/rewinddir.c: Likewise.
43233 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43234 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43235 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43236 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43237 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43239 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43244 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43245 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43247 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43248 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43249 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43250 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43252 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43253 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43255 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43256 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43257 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43259 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43261 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43269 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43270 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43271 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43272 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43273 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43274 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43275 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43277 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43278 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43279 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43280 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43281 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43282 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43283 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43284 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43285 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43286 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43287 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43288 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43290 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43291 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43293 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43294 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43295 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43296 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43297 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43298 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43299 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43300 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43301 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43302 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43303 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43304 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43305 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43306 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43307 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43308 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43309 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43310 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43311 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43312 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43313 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43314 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43315 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43317 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43318 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43319 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43320 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43321 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43322 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43323 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43324 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43325 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43328 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43329 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43331 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43332 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43334 * sysdeps/unix/alpha/sysdep.S: Likewise.
43335 * sysdeps/unix/alpha/sysdep.h: Likewise.
43336 * sysdeps/unix/make-syscalls.sh: Likewise.
43337 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43339 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43340 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43341 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43342 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43343 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43344 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43345 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43346 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43347 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43348 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43349 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43350 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43351 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43352 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43353 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43354 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43355 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43356 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43357 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43358 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43359 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43360 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43361 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43362 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43363 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43366 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43367 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43371 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43375 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43376 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43377 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43378 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43380 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43381 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43384 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43387 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43388 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43389 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43390 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43393 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43395 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43396 * sysdeps/x86_64/memcpy.S: Likewise.
43397 * sysdeps/x86_64/memmove.c: Likewise.
43398 * sysdeps/x86_64/memset.S: Likewise.
43399 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43400 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43401 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43402 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43403 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43406 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43407 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43408 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43409 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43410 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43411 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43412 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43413 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43414 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43415 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43416 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43417 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43418 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43419 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43420 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43423 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43424 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43425 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43426 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43428 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43429 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43430 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43431 * sysdeps/x86_64/strcmp.S: Likewise.
43432
43433 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43434
43435 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43436 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43437 * elf/rtld-Rules: Likewise.
43438 * elf/setup-vdso.h: Likewise.
43439 * include/assert.h: Likewise.
43440 * include/bits/stdlib-float.h: Likewise.
43441 * include/errno.h: Likewise.
43442 * include/sys/stat.h: Likewise.
43443 * include/unistd.h: Likewise.
43444 * sysdeps/aarch64/setjmp.S: Likewise.
43445 * sysdeps/alpha/setjmp.S: Likewise.
43446 * sysdeps/arm/__longjmp.S: Likewise.
43447 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43448 * sysdeps/arm/setjmp.S: Likewise.
43449 * sysdeps/arm/sysdep.h: Likewise.
43450 * sysdeps/generic/_itoa.h: Likewise.
43451 * sysdeps/generic/dl-sysdep.h: Likewise.
43452 * sysdeps/generic/ldsodefs.h: Likewise.
43453 * sysdeps/i386/dl-tls.h: Likewise.
43454 * sysdeps/i386/setjmp.S: Likewise.
43455 * sysdeps/m68k/setjmp.c: Likewise.
43456 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43457 * sysdeps/mach/hurd/opendir.c: Likewise.
43458 * sysdeps/posix/getcwd.c: Likewise.
43459 * sysdeps/posix/opendir.c: Likewise.
43460 * sysdeps/posix/profil.c: Likewise.
43461 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43462 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43463 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43464 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43466 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43467 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43468 * sysdeps/s390/dl-tls.h: Likewise.
43469 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43470 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43471 * sysdeps/sh/sh3/setjmp.S: Likewise.
43472 * sysdeps/sh/sh4/setjmp.S: Likewise.
43473 * sysdeps/unix/alpha/sysdep.h: Likewise.
43474 * sysdeps/unix/arm/sysdep.S: Likewise.
43475 * sysdeps/unix/i386/sysdep.S: Likewise.
43476 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43477 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43478 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43479 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43481 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43482 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43483 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43484 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43485 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43486 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43487 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43488 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43491 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43494 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43499 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43500 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43501 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43503 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43504 * sysdeps/x86_64/setjmp.S: Likewise.
43505
43506 * include/math.h: Use IS_IN instead of IS_IN_libm.
43507 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43508 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43509 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43511 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43512 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43513 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43514 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43515 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43516 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43517 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43518 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43519 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43520 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43521 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43522 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43523 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43524 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43525 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43526 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43527 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43528 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43529 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43530 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43531 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43532 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43533 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43534 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43535 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43536 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43537 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43538 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43539 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43541 Likewise.
43542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43543 Likewise.
43544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43545 Likewise.
43546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43547 Likewise.
43548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43549 Likewise.
43550 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43552 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43553 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43554 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43555 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43561 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43562 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43563 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43564 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43565 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43566 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43567 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43568 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43569 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43570 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43571 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43572 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43573 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43574 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43576 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43577
43578 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43579 * nptl/pthreadP.h: Likewise.
43580 * nptl_db/structs.def: Likewise.
43581 * sysdeps/arm/sysdep.h: Likewise.
43582 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43583 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43584 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43585 * sysdeps/unix/alpha/sysdep.h: Likewise.
43586 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43588 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43589 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43590 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43591 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43593 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43594 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43595 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43596 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43597 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43598 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43599 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43604 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43607 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43608 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43609 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43610 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43611 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43612
43613 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43614 * nptl/pthreadP.h: Likewise.
43615 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43616 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43617 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43618 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43619 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43620 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43621 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43622 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43623 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43624 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43625 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43626 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43628 Likewise.
43629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43630 Likewise.
43631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43633 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43636 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43637 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43638 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43639
43640 * dlfcn/dladdr.c: Use IS_IN.
43641 * dlfcn/dladdr1.c: Likewise.
43642 * dlfcn/dlclose.c: Likewise.
43643 * dlfcn/dlerror.c: Likewise.
43644 * dlfcn/dlinfo.c: Likewise.
43645 * dlfcn/dlmopen.c: Likewise.
43646 * dlfcn/dlopen.c: Likewise.
43647 * dlfcn/dlsym.c: Likewise.
43648 * dlfcn/dlvsym.c: Likewise.
43649
43650 * include/ifaddrs.h: Use IS_IN.
43651 * inet/check_pf.c: Likewise.
43652 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43653 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43654
43655 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43656 IS_IN_ldconfig.
43657 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43658 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43659
43660 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43661 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43662 IS_IN (libc).
43663
43664 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43665
43666 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43667 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43668 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43669 * include/libc-symbols.h (IS_IN_LIB): New macro.
43670 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43671 * include/netdb.h: Likewise.
43672 * include/stap-probe.h: Remove all uses of IN_LIB.
43673
43674 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43675 instead of IN_MODULE.
43676 * include/libc-symbols.h (IN_MODULE): Define using
43677 MODULE_NAME.
43678 (PASTE_NAME, PASTE_NAME1): New macros.
43679 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43680 of IN_LIB.
43681 (STAP_PROBE_ASM): Likewise.
43682
43683 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43684
43685 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43686 __mach_init in dlopened libc.
43687
43688 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43689
43690 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43691 * sysdeps/arm/preconfigure: Regenerate.
43692
43693 2014-11-21 Roland McGrath <roland@hack.frob.com>
43694
43695 * nptl/pthread_create.c (__pthread_create_2_1): Set
43696 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43697 when copying values from IATTR into PD.
43698
43699 2014-11-21 Will Newton <will.newton@linaro.org>
43700 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43701
43702 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43703 Refactor inline-asm. Also add comment.
43704
43705 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43706 ElfW macro instead of hardcoded Elf64 types.
43707 (la_aarch64_gnu_pltenter): Likewise.
43708 * sysdeps/aarch64/dl-machine.h
43709 (elf_machine_runtime_setup): Use ElfW(Addr).
43710
43711 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43712 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43713 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43714 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43715 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43716 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43717 (R_AARCH64_TLS_DTPMOD): This.
43718 (R_AARCH64_TLS_DTPREL64): Rename to ...
43719 (R_AARCH64_TLS_DTPREL): This.
43720 (R_AARCH64_TLS_TPREL64): Rename to ...
43721 (R_AARCH64_TLS_TPREL): This.
43722 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43723 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43724 R_AARCH64_TLS_TPREL64.
43725 (elf_machine_rela): Likewise.
43726
43727 2014-11-21 Torvald Riegel <triegel@redhat.com>
43728
43729 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43730 by setting it to 0. 64b atomics are not supported currently.
43731
43732 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43733
43734 [BZ #16469]
43735 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43736 search domain names.
43737
43738 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43739
43740 [BZ #16469]
43741 * NEWS: Update.
43742 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43743 trailing dot.
43744 * posix/tst-getaddrinfo5.c: New.
43745 * posix/Makefile (tests): Add it.
43746
43747 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43748
43749 [BZ #14498]
43750 * NEWS: Fixed.
43751 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43752 after parsing line but before break_if_match.
43753 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43754 if there is a protocol mismatch.
43755
43756 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43757
43758 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43759 because the potential race is on the user-supplied stream.
43760
43761 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43762
43763 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43764 string literal if not passed a buffer.
43765 * manual/job.texi (ctermid): Update reasoning, note deviation
43766 from posix, suggest mtasurace when not passed a buffer, for
43767 future non-preliminary safety notes.
43768
43769 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43770
43771 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43772 of not passing it a buffer.
43773 Reported by Peng Haitao.
43774
43775 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43776
43777 * manual/Makefile ($(objpfx)stamp-summary): Require
43778 check-safety.sh to pass.
43779 * manual/check-safety.sh: Wish for verification that every
43780 @deftypefn and @deftypefun is followed by a @safety remark.
43781
43782 2014-11-20 Roland McGrath <roland@hack.frob.com>
43783
43784 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43785
43786 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43787 PTHREAD_CANCEL_ASYNCHRONOUS.
43788 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43789 send SIGCANCEL.
43790
43791 * nptl/default-sched.h: New file.
43792 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43793 * nptl/pthread_create.c: Include it.
43794 (__pthread_create_2_1): Use collect_default_sched instead of making
43795 Linux syscalls here directly.
43796
43797 2014-11-20 Torvald Riegel <triegel@redhat.com>
43798
43799 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43800 __pthread_once): Use C11 atomics.
43801
43802 2014-11-20 Torvald Riegel <triegel@redhat.com>
43803
43804 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43805
43806 2014-11-20 Torvald Riegel <triegel@redhat.com>
43807
43808 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43809 atomic_thread_fence_acquire, atomic_thread_fence_release,
43810 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43811 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43812 atomic_compare_exchange_weak_relaxed,
43813 atomic_compare_exchange_weak_acquire,
43814 atomic_compare_exchange_weak_release,
43815 atomic_exchange_acquire, atomic_exchange_release,
43816 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43817 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43818 atomic_fetch_and_acquire,
43819 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43820
43821 2014-11-20 Torvald Riegel <triegel@redhat.com>
43822
43823 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43824 USE_ATOMIC_COMPILER_BUILTINS): Define.
43825 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43827 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43829 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43831 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43833 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43834 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43835 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43837 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43839 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43840 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43841 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43842 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43843 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43845 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43846 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43847 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43848 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43849 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43851 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43852 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43853 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43854 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43855 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43857 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43859 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43860 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43861 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43863 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43865
43866 2014-11-19 Roland McGrath <roland@hack.frob.com>
43867
43868 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43869 the sched_priority value here. It was already checked when the user
43870 called pthread_attr_setschedparam.
43871
43872 * nptl/tst-bad-schedattr.c: New file.
43873 * nptl/Makefile (tests): Add it.
43874
43875 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43876 Florian Weimer <fweimer@redhat.com>
43877 Joseph Myers <joseph@codesourcery.com>
43878 Adam Conrad <adconrad@0c3.net>
43879 Andreas Schwab <schwab@suse.de>
43880 Brooks <bmoses@google.com>
43881
43882 [BZ #17625]
43883 * wordexp-test.c (__dso_handle): Add prototype.
43884 (__register_atfork): Likewise.
43885 (__app_register_atfork): New function.
43886 (registered_forks): New global.
43887 (register_fork): New function.
43888 (test_case): Add 3 new tests for WRDE_CMDSUB.
43889 (main): Call __app_register_atfork.
43890 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43891 fork count is non-zero fail the test.
43892 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43893 is set.
43894 (parse_dollars): Remove check for WRDE_NOCMD.
43895 (parse_dquote): Likewise.
43896
43897 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43898
43899 * Makeconfig (built-modules): List non-library modules to be
43900 built.
43901 (module-cppflags): Include libc-modules.h for
43902 everything except shlib-versions.v.i.
43903 (CPPFLAGS): Use it.
43904 (before-compile): Add libc-modules.h.
43905 ($(common-objpfx)libc-modules.h,
43906 $(common-objpfx)libc-modules.stmp): New targets.
43907 (common-generated): Add libc-modules.h and libc-modules.stmp.
43908 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43909 * include/libc-symbols.h: Don't include libc-modules.h.
43910 * include/libc-modules.h: Remove file.
43911 * scripts/gen-libc-modules.awk: New script to generate
43912 libc-modules.h.
43913 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43914 Depend on libc-modules.stmp.
43915
43916 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43917
43918 * Makeconfig (in-module): Get value of libof set for the
43919 translation unit.
43920 (CPPFLAGS): Use $(in-module).
43921 * Makerules: Don't suffix routine names for nonlib.
43922 * include/libc-modules.h: New file.
43923 * include/libc-symbols.h: Include libc-modules.h
43924 (IS_IN): New macro to replace IS_IN_* macros.
43925 * elf/Makefile: Set libof-* for each routine.
43926 * elf/rtld-Rules: Likewise.
43927 * extra-modules.mk: Likewise.
43928 * iconv/Makefile: Likewise.
43929 * iconvdata/Makefile: Likewise.
43930 * locale/Makefile: Likewise.
43931 * malloc/Makefile: Likewise.
43932 * nss/Makefile: Likewise.
43933 * sysdeps/gnu/Makefile: Likewise.
43934 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43935 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43936 * sysdeps/s390/s390-64/Makefile: Likewise.
43937 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43938 CPPFLAGS for nscd instead of nonlib.
43939
43940 2014-11-18 Roland McGrath <roland@hack.frob.com>
43941
43942 * nptl/createthread.c: New file.
43943
43944 * nptl/createthread.c: Moved ...
43945 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43946
43947 * nptl/createthread.c: Add proper top-line comment.
43948 (do_clone): Folded into ...
43949 (create_thread): ... here. Take new arguments STOPPED_START and
43950 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43951 increment __nptl_threads, do event-reporting logic, do
43952 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43953 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43954 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43955 just send SIGCANCEL.
43956 * nptl/pthread_create.c: Forward-declare create_thread before
43957 including createthread.c.
43958 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43959 declaration, and new macro START_THREAD_SELF to replace argument.
43960 Remove return statement.
43961 (report_thread_creation): New function.
43962 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43963 synchronization logic, and __nptl_nthreads increment here, around
43964 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43965 PD->parent_cancelhandling here, before create_thread. When
43966 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43967 __deallocate_stack, and ENOMEM translation here.
43968
43969 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43970
43971 [BZ #17616]
43972 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43973 (mptwo): Rename to __mptwo.
43974 (__inv): Use __mptwo instead of mptwo.
43975 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43976 (mptwo): Rename to __mptwo.
43977 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43978 of mpone and __mptwo instead of mptwo.
43979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43980 instead of mpone.
43981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43982 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43983 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43984 of mpone and __mptwo instead of mptwo.
43985 (__mpranred): Use __mpone instead of mpone.
43986 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43987 variable.
43988 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43989 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43990 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43991 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43992 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43993 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43994 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43995 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43996 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43997 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43998 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43999 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44000 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44001 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44002 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44003 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44004 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44005 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44006 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44007
44008 2014-11-18 Tom de Vries <tom@codesoucery.com>
44009
44010 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44011 replace BSD Handler xref with BSD Signal Handling.
44012
44013 2014-11-17 Richard Henderson <rth@redhat.com>
44014
44015 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44016 (_FP_PACK_RAW_2): Remove.
44017 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44018 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44019 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44020 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44021 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44022 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44023 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44024 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44025 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44026 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44027 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44028 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44029 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44030 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44031 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44032 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44033
44034 2014-11-14 Roland McGrath <roland@hack.frob.com>
44035
44036 * signal/signal.h [__USE_MISC]
44037 (struct sigvec): Remove type.
44038 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44039 (sigvec): Remove declaration.
44040 * sysdeps/posix/sigvec.c: Moved ...
44041 * signal/sigvec.c: ... here, replacing old file.
44042 (struct sigvec): New type, copied from old signal.h definition.
44043 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44044 (__sigvec): Convert definition to prototype.
44045 (sigvec): Replace weak_alias with compat_symbol.
44046 * signal/Versions (libc: GLIBC_2.21): New version set.
44047 * include/signal.h: Remove __sigvec declaration.
44048 * sysdeps/unix/bsd/sigvec.c: Remove file.
44049 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44050 * manual/signal.texi (BSD Handler): Remove subsection.
44051 Move siginterrupt up to ...
44052 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44053 (Blocking in BSD): Fold subsection into its parent.
44054 * NEWS: Mention sigvec removal.
44055
44056 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44057
44058 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44059 (DLA_FMS): Make definition conditional only on [__FMA4__].
44060 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44061 definition.
44062
44063 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44064 Make definition conditional only on [PROF].
44065 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44066 definition.
44067 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44068 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44069
44070 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44071 !__GNUC__].
44072 * include/signal.h (__sigpause): Move declaration above call to
44073 libc_hidden_proto.
44074 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44075 variable.
44076 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44077 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44078
44079 2014-11-14 David S. Miller <davem@davemloft.net>
44080
44081 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44082 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44083
44084 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44085
44086 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44087 * configure: Regenerated.
44088 * manual/install.texi (Tools for Compilation): Document a
44089 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44090 compiler verified to work.
44091 * INSTALL: Regenerated.
44092
44093 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44094 redeclare with asm name.
44095 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44096 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44097 including <string.h>.
44098 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44099 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44100 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44101 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44102 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44104 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44105
44106 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44107
44108 * stdlib/strtol.c (__strtol): Use prototype definition.
44109
44110 [BZ #17594]
44111 * stdlib/strtol.c (SYM__): New macro.
44112 (SYM__1): Likewise.
44113 (__strtol): Likewise.
44114 (strtol): Rename to __strtol and define as weak alias of
44115 __strtol. Use libc_hidden_weak.
44116
44117 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44118
44119 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44120 Use numbered labels in inline assembly.
44121
44122 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44123
44124 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44125 Add setjmp LIBC_PROBE.
44126 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44127 Likewise.
44128 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44129 Add longjmp, longjmp_target LIBC_PROBE.
44130 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44131 Likewise.
44132
44133 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44134
44135 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44136 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44137 to get rid of unused variable warning.
44138
44139 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44140
44141 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44142 Check for unwind_backtrace == NULL only in SHARED case.
44143 (__backchain_backtrace): Compile only in SHARED case.
44144 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44145 Likewise.
44146 (__backchain_backtrace): Declare as static.
44147
44148 2014-11-12 Roland McGrath <roland@hack.frob.com>
44149
44150 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44151 (__libc_multiple_threads_ptr): Variable moved ...
44152 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44153
44154 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44155
44156 * conform/GlibcConform.pm: New file.
44157 * conform/conformtest.pl: Use GlibcConform module.
44158 * conform/linknamespace.pl: New file.
44159 * conform/list-header-symbols.pl: Likewise.
44160 * conform/Makefile (linknamespace-symlists-base): New variable.
44161 (linknamespace-symlists-tests): Likewise.
44162 (linknamespace-header-base): Likewise.
44163 (linknamespace-header-tests): Likewise.
44164 (tests-special): Add new tests.
44165 ($(linknamespace-symlists-tests)): New rule.
44166 (linknamespace-libs): New variable.
44167 ($(objpfx)symlist-stdlibs): New rule.
44168 ($(linknamespace-header-tests)): Likewise.
44169 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44170 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44171 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44172 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44173 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44174 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44175 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44176 (test-xfail-ISO/math.h/linknamespace): Likewise.
44177 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44178 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44179 (test-xfail-ISO/time.h/linknamespace): Likewise.
44180 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44181 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44182 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44183 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44184 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44185 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44186 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44187 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44188 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44189 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44190 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44191 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44192 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44193 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44194 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44195 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44196 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44197 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44198 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44199 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44200 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44201 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44202 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44203 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44204 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44205 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44206 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44207 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44208 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44209 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44210 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44211 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44212 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44213 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44214 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44215 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44216 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44217 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44218 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44219 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44220 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44221 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44222 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44223 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44224 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44225 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44226 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44227 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44228 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44229 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44230 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44231 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44232 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44233 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44234 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44235 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44236 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44237 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44238 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44239 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44240 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44241 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44242 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44243 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44244 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44245 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44246 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44247 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44248 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44249 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44250 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44251 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44252 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44253 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44254 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44255 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44256 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44257 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44258 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44259 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44260 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44261 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44262 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44263 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44264 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44265 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44266 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44267 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44268 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44269 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44270 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44271 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44272 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44273 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44274 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44275 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44276 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44277 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44278 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44279 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44280 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44281 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44282 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44283 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44284 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44285 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44286 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44287 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44288 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44289 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44290 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44291 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44292 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44293 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44294 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44295 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44296 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44297 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44298 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44299 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44300 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44301 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44302 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44303 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44304 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44305 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44306 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44307 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44308 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44309 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44310 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44311 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44312 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44313 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44314 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44315 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44316 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44317 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44318 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44319 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44320 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44321 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44322 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44323 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44324 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44325 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44326 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44327 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44328 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44329 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44330
44331 [BZ #17589]
44332 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44333 of fgets_unlocked.
44334
44335 [BZ #17585]
44336 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44337 (memmem): Rename to __memmem and define as weak alias of
44338 __memmem. Use libc_hidden_weak.
44339 (__memmem): Use libc_hidden_def.
44340 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44341 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44342 memmem.
44343
44344 [BZ #17582]
44345 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44346 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44347 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44348 and define as weak alias of __fgets_unlocked. Use
44349 libc_hidden_weak.
44350 (__fgets_unlocked): Use libc_hidden_def.
44351 * include/stdio.h (__fgets_unlocked): Declare. Use
44352 libc_hidden_proto.
44353 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44354 __fgets_unlocked instead of fgets_unlocked.
44355 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44356 (GET_NPROCS_CONF_PARSER): Likewise.
44357 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44358 (GET_NPROCS_CONF_PARSER): Likewise.
44359
44360 [BZ #17574]
44361 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44362 weak alias of __wmemset. Use libc_hidden_weak.
44363 (__wmemset): Use libc_hidden_def.
44364 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44365 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44366 of wmemset.
44367
44368 [BZ #17573]
44369 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44370 with asm name __mempcpy.
44371 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44372
44373 [BZ #17572]
44374 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44375 and define as weak alias of __rawmemchr.
44376 (__rawmemchr): Do not define as strong alias of rawmemchr.
44377
44378 [BZ #17571]
44379 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44380 alias of __qsort_r.
44381 (qsort): Call __qsort_r instead of qsort_r.
44382 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44383 (__qsort_r): Declare. Call libc_hidden_proto.
44384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44385 instead of qsort_r.
44386 * nscd/gai.c (__qsort_r): Define to qsort_r.
44387 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44388 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44389 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44390
44391 [BZ #17570]
44392 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44393 define as weak alias of __malloc_info.
44394
44395 [BZ #17584]
44396 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44397 as weak alias of __rewinddir. Don't use libc_hidden_def.
44398 (__rewinddir): Use libc_hidden_def.
44399 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44400 as weak alias of __rewinddir. Don't use libc_hidden_def.
44401 (__rewinddir): Use libc_hidden_def.
44402 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44403 weak alias of __rewinddir. Don't use libc_hidden_def.
44404 (__rewinddir): Use libc_hidden_def.
44405 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44406 (__rewinddir): Use libc_hidden_proto.
44407 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44408 rewinddir.
44409 (__getcwd): Use __rewinddir instead of rewinddir.
44410
44411 [BZ #17583]
44412 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44413 alias of __fileno. Use libc_hidden_weak.
44414 (__fileno): Use libc_hidden_def.
44415 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44416 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44417 alias of __ftello.
44418 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44419 __ftello.
44420 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44421 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44422 libc_hidden_def.
44423 (fread_unlocked): Don't use libc_hidden_ver.
44424 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44425 and define as weak alias of __fread_unlocked. Don't use
44426 libc_hidden_def.
44427 (__fread_unlocked): Use libc_hidden_def.
44428 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44429 (ftello): Don't use libc_hidden_proto.
44430 (__ftello): Declare. Use libc_hidden_proto.
44431 (fread_unlocked): Don't use libc_hidden_proto.
44432 (__fread_unlocked): Declare. Use libc_hidden_proto.
44433 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44434 and __ftello instead of fileno, fread_unlocked and ftello.
44435
44436 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44437
44438 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44439 GOT12.
44440 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44441 Likewise.
44442 (_dl_start_user): Likewise.
44443 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44444
44445 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44446 Siddhesh Poyarekar <siddhesh@redhat.com>
44447
44448 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44449 Move argv and envp down instead of moving argc up.
44450 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44451
44452 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44453
44454 [BZ #17506]
44455 * test-skeleton.c (main): Return successful if one of
44456 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44457 * string/tst-strcoll-overflow.c: Define expected status.
44458
44459 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44460
44461 [BZ #17475]
44462 * locale/iso-639.def: Define Bhili and Tulu language codes.
44463
44464 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44465
44466 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44467
44468 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44469
44470 [BZ #17555]
44471 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44472
44473 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44474
44475 * configure.ac: Updated check of minimal required version to
44476 2.22.
44477 * manual/install.texi (Tools for Compilation): Updated version
44478 number.
44479 * configure: Regenerated.
44480 * INSTALL: Likewise.
44481
44482 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44483
44484 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44485 __tls_get_addr.
44486
44487 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44488
44489 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44490 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44491 (__waitpid): Don't define as alias. Use libc_hidden_def not
44492 libc_hidden_weak.
44493 (waitpid): Define as alias of __waitpid.
44494 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44495 __waitpid.
44496 (__waitpid): Don't define as alias. Use libc_hidden_def not
44497 libc_hidden_weak.
44498 (waitpid): Define as alias of __waitpid.
44499 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44500 __libc_waitpid alias.
44501 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44502 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44503 Likewise.
44504 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44505 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44506 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44507 alias.
44508 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44509 __waitpid.
44510 (__waitpid): Don't define as alias. Use libc_hidden_def not
44511 libc_hidden_weak.
44512 (waitpid): Define as alias of __waitpid.
44513
44514 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44515
44516 * manual/llio.texi: Add comment that write safety has been
44517 fixed in Linux.
44518
44519 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44520 (localplt-build-dso): Add elf/ld.so.
44521 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44522 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44523 and free for ld.so.
44524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44525 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44527 Likewise.
44528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44529 Likewise.
44530 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44531 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44532 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44533 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44534 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44535 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44536 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44537 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44538 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44539 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44540 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44541
44542 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44543
44544 [BZ #14132]
44545 * include/libc-symbols.h (INTUSE): Remove macro.
44546 (INTDEF): Likewise.
44547 (INTVARDEF): Likewise.
44548 (_INTVARDEF): Likewise.
44549 (INTDEF2): Likewise.
44550 (INTVARDEF2): Likewise.
44551 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44552 rtld_hidden_def instead of INTVARDEF.
44553 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44554 (_dl_starting_up_internal): Remove declaration.
44555 (_dl_starting_up): Use rtld_hidden_proto.
44556 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44557 declaration.
44558 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44559 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44560 _dl_starting_up.
44561 * elf/dl-writev.h (_dl_writev): Likewise.
44562 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44563 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44564 _dl_starting_up_internal.
44565
44566 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44567
44568 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44569 test-skeleton.c.
44570
44571 2014-11-05 Will Newton <will.newton@linaro.org>
44572
44573 * benchtests/Makefile: (bench-malloc): Add malloc thread
44574 scalability benchmark.
44575 * benchtests/bench-malloc-threads.c: New file.
44576
44577 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44578
44579 * sysdeps/aarch64/strchrnul.S: New file.
44580
44581 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44582
44583 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44584 definition.
44585 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44586 Likewise.
44587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44588 Likewise.
44589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44590 Likewise.
44591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44592 Likewise.
44593 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44594 Likewise.
44595
44596 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44597
44598 * catgets/test-gencat.c: Use test-skeleton.c.
44599 * catgets/tst-catgets.c: Likewise.
44600 * csu/tst-empty.c: Likewise.
44601 * elf/tst-audit2.c: Likewise.
44602 * elf/tst-global1.c: Likewise.
44603 * elf/tst-pathopt.c: Likewise.
44604 * elf/tst-piemod1.c: Likewise.
44605 * elf/tst-tls10.c: Likewise.
44606 * elf/tst-tls11.c: Likewise.
44607 * elf/tst-tls12.c: Likewise.
44608 * gnulib/tst-gcc.c: Likewise.
44609 * iconvdata/tst-e2big.c: Likewise.
44610 * iconvdata/tst-loading.c: Likewise.
44611 * iconv/tst-iconv1.c: Likewise.
44612 * iconv/tst-iconv2.c: Likewise.
44613 * inet/test-inet6_opt.c: Likewise.
44614 * inet/tst-gethnm.c: Likewise.
44615 * inet/tst-network.c: Likewise.
44616 * inet/tst-ntoa.c: Likewise.
44617 * intl/tst-codeset.c: Likewise.
44618 * intl/tst-gettext2.c: Likewise.
44619 * intl/tst-gettext3.c: Likewise.
44620 * intl/tst-ngettext.c: Likewise.
44621 * intl/tst-translit.c: Likewise.
44622 * io/test-stat.c: Likewise.
44623 * libio/test-fmemopen.c: Likewise.
44624 * libio/tst-freopen.c: Likewise.
44625 * libio/tst-sscanf.c: Likewise.
44626 * libio/tst-ungetwc1.c: Likewise.
44627 * libio/tst-ungetwc2.c: Likewise.
44628 * libio/tst-widetext.c: Likewise.
44629 * localedata/tst-ctype.c: Likewise.
44630 * localedata/tst-digits.c: Likewise.
44631 * localedata/tst-leaks.c: Likewise.
44632 * localedata/tst-mbswcs1.c: Likewise.
44633 * localedata/tst-mbswcs2.c: Likewise.
44634 * localedata/tst-mbswcs3.c: Likewise.
44635 * localedata/tst-mbswcs4.c: Likewise.
44636 * localedata/tst-mbswcs5.c: Likewise.
44637 * localedata/tst-setlocale.c: Likewise.
44638 * localedata/tst-trans.c: Likewise.
44639 * localedata/tst-wctype.c: Likewise.
44640 * localedata/tst-xlocale1.c: Likewise.
44641 * login/tst-grantpt.c: Likewise.
44642 * malloc/tst-calloc.c: Likewise.
44643 * malloc/tst-malloc.c: Likewise.
44644 * malloc/tst-mallocstate.c: Likewise.
44645 * malloc/tst-mcheck.c: Likewise.
44646 * malloc/tst-mtrace.c: Likewise.
44647 * malloc/tst-obstack.c: Likewise.
44648 * math/atest-exp2.c: Likewise.
44649 * math/atest-exp.c: Likewise.
44650 * math/atest-sincos.c: Likewise.
44651 * math/test-matherr.c: Likewise.
44652 * math/test-misc.c: Likewise.
44653 * math/test-powl.c: Likewise.
44654 * math/tst-definitions.c: Likewise.
44655 * misc/tst-dirname.c: Likewise.
44656 * misc/tst-efgcvt.c: Likewise.
44657 * misc/tst-fdset.c: Likewise.
44658 * misc/tst-hsearch.c: Likewise.
44659 * misc/tst-mntent2.c: Likewise.
44660 * nptl/tst-sem7.c: Likewise.
44661 * nptl/tst-sem8.c: Likewise.
44662 * nptl/tst-sem9.c: Likewise.
44663 * nss/test-netdb.c: Likewise.
44664 * posix/tst-fnmatch.c: Likewise.
44665 * posix/tst-getlogin.c: Likewise.
44666 * posix/tst-gnuglob.c: Likewise.
44667 * posix/tst-mmap.c: Likewise.
44668 * pwd/tst-getpw.c: Likewise.
44669 * resolv/tst-inet_ntop.c: Likewise.
44670 * rt/tst-timer.c: Likewise.
44671 * stdio-common/test-fseek.c: Likewise.
44672 * stdio-common/test-popen.c: Likewise.
44673 * stdio-common/test-vfprintf.c: Likewise.
44674 * stdio-common/tst-cookie.c: Likewise.
44675 * stdio-common/tst-fileno.c: Likewise.
44676 * stdio-common/tst-gets.c: Likewise.
44677 * stdio-common/tst-obprintf.c: Likewise.
44678 * stdio-common/tst-perror.c: Likewise.
44679 * stdio-common/tst-sprintf2.c: Likewise.
44680 * stdio-common/tst-sprintf3.c: Likewise.
44681 * stdio-common/tst-sprintf.c: Likewise.
44682 * stdio-common/tst-swprintf.c: Likewise.
44683 * stdio-common/tst-tmpnam.c: Likewise.
44684 * stdio-common/tst-unbputc.c: Likewise.
44685 * stdio-common/tst-wc-printf.c: Likewise.
44686 * stdlib/tst-environ.c: Likewise.
44687 * stdlib/tst-fmtmsg.c: Likewise.
44688 * stdlib/tst-limits.c: Likewise.
44689 * stdlib/tst-rand48-2.c: Likewise.
44690 * stdlib/tst-rand48.c: Likewise.
44691 * stdlib/tst-random2.c: Likewise.
44692 * stdlib/tst-random.c: Likewise.
44693 * stdlib/tst-strtol.c: Likewise.
44694 * stdlib/tst-strtoll.c: Likewise.
44695 * stdlib/tst-tls-atexit.c: Likewise.
44696 * stdlib/tst-xpg-basename.c: Likewise.
44697 * string/test-ffs.c: Likewise.
44698 * string/tst-bswap.c: Likewise.
44699 * string/tst-inlcall.c: Likewise.
44700 * string/tst-strtok.c: Likewise.
44701 * string/tst-strxfrm.c: Likewise.
44702 * sysdeps/x86_64/tst-audit10.c: Likewise.
44703 * sysdeps/x86_64/tst-audit3.c: Likewise.
44704 * sysdeps/x86_64/tst-audit4.c: Likewise.
44705 * sysdeps/x86_64/tst-audit5.c: Likewise.
44706 * time/tst-ftime_l.c: Likewise.
44707 * time/tst-getdate.c: Likewise.
44708 * time/tst-mktime3.c: Likewise.
44709 * time/tst-mktime.c: Likewise.
44710 * time/tst-posixtz.c: Likewise.
44711 * time/tst-strptime2.c: Likewise.
44712 * time/tst-strptime3.c: Likewise.
44713 * wcsmbs/tst-btowc.c: Likewise.
44714 * wcsmbs/tst-mbrtowc.c: Likewise.
44715 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44716 * wcsmbs/tst-wchar-h.c: Likewise.
44717 * wcsmbs/tst-wcpncpy.c: Likewise.
44718 * wcsmbs/tst-wcrtomb.c: Likewise.
44719 * wcsmbs/tst-wcsnlen.c: Likewise.
44720 * wcsmbs/tst-wcstof.c: Likewise.
44721
44722 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44723
44724 [BZ #14132]
44725 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44726 INTDEF.
44727 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44728 declaration.
44729 (_dl_mcount): Use rtld_hidden_proto.
44730 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44731 _dl_mcount.
44732 * elf/rtld.c (_rtld_global_ro): Likewise.
44733
44734 [BZ #14132]
44735 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44736 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44737 of _dl_init_internal.
44738 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44739 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44740 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44741 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44742 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44743 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44744 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44745 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44746 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44747 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44748 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44749 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44750 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44751 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44752 * sysdeps/tile/dl-start.S (_start): Likewise.
44753 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44754 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44755
44756 [BZ #14132]
44757 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44758 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44759 (rtld_progname): Make macro definition unconditional.
44760 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44761 INTDEF.
44762 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44763 (dl_main): Likewise.
44764 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44765 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44766 instead of _dl_argv_internal.
44767 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44768 __GI__dl_argv instead of INTUSE(_dl_argv).
44769 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44770 __GI__dl_argv instead of _dl_argv_internal.
44771
44772 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44773 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44774 macro.
44775 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44776 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44777 New macro.
44778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44779 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44780 macro.
44781 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44782 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44783
44784 2014-11-04 Andreas Schwab <schwab@suse.de>
44785
44786 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44787
44788 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44789
44790 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44791 mtvsrd instruction in binary form.
44792
44793 2014-11-03 Andreas Schwab <schwab@suse.de>
44794
44795 [BZ #17522]
44796 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44797 for less than MB_LEN_MAX use a local buffer of that size.
44798 * libio/tst-fputws.c: New file.
44799 * libio/Makefile (tests): Add tst-fputws.
44800
44801 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44802
44803 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44804 the size of the fpu_fr.fpu_dregs[] array.
44805
44806 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44807
44808 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44809 (__nanosleep): Do not define as alias.
44810 (nanosleep): Define as alias of __nanosleep.
44811 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44812 __libc_nanosleep name.
44813
44814 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44815
44816 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44817 install.texi in comment.
44818
44819 2014-10-31 Torvald Riegel <triegel@redhat.com>
44820
44821 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44822 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44823 ... add here and use lwsync or sync ...
44824 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44825 ... and add here using lwsync.
44826
44827 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44828
44829 * elf/dl-machine-reject-phdr.h: New file.
44830 * elf/dl-load.c: #include that.
44831 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44832 if that returned true.
44833
44834 2014-10-31 Roland McGrath <roland@hack.frob.com>
44835
44836 [BZ #17496]
44837 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44838 gen-as-const-headers chunk. Add a big scare comment after the last
44839 safe place to touch before-compile.
44840
44841 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44842
44843 * manual/install.texi (Tools for Compilation): Update autoconf
44844 version requirements.
44845 * INSTALL: Regenerated.
44846
44847 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44848 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44849 (__libc_pselect): Likewise.
44850
44851 [BZ #14138]
44852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44856
44857 2014-10-31 Torvald Riegel <triegel@redhat.com>
44858
44859 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44860 correct barrier instruction.
44861 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44862 Likewise.
44863 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44864 Likewise.
44865
44866 2014-10-30 Roland McGrath <roland@hack.frob.com>
44867
44868 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44869 after defining inlines. Instead, just use parens to defeat macro
44870 expansion of __isctype in its declaration.
44871
44872 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44873
44874 * include/sys/uio.h (__libc_readv): Remove declaration.
44875 (__libc_writev): Likewise.
44876 * misc/readv.c (__libc_readv): Rename to __readv.
44877 (__readv): Do not define as alias.
44878 (readv): Define as alias of __readv.
44879 * misc/writev.c (__libc_writev): Rename to __writev.
44880 (__writev): Do not define as alias.
44881 (writev): Define as alias of __writev.
44882 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44883 (__readv): Do not define as alias.
44884 (readv): Define unconditionally as alias of __readv.
44885 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44886 (__writev): Do not define as alias.
44887 (writev): Define unconditionally as alias of __writev.
44888 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44889 name.
44890 (writev): Do not define __libc_writev name.
44891
44892 2014-10-30 Roland McGrath <roland@hack.frob.com>
44893
44894 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44895 (convert_charseq): New function, broken out of ...
44896 (use_from_charmap): ... here. Call it.
44897 (use_to_charmap): Use convert_charseq and free instead of duplicating
44898 its code with a variable-length stack struct.
44899
44900 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44901
44902 * include/fcntl.h (__libc_creat): Remove declaration.
44903 * io/creat.c (__libc_creat): Rename to creat.
44904 (creat): Do not define as alias.
44905 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44906 of creat instead of __libc_creat.
44907 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44908 to creat.
44909 (creat): Do not define as alias.
44910 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44911 __libc_creat.
44912 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44913 __libc_creat name.
44914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44915 Likewise.
44916
44917 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44918
44919 * manual/llio.texi: Add comments discussing why write() may be
44920 considered MT-unsafe on Linux.
44921
44922 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44923
44924 * dl-load.c (local_strdup): Remove.
44925 (expand_dynamic_string_token): Use __strdup.
44926 (decompose_rpath): Likewise.
44927 (_dl_map_object): Likewise.
44928
44929 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44930
44931 [BZ #14132]
44932 * sysdeps/generic/unwind-dw2-fde.c
44933 (__register_frame_info_bases_internal): Do not declare.
44934 (__register_frame_info_table_bases_internal): Likewise.
44935 (__deregister_frame_info_bases_internal): Likewise.
44936 (__register_frame_info_bases): Declare and use hidden_proto before
44937 definition. Use hidden_def instead of INTDEF.
44938 (__register_frame_info_table_bases): Likewise.
44939 (__deregister_frame_info_bases): Likewise.
44940 (__register_frame_info): Do not use INTUSE.
44941 (__register_frame): Likewise.
44942 (__register_frame_info_table): Likewise.
44943 (__register_frame_table): Likewise.
44944 (__deregister_frame_info): Likewise.
44945 (__deregister_frame): Likewise.
44946
44947 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44948
44949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44950 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44951 not undefine.
44952 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44953 Likewise.
44954 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44955 Likewise.
44956
44957 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44958
44959 [BZ #14138]
44960 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44961 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44962 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44963 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44964 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44965 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44966 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44967 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44968 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44969 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44970 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44971 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44972 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44973 syscall.
44974 (setfsuid): Likewise.
44975 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44976 (setfsuid): Likewise.
44977 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44978 (setfsuid): Likewise.
44979 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44980 Likewise.
44981 (setfsuid): Likewise.
44982 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44983 (setfsuid): Likewise.
44984 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44985 Likewise.
44986 (setfsuid): Likewise.
44987
44988 2014-10-27 Andreas Schwab <schwab@suse.de>
44989
44990 [BZ #17501]
44991 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44992 check for Slow_SSE4_2 feature bit.
44993 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44994 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44995 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44996 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44997
44998 2014-10-24 Roland McGrath <roland@hack.frob.com>
44999
45000 * configure.ac: Validate compiler version with a empirical test of
45001 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45002 $CC -v output.
45003 * configure: Regenerated.
45004
45005 * inet/htons.c (htons): Prototypify.
45006 * inet/htonl.c (htonl): Likewise.
45007
45008 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45009
45010 * string/strncat.c (strncat): Improve performance by using strlen.
45011
45012 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45013
45014 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45015
45016 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45017
45018 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45019 Call libc_fetestexcept_aarch64.
45020
45021 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45022
45023 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45024 Call libc_feholdexcept_aarch64.
45025
45026 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45027
45028 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45029 Call get_rounding_mode.
45030
45031 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45032
45033 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45034 Simplify logic.
45035
45036 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45037
45038 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45039 Simplify logic.
45040
45041 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45042
45043 [BZ #14138]
45044 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45045 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45046 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45047 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45048 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45049 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45050 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45051 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45052 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45053 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45055 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45056 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45057 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45058 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45059 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45060 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45061 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45062 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45063 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45064 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45065 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45066 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45067 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45068 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45069 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45070 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45071 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45072 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45073 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45074 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45075 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45076 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45077 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45078 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45079 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45080 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45081 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45082 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45083 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45084 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45085 syscall.
45086 (geteuid): Likewise.
45087 (getgid): Likewise.
45088 (getuid): Likewise.
45089 (getresgid): Likewise.
45090 (getresuid): Likewise.
45091 (getgroups): Likewise.
45092 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45093 (geteuid): Likewise.
45094 (getgid): Likewise.
45095 (getuid): Likewise.
45096 (getresgid): Likewise.
45097 (getresuid): Likewise.
45098 (getgroups): Likewise.
45099 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45100 (geteuid): Likewise.
45101 (getgid): Likewise.
45102 (getuid): Likewise.
45103 (getresgid): Likewise.
45104 (getresuid): Likewise.
45105 (getgroups): Likewise.
45106 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45107 Likewise.
45108 (geteuid): Likewise.
45109 (getgid): Likewise.
45110 (getuid): Likewise.
45111 (getresgid): Likewise.
45112 (getresuid): Likewise.
45113 (getgroups): Likewise.
45114 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45115 (geteuid): Likewise.
45116 (getgid): Likewise.
45117 (getuid): Likewise.
45118 (getresgid): Likewise.
45119 (getresuid): Likewise.
45120 (getgroups): Likewise.
45121 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45122 Likewise.
45123 (geteuid): Likewise.
45124 (getgid): Likewise.
45125 (getuid): Likewise.
45126 (getgroups): Likewise.
45127
45128 [BZ #14138]
45129 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45130 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45131 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45132 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45133 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45134 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45135 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45136 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45137 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45138 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45139 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45140 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45141 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45142 __chown.
45143 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45144 (lchown): Likewise.
45145 (fchown): Likewise.
45146 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45147 Likewise.
45148 (lchown): Likewise.
45149 (fchown): Likewise.
45150 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45151 (lchown): Likewise.
45152 (fchown): Likewise.
45153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45154 Likewise.
45155 (lchown): Likewise.
45156 (fchown): Likewise.
45157
45158 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45159
45160 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45161 Simplify logic.
45162
45163 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45164
45165 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45166 Cleanup logic.
45167
45168 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45169
45170 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45171 Remove unused include.
45172
45173 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45174
45175 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45177 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45178 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45179
45180 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45181 Helge Deller <deller@gmx.de>
45182
45183 [BZ #17508]
45184 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45185 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45186 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45187
45188 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45189
45190 [BZ #14132]
45191 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45192 Remove macro definition.
45193 (__ashrdi3_v_glibc20): Likewise.
45194 (__lshrdi3_v_glibc20): Likewise.
45195 (__cmpdi2_v_glibc20): Likewise.
45196 (__ucmpdi2_v_glibc20): Likewise.
45197 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45198 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45199 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45200 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45201 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45202 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45203
45204 2014-10-22 Roland McGrath <roland@hack.frob.com>
45205
45206 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45207 old GNU extension [0] syntax.
45208 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45209 alloca rather than an array member with variable length.
45210 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45211 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45212 (parse_opt): ... here. Likewise use alloca there.
45213 Validate the -i argument before checking for rootness.
45214 (send_shutdown): New function, broken out of ...
45215 (parse_opt): ... here.
45216
45217 2014-10-22 Roland McGrath <roland@hack.frob.com>
45218
45219 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45220 macro to get at the _rt_local_ro field.
45221 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45222 ([PIC] case) or _dl_hwcap ([!PIC] case).
45223 * sysdeps/arm/setjmp.S: Likewise.
45224
45225 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45226 * sysdeps/arm/configure.ac: New check to define it.
45227 * sysdeps/arm/configure: Regenerated.
45228 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45229 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45230 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45231 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45232 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45233 Use move/movt pair instead of a load.
45234 (LDST_GLOBAL): Macro removed.
45235 (LDR_GLOBAL): New macro replaces it.
45236 (LDR_HIDDEN): New macro.
45237 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45238 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45239
45240 * setjmp/tst-setjmp-static.c: New file.
45241 * setjmp/Makefile (tests): Add it.
45242 (tests-static): New variable.
45243
45244 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45245
45246 [BZ #17485]
45247 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45248
45249 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45250
45251 [BZ #14132]
45252 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45253
45254 2014-10-21 Roland McGrath <roland@hack.frob.com>
45255
45256 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45257
45258 2014-10-20 Roland McGrath <roland@hack.frob.com>
45259
45260 * io/fts.c (dirent_not_directory): New function.
45261 (fts_build): Call it.
45262
45263 2014-10-20 Roland McGrath <roland@hack.frob.com>
45264
45265 * nptl/version.c (__nptl_main): Use normal __write rather than
45266 INTERNAL_SYSCALL.
45267 (banner): Update copyright years.
45268
45269 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45270 gettimeofday.
45271 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45272 * nptl/pthread_cond_timedwait.c: Likewise.
45273 * nptl/pthread_mutex_timedlock.c: Likewise.
45274 * nptl/sem_timedwait.c: Likewise.
45275
45276 * sysdeps/nptl/bits/libc-lock.h
45277 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45278 (__libc_lock_init_recursive): Return void, not 0.
45279 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45280 (__libc_rwlock_init): Likewise.
45281 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45282
45283 2014-10-20 Torvald Riegel <triegel@redhat.com>
45284
45285 [BZ #15215]
45286 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45287 (__pthread_once_slow): ... here.
45288 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45289 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45290
45291 2014-10-20 Torvald Riegel <triegel@redhat.com>
45292
45293 [BZ #15215]
45294 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45295 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45296 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45297 * nptl/pthread_once.c (__pthread_once): Likewise.
45298 Update comments.
45299
45300 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45301
45302 [BZ #14138]
45303 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45304 name.
45305 (writev): Use __libc_writev as strong name.
45306 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45307 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45308
45309 2014-10-17 Roland McGrath <roland@hack.frob.com>
45310
45311 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45312
45313 * sysdeps/i386/nptl/tls.h
45314 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45315 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45316 New macros.
45317 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45318 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45319 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45320 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45321 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45322 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45323
45324 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45325 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45326 on [__NR_futex].
45327 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45328 broken out of ...
45329 (__pthread_mutex_init): ... here. Call it.
45330 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45331 Conditionalize PI cases on [__NR_futex].
45332 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45333 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45334 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45335
45336 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45337 conditional on [SIGSETXID].
45338 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45339 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45340 is defined. Likewise for SIGSETXID.
45341 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45342 Conditionalize definitions on [SIGSETXID].
45343 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45344 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45345 unblocking on [SIGCANCEL].
45346
45347 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45348 [__NR_set_robust_list].
45349
45350 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45351
45352 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45353 (do_compare): Likewise.
45354
45355 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45356
45357 [BZ #15884]
45358 * string/strcoll_l.c: Don't include stdio.h.
45359 (coll_seq): Remove members idxarr and rulearr.
45360 (get_next_seq_cached): Remove function.
45361 (get_next_seq): Likewise.
45362 (get_next_seq_nocache): Rename to get_next_seq.
45363 (do_compare): Remove function.
45364 (do_compare_nocache): Rename to do_compare.
45365 (STRCOLL): Remove weight and rules cache.
45366
45367 2014-10-16 Roland McGrath <roland@hack.frob.com>
45368
45369 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45370 * sysdeps/arm/sfp-machine.h: ... to here.
45371 * sysdeps/arm/Implies: Remove arm/soft-fp.
45372
45373 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45374
45375 * conform/data/sys/utsname.h-data (*_t): Allow.
45376 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45377 [POSIX] (WEXITED): Do not expect constant.
45378 [POSIX] (WSTOPPED): Likewise.
45379 [POSIX] (WNOHANG): Likewise.
45380 [POSIX] (WNOWAIT): Likewise.
45381 [POSIX] (siginfo_t): Do not expect type or elements.
45382 [POSIX] (pid_t): Do not expect type.
45383 [POSIX] (signal.h): Do not allow header.
45384 [POSIX] (sys/resource.h): Likewise.
45385 [POSIX] (si_*): Do not allow pattern.
45386 [POSIX] (W*): Likewise.
45387 [POSIX] (P_*): Likewise.
45388 [POSIX] (BUS_*): Likewise.
45389 [POSIX] (CLD_*): Likewise.
45390 [POSIX] (FPE_*): Likewise.
45391 [POSIX] (ILL_*): Likewise.
45392 [POSIX] (POLL_*): Likewise.
45393 [POSIX] (SEGV_*): Likewise.
45394 [POSIX] (SI_*): Likewise.
45395 [POSIX] (TRAP_*): Likewise.
45396 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45397 variable.
45398
45399 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45400
45401 [BZ #12926]
45402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45403 infinite loop when __recvmsg returns 0.
45404
45405 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45406
45407 * CANCEL-FCT-WAIVE: Remove file.
45408 * CANCEL-FILE-WAIVE: Likewise.
45409
45410 [BZ #14132]
45411 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45412 instead of INTVARDEF.
45413 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45414 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45415 rtld_hidden_data_def instead of INTVARDEF.
45416 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45417 * elf/dl-deps.c (expand_dst): Likewise.
45418 * elf/dl-load.c (_dl_dst_count): Likewise.
45419 (_dl_dst_substitute): Likewise.
45420 (decompose_rpath): Likewise.
45421 (_dl_init_paths): Likewise.
45422 (open_path): Likewise.
45423 (_dl_map_object): Likewise.
45424 * elf/rtld.c (dl_main): Likewise.
45425 (process_dl_audit): Likewise.
45426 (process_envvars): Likewise.
45427 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45428 Remove declaration.
45429 (__libc_enable_secure): Use rtld_hidden_proto.
45430
45431 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45432
45433 * elf/dl-load.c
45434 (add_path): New function broken out of _dl_rtld_di_serinfo.
45435 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45436
45437 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45438
45439 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45440 parentheses around macro arguments.
45441 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45444 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45445 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45446 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45448 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45449 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45450 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45452 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45453 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45454 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45455 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45456 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45457 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45464 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45466 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45467 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45468 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45470 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45471 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45472 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45473 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45474 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45475 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45476 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45477 Likewise.
45478 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45479 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45480 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45482 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45483 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45485 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45486 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45487 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45488 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45489 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45490 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45491 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45492 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45493 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45495 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45496 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45497 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45499 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45500 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45501 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45502 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45503 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45504 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45505 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45506 (_FP_FRAC_SRS_1): Likewise.
45507 (_FP_FRAC_CLZ_1): Likewise.
45508 (_FP_MUL_MEAT_1_imm): Likewise.
45509 (_FP_MUL_MEAT_1_wide): Likewise.
45510 (_FP_MUL_MEAT_1_hard): Likewise.
45511 (_FP_SQRT_MEAT_1): Likewise.
45512 (_FP_FRAC_ASSEMBLE_1): Likewise.
45513 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45514 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45515 (__FP_CLZ_2): Likewise.
45516 (_FP_MUL_MEAT_2_wide): Likewise.
45517 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45518 (_FP_MUL_MEAT_2_gmp): Likewise.
45519 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45520 (_FP_SQRT_MEAT_2): Likewise.
45521 (_FP_FRAC_ASSEMBLE_2): Likewise.
45522 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45523 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45524 (_FP_FRAC_CLZ_4): Likewise.
45525 (_FP_MUL_MEAT_4_wide): Likewise.
45526 (_FP_MUL_MEAT_4_gmp): Likewise.
45527 (_FP_SQRT_MEAT_4): Likewise.
45528 (_FP_FRAC_ASSEMBLE_4): Likewise.
45529 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45530 * soft-fp/op-common.h (_FP_CMP): Likewise.
45531 (_FP_CMP_EQ): Likewise.
45532 (_FP_CMP_UNORD): Likewise.
45533 (_FP_TO_INT): Likewise.
45534 (_FP_FROM_INT): Likewise.
45535 [!__FP_CLZ] (__FP_CLZ): Likewise.
45536 (_FP_DIV_HELP_imm): Likewise.
45537 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45538 Likewise.
45539 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45542 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45543 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45544 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45545 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45546 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45547 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45548 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45549 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45550 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45551 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45552 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45553 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45554 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45555 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45556 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45557 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45559 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45560 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45561 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45562 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45563 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45564 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45565 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45566 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45567 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45568 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45569 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45570 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45571 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45572 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45573 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45574 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45575 (FP_UNPACK_RAW_SP): Likewise.
45576 (FP_PACK_RAW_S): Likewise.
45577 (FP_PACK_RAW_SP): Likewise.
45578 (FP_UNPACK_S): Likewise.
45579 (FP_UNPACK_SP): Likewise.
45580 (FP_UNPACK_SEMIRAW_S): Likewise.
45581 (FP_UNPACK_SEMIRAW_SP): Likewise.
45582 (FP_PACK_S): Likewise.
45583 (FP_PACK_SP): Likewise.
45584 (FP_PACK_SEMIRAW_S): Likewise.
45585 (FP_PACK_SEMIRAW_SP): Likewise.
45586 (_FP_SQRT_MEAT_S): Likewise.
45587 (FP_CMP_S): Likewise.
45588 (FP_CMP_EQ_S): Likewise.
45589 (FP_CMP_UNORD_S): Likewise.
45590 (FP_TO_INT_S): Likewise.
45591 (FP_FROM_INT_S): Likewise.
45592
45593 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45594
45595 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45596 (FP_EX_INVALID_IMZ): Likewise.
45597 (FP_EX_INVALID_IMZ_FMA): Likewise.
45598 (FP_EX_INVALID_ISI): Likewise.
45599 (FP_EX_INVALID_ZDZ): Likewise.
45600 (FP_EX_INVALID_IDI): Likewise.
45601 (FP_EX_INVALID_SQRT): Likewise.
45602 (FP_EX_INVALID_CVI): Likewise.
45603 (FP_EX_INVALID_VC): Likewise.
45604 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45605 "invalid" exceptions.
45606 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45607 (_FP_ADD_INTERNAL): Likewise.
45608 (_FP_MUL): Likewise.
45609 (_FP_FMA): Likewise.
45610 (_FP_DIV): Likewise.
45611 (_FP_CMP_CHECK_NAN): Likewise.
45612 (_FP_SQRT): Likewise.
45613 (_FP_TO_INT): Likewise.
45614 (FP_EXTEND): Likewise.
45615
45616 2014-10-09 Allan McRae <allan@archlinux.org>
45617
45618 * po/fr.po: Update French translation from translation project.
45619
45620 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45621
45622 [BZ #14132]
45623 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45624 of INTDEF.
45625 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45626 (__cxa_atexit): Use libc_hidden_proto.
45627 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45628
45629 [BZ #14132]
45630 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45631 declaration.
45632 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45633 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45634 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45635 [!_ISOMAC] (__iswctype_internal): Likewise.
45636 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45637 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45638 alias.
45639 (fcntl): Remove __fcntl_internal alias.
45640 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45641 __connect_internal alias.
45642 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45643 Likewise.
45644
45645 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45646 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45647 FP_DENORM_ZERO.
45648 (_FP_CHECK_FLUSH_ZERO): New macro.
45649 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45650 (_FP_CMP): Likewise.
45651 (_FP_CMP_EQ): Likewise.
45652 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45653 FP_DENORM_ZERO.
45654 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45655 (FP_TRUNC): Likewise.
45656
45657 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45658 treated as invalid conversion, not as normal exponent.
45659
45660 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45661 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45662 (_FP_CMP_EQ): Likewise.
45663 (_FP_CMP_UNORD): Likewise.
45664 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45665 (FP_CMP_EQ_D): Likewise.
45666 (FP_CMP_UNORD_D): Likewise.
45667 * soft-fp/extended.h (FP_CMP_E): Likewise.
45668 (FP_CMP_EQ_E): Likewise.
45669 (FP_CMP_UNORD_E): Likewise.
45670 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45671 (FP_CMP_EQ_Q): Likewise.
45672 (FP_CMP_UNORD_Q): Likewise.
45673 * soft-fp/single.h (FP_CMP_S): Likewise.
45674 (FP_CMP_EQ_S): Likewise.
45675 (FP_CMP_UNORD_S): Likewise.
45676 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45677 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45678 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45679 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45680 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45681 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45682 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45683 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45684 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45685 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45686 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45687 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45688 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45689 to FP_CMP_Q.
45690 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45691 FP_CMP_Q.
45692 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45693 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45694 FP_CMP_EQ_Q.
45695 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45696 FP_CMP_Q.
45697 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45698 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45699 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45700 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45701 FP_CMP_EQ_Q.
45702 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45703 FP_CMP_Q.
45704 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45705 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45706 FP_CMP_EQ_Q.
45707 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45708 FP_CMP_Q.
45709 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45710 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45711 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45712 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45713 FP_CMP_EQ_Q.
45714
45715 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45716 a subnormal result, set the underflow exception if trapping on
45717 underflow is enabled.
45718 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45719 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45720 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45721 redefine to 0.
45722 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45723 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45724 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45725 * soft-fp/extendxftf2.c (__extendxftf2): Use
45726 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45727
45728 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45729 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45730 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45731 FP_HANDLE_EXCEPTIONS.
45732 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45733 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45734 FP_HANDLE_EXCEPTIONS.
45735 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45736 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45737 FP_HANDLE_EXCEPTIONS.
45738 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45739 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45740 FP_HANDLE_EXCEPTIONS.
45741
45742 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45743
45744 [BZ #14132]
45745 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45746 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45747 use INTUSE.
45748 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45749 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45750 Remove alias.
45751 (__adjtimex): Define using libc_hidden_ver.
45752 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45753 Remove declaration.
45754 (ntp_gettime): Call __adjtimex directly.
45755 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45756 Remove declaration.
45757 (ntp_gettimex): Call __adjtimex directly.
45758 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45759 __adjtimex_internal alias.
45760
45761 2014-10-08 Roland McGrath <roland@hack.frob.com>
45762
45763 [BZ #17460]
45764 * nscd/nscd.c (more_help): Rewrite list of tables collection
45765 using xstrdup and asprintf.
45766
45767 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45768
45769 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45770 Roland McGrath <roland@hack.frob.com>
45771
45772 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45773 (do_lookup_unique): ... local function 'enter' here; update callers.
45774
45775 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45776
45777 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45778 compat_symbol calls on [SHARED].
45779 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45780 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45781 Remove.
45782 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45783 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45784 (oldsetrlimit): Remove.
45785 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45787 (lchown): New syscall entry.
45788 (oldsetrlimit): Remove.
45789 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45791 (oldsetrlimit): Remove.
45792 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45793
45794 [BZ #14138]
45795 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45796 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45797 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45798 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45799 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45800 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45801 (fchown): Likewise.
45802 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45803 (fchown): Likewise.
45804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45805 Likewise.
45806
45807 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45808
45809 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45810 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45811 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45812 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45813 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45814 Likewise.
45815 (__old_sem_post): Likewise.
45816
45817 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45818
45819 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45820 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45821 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45822 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45823 Use INLINE_VSYSCALL macro.
45824 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45825 __vdso_clock_gettime.
45826 * sysdeps/unix/sysv/linux/tile/init-first.c
45827 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45828 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45829 __vdso_clock_gettime.
45830
45831 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45832 to set up frame more cleanly.
45833
45834 * sysdeps/tile/memcmp.c: New file.
45835
45836 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45837
45838 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45839 * sysdeps/tile/tilegx/strcasestr.c: New file.
45840 * sysdeps/tile/tilegx/strnlen.c: New file.
45841 * sysdeps/tile/tilegx/strstr.c: New file.
45842
45843 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45844
45845 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45846
45847 * nptl/tst-setuid3.c: Write errors to stdout.
45848
45849 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45850
45851 * elf/dl-deps.c
45852 (preload): New functions broken out of _dl_map_object_deps.
45853 (_dl_map_object_deps): Remove a nested function. Update call sites.
45854
45855 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45856
45857 [BZ #14138]
45858 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45859 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45860
45861 2014-10-01 Steve Ellcey <sellcey@mips.com>
45862
45863 * sysdeps/mips/strcmp.S: New.
45864
45865 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45866
45867 [BZ #14138]
45868 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45869 (linkat): Likewise.
45870 (mkdirat): Likewise.
45871 (readlinkat): Likewise.
45872 (renameat): Likewise.
45873 (symlinkat): Likewise.
45874 (unlinkat): Likewise.
45875 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45876 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45877 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45878 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45879 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45880 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45881 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45882
45883 2014-09-30 Will Newton <will.newton@linaro.org>
45884
45885 * math/math.h: Define long double math functions if
45886 _LIBC_TEST is defined.
45887 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45888
45889 * localedata/Makefile: Move assignment to tests-special
45890 into an ifdef testing run-built-tests.
45891 * timezone/Makefile: Likewise.
45892
45893 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45894
45895 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45896 with $(BASH) not $(SHELL).
45897
45898 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45899 Matthew LeGendre <legendre1@llnl.gov>
45900
45901 [BZ #17411]
45902 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45903 l_reloc_result.
45904
45905 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45906
45907 * stdio-common/printf_fp.c
45908 (hack_digit): New function, broken out of ...
45909 (__printf_fp): ... local function here. Update call sites.
45910 hack_digit now takes an additional parameter that is a pointer
45911 to a struct of the referenced locals. Those locals moved inside
45912 the struct and references updated.
45913
45914 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45915
45916 * aclocal.m4: Require autoconf 2.69.
45917 * configure: Regenerated.
45918 * sysdeps/aarch64/configure: Likewise.
45919 * sysdeps/alpha/configure: Likewise.
45920 * sysdeps/arm/armv7/configure: Likewise.
45921 * sysdeps/arm/configure: Likewise.
45922 * sysdeps/ia64/configure: Likewise.
45923 * sysdeps/mach/configure: Likewise.
45924 * sysdeps/mips/configure: Likewise.
45925 * sysdeps/s390/configure: Likewise.
45926 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45928
45929 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45930 file.
45931 * sysdeps/ia64/configure.ac: Likewise.
45932
45933 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45934
45935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45936 specify symbol version for ld.so. Do not include entry for
45937 libpthread.
45938 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45939 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45940 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45941
45942 [BZ #14171]
45943 * Makeconfig [$(build-shared) = yes]
45944 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45945 makefiles.
45946 [$(build-shared) = yes && $(soversions.mk-done) = t]
45947 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45948 [$(build-shared) = yes && $(soversions.mk-done) = t]
45949 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45950 to Makerules.
45951 [$(build-shared) = yes && $(soversions.mk-done) = t]
45952 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45953 here.
45954 [$(build-shared) = yes && $(soversions.mk-done) = t]
45955 (common-generated): Don't append gnu/lib-names.h and
45956 gnu/lib-names.stmp here.
45957 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45958 (lib-names-h-abi): New variable.
45959 [$(build-shared) = yes && $(soversions.mk-done) = t]
45960 (lib-names-stmp-abi): Likewise.
45961 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45962 abi-variants] (before-compile): Append
45963 $(common-objpfx)$(lib-names-h-abi).
45964 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45965 abi-variants] (common-generated): Append gnu/lib-names.h.
45966 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45967 abi-variants] (install-others-nosubdir): Depend on
45968 $(inst_includedir)/$(lib-names-h-abi).
45969 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45970 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45971 [$(build-shared) = yes && $(soversions.mk-done) = t]
45972 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45973 [$(build-shared) = yes && $(soversions.mk-done) = t]
45974 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45975 [$(build-shared) = yes && $(soversions.mk-done) = t]
45976 (common-generated): Append $(lib-names-h-abi) and
45977 $(lib-names-stmp-abi).
45978 * scripts/lib-names.awk: Do not handle multi being set.
45979 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45980 Remove variable.
45981 (abi-lp64_be-ld-soname): Likewise.
45982 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45983 Likewise.
45984 (abi-hard-ld-soname): Likewise.
45985 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45986 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45987 Remove variable.
45988 (abi-o32_hard-ld-soname): Likewise.
45989 (abi-o32_soft_2008-ld-soname): Likewise.
45990 (abi-o32_hard_2008-ld-soname): Likewise.
45991 (abi-n32_soft-ld-soname): Likewise.
45992 (abi-n32_hard-ld-soname): Likewise.
45993 (abi-n32_soft_2008-ld-soname): Likewise.
45994 (abi-n32_hard_2008-ld-soname): Likewise.
45995 (abi-n64_soft-ld-soname): Likewise.
45996 (abi-n64_hard-ld-soname): Likewise.
45997 (abi-n64_soft_2008-ld-soname): Likewise.
45998 (abi-n64_hard_2008-ld-soname): Likewise.
45999 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46000 Likewise.
46001 (abi-64-v2-ld-soname): Likewise.
46002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46003 ld.so entries.
46004 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46005 variable.
46006 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46007 entry.
46008 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46009 variable.
46010 (abi-64-ld-soname): Likewise.
46011 (abi-x32-ld-soname): Likewise.
46012 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46013 entry.
46014 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46015
46016 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46017
46018 [BZ #14138]
46019 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46020 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46021 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46022 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46023 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46024 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46025 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46026 syscall entry for GLIBC_2.2 symbol version.
46027 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46028 Likewise.
46029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46030 (setrlimit): Likewise.
46031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46032 Likewise.
46033
46034 2014-09-23 Will Newton <will.newton@linaro.org>
46035
46036 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46037 _LINUX_ARM_SYSDEP_H include guard too.
46038 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46039 define.
46040
46041 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46042
46043 * sysdeps/unix/sysv/linux/eventfd.c:
46044 Make first argument unsigned.
46045 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46046 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46047
46048 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
46049
46050 [BZ #16852]
46051 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46052 * socket/sys/socket.h: Likewise.
46053 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46054
46055 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46056
46057 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46058
46059 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46060
46061 * time/tst-ftime.c: New test.
46062 * time/Makefile (tests): Add tst-ftime.
46063
46064 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46065
46066 * soft-fp/extended.h: Fix comment formatting.
46067 * soft-fp/op-1.h: Likewise.
46068 * soft-fp/op-2.h: Likewise.
46069 * soft-fp/op-4.h: Likewise.
46070 * soft-fp/op-8.h: Likewise.
46071 * soft-fp/op-common.h: Likewise.
46072 * soft-fp/soft-fp.h: Likewise.
46073
46074 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46075
46076 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46077
46078 [BZ #6652]
46079 * Makeconfig (soversions-default-setname): Remove variable.
46080 ($(common-objpfx)soversions.i): Don't pass default_setname to
46081 soversions.awk.
46082 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46083 oldest_abi to abi-versions.awk.
46084 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46085 * config.make.in (oldest-abi): Remove variable.
46086 * configure.ac (--enable-oldest-abi): Remove configure option.
46087 * configure: Regenerated.
46088 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46089 text.
46090 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46091 * scripts/soversions.awk: Do not handle default_setname variable.
46092 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46093 variable.
46094 * sysdeps/mach/hurd/configure: Regenerated.
46095 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46096 variable.
46097 * sysdeps/unix/sysv/linux/configure: Regenerated.
46098
46099 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46100
46101 * elf/Makefile (CFLAGS-interp.c): Remove.
46102 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46103 path string.
46104 * elf/interp.c: Include generated runtime-linker.h
46105
46106 * Makerules (lib%.so): Don't include $(+interp) in
46107 prerequisites.
46108 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46109 * dlfcn/eval.c: Remove file.
46110
46111 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46112 macros.
46113
46114 [BZ #17266]
46115 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46116 4.2 and newer.
46117
46118 [BZ #17370]
46119 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46120
46121 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46122 Jakub Jelinek <jakub@redhat.com>
46123
46124 [BZ #17266]
46125 * libio/stdio.h: Check definition of __fortify_function
46126 instead of __extern_always_inline to include bits/stdio2.h.
46127 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46128 check if __extern_always_inline is defined.
46129 [__USE_MISC || __USE_XOPEN]: Likewise.
46130 [__USE_ISOC99] Likewise.
46131 * misc/sys/cdefs.h (__fortify_function): Define only if
46132 __extern_always_inline is defined.
46133 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46134 __extern_always_inline and __extern_inline only for g++-4.3
46135 and newer or a compatible gcc.
46136
46137 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46138
46139 [BZ #17371]
46140 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46141 last change to handle zero prefix length.
46142
46143 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46144
46145 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46146 _SC_REGEX_VERSION.
46147
46148 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46149 _POSIX_RAW_SOCKETS.
46150
46151 2014-09-13 Allan McRae <allan@archlinux.org>
46152
46153 * po/ru.po: Update Russian translation from translation project.
46154
46155 2014-09-12 Roland McGrath <roland@hack.frob.com>
46156
46157 * locale/programs/locale.c (show_locale_vars): Inline local function
46158 into its sole call site. Clean up some style nits.
46159 (print_item): New function, broken out of ...
46160 (show_info): ... local function here. Clean up style nits.
46161
46162 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46163 out of ...
46164 (set_class_defaults): ... local function set_default here.
46165 Define set_default as a macro locally to pass constant parameters.
46166 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46167 rather than a shared local.
46168
46169 * stdlib/rpmatch.c (try): New function, broken out of ...
46170 (rpmatch): ... local function here. Also, prototypify definition.
46171
46172 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46173
46174 * scripts/soversions.awk: Do not handle configuration names.
46175 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46176 vendor and os variables to soversions.awk.
46177 * configure.ac: Do not modify gnu-* host_os.
46178 * configure: Regenerated
46179 * shlib-versions: Remove first column with configuration names.
46180 * nptl/shlib-versions: Likewise.
46181 * nptl_db/shlib-versions: Likewise.
46182 * sysdeps/hppa/shlib-versions: Likewise.
46183 * sysdeps/m68k/shlib-versions: Likewise.
46184 * sysdeps/mach/hurd/shlib-versions: Likewise.
46185 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46186 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46187 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46188 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46189 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46190 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46191 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46192 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46194 Likewise.
46195 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46196 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46197 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46198 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46199 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46200 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46201 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46202 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46203
46204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46205 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46207 Regenerated.
46208 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46210 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46211
46212 * shlib-versions: Remove OS-specific entries. Moved to files in
46213 sysdeps.
46214 * sysdeps/mach/hurd/shlib-versions: New file.
46215 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46216
46217 * nptl/shlib-versions: Remove architecture-specific entries.
46218 Moved to files in sysdeps.
46219 * shlib-versions: Likewise.
46220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46221 file.
46222 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46223 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46224 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46225 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46226
46227 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46228 (UDP_NO_CHECK6_RX): Likewise.
46229
46230 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46231
46232 * sysdeps/posix/sysconf.c (__sysconf): Spell
46233 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46234
46235 2014-08-12 Florian Weimer <fweimer@redhat.com>
46236
46237 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46238 loading.
46239 * iconv/Versions (__gconv_transliterate): Export for use from
46240 gconv modules.
46241 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46242 (struct __gconv_trans_data, __gconv_trans_fct,
46243 __gconv_trans_context_fct, __gconv_trans_query_fct,
46244 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46245 definitions.
46246 (struct __gconv_step_data): Remove __trans member.
46247 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46248 longer hidden. Remove unused trans_data argument.
46249 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46250 (__gconv_translit_find): Remove declaration.
46251 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46252 prototype.
46253 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46254 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46255 trans_data argument. Add hidden definition.
46256 (__gconv_translit_find): Remove.
46257 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46258 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46259 * iconv/skeleton.c: Remove transliteration initialization.
46260 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46261 __gconv_step_data initialization.
46262 * libio/iofwide.c (__libio_translit_): Remove.
46263 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46264 * wcsmbs/btowc.c (__btowc): Likewise.
46265 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46266 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46267 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46268 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46269 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46270 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46271 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46272 * wcsmbs/wctob.c (wctob): Likewise.
46273
46274 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46275
46276 [BZ #16194]
46277 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46278 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46279 register usage.
46280 * sysdeps/x86/Makefile: Adjust.
46281
46282 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46283 Roland McGrath <roland@hack.frob.com>
46284
46285 * locale/weight.h: Add include guard.
46286 (findidx): Make static rather than auto; take new parameters
46287 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46288 * locale/weightwc.h: Likewise.
46289 * posix/fnmatch_loop.c
46290 (FCT): Change type of EXTRA from int32_t to wint_t.
46291 Don't include either header inside the function.
46292 Call FINDIDX rather than findidx, and pass new arguments.
46293 #undef FINDIDX at the end of the file.
46294 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46295 FINDIDX before including fnmatch_loop.c for the non-wide version.
46296 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46297 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46298 for the wide version.
46299 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46300 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46301 Pass new arguments to findidx.
46302 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46303 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46304 Don't #include it inside the function. Pass new arguments to findidx.
46305 * posix/regex_internal.h
46306 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46307 (re_string_elem_size_at): Don't #include it inside the function.
46308 Pass new arguments to findidx.
46309 * string/strcoll_l.c: #include WEIGHT_H at top level.
46310 (get_next_seq): Don't #include it inside the function.
46311 Pass new arguments to findidx.
46312 (get_next_seq_nocache): Likewise.
46313 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46314 (STRXFRM): Don't #include it inside the function.
46315 Pass new arguments to findidx.
46316
46317 2014-09-11 Florian Weimer <fweimer@redhat.com>
46318
46319 [BZ #17344]
46320 * malloc/malloc.c (unlink): Turn asserts into a call to
46321 malloc_printerr.
46322
46323 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46324
46325 [BZ #17370]
46326 * libio/wfileops (do_ftell_wide): Free OUT.
46327
46328 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46329
46330 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46331
46332 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46333
46334 [BZ #17363]
46335 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46336 group if the current group is empty.
46337
46338 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46339
46340 * benchtests/bench-memset.c (test_main): Add more test from size
46341 from 32 to 512 bytes.
46342 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46343 Add POWER8 memset object.
46344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46345 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46346 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46347 implementation.
46348 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46349 Likewise.
46350 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46351 multiarch POWER8 memset optimization.
46352 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46353 POWER8 memset optimization.
46354
46355 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46356 Remove bzero multiarch objects.
46357 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46358 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46359 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46360 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46361 Remove define.
46362 [__bzero]: Redefine to specific name.
46363 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46364 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46365 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46366 define.
46367 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46368 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46369
46370 2014-09-10 Florian Weimer <fweimer@redhat.com>
46371
46372 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46373 warnings into errors.
46374
46375 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46376 __cxa_thread_atexit_impl prototype.
46377
46378 2014-09-09 Steve Ellcey <sellcey@mips.com>
46379
46380 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46381 Fix capitalization of error message.
46382
46383 2014-09-09 Steve Ellcey <sellcey@mips.com>
46384
46385 * sysdeps/mips/preconfigure: Modify ABI tests.
46386
46387 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46388
46389 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46390
46391 2014-09-07 Roland McGrath <roland@hack.frob.com>
46392 Carlos O'Donell <carlos@systemhalted.org>
46393
46394 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46395 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46396 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46397 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46398 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46399 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46400 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46401 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46402 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46403 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46404 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46405 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46406 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46407 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46408 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46409 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46410 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46411 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46412 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46413 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46414 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46415 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46416 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46417 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46418 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46419 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46420 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46421 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46422 Deconditionalize the code that was previously under [RESET_PID].
46423 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46424 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46425 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46426 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46427 include sysdep.h.
46428
46429 2014-09-08 Allan McRae <allan@archlinux.org>
46430
46431 * version.h (RELEASE): Set to "development".
46432 (VERSION): Set to "2.20.90"
46433
46434 2014-09-07 Allan McRae <allan@archlinux.org
46435
46436 * version.h (RELEASE): Set to "stable".
46437 (VERSION): Set to "2.20"
46438 * include/features.h (__GLIBC_MINOR__): Set to 20.
46439
46440 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46441 Liebler.
46442
46443 * po/ko.po: Update Korean translation from translation project.
46444
46445 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46446
46447 [BZ #17354]
46448 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46449 macro for handling signed relocations.
46450
46451 2014-09-03 Florian Weimer <fweimer@redhat.com>
46452
46453 [BZ #17325]
46454 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46455 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46456 assert.
46457 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46458 * iconvdata/ibm935.c (BODY): Likewise.
46459 * iconvdata/ibm937.c (BODY): Likewise.
46460 * iconvdata/ibm939.c (BODY): Likewise.
46461 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46462 assert.
46463 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46464 script.
46465 * iconvdata/run-iconv-test.sh: New test loop for checking for
46466 decoder crashers.
46467
46468 2014-09-02 Khem Raj <raj.khem@gmail.com>
46469
46470 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46471 libm_hidden_ver.
46472
46473 2014-09-01 Allan McRae <allan@archlinux.org>
46474
46475 * po/eo.po: Update Esperanto translation from translation project.
46476
46477 * po/ca.po: Update Catalan translation from translation project.
46478
46479 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46480
46481 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46482 __proc_dostop call.
46483
46484 2014-08-27 Mark Wielaard <mjw@redhat.com>
46485
46486 [BZ #17319]
46487 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46488 to call set_thread_area instead of hand written asm.
46489 (__NR_set_thread_area): Removed define.
46490 (TLS_FLAG_WRITABLE): Likewise.
46491 (__ASSUME_SET_THREAD_AREA): Remove check.
46492 (TLS_EBX_ARG): Remove define.
46493 (TLS_LOAD_EBX): Likewise.
46494
46495 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46496
46497 Simplify atomicity of socket creation in bind.
46498
46499 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46500 looking up the name after linking the file.
46501
46502 2014-08-27 Allan McRae <allan@archlinux.org>
46503
46504 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46505
46506 2014-08-26 Florian Weimer <fweimer@redhat.com>
46507
46508 [BZ #17187]
46509 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46510 trans_compare, open_translit, __gconv_translit_find):
46511 Remove module loading code.
46512
46513 2014-08-26 Allan McRae <allan@archlinux.org>
46514
46515 * po/vi.po: Update Vietnamese translation from translation project.
46516
46517 * po/uk.po: Update Ukrainian translation from translation project.
46518
46519 * po/fr.po: Update French translation from translation project.
46520
46521 * po/ru.po: Update Russian translation from translation project.
46522
46523 * po/pl.po: Update Polish translation from translation project.
46524
46525 * po/cs.po: Update Czech translation from translation project.
46526
46527 * po/de.po: Update German translation from translation project.
46528
46529 * po/bg.po: Update Bulgarian translation from translation project.
46530
46531 * po/sv.po: Update Sweedish translation from translation project.
46532
46533 * po/nl.po: Update Dutch translation from translation project.
46534
46535 * po/es.po: Update Spanish translation from translation project.
46536
46537 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46538
46539 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46540
46541 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46542 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46543 (CPPFLAGS-iconvconfig): Likewise.
46544 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46545
46546 * include/libc-symbols.h: Remove unnecessary check for
46547 NOT_IN_libc.
46548 * nptl/pthreadP.h: Likewise.
46549 * sysdeps/aarch64/setjmp.S: Likewise.
46550 * sysdeps/alpha/setjmp.S: Likewise.
46551 * sysdeps/arm/sysdep.h: Likewise.
46552 * sysdeps/i386/setjmp.S: Likewise.
46553 * sysdeps/m68k/setjmp.c: Likewise.
46554 * sysdeps/posix/getcwd.c: Likewise.
46555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46556 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46557 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46558 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46559 * sysdeps/sh/sh3/setjmp.S: Likewise.
46560 * sysdeps/sh/sh4/setjmp.S: Likewise.
46561 * sysdeps/unix/alpha/sysdep.h: Likewise.
46562 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46564 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46565 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46570 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46573 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46575 * sysdeps/x86_64/setjmp.S: Likewise.
46576
46577 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46578
46579 [BZ #17263]
46580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46581 <stdint.h>.
46582 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46583 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46584
46585 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46586
46587 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46588
46589 [BZ #17262]
46590 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46591 and __x86_64__ when disabling x87 inline functions.
46592
46593 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46594
46595 [BZ #17259]
46596 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46597 asm statement with __cpuid_count.
46598
46599 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46600
46601 * configure.ac: Change __ehdr_start code to dereference the struct.
46602 Run readelf on the output to look for relocations.
46603 * configure: Regenerated.
46604
46605 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46606
46607 [BZ #17261]
46608 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46609 value to 0.
46610 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46611
46612 2014-08-12 Roland McGrath <roland@hack.frob.com>
46613
46614 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46615
46616 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46617
46618 [BZ #16892]
46619 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46620 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46621
46622 2014-08-12 Sean Anderson <seanga2@gmail.com>
46623
46624 * malloc/malloc.c: Fix typo in comment.
46625
46626 2014-08-09 Allan McRae <allan@archlinux.org>
46627
46628 * Regenerate libc.po.
46629
46630 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46631
46632 * intl/tst-gettext2.sh: Check every lang file for creation.
46633
46634 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46635
46636 * sysdeps/aarch64/fpu/math_private.h
46637 (libc_feholdsetround_noex_aarch64_ctx): New function.
46638
46639 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46640
46641 * sysdeps/arm/armv6/strcpy.S (strcpy):
46642 Fix performance issue in misaligned cases.
46643
46644 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46645
46646 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46647 Move definition from termios.h.
46648 (struct termio): Likewise.
46649 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46650 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46651 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46652 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46653 Likewise.
46654 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46655 Move definition to ioctl-types.h
46656 (struct termio): Likewise.
46657 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46658 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46659 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46660 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46661 Likewise.
46662
46663 2014-08-05 Richard Henderson <rth@redhat.com>
46664
46665 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46666 exceptions.
46667 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46668 Add fraiseexcpt.
46669 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46670 Use __feraiseexcept.
46671 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46672 Protect libm symbols with IS_IN_libm.
46673
46674 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46675
46676 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46677
46678 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46679
46680 2014-08-04 Will Newton <will.newton@linaro.org>
46681
46682 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46683 file.
46684
46685 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46686
46687 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46688 variants for each function.
46689
46690 2014-08-04 Roland McGrath <roland@hack.frob.com>
46691
46692 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46693 appended ...
46694 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46695 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46696 appended ...
46697 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46698 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46699 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46700 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46701 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46702 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46703 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46704 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46705 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46706 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46707 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46708 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46709 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46710 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46711 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46712 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46713 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46714 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46715 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46716 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46717 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46718 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46719 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46720 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46721 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46722 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46723 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46724 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46725 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46726 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46727 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46728 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46729 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46730 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46731 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46732 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46733 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46734 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46735 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46736 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46737 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46739 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46740 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46741 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46742 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46743 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46744 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46745 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46747 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46748 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46749 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46750 Update #include.
46751 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46752 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46753
46754 2014-08-04 Roland McGrath <roland@hack.frob.com>
46755
46756 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46757 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46758 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46759 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46760 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46761 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46762
46763 2014-08-04 Roland McGrath <roland@hack.frob.com>
46764
46765 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46766 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46767 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46768 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46769
46770 2014-08-04 Roland McGrath <roland@hack.frob.com>
46771
46772 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46773 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46774 (__libc_vfork): Define function under this name.
46775 (__vfork): Define as an alias.
46776 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46777 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46778
46779 2014-08-04 Roland McGrath <roland@hack.frob.com>
46780
46781 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46782 that was previously under [RESET_PID].
46783 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46784
46785 2014-08-04 Andreas Schwab <schwab@suse.de>
46786
46787 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46788
46789 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46790
46791 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46792 (main): Likewise.
46793
46794 2014-08-01 Roland McGrath <roland@hack.frob.com>
46795
46796 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46797
46798 2014-08-01 Richard Henderon <rth@redhat.com>
46799
46800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46801 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46802 typo in exact zero test.
46803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46804 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46806
46807 2014-08-01 Roland McGrath <roland@hack.frob.com>
46808
46809 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46810 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46811 * sysdeps/arm/sysdep.h: ... here.
46812 [!__ASSEMBLER__]: Include <stdint.h>.
46813
46814 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46815
46816 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46817 (HAVE_WCTYPE_H): Likewise.
46818 (HAVE_ISWCTYPE): Likewise.
46819 (ENABLE_NLS): Likewise.
46820 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46821 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46822
46823 * posix/regex_internal.c: Check if DEBUG is defined and is
46824 set.
46825
46826 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46827 (HAVE_MBSRTOWCS): Likewise.
46828 * posix/fnmatch.c: Include string.h unconditionally.
46829
46830 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46831
46832 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46833 reversal.
46834
46835 2014-07-31 Roland McGrath <roland@hack.frob.com>
46836
46837 * sysdeps/generic/safe-fatal.h: New file.
46838 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46839 * nptl/forward.c: Include it.
46840 (__pthread_unwind): Use __safe_fatal as default action, rather
46841 than a bogus use of INTERNAL_SYSCALL that could never work.
46842
46843 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46844 * configure.ac (libc_cv_builtin_trap): New test.
46845 * configure: Regenerated.
46846 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46847 (ABORT_INSTRUCTION): Define using __builtin_trap.
46848
46849 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46850 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46851 * sysdeps/nptl/nptl-signals.h: New file.
46852 * nptl/pthreadP.h: Include <nptl-signals.h>.
46853
46854 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46855
46856 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46857 (ONE_DIRECTION): Define.
46858 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46859 (ONE_DIRECTION): Define.
46860 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46861 (ONE_DIRECTION): Define.
46862
46863 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46864
46865 * sysdeps/s390/Makefile: Delete file.
46866 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46867 * sysdeps/s390/__longjmp.c: Delete file.
46868 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46869 Remove fields __flags and __reserved.
46870 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46871 and add versioning.
46872 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46873 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46874 * sysdeps/s390/rtld-setjmp.S: Likewise.
46875 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46876 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46877 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46878 * sysdeps/s390/s390-32/setjmp.S: ... here.
46879 Add versioning.
46880 (__sigsetjmp): Remove setting __flags field.
46881 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46882 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46883 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46884 * sysdeps/s390/s390-64/setjmp.S: ... here.
46885 Add versioning.
46886 (__sigsetjmp): Remove setting __flags field.
46887 * sysdeps/s390/setjmp.S: Delete file.
46888 * sysdeps/s390/sigjmp.c: Likewise.
46889 * sysdeps/s390/v1-longjmp.c: Likewise.
46890 * sysdeps/s390/v1-setjmp.h: Likewise.
46891 * sysdeps/s390/v1-sigjmp.c: Likewise.
46892 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46893 Remove v1-longjmp_chk.
46894 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46895 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46896 Include debug/longjmp_chk.c and add versioning.
46897 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46898 Include nptl/pt-longjmp.c and add versioning.
46899 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46900 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46901 Include __longjmp.c.
46902 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46903 Move to ...
46904 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46905 (__getcontext): Remove setting __flags field.
46906 Add versioning.
46907 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46908 Don't restore upper high grps.
46909 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46910 Likewise.
46911 (__swapcontext): Remove setting uc_flags field.
46912 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46913 Delete file.
46914 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46915 Include __longjmp.c.
46916 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46917 Move to ...
46918 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46919 (__getcontext): Remove setting __flags field.
46920 Add versioning.
46921 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46922 (__swapcontext): Remove setting uc_flags field.
46923 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46924 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46925 Remove fields uc_high_gprs and __reserved.
46926 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46927 New file with reverted content.
46928 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46929 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46930 Regenerated.
46931 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46932 Regenerated.
46933
46934 2014-07-31 Andreas Schwab <schwab@suse.de>
46935
46936 * config.h.in (HAVE_IFUNC): Define to 0.
46937 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46938 definedness.
46939
46940 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46941
46942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46943 memmove-avx-unaligned, memcpy-avx-unaligned and
46944 mempcpy-avx-unaligned.
46945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46946 Add tests for AVX memcpy functions.
46947 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46948 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46949 memcpy_chk.
46950 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46951 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46952 memmove_chk.
46953 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46954 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46955 mempcpy_chk.
46956 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46957 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46958 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46959
46960 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46961
46962 [BZ #17213]
46963 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46964 powerpc64le.
46965
46966 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46967
46968 [BZ #16839]
46969 * manual/llio.texi: Add section about open file description locks.
46970 * manual/examples/ofdlocks.c: Example of open file description
46971 lock usage.
46972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46973 F_OFD_SETLK, and F_OFD_SETLKW.
46974
46975 2014-07-23 Allan McRae <allan@archlinux.org>
46976
46977 * po/es.po: Update Spanish translation from translation project.
46978
46979 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46980
46981 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46982
46983 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46984
46985 [BZ #17078]
46986 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46987 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46988 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46989
46990 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46991
46992 [BZ #17088]
46993 * math/fesetenv.c (__fesetenv)
46994 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46995 * math/feupdateenv.c (__feupdateenv)
46996 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46997
46998 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46999 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47000 (__ASSUME_SOCKETCALL): Do not define.
47001
47002 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47003 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47004 (__ASSUME_SOCKETCALL): Do not define.
47005 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47006 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47007 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47008 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47009 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47010 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47011 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47012 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47013
47014 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47015 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47016 (__ASSUME_SOCKETCALL): Do not define.
47017 (__ASSUME_IPC64): Define unconditionally.
47018 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47019 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47020 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47021 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47022 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47023 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47024 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47025 Likewise.
47026
47027 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47028 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47029 (__ASSUME_SOCKETCALL): Do not define.
47030 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47031 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47032 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47033 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47034 (__ASSUME_REQUEUE_PI): Define unconditionally.
47035 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47036 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47037 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47038 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47039 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47040 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47041
47042 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47043 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47044 (__ASSUME_SOCKETCALL): Do not define.
47045 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47046 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47047 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47048 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47049 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47050 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47051
47052 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47053 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47054 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47055 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47056 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47057 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47058 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47059 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47060 (__ASSUME_GETCPU_SYSCALL): Likewise.
47061
47062 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47063 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47064 cases for individual architectures.
47065 * sysdeps/gnu/configure: Regenerated.
47066 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47067 LIBC_SLIBDIR_RTLDDIR.
47068 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47069 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47070 LIBC_SLIBDIR_RTLDDIR.
47071 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47073 LIBC_SLIBDIR_RTLDDIR.
47074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47075 Regenerated.
47076 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47077 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47078 file.
47079 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47080 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47081 file.
47082 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47083 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47084 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47085 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47086
47087 * sysdeps/aarch64/shlib-versions: Move to ...
47088 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47089 * sysdeps/alpha/shlib-versions: Move to ...
47090 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47091 * sysdeps/arm/shlib-versions: Move to ...
47092 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47093 * sysdeps/hppa/shlib-versions: Move all contents except for
47094 libgcc_s entry to ...
47095 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47096 entry from ...
47097 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47098 * sysdeps/ia64/shlib-versions: Move to ...
47099 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47100 entry from ...
47101 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47102 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47103 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47104 * sysdeps/microblaze/shlib-versions: Move to ...
47105 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47106 * sysdeps/mips/shlib-versions: Move to ...
47107 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47108 entry from ...
47109 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47110 * sysdeps/tile/shlib-versions: Move to ...
47111 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47112 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47113 from ...
47114 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47115 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47116 entry from ...
47117 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47118
47119 2014-07-17 Will Newton <will.newton@linaro.org>
47120
47121 * sysdeps/arm/bits/atomic.h
47122 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47123 (__arch_compare_and_exchange_bool_16_int): Likewise.
47124 (__arch_compare_and_exchange_bool_64_int): Likewise.
47125
47126 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47127 into an #else block.
47128
47129 2014-07-16 Roland McGrath <roland@hack.frob.com>
47130
47131 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47132 just Linux configurations. Test empirically that the compiler sets
47133 __ARM_EABI__, rather than using the tuple to decide.
47134 * sysdeps/arm/preconfigure: Regenerated.
47135 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47136 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47137 contents appended ...
47138 * sysdeps/arm/configure.ac: ... here.
47139 * sysdeps/arm/configure: Regenerated.
47140
47141 2014-07-15 Roland McGrath <roland@hack.frob.com>
47142
47143 * nptl/pthread_kill.c: New file.
47144 * nptl/pthread_sigmask.c: New file.
47145 * nptl/pthread_sigqueue.c: New file.
47146
47147 * sysdeps/nptl/lowlevellock.h: New file.
47148 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47149 * sysdeps/nptl/lowlevellock-futex.h: New file.
47150
47151 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47152 Remove dead declarations.
47153
47154 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47155
47156 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47157 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47158 config-cflags-avx2.
47159 * sysdeps/x86_64/configure.ac: Likewise.
47160 * sysdeps/i386/configure: Regenerated.
47161 * sysdeps/x86_64/configure: Likewise.
47162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47163 memset-avx2 only if config-cflags-avx2 is yes.
47164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47165 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47166 defined.
47167 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47168 only if HAVE_AVX2_SUPPORT is defined.
47169 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47170
47171 2014-07-14 Alan Modra <amodra@gmail.com>
47172
47173 [BZ #17153]
47174 * elf/elf.h (DT_PPC64_NUM): Correct value.
47175 * NEWS: Add to fixed bug list.
47176
47177 2014-07-13 Jim Meyering <meyering@fb.com>
47178
47179 [BZ 17150]
47180 regex: don't deref NULL upon heap allocation failure
47181 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47182 failure in one more place.
47183 To trigger the segfault, configure grep -with-included-regex,
47184 build it, and run these commands:
47185 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47186
47187 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47188
47189 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47190
47191 2014-07-11 Richard Henderson <rth@redhat.com>
47192
47193 * sysdeps/aarch64/libm-test-ulps: Update.
47194
47195 2014-07-10 Florian Weimer <fweimer@redhat.com>
47196
47197 [BZ #17135]
47198 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47199 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47200 (__nptl_setxid): Initialize error member. Call
47201 __nptl_setxid_error.
47202 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47203 * nptl/descr.h (struct xid_command): Add error member.
47204 * nptl/tst-setuid3.c: New file.
47205 * nptl/Makefile (tests): Add it.
47206
47207 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47208
47209 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47210 New define.
47211 (__lll_trylock): Use __lll_base_trylock.
47212 (__lll_cond_trylock): Likewise.
47213
47214 2014-07-10 Roland McGrath <roland@hack.frob.com>
47215
47216 * nptl/pthread_create.c (start_thread): Use atomic_or and
47217 lll_futex_wake directly rather than lll_robust_dead.
47218 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47219 (lll_robust_dead): Macro removed.
47220 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47221 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47222 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47223 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47224 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47225 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47226 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47227 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47228 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47229 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47230 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47231 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47232 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47233 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47234 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47235
47236 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47237 Use atomic_compare_and_exchange_val_acq directly rather than
47238 lll_robust_trylock.
47239 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47240 (__lll_robust_trylock, lll_robust_trylock): Removed.
47241 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47242 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47243 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47244 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47245 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47246 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47247 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47248 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47249 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47250 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47251 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47252 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47253 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47254 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47255
47256 2014-07-02 Florian Weimer <fweimer@redhat.com>
47257
47258 * manual/locale.texi (Locale Names): New section documenting
47259 locale name syntax. Adjust menu and node chaining accordingly.
47260 (Choosing Locale): Reference Locale Names, Locale Categories.
47261 Mention setting LC_ALL=C. Reflect that name syntax is now
47262 documented.
47263 (Locale Categories): New section title. Reference Locale Names.
47264 LC_ALL is an environment variable, but not a category.
47265 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47266 description, now in Locale Name. Reference that section. Locale
47267 name syntax is now documented.
47268
47269 2014-07-02 Florian Weimer <fweimer@redhat.com>
47270
47271 [BZ #17137]
47272 * locale/findlocale.c (name_present, valid_locale_name): New
47273 functions.
47274 (_nl_find_locale): Use the loc_name variable to store name
47275 candidates. Call name_present and valid_locale_name to check and
47276 validate locale names. Return an error if the locale is invalid.
47277
47278 2014-07-02 Florian Weimer <fweimer@redhat.com>
47279
47280 * locale/setlocale.c (setlocale): Use strdup for allocating
47281 composite name copy.
47282
47283 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47284
47285 Sync up with gnulib.
47286 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47287 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47288 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47289 and _GL_ARG_NONNULL.
47290 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47291 [!_LIBC]: Include code for Windows and Cygwin.
47292 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47293 Include prototype for int strerror_r.
47294 [!_LIBC] (is_open): New function.
47295 (flush_stdout): New function.
47296 (print_errno_message): Use it.
47297 (error): Likewise.
47298 (error_at_line): Likewise.
47299 (error_tail) Add function attribute macros. Use
47300 __builtin_expect.
47301
47302 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47303
47304 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47305
47306 * io/ftw.c: Include sys/param.h unconditionally.
47307
47308 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47309
47310 [BZ #17125]
47311 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47312 libc_freeres_ptr.
47313 (freecache): New function to free CACHE on exit.
47314
47315 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47316 initialization.
47317
47318 2014-07-09 David S. Miller <davem@davemloft.net>
47319
47320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47321
47322 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47323 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47324 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47325 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47326 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47327 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47328 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47329 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47330 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47331 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47332 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47333 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47334 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47335
47336 2014-07-09 Andreas Schwab <schwab@suse.de>
47337
47338 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47339 output.
47340 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47341 (do_test): Likewise.
47342
47343 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47344
47345 2014-07-09 Will Newton <will.newton@linaro.org>
47346
47347 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47348 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47349 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47350 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47351 * sysdeps/hppa/start.S (_start): Likewise.
47352
47353 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47354
47355 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47356
47357 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47358 defined.
47359
47360 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47361
47362 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47363 after checking that it is non-NULL.
47364
47365 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47366
47367 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47368
47369 * sysdeps/powerpc/memmove.c: Remove file.
47370 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47371 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47372 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47373 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47374 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47375 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47376 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47377 string memmove instead of removed powerpc one.
47378
47379 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47380 [weak_alias]: Fix compiler warning due trailing data.
47381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47382 [weak_alias]: Likewise.
47383 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47384 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47385
47386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47387 (__libc_ifunc_impl_list): Add memmove functions.
47388
47389 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47390
47391 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47392 Remove code.
47393 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47394 Likewise.
47395 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47396 Likewise.
47397 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47398 Likewise.
47399 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47400 Likewise.
47401 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47402 Likewise.
47403 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47404 Likewise.
47405 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47406 Likewise.
47407 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47408 Likewise.
47409 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47410 Likewise.
47411 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47412 Likewise.
47413 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47414 Likewise.
47415 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47416 Likewise.
47417 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47418 Likewise.
47419 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47420 Likewise.
47421 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47422 Likewise.
47423 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47424 Likewise.
47425
47426 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47427
47428 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47429 to avoid alignment traps in non-cacheable memory.
47430 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47431
47432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47433 multiarch objects.
47434 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47435 file: multiarch power7 memmove.
47436 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47437 multiarch default memmove.
47438 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47439 multiarch memove for powerpc32/power4.
47440
47441 * string/bcopy.c: Use full path to include memmove.c.
47442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47443 multiarch objects.
47444 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47445 bcopy for powerpc64.
47446 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47447 bcopy for powerpc64.
47448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47449 and memmove implementations.
47450 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47451 optimized multiarch memmove for POWER7/powerpc64.
47452 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47453 default multiarch memmove for powerpc64.
47454 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47455 multiarch for powerpc64.
47456 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47457 for POWER7/powerpc64.
47458 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47459 memmove for POWER7/powerpc64.
47460
47461 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47462 glibc default one.
47463
47464 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47465 __ELF_NATIVE_CLASS equal to 64.
47466
47467 2014-07-07 Roland McGrath <roland@hack.frob.com>
47468
47469 * sysdeps/nptl/lowlevellock.h: File removed.
47470
47471 * NEWS: NPTL is no longer an add-on!
47472 * nptl/internaltypes.h: Moved ...
47473 * sysdeps/nptl/internaltypes.h: ... here.
47474 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47475 * sysdeps/nptl/fork.c: Likewise.
47476 * sysdeps/nptl/gai_misc.h: Likewise.
47477 * sysdeps/nptl/librt-cancellation.c: Likewise.
47478 * sysdeps/nptl/jmp-unwind.c: Likewise.
47479 * sysdeps/nptl/setxid.h: Likewise.
47480 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47481 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47482 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47483 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47484 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47485 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47486 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47487 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47488 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47489 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47490 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47491 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47492 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47493 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47494 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47495 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47496 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47497 * nptl/Makeconfig: Moved ...
47498 * sysdeps/nptl/Makeconfig: ... here.
47499 * nptl/configure: File removed.
47500 * nptl/ANNOUNCE: File removed.
47501 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47502 * sysdeps/unix/sysv/linux/configure: Regenerated.
47503
47504 * nptl/Makefile (routines): Add libc_pthread_init,
47505 libc_multiple_threads, register-atfork and unregister-atfork.
47506 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47507 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47508 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47509 pthread-pi-defines.sym, structsem.sym.
47510 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47511 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47512 [$(subdir) = nptl] (tests): Add tst-setgetname.
47513 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47514 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47515 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47516 [!LIBC_SIGACTION]: Remove aliases.
47517 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47518 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47519 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47520 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47521 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47522 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47525 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47526 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47527 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47528 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47529 __libc_allocate_rtsig_private.
47530 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47531 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47532 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47533 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47534 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47535 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47536 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47537 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47538 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47539 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47540 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47541 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47542 * nptl/internaltypes.h: ... here.
47543 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47544 * sysdeps/nptl/jmp-unwind.c: ... here.
47545 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47546 * nptl/libc-lowlevellock.c: ... here.
47547 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47548 * nptl/libc_multiple_threads.c: ... here.
47549 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47550 * nptl/libc_pthread_init.c: ... here.
47551 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47552 * nptl/lowlevelbarrier.sym: ... here.
47553 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47554 * nptl/lowlevelcond.sym: ... here.
47555 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47556 * nptl/lowlevellock.c: ... here.
47557 * nptl/lowlevellock.h: Moved ...
47558 * sysdeps/nptl/lowlevellock.h: ... here.
47559 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47560 * nptl/lowlevelrobustlock.c: ... here.
47561 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47562 * nptl/lowlevelrobustlock.sym: ... here.
47563 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47564 * nptl/lowlevelrwlock.sym: ... here.
47565 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47566 * nptl/pt-fork.c: ... here.
47567 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47568 * nptl/pthread-pi-defines.sym: ... here.
47569 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47570 * nptl/pthread_attr_getaffinity.c: ... here.
47571 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47572 * nptl/pthread_attr_setaffinity.c: ... here.
47573 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47574 * nptl/pthread_mutex_cond_lock.c: ... here.
47575 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47576 Update #include.
47577 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47578 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47579 * nptl/pthread_once.c: ... here, replacing old file.
47580 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47581 * nptl/pthread_yield.c: ... here.
47582 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47583 * nptl/register-atfork.c: ... here.
47584 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47585 * nptl/sem_post.c: ... here.
47586 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47587 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47588 * nptl/sem_timedwait.c: ... here.
47589 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47590 * nptl/sem_trywait.c: ... here.
47591 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47592 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47593 * nptl/sem_wait.c: ... here.
47594 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47595 * nptl/structsem.sym: ... here.
47596 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47597 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47598 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47599 * nptl/unregister-atfork.c: ... here.
47600 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47601 * nptl/unwindbuf.sym: ... here.
47602 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47603 * sysdeps/nptl/fork.c: ... here.
47604 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47605 * sysdeps/nptl/fork.h: ... here.
47606 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47607 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47608 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47609 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47610 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47611 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47612 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47613 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47614 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47615 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47616 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47617 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47618 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47619 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47620 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47621 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47622 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47623 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47624 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47625 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47626 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47627 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47628 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47629 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47630 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47631 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47632 * sysdeps/unix/sysv/linux/raise.c: ... here.
47633 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47634 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47635 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47636 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47637 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47638 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47639 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47640 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47641 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47642 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47643 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47644 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47645 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47646 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47647 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47648
47649 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47650
47651 * sysdeps/generic/memcopy.h: Add comment for
47652 MEMCPY_OK_FOR_FWD_MEMMOVE.
47653
47654 2014-07-04 Will Newton <will.newton@linaro.org>
47655
47656 * string/memchr.c: Merge from gnulib.
47657 [_LIBC]: Remove conditionals.
47658 (__ptr_t): Remove define.
47659 (LONG_MAX_32_BITS): Likewise.
47660 (LONG_MAX): Likewise.
47661 (MEMCHR): Use ANSI prototype and optimize algorithm.
47662
47663 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47664
47665 2014-07-03 Roland McGrath <roland@hack.frob.com>
47666
47667 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47668 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47669
47670 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47671 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47672 in a bare environment with no <stdlib.h> installed.
47673 * sysdeps/nptl/configure: Regenerated.
47674
47675 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47676
47677 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47678 AC_EGREP_CPP for kernel header checks, so they only succeed if
47679 including <linux/version.h> actually works right.
47680 * sysdeps/unix/sysv/linux/configure: Regenerated.
47681
47682 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47683 value so it's not diagnosed as unused.
47684
47685 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47686 thing) with "ifeq ($(subdir),rt)".
47687
47688 2014-07-03 Richard Henderson <rth@redhat.com>
47689
47690 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47691 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47692 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47693
47694 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47695 (math_force_eval): New.
47696
47697 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47698 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47699
47700 * sysdeps/alpha/fpu/s_round.c: Remove file.
47701 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47702
47703 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47704 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47705 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47706 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47707 (_dl_start, print_statistics): Likewise.
47708 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47709 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47710
47711 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47712 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47713 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47714 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47715 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47716 (HP_SMALL_TIMING_AVAIL): Define.
47717 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47719 (HP_SMALL_TIMING_AVAIL): Define.
47720 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47721 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47722
47723 * sysdeps/aarch64/hp-timing.h: New file.
47724
47725 * sysdeps/generic/hp-timing.h: Remove dead comment.
47726 * sysdeps/generic/hp-timing-common.h: New file.
47727 * sysdeps/alpha/hp-timing.h: Include it.
47728 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47729 * sysdeps/i386/i686/hp-timing.h: Likewise.
47730 * sysdeps/ia64/hp-timing.h: Likewise.
47731 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47732 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47733 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47734 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47735 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47736 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47737 (hp_timing_t): New.
47738
47739 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47740 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47741 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47742 * elf/rtld.c (_dl_start_final): Likewise.
47743 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47744 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47745 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47746 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47747 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47749 (HP_TIMING_DIFF_INIT): Remove.
47750 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47751 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47752 (HP_TIMING_DIFF_INIT): Remove.
47753 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47754 * sysdeps/i386/i686/hp-timing.c: Remove file.
47755 * sysdeps/x86_64/hp-timing.c: Remove file.
47756 * sysdeps/ia64/hp-timing.c: Remove file.
47757 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47758 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47759 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47760 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47761
47762 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47763 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47764 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47765 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47767 (HP_TIMING_ACCUM): Remove.
47768 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47769 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47770 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47771
47772 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47773 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47774 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47775 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47776 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47777 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47778 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47779 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47780
47781 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47782
47783 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47784
47785 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47786
47787 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47788
47789 Sync up with gettext.
47790 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47791 [_MSC_VER]: Include malloc.h
47792 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47793 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47794 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47795 TEMP_FAILURE_RETRY. Cast return of alloca.
47796 [!_LIBC] Call gl_rwlock_init.
47797 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47798
47799 2014-07-02 Roland McGrath <roland@hack.frob.com>
47800
47801 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47802 before checking its value.
47803
47804 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47805
47806 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47807
47808 * debug/memcpy_chk.c: Don't include pagecopy.h.
47809 * debug/mempcpy_chk.c: Likewise.
47810 * string/memcpy.c: Likewise.
47811 * string/memmove.c: Likewise.
47812 * sysdeps/powerpc/memmove.c: Likewise.
47813 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47814 definition of PAGE_COPY_FWD_MAYBE here...
47815 * sysdeps/generic/pagecopy.h: ... from here.
47816 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47817
47818 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47819 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47820
47821 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47823 optimizations.
47824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47825 (__libc_ifunc_impl_list): Likewise.
47826 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47827 multiarch strcat for PPC64.
47828 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47829 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47830
47831 2014-07-02 Roland McGrath <roland@hack.frob.com>
47832
47833 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47834
47835 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47836
47837 * intl/loadmsgcat.c: Remove declaration of
47838 get_sysdep_segment_value.
47839 (get_sysdep_segment_value): Use ISO C style.
47840 (_nl_load_domain): Use ISO C style. Get rid of redundant
47841 semicolon. Fix typo and formatting in comment.
47842 (_nl_unload_domain): Use ISO C style.
47843
47844 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47845
47846 2014-07-02 Will Newton <will.newton@linaro.org>
47847
47848 * malloc/obstack.c: Merge from gnulib master.
47849 [HAVE_CONFIG_H]: Remove conditional code.
47850 [!_LIBC]: Include config.h.
47851 [!ELIDE_CODE]: Don't include inttypes.h, include
47852 stdint.h unconditionally.
47853 (print_and_abort): Mark as _Noreturn.
47854 (_obstack_allocated_p): Mark as __attribute_pure__.
47855 (obstack_free): Rename to __obstack_free.
47856 [!__attribute__]: Remove conditional code.
47857 * malloc/obstack.h: Merge from gnulib master.
47858 [__cplusplus]: Move conditional down.
47859 [!__attribute_pure__]: Define __attribute_pure__ here
47860 if it is not already defined.
47861 (_obstack_memory_used): Mark as __attribute_pure__.
47862 [!__obstack_free]: Define as obstack_free.
47863 [__GNUC__]: Remove check for ancient NeXT gcc.
47864
47865 2014-07-02 Will Newton <will.newton@linaro.org>
47866 Paul Eggert <eggert@cs.ucla.edu>
47867
47868 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47869
47870 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47871
47872 * resolv/gethnamaddr.c: Add comment warning that the file is
47873 not maintained.
47874
47875 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47876
47877 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47878 entries.
47879
47880 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47881 entry for aio_cancel and aio_cancel64.
47882 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47883 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47884 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47885 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47886 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47887 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47888 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47889 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47890 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47891 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47892 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47893 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47894 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47895
47896 2014-07-01 Roland McGrath <roland@hack.frob.com>
47897
47898 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47899 * nptl/pthread_mutex_lock.c: Likewise.
47900 * nptl/pthread_mutex_timedlock.c: Likewise.
47901 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47902
47903 2014-07-01 Richard henderson <rth@redhat.com>
47904
47905 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47906 (__isnan, __isnanl): Remove.
47907 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47908
47909 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47910
47911 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47912
47913 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47914
47915 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47916
47917 * resolv/nss_dns/dns-host.c (getanswer_r)
47918 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47919
47920 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47921
47922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47923 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47924 undefine.
47925 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47926 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47927
47928 2014-07-01 Roland McGrath <roland@hack.frob.com>
47929
47930 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47931 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47932
47933 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47934 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47935
47936 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47937 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47938 ... here.
47939 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47940 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47941
47942 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47943 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47944 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47945 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47946
47947 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47948 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47949 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47950 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47951 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47952 Moved ...
47953 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47954 ... here.
47955 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47956 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47957 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47958 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47959 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47960 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47961 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47962 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47963 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47964 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47965 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47966 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47967 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47968 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47969 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47970 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47971 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47972 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47973 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47974 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47975 ... here.
47976 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47977 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47978 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47979 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47980 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47981 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47982 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47983 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47984
47985 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47986
47987 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47988 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47989 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47990 Add sysdep.
47991
47992 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47993
47994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47995
47996 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47997
47998 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47999 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48000
48001 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48002
48003 * sysdeps/arm/libm-test-ulps: Regenerated.
48004
48005 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48006 Roland McGrath <roland@hack.frob.com>
48007
48008 * test-skeleton.c (signal_handler): Kill the whole process group
48009 before killing the child individually.
48010 (main): Report any failure on `setpgid'.
48011
48012 2014-06-30 Roland McGrath <roland@hack.frob.com>
48013
48014 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48015 from _TLS_H to _ARM_NPTL_TLS_H.
48016 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48017 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48018
48019 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48020
48021 [BZ #16539]
48022 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48023 (__expm1l): Return argument unchanged when small but not
48024 subnormal.
48025
48026 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48027 include macro name.
48028 (_FP_UNPACK_RAW_1_P): Likewise.
48029 (_FP_PACK_RAW_1): Likewise.
48030 (_FP_PACK_RAW_1_P): Likewise.
48031 (_FP_MUL_MEAT_1_wide): Likewise.
48032 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48033 (_FP_MUL_MEAT_1_hard): Likewise.
48034 (_FP_DIV_MEAT_1_imm): Likewise.
48035 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48036 (_FP_DIV_MEAT_1_udiv): Likewise.
48037 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48038 (_FP_UNPACK_RAW_2): Likewise.
48039 (_FP_UNPACK_RAW_2_P): Likewise.
48040 (_FP_PACK_RAW_2): Likewise.
48041 (_FP_PACK_RAW_2_P): Likewise.
48042 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48043 (_FP_MUL_MEAT_2_wide): Likewise.
48044 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48045 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48046 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48047 (_FP_MUL_MEAT_2_gmp): Likewise.
48048 (_FP_DIV_MEAT_2_udiv): Likewise.
48049 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48050 (_FP_FRAC_SRL_4): Likewise.
48051 (_FP_FRAC_SRST_4): Likewise.
48052 (_FP_FRAC_SRS_4): Likewise.
48053 (_FP_UNPACK_RAW_4): Likewise.
48054 (_FP_UNPACK_RAW_4_P): Likewise.
48055 (_FP_PACK_RAW_4): Likewise.
48056 (_FP_PACK_RAW_4_P): Likewise.
48057 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48058 (_FP_MUL_MEAT_4_wide): Likewise.
48059 (_FP_MUL_MEAT_4_gmp): Likewise.
48060 (umul_ppppmnnn): Likewise.
48061 (_FP_DIV_MEAT_4_udiv): Likewise.
48062 (__FP_FRAC_ADD_4): Likewise.
48063 (__FP_FRAC_SUB_3): Likewise.
48064 (__FP_FRAC_SUB_4): Likewise.
48065 (__FP_FRAC_DEC_3): Likewise.
48066 (__FP_FRAC_DEC_4): Likewise.
48067 (__FP_FRAC_ADDI_4): Likewise.
48068 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48069 (_FP_FRAC_SRL_8): Likewise.
48070 (_FP_FRAC_SRS_8): Likewise.
48071
48072 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48073 include macro name.
48074 (FP_UNPACK_RAW_EP): Likewise.
48075 (FP_PACK_RAW_E): Likewise.
48076 (FP_PACK_RAW_EP): Likewise.
48077 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48078 (_FP_ISSIGNAN): Likewise.
48079 (_FP_ADD_INTERNAL): Likewise.
48080 (_FP_FMA): Likewise.
48081 (_FP_CMP): Likewise.
48082 (_FP_SQRT): Likewise.
48083 (_FP_TO_INT): Likewise.
48084 (_FP_FROM_INT): Likewise.
48085 (FP_EXTEND): Likewise.
48086 (_FP_DIV_MEAT_N_loop): Likewise.
48087
48088 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48089
48090 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48091 throughout.
48092
48093 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48094
48095 [BZ #17097]
48096 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48097 result with correct sign in case of exponents that produce
48098 overflow except for X very close to 1.
48099
48100 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48101
48102 mktime: merge #if/#ifdef usage from glibc
48103 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48104 as that works with both Glibc's and Gnulib's style.
48105 See thread starting at Siddhesh Poyarekar's bug report at:
48106 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48107
48108 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48109
48110 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48111 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48112 * sysdeps/tile/tilegx/memmove.c: Remove file.
48113
48114 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48115
48116 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48117 abi-name definition.
48118 * scripts/soversions.awk: Do not handle or generate ABI lines.
48119 * shlib-versions: Remove ABI entries.
48120 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48121 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48122
48123 2014-06-27 Roland McGrath <roland@hack.frob.com>
48124
48125 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48126 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48127 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48128 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48129 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48130 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48132 Moved ...
48133 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48134 ... here.
48135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48136 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48138 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48140 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48142 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48144 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48146 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48148 Moved ...
48149 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48150 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48155 Moved ...
48156 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48158 Moved ...
48159 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48161 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48163 Moved ...
48164 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48166 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48168 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48170 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48172 Moved ...
48173 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48175 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48176 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48177 Moved ...
48178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48179 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48180 Moved ...
48181 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48183 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48185 Moved ...
48186 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48187 ... here.
48188 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48189 Identical file removed.
48190 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48191 Moved ...
48192 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48194 Identical file removed.
48195 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48196 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48197 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48198 Moved ...
48199 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48200 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48201 Identical file removed.
48202 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48203 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48205 Identical file removed.
48206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48209 Identical file removed.
48210 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48211 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48212 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48213 Identical file removed.
48214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48215 Moved ...
48216 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48218 Identical file removed.
48219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48220 Moved ...
48221 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48222 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48223 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48224 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48225 Identical file removed.
48226 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48227 Moved ...
48228 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48229 ... here.
48230 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48231 Identical file removed.
48232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48233 Moved ...
48234 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48236 Identical file removed.
48237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48238 Moved ...
48239 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48240 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48241 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48243 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48245 Moved ...
48246 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48247 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48248 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48249
48250 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48251 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48252 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48253 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48254 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48255
48256 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48257
48258 [BZ #17092]
48259 * nscd/nscd.c (monitor_child): Return exit status of child
48260 instead of return value from wait syscall.
48261
48262 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48263
48264 * configure.ac (libc_commonpagesize): Remove variable.
48265 (libc_relro_required): Likewise.
48266 (libc_cv_z_relro): Remove configure test.
48267 * configure: Regenerated.
48268 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48269 variable.
48270 (libc_relro_required): Likewise.
48271 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48272 (libc_relro_required): Likewise.
48273 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48274 (libc_relro_required): Likewise.
48275 * sysdeps/arm/preconfigure: Regenerated.
48276 * sysdeps/ia64/preconfigure: Remove file.
48277 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48278 variable.
48279 (libc_relro_required): Likewise.
48280
48281 [BZ #16561]
48282 [BZ #16562]
48283 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48284 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48285 recompute overflowing results in original rounding mode.
48286 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48287 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48288 recompute overflowing results in original rounding mode.
48289 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48290 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48291 recompute overflowing results in original rounding mode.
48292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48293 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48294 recompute overflowing results in original rounding mode.
48295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48296 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48297 recompute overflowing results in original rounding mode.
48298 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48299 (libc_feholdsetround_ctx): New macro.
48300 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48301 * sysdeps/i386/fpu/libm-test-ulps: Update.
48302 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48303
48304 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48305
48306 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48307 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48308 corresponding .cpsetup call.
48309
48310 2014-06-26 Roland McGrath <roland@hack.frob.com>
48311
48312 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48313 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48314 * sysdeps/arm/Makefile [$(subdir) = csu]
48315 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48316 (static-only-routines): Add aeabi_read_tp here.
48317 (shared-only-routines): Add libc-aeabi_read_tp here.
48318 (CFLAGS-libc-start.c): Add -fexceptions here.
48319 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48320 (sysdep_routines, static-only-routines, shared-only-routines):
48321 Don't add to these here.
48322 (CFLAGS-libc-start.c): Likewise.
48323
48324 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48325 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48326 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48327 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48328 * sysdeps/arm/Makefile [$(subdir) = rt]
48329 (librt-sysdep_routines, librt-shared-only-routines):
48330 Append rt-aeabi_unwind_cpp_pr1 here.
48331 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48332 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48333 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48334 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48335 Append nptl-aeabi_unwind_cpp_pr1 here.
48336 (tests): Filter out tst-cleanupx4 here.
48337 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48338 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48339 Don't do those here.
48340
48341 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48342
48343 * scripts/list-sources.sh: Do not handle ports specially.
48344
48345 2014-06-26 Roland McGrath <roland@hack.frob.com>
48346
48347 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48348 * sysdeps/arm/feupdateenv.c: Likewise.
48349
48350 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48351
48352 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48353
48354 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48355 trailing whitespace removed.
48356 * scripts/config.guess: Update to version 2014-03-23.
48357 * scripts/config.sub: Update to version 2014-05-01
48358 * scripts/install-sh: Update to version 2013-12-25.23.
48359 * scripts/move-if-change: Update from gnulib.
48360
48361 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48362
48363 * debug/memmove_chk.c: Remove pagecopy.h include.
48364
48365 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48366
48367 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48368 identical to gnulib mktime.
48369
48370 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48371
48372 * configure.ac: Do not test for machine being rs6000. Do not test
48373 for powerpc*-*soft.
48374 * configure: Regenerated.
48375
48376 [BZ #11505]
48377 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48378 test.
48379 * configure: Regenerated.
48380 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48381 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48382 Remove configure test.
48383 * sysdeps/arm/configure: Regenerated.
48384 * sysdeps/nptl/configure.ac: Do not check
48385 libc_cv_asm_cfi_directives.
48386 * sysdeps/nptl/configure: Regenerated.
48387 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48388 * sysdeps/x86_64/nptl/configure: Remove generated file.
48389 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48390 unconditional.
48391 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48392
48393 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48394
48395 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48396 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48397 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48398 it is defined.
48399
48400 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48401 instead of whether it is defined.
48402 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48403 * sysdeps/hppa/dl-machine.h: Likewise.
48404 * sysdeps/ia64/dl-machine.h: Likewise.
48405 * sysdeps/m68k/dl-machine.h: Likewise.
48406 * sysdeps/microblaze/dl-machine.h: Likewise.
48407 * sysdeps/mips/dl-machine.: Likewise.
48408 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48409 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48410 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48411 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48412 * sysdeps/sh/dl-machine.h: Likewise.
48413 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48414 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48415 * sysdeps/tile/dl-machine.h: Likewise.
48416 * sysdeps/x86_64/dl-machine.h: Likewise.
48417
48418 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48419 code.
48420 (verify_persistent_db): Likewise.
48421
48422 2014-06-26 Roland McGrath <roland@hack.frob.com>
48423
48424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48425 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48427 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48429 Moved ...
48430 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48431 ... here.
48432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48433 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48435 Identical file removed.
48436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48437 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48439 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48441 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48443 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48445 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48447 Moved ...
48448 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48450 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48452 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48454 Moved ...
48455 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48457 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48459 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48461 Identical file removed.
48462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48463 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48465 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48467 Moved ...
48468 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48469 ... here.
48470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48471 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48473 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48475 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48477 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48479 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48481 Moved ...
48482 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48484 Moved ...
48485 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48487 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48489 Moved ...
48490 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48492 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48493
48494 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48495 folded into ...
48496 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48497 * sysdeps/unix/sysv/linux/s390/Versions
48498 (libpthread: GLIBC_2.19): New version set.
48499 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48500 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48501 (librt: GLIBC_2.3.3): New version set.
48502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48503 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48504 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48505 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48506 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48507 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48508 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48509 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48510 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48511 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48512 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48513 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48514 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48515 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48516 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48517 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48518 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48519 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48520 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48521 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48522 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48523 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48524 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48525 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48526 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48528 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48530 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48532 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48533 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48535 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48536 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48537 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48538 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48539 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48540 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48542 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48544 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48546 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48547
48548 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48549 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48550 (__libc_vfork): Define the function under this name.
48551 [!NOT_IN_libc] (__vfork): Make this an alias.
48552 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48553 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48554 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48555 (__libc_vfork): Define the function under this name.
48556 [!NOT_IN_libc] (__vfork): Make this an alias.
48557 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48558 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48559 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48561 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48562 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48563
48564 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48565 code that was previously under [RESET_PID].
48566 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48567 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48569
48570 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48571 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48572 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48573 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48574 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48575 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48576 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48577 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48578 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48579 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48580 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48581 Moved ...
48582 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48583 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48584 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48585 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48586 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48587 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48588 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48589 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48590 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48591 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48592 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48593 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48594 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48595 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48596 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48597 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48598 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48599 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48600 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48601 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48602 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48603 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48604 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48605 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48606 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48607 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48608 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48609 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48610 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48611
48612 2014-06-25 Roland McGrath <roland@hack.frob.com>
48613
48614 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48615 that was previously under [RESET_PID].
48616 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48617
48618 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48619
48620 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48621 not undefine and redefine.
48622 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48623 [O_CLOEXEC]: Make code unconditional.
48624 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48625 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48626 <kernel-features.h>.
48627 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48628 conditional variable definition.
48629 (shm_open) [O_CLOEXEC]: Make code unconditional.
48630 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48631 code.
48632
48633 * configure.ac (USE_REGPARMS): Don't define here.
48634 * configure: Regenerated.
48635 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48636 * sysdeps/i386/configure: Regenerated.
48637
48638 * nptl/createthread.c: Don't include kernel-features.h.
48639 * nptl/pthread_cancel.c: Likewise.
48640 * nptl/pthread_condattr_setclock.c: Likewise.
48641 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48642 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48643 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48644 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48645 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48646 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48647 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48650 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48651 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48652 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48653 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48654 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48655 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48656 * nscd/gai.c: Likewise.
48657 * nss/nss_db/db-open.c: Likewise.
48658 * sysdeps/generic/ldsodefs.h: Likewise.
48659 * sysdeps/sh/nptl/tls.h: Likewise.
48660 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48661 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48662 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48663 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48664 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48665 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48666 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48667 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48669 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48670 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48671 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48672 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48673 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48674 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48675 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48676 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48677 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48678 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48679 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48680 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48681 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48682 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48683 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48684 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48686 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48688 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48689 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48690 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48691 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48692 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48693 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48694 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48696 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48697 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48698 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48699 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48700 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48701 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48702 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48703 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48704 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48705 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48706 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48707 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48708 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48709 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48710 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48711 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48712 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48713 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48714 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48715 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48716 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48717 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48740 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48741 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48742 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48743 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48744 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48745 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48746 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48747 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48748 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48749 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48750 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48751 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48752 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48753 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48754 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48755 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48756 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48757 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48758 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48759 * sysdeps/unix/sysv/linux/system.c: Likewise.
48760 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48761 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48762 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48763 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48764 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48765 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48766 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48767
48768 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48769 * configure: Regenerated.
48770 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48771
48772 * configure.ac (base_machine): Do not set specially for particular
48773 machines here.
48774 * configure: Regenerated.
48775 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48776 settings from configure.ac.
48777 * sysdeps/i386/preconfigure: New file.
48778 * sysdeps/s390/preconfigure: Likewise.
48779 * sysdeps/sh/preconfigure: Likewise.
48780 * sysdeps/sparc/preconfigure: Likewise.
48781
48782 2014-06-25 Roland McGrath <roland@hack.frob.com>
48783
48784 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48785 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48786 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48787 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48788 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48789 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48790 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48791 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48792 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48793 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48794 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48795 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48796 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48797 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48798 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48801 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48802 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48803
48804 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48805 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48806 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48807 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48808 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48809 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48810 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48811 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48812 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48813 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48814 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48815 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48816 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48817 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48818 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48819 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48820 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48821 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48822 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48823 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48824 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48825 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48826 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48827 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48828 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48829 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48830 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48831 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48832 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48833 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48834 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48835 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48836 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48837 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48839 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48840 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48841 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48842
48843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48844 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48846 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48848 Moved ...
48849 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48850 ... here.
48851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48852 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48854 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48856 Moved ...
48857 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48859 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48863 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48865 Moved ...
48866 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48868 Moved ...
48869 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48871 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48873 Moved ...
48874 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48876 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48878 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48880 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48882 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48884 Moved ...
48885 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48886 ... here.
48887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48888 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48890 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48892 Moved ...
48893 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48895 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48897 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48899 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48901 Moved ...
48902 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48904 Moved ...
48905 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48907 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48909 Moved ...
48910 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48912 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48914 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48915
48916 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48917
48918 * timezone/checktab.awk: Update from tzcode 2014e.
48919 * timezone/private.h: Likewise.
48920 * timezone/tzfile.h: Likewise.
48921 * timezone/zdump.c: Likewise.
48922 * timezone/zic.c: Likewise.
48923
48924 * sysdeps/unix/sysv/linux/kernel-features.h
48925 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48926 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48927 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48928 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48929 Remove conditional code.
48930
48931 2014-06-25 Will Newton <will.newton@linaro.org>
48932
48933 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48934 (_dl_arm_cap_flags): Add HWCAP2 values.
48935 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48936 (_DL_HWCAP_COUNT): Increase to 37.
48937 (_DL_HWCAP_LAST): New define.
48938 (_DL_HWCAP2_LAST): New define.
48939 (_dl_procinfo): Add support for printing
48940 AT_HWCAP2 entries.
48941 (_dl_string_hwcap): Use _dl_hwcap_string.
48942
48943 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48944
48945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48946
48947 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48948
48949 * README: Do not mention ports directory.
48950
48951 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48952 Remove macro.
48953 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48954 <kernel-features.h>.
48955 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48956 conditional variable definition.
48957 (__futimes): Update comment.
48958 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48959 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48960
48961 [BZ #16560]
48962 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48963 arguments close to 0.
48964 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48965 Likewise.
48966 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48967 Likewise.
48968 * math/auto-libm-test-in: Add more tests of exp10.
48969 * math/auto-libm-test-out: Regenerated.
48970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48971
48972 * sysdeps/unix/sysv/linux/kernel-features.h
48973 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48974 * sysdeps/unix/sysv/linux/readv.c: Do not include
48975 <kernel-features.h>.
48976 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48977 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48978 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48979 unconditional.
48980 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48981 conditional code.
48982 * sysdeps/unix/sysv/linux/writev.c: Do not include
48983 <kernel-features.h>.
48984 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48985 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48986 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48987 unconditional.
48988 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48989 conditional code.
48990
48991 2014-06-25 Will Newton <will.newton@linaro.org>
48992
48993 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48994 comment changes throughout the file. Remove checks
48995 for HAVE_*_H definitions that are not required.
48996 (__gen_tempname): Call abort if an unknown kind value is
48997 passed.
48998
48999 2014-06-25 Andreas Schwab <schwab@suse.de>
49000
49001 [BZ #17086]
49002 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49003 scalbln, scalblnf, scalblnl in libc.
49004
49005 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49006
49007 [BZ #17086]
49008 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49009 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49010 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49011
49012 2014-06-24 Roland McGrath <roland@hack.frob.com>
49013
49014 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49015 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49016 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49017 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49018 Update #include.
49019 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49020 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49021 Update #include.
49022 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49023 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49024 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49025 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49026 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49027 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49028 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49029 * sysdeps/x86/bits/semaphore.h: ... here.
49030 * sysdeps/x86/nptl/elide.h: Moved ...
49031 * sysdeps/x86/elide.h: ... here.
49032 * sysdeps/x86_64/nptl/Implies: File removed.
49033 * sysdeps/i386/nptl/Implies: File removed.
49034
49035 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49036
49037 [BZ #16539]
49038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49039 return the argument for normal arguments with exponent below -64.
49040 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49041 Likewise.
49042 * math/auto-libm-test-in: Add another test of expm1.
49043 * math/auto-libm-test-out: Regenerated.
49044
49045 [BZ #16287]
49046 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49047 calling __erfcl for arguments at least 16.
49048 * math/auto-libm-test-in: Add more tests of erf.
49049 * math/auto-libm-test-out: Regenerated.
49050
49051 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49052 individual architectures.
49053 * sysdeps/unix/sysv/linux/configure: Regenerated.
49054 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49055 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49056 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49057 (ldd_rewrite_script): Define variable.
49058 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49060 file.
49061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49062 generated file.
49063 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49064 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49065 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49066 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49067 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49068 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49069 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49070 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49071
49072 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49073
49074 [BZ #17084]
49075 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49076 Rename member __data.d to __data.__elision_data.
49077
49078 2014-06-24 Wilco <wdijkstr@arm.com>
49079
49080 * NEWS: Add 16918 to fixed bug list.
49081
49082 2014-06-24 Wilco <wdijkstr@arm.com>
49083
49084 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49085
49086 2014-06-24 Wilco <wdijkstr@arm.com>
49087
49088 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49089 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49090 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49091 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49092 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49093 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49094 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49095 Use _FPU_MASK_RM.
49096
49097 2014-06-24 Wilco <wdijkstr@arm.com>
49098
49099 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49100
49101 2014-06-24 Wilco <wdijkstr@arm.com>
49102
49103 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49104 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49105 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49106 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49107
49108 2014-06-24 Wilco <wdijkstr@arm.com>
49109
49110 [BZ #16918]
49111 * sysdeps/arm/feupdateenv.c (feupdateenv):
49112 Rewrite to reduce FPSCR accesses and fix return value.
49113
49114 2014-06-24 Wilco <wdijkstr@arm.com>
49115
49116 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49117 Optimize to avoid unnecessary FPSCR writes.
49118 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49119 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49120 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49121 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49122
49123 2014-06-24 Wilco <wdijkstr@arm.com>
49124
49125 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49126 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49127 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49128 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49129 Call libc_fetestexcept_vfp.
49130 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49131 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49132 __SOFTFP__ ifdef so that they can be built for softfp.
49133
49134 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49135
49136 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49137 argument type signed char.
49138
49139 * Makerules (check-abi): Dump diff of symlist if the test
49140 fails.
49141
49142 2014-06-23 Roland McGrath <roland@hack.frob.com>
49143
49144 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49145 using abort.
49146
49147 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49148 Remove unused variable ST.
49149
49150 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49151
49152 [BZ #16354]
49153 [BZ #17061]
49154 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49155 small arguments before calling __expm1.
49156 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49157 small arguments before calling __expm1f.
49158 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49159 small arguments before calling __expm1l.
49160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49161 Likewise.
49162 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49163 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49164 spurious underflow for some cosh tests.
49165 * math/auto-libm-test-out: Regenerated.
49166 * sysdeps/i386/fpu/libm-test-ulps: Update.
49167
49168 [BZ #17050]
49169 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49170 (__ieee754_y1): Set errno if return value overflows.
49171 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49172 (__ieee754_y1f): Set errno if return value overflows.
49173 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49174 (__ieee754_y1l): Set errno if return value overflows.
49175 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49176 (__ieee754_y1l): Set errno if return value overflows.
49177 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49178 * math/auto-libm-test-out: Regenerated.
49179
49180 * math/gen-auto-libm-tests.c: Document use of
49181 ignore-zero-inf-sign.
49182 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49183 (input_flags): Add ignore-zero-inf-sign.
49184 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49185 * math/gen-libm-test.pl (generate_testfile): Handle
49186 ignore-zero-inf-sign.
49187 * math/auto-libm-test-in: Mark some cpow tests with
49188 ignore-zero-inf-sign and some with xfail-rounding.
49189 * math/auto-libm-test-out: Regenerated.
49190 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49191 * sysdeps/i386/fpu/libm-test-ulps: Update.
49192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49193
49194 [BZ #16315]
49195 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49196 overflowing or underflowing operations take place with sign of
49197 result.
49198 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49199 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49200 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49201 (__ieee754_pow): Recompute overflowing and underflowing results in
49202 original rounding mode.
49203 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49204 (__powl_helper): Allow negative argument X and scale negated value
49205 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49206 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49207 overflowing or underflowing operations take place with sign of
49208 result.
49209 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49210 Include <math.h>.
49211 * math/auto-libm-test-in: Add more tests of pow.
49212 * math/auto-libm-test-out: Regenerated.
49213 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49214 (pow_tonearest_test_data): Remove.
49215 (pow_test_tonearest): Likewise.
49216 (pow_towardzero_test_data): Likewise.
49217 (pow_test_towardzero): Likewise.
49218 (pow_downward_test_data): Likewise.
49219 (pow_test_downward): Likewise.
49220 (pow_upward_test_data): Likewise.
49221 (pow_test_upward): Likewise.
49222 (main): Don't call removed functions.
49223 * sysdeps/i386/fpu/libm-test-ulps: Update.
49224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49225
49226 2014-06-23 Roland McGrath <roland@hack.frob.com>
49227
49228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49229 Moved ...
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49232 Moved ...
49233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49235 Moved ...
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49238 Moved ...
49239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49241 File removed.
49242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49243 File removed.
49244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49245 File removed.
49246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49247 File removed.
49248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49249 File removed.
49250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49251 File removed.
49252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49253 File removed.
49254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49255 File removed.
49256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49257 File removed.
49258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49259 File removed.
49260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49261 File removed.
49262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49263 File removed.
49264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49265 Moved ...
49266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49268 Moved ...
49269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49270 ... here.
49271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49272 Moved ...
49273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49275 Moved ...
49276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49278 Moved ...
49279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49281 Moved ...
49282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49284 Moved ...
49285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49287 Moved ...
49288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49290 Moved ...
49291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49294 ... here.
49295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49296 Moved ...
49297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49299 Moved ...
49300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49301 ... here.
49302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49303 Moved ...
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49305 ... here.
49306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49307 Moved ...
49308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49309 ... here.
49310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49311 Moved ...
49312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49314 Moved ...
49315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49319 Moved ...
49320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49321 ... here.
49322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49323 Moved ...
49324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49325 ... here.
49326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49327 Moved ...
49328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49330 Moved ...
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49333 Moved ...
49334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49336 Moved ...
49337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49339 Moved ...
49340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49341 ... here.
49342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49343 Moved ...
49344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49346 Moved ...
49347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49349 Moved ...
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49352 Moved ...
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49357 Moved ...
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49360 Moved ...
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49363 Moved ...
49364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49365 ... here.
49366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49367 Moved ...
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49369 ... here.
49370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49371 Moved ...
49372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49373 ... here.
49374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49375 Moved ...
49376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49378 Moved ...
49379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49381 Moved ...
49382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49384 Moved ...
49385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49386 ... here.
49387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49388 Moved ...
49389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49390 ... here.
49391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49392 Moved ...
49393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49394 ... here.
49395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49396 Moved ...
49397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49399 Moved ...
49400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49401
49402 2014-06-23 Will Newton <will.newton@linaro.org>
49403 Wilco <wdijkstr@arm.com>
49404
49405 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49406 implementation. Include get-rounding-mode.h.
49407 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49408 [!libc_feholdsetround_noex_ctx]: Define
49409 libc_feholdsetround_noex_ctx.
49410 [!libc_feholdsetround_noexf_ctx]: Define
49411 libc_feholdsetround_noexf_ctx.
49412 [!libc_feholdsetround_noexl_ctx]: Define
49413 libc_feholdsetround_noexl_ctx.
49414 (libc_feholdsetround_ctx): New function.
49415 (libc_feresetround_ctx): New function.
49416 (libc_feholdsetround_noex_ctx): New function.
49417 (libc_feresetround_noex_ctx): New function.
49418
49419 2014-06-23 Roland McGrath <roland@hack.frob.com>
49420
49421 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49422 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49423 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49424 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49425 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49426 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49427
49428 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49429 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49430 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49431 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49432 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49433 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49435 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49436 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49437 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49438 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49439 Moved ...
49440 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49441 ... here.
49442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49443 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49445 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49447 Moved ...
49448 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49449 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49450 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49454 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49456 Moved ...
49457 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49458 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49459 Moved ...
49460 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49462 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49464 Moved ...
49465 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49466 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49467 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49468 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49469 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49470 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49471 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49472 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49473 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49475 Moved ...
49476 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49477 ... here.
49478 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49479 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49480 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49481 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49482 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49483 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49485 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49486 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49487 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49489 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49490 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49491 Moved ...
49492 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49493 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49494 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49496 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49498 Moved ...
49499 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49500 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49501 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49502 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49503 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49504
49505 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49506 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49507 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49508 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49509 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49510 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49511 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49512 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49514 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49515 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49516 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49517 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49518 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49519 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49520 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49521 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49522 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49524 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49525 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49526 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49527 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49528 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49529 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49530 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49531 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49532 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49533
49534 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49535
49536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49537 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49538 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49539 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49540 (IPV6_PMTUDISC_INTERFACE): Likewise.
49541 (IPV6_PMTUDISC_OMIT): Likewise.
49542
49543 2014-06-23 Andreas Schwab <schwab@suse.de>
49544
49545 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49546 Remove unused errout label.
49547
49548 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49549
49550 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49551 macro: hardware supports Vector Crypto instructions.
49552
49553 2014-06-23 Will Newton <will.newton@linaro.org>
49554
49555 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49556 rather than __builtin_expect.
49557
49558 * elf/dl-lookup.c (undefined_msg): Remove variable.
49559 (_dl_lookup_symbol_x): Replace undefined_msg with string
49560 literal.
49561
49562 * elf/dl-lookup.c (do_lookup_unique): New function.
49563 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49564 to a separate function.
49565
49566 2014-06-23 Andreas Schwab <schwab@suse.de>
49567
49568 [BZ #17079]
49569 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49570 before reading the next line.
49571
49572 2014-06-23 Will Newton <will.newton@linaro.org>
49573
49574 * test-skeleton.c (signal_handler): Use printf and %m
49575 rather than perror. Use printf rather than fprintf to
49576 stderr. Use puts rather than fputs to stderr.
49577 (main): Likewise.
49578
49579 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49580
49581 * nscd/nscd.c (thread_info_t): Remove typedef.
49582 (thread_info): Remove variable.
49583
49584 2014-06-21 Allan McRae <allan@archlinux.org>
49585
49586 * NEWS: Mention CVE-2014-4043.
49587
49588 2014-06-20 Roland McGrath <roland@hack.frob.com>
49589
49590 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49591 * nptl/smp.h: ... here.
49592
49593 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49594
49595 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49596 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49597 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49598 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49599
49600 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49601 * nptl/stack-aliasing.h: New file.
49602 * sysdeps/i386/i686/stack-aliasing.h: New file.
49603 * sysdeps/i386/i686/nptl/Makefile: File removed.
49604 * sysdeps/x86_64/stack-aliasing.h: New file.
49605 * sysdeps/x86_64/nptl/Makefile
49606 (CFLAGS-pthread_create.c): Variable removed.
49607
49608 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49609 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49610 old file.
49611 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49612 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49613 old file.
49614
49615 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49616
49617 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49618 (__ASSUME_SIGFRAME_V2): Remove macro.
49619 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49620 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49621 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49622 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49623 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49624 Declare as function. Remove conditional macro definitions.
49625 (__default_rt_sa_restorer): Likewise.
49626 (__default_sa_restorer_v1): Remove declaration.
49627 (__default_sa_restorer_v2): Likewise.
49628 (__default_rt_sa_restorer_v1): Likewise.
49629 (__default_rt_sa_restorer_v2): Likewise.
49630 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49631 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49632 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49633
49634 2014-06-20 Roland McGrath <roland@hack.frob.com>
49635
49636 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49637 (libpthread-routines): Add sysdep.
49638 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49639 * sysdeps/unix/sysv/linux/sparc/Versions
49640 (libpthread: GLIBC_2.3.3): New version set.
49641 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49642 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49643 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49644 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49645 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49646 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49647 Moved ...
49648 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49649 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49650 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49651 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49652 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49653 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49654 * sysdeps/sparc/nptl/sem_init.c: ... here.
49655 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49656 * sysdeps/sparc/nptl/sem_post.c: ... here.
49657 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49658 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49659 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49660 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49661 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49662 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49663 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49664 (libpthread-routines): Add cpu_relax.
49665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49666 File removed.
49667 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49668 (librt: GLIBC_2.3.3): New version set.
49669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49670 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49671 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49672 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49675 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49677 Moved ...
49678 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49680 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49682 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49684 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49686 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49688 Moved ...
49689 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49690 Update #include.
49691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49692 Moved ...
49693 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49694 Update #include.
49695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49696 Moved ...
49697 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49698 Update #include.
49699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49700 Moved ...
49701 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49702 Update #include.
49703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49704 Moved ...
49705 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49706 Update #include.
49707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49708 Moved ...
49709 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49710 Update #include.
49711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49712 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49718 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49720 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49722 Moved ...
49723 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49725 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49727 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49728
49729 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49730
49731 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49732 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49733 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49734 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49735 * nscd/nscd.c: Likewise.
49736 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49737 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49738 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49739 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49740
49741 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49742 <kernel-features.h>.
49743 (init_mq_netlink): Remove conditional have_sock_cloexec
49744 definitions. Remove code conditional on have_sock_cloexec < 0.
49745 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49746 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49747 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49748 <kernel-features.h>.
49749 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49750 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49751
49752 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49753
49754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49755 Add tests for memset_chk and memset.
49756
49757 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49758 with AVX2_Usable.
49759
49760 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49761
49762 [BZ #16046]
49763 * elf/tst-dl-iter-static.c: New file.
49764 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49765
49766 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49767 error.
49768
49769 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49770
49771 * sysdeps/unix/sysv/linux/kernel-features.h
49772 (__ASSUME_F_GETOWN_EX): Remove macro.
49773 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49774 <kernel-features.h>.
49775 (miss_F_GETOWN_EX): Remove variable or macro.
49776 (do_fcntl): Do not check miss_F_GETOWN_EX.
49777 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49778
49779 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49780 Remove macro.
49781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49782 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49783 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49784
49785 * sysdeps/unix/sysv/linux/kernel-features.h
49786 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49787 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49788 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49789 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49790
49791 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49792
49793 [BZ #17075]
49794 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49795 Fix calculation of the symbol's value.
49796 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49797 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49798 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49799 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49800 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49801 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49802 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49803 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49804 (modules-names): Add `tst-armtlsdescmod',
49805 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49806 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49807 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49808 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49809 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49810 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49811 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49812 ($(objpfx)tst-armtlsdescloc): New dependency.
49813 ($(objpfx)tst-armtlsdescextnow): Likewise.
49814 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49815 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49816 TLS scheme support.
49817 * sysdeps/arm/configure: Regenerate.
49818
49819 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49820
49821 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49822 (__atfct_seterrno_2): Likewise.
49823 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49824 <kernel-features.h>.
49825 (__ASSUME_ATFCTS): Do not undefine and redefine.
49826 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49827 (__have_atfcts): Remove conditional definition.
49828 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49829 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49830 unreachable if [__ASSUME_ATFCTS].
49831 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49832 not undefine and redefine.
49833 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49834 <kernel-features.h>.
49835 (faccessat) [__NR_faccessat]: Make code unconditional.
49836 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49837 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49838 <kernel-features.h>.
49839 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49840 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49841 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49842 <kernel-features.h>.
49843 (fchownat) [__NR_fchownat]: Make code unconditional.
49844 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49845 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49846 <kernel-features.h>.
49847 (futimesat) [__NR_futimesat]: Make code unconditional.
49848 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49849 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49850 <kernel-features.h>.
49851 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49852 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49853 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49854 <kernel-features.h>.
49855 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49856 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49857 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49858 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49859 <kernel-features.h>.
49860 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49861 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49862 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49863 <kernel-features.h>.
49864 (linkat) [__NR_linkat]: Make code unconditional.
49865 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49866 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49867 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49868 <kernel-features.h>.
49869 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49870 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49871 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49872 <kernel-features.h>.
49873 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49874 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49875 * sysdeps/unix/sysv/linux/openat.c: Do not include
49876 <kernel-features.h>.
49877 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49878 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49879 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49880 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49881 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49882 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49883 <kernel-features.h>.
49884 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49885 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49886 result of INLINE_SYSCALL directly, not via int variable.
49887 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49888 <kernel-features.h>.
49889 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49890 (renameat) [__NR_renameat]: Make code unconditional.
49891 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49892 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49893 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49894 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49895 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49896 (__ASSUME_ATFCTS): Do not undefine and redefine.
49897 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49898 <kernel-features.h>.
49899 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49900 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49901 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49902 <kernel-features.h>.
49903 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49904 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49905 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49906 (__ASSUME_ATFCTS): Do not undefine and redefine.
49907 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49908 <kernel-features.h>.
49909 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49910 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49911 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49912 <kernel-features.h>.
49913 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49914 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49915
49916 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49917
49918 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49919
49920 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49921
49922 [BZ #17069]
49923 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49924 constructed tree before returning error.
49925 * posix/bug-regexp36.c: Expand test case.
49926
49927 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49928
49929 [BZ #6803]
49930 * math/libm-test.inc (scalbln_test_date):
49931 Add errno expectations.
49932 * math/w_scalblnf.c: New File.
49933 Add wrapper which checks for setting errno to ERANGE.
49934 Add weak_alias for corresponding scalbln function.
49935 * math/w_scalbln.c: Likewise.
49936 * math/w_scalblnl.c: Likewise.
49937 * math/Makefile (libm-calls): Add w_scalbln.
49938 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49939 Remove weak_alias for corresponding scalbln function.
49940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49941 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49943 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49944 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49945 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49946 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49947 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49948 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49949 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49950 Remove long_double_symbol for scalblnl function in libm, libc.
49951 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49952 Add wrapper which checks for setting errno to ERANGE.
49953 Add long_double_symbol for scalblnl function in libm, libc.
49954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49955 Remove long_double_symbol for scalblnl in libm.
49956 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49957 Add wrapper which checks for setting errno to ERANGE.
49958 Add long_double_symbol for scalblnl function in libm.
49959 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49960 Do not use wrapper because of own implementation.
49961
49962 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49963
49964 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49965 3 bytes for __pad1 for x32.
49966 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49967
49968 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49969 H.J. Lu <hongjiu.lu@intel.com>
49970
49971 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49972 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49973 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49974 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49975 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49976
49977 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49978
49979 [BZ #17069]
49980 * posix/regcomp.c (parse_expression): Deallocate partially
49981 constructed tree before returning error.
49982 * posix/Makefile.c (tests): Add bug-regex36.
49983 (generated): Add bug-regex36.mtrace.
49984 (tests-special): Add $(objpfx)bug-regex36-mem.out
49985 (bug-regex36-ENV): New variable.
49986 ($(objpfx)bug-regex36-mem.out): New rule.
49987 * posix/bug-regex36.c: New file.
49988
49989 2014-06-19 Will Newton <will.newton@linaro.org>
49990
49991 * malloc/malloc.c (systrim): If extra is zero then return
49992 early.
49993
49994 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49995
49996 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49997
49998 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49999
50000 * sysdeps/aarch64/strchr.S: New file.
50001
50002 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50003
50004 [BZ #17022]
50005 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50006 from arguments -2 or below.
50007 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50008 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50009
50010 2014-06-18 Andreas Schwab <schwab@suse.de>
50011
50012 [BZ #17062]
50013 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50014 of a bracket expr not to run off the end of the string.
50015 * posix/Makefile (tests): Add tst-fnmatch3.
50016 * posix/tst-fnmatch3.c: New file.
50017
50018 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50019
50020 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50021 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50022 [$(cross-compiling) = no]: Likewise.
50023 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50024 [$(cross-compiling) = no]: Likewise.
50025
50026 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50027
50028 [BZ #17031]
50029 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50030 double, adjusted for any remainder from the high double.
50031 * math/libm-test.inc (nearbyint): Add tests.
50032 (rint): Likewise.
50033
50034 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50035
50036 * nptl/sysdeps/powerpc/Makefile: Moved ...
50037 * sysdeps/powerpc/nptl/Makefile: ... here.
50038 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50039 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50040 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50041 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50042 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50043 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50044 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50045 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50046 * nptl/sysdeps/powerpc/tls.h: Moved ...
50047 * sysdeps/powerpc/nptl/tls.h: ... here.
50048
50049 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50050
50051 [BZ #16681]
50052 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50053 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50054 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50055 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50056 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50057 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50058 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50059 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50060 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50061
50062 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50063
50064 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50065
50066 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50067
50068 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50069 defined operator.
50070
50071 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50072 $TIMEOUTFACTOR.
50073
50074 2014-06-16 Florian Weimer <fweimer@redhat.com>
50075
50076 [BZ #17058]
50077 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50078 non-executed part of the test.
50079
50080 2014-06-16 Andreas Schwab <schwab@suse.de>
50081
50082 * string/bits/string2.h (strdup, strndup): Update feature guard.
50083
50084 2014-06-14 David S. Miller <davem@davemloft.net>
50085
50086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50087
50088 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50089
50090 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50091 that was previously under [RESET_PID].
50092 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50093
50094 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50095 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50096 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50097 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50098 (__libc_vfork): New strong alias.
50099 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50100
50101 2014-06-14 Andi Kleen <ak@linux.intel.com>
50102
50103 * sysdeps/generic/elide.h: New file.
50104
50105 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50106
50107 * Makefile (installed-headers): Adjust path of pthread.h header.
50108
50109 2014-06-13 Roland McGrath <roland@hack.frob.com>
50110
50111 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50112 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50113 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50114 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50115
50116 * nptl/sysdeps/s390/Makefile: Moved ...
50117 * sysdeps/s390/nptl/Makefile: ... here.
50118 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50119 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50120 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50121 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50122 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50123 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50124 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50125 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50126 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50127 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50128 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50129 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50130 * nptl/sysdeps/s390/tls.h: Moved ...
50131 * sysdeps/s390/nptl/tls.h: ... here.
50132
50133 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50134 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50135
50136 2014-06-13 David S. Miller <davem@davemloft.net>
50137
50138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50141 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50145 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50146 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50147 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50148 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50149 Remove RESET_PID cpp guards.
50150 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50151 Remove RESET_PID cpp guards.
50152 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50153
50154 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50155
50156 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50157 __sp to uintptr_t.
50158
50159 2014-06-13 Andi Kleen <ak@linux.intel.com>
50160
50161 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50162 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50166 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50171 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50172 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50176 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50177 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50181
50182 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50183 (pthread_rwlock_rdlock): Add elision.
50184 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50185 (pthread_rwlock_wrlock): Add elision.
50186 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50187 (pthread_rwlock_trywrlock): Add elision.
50188 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50189 (pthread_rwlock_tryrdlock): Add elision.
50190 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50191 (pthread_rwlock_tryrdlock): Add elision unlock.
50192 * nptl/sysdeps/pthread/pthread.h:
50193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50194 (PTHREAD_RWLOCK_INITIALIZER,
50195 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50196 Handle new elision field.
50197 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50198 * sysdeps/arm/nptl/bits/pthreadtypes.h
50199 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50200 * sysdeps/sh/nptl/bits/pthreadtypes.h
50201 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50202 * sysdeps/tile/nptl/bits/pthreadtypes.h
50203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50204 * sysdeps/a/nptl/bits/pthreadtypes.h
50205 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50206 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50208 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50209 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50210 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50211 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50212 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50213 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50214 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50216 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50218 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50219 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50220 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50221 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50222 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50223 (elision_init): Set try_xbegin to zero when no RTM.
50224 * sysdeps/x86/nptl/bits/pthreadtypes.h
50225 (pthread_rwlock_t): Change __pad1 to __rwelision.
50226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50227
50228 2014-06-13 Andi Kleen <ak@linux.intel.com>
50229
50230 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50231 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50232 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50233 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50234
50235 2014-06-13 Meador Inge <meadori@codesourcery.com>
50236
50237 [BZ #16996]
50238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50239 that the cached result has been set before returning it.
50240
50241 2014-06-12 Roland McGrath <roland@hack.frob.com>
50242
50243 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50244 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50245 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50246 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50247 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50248 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50249
50250 * nptl/sysdeps/sparc/Makefile: Moved ...
50251 * sysdeps/sparc/nptl/Makefile: ... here.
50252 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50253 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50254 * nptl/sysdeps/sparc/tls.h: Moved ...
50255 * sysdeps/sparc/nptl/tls.h: ... here.
50256 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50257 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50258 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50259 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50260 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50261 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50262 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50263 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50264 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50265 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50266 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50267 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50268 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50269 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50270 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50271 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50272 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50273 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50274 Update #include.
50275 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50276 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50277 Update #include.
50278 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50279 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50280 Update #include.
50281 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50283 Update #include.
50284
50285 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50286
50287 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50288 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50289
50290 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50291 (struct list_links): Type removed.
50292 (struct thread_node, struct timer_node): Replace struct list_links
50293 with struct list_head.
50294 (list_unlink_ip): Likewise.
50295 * sysdeps/pthread/timer_routines.c
50296 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50297 (list_append, list_insbefore): Likewise.
50298 (list_init): Function removed.
50299 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50300 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50301 * sysdeps/pthread/Makefile: ... here, new file.
50302
50303 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50304 * sysdeps/nptl/Implies: ... here.
50305 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50306 * nptl/sysdeps/pthread/list.h: Moved ...
50307 * include/list.h: ... here.
50308 * nptl/sysdeps/pthread/createthread.c: Moved ...
50309 * nptl/createthread.c: ... here.
50310 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50311 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50312 * nptl/pt-longjmp.c: ... here.
50313 * nptl/sysdeps/pthread/Makefile: Moved ...
50314 * sysdeps/nptl/Makefile: ... here.
50315 * nptl/sysdeps/pthread/Subdirs: Moved ...
50316 * sysdeps/nptl/Subdirs: ... here.
50317 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50318 * sysdeps/nptl/aio_misc.h: ... here.
50319 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50320 * sysdeps/nptl/bits/libc-lock.h: ... here.
50321 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50322 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50323 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50324 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50325 * nptl/sysdeps/pthread/configure: Moved ...
50326 * sysdeps/nptl/configure: ... here.
50327 * nptl/sysdeps/pthread/configure.ac: Moved ...
50328 * sysdeps/nptl/configure.ac: ... here.
50329 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50330 * sysdeps/nptl/gai_misc.h: ... here.
50331 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50332 * sysdeps/nptl/librt-cancellation.c: ... here.
50333 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50334 * sysdeps/nptl/malloc-machine.h: ... here.
50335 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50336 * sysdeps/nptl/pthread-functions.h: ... here.
50337 * nptl/sysdeps/pthread/pthread.h: Moved ...
50338 * sysdeps/nptl/pthread.h: ... here.
50339 * nptl/sysdeps/pthread/setxid.h: Moved ...
50340 * sysdeps/nptl/setxid.h: ... here.
50341 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50342 * sysdeps/nptl/sigfillset.c: ... here.
50343 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50344 * sysdeps/nptl/tcb-offsets.h: ... here.
50345 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50346 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50347 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50348 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50349 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50350 * sysdeps/pthread/allocalim.h: ... here.
50351 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50352 * sysdeps/pthread/bits/sigthread.h: ... here.
50353 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50354 * sysdeps/pthread/flockfile.c: ... here.
50355 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50356 * sysdeps/pthread/ftrylockfile.c: ... here.
50357 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50358 * sysdeps/pthread/funlockfile.c: ... here.
50359 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50360 * sysdeps/pthread/posix-timer.h: ... here.
50361 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50362 * sysdeps/pthread/timer_create.c: ... here.
50363 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50364 * sysdeps/pthread/timer_delete.c: ... here.
50365 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50366 * sysdeps/pthread/timer_getoverr.c: ... here.
50367 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50368 * sysdeps/pthread/timer_gettime.c: ... here.
50369 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50370 * sysdeps/pthread/timer_routines.c: ... here.
50371 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50372 * sysdeps/pthread/timer_settime.c: ... here.
50373 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50374 * sysdeps/pthread/tst-timer.c: ... here.
50375 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50376 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50377
50378 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50379 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50380
50381 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50382 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50383 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50384 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50385 Update #include target.
50386 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50387 * sysdeps/i386/i686/nptl/Makefile: ... here.
50388 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50389 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50390 Update #include target.
50391 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50392 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50393 * nptl/sysdeps/i386/Makefile: Moved ...
50394 * sysdeps/i386/nptl/Makefile: ... here.
50395 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50396 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50397 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50398 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50399 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50400 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50401 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50402 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50403 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50404 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50405 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50406 * nptl/sysdeps/i386/tls.h: Moved ...
50407 * sysdeps/i386/nptl/tls.h: ... here.
50408
50409 * sysdeps/sh/Makefile [$(subdir) = csu]
50410 (gen-as-const-headers): Add tcb-offsets.sym.
50411 * nptl/sysdeps/sh/Makefile: File removed.
50412 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50413 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50414 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50415 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50416 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50417 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50418 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50419 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50420 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50421 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50422 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50423 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50424 * nptl/sysdeps/sh/tls.h: Moved ...
50425 * sysdeps/sh/nptl/tls.h: ... here.
50426 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50427 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50428 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50429 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50430 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50431 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50432 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50433 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50434 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50435 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50436 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50437 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50438 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50439 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50440 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50441 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50442 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50443 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50444 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50445 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50446 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50447 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50448 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50449 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50450 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50451 Moved ...
50452 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50453 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50454 Moved ...
50455 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50456 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50457 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50458 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50460 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50461 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50462 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50463 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50464 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50465 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50466 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50467 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50468 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50469 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50470 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50471 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50472 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50473 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50474
50475 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50476
50477 * posix/spawn_faction_addopen.c: Include string.h.
50478
50479 2014-06-11 Roland McGrath <roland@hack.frob.com>
50480
50481 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50482 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50483 * nptl/sysdeps/x86_64/Makefile: Moved ...
50484 * sysdeps/x86_64/nptl/Makefile: ... here.
50485 * nptl/sysdeps/x86_64/configure: Moved ...
50486 * sysdeps/x86_64/nptl/configure: ... here.
50487 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50488 * sysdeps/x86_64/nptl/configure.ac: ... here.
50489 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50490 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50491 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50492 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50493 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50494 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50495 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50496 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50497 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50498 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50499 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50500 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50501 * nptl/sysdeps/x86_64/tls.h: Moved ...
50502 * sysdeps/x86_64/nptl/tls.h: ... here.
50503 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50504 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50505 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50506 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50507
50508 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50509
50510 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50511
50512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50513
50514 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50515
50516 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50517 type.
50518 [POSIX] (off_t): Likewise.
50519 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50520 [POSIX] (S_ISBLK): Require macro.
50521 [POSIX] (S_ISCHR): Likewise.
50522 [POSIX] (S_ISDIR): Likewise.
50523 [POSIX] (S_ISFIFO): Likewise.
50524 [POSIX] (S_ISREG): Likewise.
50525 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50526 optional-macro.
50527 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50528 type.
50529 [POSIX] (time_t): Likewise.
50530 [POSIX] (timer_t): Likewise.
50531
50532 2014-06-11 Florian Weimer <fweimer@redhat.com>
50533
50534 [BZ #17048]
50535 * posix/spawn_int.h (struct __spawn_action): Make the path string
50536 non-const to support deallocation.
50537 * posix/spawn_faction_addopen.c
50538 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50539 * posix/spawn_faction_destroy.c
50540 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50541 path in all spawn_do_open actions.
50542 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50543 posix_spawn_file_actions_addopen.
50544
50545 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50546
50547 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50548 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50549 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50550 conditional code always true.
50551 (__libc_vfork): New alias.
50552
50553 2014-06-11 Roland McGrath <roland@hack.frob.com>
50554
50555 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50556 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50557
50558 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50559
50560 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50561 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50562
50563 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50564 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50565
50566 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50567 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50568
50569 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50570
50571 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50572 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50573 multiarch strcmp for PPC64.
50574 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50575 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50577 multiarch optimizations.
50578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50579 (__libc_ifunc_impl_list): Likewise.
50580
50581 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50582
50583 * benchtests/scripts/validate_benchout.py: New script.
50584 * benchtests/Makefile (bench-func): Call it.
50585 * benchtests/scripts/benchout.schema.json: New file.
50586
50587 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50588
50589 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50590 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50591 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50592 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50593 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50594 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50595 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50596 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50597 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50598 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50599 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50600 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50601 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50602 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50603 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50604 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50606 Moved ...
50607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50608 ... here.
50609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50610 Moved ...
50611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50613 Moved ...
50614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50615 ... here.
50616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50617 Moved ...
50618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50619 ... here.
50620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50621 Moved ...
50622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50624 Moved ...
50625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50626 ... here.
50627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50628 Moved ...
50629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50630 ... here.
50631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50632 Moved ...
50633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50635 Moved ...
50636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50637 ... here.
50638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50639 Moved ...
50640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50641 ... here.
50642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50643 Moved ...
50644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50645 ... here.
50646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50647 Moved ...
50648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50650 Moved ...
50651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50652 ... here.
50653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50654 Moved ...
50655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50656 ... here.
50657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50658 Moved ...
50659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50660 ... here.
50661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50662 Moved ...
50663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50665 Moved ...
50666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50667 ... here.
50668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50669 Moved ...
50670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50671 ... here.
50672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50673 Moved ...
50674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50676 Moved ...
50677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50678 ... here.
50679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50680 Moved ...
50681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50683 Moved ...
50684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50686 Moved ...
50687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50688 ... here.
50689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50690 Moved ...
50691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50692 ... here.
50693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50694 Moved ...
50695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50696 ... here.
50697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50698 Moved ...
50699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50701 Moved ...
50702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50703 ... here.
50704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50705 Moved ...
50706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50707 ... here.
50708 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50709 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50711 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50713 Moved ...
50714 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50715 ... here.
50716 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50717 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50718 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50719 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50721 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50723 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50724 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50725 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50726 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50727 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50728 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50729 Moved ...
50730 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50731 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50732 Moved ...
50733 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50734 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50735 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50736 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50737 Moved ...
50738 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50740 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50741 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50742 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50743 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50744 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50745
50746 2014-06-10 Wilco <wdijkstr@arm.com>
50747
50748 * math/test-fenv-return.c: New file.
50749 * math/Makefile: Add new test test-fenv-return.
50750
50751 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50752
50753 [BZ #17042]
50754 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50755 when x - 1 is zero.
50756 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50757 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50758 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50759 0.0L for an argument of 1.0L.
50760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50761 Likewise.
50762 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50763 value when x - 1 is zero.
50764 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50765 * sysdeps/i386/fpu/libm-test-ulps: Update.
50766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50767
50768 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50769
50770 [BZ #15119]
50771 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50772
50773 2014-06-09 Roland McGrath <roland@hack.frob.com>
50774
50775 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50776 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50777
50778 2014-06-09 Roland McGrath <roland@hack.frob.com>
50779
50780 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50781 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50782
50783 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50784 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50785
50786 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50787 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50788
50789 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50790 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50791
50792 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50793 if not already defined.
50794 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50795 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50796 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50797 (TLS_INIT_TP): Use it.
50798 (TLS_DEFINE_INIT_TP): New macro.
50799 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50800
50801 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50802
50803 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50804 constant.
50805 [POSIX] (IXANY): Likewise.
50806 [POSIX] (OLCUC): Likewise.
50807 [POSIX || POSIX2008] (CBAUD): Do not allow.
50808 [POSIX || POSIX2008] (DEFECHO): Likewise.
50809 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50810 [POSIX || POSIX2008] (ECHOKE): Likewise.
50811 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50812 [POSIX || POSIX2008] (EXTA): Likewise.
50813 [POSIX || POSIX2008] (EXTB): Likewise.
50814 [POSIX || POSIX2008] (FLUSHO): Likewise.
50815 [POSIX || POSIX2008] (LOBLK): Likewise.
50816 [POSIX || POSIX2008] (PENDIN): Likewise.
50817 [POSIX || POSIX2008] (SWTCH): Likewise.
50818 [POSIX || POSIX2008] (VDISCARD): Likewise.
50819 [POSIX || POSIX2008] (VDSUSP): Likewise.
50820 [POSIX || POSIX2008] (VLNEXT): Likewise.
50821 [POSIX || POSIX2008] (VREPRINT): Likewise.
50822 [POSIX || POSIX2008] (VSTATUS): Likewise.
50823 [POSIX || POSIX2008] (VWERASE): Likewise.
50824 (B*): Change to B[0123456789]*.
50825 * conform/data/time.h-data [POSIX || UNIX98]
50826 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50827 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50828 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50829 [POSIX] (tm_*): Do not allow.
50830
50831 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50832
50833 * Makefile (install): Don't set LANGUAGE.
50834 * Makefile.in (install): Likewise.
50835 * assert/Makefile (test-assert-ENV): Remove variable.
50836 (test-assert-perr-ENV): Likewise.
50837 * elf/Makefile (neededtest4-ENV): Likewise.
50838 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50839 [$(cross-compiling) = no]: Don't set LANGUAGE.
50840 * io/ftwtest-sh (LANG): Remove variable.
50841 * libio/Makefile (tst-widetext-ENV): Likewise.
50842 * manual/install.texi (Running make install): Don't refer to
50843 environment settings for make install.
50844 * INSTALL: Regenerated.
50845 * nptl/tst-tls6.sh: Don't set LANG.
50846 * posix/globtest.sh (LANG): Remove variable.
50847 * string/Makefile (tester-ENV): Likewise.
50848 (inl-tester-ENV): Likewise.
50849 (noinl-tester-ENV): Likewise.
50850 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50851 [$(cross-compiling) = no]: Don't set LANGUAGE.
50852 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50853 without explicit environment settings.
50854
50855 2014-06-06 Roland McGrath <roland@hack.frob.com>
50856
50857 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50858 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50859 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50860 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50861
50862 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50863
50864 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50865 other files in the crypt directory.
50866 * crypt/crypt.c: Remove duplicate includes.
50867 * crypt/crypt-entry.c: Likewise.
50868 * crypt/crypt_util.c: Likewise.
50869
50870 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50871
50872 * Makeconfig (run-program-env): New variable.
50873 (run-program-prefix-before-env): Likewise.
50874 (run-program-prefix-after-env): Likewise.
50875 (run-program-prefix): Define in terms of new variables.
50876 (built-program-cmd-before-env): New variable.
50877 (built-program-cmd-after-env): Likewise.
50878 (built-program-cmd): Define in terms of new variables.
50879 (test-program-prefix-before-env): New variable.
50880 (test-program-prefix-after-env): Likewise.
50881 (test-program-prefix): Define in terms of new variables.
50882 (test-program-cmd-before-env): New variable.
50883 (test-program-cmd-after-env): Likewise.
50884 (test-program-cmd): Define in terms of new variables.
50885 * Rules (make-test-out): Use $(run-program-env).
50886 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50887 (help): Do not mention environment variables. Mention
50888 --timeoutfactor option.
50889 (timeoutfactor): New variable.
50890 (blacklist_exports): Remove function.
50891 (exports): Remove variable.
50892 (command): Do not include ${exports}.
50893 * manual/install.texi (Configuring and compiling): Do not mention
50894 test wrappers preserving environment variables. Mention that last
50895 assignment to a variable must take precedence.
50896 * INSTALL: Regenerated.
50897 * benchtests/Makefile (run-bench): Use $(run-program-env).
50898 * catgets/Makefile ($(objpfx)test1.cat): Use
50899 $(built-program-cmd-before-env), $(run-program-env) and
50900 $(built-program-cmd-after-env).
50901 ($(objpfx)test2.cat): Do not specify environment variables
50902 explicitly.
50903 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50904 $(run-program-env) and $(built-program-cmd-after-env).
50905 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50906 $(run-program-env) and $(test-program-cmd-after-env).
50907 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50908 explicitly.
50909 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50910 run_program_env and test_program_cmd_after_env arguments.
50911 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50912 * elf/tst-pathopt.sh: Use run_program_env argument.
50913 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50914 $(test-wrapper-env) and $(run-program-env).
50915 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50916 run_program_env arguments.
50917 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50918 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50919 $(test-program-prefix-before-env), $(run-program-env) and
50920 $(test-program-prefix-after-env).
50921 ($(objpfx)tst-gettext2.out): Likewise.
50922 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50923 run_program_env and test_program_prefix_after_env arguments.
50924 * intl/tst-gettext2.sh: Likewise.
50925 * intl/tst-gettext4.sh: Do not set environment variables
50926 explicitly.
50927 * intl/tst-gettext6.sh: Likewise.
50928 * intl/tst-translit.sh: Likewise.
50929 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50930 $(test-program-prefix-before-env), $(run-program-env) and
50931 $(test-program-prefix-after-env).
50932 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50933 run_program_env and test_program_prefix_after_env arguments.
50934 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50935 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50936 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50937 explicitly with each use of ${test_wrapper_env}.
50938 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50939 $(test-program-prefix-before-env), $(run-program-env) and
50940 $(test-program-prefix-after-env).
50941 * posix/tst-getconf.sh: Do not set environment variables
50942 explicitly.
50943 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50944 run_program_env and test_program_prefix_after_env arguments.
50945 * stdio-common/tst-printf.sh: Do not set environment variables
50946 explicitly.
50947 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50948 $(test-program-prefix-before-env), $(run-program-env) and
50949 $(test-program-prefix-after-env).
50950 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50951 run_program_env and test_program_prefix_after_env arguments.
50952 Split $test calls into $test_pre and $test.
50953 * timezone/Makefile (build-testdata): Use
50954 $(built-program-cmd-before-env), $(run-program-env) and
50955 $(built-program-cmd-after-env).
50956
50957 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50958
50959 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50960 strlen for non SHARED builds.
50961
50962 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50963
50964 * nptl/allocatestack.c (check_list): Inlined function...
50965 (__reclaim_stacks): ... here.
50966
50967 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50968
50969 [BZ #15698]
50970 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50971 memory overrun.
50972
50973 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50974
50975 * Rules (make-test-out): Include
50976 LOCPATH=$(common-objpfx)localedata in default environment.
50977 * debug/Makefile (tst-chk1-ENV): Remove variable.
50978 (tst-chk2-ENV): Likewise.
50979 (tst-chk3-ENV): Likewise.
50980 (tst-chk4-ENV): Likewise.
50981 (tst-chk5-ENV): Likewise.
50982 (tst-chk6-ENV): Likewise.
50983 (tst-lfschk1-ENV): Likewise.
50984 (tst-lfschk2-ENV): Likewise.
50985 (tst-lfschk3-ENV): Likewise.
50986 (tst-lfschk4-ENV): Likewise.
50987 (tst-lfschk5-ENV): Likewise.
50988 (tst-lfschk6-ENV): Likewise.
50989 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50990 (tst-iconv7-ENV): Likewise.
50991 * intl/Makefile (LOCPATH-ENV): Likewise.
50992 (tst-codeset-ENV): Likewise.
50993 (tst-gettext3-ENV): Likewise.
50994 (tst-gettext5-ENV): Likewise.
50995 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50996 (tst-fopenloc-ENV): Likewise.
50997 (tst-fgetws-ENV): Remove variable.
50998 (tst-ungetwc1-ENV): Likewise.
50999 (tst-ungetwc2-ENV): Likewise.
51000 (bug-ungetwc2-ENV): Likewise.
51001 (tst-swscanf-ENV): Likewise.
51002 (bug-ftell-ENV): Likewise.
51003 (tst-fgetwc-ENV): Likewise.
51004 (tst-fseek-ENV): Likewise.
51005 (tst-ftell-partial-wide-ENV): Likewise.
51006 (tst-ftell-active-handler-ENV): Likewise.
51007 (tst-ftell-append-ENV): Likewise.
51008 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51009 (tst-regexloc-ENV): Likewise.
51010 (bug-regex1-ENV): Likewise.
51011 (tst-regex-ENV): Likewise.
51012 (tst-regex2-ENV): Likewise.
51013 (bug-regex5-ENV): Likewise.
51014 (bug-regex6-ENV): Likewise.
51015 (bug-regex17-ENV): Likewise.
51016 (bug-regex18-ENV): Likewise.
51017 (bug-regex19-ENV): Likewise.
51018 (bug-regex20-ENV): Likewise.
51019 (bug-regex22-ENV): Likewise.
51020 (bug-regex23-ENV): Likewise.
51021 (bug-regex25-ENV): Likewise.
51022 (bug-regex26-ENV): Likewise.
51023 (bug-regex30-ENV): Likewise.
51024 (bug-regex32-ENV): Likewise.
51025 (bug-regex33-ENV): Likewise.
51026 (bug-regex34-ENV): Likewise.
51027 (bug-regex35-ENV): Likewise.
51028 (tst-rxspencer-ENV): Likewise.
51029 (tst-rxspencer-no-utf8-ENV): Likewise.
51030 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51031 (tst-sscanf-ENV): Likewise.
51032 (tst-swprintf-ENV): Likewise.
51033 (tst-swscanf-ENV): Likewise.
51034 (test-vfprintf-ENV): Likewise.
51035 (scanf13-ENV): Likewise.
51036 (bug14-ENV): Likewise.
51037 (tst-grouping-ENV): Likewise.
51038 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51039 (tst-strtod3-ENV): Likewise.
51040 (tst-strtod4-ENV): Likewise.
51041 (tst-strtod5-ENV): Likewise.
51042 (testmb2-ENV): Likewise./
51043 * string/Makefile (tst-strxfrm-ENV): Likewise.
51044 (tst-strxfrm2-ENV): Likewise.
51045 (bug-strcoll1-ENV): Likewise.
51046 (test-strcasecmp-ENV): Likewise.
51047 (test-strncasecmp-ENV): Likewise.
51048 * time/Makefile (tst-strptime-ENV): Likewise.
51049 (tst-ftime_l-ENV): Likewise.
51050 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51051 (tst-mbrtowc-ENV): Likewise.
51052 (tst-wcrtomb-ENV): Likewise.
51053 (tst-mbrtowc2-ENV): Likewise.
51054 (tst-c16c32-1-ENV): Likewise.
51055 (tst-mbsnrtowcs-ENV): Likewise.
51056
51057 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
51058
51059 * manual/resource.texi (How to get information about the memory
51060 subsystem?): Fix typo.
51061 Reported by Peon de la Parra Ivan <peon@keba.com>
51062
51063 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51064
51065 [BZ #16882]
51066 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51067 (pthread_spin_lock): Branch out of spin loop to proper location.
51068 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51069 (pthread_spin_lock): Likewise.
51070
51071 * nptl/tst-spin4.c: New test.
51072 * nptl/Makefile (tests): Add tst-spin4.
51073
51074 2014-06-03 Andreas Schwab <schwab@suse.de>
51075
51076 [BZ #15946]
51077 * resolv/res_send.c (send_dg): Reload file descriptor after
51078 calling reopen.
51079
51080 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51081
51082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51083
51084 2014-06-03 Richard Henderson <rth@redhat.com>
51085
51086 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51087 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51088 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51089 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51090 in the SAVE_PID block.
51091 (__libc_vfork): New alias.
51092 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51093
51094 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51095 child in registers, not on the stack. Remove RESET_PID conditionals.
51096 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51097
51098 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51099
51100 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51101
51102 2014-06-03 Wilco <wdijkstr@arm.com>
51103
51104 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51105 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51106 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51107 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51108 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51109 Likewise.
51110
51111 2014-06-03 Wilco <wdijkstr@arm.com>
51112
51113 * sysdeps/aarch64/fpu/math_private.h
51114 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51115 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51116 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51117 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51118 Fix declarations.
51119
51120 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51121
51122 * crypt/crypt-private.h: Include ufc-crypt.h.
51123 (__b64_from_24bit): Declare extern.
51124 * crypt/crypt_util.c(__b64_from_24bit): New function.
51125 (b64t): New static const variable.
51126 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51127 (b64t): Remove variable.
51128 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51129 * crypt/sha256-crypt.c: Include crypt-private.h.
51130 (b64t): Remove variable.
51131 (__sha256_crypt_r): Remove b64_from_24bit and replace
51132 with __b64_from_24bit.
51133 * crypt/sha512-crypt.c: Likewise.
51134
51135 2014-06-02 Roland McGrath <roland@hack.frob.com>
51136
51137 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51138 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51139 Label the code __libc_vfork rather than __vfork.
51140 [!NOT_IN_libc] (vfork): Define as weak alias.
51141 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51142 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51143 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51144
51145 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51146
51147 * malloc/malloc.c (malloc_info): Fix format specifier for
51148 n_mmaps.
51149
51150 2014-06-02 Wilco <wdijkstr@arm.com>
51151
51152 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51153 FPCR write.
51154
51155 2014-06-02 Wilco <wdijkstr@arm.com>
51156
51157 [BZ #17009]
51158 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51159 Rewrite to reduce FPCR/FPSR accesses.
51160
51161 2014-06-01 David S. Miller <davem@davemloft.net>
51162
51163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51164
51165 2014-05-31 David S. Miller <davem@davemloft.net>
51166
51167 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51168 to occur in round to nearest mode when |x| >= 2.0
51169
51170 2014-05-30 Richard Henderson <rth@twiddle.net>
51171
51172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51173 (PSEUDO_RET_NOERRNO): Remove.
51174 (ret): Don't redefine.
51175 (ret_NOERRNO): Define in terms of ret.
51176 (ret_ERRVAL): Likewise.
51177
51178 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51179 use of PSEUDO_RET; perform the error check directly.
51180
51181 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51182
51183 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51184 with __int128_t.
51185
51186 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51187
51188 * malloc/malloc (malloc_info): Fix formatting.
51189
51190 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51191 Roland McGrath <roland@hack.frob.com>
51192
51193 * malloc/malloc (malloc_info): Also print mmapped statistics.
51194
51195 2014-05-30 Roland McGrath <roland@hack.frob.com>
51196
51197 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51198 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51199
51200 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51201
51202 * malloc/malloc.c (malloc_info): Inline mi_arena.
51203
51204 2014-05-29 Richard Henderson <rth@twiddle.net>
51205
51206 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51207 Remove comma before expanding ASM_ARGS_##nr.
51208 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51209 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51210 of ASM_ARGS_##nr.
51211 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51212 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51213 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51214 (ASM_ARGS_1): Add leading comma.
51215
51216 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51217 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51218 to __errno_location.
51219 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51220 Remove the expected plt for __errno_location.
51221
51222 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51223 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51224 call to __read_tp.
51225
51226 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51227 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51228 it and break it down.
51229 (DOCARGS_0, DOCARGS_1): Do nothing.
51230 (DOCARGS_2): Update to store into the new stack frame.
51231 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51232 (UNDOCARGS_1): Update to restore from the new stack frame.
51233 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51234 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51235
51236 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51237 (SINGLE_THREAD_P): New parameter for result regno.
51238 (PSEUDO): Update to match; use cbz instead of beq.
51239
51240 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51241 Use ENTRY to define the _nocancel entry point. Share the syscall
51242 and syscall error check paths with the cancel path.
51243 (PSEUDO_END): New.
51244
51245 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51246 whitespace; tabs before and after asm mnemonics.
51247
51248 2014-05-29 Eric Wong <normalperson@yhbt.net>
51249
51250 [BZ #15132]
51251 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51252 Call fstat64 or stat64 internally, depending on arguments passed.
51253 Replace stat buffer argument with file descriptor argument.
51254 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51255 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51256 Pass fd to __internal_statvfs instead of calling fstat64.
51257 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51258 Pass fd to __internal_statvfs64 instead of calling fstat64.
51259 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51260 Pass -1 to __internal_statvfs instead of calling stat64.
51261 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51262 Pass -1 to __internal_statvfs64 instead of calling stat64.
51263
51264 2014-05-28 Roland McGrath <roland@hack.frob.com>
51265
51266 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51267 that was previously under [RESET_PID].
51268 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51269
51270 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51271 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51272
51273 2014-05-27 Roland McGrath <roland@hack.frob.com>
51274
51275 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51276
51277 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51278 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51279
51280 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51281
51282 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51283
51284 2014-05-27 Andreas Schwab <schwab@suse.de>
51285
51286 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51287 TLS_INIT_TP macro.
51288 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51289 * elf/rtld.c (init_tls, dl_main): Likewise.
51290 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51291 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51292 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51293 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51294 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51295 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51296 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51297 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51298 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51299 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51300 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51301 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51302 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51303 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51304 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51305 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51306 * sysdeps/generic/tls.h: Update description.
51307
51308 2014-05-27 Will Newton <will.newton@linaro.org>
51309
51310 [BZ #16990]
51311 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51312 and restore r2 rather than just restoring.
51313
51314 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51315
51316 [BZ #16724]
51317 * libio/tst-ftell-append.c: New test case.
51318 * libio/Makefile (tests): Add test case.
51319 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51320 append mode.
51321 * libio/wfileops.c (do_ftell_wide): Likewise.
51322
51323 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51324
51325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51326
51327 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51328 ...
51329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51331 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51332 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51333 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51334 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51335 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51336 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51338 Moved ...
51339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51341 Moved ...
51342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51343 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51344 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51345 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51346 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51347 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51348 ...
51349 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51350 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51351 Moved ...
51352 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51353 here.
51354 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51355 ...
51356 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51357 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51358 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51359
51360 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51361 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51363 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51364
51365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51366 merge into ...
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51368 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51369 ...
51370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51372 ...
51373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51375 Moved ...
51376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51377 here.
51378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51379 Moved ...
51380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51382 Moved ...
51383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51384
51385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51386 conditional [RESET_PID].
51387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51389 removed.
51390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51391 removed.
51392
51393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51394 <tcb-offsets.h>.
51395 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51396 (__libc_vfork): New strong alias.
51397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51398 removed.
51399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51400 Removed.
51401
51402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51403 <tcb-offsets.h>.
51404 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51405 (__libc_vfork): New strong alias.
51406 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51407 removed.
51408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51409 removed.
51410
51411 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51412
51413 * malloc/malloc.c (mi_arena): New function.
51414 (malloc_info): Remove nested function mi_arena. Call non-nosted
51415 function mi_arena.
51416
51417 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51418
51419 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51420 by insrwi.
51421 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51422 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51423 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51424 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51425 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51426 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51427 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51428
51429 2014-05-26 Andreas Schwab <schwab@suse.de>
51430
51431 [BZ #16984]
51432 * locale/programs/repertoire.c (repertoire_read): Add slash
51433 between I18NPATH element and file name.
51434 * locale/programs/locfile.c (locfile_read): Likewise.
51435
51436 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51437
51438 * nptl/pthread_mutexattr_settype.c
51439 (__pthread_mutexattr_settype):
51440 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51441
51442 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51443
51444 * nptl/tst-mutex5 (do_test):
51445 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51446
51447 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51448
51449 * benchtests/README: Document 'init' directive.
51450 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51451 BENCH_INIT.
51452 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51453 (parse_file): Recognize 'init' directive.
51454
51455 2014-05-26 Kyle McMartin <kyle@redhat.com>
51456
51457 [BZ #16796]
51458 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51459 alignment of struct pthread.
51460
51461 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51462
51463 [BZ #16878]
51464 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51465 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51466 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51467 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51468
51469 2014-05-25 Richard Henderson <rth@twiddle.net>
51470
51471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51472 (SINGLE_THREAD_P_PIC): Remove.
51473 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51474 (SINGLE_THREAD_P_PIC): Remove.
51475
51476 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51477 branch to syscall error ...
51478 (PSEUDO): ... here.
51479 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51480 from __local_syscall_error to .Lsyscall_error.
51481 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51482 (SYSCALL_ERROR): Update label name.
51483
51484 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51485 Do not use DOARGS/UNDOARGS.
51486 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51487 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51488 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51489 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51490 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51491
51492 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51493 block comment.
51494
51495 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51496 define if !NOT_IN_libc.
51497 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51498 define with non-default symbol versions.
51499
51500 2014-05-23 Richard Henderson <rth@twiddle.net>
51501
51502 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51503 (vfork, __vfork): Define via compat_symbol.
51504
51505 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51506 [!HAVE_IFUNC] (vfork_compat): Remove.
51507 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51508
51509 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51510
51511 [BZ #16978]
51512 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51513 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51514 variable.
51515
51516 2014-05-23 Richard Henderson <rth@twiddle.net>
51517
51518 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51519 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51520 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51521 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51522
51523 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51524 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51525 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51526 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51527 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51528 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51529 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51530 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51531 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51532 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51533 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51534 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51535 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51536 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51537 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51538 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51539 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51540 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51541 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51542 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51543 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51544 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51545 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51546 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51547 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51548 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51549 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51550 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51551 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51552 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51553 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51554 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51555 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51556 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51557 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51558 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51559 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51560 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51561 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51562 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51563 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51564 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51565 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51566 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51567 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51568 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51569 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51570 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51571 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51572 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51573 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51574 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51575 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51576 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51577 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51578 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51579
51580 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51581 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51582 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51583 before exiting on error.
51584 (__libc_vfork): New strong alias.
51585 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51586 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51587
51588 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51589 that was previously under [RESET_PID].
51590 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51591
51592 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51593
51594 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51595
51596 [BZ #16977]
51597 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51598 value when x - 1 is zero.
51599 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51600 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51601 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51602 0.0L for an argument of 1.0L.
51603 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51604 Likewise.
51605 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51606 value when x - 1 is zero.
51607 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51608 * sysdeps/i386/fpu/libm-test-ulps: Update.
51609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51610
51611 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51612
51613 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51614 alphasort and versionsort.
51615
51616 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51617
51618 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51619 macro.
51620 [copysignf]: Likewise.
51621
51622 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51623
51624 * crypt/md5-crypt.c: Fix formatting.
51625
51626 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51627
51628 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51629 (b64_from_24bit): New function.
51630
51631 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51632
51633 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51634 libc_hidden_builtin_def to ifunc.
51635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51636 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51637
51638 2014-05-21 Roland McGrath <roland@hack.frob.com>
51639
51640 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51641 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51642
51643 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51644
51645 * nscd/Depend (linuxthreads): Remove.
51646 (nptl): Add.
51647 * resolv/Depend (linuxthreads): Remove.
51648 * rt/Depend (linuxthreads): Remove.
51649
51650 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51651 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51652 $(common-objpfx)elf/.
51653 (link-libc-before-gnulib): Likewise.
51654 (elfobjdir): Remove variable.
51655 * Makefile (install): Use $(elf-objpfx) instead of
51656 $(common-objpfx)elf/.
51657 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51658 $(elfobjdir)/.
51659 (link-libc-deps): Likewise.
51660 ($(common-objpfx)libc.so): Likewise.
51661 ($(common-objpfx)linkobj/libc.so): Likewise.
51662 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51663 instead of $(common-objpfx)elf/.
51664 (symbolic-link-list): Likewise.
51665 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51666 [$(cross-compiling) = no]: Likewise.
51667 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51668 $(elfobjdir)/.
51669 (static-gnulib-arch): Likewise.
51670 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51671 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51672 $(common-objpfx)elf/.
51673
51674 2014-05-21 Richard Henderson <rth@redhat.com>
51675
51676 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51677 (SINGLE_THREAD_P): Use the correct width load. Fold
51678 into the ldr offset.
51679
51680 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51681 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51682
51683 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51684
51685 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51686 (libgcc_s_resume): Use __attribute_used__.
51687 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51688 Likewise.
51689
51690 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51691
51692 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51693 optimization when used with float constants.
51694
51695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51696
51697 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51698
51699 [BZ #16915]
51700 * locale/nl_langinfo_l.c: Make direct reference to every
51701 _nl_current_CATEGORY symbol.
51702 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51703 (tests-static): Add tst-langinfo-static.
51704 (tests-special): Add tst-langinfo-static.out.
51705 ($(objpfx)tst-langinfo.out): Redirect output.
51706 ($(objpfx)tst-langinfo-static.out): New.
51707 * localedata/tst-langinfo.sh: Send output to stdout.
51708 * localedata/tst-langinfo-static.c: New file.
51709
51710 [BZ #16965]
51711 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51712 when the shift amount is modulo the limb size.
51713
51714 2014-05-20 Richard Henderson <rth@redhat.com>
51715
51716 [BZ #16967]
51717 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51718 Change type of sa_flags from unsigned int to int.
51719
51720 [BZ #16966]
51721 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51722
51723 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51724
51725 2014-05-20 Will Newton <will.newton@linaro.org>
51726
51727 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51728 Test the return value of the system call in the nocancel case.
51729
51730 2014-05-20 Will Newton <will.newton@linaro.org>
51731 Yvan Roux <yvan.roux@linaro.org>
51732
51733 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51734 #include of asm/ptrace.h.
51735 (PTRACE_GET_THREAD_AREA): Remove #undef.
51736 (PTRACE_GETHBPREGS): Likewise.
51737 (PTRACE_SETHBPREGS): Likewise.
51738 (struct user_regs_struct): New structure.
51739 (struct user_fpsimd_struct): New structure.
51740 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51741 #include of asm/ptrace.h and second #include of sys/user.h.
51742 (PTRACE_GET_THREAD_AREA): Remove #undef.
51743 (PTRACE_GETHBPREGS): Likewise.
51744 (PTRACE_SETHBPREGS): Likewise.
51745 (ELF_NGREG): Use new struct user_regs_struct.
51746 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51747
51748 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51749
51750 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51752
51753 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51754
51755 [BZ #16958]
51756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51757 membar to avoid block loads/stores to overlap previous stores.
51758
51759 2014-05-17 Richard Henderson <rth@redhat.com>
51760
51761 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51762 Create the __##syscall_name##_nocancel entry point.
51763 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51764 Remove; let the sysdep-cancel.h code create it.
51765
51766 2014-05-17 David S. Miller <davem@davemloft.net>
51767
51768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51769 Protect with __USE_GNU.
51770 (TIOCSET_TEMPT): Likewise.
51771 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51772 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51773 these are already provided in bits/ioctl-types.h
51774
51775 2014-05-16 Roland McGrath <roland@hack.frob.com>
51776
51777 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51778 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51779
51780 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51781 Use wait4 regardless of [__NR_waitpid].
51782
51783 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51784
51785 PR libgcc/60166
51786 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51787 (_FP_NANSIGN_Q): Set the quiet bit.
51788
51789 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51790
51791 * benchtests/Makefile
51792 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51793 not $(common-objpfx)math/libm.so.
51794 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51795 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51796 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51797 $(common-objpfx)dlfcn/libdl.so.
51798 ($(objpfx)tst-audit8): Depend on $(libm), not
51799 $(common-objpfx)math/libm.so.
51800 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51801 not $(common-objpfx)dlfcn/libdl.so.
51802 * math/Makefile
51803 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51804 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51805 [$(build-shared) = yes].
51806 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51807 $(common-objpfx)nptl/libpthread.so.
51808 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51809 $(common-objpfx)math/libm.so$(libm.so-version) or
51810 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51811 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51812 $(common-objpfx)dlfcn/libdl.so.
51813 * setjmp/Makefile (link-libm): Remove variable.
51814 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51815 * stdio-common/Makefile (link-libm): Remove variable.
51816 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51817 * stdlib/Makefile (link-libm): Remove variable.
51818 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51819 ($(objpfx)tst-strtod-round): Likewise.
51820 ($(objpfx)tst-tininess): Likewise.
51821 ($(objpfx)tst-strtod-underflow): Likewise.
51822 ($(objpfx)tst-strtod6): Likewise.
51823 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51824 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51825 $(common-objpfx)dlfcn/libdl.so.
51826
51827 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51828
51829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51830 BSD terminal modes definitions.
51831
51832 2014-05-16 Roland McGrath <roland@hack.frob.com>
51833
51834 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51835 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51836
51837 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51838 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51839 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51840 Don't do #include_next.
51841 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51842 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51843 Don't do #include_next.
51844 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51845 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51846 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51847 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51848
51849 2014-05-16 Allan McRae <allan@archlinux.org>
51850
51851 * po/sv.po: Update Swedish translation from translation project.
51852
51853 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51854 in sed expression.
51855
51856 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51857
51858 [BZ #16917]
51859 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51860 errno if the TIOCGPTN ioctl fails with an error different than
51861 EINVAL.
51862 * login/tst-ptsname.c: New file.
51863 * login/Makefile (tests): Add tst-ptsname.
51864
51865 [BZ #16943]
51866 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51867 and prlimit64.
51868
51869 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51870
51871 [BZ #16849]
51872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51873 herrno to return EAI_AGAIN.
51874
51875 2014-05-14 Roland McGrath <roland@hack.frob.com>
51876
51877 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51878 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51879 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51880 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51881 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51882 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51883 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51884 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51885 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51886 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51887 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51888 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51889 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51890 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51891 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51892 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51893 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51894 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51895 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51896 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51897 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51898 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51899 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51900 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51901 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51902 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51903 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51904 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51905 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51906 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51908 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51910 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51912 Moved ...
51913 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51915 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51917 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51919 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51921 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51923 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51925 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51927 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51929 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51931 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51933 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51935 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51937 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51939 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51941 Moved ...
51942 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51944 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51948 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51950 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51952 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51954 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51956 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51958 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51960 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51962 Moved ...
51963 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51965 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51966
51967 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51968 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51969 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51970 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51971 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51972 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51973 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51974 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51975 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51976 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51977 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51978 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51979 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51980 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51981 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51982 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51983 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51984 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51985 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51986 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51987 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51988 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51989 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51990 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51991 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51992 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51993 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51994 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51995 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51996 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51997 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51998
51999 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52000 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52001
52002 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52003 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52004 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52005 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52006 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52008 Moved ...
52009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52010 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52011 Moved ...
52012 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52013 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52014 Moved ...
52015 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52016 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52017 Moved ...
52018 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52019 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52020 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52021 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52022 Moved ...
52023 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52024 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52025 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52026 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52027 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52028 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52029 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52030 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52031 Moved ...
52032 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52033 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52034 Moved ...
52035 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52036 ... here.
52037 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52038 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52039 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52040 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52042 Moved ...
52043 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52044 ... here.
52045 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52046 Moved ...
52047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52048 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52049 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52050 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52051 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52053 Moved ...
52054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52055 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52056 Moved ...
52057 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52058 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52059 Moved ...
52060 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52061 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52062 Moved ...
52063 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52064 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52065 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52066 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52067 Moved ...
52068 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52069 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52070 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52071 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52072 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52073 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52074 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52075 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52076 Moved ...
52077 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52078 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52079 Moved ...
52080 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52081 ... here.
52082 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52083 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52084 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52085 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52087 Moved ...
52088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52089 ... here.
52090 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52091 Moved ...
52092 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52093 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52094 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52095 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52096 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52097 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52098 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52099 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52100 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52101 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52102 Moved ...
52103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52104 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52105 Moved ...
52106 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52107 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52108 Moved ...
52109 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52110 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52111 Moved ...
52112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52113 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52114 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52115 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52116 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52118 Moved ...
52119 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52120 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52121 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52122 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52124 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52125 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52126 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52127 Moved ...
52128 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52129 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52130 Moved ...
52131 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52132 ... here.
52133 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52134 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52135 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52136 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52137 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52138 Moved ...
52139 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52140 ... here.
52141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52142 Moved ...
52143 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52144 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52145 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52146 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52147 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52148 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52149 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52150 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52151 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52152 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52153 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52154
52155 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52156 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52157
52158 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52159 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52160
52161 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52162 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52163 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52164 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52165 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52166 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52167 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52168 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52169 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52170 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52172 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52173 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52174 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52175 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52177 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52178 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52179 Moved ...
52180 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52182 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52184 Moved ...
52185 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52187 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52188 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52189 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52191 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52192 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52193 Moved ...
52194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52195 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52196 Moved ...
52197 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52199 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52203 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52204 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52205 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52206 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52207 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52208 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52209 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52210 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52211 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52212 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52213 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52214
52215 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52216 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52217 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52218 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52219 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52220
52221 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52222 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52223 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52224 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52225 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52226 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52227 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52228 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52229 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52230 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52231
52232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52234
52235 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52236 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52237 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52238 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52239 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52240 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52241 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52242 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52243 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52244 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52245 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52246 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52247 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52248 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52249 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52250 Update #include.
52251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52252 Likewise.
52253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52254 Likewise.
52255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52256 Likewise.
52257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52258 Likewise.
52259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52260 Likewise.
52261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52262 Likewise.
52263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52264 Likewise.
52265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52266 Likewise.
52267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52268 Likewise.
52269 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52274 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52279 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52280 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52281 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52284
52285 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52286 that was previously under [RESET_PID].
52287 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52288 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52289 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52290
52291 * sysdeps/i386/nptl/Implies: New file.
52292 * sysdeps/x86_64/nptl/Implies: New file.
52293 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52294 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52295 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52296 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52297
52298 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52299 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52300 (__libc_vfork): New strong alias.
52301 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52302 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52303
52304 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52305 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52306 (__libc_vfork): New strong alias.
52307 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52308 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52309
52310 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52311 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52312 (__libc_vfork): New strong alias.
52313 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52314 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52315 * nptl/pt-vfork.c: New file.
52316 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52317 (libpthread: GLIBC_2.20): New version set (empty).
52318
52319 2014-05-14 Will Newton <will.newton@linaro.org>
52320
52321 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52322 rather than #if.
52323
52324 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52325
52326 [BZ #16564]
52327 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52328 arguments with exponent 65 or above.
52329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52330 arguments 0x1p113L or above.
52331 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52332 to arguments 0x1p107L or above.
52333 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52334 positive arguments with exponent 65 or above.
52335 * math/auto-libm-test-in: Add more tests of log1p.
52336 * math/auto-libm-test-out: Regenerated.
52337
52338 [BZ #16928]
52339 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52340 non-finite arguments is +0.
52341 * math/s_cacosf.c (__cacosf): Likewise.
52342 * math/s_cacosl.c (__cacosl): Likewise.
52343 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52344 * sysdeps/i386/fpu/libm-test-ulps: Update.
52345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52346
52347 [BZ #16927]
52348 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52349 value.
52350 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52351 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52352 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52353 for explicit high bit of mantissa when testing for argument equal
52354 to 1.
52355 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52356 * sysdeps/i386/fpu/libm-test-ulps: Update.
52357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52358
52359 [BZ #16516]
52360 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52361 (__erf): Scale by 16 instead of 8 in potentially underflowing
52362 case. Ensure exception if result actually underflows.
52363 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52364 (__erff): Scale by 16 instead of 8 in potentially underflowing
52365 case. Ensure exception if result actually underflows.
52366 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52367 (efx8): Remove variable.
52368 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52369 case. Ensure exception if result actually underflows.
52370 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52371 (efx8): Remove variable.
52372 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52373 case. Ensure exception if result actually underflows.
52374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52375 (efx8): Remove variable.
52376 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52377 case. Ensure exception if result actually underflows.
52378 * math/auto-libm-test-in: Add more tests of erf.
52379 * math/auto-libm-test-out: Regenerated.
52380
52381 2014-05-14 Andreas Schwab <schwab@suse.de>
52382
52383 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52384 Remove code conditionalized on USE___THREAD.
52385
52386 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52387 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52388 not definedness.
52389
52390 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52391
52392 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52393 Define unconditionally.
52394 (__ASSUME_O_CLOEXEC): Likewise.
52395 (__ASSUME_SOCK_CLOEXEC): Likewise.
52396 (__ASSUME_IN_NONBLOCK): Likewise.
52397 (__ASSUME_PIPE2): Likewise.
52398 (__ASSUME_EVENTFD2): Likewise.
52399 (__ASSUME_SIGNALFD4): Likewise.
52400 (__ASSUME_DUP3): Likewise.
52401 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52402 (__ASSUME_DUP3): Do not define.
52403 (__ASSUME_EVENTFD2): Likewise.
52404 (__ASSUME_IN_NONBLOCK): Likewise.
52405 (__ASSUME_O_CLOEXEC): Likewise.
52406 (__ASSUME_PIPE2): Likewise.
52407 (__ASSUME_SIGNALFD4): Likewise.
52408 (__ASSUME_SOCK_CLOEXEC): Likewise.
52409 (__ASSUME_UTIMES): Undefine.
52410 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52411 (__ASSUME_UTIMES): Do not define.
52412 (__ASSUME_O_CLOEXEC): Likewise.
52413 (__ASSUME_SOCK_CLOEXEC): Likewise.
52414 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52415 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52416 0x020621].
52417 (__ASSUME_PIPE2): Likewise.
52418 (__ASSUME_EVENTFD2): Likewise.
52419 (__ASSUME_SIGNALFD4): Likewise.
52420 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52421 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52422 Do not define.
52423 (__ASSUME_EVENTFD2): Likewise.
52424 (__ASSUME_SIGNALFD4): Likewise.
52425 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52426 (__ASSUME_32BITUIDS): Likewise.
52427 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52428 (__ASSUME_IPC64): Likewise.
52429 (__ASSUME_ST_INO_64_BIT): Likewise.
52430 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52431 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52432 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52433 (__ASSUME_UTIMES): Do not define.
52434 (__ASSUME_PSELECT): Likewise.
52435 (__ASSUME_PPOLL): Likewise.
52436 (__ASSUME_O_CLOEXEC): Likewise.
52437 (__ASSUME_SOCK_CLOEXEC): Likewise.
52438 (__ASSUME_IN_NONBLOCK): Likewise.
52439 (__ASSUME_PIPE2): Likewise.
52440 (__ASSUME_EVENTFD2): Likewise.
52441 (__ASSUME_SIGNALFD4): Likewise.
52442 (__ASSUME_DUP3): Likewise.
52443 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52444 (__ASSUME_UTIMES): Likewise.
52445 (__ASSUME_O_CLOEXEC): Likewise.
52446 (__ASSUME_SOCK_CLOEXEC): Likewise.
52447 (__ASSUME_IN_NONBLOCK): Likewise.
52448 (__ASSUME_PIPE2): Likewise.
52449 (__ASSUME_EVENTFD2): Likewise.
52450 (__ASSUME_SIGNALFD4): Likewise.
52451 (__ASSUME_DUP3): Likewise.
52452 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52453 (__ASSUME_UTIMES): Likewise.
52454 (__ASSUME_O_CLOEXEC): Likewise.
52455 (__ASSUME_SOCK_CLOEXEC): Likewise.
52456 (__ASSUME_IN_NONBLOCK): Likewise.
52457 (__ASSUME_PIPE2): Likewise.
52458 (__ASSUME_EVENTFD2): Likewise.
52459 (__ASSUME_SIGNALFD4): Likewise.
52460 (__ASSUME_DUP3): Likewise.
52461 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52462 Likewise.
52463 (__ASSUME_UTIMES): Likewise.
52464 (__ASSUME_EVENTFD2): Likewise.
52465 (__ASSUME_SIGNALFD4): Likewise.
52466 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52467 (__ASSUME_O_CLOEXEC): Likewise.
52468 (__ASSUME_SOCK_CLOEXEC): Likewise.
52469 (__ASSUME_IN_NONBLOCK): Likewise.
52470 (__ASSUME_PIPE2): Likewise.
52471 (__ASSUME_EVENTFD2): Likewise.
52472 (__ASSUME_SIGNALFD4): Likewise.
52473 (__ASSUME_DUP3): Likewise.
52474 (__ASSUME_UTIMES): Undefine.
52475
52476 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52477 feclearexcept. Remove symbol versioning code.
52478 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52479 symbol versioning code.
52480 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52481 symbol versioning code.
52482 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52483 feupdateenv. Remove symbol versioning code.
52484 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52485 fegetexceptflag. Remove symbol versioning code.
52486 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52487 fesetexceptflag. Remove symbol versioning code.
52488 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52489 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52490 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52491 (__posix_fadvise64_l32): Remove prototype.
52492 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52493 code.
52494
52495 2014-05-13 Roland McGrath <roland@hack.frob.com>
52496
52497 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52498 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52499 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52500 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52501
52502 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52503
52504 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52505 current working directory
52506
52507 2014-05-13 Roland McGrath <roland@hack.frob.com>
52508
52509 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52510 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52511 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52512 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52513 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52514 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52515 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52516 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52517 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52518 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52519 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52520 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52521 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52522 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52523 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52524 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52525 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52526 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52527 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52528 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52529 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52530 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52531 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52532 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52533 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52534 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52535 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52536 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52537 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52538 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52539 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52540 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52541 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52542 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52543 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52544 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52545 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52546 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52547 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52548 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52549 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52550 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52551
52552 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52553 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52554
52555 * sysdeps/unix/sysv/linux/arm/Makefile
52556 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52557 Add rt-aeabi_unwind_cpp_pr1.
52558 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52559 Add nptl-aeabi_unwind_cpp_pr1.
52560 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52561 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52562 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52563 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52564 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52565 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52566
52567 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52568 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52569 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52570 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52571
52572 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52573 Deconditionalize the code that was previously under [RESET_PID].
52574 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52575
52576 * sysdeps/generic/exit-thread.h: New file.
52577 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52578 * include/unistd.h (__exit_thread): Remove declaration.
52579 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52580 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52581 * csu/libc-start.c: Include <exit-thread.h>.
52582 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52583 * nptl/pthread_create.c: Include <exit-thread.h>.
52584 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52585 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52586 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52587 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52588 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52589 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52590 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52591 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52592 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52593 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52594 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52595 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52596 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52597 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52598 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52599 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52600 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52601
52602 2014-05-13 Andreas Schwab <schwab@suse.de>
52603
52604 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52605
52606 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52607
52608 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52609 (__ASSUME_UTIMES): Do not condition on kernel version.
52610 (__ASSUME_PSELECT): Define unconditionally.
52611 (__ASSUME_PPOLL): Likewise.
52612 (__ASSUME_ATFCTS): Likewise.
52613 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52614 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52615 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52616 (__ASSUME_UTIMENSAT): Define unconditionally.
52617 (__ASSUME_PRIVATE_FUTEX): Likewise.
52618 (__ASSUME_FALLOCATE): Likewise.
52619 (__ASSUME_O_CLOEXEC): Likewise.
52620 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52621 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52622 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52623 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52624 (__ASSUME_IN_NONBLOCK): Likewise.
52625 (__ASSUME_PIPE2): Likewise.
52626 (__ASSUME_EVENTFD2): Likewise.
52627 (__ASSUME_SIGNALFD4): Likewise.
52628 (__ASSUME_DUP3): Likewise.
52629 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52630 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52631 (__ASSUME_AT_RANDOM): Likewise.
52632 (__ASSUME_PREADV): Likewise.
52633 (__ASSUME_PWRITEV): Likewise.
52634 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52635 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52636 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52637 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52638 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52639 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52640 (__ASSUME_O_CLOEXEC): Define unconditionally.
52641 (__ASSUME_PSELECT): Do not undefine conditionally.
52642 (__ASSUME_PPOLL): Likewise.
52643 (__ASSUME_ATFCTS): Likewise.
52644 (__ASSUME_SET_ROBUST_LIST): Likewise.
52645 (__ASSUME_UTIMENSAT): Likewise.
52646 (__ASSUME_FDATASYNC): Define unconditionally.
52647 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52648 (__ASSUME_SIGFRAME_V2): Likewise.
52649 )__ASSUME_EVENTFD2): Likewise.
52650 (__ASSUME_SIGNALFD4): Likewise.
52651 (__ASSUME_PSELECT): Do not undefine conditionally.
52652 (__ASSUME_PPOLL): Likewise.
52653 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52654 (__ASSUME_PSELECT): Define unconditionally.
52655 (__ASSUME_PPOLL): Likewise.
52656 (__ASSUME_O_CLOEXEC): Likewise.
52657 (__ASSUME_SOCK_CLOEXEC): Likewise.
52658 (__ASSUME_IN_NONBLOCK): Likewise.
52659 (__ASSUME_PIPE2): Likewise.
52660 (__ASSUME_EVENTFD2): Likewise.
52661 (__ASSUME_SIGNALFD4): Likewise.
52662 (__ASSUME_DUP3): Likewise.
52663 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52664 (__ASSUME_O_CLOEXEC): Likewise.
52665 (__ASSUME_SOCK_CLOEXEC): Likewise.
52666 (__ASSUME_IN_NONBLOCK): Likewise.
52667 (__ASSUME_PIPE2): Likewise.
52668 (__ASSUME_EVENTFD2): Likewise.
52669 (__ASSUME_SIGNALFD4): Likewise.
52670 (__ASSUME_DUP3): Likewise.
52671 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52672 (__ASSUME_EVENTFD2): Likewise.
52673 (__ASSUME_SIGNALFD4): Likewise.
52674 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52675
52676 2014-05-12 Andreas Schwab <schwab@suse.de>
52677
52678 [BZ #16932]
52679 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52680 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52681 than maximum RPC packet size.
52682 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52683 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52684 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52685 (_nss_nis_getservbyport_r): Likewise.
52686
52687 2014-05-12 Will Newton <will.newton@linaro.org>
52688
52689 * malloc/Makefile (tests): Add tst-mallopt.
52690 * malloc/tst-mallopt.c: New file.
52691
52692 2014-05-09 Roland McGrath <roland@hack.frob.com>
52693
52694 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52695 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52696
52697 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52698
52699 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52700 (tst-tlsmod6.so): Likewise.
52701
52702 2014-05-09 Roland McGrath <roland@hack.frob.com>
52703
52704 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52705
52706 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52707
52708 [BZ #16064]
52709 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52710 and <dl-procinfo.h>.
52711 (__fegetenv): Save SSE state in envp->__eip if supported.
52712 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52713 envp->__eip if supported.
52714 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52715 and <dl-procinfo.h>.
52716 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52717 __data_offset and __data_selector in environment to 0. Set SSE
52718 state if supported.
52719 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52720 test-fenv-sse.
52721 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52722 -mfpmath=sse.
52723 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52724
52725 2014-05-09 Will Newton <will.newton@linaro.org>
52726
52727 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52728 and libc_relro_required for ARM.
52729 * sysdeps/arm/preconfigure: Regenerate.
52730
52731 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52732 Stefan Liebler <stli@linux.vnet.ibm.com>
52733
52734 * config.make.in (enable-lock-elision): New Makefile variable.
52735 * configure.ac: Likewise.
52736 * configure: Regenerate.
52737 * sysdeps/s390/configure.ac:
52738 Add check for gcc transactions support.
52739 * sysdeps/s390/configure: Regenerate.
52740 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52741 Build elision files if enabled.
52742 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52743 Add lock elision support for s390.
52744 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52745 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52746 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52747 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52748 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52749 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52750 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52751 Likewise.
52752 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52753 Likewise.
52754 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52755 Likewise.
52756 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52757 Likewise.
52758 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52759 (__lll_timedlock_elision, __lll_lock_elision)
52760 (__lll_unlock_elision, __lll_trylock_elision)
52761 (lll_timedlock_elision, lll_lock_elision)
52762 (lll_unlock_elision, lll_trylock_elision): Add.
52763 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52764 (pthread_mutex_t): Add lock elision support for s390.
52765
52766 2014-05-14 Wilco <wdijkstr@arm.com>
52767
52768 * sysdeps/arm/fclrexcpt.c: Cleanup.
52769 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52770 * sysdeps/arm/feenablxcpt.c: Cleanup.
52771 * sysdeps/arm/fegetenv.c: Cleanup.
52772 * sysdeps/arm/fegetexcept.c: Cleanup.
52773 * sysdeps/arm/fegetround.c: Cleanup.
52774 * sysdeps/arm/feholdexcpt.c: Cleanup.
52775 * sysdeps/arm/fesetenv.c: Cleanup.
52776 * sysdeps/arm/fesetround.c: Cleanup.
52777 * sysdeps/arm/feupdateenv.c: Cleanup.
52778 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52779 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52780 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52781 * sysdeps/arm/ftestexcept.c: Cleanup.
52782 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52783 * sysdeps/arm/setfpucw.c: Cleanup.
52784
52785 2014-05-09 Will Newton <will.newton@linaro.org>
52786
52787 * sysdeps/arm/armv7/strcmp.S: New file.
52788 * NEWS: Mention addition of ARMv7 optimized strcmp.
52789
52790 2014-05-08 Roland McGrath <roland@hack.frob.com>
52791
52792 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52793 look for %.ac rather than %.in.
52794
52795 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52796 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52797 * sysdeps/mach/hurd/configure: Regenerated.
52798 * sysdeps/unix/sysv/linux/configure: Regenerated.
52799
52800 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52801
52802 2014-05-07 Steve Ellcey <sellcey@mips.com>
52803
52804 [BZ #16922]
52805 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52806 (LONG_SUB): Ditto.
52807 (PTR_SUB): Ditto.
52808
52809 2014-05-07 Andreas Schwab <schwab@suse.de>
52810
52811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52812 when skipping over non-matching result from nscd.
52813
52814 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52815
52816 [BZ #16876]
52817 * nptl/sockperf.c (client): Check socket return value.
52818
52819 [BZ #16877]
52820 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52821 nscd security class.
52822
52823 2014-05-06 Roland McGrath <roland@hack.frob.com>
52824
52825 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52826 * sysdeps/arm/unwind.h: ... here.
52827
52828 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52829
52830 [BZ #16916]
52831 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52832 Define.
52833
52834 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52835
52836 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52837 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52838 multiarch strncpy for PPC64.
52839 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52840 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52842 multiarch optimizations.
52843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52844 (__libc_ifunc_impl_list): Likewise.
52845 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52846 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52847 multiarch stpncpy for PPC64.
52848 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52849 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52850
52851 2014-05-06 Andreas Schwab <schwab@suse.de>
52852
52853 [BZ #16912]
52854 * gmon/mcount.c (_MCOUNT_DECL): Use
52855 atomic_compare_and_exchange_bool_acq instead of
52856 catomic_compare_and_exchange_bool_acq.
52857
52858 2014-05-05 Roland McGrath <roland@hack.frob.com>
52859
52860 * elf/Makefile (others, install-bin): Remove pldd.
52861 (pldd-modules): Variable removed.
52862 ($(objpfx)pldd): Target removed.
52863 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52864 (others, install-bin): Append pldd here.
52865 ($(objpfx)pldd): New target.
52866
52867 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52868 to 0, so the first #if test emitted later doesn't see it undefined.
52869 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52870 * sysdeps/gnu/errlist.c: Regenerated.
52871
52872 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52873
52874 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52875 [libc_hidden_builtin_def]: Define to empty value.
52876 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52877 [libc_hidden_builtin_def]: Likewise.
52878 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52879 [libc_hidden_builtin_def]: Likewise.
52880 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52881 [libc_hidden_builtin_def]: Likewise.
52882 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52883 __redirect_memcpy and define ifunc as default hidden symbol.
52884 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52885 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52886
52887 2014-05-04 Adam Conrad <adconrad@0c3.net>
52888
52889 * locale/iso-4217.def: Reintroduce XDR currency.
52890
52891 2014-05-04 Allan McRae <allan@archlinux.org>
52892
52893 * po/eo.po: Update Esperanto translation from translation project.
52894
52895 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52896
52897 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52898 and FEATURE_INDEX_MAX to 1.
52899 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52900
52901 2014-05-01 Steve Ellcey <sellcey@mips.com>
52902
52903 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52904 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52905 * iconvdata/big5.c (ONE_DIRECTION): Define.
52906 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52907 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52908 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52909 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52910 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52911 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52912 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52913 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52914 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52915 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52916 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52917 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52918 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52919 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52920 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52921 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52922 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52923 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52924 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52925 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52926 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52927 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52928 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52929 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52930 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52931 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52932 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52933 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52934 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52935 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52936 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52937 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52938 * iconvdata/johab.c (ONE_DIRECTION): Define.
52939 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52940 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52941 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52942 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52943 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52944 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52945 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52946 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52947 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52948 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52949
52950 2014-05-01 Roland McGrath <roland@hack.frob.com>
52951
52952 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52953 (_IO_JUMPS_OFFSET): Define to 0.
52954
52955 * nptl/sysdeps/pthread/bits/libc-lock.h
52956 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52957 (__libc_lock_define_initialized_recursive): Always define using
52958 initializer. Modern compilers treat uninitialized (implicit zero) and
52959 explicit zero initializers the same (i.e. put the datum in bss).
52960
52961 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52962
52963 * nscd/nscd-client.h: Include <string.h>.
52964
52965 2014-05-01 David S. Miller <davem@davemloft.net>
52966
52967 [BZ #16885]
52968 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52969 multiple zero bytes exist at the end of a string.
52970 Reported by Aurelien Jarno <aurelien@aurel32.net>
52971
52972 * string/test-strcmp.c (check): Add explicit test for situations where
52973 there are multiple zero bytes after the first.
52974
52975 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52976
52977 [BZ #16890]
52978 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52979 when compiling wprintf.
52980 * stdio-common/tstdiomisc.c (t3): New function.
52981 (main): Call it.
52982
52983 2014-05-01 Steve Ellcey <sellcey@mips.com>
52984
52985 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52986 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52987 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52988 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52989
52990 2014-05-01 Steve Ellcey <sellcey@mips.com>
52991
52992 * stdlib/longlong.h: Updated from GCC.
52993
52994 2014-05-01 Will Newton <will.newton@linaro.org>
52995 Bernard Ogden <bernie.ogden@linaro.org>
52996
52997 * NEWS: Update fixed bug list.
52998
52999 [BZ #15119]
53000 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53001
53002 2014-04-30 David S. Miller <davem@davemloft.net>
53003
53004 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53005 (libc_feholdexcept_setround_sparc_ctx): New function.
53006 (libc_fesetenv_sparc_ctx): Likewise.
53007 (libc_feupdateenv_sparc_ctx): Likewise.
53008 (libc_feholdsetround_sparc_ctx): Likewise.
53009 (libc_feholdexcept_setround_ctx): Define.
53010 (libc_feholdexcept_setroundf_ctx): Likewise.
53011 (libc_feholdexcept_setroundl_ctx): Likewise.
53012 (libc_fesetenv_ctx): Likewise.
53013 (libc_fesetenvf_ctx): Likewise.
53014 (libc_fesetenvl_ctx): Likewise.
53015 (libc_feupdateenv_ctx): Likewise.
53016 (libc_feupdateenvf_ctx): Likewise.
53017 (libc_feupdateenvl_ctx): Likewise.
53018 (libc_feresetround_ctx): Likewise.
53019 (libc_feresetroundf_ctx): Likewise.
53020 (libc_feresetroundl_ctx): Likewise.
53021 (libc_feholdsetround_ctx): Likewise.
53022 (libc_feholdsetroundf_ctx): Likewise.
53023 (libc_feholdsetroundl_ctx): Likewise.
53024
53025 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53026 with __USE_GNU instead of XOPEN cpp guards.
53027
53028 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53029 0.
53030
53031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53032 with XOPEN cpp guards.
53033
53034 2014-04-30 Julian Brown <julian@codesourcery.com>
53035
53036 [BZ #16888]
53037 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53038 handling.
53039
53040 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53041
53042 [BZ #9894]
53043 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53044 Change to 2.6.32.
53045 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53046 * sysdeps/unix/sysv/linux/configure: Regenerated.
53047 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53048 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53049 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53050 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53051 * README: Update reference to required Linux kernel version.
53052 * manual/install.texi (Linux): Update reference to required Linux
53053 kernel headers version.
53054 * INSTALL: Regenerated.
53055
53056 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53057 header inclusion.
53058 [POSIX] (limits.h): Likewise.
53059 [POSIX] (math.h): Likewise.
53060 [POSIX] (sys/wait.h): Likewise.
53061 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53062 function.
53063 [POSIX] (stddef.h): Do not allow header inclusion.
53064
53065 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53066
53067 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53068
53069 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53070
53071 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53072 Return immediately after lll_futex_wake.
53073
53074 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53075
53076 [BZ #16791]
53077 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53078 structure.
53079 (datahead_init_pos): Call datahead_init_common early.
53080 (datahead_init_neg): Likewise.
53081
53082 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53083 datahead_init_neg): New functions.
53084 * nscd/aicache.c (addhstaiX): Use them.
53085 * nscd/grpcache.c (cache_addgr): Likewise.
53086 * nscd/hstcache.c (cache_addhst): Likewise.
53087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53088 * nscd/netgroupcache.c (do_notfound): Likewise.
53089 (addgetnetgrentX): Likewise.
53090 (addinnetgrX): Likewise.
53091 * nscd/pwdcache.c (cache_addpw): Likewise.
53092 * nscd/servicescache.c (cache_addserv): Likewise.
53093
53094 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53095 Atsushi Onoe <atsushi@onoe.org>
53096
53097 [BZ #14308]
53098 [BZ #12994]
53099 [BZ #13651]
53100 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53101 one response is valid.
53102 * resolv/res_send.c (send_dg): Check for validity of other
53103 response if the current response is a referral.
53104
53105 2014-04-29 Steve Ellcey <sellcey@mips.com>
53106
53107 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53108
53109 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53110
53111 [BZ #16823]
53112 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53113 Always divide by positive zero when computing -Inf result.
53114 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53115 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53116
53117 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53118
53119 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53120 FPSCR if value do not change.
53121 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53122 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53123 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53124 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53125 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53126 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53127 function.
53128
53129 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53130
53131 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53132 * sysdeps/unix/sysv/linux/hppa: Move directory from
53133 ports/systeps/unix/sysv/linux/hppa.
53134 * README: Update listing for hppa-*-linux-gnu.
53135
53136 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
53137
53138 [BZ #16754]
53139 * manual/stdio.texi (Hook functions): Fix types of stream hook
53140 functions.
53141 [BZ #16854]
53142 * socket/sys/socket.h: Fix typo in comment.
53143
53144 2014-04-28 Wilco <wdijkstr@arm.com>
53145
53146 * sysdeps/arm/fenv_private.h: New file.
53147 * sysdeps/arm/math_private.h: New file.
53148 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53149
53150 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53151
53152 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53153 with __int128_t.
53154 (La_x86_64_retval): Likewise.
53155
53156 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53157
53158 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53159 fpsr if value didn't change.
53160 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53161 to fpcr if value didn't change.
53162 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53163 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53164 fpsr or fpcr if value didn't change.
53165 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53166 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53167 fpcr if value didn't change.
53168 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53169 to fpsr if value didn't change.
53170
53171 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53172
53173 * nptl/tst-sem3.c: Use test-skeleton.c
53174 (main): Rename to do_test. Use return instead of
53175 exit.
53176 * nptl/tst-sem4.c: Use test-skeleton.c
53177 (main): Rename to do_test.
53178
53179 2014-04-22 David S. Miller <davem@davemloft.net>
53180
53181 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53182 (struct sigaction): New struct member __glibc_reserved0, change
53183 type of sa_flags to int.
53184
53185 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53186
53187 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53188 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53189
53190 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53191
53192 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53193 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53194
53195 2014-04-22 Will Newton <will.newton@linaro.org>
53196 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53197
53198 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53199 (__longjmp): Add longjmp and longjmp_target SystemTap
53200 probes.
53201 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53202 (__sigsetjmp): Add setjmp SystemTap probe.
53203
53204 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53205
53206 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53207 match manual order.
53208
53209 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53210
53211 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53212
53213 * sysdeps/powerpc/fpu/fenv_private.h
53214 (libc_feholdexcept_setroundl_ctx): Define to
53215 libc_feholdexcept_setround_ppc_ctx.
53216 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53217 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53218 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53219 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53220
53221 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53222
53223 * sysdeps/aarch64/math-tests.h: New file.
53224
53225 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53226
53227 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53228 New.
53229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53230 Check and set bit_AVX2_Usable.
53231 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53232 macro.
53233 (bit_AVX2): Likewise.
53234 (index_AVX2_Usable): Likewise.
53235 (CPUID_AVX2): Likewise.
53236 (HAS_AVX2): Likewise.
53237
53238 2014-04-17 Will Newton <will.newton@linaro.org>
53239
53240 * manual/setjmp.texi (System V contexts): Add note that
53241 calling setcontext on a context created by a call to a
53242 signal handler is undefined. Update text to note that
53243 setcontext from a signal handler is possible but not
53244 recommended.
53245
53246 [BZ #16629]
53247 * stdlib/tst-setcontext.c: Include signal.h.
53248 (main): Check that the signal stack before and
53249 after swapcontext is the same.
53250
53251 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53252 Re-implement to restore registers in user code and avoid
53253 rt_sigreturn system call.
53254
53255 2014-04-17 Wilco <wdijkstr@arm.com>
53256
53257 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53258 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53259 * math/test-fenv.c: Skip exception trap tests on targets which only
53260 support non-stop mode.
53261
53262 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53263 Wilco Dijkstra <wilco.dijkstra@arm.com>
53264
53265 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53266 (libc_feholdsetround_aarch64_ctx)
53267 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53268 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53269 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53270 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53271 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53272 (libc_feresetround_noexl_ctx): Define.
53273
53274 2014-04-16 Richard Henderson <rth@redhat.com>
53275
53276 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53277
53278 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53279 unwind tables.
53280
53281 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53282 const from the non-libc, non-ldso copy.
53283
53284 * sysdeps/alpha/libm-test-ulps: Regenerate.
53285
53286 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53287 Wilco Dijkstra <wilco.dijkstra@arm.com>
53288
53289 * sysdeps/aarch64/fpu/math_private.h: New file.
53290
53291 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53292
53293 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53294
53295 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53296
53297 [BZ #16275]
53298 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53299 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53301 Intel MPX bound registers before _dl_profile_fixup.
53302 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53303 registers after _dl_profile_fixup. Save and restore bound
53304 registers bnd0/bnd1 when calling _dl_call_pltexit.
53305 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53306 (LR_BND_OFFSET): Likewise.
53307 (LRV_BND0_OFFSET): Likewise.
53308 (LRV_BND1_OFFSET): Likewise.
53309
53310 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53311
53312 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53313 to...
53314 * sysdeps/mach/hurd/i386/tls.h: ... here.
53315 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53316 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53317 fields.
53318
53319 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53320
53321 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53322
53323 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53324
53325 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53326
53327 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53328
53329 [BZ #14770]
53330 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53331 * sysdeps/s390/configure: Regenerate.
53332
53333 [BZ #16824]
53334 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53335 Set round-to-nearest internally to reduce error accumulation.
53336
53337 2014-04-16 Alan Modra <amodra@gmail.com>
53338
53339 [BZ #16740]
53340 [BZ #16619]
53341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53342 * math/libm-test.inc (frexp_test_data): Add tests.
53343 * NEWS: Update fixed bug list.
53344
53345 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53346
53347 * benchtests/Makefile: Depend on libraries in build directory.
53348 (bench-math): Separate out math tests.
53349 (bench-pthread): Separate out pthread tests.
53350 (bench): Include math and pthread tests.
53351
53352 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53353
53354 [BZ #16831]
53355 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53356 _dl_debug_initialize.
53357
53358 * configure.ac: Remove SELinux header check.
53359 * configure: Regenerate.
53360 * nscd/selinux.c (perms): Array of const char* to permission names.
53361 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53362 default policy. Call string_to_security_class and string_to_av_perm to
53363 translate strings. Enforce default policy and call avs_has_perm with
53364 results of translated strings.
53365
53366 2014-04-13 David S. Miller <davem@davemloft.net>
53367
53368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53369
53370 2014-04-12 Allan McRae <allan@archlinux.org>
53371
53372 [BZ #16838]
53373 * manual/string.texi (Collation Functions): Fix qsort argument
53374 order in example.
53375 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53376
53377 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53378
53379 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53380 Make the test a no-op if there are no exceptions defined.
53381
53382 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53383
53384 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53385 enable-hardcoded-path-in-tests
53386
53387 2014-04-11 Will Newton <will.newton@linaro.org>
53388
53389 * benchtests/Makefile (extra-objs): Add json-lib.o.
53390 (bench-func): Tidy up JSON output.
53391 * benchtests/bench-skeleton.c: Include json-lib.h.
53392 (main): Use JSON library functions to do output of
53393 benchmark results.
53394 * benchtests/bench-timing-type.c (main): Output the
53395 timing type simply, leaving formatting to the user.
53396 * benchtests/json-lib.c: New file.
53397 * benchtests/json-lib.h: Likewise.
53398
53399 2014-04-11 Torvald Riegel <triegel@redhat.com>
53400
53401 [BZ #15215]
53402 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53403 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53404 memory barriers. Add comments.
53405 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53406 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53407 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53408 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53409 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53410 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53411
53412 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53413
53414 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53415 * sysdeps/s390/s390-64/configure.ac: ... this ...
53416 * sysdeps/s390/configure.ac: ... to here.
53417 * sysdeps/s390/s390-32/configure: Delete file.
53418 * sysdeps/s390/s390-64/configure: Delete file.
53419 * sysdeps/s390/configure: Regenerate.
53420
53421 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53422
53423 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53424
53425 2014-04-11 Will Newton <will.newton@linaro.org>
53426
53427 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53428 to zero if it is not defined elsewhere. (mtrim): Test
53429 the value of MALLOC_DEBUG with #if rather than #ifdef.
53430
53431 2014-04-10 Torvald Riegel <triegel@redhat.com>
53432
53433 * benchtests/pthread_once-inputs: New file.
53434 * benchtests/pthread_once-source.c: New file.
53435 * benchtests/README: Update documentation.
53436
53437 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53438 H.J. Lu <hongjiu.lu@intel.com>
53439
53440 [BZ #16275]
53441 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53442 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53443 * sysdeps/x86_64/configure: Regenerated.
53444 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53445 macro.
53446 (REGISTER_SAVE_RAX): Likewise.
53447 (REGISTER_SAVE_RCX): Likewise.
53448 (REGISTER_SAVE_RDX): Likewise.
53449 (REGISTER_SAVE_RSI): Likewise.
53450 (REGISTER_SAVE_RDI): Likewise.
53451 (REGISTER_SAVE_R8): Likewise.
53452 (REGISTER_SAVE_R9): Likewise.
53453 (REGISTER_SAVE_BND0): Likewise.
53454 (REGISTER_SAVE_BND1): Likewise.
53455 (REGISTER_SAVE_BND2): Likewise.
53456 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53457 bound registers when calling _dl_fixup.
53458
53459 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53460
53461 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53462 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53463 of its definition.
53464 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53465 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53466 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53467 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53468 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53469 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53470 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53471
53472 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53473
53474 [BZ #15514]
53475 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53476 pathconf(_PC_NAME_MAX).
53477
53478 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53479
53480 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53481 Remove macro usage.
53482 (__PTHREAD_SPINS): Move definition to ...
53483 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53484 (__PTHREAD_SPINS): ... here.
53485 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53486 (__PTHREAD_SPIN): Likewise.
53487 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53488 (__PTHREAD_SPIN): Likewise.
53489 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53490 (__PTHREAD_SPIN): Likewise.
53491 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53492 (__PTHREAD_SPIN): Likewise.
53493 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53494 (__PTHREAD_SPIN): Likewise.
53495 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53496 (__PTHREAD_SPIN): Likewise.
53497 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53498 (__PTHREAD_SPIN): Likewise.
53499 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53500 (__PTHREAD_SPIN): Likewise.
53501 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53502 (__PTHREAD_SPIN): Likewise.
53503 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53504 (__PTHREAD_SPIN): Likewise.
53505 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53506 (__PTHREAD_SPIN): Likewise.
53507 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53508 (__PTHREAD_SPIN): Likewise.
53509
53510 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53511 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53512 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53513 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53514 imply folder.
53515 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53516 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53517 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53518 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53519 correct imply path.
53520 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53521 strlen symbol for non multi-arch builds.
53522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53523 missing hidden_def and weak_alias.
53524
53525 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53526
53527 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53528
53529 2014-04-07 Will Newton <will.newton@linaro.org>
53530
53531 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53532 and contents. [!_LIBC] Remove #ifndef and contents.
53533 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53534 * string/memccpy.c (__memccpy): Use ANSI prototype.
53535 * string/memfrob.c (memfrob): Likewise.
53536 * string/strcoll.c (STRCOLL): Likewise.
53537 * string/strlen.c (strlen): Likewise.
53538 * string/strtok.c (STRTOK): Likewise.
53539 * string/strcat.c: Remove unused #include of memcopy.h.
53540 (strcat): Use ANSI prototype.
53541 * string/strchr.c: Remove unused #include of memcopy.h.
53542 (strchr): Use ANSI prototype.
53543 * string/strcmp.c: Remove unused #include of memcopy.h.
53544 (strcmp): Use ANSI prototype.
53545 * string/strcpy.c: Remove unused #include of memcopy.h.
53546 (strcpy): Use ANSI prototype.
53547
53548 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53549
53550 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53551 * config.make.in (config-extra-cppflags): Set it from
53552 libc_extra_cppflags.
53553 * configure.ac (libc_extra_cflags): Make it accumulate over
53554 configure fragments.
53555 (libc_extra_cppflags): New flag.
53556 * configure. Regenerate.
53557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53558 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53559 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53561
53562 [BZ #16815]
53563 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53564 result for FE_DOWNWARD rounding mode.
53565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53566 Likewise.
53567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53568
53569 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53570
53571 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53572 in function argument name.
53573
53574 2014-04-03 David Svoboda <svoboda@cert.org>
53575
53576 [BZ #5666]
53577 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53578 explicitly.
53579
53580 2014-04-03 Roland McGrath <roland@hack.frob.com>
53581
53582 * elf/dl-unmap-segments.h: New file.
53583 * sysdeps/generic/ldsodefs.h
53584 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53585 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53586 * elf/dl-fptr.c: Likewise.
53587 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53588 * sysdeps/aarch64/tlsdesc.c: Likewise.
53589 * sysdeps/arm/tlsdesc.c: Likewise.
53590 * sysdeps/i386/tlsdesc.c: Likewise.
53591 * sysdeps/tile/dl-runtime.c: Likewise.
53592 * sysdeps/x86_64/tlsdesc.c: Likewise.
53593 * elf/dl-load.h: New file.
53594 * elf/dl-load.c: Include it.
53595 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53596 Macros moved to dl-load.h.
53597 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53598 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53599 Use _dl_unmap_segments in place of __munmap.
53600 Break out segment-mapping loop into ...
53601 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53602
53603 2014-04-03 Will Newton <will.newton@linaro.org>
53604
53605 * elf/dl-lookup.c (do_lookup_x): Remove comment
53606 referring to nested function and move variable
53607 declarations down to before first use.
53608
53609 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53610
53611 [BZ #16799]
53612 [BZ #16800]
53613 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53614 with 0 numerator.
53615 * math/s_catanf.c (__catanf): Likewise.
53616 * math/s_catanh.c (__catanh): Likewise.
53617 * math/s_catanhf.c (__catanhf): Likewise.
53618 * math/s_catanhl.c (__catanhl): Likewise.
53619 * math/s_catanl.c (__catanl): Likewise.
53620 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53621 by positive zero when computing -Inf result.
53622 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53623 (catanh_test): Likewise.
53624 * sysdeps/i386/fpu/libm-test-ulps: Update.
53625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53626
53627 [BZ #16789]
53628 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53629 instead of using underflowing value in computing result.
53630 * math/s_clog10.c (__clog10): Likewise.
53631 * math/s_clog10f.c (__clog10f): Likewise.
53632 * math/s_clog10l.c (__clog10l): Likewise.
53633 * math/s_clogf.c (__clogf): Likewise.
53634 * math/s_clogl.c (__clogl): Likewise.
53635 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53636 (clog10_test): Likewise.
53637 * sysdeps/i386/fpu/libm-test-ulps: Update.
53638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53639
53640 2014-04-02 Alan Modra <amodra@gmail.com>
53641
53642 [BZ #16739]
53643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53644 output when value is near a power of two. Use int64_t for lx and
53645 remove casts. Use decimal rather than hex exponent constants.
53646 Don't use long double multiplication when double will suffice.
53647 * math/libm-test.inc (nextafter_test_data): Add tests.
53648 * NEWS: Add 16739 and 16786 to bug list.
53649
53650 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53651
53652 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53653
53654 2014-04-01 Will Newton <will.newton@linaro.org>
53655
53656 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53657 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53658
53659 2014-04-01 Florian Weimer <fweimer@redhat.com>
53660
53661 [BZ #13347]
53662 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53663 * nptl/tst-setuid2.c: New file.
53664 * nptl/Makefile (xtests): Add tst-setuid2.
53665
53666 2014-04-01 Alan Modra <amodra@gmail.com>
53667
53668 [BZ #16786]
53669 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53670
53671 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53672
53673 [BZ #6803]
53674 [BZ #6804]
53675 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53676 set errno as appropriate.
53677 * math/w_scalbf.c (__scalbf): Likewise.
53678 * math/w_scalbl.c (__scalbl): Likewise.
53679 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53680 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53681 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53682 Add more NaN tests.
53683
53684 [BZ #16349]
53685 * math/w_atan2.c: Include <errno.h>.
53686 (__atan2): Set errno for result underflowing to zero.
53687 * math/w_atan2f.c: Include <errno.h>.
53688 (__atan2f): Set errno for result underflowing to zero.
53689 * math/w_atan2l.c: Include <errno.h>.
53690 (__atan2l): Set errno for result underflowing to zero.
53691 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53692 tests.
53693 * math/auto-libm-test-out: Regenerated.
53694
53695 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53696
53697 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53698 Encode instruction correctly in little endian.
53699 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53700 Likewise.
53701 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53702 Likewise.
53703 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53704 Likewise.
53705 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53706 Likewise.
53707
53708 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53709
53710 [BZ #9894]
53711 * sysdeps/unix/sysv/linux/kernel-features.h
53712 [__sparc__ && !__arch64__ && !__sparc_v9__]
53713 (__ASSUME_SET_ROBUST_LIST): Do not define.
53714 [__sparc__ && !__arch64__ && !__sparc_v9__]
53715 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53716 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53717 Likewise.
53718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53719 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53720 (__ASSUME_REQUEUE_PI): Likewise.
53721 (__ASSUME_SET_ROBUST_LIST): Likewise.
53722 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53723 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53724 Undefine.
53725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53726 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53727 Likewise.
53728 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53729 Likewise.
53730 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53731 Likewise.
53732 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53733 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53734 Undefine.
53735 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53736 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53737 Likewise.
53738
53739 [BZ #16648]
53740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53741 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53742 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53743
53744 2014-03-31 Will Newton <will.newton@linaro.org>
53745
53746 * benchtests/Makefile (bench): Add ffs and ffsll to list
53747 of tests.
53748 * benchtests/ffs-inputs: New file.
53749 * benchtests/ffsll-inputs: Likewise.
53750
53751 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53752
53753 [BZ #16770]
53754 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53755 too large before casting to int.
53756 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53757 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53758 * math/libm-test.inc (scalb_test_data): Add more tests.
53759
53760 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53761
53762 * benchtests/Makefile (DETAILED_OPT): New make option.
53763 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53764 set.
53765 * benchtests/bench-skeleton.c: Include stdbool.h.
53766 (main): Store and print timings per input.
53767 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53768 member to each argument value.
53769 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53770 (_print_arg_data): Initialize per-input timing to 0.
53771
53772 * benchtests/Makefile (timing-type): New binary.
53773 (bench-clean): Also remove bench-timing-type.
53774 (bench): New target for timing-type.
53775 (bench-func): Print output in JSON format.
53776 * benchtests/bench-skeleton.c (main): Print output in JSON
53777 format.
53778 * benchtests/bench-timing-type.c: New file.
53779 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53780 (TIMING_PRINT_STATS): Remove.
53781 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53782 name separately.
53783
53784 * benchtests/bench-modf.c: Remove.
53785 * benchtests/modf-inputs: New inputs file.
53786
53787 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53788
53789 [BZ #16362]
53790 * math/s_clog10.c (M_PI_LOG10E): New macro.
53791 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53792 imaginary parts are 0.
53793 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53794 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53795 imaginary parts are 0.
53796 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53797 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53798 imaginary parts are 0.
53799 * math/libm-test.inc (clog10_test_data): Update expected results
53800 for when real and imaginary parts are 0.
53801
53802 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53803
53804 * elf/dl-load.c: Finish conversion of __builtin_expect into
53805 __glibc_{un}likely.
53806
53807 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53808
53809 [BZ #16348]
53810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53811 1+x for argument with exponent below -67.
53812 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53813 Likewise.
53814 * math/auto-libm-test-in: Add more tests of exp.
53815 * math/auto-libm-test-out: Regenerated.
53816
53817 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53818
53819 [BZ #16759]
53820 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53821 (nscd_getnetgrent): Use it.
53822
53823 [BZ #16760]
53824 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53825 of stpcpy.
53826
53827 2014-03-27 Andi Kleen <ak@linux.intel.com>
53828
53829 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53830 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53831 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53832 (lll_robust_unlock): Remove out of line section. Use cfi
53833 intrinsics.
53834 (LLL_STUB_UNWIND_INFO*): Remove.
53835 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53836 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53837 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53838 (lll_robust_unlock): Remove out of line section. Use cfi
53839 intrinsics.
53840 (LLL_STUB_UNWIND_INFO*): Remove.
53841
53842 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53843
53844 [BZ #16758]
53845 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53846 blank values.
53847
53848 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53849
53850 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53851
53852 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53853
53854 [BZ #16198]
53855 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53856 fnstenv.
53857 * math/test-fenv-preserve.c: New file.
53858 * math/Makefile (tests): Add test-fenv-preserve.
53859
53860 2014-03-26 Will Newton <will.newton@linaro.org>
53861
53862 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53863
53864 2014-03-25 Roland McGrath <roland@hack.frob.com>
53865
53866 * scripts/versionlist.awk: Partition the version sets and emit all
53867 GLIBC_* (sorted) before all others (sorted).
53868
53869 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53870
53871 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53872 GLIBC_2.2.5 version.
53873
53874 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53875
53876 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53877 calls.
53878
53879 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53880 previous change.
53881
53882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53883
53884 2014-03-25 Andreas Schwab <schwab@suse.de>
53885
53886 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53887 label to be used after in6ailist is initialized.
53888
53889 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53890
53891 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53892 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53893
53894 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53895
53896 [BZ #16357]
53897 [BZ #16599]
53898 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53899 min_plus_half.
53900 (fp_formats): Update initializers.
53901 (init_fp_formats): Initialize new field.
53902 (output_for_one_input_case): Allow underflow for results up to
53903 min_plus_half.
53904 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53905 * math/auto-libm-test-in: Don't mark some underflows from asin and
53906 atanh as spurious.
53907 * math/auto-libm-test-out: Regenerated.
53908 * sysdeps/i386/fpu/libm-test-ulps: Update.
53909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53910
53911 2014-03-25 Andreas Schwab <schwab@suse.de>
53912
53913 * libio/Makefile (tst-ftell-partial-wide-ENV)
53914 (tst-ftell-active-handler-ENV): Define.
53915
53916 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53917
53918 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53919
53920 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53921
53922 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53923
53924 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53925
53926 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53927 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53928 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53929
53930 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53931
53932 [BZ #16634]
53933 * elf/dl-load.c (open_verify): Add mode parameter.
53934 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53935 (open_path): Change from boolean 'secure' to complete flag 'mode'
53936 (_dl_map_object): Adjust.
53937 * elf/Makefile (tests): Add tst-dlopen-aout.
53938 * elf/tst-dlopen-aout.c: New test.
53939
53940 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53941
53942 [BZ #16714]
53943 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53944 (struct stat): Rename member pad0 to __glibc_reserved0.
53945
53946 [BZ #16712]
53947 * sysdeps/s390/s390-32/bits/wordsize.h
53948 (__WORDSIZE32_SIZE_ULONG): New define.
53949 * sysdeps/s390/s390-64/bits/wordsize.h
53950 (__WORDSIZE32_SIZE_ULONG): Likewise.
53951 * sysdeps/generic/stdint.h (SIZE_MAX):
53952 Define as UL if __WORDSIZE32_SIZE_ULONG.
53953
53954 [BZ #16713]
53955 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53956 (__glibc_reserved0): New variable.
53957 (sa_flags): Change type to int.
53958
53959 * posix/Makefile (before-compile): Use += before-compile instead
53960 of a :=.
53961
53962 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53963 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53964
53965 2014-03-20 Andreas Schwab <schwab@suse.de>
53966
53967 [BZ #16743]
53968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53969 non-matching result from nscd.
53970
53971 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53972
53973 * scripts/bench.py: Moved to ...
53974 * benchtests/scripts/bench.py: ... here.
53975 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53976
53977 2014-03-24 Andreas Schwab <schwab@suse.de>
53978
53979 [BZ #16002]
53980 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53981 alloca_account and account alloca use for struct in6ailist.
53982
53983 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53984
53985 [BZ #16284]
53986 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53987 rounding mode to recompute results that overflow to infinity or
53988 underflow to zero.
53989 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53990 bug 16284.
53991 * math/auto-libm-test-out: Regenerated.
53992 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53993 (ccosh_test): Likewise.
53994 (csin_test_data): Use plus_oflow.
53995 (csin_test): Use ALL_RM_TEST.
53996 (csinh_test_data): Use plus_oflow.
53997 (csinh_test): Use ALL_RM_TEST.
53998 * sysdeps/i386/fpu/libm-test-ulps: Update.
53999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54000
54001 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54002
54003 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54004 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54005 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54006
54007 [BZ #16731]
54008 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54009 when x - 1 is zero.
54010 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54011 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54012 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54014 argument is 1.
54015 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54016 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54017 zero.
54018 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54019 * sysdeps/i386/fpu/libm-test-ulps: Update.
54020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54021
54022 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54023
54024 * scripts/bench.pl: Remove file.
54025 * scripts/bench.py: New benchmark script.
54026 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54027 * benchtests/README: Mention python dependency.
54028 * scripts/pylintrc: New file.
54029 * scripts/pylint: New file.
54030
54031 * bits/mathdef.h: Use #ifdef instead of #if.
54032 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54033 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54034 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54035 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54036 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54037 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54038
54039 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54040 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54041
54042 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54044 and strpbrk-ppc64 objects.
54045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54046 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54047 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54048 multiarch strpbrk for POWER7.
54049 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54050 multiarch strpbrk for PPC64.
54051 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54052 ifunc selector.
54053 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54054 strpbrk for POWER7.
54055
54056 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54057
54058 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54059 (atan_test): Likewise.
54060 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54061 (atanh_test): Use ALL_RM_TEST.
54062 (atan2_test_data): Likewise.
54063 (cabs_test): Likewise.
54064 (cacosh_test): Likewise.
54065 (carg_test): Likewise.
54066 (casin_test): Likewise.
54067 (casinh_test): Likewise.
54068 (cbrt_test): Likewise.
54069 (csqrt_test): Likewise.
54070 (erf_test): Likewise.
54071 (erfc_test): Likewise.
54072 (pow10_test): Likewise.
54073 (exp2_test): Likewise.
54074 (hypot_test): Likewise.
54075 (j0_test): Likewise.
54076 (j1_test): Likewise.
54077 (lgamma_test): Likewise.
54078 (gamma_test): Likewise.
54079 (sincos_test): Likewise.
54080 (tanh_test): Likewise.
54081 (y0_test): Likewise.
54082 (y1_test): Likewise.
54083 * sysdeps/i386/fpu/libm-test-ulps: Update.
54084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54085
54086 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54087
54088 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54090 and strcspn-ppc64 objects.
54091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54092 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54093 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54094 multiarch strcspn for POWER7.
54095 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54096 multiarch strcspn for PPC64.
54097 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54098 ifunc selector.
54099 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54100 strcspn for POWER7.
54101
54102 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54103
54104 * math/gen-libm-test.pl (generate_testfile): Expect only function
54105 name as argument to AUTO_TESTS_* and pass results for all rounding
54106 modes to parse_args.
54107 (parse_auto_input): Separate inputs of automatic tests from
54108 outputs before storing in %auto_tests.
54109 * math/libm-test.inc (acos_test_data): Update call to
54110 AUTO_TESTS_f_f.
54111 (acos_test): Use ALL_RM_TEST.
54112 (acos_tonearest_test_data): Remove.
54113 (acos_test_tonearest): Likewise.
54114 (acos_towardzero_test_data): Likewise.
54115 (acos_test_towardzero): Likewise.
54116 (acos_downward_test_data): Likewise.
54117 (acos_test_downward): Likewise.
54118 (acos_upward_test_data): Likewise.
54119 (acos_test_upward): Likewise.
54120 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54121 (asin_test_data): Likewise.
54122 (asin_test): Use ALL_RM_TEST.
54123 (asin_tonearest_test_data): Remove.
54124 (asin_test_tonearest): Likewise.
54125 (asin_towardzero_test_data): Likewise.
54126 (asin_test_towardzero): Likewise.
54127 (asin_downward_test_data): Likewise.
54128 (asin_test_downward): Likewise.
54129 (asin_upward_test_data): Likewise.
54130 (asin_test_upward): Likewise.
54131 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54132 (atan_test_data): Likewise.
54133 (atanh_test_data): Likewise.
54134 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54135 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54136 (carg_test_data): Likewise.
54137 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54138 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54139 (ccosh_test_data): Likewise.
54140 (cexp_test_data): Likewise.
54141 (clog_test_data): Likewise.
54142 (clog10_test_data): Likewise.
54143 (cos_test_data): Update call to AUTO_TESTS_f_f.
54144 (cos_test): Use ALL_RM_TEST.
54145 (cos_tonearest_test_data): Remove.
54146 (cos_test_tonearest): Likewise.
54147 (cos_towardzero_test_data): Likewise.
54148 (cos_test_towardzero): Likewise.
54149 (cos_downward_test_data): Likewise.
54150 (cos_test_downward): Likewise.
54151 (cos_upward_test_data): Likewise.
54152 (cos_test_upward): Likewise.
54153 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54154 (cosh_test): Use ALL_RM_TEST.
54155 (cosh_tonearest_test_data): Remove.
54156 (cosh_test_tonearest): Likewise.
54157 (cosh_towardzero_test_data): Likewise.
54158 (cosh_test_towardzero): Likewise.
54159 (cosh_downward_test_data): Likewise.
54160 (cosh_test_downward): Likewise.
54161 (cosh_upward_test_data): Likewise.
54162 (cosh_test_upward): Likewise.
54163 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54164 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54165 (ctan_test_data): Likewise.
54166 (ctan_test): Use ALL_RM_TEST.
54167 (ctan_tonearest_test_data): Remove.
54168 (ctan_test_tonearest): Likewise.
54169 (ctan_towardzero_test_data): Likewise.
54170 (ctan_test_towardzero): Likewise.
54171 (ctan_downward_test_data): Likewise.
54172 (ctan_test_downward): Likewise.
54173 (ctan_upward_test_data): Likewise.
54174 (ctan_test_upward): Likewise.
54175 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54176 (ctanh_test): Use ALL_RM_TEST.
54177 (ctanh_tonearest_test_data): Remove.
54178 (ctanh_test_tonearest): Likewise.
54179 (ctanh_towardzero_test_data): Likewise.
54180 (ctanh_test_towardzero): Likewise.
54181 (ctanh_downward_test_data): Likewise.
54182 (ctanh_test_downward): Likewise.
54183 (ctanh_upward_test_data): Likewise.
54184 (ctanh_test_upward): Likewise.
54185 (erf_test_data): Update call to AUTO_TESTS_f_f.
54186 (erfc_test_data): Likewise.
54187 (exp_test_data): Likewise.
54188 (exp_test): Use ALL_RM_TEST.
54189 (exp_tonearest_test_data): Remove.
54190 (exp_test_tonearest): Likewise.
54191 (exp_towardzero_test_data): Likewise.
54192 (exp_test_towardzero): Likewise.
54193 (exp_downward_test_data): Likewise.
54194 (exp_test_downward): Likewise.
54195 (exp_upward_test_data): Likewise.
54196 (exp_test_upward): Likewise.
54197 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54198 (exp10_test): Use ALL_RM_TEST.
54199 (exp10_tonearest_test_data): Remove.
54200 (exp10_test_tonearest): Likewise.
54201 (exp10_towardzero_test_data): Likewise.
54202 (exp10_test_towardzero): Likewise.
54203 (exp10_downward_test_data): Likewise.
54204 (exp10_test_downward): Likewise.
54205 (exp10_upward_test_data): Likewise.
54206 (exp10_test_upward): Likewise.
54207 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54208 (expm1_test_data): Likewise.
54209 (expm1_test): Use ALL_RM_TEST.
54210 (expm1_tonearest_test_data): Remove.
54211 (expm1_test_tonearest): Likewise.
54212 (expm1_towardzero_test_data): Likewise.
54213 (expm1_test_towardzero): Likewise.
54214 (expm1_downward_test_data): Likewise.
54215 (expm1_test_downward): Likewise.
54216 (expm1_upward_test_data): Likewise.
54217 (expm1_test_upward): Likewise.
54218 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54219 (fma_test): Use ALL_RM_TEST.
54220 (fma_towardzero_test_data): Remove.
54221 (fma_test_towardzero): Likewise.
54222 (fma_downward_test_data): Likewise.
54223 (fma_test_downward): Likewise.
54224 (fma_upward_test_data): Likewise.
54225 (fma_test_upward): Likewise.
54226 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54227 (j0_test_data): Update call to AUTO_TESTS_f_f.
54228 (j1_test_data): Likewise.
54229 (jn_test_data): Update call to AUTO_TESTS_if_f.
54230 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54231 (log_test_data): Update call to AUTO_TESTS_f_f.
54232 (log10_test_data): Likewise.
54233 (log1p_test_data): Likewise.
54234 (log2_test_data): Likewise.
54235 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54236 (pow_tonearest_test_data): Likewise.
54237 (sin_test_data): Update call to AUTO_TESTS_f_f.
54238 (sin_test): Use ALL_RM_TEST.
54239 (sin_tonearest_test_data): Remove.
54240 (sin_test_tonearest): Likewise.
54241 (sin_towardzero_test_data): Likewise.
54242 (sin_test_towardzero): Likewise.
54243 (sin_downward_test_data): Likewise.
54244 (sin_test_downward): Likewise.
54245 (sin_upward_test_data): Likewise.
54246 (sin_test_upward): Likewise.
54247 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54248 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54249 (sinh_test): Use ALL_RM_TEST.
54250 (sinh_tonearest_test_data): Remove.
54251 (sinh_test_tonearest): Likewise.
54252 (sinh_towardzero_test_data): Likewise.
54253 (sinh_test_towardzero): Likewise.
54254 (sinh_downward_test_data): Likewise.
54255 (sinh_test_downward): Likewise.
54256 (sinh_upward_test_data): Likewise.
54257 (sinh_test_upward): Likewise.
54258 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54259 (sqrt_test): Use ALL_RM_TEST.
54260 (sqrt_tonearest_test_data): Remove.
54261 (sqrt_test_tonearest): Likewise.
54262 (sqrt_towardzero_test_data): Likewise.
54263 (sqrt_test_towardzero): Likewise.
54264 (sqrt_downward_test_data): Likewise.
54265 (sqrt_test_downward): Likewise.
54266 (sqrt_upward_test_data): Likewise.
54267 (sqrt_test_upward): Likewise.
54268 (tan_test_data): Update call to AUTO_TESTS_f_f.
54269 (tan_test): Use ALL_RM_TEST.
54270 (tan_tonearest_test_data): Remove.
54271 (tan_test_tonearest): Likewise.
54272 (tan_towardzero_test_data): Likewise.
54273 (tan_test_towardzero): Likewise.
54274 (tan_downward_test_data): Likewise.
54275 (tan_test_downward): Likewise.
54276 (tan_upward_test_data): Likewise.
54277 (tan_test_upward): Likewise.
54278 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54279 (tgamma_test_data): Likewise.
54280 (y0_test_data): Likewise.
54281 (y1_test_data): Likewise.
54282 (yn_test_data): Update call to AUTO_TESTS_if_f.
54283 (main): Do not call removed functions.
54284
54285 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54286
54287 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54288 (ldexp_test_data): Remove.
54289 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54290 scalbn_test_data.
54291 (scalb_test): Use ALL_RM_TEST.
54292
54293 2014-03-19 Andreas Schwab <schwab@suse.de>
54294
54295 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54296
54297 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54298
54299 [BZ #16649]
54300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54301 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54302 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54304 (__ASSUME_PREADV): Undefine.
54305 (__ASSUME_PWRITEV): Likewise.
54306
54307 2014-03-18 Roland McGrath <roland@hack.frob.com>
54308
54309 * bits/mman-linux.h: Add comment about non-Linux use.
54310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54311 bits/mman-linux.h resting place.
54312
54313 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54314 * bits/mman-linux.h: ... here.
54315
54316 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54317
54318 * conform/conformtest.pl: Add standard definition when calling C
54319 preprocessor on data files.
54320 (checknamespace): Remove unused variable.
54321
54322 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54323
54324 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54325 minus_oflow, plus_uflow and minus_uflow in expected results.
54326 * math/libm-test.inc (scalbn_test_data): Add more tests of
54327 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54328 minus_uflow.
54329 (scalbn_test): Use ALL_RM_TEST.
54330 (scalbln_test_data): Add more tests of negative arguments. Use
54331 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54332 (scalbln_test): Use ALL_RM_TEST.
54333
54334 2014-03-18 Roland McGrath <roland@hack.frob.com>
54335
54336 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54337
54338 2014-03-18 Will Newton <will.newton@linaro.org>
54339
54340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54341 inaccurate comment.
54342
54343 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54344
54345 * Makerules [!subdir] (check-abi): Exit with error status if a
54346 test failed.
54347
54348 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54349
54350 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54351 for rint. Include results for all rounding modes.
54352 (nearbyint_test): Use ALL_RM_TEST.
54353 (rint_test_data): Include all tests used for nearbyint.
54354
54355 2014-03-17 Will Newton <will.newton@linaro.org>
54356
54357 * nptl/sysdeps/pthread/pthread.h: Revert previous
54358 change.
54359
54360 * sysdeps/generic/ldsodefs.h: Revert previous
54361 change.
54362
54363 * libio/genops.c: Revert previous change.
54364 * libio/libioP.h: Likewise.
54365 * stdio-common/vfprintf.c: Likewise.
54366
54367 * sysdeps/generic/math_private.h: Revert previous
54368 change.
54369
54370 * sysdeps/generic/math_private.h: Check whether
54371 HAVE_RM_CTX is defined with #ifdef rather
54372 than #if.
54373
54374 * argp/argp-fmtstream.h: Check whether
54375 __STRICT_ANSI__ is defined with #ifdef rather
54376 than #if.
54377 * argp/argp.h: Likewise.
54378
54379 * libio/genops.c: Check whether
54380 _IO_JUMPS_OFFSET is defined with #ifdef rather
54381 than #if.
54382 * libio/libioP.h: Likewise.
54383 * stdio-common/vfprintf.c: Likewise.
54384
54385 * sysdeps/generic/ldsodefs.h: Check whether
54386 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54387 than #if.
54388
54389 * nptl/sysdeps/pthread/pthread.h: Check
54390 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54391 its value.
54392
54393 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54394
54395 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54396 setting O_APPEND.
54397 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54398 test case.
54399
54400 [BZ #16680]
54401 * libio/fileops.c (_IO_file_open): Seek to end of file but
54402 don't cache the offset.
54403 (get_file_offset): Remove function.
54404 (do_ftell): Use cached offset when available.
54405 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54406 don't cache the offset.
54407 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54408 case.
54409 (do_one_test): Call it.
54410 (do_ftell_test): Fix up expected old offset for a+ mode.
54411 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54412 available.
54413
54414 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54415 up test status with function return status.
54416 (do_write_test): Likewise.
54417 (do_append_test): Likewise.
54418
54419 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54420 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54421 Remove.
54422
54423 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54424
54425 * math/gen-libm-test.pl (parse_args): Handle results specified for
54426 each rounding mode separately.
54427 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54428 tests and results from lrint_tonearest_test_data,
54429 lrint_towardzero_test_data, lrint_downward_test_data and
54430 lrint_upward_test_data.
54431 (lrint_test): Use ALL_RM_TEST.
54432 (lrint_tonearest_test_data): Remove.
54433 (lrint_test_tonearest): Likewise.
54434 (lrint_towardzero_test_data): Likewise.
54435 (lrint_test_towardzero): Likewise.
54436 (lrint_downward_test_data): Likewise.
54437 (lrint_test_downward): Likewise.
54438 (lrint_upward_test_data): Likewise.
54439 (lrint_test_upward): Likewise.
54440 (llrint_test_data): Merge in per-rounding-mode tests and results
54441 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54442 llrint_downward_test_data and llrint_upward_test_data.
54443 (llrint_test): Use ALL_RM_TEST.
54444 (llrint_tonearest_test_data): Remove.
54445 (llrint_test_tonearest): Likewise.
54446 (llrint_towardzero_test_data): Likewise.
54447 (llrint_test_towardzero): Likewise.
54448 (llrint_downward_test_data): Likewise.
54449 (llrint_test_downward): Likewise.
54450 (llrint_upward_test_data): Likewise.
54451 (llrint_test_upward): Likewise.
54452 (rint_test_data): Merge in per-rounding-mode tests and results
54453 from rint_tonearest_test_data, rint_towardzero_test_data,
54454 rint_downward_test_data and rint_upward_test_data. Add
54455 per-rounding-mode results for tests not in those arrays.
54456 (rint_test): Use ALL_RM_TEST.
54457 (rint_tonearest_test_data): Remove.
54458 (rint_test_tonearest): Likewise.
54459 (rint_towardzero_test_data): Likewise.
54460 (rint_test_towardzero): Likewise.
54461 (rint_downward_test_data): Likewise.
54462 (rint_test_downward): Likewise.
54463 (rint_upward_test_data): Likewise.
54464 (rint_test_upward): Likewise.
54465 (main): Don't call removed functions.
54466
54467 2014-03-14 Roland McGrath <roland@hack.frob.com>
54468
54469 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54470 "Compiled on ..." crapola. It is anti-useful.
54471
54472 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54473
54474 * scripts/evaluate-test.sh: Handle fourth argument to determine
54475 whether test run should stop on failure.
54476 * Makeconfig (stop-on-test-failure): New variable.
54477 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54478 $(stop-on-test-failure).
54479 * Makefile (tests): Give a summary of results from testing and
54480 exit with failure status if they include an ERROR or FAIL.
54481 (xtests): Likewise.
54482 * manual/install.texi (Configuring and compiling): Mention
54483 stop-on-test-failure=y.
54484 * INSTALL: Regenerated.
54485
54486 2014-03-14 Roland McGrath <roland@hack.frob.com>
54487
54488 * scripts/versionlist.awk: New file.
54489 * Makerules [$(build-shared) = yes]
54490 (postclean-generated): Add Versions.def, not Versions.def.v and
54491 Versions.def.v.i.
54492 ($(common-objpfx)Versions.def.v.i): Target removed.
54493 ($(common-objpfx)Versions.def): New target.
54494 ($(common-objpfx)Versions.all): Depend on that rather that
54495 $(common-objpfx)Versions.def.v.
54496 * Versions.def: File removed.
54497
54498 * Makeconfig (+gccwarn): Add -Wundef.
54499 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54500 a dl-sysdep.h breaking its contract.
54501 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54502 * include/stackinfo.h: New file.
54503 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54504 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54505 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54506 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54507 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54508 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54509 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54510 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54511 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54512 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54513 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54514 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54515 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54516 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54517 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54518
54519 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54520
54521 [BZ #16707]
54522 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54523 implementation.
54524 * math/libm-test.inc (round_test_data): Add more tests.
54525
54526 [BZ #16706]
54527 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54528 implementation.
54529 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54530
54531 [BZ #16701]
54532 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54533 implementation.
54534 * math/libm-test.inc (ceil_test_data): Add more tests.
54535
54536 * math/libm-test.inc (trunc_test_data): Add more tests related to
54537 BZ#16414.
54538
54539 2014-03-14 Roland McGrath <roland@hack.frob.com>
54540
54541 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54542 with #if rather than #ifdef.
54543 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54544
54545 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54546
54547 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54548 first. Disable AVX-512 GCC support if assembler doesn't support
54549 it.
54550 * sysdeps/x86_64/configure: Regenerated.
54551
54552 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54553
54554 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54555 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54556 (__old_pthread_attr_setstack): Likewise.
54557 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54558 [!_STACK_GROWS_DOWN]: Likewise.
54559
54560 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54561
54562 * config.make.in (have-bash2): Delete.
54563 * configure.ac (libc_cv_have_bash2): Delete.
54564 * configure: Regenerate.
54565 * elf/Makefile (common-ldd-rewrite): Rename to ...
54566 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54567 (sh-ldd-rewrite): Delete.
54568 (bash-ldd-rewrite): Delete.
54569 (have-bash2): Delete checks.
54570 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54571 ldd-rewrite.
54572
54573 * config.make.in (have-ksh): Delete.
54574 (KSH): Delete.
54575 * configure.ac (libc_cv_have_ksh): Delete.
54576 * configure: Regenerate.
54577
54578 * elf/Makefile: Delete $(have-ksh) check.
54579 ($(objpfx)sotruss): Change KSH to BASH.
54580 * elf/sotruss.ksh: Rename to ...
54581 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54582 function style to match POSIX. Drop ksh vim mode setting.
54583
54584 * manual/time.texi (Specifying the Time Zone with TZ): Change
54585 Tuesday to Thursday.
54586
54587 * debug/tst-longjmp_chk2.c: Update header comment.
54588 (stackoverflow_handler): Add comment. Call assert on pass value.
54589
54590 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54591
54592 [BZ #16194]
54593 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54594 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54595 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54596 (La_x86_64_vector): Add zmm.
54597 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54598 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54599 ($(objpfx)tst-audit10): New target.
54600 ($(objpfx)tst-audit10.out): Likewise.
54601 (tst-audit10-ENV): New.
54602 (AVX512-CFLAGS): Likewise.
54603 (CFLAGS-tst-audit10.c): Likewise.
54604 (CFLAGS-tst-auditmod10a.c): Likewise.
54605 (CFLAGS-tst-auditmod10b.c): Likewise.
54606 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54607 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54608 * sysdeps/x86_64/configure: Regenerated.
54609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54610 AVX-512 zmm register support.
54611 (_dl_x86_64_save_sse): Likewise.
54612 (_dl_x86_64_restore_sse): Likewise.
54613 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54614 size vector registers.
54615 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54616 (ZMM_SIZE): Likewise.
54617 * sysdeps/x86_64/tst-audit10.c: New file.
54618 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54619 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54620
54621 2014-03-13 Roland McGrath <roland@hack.frob.com>
54622
54623 * configure.ac (HAVE_EHDR_START): New check.
54624 * configure: Regenerated.
54625 * config.h.in (HAVE_EHDR_START): New #undef.
54626 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54627 assuming the lowest-addressed segment maps the start of the file.
54628
54629 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54630
54631 * INSTALL: Regenerated.
54632
54633 2014-03-13 Will Newton <will.newton@linaro.org>
54634
54635 * manual/setjmp.texi (System V contexts): Improve
54636 clarity and grammar of documentation.
54637
54638 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54639
54640 [BZ #16381]
54641 * elf/Makefile (tests): Add tst-pie2.
54642 (tests-pie): Add tst-pie2.
54643 * elf/tst-pie2.c: New file.
54644 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54645 for ET_EXEC.
54646 * elf/rtld.c (map_doit): Load executable as lt_executable.
54647 (dl_main): Likewise.
54648
54649 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54650
54651 [BZ #16642]
54652 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54653 (__ASSUME_PSELECT): Undefine.
54654
54655 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54656
54657 [BZ #16689]
54658 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54659 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54660 static build.
54661 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54662 selector for static builds.
54663
54664 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54665
54666 [BZ #16695]
54667 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54668 key in the buffer.
54669
54670 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54671
54672 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54673 IFUNC selector for static builds.
54674
54675 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54676
54677 * sysdeps/mips/math_private.h [__mips_hard_float]
54678 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54679 libc_feresetround_mips_ctx.
54680 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54681 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54682 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54683
54684 [BZ #16677]
54685 * math/s_nextafter.c (__nextafter): Do not return value from
54686 overflowing computation.
54687 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54688 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54689 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54690 Likewise.
54691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54692 Likewise.
54693 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54694 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54695
54696 2014-03-11 Roland McGrath <roland@hack.frob.com>
54697
54698 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54699 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54700 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54701 the new mov targetting sp.
54702
54703 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54704
54705 [BZ #16683]
54706 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54707 Define it for static builds as well.
54708 (NO_BZERO_IMPL): Likewise.
54709
54710 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54711
54712 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54713 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54714 multiarch strspn for PPC64.
54715 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54716 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54718 (__libc_ifunc_impl_list): Likewise.
54719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54720 multiarch optimizations
54721 * string/strspn.c (strspn): Using macro to redefine symbol name.
54722
54723 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54724 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54725
54726 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54727 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54728 multiarch strncat for PPC64.
54729 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54730 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54732 (__libc_ifunc_impl_list): Likewise.
54733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54734 multiarch optimizations
54735
54736 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54737
54738 [BZ #16639]
54739 * nscd/nscd.service: Make service type forking.
54740
54741 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54742
54743 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54744 sign in non default rounding modes.
54745 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54746
54747 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54748
54749 * math/libm-test.inc (ALL_RM_TEST): New macro.
54750 (ceil_test): Use ALL_RM_TEST.
54751 (cimag_test): Likewise.
54752 (conj_test): Likewise.
54753 (copysign_test): Likewise.
54754 (cproj_test): Likewise.
54755 (creal_test): Likewise.
54756 (fabs_test): Likewise.
54757 (floor_test): Likewise.
54758 (fmax_test): Likewise.
54759 (fmin_test): Likewise.
54760 (fmod_test): Likewise.
54761 (fpclassify_test): Likewise.
54762 (frexp_test): Likewise.
54763 (ilogb_test): Likewise.
54764 (isfinite_test): Likewise.
54765 (finite_test): Likewise.
54766 (isgreater_test): Likewise.
54767 (isgreaterequal_test): Likewise.
54768 (isinf_test): Likewise.
54769 (isless_test): Likewise.
54770 (islessequal_test): Likewise.
54771 (islessgreater_test): Likewise.
54772 (isnan_test): Likewise.
54773 (isnormal_test): Likewise.
54774 (issignaling_test): Likewise.
54775 (isunordered_test): Likewise.
54776 (logb_test): Likewise.
54777 (logb_downward_test_data): Remove.
54778 (logb_test_downward): Likewise.
54779 (lround_test): Use ALL_RM_TEST.
54780 (llround_test): Likewise.
54781 (modf_test): Likewise.
54782 (nexttoward_test): Likewise.
54783 (remainder_test): Likewise.
54784 (drem_test): Likewise.
54785 (remainder_tonearest_test_data): Likewise.
54786 (remainder_test_tonearest): Likewise.
54787 (drem_test_tonearest): Likewise.
54788 (remainder_towardzero_test_data): Likewise.
54789 (remainder_test_towardzero): Likewise.
54790 (drem_test_towardzero): Likewise.
54791 (remainder_downward_test_data): Likewise.
54792 (remainder_test_downward): Likewise.
54793 (drem_test_downward): Likewise.
54794 (remainder_upward_test_data): Likewise.
54795 (remainder_test_upward): Likewise.
54796 (drem_test_upward): Likewise.
54797 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54798 (round_test): Use ALL_RM_TEST.
54799 (signbit_test): Likewise.
54800 (trunc_test): Likewise.
54801 (significand_test): Likewise.
54802 (main): Don't call removed functions.
54803
54804 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54805
54806 [BZ #16674]
54807 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54808 || __USE_XOPEN2K8].
54809 (ILL_ILLOPN): Likewise.
54810 (ILL_ILLADR): Likewise.
54811 (ILL_ILLTRP): Likewise.
54812 (ILL_PRVOPC): Likewise.
54813 (ILL_PRVREG): Likewise.
54814 (ILL_COPROC): Likewise.
54815 (ILL_BADSTK): Likewise.
54816 (FPE_INTDIV): Likewise.
54817 (FPE_INTOVF): Likewise.
54818 (FPE_FLTDIV): Likewise.
54819 (FPE_FLTOVF): Likewise.
54820 (FPE_FLTUND): Likewise.
54821 (FPE_FLTRES): Likewise.
54822 (FPE_FLTINV): Likewise.
54823 (FPE_FLTSUB): Likewise.
54824 (SEGV_MAPERR): Likewise.
54825 (SEGV_ACCERR): Likewise.
54826 (BUS_ADRALN): Likewise.
54827 (BUS_ADRERR): Likewise.
54828 (BUS_OBJERR): Likewise.
54829 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54830 (TRAP_TRACE): Likewise.
54831 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54832 __USE_XOPEN2K8].
54833 (CLD_KILLED): Likewise.
54834 (CLD_DUMPED): Likewise.
54835 (CLD_TRAPPED): Likewise.
54836 (CLD_STOPPED): Likewise.
54837 (CLD_CONTINUED): Likewise.
54838 (POLL_IN): Likewise.
54839 (POLL_OUT): Likewise.
54840 (POLL_MSG): Likewise.
54841 (POLL_ERR): Likewise.
54842 (POLL_PRI): Likewise.
54843 (POLL_HUP): Likewise.
54844 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54845 Likewise.
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 (BUS_MCEERR_AR): Likewise.
54867 (BUS_MCEERR_AO): Likewise.
54868 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54869 (TRAP_TRACE): Likewise.
54870 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54871 __USE_XOPEN2K8].
54872 (CLD_KILLED): Likewise.
54873 (CLD_DUMPED): Likewise.
54874 (CLD_TRAPPED): Likewise.
54875 (CLD_STOPPED): Likewise.
54876 (CLD_CONTINUED): Likewise.
54877 (POLL_IN): Likewise.
54878 (POLL_OUT): Likewise.
54879 (POLL_MSG): Likewise.
54880 (POLL_ERR): Likewise.
54881 (POLL_PRI): Likewise.
54882 (POLL_HUP): Likewise.
54883 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54884 (ILL_ILLOPN): Likewise.
54885 (ILL_ILLADR): Likewise.
54886 (ILL_ILLTRP): Likewise.
54887 (ILL_PRVOPC): Likewise.
54888 (ILL_PRVREG): Likewise.
54889 (ILL_COPROC): Likewise.
54890 (ILL_BADSTK): Likewise.
54891 (FPE_INTDIV): Likewise.
54892 (FPE_INTOVF): Likewise.
54893 (FPE_FLTDIV): Likewise.
54894 (FPE_FLTOVF): Likewise.
54895 (FPE_FLTUND): Likewise.
54896 (FPE_FLTRES): Likewise.
54897 (FPE_FLTINV): Likewise.
54898 (FPE_FLTSUB): Likewise.
54899 (SEGV_MAPERR): Likewise.
54900 (SEGV_ACCERR): Likewise.
54901 (BUS_ADRALN): Likewise.
54902 (BUS_ADRERR): Likewise.
54903 (BUS_OBJERR): Likewise.
54904 (BUS_MCEERR_AR): Likewise.
54905 (BUS_MCEERR_AO): Likewise.
54906 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54907 (TRAP_TRACE): Likewise.
54908 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54909 __USE_XOPEN2K8].
54910 (CLD_KILLED): Likewise.
54911 (CLD_DUMPED): Likewise.
54912 (CLD_TRAPPED): Likewise.
54913 (CLD_STOPPED): Likewise.
54914 (CLD_CONTINUED): Likewise.
54915 (POLL_IN): Likewise.
54916 (POLL_OUT): Likewise.
54917 (POLL_MSG): Likewise.
54918 (POLL_ERR): Likewise.
54919 (POLL_PRI): Likewise.
54920 (POLL_HUP): Likewise.
54921 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54922 Likewise.
54923 (ILL_ILLOPN): Likewise.
54924 (ILL_ILLADR): Likewise.
54925 (ILL_ILLTRP): Likewise.
54926 (ILL_PRVOPC): Likewise.
54927 (ILL_PRVREG): Likewise.
54928 (ILL_COPROC): Likewise.
54929 (ILL_BADSTK): Likewise.
54930 (ILL_BADIADDR): Likewise.
54931 (ILL_BREAK): Likewise.
54932 (FPE_INTDIV): Likewise.
54933 (FPE_INTOVF): Likewise.
54934 (FPE_FLTDIV): Likewise.
54935 (FPE_FLTOVF): Likewise.
54936 (FPE_FLTUND): Likewise.
54937 (FPE_FLTRES): Likewise.
54938 (FPE_FLTINV): Likewise.
54939 (FPE_FLTSUB): Likewise.
54940 (FPE_DECOVF): Likewise.
54941 (FPE_DECDIV): Likewise.
54942 (FPE_DECERR): Likewise.
54943 (FPE_INVASC): Likewise.
54944 (FPE_INVDEC): Likewise.
54945 (SEGV_MAPERR): Likewise.
54946 (SEGV_ACCERR): Likewise.
54947 (SEGV_PSTKOVF): Likewise.
54948 (BUS_ADRALN): Likewise.
54949 (BUS_ADRERR): Likewise.
54950 (BUS_OBJERR): Likewise.
54951 (BUS_MCEERR_AR): Likewise.
54952 (BUS_MCEERR_AO): Likewise.
54953 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54954 (TRAP_TRACE): Likewise.
54955 (TRAP_BRANCH): Likewise.
54956 (TRAP_HWBKPT): Likewise.
54957 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54958 __USE_XOPEN2K8].
54959 (CLD_KILLED): Likewise.
54960 (CLD_DUMPED): Likewise.
54961 (CLD_TRAPPED): Likewise.
54962 (CLD_STOPPED): Likewise.
54963 (CLD_CONTINUED): Likewise.
54964 (POLL_IN): Likewise.
54965 (POLL_OUT): Likewise.
54966 (POLL_MSG): Likewise.
54967 (POLL_ERR): Likewise.
54968 (POLL_PRI): Likewise.
54969 (POLL_HUP): Likewise.
54970 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54971 (ILL_ILLOPN): Likewise.
54972 (ILL_ILLADR): Likewise.
54973 (ILL_ILLTRP): Likewise.
54974 (ILL_PRVOPC): Likewise.
54975 (ILL_PRVREG): Likewise.
54976 (ILL_COPROC): Likewise.
54977 (ILL_BADSTK): Likewise.
54978 (FPE_INTDIV): Likewise.
54979 (FPE_INTOVF): Likewise.
54980 (FPE_FLTDIV): Likewise.
54981 (FPE_FLTOVF): Likewise.
54982 (FPE_FLTUND): Likewise.
54983 (FPE_FLTRES): Likewise.
54984 (FPE_FLTINV): Likewise.
54985 (FPE_FLTSUB): Likewise.
54986 (SEGV_MAPERR): Likewise.
54987 (SEGV_ACCERR): Likewise.
54988 (BUS_ADRALN): Likewise.
54989 (BUS_ADRERR): Likewise.
54990 (BUS_OBJERR): Likewise.
54991 (BUS_MCEERR_AR): Likewise.
54992 (BUS_MCEERR_AO): Likewise.
54993 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54994 (TRAP_TRACE): Likewise.
54995 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54996 __USE_XOPEN2K8].
54997 (CLD_KILLED): Likewise.
54998 (CLD_DUMPED): Likewise.
54999 (CLD_TRAPPED): Likewise.
55000 (CLD_STOPPED): Likewise.
55001 (CLD_CONTINUED): Likewise.
55002 (POLL_IN): Likewise.
55003 (POLL_OUT): Likewise.
55004 (POLL_MSG): Likewise.
55005 (POLL_ERR): Likewise.
55006 (POLL_PRI): Likewise.
55007 (POLL_HUP): Likewise.
55008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55009 (ILL_ILLOPN): Likewise.
55010 (ILL_ILLADR): Likewise.
55011 (ILL_ILLTRP): Likewise.
55012 (ILL_PRVOPC): Likewise.
55013 (ILL_PRVREG): Likewise.
55014 (ILL_COPROC): Likewise.
55015 (ILL_BADSTK): Likewise.
55016 (FPE_INTDIV): Likewise.
55017 (FPE_INTOVF): Likewise.
55018 (FPE_FLTDIV): Likewise.
55019 (FPE_FLTOVF): Likewise.
55020 (FPE_FLTUND): Likewise.
55021 (FPE_FLTRES): Likewise.
55022 (FPE_FLTINV): Likewise.
55023 (FPE_FLTSUB): Likewise.
55024 (SEGV_MAPERR): Likewise.
55025 (SEGV_ACCERR): Likewise.
55026 (BUS_ADRALN): Likewise.
55027 (BUS_ADRERR): Likewise.
55028 (BUS_OBJERR): Likewise.
55029 (BUS_MCEERR_AR): Likewise.
55030 (BUS_MCEERR_AO): Likewise.
55031 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55032 (TRAP_TRACE): Likewise.
55033 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55034 __USE_XOPEN2K8].
55035 (CLD_KILLED): Likewise.
55036 (CLD_DUMPED): Likewise.
55037 (CLD_TRAPPED): Likewise.
55038 (CLD_STOPPED): Likewise.
55039 (CLD_CONTINUED): Likewise.
55040 (POLL_IN): Likewise.
55041 (POLL_OUT): Likewise.
55042 (POLL_MSG): Likewise.
55043 (POLL_ERR): Likewise.
55044 (POLL_PRI): Likewise.
55045 (POLL_HUP): Likewise.
55046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55047 (ILL_ILLOPN): Likewise.
55048 (ILL_ILLADR): Likewise.
55049 (ILL_ILLTRP): Likewise.
55050 (ILL_PRVOPC): Likewise.
55051 (ILL_PRVREG): Likewise.
55052 (ILL_COPROC): Likewise.
55053 (ILL_BADSTK): Likewise.
55054 (FPE_INTDIV): Likewise.
55055 (FPE_INTOVF): Likewise.
55056 (FPE_FLTDIV): Likewise.
55057 (FPE_FLTOVF): Likewise.
55058 (FPE_FLTUND): Likewise.
55059 (FPE_FLTRES): Likewise.
55060 (FPE_FLTINV): Likewise.
55061 (FPE_FLTSUB): Likewise.
55062 (SEGV_MAPERR): Likewise.
55063 (SEGV_ACCERR): Likewise.
55064 (BUS_ADRALN): Likewise.
55065 (BUS_ADRERR): Likewise.
55066 (BUS_OBJERR): Likewise.
55067 (BUS_MCEERR_AR): Likewise.
55068 (BUS_MCEERR_AO): Likewise.
55069 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55070 (TRAP_TRACE): Likewise.
55071 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55072 __USE_XOPEN2K8].
55073 (CLD_KILLED): Likewise.
55074 (CLD_DUMPED): Likewise.
55075 (CLD_TRAPPED): Likewise.
55076 (CLD_STOPPED): Likewise.
55077 (CLD_CONTINUED): Likewise.
55078 (POLL_IN): Likewise.
55079 (POLL_OUT): Likewise.
55080 (POLL_MSG): Likewise.
55081 (POLL_ERR): Likewise.
55082 (POLL_PRI): Likewise.
55083 (POLL_HUP): Likewise.
55084 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55085 (ILL_ILLOPN): Likewise.
55086 (ILL_ILLADR): Likewise.
55087 (ILL_ILLTRP): Likewise.
55088 (ILL_PRVOPC): Likewise.
55089 (ILL_PRVREG): Likewise.
55090 (ILL_COPROC): Likewise.
55091 (ILL_BADSTK): Likewise.
55092 (ILL_DBLFLT): Likewise.
55093 (ILL_HARDWALL): Likewise.
55094 (FPE_INTDIV): Likewise.
55095 (FPE_INTOVF): Likewise.
55096 (FPE_FLTDIV): Likewise.
55097 (FPE_FLTOVF): Likewise.
55098 (FPE_FLTUND): Likewise.
55099 (FPE_FLTRES): Likewise.
55100 (FPE_FLTINV): Likewise.
55101 (FPE_FLTSUB): Likewise.
55102 (SEGV_MAPERR): Likewise.
55103 (SEGV_ACCERR): Likewise.
55104 (BUS_ADRALN): Likewise.
55105 (BUS_ADRERR): Likewise.
55106 (BUS_OBJERR): Likewise.
55107 (BUS_MCEERR_AR): Likewise.
55108 (BUS_MCEERR_AO): Likewise.
55109 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55110 (TRAP_TRACE): Likewise.
55111 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55112 __USE_XOPEN2K8].
55113 (CLD_KILLED): Likewise.
55114 (CLD_DUMPED): Likewise.
55115 (CLD_TRAPPED): Likewise.
55116 (CLD_STOPPED): Likewise.
55117 (CLD_CONTINUED): Likewise.
55118 (POLL_IN): Likewise.
55119 (POLL_OUT): Likewise.
55120 (POLL_MSG): Likewise.
55121 (POLL_ERR): Likewise.
55122 (POLL_PRI): Likewise.
55123 (POLL_HUP): Likewise.
55124 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55125 (ILL_ILLOPN): Likewise.
55126 (ILL_ILLADR): Likewise.
55127 (ILL_ILLTRP): Likewise.
55128 (ILL_PRVOPC): Likewise.
55129 (ILL_PRVREG): Likewise.
55130 (ILL_COPROC): Likewise.
55131 (ILL_BADSTK): Likewise.
55132 (FPE_INTDIV): Likewise.
55133 (FPE_INTOVF): Likewise.
55134 (FPE_FLTDIV): Likewise.
55135 (FPE_FLTOVF): Likewise.
55136 (FPE_FLTUND): Likewise.
55137 (FPE_FLTRES): Likewise.
55138 (FPE_FLTINV): Likewise.
55139 (FPE_FLTSUB): Likewise.
55140 (SEGV_MAPERR): Likewise.
55141 (SEGV_ACCERR): Likewise.
55142 (BUS_ADRALN): Likewise.
55143 (BUS_ADRERR): Likewise.
55144 (BUS_OBJERR): Likewise.
55145 (BUS_MCEERR_AR): Likewise.
55146 (BUS_MCEERR_AO): Likewise.
55147 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55148 (TRAP_TRACE): Likewise.
55149 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55150 __USE_XOPEN2K8].
55151 (CLD_KILLED): Likewise.
55152 (CLD_DUMPED): Likewise.
55153 (CLD_TRAPPED): Likewise.
55154 (CLD_STOPPED): Likewise.
55155 (CLD_CONTINUED): Likewise.
55156 (POLL_IN): Likewise.
55157 (POLL_OUT): Likewise.
55158 (POLL_MSG): Likewise.
55159 (POLL_ERR): Likewise.
55160 (POLL_PRI): Likewise.
55161 (POLL_HUP): Likewise.
55162 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55163 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55164
55165 [BZ #16670]
55166 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55167 before #include of <time.h>.
55168 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55169 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55170 (test-xfail-UNIX98/sched.h/conform): Likewise.
55171
55172 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55173
55174 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55175 error absence of trapping exception support.
55176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55177
55178 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55179
55180 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55181 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55182 * timezone/Makefile (testdata): Move definition above include of
55183 Rules.
55184 (test-zones): New variable.
55185 (tests-special): Add zone files.
55186 (build-testdata): Use $(evaluate-test).
55187
55188 * elf/Makefile (tests-special): Rename tests to end with .out.
55189 ($(objpfx)noload-mem): Likewise.
55190 ($(objpfx)tst-leaks1-mem): Likewise.
55191 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55192 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55193 $(objpfx)test-iconvconfig.out.
55194 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55195 set -e inside subshell and redirect output to file.
55196 * iconvdata/Makefile (generated): Rename tests to end with .out.
55197 Correct type.
55198 (tests-special): Rename tests to end with .out.
55199 ($(objpfx)mtrace-tst-loading): Likewise.
55200 * intl/Makefile (generated): Likewise.
55201 (tests-special): Likewise.
55202 ($(objpfx)mtrace-tst-gettext): Likewise.
55203 * misc/Makefile (generated): Likewise.
55204 (tests-special): Likewise.
55205 ($(objpfx)tst-error1-mem): Likewise.
55206 * nptl/Makefile (tests-special): Likewise.
55207 ($(objpfx)tst-stack3-mem): Likewise.
55208 (generated): Likewise.
55209 * posix/Makefile (generated): Likewise.
55210 (tests-special): Likewise.
55211 (xtests-special): Likewise.
55212 ($(objpfx)tst-fnmatch-mem): Likewise.
55213 ($(objpfx)bug-regex2-mem): Likewise.
55214 ($(objpfx)bug-regex14-mem): Likewise.
55215 ($(objpfx)bug-regex21-mem): Likewise.
55216 ($(objpfx)bug-regex31-mem): Likewise.
55217 ($(objpfx)tst-vfork3-mem): Likewise.
55218 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55219 ($(objpfx)tst-pcre-mem): Likewise.
55220 ($(objpfx)tst-boost-mem): Likewise.
55221 ($(objpfx)bug-ga2-mem): Likewise.
55222 ($(objpfx)bug-glob2-mem): Likewise.
55223 * resolv/Makefile (generate): Likewise.
55224 (tests-special): Likewise.
55225 (xtests-special): Likewise.
55226 (generated): Likewise.
55227 ($(objpfx)mtrace-tst-leaks): Likewise.
55228 ($(objpfx)mtrace-tst-leaks2): Likewise.
55229
55230 * scripts/merge-test-results.sh: New file.
55231 * Makefile (tests-special-notdir): New variable.
55232 (tests): Run merge-test-results.sh.
55233 (xtests): Likewise.
55234 * Rules (tests-special-notdir): New variable.
55235 (xtests-special-notdir): Likewise.
55236 (tests): Run merge-test-results.sh
55237 (xtests): Likewise.
55238
55239 * Makeconfig (test-xfail-name): New variable.
55240 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55241 compute variable name for expected failures.
55242 * conform/Makefile (conformtest-headers-data): New variable.
55243 (conformtest-standards): Likewise.
55244 (conformtest-headers-ISO): Likewise.
55245 (conformtest-headers-ISO99): Likewise.
55246 (conformtest-headers-ISO11): Likewise.
55247 (conformtest-headers-POSIX): Likewise.
55248 (conformtest-headers-XPG3): Likewise.
55249 (conformtest-headers-XPG4): Likewise.
55250 (conformtest-headers-UNIX98): Likewise.
55251 (conformtest-headers-XOPEN2K): Likewise.
55252 (conformtest-headers-POSIX2008): Likewise.
55253 (conformtest-headers-XOPEN2K8): Likewise.
55254 (conformtest-header-list-base): Likewise.
55255 (conformtest-header-list-tests): Likewise.
55256 (conformtest-header-base): Likewise.
55257 (conformtest-header-tests): Likewise.
55258 (tests-special): Add $(conformtest-header-list-tests). If
55259 [$(fast-check) && !$(cross-compiling)], add
55260 $(conformtest-header-tests) instead of
55261 $(objpfx)run-conformtest.out.
55262 (generated): Add $(conformtest-header-list-base). If
55263 [$(fast-check) && !$(cross-compiling)], add
55264 $(conformtest-header-base). Remove previous setting.
55265 ($(conformtest-header-list-tests)): New target.
55266 (test-xfail-run-conformtest): Remove variable.
55267 ($(objpfx)run-conformtest.out): Remove target.
55268 (test-xfail-ISO11/complex.h/conform): New variable.
55269 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55270 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55271 (test-xfail-XPG3/varargs.h/conform): Likewise.
55272 (test-xfail-XPG4/varargs.h/conform): Likewise.
55273 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55274 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55275 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55276 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55277 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55278 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55279 (test-xfail-XPG3/ftw.h/conform): Likewise.
55280 (test-xfail-XPG3/grp.h/conform): Likewise.
55281 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55282 (test-xfail-XPG3/limits.h/conform): Likewise.
55283 (test-xfail-XPG3/pwd.h/conform): Likewise.
55284 (test-xfail-XPG3/search.h/conform): Likewise.
55285 (test-xfail-XPG3/signal.h/conform): Likewise.
55286 (test-xfail-XPG3/stdio.h/conform): Likewise.
55287 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55288 (test-xfail-XPG3/string.h/conform): Likewise.
55289 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55290 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55291 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55292 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55293 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55294 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55295 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55296 (test-xfail-XPG3/termios.h/conform): Likewise.
55297 (test-xfail-XPG3/time.h/conform): Likewise.
55298 (test-xfail-XPG3/unistd.h/conform): Likewise.
55299 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55300 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55301 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55302 (test-xfail-XPG4/netdb.h/conform): Likewise.
55303 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55304 (test-xfail-XPG4/signal.h/conform): Likewise.
55305 (test-xfail-XPG4/stdio.h/conform): Likewise.
55306 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55307 (test-xfail-XPG4/stropts.h/conform): Likewise.
55308 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55309 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55310 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55311 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55312 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55313 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55314 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55315 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55316 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55317 (test-xfail-XPG4/termios.h/conform): Likewise.
55318 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55319 (test-xfail-XPG4/unistd.h/conform): Likewise.
55320 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55321 (test-xfail-POSIX/sched.h/conform): Likewise.
55322 (test-xfail-POSIX/signal.h/conform): Likewise.
55323 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55324 (test-xfail-POSIX/tar.h/conform): Likewise.
55325 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55326 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55327 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55328 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55329 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55330 (test-xfail-UNIX98/sched.h/conform): Likewise.
55331 (test-xfail-UNIX98/signal.h/conform): Likewise.
55332 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55333 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55334 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55335 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55336 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55337 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55338 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55339 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55340 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55341 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55342 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55343 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55344 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55345 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55346 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55347 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55348 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55349 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55350 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55351 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55352 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55353 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55354 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55355 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55356 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55357 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55358 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55359 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55360 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55361 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55362 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55363 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55364 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55365 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55366 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55367 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55368 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55369 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55370 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55371 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55372 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55373 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55374 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55375 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55376 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55377 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55378 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55379 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55380 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55381 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55382 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55383 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55384 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55385 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55386 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55387 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55388 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55389 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55390 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55391 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55392 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55393 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55394 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55395 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55396 (conformtest-cc-flags): Likewise.
55397 ($(conformtest-header-tests): New target.
55398 * conform/check-header-lists.sh: New file.
55399 * conform/run-conformtest.sh: Remove.
55400
55401 * conform/conformtest.pl: Allow ' and \ in values given for
55402 constants.
55403 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55404 inclusion.
55405 [POSIX] (sys/types.h): Likewise.
55406 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55407 inclusion.
55408 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55409 inclusion.
55410 * conform/data/signal.h-data (SIGIO): Remove expectation.
55411 [XPG3] (SIGBUS): Do not expect.
55412 [POSIX || XPG3] (SIGPOLL): Likewise.
55413 [POSIX || XPG3] (SIGPROF): Likewise.
55414 [POSIX || XPG3] (SIGSYS): Likewise.
55415 [XPG3] (SIGTRAP): Likewise.
55416 [POSIX || XPG3] (SIGURG): Likewise.
55417 [POSIX || XPG3] (SIGVTALRM): Likewise.
55418 [POSIX || XPG3] (SIGXCPU): Likewise.
55419 [POSIX || XPG3] (SIGXFSZ): Likewise.
55420 [POSIX] (SA_SIGINFO): Expect.
55421 [XPG3] (siginfo_t): Do not expect type or contents.
55422 [POSIX] (si_pid): Do not expect element.
55423 [POSIX] (si_uid): Likewise.
55424 [POSIX] (si_addr): Likewise.
55425 [POSIX] (si_status): Likewise.
55426 [POSIX] (si_band): Likewise.
55427 [XPG4] (si_value): Likewise.
55428 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55429 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55430 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55431 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55432 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55433 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55434 [POSIX || XPG3] (ILL_COPROC): Likewise.
55435 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55436 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55437 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55438 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55439 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55440 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55441 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55442 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55443 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55444 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55445 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55446 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55447 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55448 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55449 [POSIX || XPG3] (CLD_EXITED): Likewise.
55450 [POSIX || XPG3] (CLD_KILLED): Likewise.
55451 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55452 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55453 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55454 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55455 [POSIX || XPG3] (POLL_IN): Likewise.
55456 [POSIX || XPG3] (POLL_OUT): Likewise.
55457 [POSIX || XPG3] (POLL_MSG): Likewise.
55458 [POSIX || XPG3] (POLL_ERR): Likewise.
55459 [POSIX || XPG3] (POLL_PRI): Likewise.
55460 [POSIX || XPG3] (POLL_HUP): Likewise.
55461 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55462 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55463 (SIG*): Do not allow.
55464 [XPG3] (si_*): Likewise.
55465 [XPG3] (SI_*): Likewise.
55466 [XPG3 || XPG4] (sigev_*): Likewise.
55467 [XPG3 || XPG4] (SIGEV_*): Likewise.
55468 [XPG3 || XPG4] (sival_*): Likewise.
55469 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55470 [POSIX || XPG3] (BUS_*): Likewise.
55471 [POSIX || XPG3] (CLD_*): Likewise.
55472 [POSIX || XPG3] (FPE_*): Likewise.
55473 [POSIX || XPG3] (ILL_*): Likewise.
55474 [POSIX || XPG3] (POLL_*): Likewise.
55475 [POSIX || XPG3] (SEGV_*): Likewise.
55476 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55477 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55478 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55479 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55480 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55481 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55482 Specify type and value.
55483 (TVERSLEN): Likewise.
55484 (REGTYPE): Likewise.
55485 (AREGTYPE): Likewise.
55486 (LNKTYPE): Likewise.
55487 (SYMTYPE): Likewise.
55488 (CHRTYPE): Likewise.
55489 (BLKTYPE): Likewise.
55490 (DIRTYPE): Likewise.
55491 (FIFOTYPE): Likewise.
55492 (CONTTYPE): Likewise.
55493 (TSUID): Likewise.
55494 (TSGID): Likewise.
55495 (TSVTX): Likewise.
55496 (TUREAD): Likewise.
55497 (TUWRITE): Likewise.
55498 (TUEXEC): Likewise.
55499 (TGREAD): Likewise.
55500 (TGWRITE): Likewise.
55501 (TGEXEC): Likewise.
55502 (TOREAD): Likewise.
55503 (TOWRITE): Likewise.
55504 (TOEXEC): Likewise.
55505 [POSIX] (TSVTX): Expect constant.
55506
55507 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55508
55509 * Makefile (tests): Change dependencies to ....
55510 (tests-special): ... additions to this variable.
55511 (tests): Depend on $(tests-special).
55512 * Makerules (check-abi-list): New variable.
55513 (check-abi): Depend on $(check-abi-list).
55514 [$(subdir) = elf] (tests-special): Add
55515 $(objpfx)check-abi-libc.out.
55516 [$(build-shared) = yes && subdir] (tests-special): Add
55517 $(check-abi-list).
55518 [$(build-shared) = yes && subdir] (tests): Do not depend on
55519 check-abi.
55520 * Rules (tests): Depend on $(tests-special).
55521 (xtests): Depend on $(xtests-special).
55522 * catgets/Makefile (tests): Change dependencies to ....
55523 (tests-special): ... additions to this variable.
55524 * conform/Makefile (tests): Change dependencies to ....
55525 (tests-special): ... additions to this variable.
55526 * elf/Makefile (tests): Change dependencies to ....
55527 (tests-special): ... additions to this variable.
55528 * grp/Makefile (tests): Change dependencies to ....
55529 (tests-special): ... additions to this variable.
55530 * iconv/Makefile (xtests): Change dependencies to ....
55531 (xtests-special): ... additions to this variable.
55532 * iconvdata/Makefile (tests): Change dependencies to ....
55533 (tests-special): ... additions to this variable.
55534 * intl/Makefile (tests): Change dependencies to ....
55535 (tests-special): ... additions to this variable. Also add
55536 $(objpfx)tst-gettext.out.
55537 * io/Makefile (tests): Change dependencies to ....
55538 (tests-special): ... additions to this variable.
55539 * libio/Makefile (tests): Change dependencies to ....
55540 (tests-special): ... additions to this variable.
55541 * malloc/Makefile (tests): Change dependencies to ....
55542 (tests-special): ... additions to this variable.
55543 * misc/Makefile (tests): Change dependencies to ....
55544 (tests-special): ... additions to this variable.
55545 * nptl/Makefile (tests): Change dependencies to ....
55546 (tests-special): ... additions to this variable.
55547 * nptl_db/Makefile (tests): Change dependencies to ....
55548 (tests-special): ... additions to this variable.
55549 * posix/Makefile (tests): Change dependencies to ....
55550 (tests-special): ... additions to this variable.
55551 (xtests): Change dependencies to ....
55552 (xtests-special): ... additions to this variable.
55553 * resolv/Makefile (tests): Change dependencies to ....
55554 (tests-special): ... additions to this variable.
55555 (xtests): Change dependencies to ....
55556 (xtests-special): ... additions to this variable.
55557 * stdio-common/Makefile (tests): Change dependencies to ....
55558 (tests-special): ... additions to this variable.
55559 (do-tst-unbputc): Remove target.
55560 (do-tst-printf): Likewise.
55561 * stdlib/Makefile (tests): Change dependencies to ....
55562 (tests-special): ... additions to this variable.
55563 * string/Makefile (tests): Change dependencies to ....
55564 (tests-special): ... additions to this variable.
55565 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55566 (tests-special): ... additions to this variable.
55567
55568 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55569 whole file.
55570 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55571 whole file.
55572 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55573 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55574
55575 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55576 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55577 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55578 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55579 * conform/data/libgen.h-data [XPG3]: Likewise.
55580 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55581 * conform/data/ndbm.h-data [XPG3]: Likewise.
55582 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55583 * conform/data/netdb.h-data [XPG3]: Likewise.
55584 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55585 * conform/data/poll.h-data [XPG3]: Likewise.
55586 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55587 * conform/data/strings.h-data [XPG3]: Likewise.
55588 * conform/data/stropts.h-data [XPG3]: Likewise.
55589 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55590 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55591 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55592 Likewise.
55593 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55594 * conform/data/sys/time.h-data [XPG3]: Likewise.
55595 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55596 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55597 * conform/data/sys/un.h-data [XPG3]: Likewise.
55598 * conform/data/syslog.h-data [XPG3]: Likewise.
55599 * conform/data/ucontext.h-data [XPG3]: Likewise.
55600 * conform/data/utmpx.h-data [XPG3]: Likewise.
55601 * conform/data/varargs.h-data [UNIX98]: Enable file.
55602
55603 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55604
55605 * math/libm-test.inc (struct test_f_f_data): Move expected results
55606 into structure for each rounding mode.
55607 (struct test_ff_f_data): Likewise.
55608 (struct test_ff_f_data_nexttoward): Likewise.
55609 (struct test_fi_f_data): Likewise.
55610 (struct test_fl_f_data): Likewise.
55611 (struct test_if_f_data): Likewise.
55612 (struct test_fff_f_data): Likewise.
55613 (struct test_c_f_data): Likewise.
55614 (struct test_f_f1_data): Likewise.
55615 (struct test_fF_f1_data): Likewise.
55616 (struct test_ffI_f1_data): Likewise.
55617 (struct test_c_c_data): Likewise.
55618 (struct test_cc_c_data): Likewise.
55619 (struct test_f_i_data): Likewise.
55620 (struct test_ff_i_data): Likewise.
55621 (struct test_f_l_data): Likewise.
55622 (struct test_f_L_data): Likewise.
55623 (struct test_fFF_11_data): Likewise.
55624 (RM_): New macro.
55625 (RM_FE_DOWNWARD): Likewise.
55626 (RM_FE_TONEAREST): Likewise.
55627 (RM_FE_TOWARDZERO): Likewise.
55628 (RM_FE_UPWARD): Likewise.
55629 (RUN_TEST_LOOP_f_f): Update references to expected results.
55630 (RUN_TEST_LOOP_2_f): Likewise.
55631 (RUN_TEST_LOOP_fff_f): Likewise.
55632 (RUN_TEST_LOOP_c_f): Likewise.
55633 (RUN_TEST_LOOP_f_f1): Likewise.
55634 (RUN_TEST_LOOP_fF_f1): Likewise.
55635 (RUN_TEST_LOOP_fI_f1): Likewise.
55636 (RUN_TEST_LOOP_ffI_f1): Likewise.
55637 (RUN_TEST_LOOP_c_c): Likewise.
55638 (RUN_TEST_LOOP_cc_c): Likewise.
55639 (RUN_TEST_LOOP_f_i): Likewise.
55640 (RUN_TEST_LOOP_f_i_tg): Likewise.
55641 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55642 (RUN_TEST_LOOP_f_b): Likewise.
55643 (RUN_TEST_LOOP_f_b_tg): Likewise.
55644 (RUN_TEST_LOOP_f_l): Likewise.
55645 (RUN_TEST_LOOP_f_L): Likewise.
55646 (RUN_TEST_LOOP_fFF_11): Likewise.
55647 * math/gen-libm-test.pl (parse_args): Output four copies of
55648 expected results for each test.
55649
55650 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55651 (__ASSUME_UTIMES): Remove.
55652 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55653 (__ASSUME_UTIMES): Likewise.
55654
55655 * math/gen-auto-libm-tests.c: Update comment on output format.
55656 (output_for_one_input_case): Generate before-rounding and
55657 after-rounding information as conditions on output flags not
55658 floating-point format.
55659 * math/auto-libm-test-out: Regenerated.
55660 * math/gen-libm-test.pl (cond_value): New function.
55661 (or_cond_value): Use cond_value.
55662 (generate_testfile): Handle conditional exceptions.
55663
55664 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55665
55666 * math/libm-test.inc (max_valid_error): New variable.
55667 (init_max_error): Take new argument specifying whether function
55668 results are exactly determined. Set max_valid_error and bound
55669 other variables for errors based on this argument.
55670 (set_max_error): Do not record results above max_valid_error.
55671 (check_float_internal): Only accept errors of up to 0.5ulps if
55672 also at most max_valid_error.
55673 (START): Take new argument EXACT and pass it to init_max_error.
55674 (acos_test): Update call to START.
55675 (acos_test_tonearest): Likewise.
55676 (acos_test_towardzero): Likewise.
55677 (acos_test_downward): Likewise.
55678 (acos_test_upward): Likewise.
55679 (acosh_test): Likewise.
55680 (asin_test): Likewise.
55681 (asin_test_tonearest): Likewise.
55682 (asin_test_towardzero): Likewise.
55683 (asin_test_downward): Likewise.
55684 (asin_test_upward): Likewise.
55685 (asinh_test): Likewise.
55686 (atan_test): Likewise.
55687 (atanh_test): Likewise.
55688 (atan2_test): Likewise.
55689 (cabs_test): Likewise.
55690 (cacos_test): Likewise.
55691 (cacosh_test): Likewise.
55692 (carg_test): Likewise.
55693 (casin_test): Likewise.
55694 (casinh_test): Likewise.
55695 (catan_test): Likewise.
55696 (catanh_test): Likewise.
55697 (cbrt_test): Likewise.
55698 (ccos_test): Likewise.
55699 (ccosh_test): Likewise.
55700 (ceil_test): Likewise.
55701 (cexp_test): Likewise.
55702 (cimag_test): Likewise.
55703 (clog_test): Likewise.
55704 (clog10_test): Likewise.
55705 (conj_test): Likewise.
55706 (copysign_test): Likewise.
55707 (cos_test): Likewise.
55708 (cos_test_tonearest): Likewise.
55709 (cos_test_towardzero): Likewise.
55710 (cos_test_downward): Likewise.
55711 (cos_test_upward): Likewise.
55712 (cosh_test): Likewise.
55713 (cosh_test_tonearest): Likewise.
55714 (cosh_test_towardzero): Likewise.
55715 (cosh_test_downward): Likewise.
55716 (cosh_test_upward): Likewise.
55717 (cpow_test): Likewise.
55718 (cproj_test): Likewise.
55719 (creal_test): Likewise.
55720 (csin_test): Likewise.
55721 (csinh_test): Likewise.
55722 (csqrt_test): Likewise.
55723 (ctan_test): Likewise.
55724 (ctan_test_tonearest): Likewise.
55725 (ctan_test_towardzero): Likewise.
55726 (ctan_test_downward): Likewise.
55727 (ctan_test_upward): Likewise.
55728 (ctanh_test): Likewise.
55729 (ctanh_test_tonearest): Likewise.
55730 (ctanh_test_towardzero): Likewise.
55731 (ctanh_test_downward): Likewise.
55732 (ctanh_test_upward): Likewise.
55733 (erf_test): Likewise.
55734 (erfc_test): Likewise.
55735 (exp_test): Likewise.
55736 (exp_test_tonearest): Likewise.
55737 (exp_test_towardzero): Likewise.
55738 (exp_test_downward): Likewise.
55739 (exp_test_upward): Likewise.
55740 (exp10_test): Likewise.
55741 (exp10_test_tonearest): Likewise.
55742 (exp10_test_towardzero): Likewise.
55743 (exp10_test_downward): Likewise.
55744 (exp10_test_upward): Likewise.
55745 (pow10_test): Likewise.
55746 (exp2_test): Likewise.
55747 (expm1_test): Likewise.
55748 (expm1_test_tonearest): Likewise.
55749 (expm1_test_towardzero): Likewise.
55750 (expm1_test_downward): Likewise.
55751 (expm1_test_upward): Likewise.
55752 (fabs_test): Likewise.
55753 (fdim_test): Likewise.
55754 (floor_test): Likewise.
55755 (fma_test): Likewise.
55756 (fma_test_towardzero): Likewise.
55757 (fma_test_downward): Likewise.
55758 (fma_test_upward): Likewise.
55759 (fmax_test): Likewise.
55760 (fmin_test): Likewise.
55761 (fmod_test): Likewise.
55762 (fpclassify_test): Likewise.
55763 (frexp_test): Likewise.
55764 (hypot_test): Likewise.
55765 (ilogb_test): Likewise.
55766 (isfinite_test): Likewise.
55767 (finite_test): Likewise.
55768 (isgreater_test): Likewise.
55769 (isgreaterequal_test): Likewise.
55770 (isinf_test): Likewise.
55771 (isless_test): Likewise.
55772 (islessequal_test): Likewise.
55773 (islessgreater_test): Likewise.
55774 (isnan_test): Likewise.
55775 (isnormal_test): Likewise.
55776 (issignaling_test): Likewise.
55777 (isunordered_test): Likewise.
55778 (j0_test): Likewise.
55779 (j1_test): Likewise.
55780 (jn_test): Likewise.
55781 (ldexp_test): Likewise.
55782 (lgamma_test): Likewise.
55783 (gamma_test): Likewise.
55784 (lrint_test): Likewise.
55785 (lrint_test_tonearest): Likewise.
55786 (lrint_test_towardzero): Likewise.
55787 (lrint_test_downward): Likewise.
55788 (lrint_test_upward): Likewise.
55789 (llrint_test): Likewise.
55790 (llrint_test_tonearest): Likewise.
55791 (llrint_test_towardzero): Likewise.
55792 (llrint_test_downward): Likewise.
55793 (llrint_test_upward): Likewise.
55794 (log_test): Likewise.
55795 (log10_test): Likewise.
55796 (log1p_test): Likewise.
55797 (log2_test): Likewise.
55798 (logb_test): Likewise.
55799 (logb_test_downward): Likewise.
55800 (lround_test): Likewise.
55801 (llround_test): Likewise.
55802 (modf_test): Likewise.
55803 (nearbyint_test): Likewise.
55804 (nextafter_test): Likewise.
55805 (nexttoward_test): Likewise.
55806 (pow_test): Likewise.
55807 (pow_test_tonearest): Likewise.
55808 (pow_test_towardzero): Likewise.
55809 (pow_test_downward): Likewise.
55810 (pow_test_upward): Likewise.
55811 (remainder_test): Likewise.
55812 (drem_test): Likewise.
55813 (remainder_test_tonearest): Likewise.
55814 (drem_test_tonearest): Likewise.
55815 (remainder_test_towardzero): Likewise.
55816 (drem_test_towardzero): Likewise.
55817 (remainder_test_downward): Likewise.
55818 (drem_test_downward): Likewise.
55819 (remainder_test_upward): Likewise.
55820 (drem_test_upward): Likewise.
55821 (remquo_test): Likewise.
55822 (rint_test): Likewise.
55823 (rint_test_tonearest): Likewise.
55824 (rint_test_towardzero): Likewise.
55825 (rint_test_downward): Likewise.
55826 (rint_test_upward): Likewise.
55827 (round_test): Likewise.
55828 (scalb_test): Likewise.
55829 (scalbn_test): Likewise.
55830 (scalbln_test): Likewise.
55831 (signbit_test): Likewise.
55832 (sin_test): Likewise.
55833 (sin_test_tonearest): Likewise.
55834 (sin_test_towardzero): Likewise.
55835 (sin_test_downward): Likewise.
55836 (sin_test_upward): Likewise.
55837 (sincos_test): Likewise.
55838 (sinh_test): Likewise.
55839 (sinh_test_tonearest): Likewise.
55840 (sinh_test_towardzero): Likewise.
55841 (sinh_test_downward): Likewise.
55842 (sinh_test_upward): Likewise.
55843 (sqrt_test): Likewise.
55844 (sqrt_test_tonearest): Likewise.
55845 (sqrt_test_towardzero): Likewise.
55846 (sqrt_test_downward): Likewise.
55847 (sqrt_test_upward): Likewise.
55848 (tan_test): Likewise.
55849 (tan_test_tonearest): Likewise.
55850 (tan_test_towardzero): Likewise.
55851 (tan_test_downward): Likewise.
55852 (tan_test_upward): Likewise.
55853 (tanh_test): Likewise.
55854 (tgamma_test): Likewise.
55855 (trunc_test): Likewise.
55856 (y0_test): Likewise.
55857 (y1_test): Likewise.
55858 (yn_test): Likewise.
55859 (significand_test): Likewise.
55860
55861 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55862 individual tests in comment.
55863 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55864 (prev_max_error): New variable.
55865 (prev_real_max_error): Likewise.
55866 (prev_imag_max_error): Likewise.
55867 (compare_ulp_data): Don't refer to test names in comment.
55868 (find_test_ulps): Remove function.
55869 (find_function_ulps): Likewise.
55870 (find_complex_function_ulps): Likewise.
55871 (init_max_error): Take function name as argument. Look up ulps
55872 for that function.
55873 (print_ulps): Remove function.
55874 (print_max_error): Use prev_max_error instead of calling
55875 find_function_ulps.
55876 (print_complex_max_error): Use prev_real_max_error and
55877 prev_imag_max_error instead of calling find_complex_function_ulps.
55878 (check_float_internal): Take max_ulp parameter instead of calling
55879 find_test_ulps. Don't call print_ulps.
55880 (check_float): Update call to check_float_internal.
55881 (check_complex): Update calls to check_float_internal.
55882 (START): Pass argument to init_max_error.
55883 * math/gen-libm-test.pl (%results): Don't include "kind"
55884 information.
55885 (parse_ulps): Don't handle ulps of individual tests.
55886 (print_ulps_file): Likewise.
55887 (output_ulps): Likewise.
55888 * math/README.libm-test: Update.
55889 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55890 individual tests.
55891 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55892 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55893 * sysdeps/arm/libm-test-ulps: Likewise.
55894 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55895 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55896 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55897 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55898 * sysdeps/microblaze/libm-test-ulps: Likewise.
55899 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55900 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55901 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55902 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55904 * sysdeps/sh/libm-test-ulps: Likewise.
55905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55906 * sysdeps/tile/libm-test-ulps: Likewise.
55907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55908
55909 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55910
55911 * math/libm-test.inc (print_complex_max_error): Check separately
55912 whether real and imaginary errors are within allowed range and
55913 pass 0 to print_complex_function_ulps instead of value within
55914 allowed range.
55915
55916 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55917
55918 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55919 formatting.
55920 (get_handles_fopen): Likewise.
55921 (do_write_test): Likewise.
55922
55923 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55924
55925 * libio/fileops.c (do_ftell): Use cached offset when
55926 available.
55927 * libio/iofwide.c (do_ftell_wide): Likewise.
55928 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55929 _IO_file_attach.
55930 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55931
55932 [BZ #16532]
55933 * libio/libioP.h (get_file_offset): New function.
55934 * libio/fileops.c (get_file_offset): Likewise.
55935 (do_ftell): Likewise.
55936 (_IO_new_file_seekoff): Split out ftell logic.
55937 * libio/wfileops.c (do_ftell_wide): Likewise.
55938 (_IO_wfile_seekoff): Split out ftell logic.
55939 * libio/tst-ftell-active-handler.c: New test case.
55940 * libio/Makefile (tests): Add it.
55941
55942 2014-03-03 Roland McGrath <roland@hack.frob.com>
55943
55944 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55945 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55946
55947 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55948
55949 [BZ #16639]
55950 * nscd/connections.c (nscd_init): Call do_exit.
55951 (start_threads): Call do_exit and notify_parent.
55952 (begin_drop_privileges): Call do_exit.
55953 (finish_drop_privileges): Likewise.
55954 * nscd/selinux.c (preserve_capabilities): Likewise.
55955 (install_real_capabilities): Likewise.
55956 (nscd_selinux_enabled): Likewise.
55957 (avc_create_thread): Likewise.
55958 (avc_alloc_lock): Likewise.
55959 (nscd_avc_init): Likewise.
55960 * nscd/nscd.c (parent_fd): New static variable.
55961 (main): Create a pipe between parent and child processes.
55962 Skip closing parent_fd.
55963 (monitor_child): New function.
55964 (do_exit): Likewise.
55965 (notify_parent): Likewise.
55966 * nscd/nscd.h (notify_parent): Likewise.
55967 (do_exit): Likewise.
55968
55969 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55970
55971 * malloc/malloc.c (__libc_calloc): Revert last change.
55972
55973 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55974
55975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55976
55977 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55978
55979 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55981 implementation.
55982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55983 (__libc_ifunc_impl_list): Likewise.
55984 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55985 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55986 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55987 * string/strrchr.c: Define STRRCHR.
55988
55989 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55990
55991 * benchtest/bench-strtok.c (simple_strtok): Delete.
55992 (strtok_string): Use as benchmark.
55993 * string/strtok (STRTOK): New macro.
55994
55995 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55996
55997 * manual/threads.texi: Add header and standard comments to all
55998 functions.
55999
56000 * elf/dl-lookup.c (check_match): New function.
56001 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56002 (do_lookup_x): Remove nested function check_match. Use non-nested
56003 function check_match.
56004
56005 2014-02-28 Roland McGrath <roland@hack.frob.com>
56006
56007 * csu/Makefile (generated, before-compile): Use += rather than =.
56008 * catgets/Makefile (generated, generated-dirs): Likewise.
56009 * debug/Makefile (generated): Likewise.
56010 * dlfcn/Makefile (generated): Likewise.
56011 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56012 * iconvdata/Makefile (before-compile, generated): Likewise.
56013 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56014 * libio/Makefile (generated): Likewise.
56015 * malloc/Makefile (generated): Likewise.
56016 * manual/Makefile (generated, generated-dirs): Likewise.
56017 * misc/Makefile (generated): Likewise.
56018 * posix/Makefile (generated): Likewise.
56019 * resolv/Makefile (generated): Likewise.
56020 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56021 * timezone/Makefile (generated, generated-dirs): Likewise.
56022
56023 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56024
56025 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56026
56027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56028 power8 implementation.
56029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56030 file: POWER8 llround ifunc implementation.
56031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56032 (__lllround): Add POWER8 implementation.
56033 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56034 POWER8 llround implementation.
56035
56036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56037 power8 implementation.
56038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56039 file: POWER8 llrint ifunc implementation.
56040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56041 Add POWER8 implementation.
56042 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56043 POWER8 llrint implementation.
56044
56045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56046 power8 implementation.
56047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56048 file: POWER8 finite ifunc implementation.
56049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56050 Add POWER8 implementation.
56051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56052 Likewise.
56053 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56054 POWER8 finite implementation.
56055 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56056
56057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56058 power8 implementation.
56059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56060 file: POWER8 isinf ifunc implementation.
56061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56062 POWER8 implementation.
56063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56064 Likewise.
56065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56066 isinf implementation.
56067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56068
56069 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56070 (INIT_ARCH): Add hwcap2 initialization.
56071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56072 power8 implementation.
56073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56074 file: POWER8 isnan ifunc implementation.
56075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56076 POWER8 implementation.
56077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56078 Likewise.
56079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56080 isnan implementation.
56081 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56082
56083 2014-02-27 Joey Ye <joey.ye@arm.com>
56084
56085 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56086 (_FP_NANFRAC_Q): Set to zero.
56087
56088 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56089
56090 [BZ #16623]
56091 * math/auto-libm-test-in: New test inputs.
56092 * math/auto-libm-test-out: Regenerate.
56093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56094 and DA.
56095 (__cos): Likewise.
56096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56097
56098 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56099
56100 * scripts/evaluate-test.sh: Take new argument indicating whether
56101 failure is expected.
56102 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56103 indicating whether failure is expected.
56104 * conform/Makefile (test-xfail-run-conformtest): New variable.
56105 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56106 level.
56107 * posix/Makefile (test-xfail-annexc): New variable.
56108 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56109
56110 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56111
56112 * argp/Makefile: Include Makeconfig immediately after defining
56113 subdir.
56114 * assert/Makefile: Likewise.
56115 * benchtests/Makefile: Likewise.
56116 * catgets/Makefile: Likewise.
56117 * conform/Makefile: Likewise.
56118 * crypt/Makefile: Likewise.
56119 * csu/Makefile: Likewise.
56120 (all): Remove target.
56121 * ctype/Makefile: Include Makeconfig immediately after defining
56122 subdir.
56123 * debug/Makefile: Likewise.
56124 * dirent/Makefile: Likewise.
56125 * dlfcn/Makefile: Likewise.
56126 * gmon/Makefile: Likewise.
56127 * gnulib/Makefile: Likewise.
56128 * grp/Makefile: Likewise.
56129 * gshadow/Makefile: Likewise.
56130 * hesiod/Makefile: Likewise.
56131 * hurd/Makefile: Likewise.
56132 (all): Remove target.
56133 * iconvdata/Makefile: Include Makeconfig immediately after
56134 defining subdir.
56135 * inet/Makefile: Likewise.
56136 * intl/Makefile: Likewise.
56137 * io/Makefile: Likewise.
56138 * libio/Makefile: Likewise.
56139 (all): Remove target.
56140 * locale/Makefile: Include Makeconfig immediately after defining
56141 subdir.
56142 * login/Makefile: Likewise.
56143 * mach/Makefile: Likewise.
56144 (all): Remove target.
56145 * malloc/Makefile: Include Makeconfig immediately after defining
56146 subdir.
56147 (all): Remove target.
56148 * manual/Makefile: Include Makeconfig immediately after defining
56149 subdir.
56150 * math/Makefile: Likewise.
56151 * misc/Makefile: Likewise.
56152 * nis/Makefile: Likewise.
56153 * nss/Makefile: Likewise.
56154 * po/Makefile: Likewise.
56155 (all): Remove target.
56156 * posix/Makefile: Include Makeconfig immediately after defining
56157 subdir.
56158 * pwd/Makefile: Likewise.
56159 * resolv/Makefile: Likewise.
56160 * resource/Makefile: Likewise.
56161 * rt/Makefile: Likewise.
56162 * setjmp/Makefile: Likewise.
56163 * shadow/Makefile: Likewise.
56164 * signal/Makefile: Likewise.
56165 * socket/Makefile: Likewise.
56166 * soft-fp/Makefile: Likewise.
56167 * stdio-common/Makefile: Likewise.
56168 * stdlib/Makefile: Likewise.
56169 * streams/Makefile: Likewise.
56170 * string/Makefile: Likewise.
56171 * sunrpc/Makefile: Likewise.
56172 (all): Remove target.
56173 * sysvipc/Makefile: Include Makeconfig immediately after defining
56174 subdir.
56175 * termios/Makefile: Likewise.
56176 * time/Makefile: Likewise.
56177 * timezone/Makefile: Likewise.
56178 (all): Remove target.
56179 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56180 subdir.
56181 * wctype/Makefile: Likewise.
56182
56183 2014-02-26 Steve Ellcey <sellcey@mips.com>
56184
56185 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56186 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56187 (libc_feholdexcept_setround_mips): Ditto.
56188 (libc_feholdsetround): New.
56189 (libc_feholdsetroundf): New.
56190 (libc_feholdsetroundl): New.
56191 (libc_feupdateenv_test_mips): New.
56192 (libc_feupdateenv_test): New.
56193 (libc_feupdateenv_testf): New.
56194 (libc_feupdateenv_testl): New.
56195 (libc_feresetround): New.
56196 (libc_feresetroundf): New.
56197 (libc_feresetroundl): New.
56198 (libc_fetestexcept_mips): New.
56199 (libc_fetestexcept): New.
56200 (libc_fetestexceptf): New.
56201 (libc_fetestexceptl): New.
56202 (HAVE_RM_CTX): New.
56203 (libc_feholdexcept_setround_mips_ctx): New.
56204 (libc_feholdexcept_setround_ctx): New.
56205 (libc_feholdexcept_setroundf_ctx): New.
56206 (libc_feholdexcept_setroundl_ctx): New.
56207 (libc_fesetenv_mips_ctx): New.
56208 (libc_fesetenv_ctx): New.
56209 (libc_fesetenv_ctxf): New.
56210 (libc_fesetenv_ctxl): New.
56211 (libc_feupdateenv_mips_ctx): New.
56212 (libc_feupdateenv_ctx): New.
56213 (libc_feupdateenvf_ctx): New.
56214 (libc_feupdateenvl_ctx): New.
56215 (libc_feholdsetround_mips_ctx): New.
56216 (libc_feholdsetround_ctx): New.
56217 (libc_feholdsetroundf_ctx): New.
56218 (libc_feholdsetroundl_ctx): New.
56219 (libc_feresetround_mips_ctx): New.
56220 (libc_feresetround_ctx): New.
56221 (libc_feresetroundf_ctx): New.
56222 (libc_feresetroundl_ctx): New.
56223
56224 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56225
56226 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56227
56228 * manual/ipc.texi: New file.
56229 * manual/Makefile (chapters): Add ipc.
56230 * manual/job.texi: Add "Inter-Process Communication" to next.
56231 * manual/process.texi: Add "Inter-Process Communication" to prev.
56232
56233 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56234
56235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56236
56237 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56238
56239 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56240
56241 * manual/arith.texi: Fix spaces after sentences.
56242 * manual/charset.texi: Likewise.
56243 * manual/errno.texi: Likewise.
56244 * manual/install.texi: Likewise.
56245 * manual/llio.texi: Likewise.
56246 * manual/locale.texi: Likewise.
56247 * manual/maint.texi: Likewise.
56248 * manual/math.texi: Likewise.
56249 * manual/memory.texi: Likewise.
56250 * manual/message.texi: Likewise.
56251 * manual/probes.texi: Likewise.
56252 * manual/resource.texi: Likewise.
56253 * manual/signal.texi: Likewise.
56254 * manual/socket.texi: Likewise.
56255 * manual/stdio.texi: Likewise.
56256 * manual/string.texi: Likewise.
56257 * manual/time.texi: Likewise.
56258 * manual/users.texi: Likewise.
56259
56260 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56261
56262 [BZ #16632]
56263 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56264 _DEFAULT_SOURCE is defined.
56265
56266 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56267 Carlos O'Donell <carlos@redhat.com>
56268
56269 [BZ #16613]
56270 * elf/dl-tls.c (_dl_count_modids): New function.
56271 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56272 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56273 audit library and increment generation counter.
56274 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56275 * elf/tst-audit9.c: New file.
56276 * elf/tst-auditmod9a.c: New file.
56277 * elf/tst-auditmod9b.c: New file.
56278 * elf/Makefile: Add rules to build and run tst-audit9.
56279
56280 2014-02-25 Florian Weimer <fweimer@redhat.com>
56281
56282 [BZ #15347]
56283 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56284
56285 2014-02-25 Will Newton <will.newton@linaro.org>
56286
56287 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56288 (__longjmp): Restore sp and lr before restoring callee
56289 saved registers. Add longjmp and longjmp_target
56290 SystemTap probe point.
56291 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56292 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56293 Define to zero to match jmpbuf layout.
56294 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56295 (__sigsetjmp): Save sp and lr before saving callee
56296 saved registers. Add setjmp SystemTap probe point.
56297
56298 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56299
56300 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56301
56302 2014-02-24 Andreas Schwab <schwab@suse.de>
56303
56304 [BZ #15804]
56305 * elf/pldd.c (wait_for_ptrace_stop): New function.
56306 (main): Call it after attaching.
56307
56308 2014-02-22 Roland McGrath <roland@hack.frob.com>
56309
56310 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56311 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56312 Versions files is now verboten.
56313 * hurd/Versions (libc: GLIBC_2.0):
56314 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56315 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56316 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56317 * mach/Versions: Likewise.
56318
56319 * csu/Versions: Remove unused %include.
56320 * resolv/Versions: Likewise.
56321
56322 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56323
56324 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56325 ($(objpfx)check-local-headers.out): Likewise.
56326 ($(objpfx)begin-end-check.out): Likewise.
56327 * Makerules (check-abi-%.out): Likewise.
56328 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56329 ($(objpfx)test2.cat): Likewise.
56330 ($(objpfx)de/libc.cat): Likewise.
56331 ($(objpfx)test-gencat.out): Likewise.
56332 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56333 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56334 ($(objpfx)noload-mem): Likewise.
56335 ($(objpfx)tst-pathopt.out): Likewise.
56336 ($(objpfx)tst-rtld-load-self.out): Likewise.
56337 ($(objpfx)tst-array1-cmp.out): Likewise.
56338 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56339 ($(objpfx)tst-array2-cmp.out): Likewise.
56340 ($(objpfx)tst-array3-cmp.out): Likewise.
56341 ($(objpfx)tst-array4-cmp.out): Likewise.
56342 ($(objpfx)tst-array5-cmp.out): Likewise.
56343 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56344 ($(objpfx)check-textrel.out): Likewise.
56345 ($(objpfx)check-execstack.out): Likewise.
56346 ($(objpfx)check-localplt.out): Likewise.
56347 ($(objpfx)order2-cmp.out): Likewise.
56348 ($(objpfx)tst-leaks1-mem): Likewise.
56349 ($(objpfx)tst-leaks1-static-mem): Likewise.
56350 ($(objpfx)tst-initorder-cmp.out): Likewise.
56351 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56352 ($(objpfx)tst-unused-dep.out): Likewise.
56353 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56354 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56355 * iconv/Makefile (test-iconvconfig): Likewise.
56356 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56357 ($(objpfx)iconv-test.out): Likewise.
56358 ($(objpfx)tst-tables.out): Likewise.
56359 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56360 ($(objpfx)tst-gettext.out): Likewise.
56361 ($(objpfx)tst-translit.out): Likewise.
56362 ($(objpfx)tst-gettext2.out): Likewise.
56363 ($(objpfx)tst-gettext4.out): Likewise.
56364 ($(objpfx)tst-gettext6.out): Likewise.
56365 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56366 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56367 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56368 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56369 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56370 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56371 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56372 ($(objpfx)wordexp-tst.out): Likewise.
56373 ($(objpfx)annexc.out): Likewise.
56374 ($(objpfx)tst-fnmatch-mem): Likewise.
56375 ($(objpfx)bug-regex2-mem): Likewise.
56376 ($(objpfx)bug-regex14-mem): Likewise.
56377 ($(objpfx)bug-regex21-mem): Likewise.
56378 ($(objpfx)bug-regex31-mem): Likewise.
56379 ($(objpfx)tst-vfork3-mem): Likewise.
56380 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56381 ($(objpfx)tst-pcre-mem): Likewise.
56382 ($(objpfx)tst-boost-mem): Likewise.
56383 ($(objpfx)tst-getconf.out): Likewise.
56384 ($(objpfx)bug-ga2-mem): Likewise.
56385 ($(objpfx)bug-glob2-mem): Likewise.
56386 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56387 ($(objpfx)mtrace-tst-leaks2): Likewise.
56388 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56389 ($(objpfx)tst-printf.out): Likewise.
56390 ($(objpfx)tst-setvbuf1.out): Likewise.
56391 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56392 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56393 ($(objpfx)tst-fmtmsg.out): Likewise.
56394 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56395 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56396
56397 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56398 * bits/sigaction.h [__USE_MISC]: Likewise.
56399 * bits/waitstatus.h: Update #endif comments.
56400 * ctype/ctype.h: Likewise.
56401 * dirent/dirent.h: Likewise.
56402 [__USE_MISC]: Remove redundant conditionals.
56403 * grp/grp.h: Update #endif comments.
56404 [__USE_GNU]: Remove redundant conditionals.
56405 [__USE_MISC]: Likewise.
56406 * inet/netinet/in.h [__USE_GNU]: Likewise.
56407 * io/sys/stat.h [__USE_MISC]: Likewise.
56408 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56409 * libio/bits/stdio.h: Update #endif comments.
56410 [__USE_MISC]: Remove redundant conditionals.
56411 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56412 * libio/stdio.h: Update #endif comments.
56413 [__USE_MISC]: Remove redundant conditionals.
56414 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56415 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56416 * math/math.h: Update #else and #endif comments.
56417 [__USE_MISC]: Remove redundant conditionals.
56418 * misc/sys/uio.h: Update #endif comments.
56419 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56420 * posix/glob.h [__USE_MISC]: Likewise.
56421 * posix/sys/types.h: Update #endif comments.
56422 [__USE_MISC]: Remove redundant conditionals.
56423 * posix/sys/wait.h: Update #endif comments.
56424 [__USE_MISC]: Remove redundant conditionals.
56425 * posix/unistd.h: Update #endif comments.
56426 [__USE_MISC]: Remove redundant conditionals.
56427 * pwd/pwd.h [__USE_GNU]: Likewise.
56428 [__USE_MISC]: Likewise.
56429 * resolv/netdb.h [__USE_GNU]: Likewise.
56430 * signal/signal.h: Update #endif comments.
56431 [__USE_MISC]: Remove redundant conditionals.
56432 * stdlib/stdlib.h: Update #else and #endif comments.
56433 [__USE_MISC]: Remove redundant conditionals.
56434 [__USE_GNU]: Likewise.
56435 * string/bits/string2.h [__USE_MISC]: Likewise.
56436 * string/string.h: Update #endif comments.
56437 [__USE_MISC]: Remove redundant conditionals.
56438 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56439 Likewise.
56440 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56441 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56442 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56443 Likewise.
56444 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56445 Likewise.
56446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56447 comments.
56448 [__USE_MISC]: Remove redundant conditionals.
56449 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56450 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56451 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56452 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56453 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56454 Likewise.
56455 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56456 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56457 Likewise.
56458 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56459 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56460 Likewise.
56461 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56462 Likewise.
56463 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56464 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56465 Likewise.
56466 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56467 Likewise.
56468 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56469 * sysdeps/x86/bits/string.h: Update #endif comments.
56470 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56471 conditionals.
56472 * time/sys/time.h: Update #endif comments.
56473 * time/time.h: Likewise.
56474 [__USE_MISC]: Remove redundant conditionals.
56475
56476 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56477
56478 [BZ #16600]
56479 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56480
56481 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56482
56483 * Versions.def (librt): Add GLIBC_2.17.
56484
56485 2014-02-21 Adam Conrad <adconrad@0c3.net>
56486
56487 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56488 synonym for _SYS_AUXV_H to allow direct inclusion.
56489 * sysdeps/sparc/bits/hwcap.h: Likewise.
56490 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56491 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56492 * sysdeps/sparc/sysdep.h: Likewise.
56493
56494 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56495
56496 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56497
56498 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56499
56500 * benchtests/bench-strrchr.c: Print length instead of position.
56501
56502 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56503
56504 [BZ #16611]
56505 * sysdeps/unix/sysv/linux/kernel-features.h
56506 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56507 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56508 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56509 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56510 Likewise.
56511 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56512 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56513 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56514 (__ASSUME_SENDMMSG): Define instead of using previous
56515 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56516 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56517 (__ASSUME_SENDMMSG_SYSCALL): Define.
56518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56519 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56520 Likewise.
56521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56522 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56523 Likewise.
56524 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56525 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56526 Likewise.
56527 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56528 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56529 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56530 [__ASSUME_SENDMMSG]: Change conditionals to
56531 [__ASSUME_SENDMMSG_SOCKETCALL].
56532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56533 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56534 Define.
56535 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56536 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56537 Likewise.
56538 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56539 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56540 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56541 [!__ASSUME_SENDMMSG]: Change conditional to
56542 [!__ASSUME_SENDMMSG_SOCKETCALL].
56543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56544 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56545 Define.
56546
56547 [BZ #16610]
56548 * sysdeps/unix/sysv/linux/kernel-features.h
56549 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56550 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56551 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56552 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56553 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56554 [__i386__ || __sparc__]
56555 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56556 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56557 (__ASSUME_RECVMMSG): Define instead of using previous
56558 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56559 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56560 (__ASSUME_RECVMMSG_SYSCALL): Define.
56561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56562 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56563 Likewise.
56564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56565 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56566 Likewise.
56567 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56568 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56569 Likewise.
56570 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56571 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56572 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56573 [__ASSUME_RECVMMSG]: Change condition to
56574 [__ASSUME_RECVMMSG_SOCKETCALL].
56575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56576 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56577 Define.
56578 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56581 Likewise.
56582 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56583 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56584 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56585 [!__ASSUME_RECVMMSG]: Change condition to
56586 [!__ASSUME_RECVMMSG_SOCKETCALL].
56587 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56588 (__ASSUME_RECVMMSG_SYSCALL): Define.
56589
56590 [BZ #16609]
56591 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56592 __powerpc__ || __s390__ || __sh__ || __sparc__]
56593 (__ASSUME_SOCKETCALL): Define.
56594 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56595 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56596 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56597 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56598 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56599 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56600 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56601 (__ASSUME_ACCEPT4): Define instead of using previous
56602 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56603 __powerpc__ || __sparc__ || __s390__)] condition.
56604 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56605 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56606 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56607 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56608 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56609 [!__ASSUME_ACCEPT4]: Change condition to
56610 [!__ASSUME_ACCEPT4_SOCKETCALL].
56611 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56612 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56613 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56614 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56615 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56616 __ASSUME_ACCEPT4_SYSCALL.
56617 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56618 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56619 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56620 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56621 __ASSUME_ACCEPT4_SYSCALL.
56622 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56623 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56624 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56625 [__ASSUME_ACCEPT4]: Change condition to
56626 [__ASSUME_ACCEPT4_SOCKETCALL].
56627 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56628 (__ASSUME_SOCKETCALL): Define.
56629 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56631 (__ASSUME_SOCKETCALL): Define.
56632 (__ASSUME_ACCEPT4): Remove.
56633 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56634 Define.
56635 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56636 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56637 Likewise.
56638 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56639 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56640
56641 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56642 macro.
56643 (HWCAP_ARM_LPAE): Likewise.
56644 (HWCAP_ARM_EVTSTRM): Likewise.
56645 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56646 Add vpfd32, lpae and evtstrm.
56647 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56648 Increase to 22.
56649
56650 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56651
56652 * math/auto-libm-test-in: Add tests of clog10.
56653 * math/auto-libm-test-out: Regenerated.
56654 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56655 * sysdeps/i386/fpu/libm-test-ulps: Update.
56656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56657
56658 2014-02-18 Andreas Schwab <schwab@suse.de>
56659
56660 [BZ #16574]
56661 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56662 Store non-zero if the second buffer was newly allocated.
56663 (send_dg): Likewise.
56664 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56665 to send_vc and send_dg.
56666 (res_nsend): Pass NULL for ansp2_malloced.
56667 * resolv/res_query.c (__libc_res_nquery): Add parameter
56668 answerp2_malloced and pass it down to __libc_res_nsend.
56669 (res_nquery): Pass additional NULL to __libc_res_nquery.
56670 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56671 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56672 second answer buffer if answerp2_malloced was set.
56673 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56674 (__libc_res_nquerydomain): Add parameter
56675 answerp2_malloced and pass it down to __libc_res_nquery.
56676 (res_nquerydomain): Pass additional NULL to
56677 __libc_res_nquerydomain.
56678 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56679 additional NULL to __libc_res_nsend and __libc_res_nquery.
56680 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56681 additional NULL to __libc_res_nsearch.
56682 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56683 parameter of __libc_res_nsearch to check for separately allocated
56684 second buffer.
56685 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56686 __libc_res_nquery.
56687 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56688 additional NULL to __libc_res_nquery.
56689 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56690 __libc_res_nsearch.
56691 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56692 * include/resolv.h: Update prototypes of __libc_res_nquery,
56693 __libc_res_nsearch, __libc_res_nsend.
56694
56695 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56696
56697 * math/auto-libm-test-in: Add tests of fma.
56698 * math/auto-libm-test-out: Regenerated.
56699 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56700 (fma_towardzero_test_data): Likewise.
56701 (fma_downward_test_data): Likewise.
56702 (fma_upward_test_data): Likewise.
56703 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56704 mpc_mode.
56705 (rounding_modes): Add values for new field.
56706 (func_calc_method): Add value mpfr_fff_f.
56707 (func_calc_desc): Add mpfr_fff_f union field.
56708 (test_function): Add field exact_args.
56709 (FUNC): Add macro argument EXACT_ARGS.
56710 (FUNC_mpfr_f_f): Update call to FUNC.
56711 (FUNC_mpfr_f_f): Likewise.
56712 (FUNC_mpfr_ff_f): Likewise.
56713 (FUNC_mpfr_if_f): Likewise.
56714 (FUNC_mpc_c_f): Likewise.
56715 (FUNC_mpc_c_c): Likewise.
56716 (test_functions): Add fma. Update calls to FUNC.
56717 (handle_input_arg): Add argument exact_args.
56718 (add_test): Update call to handle_input_arg.
56719 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56720 (output_for_one_input_case): Update call to calc_generic_results.
56721 Recalculate exact zero results in each rounding mode.
56722
56723 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56724 non-negative before setting low bit.
56725 * math/auto-libm-test-in: Mark one asin test possibly having
56726 spurious underflow.
56727 * math/auto-libm-test-out: Regenerated.
56728 * sysdeps/i386/fpu/libm-test-ulps: Update.
56729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56730
56731 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56732
56733 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56734 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56735 ports/sysdeps/unix/sysv/linux/microblaze.
56736 * README: Add missing listing for microblaze*-*-linux-gnu.
56737
56738 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56739
56740 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56741 duplicate code
56742
56743 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56744
56745 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56746 * sysdeps/unix/sysv/linux/ia64: Move directory from
56747 ports/sysdeps/unix/sysv/linux/ia64.
56748 * README: Update listing for ia64-*-linux-gnu.
56749
56750 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56751 Joseph Myers <joseph@codesourcery.com>
56752
56753 * Makeconfig (test-name): New variable.
56754 (evaluate-test): Likewise.
56755 * Makerules (do-test-clean): Remove .test-result files.
56756 (common-mostlyclean): Likewise.
56757 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56758 * scripts/evaluate-test.sh: New file.
56759
56760 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56761
56762 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56763 separate $(objpfx)tst-fopenloc-cmp.out and
56764 $(objpfx)tst-fopenloc-mem.out targets.
56765 (tests): Update dependencies.
56766 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56767 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56768 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56769 (tst-rxspencer-no-utf8-ARGS): New variable.
56770 (tst-rxspencer-no-utf8-ENV): Likewise.
56771 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56772 instead of $(objpfx)tst-rxspencer-mem.
56773 ($(objpfx)tst-rxspencer-mem): Change target to
56774 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56775 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56776 * posix/tst-rxspencer-no-utf8.c: New file.
56777
56778 * elf/Makefile ($(objpfx)order.out): Remove rule.
56779 [$(run-built-tests) = yes] (tests): Depend on
56780 $(objpfx)order-cmp.out.
56781 ($(objpfx)order-cmp.out): New rule.
56782 [$(run-built-tests) = yes] (tests): Depend on
56783 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56784 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56785 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56786 $(objpfx)tst-array5-static-cmp.out.
56787 ($(objpfx)tst-array1.out): Remove rule.
56788 ($(objpfx)tst-array1-cmp.out): New rule.
56789 ($(objpfx)tst-array1-static.out): Remove rule.
56790 ($(objpfx)tst-array1-static-cmp.out): New rule.
56791 ($(objpfx)tst-array2.out): Remove rule.
56792 ($(objpfx)tst-array2-cmp.out): New rule.
56793 ($(objpfx)tst-array3.out): Remove rule.
56794 ($(objpfx)tst-array3-cmp.out): New rule.
56795 ($(objpfx)tst-array4.out): Remove rule.
56796 ($(objpfx)tst-array4-cmp.out): New rule.
56797 ($(objpfx)tst-array5.out): Remove rule.
56798 ($(objpfx)tst-array5-cmp.out): New rule.
56799 ($(objpfx)tst-array5-static.out): Remove rule.
56800 ($(objpfx)tst-array5-static-cmp.out): New rule.
56801 [$(run-built-tests) = yes] (tests): Depend on
56802 $(objpfx)order2-cmp.out.
56803 ($(objpfx)order2.out): Remove rule.
56804 ($(objpfx)order2-cmp.out): New rule.
56805 ($(objpfx)tst-initorder.out): Remove rule.
56806 [$(run-built-tests) = yes] (tests): Depend on
56807 $(objpfx)tst-initorder-cmp.out.
56808 ($(objpfx)tst-initorder-cmp.out): New rule.
56809 ($(objpfx)tst-initorder2.out): Remove rule.
56810 [$(run-built-tests) = yes] (tests): Depend on
56811 $(objpfx)tst-initorder2-cmp.out.
56812 ($(objpfx)tst-initorder2-cmp.out): New rule.
56813 [$(run-built-tests) = yes] (tests): Depend on
56814 $(objpfx)tst-unused-dep-cmp.out.
56815 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56816 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56817 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56818 on $(objpfx)tst-setvbuf1-cmp.out.
56819 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56820 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56821 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56822 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56823 ($(objpfx)tst-svc.out): Remove rule.
56824 ($(objpfx)tst-svc-cmp.out): New rule.
56825
56826 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56827
56828 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56829 * ctype/ctype.h [__USE_MISC]: Likewise.
56830 * dirent/dirent.h [__USE_MISC]: Likewise.
56831 * grp/grp.h [__USE_MISC]: Likewise.
56832 * io/fcntl.h [__USE_MISC]: Likewise.
56833 * io/sys/stat.h [__USE_MISC]: Likewise.
56834 * libio/stdio.h [__USE_MISC]: Likewise.
56835 * posix/unistd.h [__USE_MISC]: Likewise.
56836 * pwd/pwd.h [__USE_MISC]: Likewise.
56837 * stdlib.h [__USE_MISC]: Likewise.
56838 * string/bits/string2.h [__USE_MISC]: Likewise.
56839 * string/string.h [__USE_MISC]: Likewise.
56840 * time/time.h [__USE_MISC]: Likewise.
56841
56842 2014-02-13 Andreas Schwab <schwab@suse.de>
56843
56844 [BZ #16574]
56845 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56846 second answer buffer if it was separately allocated.
56847
56848 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56849
56850 * sysdeps/mips/math-tests.h: Include <features.h>.
56851 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56852 (ROUNDING_TESTS_long_double): Do not define.
56853 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56854 (EXCEPTION_TESTS_long_double): Likewise.
56855 * sysdeps/mips/mips64/libm-test-ulps: Update.
56856
56857 * include/features.h (__USE_BSD): Remove macro definitions.
56858 (__USE_SVID): Likewise.
56859 (_BSD_SOURCE): Likewise.
56860 (_SVID_SOURCE): Likewise.
56861 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56862 from definition of _DEFAULT_SOURCE.
56863 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56864 [_DEFAULT_SOURCE].
56865 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56866 * bits/mman.h [__USE_BSD]: Likewise.
56867 * bits/termios.h [__USE_BSD]: Likewise.
56868 * bits/waitstatus.h [__USE_BSD]: Likewise.
56869 * ctype/ctype.h [__USE_SVID]: Likewise.
56870 * dirent/dirent.h [__USE_BSD]: Likewise.
56871 * grp/grp.h [__USE_SVID]: Likewise.
56872 [__USE_BSD]: Likewise.
56873 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56874 * io/fcntl.h [__USE_BSD]: Likewise.
56875 * io/ftw.h [__USE_BSD]: Likewise.
56876 * io/sys/stat.h [__USE_BSD]: Likewise.
56877 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56878 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56879 * libio/stdio.h [__USE_SVID]: Likewise.
56880 [__USE_BSD]: Likewise.
56881 * math/math.h [__USE_SVID]: Likewise.
56882 [__USE_BSD]: Likewise.
56883 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56884 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56885 * misc/search.h [__USE_SVID]: Likewise.
56886 * misc/sys/mman.h [__USE_BSD]: Likewise.
56887 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56888 * misc/sys/uio.h [__USE_BSD]: Likewise.
56889 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56890 * posix/glob.h [__USE_BSD]: Likewise.
56891 * posix/regex.h [__USE_BSD]: Likewise.
56892 * posix/sys/types.h [__USE_BSD]: Likewise.
56893 [__USE_SVID]: Likewise.
56894 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56895 * posix/sys/wait.h [__USE_BSD]: Likewise.
56896 [__USE_SVID]: Likewise.
56897 * posix/unistd.h [__USE_BSD]: Likewise.
56898 [__USE_SVID]: Likewise.
56899 * pwd/pwd.h [__USE_SVID]: Likewise.
56900 * resolv/netdb.h [__USE_BSD]: Likewise.
56901 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56902 * signal/signal.h [__USE_BSD]: Likewise.
56903 [__USE_SVID]: Likewise.
56904 * socket/sys/socket.h [__USE_BSD]: Likewise.
56905 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56906 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56907 [__USE_SVID]: Likewise.
56908 * string/bits/string2.h [__USE_BSD]: Likewise.
56909 [__USE_SVID]: Likewise.
56910 * string/bits/string3.h [__USE_BSD]: Likewise.
56911 * string/endian.h [__USE_BSD]: Likewise.
56912 * string/string.h [__USE_SVID]: Likewise.
56913 [__USE_BSD]: Likewise.
56914 * string/strings.h [__USE_BSD]: Likewise.
56915 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56916 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56917 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56918 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56919 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56920 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56921 Likewise.
56922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56923 Likewise.
56924 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56925 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56926 Likewise.
56927 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56928 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56929 Likewise.
56930 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56931 Likewise.
56932 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56933 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56935 Likewise.
56936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56937 Likewise.
56938 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56939 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56940 * termios/termios.h [__USE_BSD]: Likewise.
56941 * time/sys/time.h [__USE_BSD]: Likewise.
56942 * time/time.h [__USE_BSD]: Likewise.
56943 [__USE_SVID]: Likewise.
56944
56945 * Makefile (subdir_targets): Remove subdir_lint.out.
56946
56947 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56948 (do-tst-printf): Likewise.
56949 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56950 $(objpfx)tst-printf.out.
56951
56952 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56953
56954 * Makerules (check-abi-%): Change target to
56955 $(objpfx)check-abi-%.out.
56956 (check-abi target): Update dependencies.
56957 (check-abi-pattern variable): Redirect output of diff to $@.
56958 (check-abi variable): Likewise.
56959 * elf/Makefile (check-abi): Update dependencies.
56960
56961 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56962 unused.
56963 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56964 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56965 subnormal range.
56966 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56967 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56968 value has largest subnormal exponent.
56969 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56970 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56971 * sysdeps/aarch64/soft-fp/sfp-machine.h
56972 (_FP_TININESS_AFTER_ROUNDING): New macro.
56973 * sysdeps/alpha/soft-fp/sfp-machine.h
56974 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56975 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56976 Likewise.
56977 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56978 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56979 * sysdeps/mips/soft-fp/sfp-machine.h
56980 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56981 * sysdeps/powerpc/soft-fp/sfp-machine.h
56982 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56983 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56984 Likewise.
56985 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56986 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56987 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56988 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56989 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56990 Likewise.
56991
56992 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56993
56994 [BZ #16545]
56995 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56996 model 1.
56997
56998 2014-02-12 Richard Henderson <rth@redhat.com>
56999
57000 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57001 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57002 * sysdeps/unix/sysv/linux/alpha: Move directory from
57003 ports/sysdeps/unix/sysv/linux/alpha.
57004 * README: Update listing for alpha-*-linux-gnu.
57005
57006 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57007
57008 * include/features.h: Update comment documenting feature test
57009 macros.
57010 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57011 _DEFAULT_SOURCE.
57012 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57013 (_SVID_SOURCE): Likewise.
57014 (_DEFAULT_SOURCE): Update description of default features.
57015 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57016 with _GNU_SOURCE.
57017 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57018 (S_ISVTX): Likewise.
57019 * manual/math.texi (Mathematical Constants): Likewise.
57020 * manual/signal.texi (Interrupted Primitives): Likewise.
57021 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57022 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57023 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57024 Don't refer to _SVID_SOURCE in warning text.
57025
57026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57027
57028 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57029 already defined.
57030 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57031 * sysdeps/mips/dl-lookup.c: Remove.
57032 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57033
57034 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57035
57036 [BZ #16447]
57037 * math/auto-libm-test-in: Add testcase for expl.
57038 * math/auto-libm-test-out: Regenerate.
57039 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57040 calculation of unsafe.
57041 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57042
57043 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57044
57045 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57046 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57047 ports/sysdeps/unix/sysv/linux/aarch64.
57048 * README: Update listing for aarch64*-*-linux-gnu.
57049
57050 2014-02-11 Will Newton <will.newton@linaro.org>
57051
57052 * manual/probes.texi (Mathematical Function Probes): Use
57053 "triggered" instead of "hit".
57054
57055 * manual/probes.texi (Internal Probes): Add documentation
57056 of setjmp, longjmp and longjmp_target probes.
57057
57058 * include/stap-probe.h: Add comment about probe argument
57059 format.
57060
57061 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57062 definition. (tr_where, tr_freehook, tr_mallochook,
57063 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57064
57065 2014-02-11 David S. Miller <davem@davemloft.net>
57066
57067 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57068 processing int_tests.
57069
57070 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57071
57072 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57073 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57074 * sysdeps/unix/sysv/linux/mips: Move directory from
57075 ports/sysdeps/unix/sysv/linux/mips.
57076 * README: Update listing for mips-*-linux-gnu and
57077 mips64-*-linux-gnu.
57078
57079 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57080
57081 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57082 * sysdeps/unix/sysv/linux/m68k: Move directory from
57083 ports/sysdeps/unix/sysv/linux/m68k.
57084 * README: Update listing for m68k-*-linux-gnu.
57085
57086 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57087
57088 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57089 * sysdeps/unix/sysv/linux/generic: Move directory from
57090 ports/sysdeps/unix/sysv/linux/generic.
57091 * sysdeps/unix/sysv/linux/tile: Move directory from
57092 ports/sysdeps/unix/sysv/linux/tile.
57093 * README: Update listing for tile*-*-linux-gnu.
57094
57095 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
57096
57097 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57098 __builtin_expect.
57099 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57100 * catgets/open_catalog.c (__open_catalog): Likewise.
57101 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57102 * debug/confstr_chk.c: Likewise.
57103 * debug/fread_chk.c (__fread_chk): Likewise.
57104 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57105 * debug/getgroups_chk.c: Likewise.
57106 * debug/mbsnrtowcs_chk.c: Likewise.
57107 * debug/mbsrtowcs_chk.c: Likewise.
57108 * debug/mbstowcs_chk.c: Likewise.
57109 * debug/memcpy_chk.c: Likewise.
57110 * debug/memmove_chk.c: Likewise.
57111 * debug/mempcpy_chk.c: Likewise.
57112 * debug/memset_chk.c: Likewise.
57113 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57114 * debug/strcat_chk.c (__strcat_chk): Likewise.
57115 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57116 * debug/strncat_chk.c (__strncat_chk): Likewise.
57117 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57118 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57119 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57120 * debug/wcpncpy_chk.c: Likewise.
57121 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57122 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57123 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57124 * debug/wcsncpy_chk.c: Likewise.
57125 * debug/wcsnrtombs_chk.c: Likewise.
57126 * debug/wcsrtombs_chk.c: Likewise.
57127 * debug/wcstombs_chk.c: Likewise.
57128 * debug/wmemcpy_chk.c: Likewise.
57129 * debug/wmemmove_chk.c: Likewise.
57130 * debug/wmempcpy_chk.c: Likewise.
57131 * debug/wmemset_chk.c: Likewise.
57132 * dirent/scandirat.c (SCANDIRAT): Likewise.
57133 * dlfcn/dladdr1.c (dladdr1): Likewise.
57134 * dlfcn/dladdr.c (dladdr): Likewise.
57135 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57136 * dlfcn/dlerror.c (__dlerror): Likewise.
57137 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57138 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57139 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57140 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57141 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57142 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57143 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57144 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57145 Likewise.
57146 * elf/dl-conflict.c: Likewise.
57147 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57148 * elf/dl-dst.h: Likewise.
57149 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57150 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57151 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57152 * elf/dl-init.c (call_init, _dl_init): Likewise.
57153 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57154 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57155 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57156 Likewise.
57157 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57158 Likewise.
57159 * elf/dl-minimal.c (__libc_memalign): Likewise.
57160 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57161 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57162 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57163 * elf/dl-sym.c (do_sym): Likewise.
57164 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57165 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57166 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57167 * elf/dl-writev.h (_dl_writev): Likewise.
57168 * elf/ldconfig.c (search_dir): Likewise.
57169 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57170 (dl_main): Likewise.
57171 * elf/setup-vdso.h (setup_vdso): Likewise.
57172 * grp/compat-initgroups.c (compat_call): Likewise.
57173 * grp/fgetgrent.c (fgetgrent): Likewise.
57174 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57175 * grp/putgrent.c (putgrent): Likewise.
57176 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57177 Likewise.
57178 * hurd/hurdinit.c: Likewise.
57179 * iconvdata/8bit-gap.c (struct): Likewise.
57180 * iconvdata/ansi_x3.110.c : Likewise.
57181 * iconvdata/big5.c : Likewise.
57182 * iconvdata/big5hkscs.c : Likewise.
57183 * iconvdata/cp1255.c: Likewise.
57184 * iconvdata/cp1258.c : Likewise.
57185 * iconvdata/cp932.c : Likewise.
57186 * iconvdata/euc-cn.c: Likewise.
57187 * iconvdata/euc-jisx0213.c : Likewise.
57188 * iconvdata/euc-jp.c: Likewise.
57189 * iconvdata/euc-jp-ms.c : Likewise.
57190 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57191 * iconvdata/gb18030.c : Likewise.
57192 * iconvdata/gbbig5.c (const): Likewise.
57193 * iconvdata/gbgbk.c: Likewise.
57194 * iconvdata/gbk.c : Likewise.
57195 * iconvdata/ibm1364.c : Likewise.
57196 * iconvdata/ibm930.c : Likewise.
57197 * iconvdata/ibm932.c: Likewise.
57198 * iconvdata/ibm933.c : Likewise.
57199 * iconvdata/ibm935.c : Likewise.
57200 * iconvdata/ibm937.c : Likewise.
57201 * iconvdata/ibm939.c : Likewise.
57202 * iconvdata/ibm943.c: Likewise.
57203 * iconvdata/iso_11548-1.c: Likewise.
57204 * iconvdata/iso-2022-cn.c : Likewise.
57205 * iconvdata/iso-2022-cn-ext.c : Likewise.
57206 * iconvdata/iso-2022-jp-3.c: Likewise.
57207 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57208 * iconvdata/iso-2022-kr.c : Likewise.
57209 * iconvdata/iso646.c (gconv_end): Likewise.
57210 * iconvdata/iso_6937-2.c : Likewise.
57211 * iconvdata/iso_6937.c : Likewise.
57212 * iconvdata/iso8859-1.c: Likewise.
57213 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57214 * iconvdata/shift_jisx0213.c : Likewise.
57215 * iconvdata/sjis.c : Likewise.
57216 * iconvdata/t.61.c : Likewise.
57217 * iconvdata/tcvn5712-1.c : Likewise.
57218 * iconvdata/tscii.c: Likewise.
57219 * iconvdata/uhc.c : Likewise.
57220 * iconvdata/unicode.c (gconv_end): Likewise.
57221 * iconvdata/utf-16.c (gconv_end): Likewise.
57222 * iconvdata/utf-32.c (gconv_end): Likewise.
57223 * iconvdata/utf-7.c (base64): Likewise.
57224 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57225 * iconv/gconv_close.c (__gconv_close): Likewise.
57226 * iconv/gconv_open.c (__gconv_open): Likewise.
57227 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57228 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57229 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57230 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57231 (ucs4le_internal_loop_single): Likewise.
57232 * iconv/iconv.c (iconv): Likewise.
57233 * iconv/iconv_close.c: Likewise.
57234 * iconv/loop.c (SINGLE): Likewise.
57235 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57236 * include/atomic.h: Likewise.
57237 * inet/inet6_option.c (option_alloc): Likewise.
57238 * intl/bindtextdom.c (set_binding_values): Likewise.
57239 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57240 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57241 * intl/localealias.c (read_alias_file): Likewise.
57242 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57243 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57244 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57245 * libio/fmemopen.c (fmemopen): Likewise.
57246 * libio/iofgets.c (_IO_fgets): Likewise.
57247 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57248 * libio/iofgetws.c (fgetws): Likewise.
57249 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57250 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57251 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57252 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57253 * locale/findlocale.c (_nl_find_locale): Likewise.
57254 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57255 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57256 Likewise.
57257 * locale/setlocale.c (setlocale): Likewise.
57258 * login/programs/pt_chown.c (main): Likewise.
57259 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57260 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57261 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57262 (mmap, mmap64, mremap, munmap): Likewise.
57263 * math/e_exp2l.c: Likewise.
57264 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57265 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57266 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57267 * math/s_catan.c (__catan): Likewise.
57268 * math/s_catanf.c (__catanf): Likewise.
57269 * math/s_catanh.c (__catanh): Likewise.
57270 * math/s_catanhf.c (__catanhf): Likewise.
57271 * math/s_catanhl.c (__catanhl): Likewise.
57272 * math/s_catanl.c (__catanl): Likewise.
57273 * math/s_ccosh.c (__ccosh): Likewise.
57274 * math/s_ccoshf.c (__ccoshf): Likewise.
57275 * math/s_ccoshl.c (__ccoshl): Likewise.
57276 * math/s_cexp.c (__cexp): Likewise.
57277 * math/s_cexpf.c (__cexpf): Likewise.
57278 * math/s_cexpl.c (__cexpl): Likewise.
57279 * math/s_clog10.c (__clog10): Likewise.
57280 * math/s_clog10f.c (__clog10f): Likewise.
57281 * math/s_clog10l.c (__clog10l): Likewise.
57282 * math/s_clog.c (__clog): Likewise.
57283 * math/s_clogf.c (__clogf): Likewise.
57284 * math/s_clogl.c (__clogl): Likewise.
57285 * math/s_csin.c (__csin): Likewise.
57286 * math/s_csinf.c (__csinf): Likewise.
57287 * math/s_csinh.c (__csinh): Likewise.
57288 * math/s_csinhf.c (__csinhf): Likewise.
57289 * math/s_csinhl.c (__csinhl): Likewise.
57290 * math/s_csinl.c (__csinl): Likewise.
57291 * math/s_csqrt.c (__csqrt): Likewise.
57292 * math/s_csqrtf.c (__csqrtf): Likewise.
57293 * math/s_csqrtl.c (__csqrtl): Likewise.
57294 * math/s_ctan.c (__ctan): Likewise.
57295 * math/s_ctanf.c (__ctanf): Likewise.
57296 * math/s_ctanh.c (__ctanh): Likewise.
57297 * math/s_ctanhf.c (__ctanhf): Likewise.
57298 * math/s_ctanhl.c (__ctanhl): Likewise.
57299 * math/s_ctanl.c (__ctanl): Likewise.
57300 * math/w_pow.c: Likewise.
57301 * math/w_powf.c: Likewise.
57302 * math/w_powl.c: Likewise.
57303 * math/w_scalb.c (sysv_scalb): Likewise.
57304 * math/w_scalbf.c (sysv_scalbf): Likewise.
57305 * math/w_scalbl.c (sysv_scalbl): Likewise.
57306 * misc/error.c (error_tail): Likewise.
57307 * misc/pselect.c (__pselect): Likewise.
57308 * nis/nis_callback.c (__nis_create_callback): Likewise.
57309 * nis/nis_call.c (__nisfind_server): Likewise.
57310 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57311 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57312 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57313 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57314 * nis/nis_lookup.c (nis_lookup): Likewise.
57315 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57316 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57317 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57318 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57319 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57320 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57321 * nis/nss_compat/compat-initgroups.c (add_group)
57322 (internal_getgrent_r): Likewise.
57323 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57324 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57325 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57326 (internal_getspnam_r): Likewise.
57327 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57328 (_nss_nis_getaliasbyname_r): Likewise.
57329 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57330 (_nss_nis_getntohost_r): Likewise.
57331 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57332 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57333 (_nss_nis_getgrgid_r): Likewise.
57334 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57335 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57336 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57337 (_nss_nis_gethostbyname4_r): Likewise.
57338 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57339 (initgroups_netid): Likewise.
57340 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57341 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57342 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57343 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57344 (_nss_nis_getprotobynumber_r): Likewise.
57345 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57346 (_nss_nis_getsecretkey): Likewise.
57347 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57348 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57349 (_nss_nis_getpwuid_r): Likewise.
57350 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57351 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57352 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57353 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57354 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57355 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57356 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57357 Likewise.
57358 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57359 (_nss_nisplus_getntohost_r): Likewise.
57360 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57361 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57362 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57363 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57364 Likewise.
57365 * nis/nss_nisplus/nisplus-initgroups.c
57366 (_nss_nisplus_initgroups_dyn): Likewise.
57367 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57368 (_nss_nisplus_getnetbyaddr_r): Likewise.
57369 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57370 (_nss_nisplus_getprotobynumber_r): Likewise.
57371 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57372 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57373 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57374 Likewise.
57375 * nis/nss_nisplus/nisplus-service.c
57376 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57377 (_nss_nisplus_getservbyport_r): Likewise.
57378 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57379 (_nss_nisplus_getspnam_r): Likewise.
57380 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57381 Likewise.
57382 * nscd/aicache.c (addhstaiX): Likewise.
57383 * nscd/cache.c (cache_search, prune_cache): Likewise.
57384 * nscd/connections.c (register_traced_file, send_ro_fd)
57385 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57386 (main_loop_epoll): Likewise.
57387 * nscd/grpcache.c (addgrbyX): Likewise.
57388 * nscd/hstcache.c (addhstbyX): Likewise.
57389 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57390 * nscd/mem.c (gc, mempool_alloc): Likewise.
57391 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57392 (addinnetgrX): Likewise.
57393 * nscd/nscd-client.h (__nscd_acquire_maplock)
57394 (__nscd_drop_map_ref): Likewise.
57395 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57396 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57398 Likewise.
57399 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57401 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57402 (__nscd_get_map_ref): Likewise.
57403 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57404 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57405 Likewise.
57406 * nscd/pwdcache.c (addpwbyX): Likewise.
57407 * nscd/selinux.c (preserve_capabilities): Likewise.
57408 * nscd/servicescache.c (addservbyX): Likewise.
57409 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57410 * posix/fnmatch.c (fnmatch): Likewise.
57411 * posix/getopt.c (_getopt_internal_r): Likewise.
57412 * posix/glob.c (glob, glob_in_dir): Likewise.
57413 * posix/wordexp.c (exec_comm_child): Likewise.
57414 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57415 (getanswer_r, gaih_getanswer_slice): Likewise.
57416 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57417 * resolv/res_init.c: Likewise.
57418 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57419 * resolv/res_query.c (__libc_res_nquery): Likewise.
57420 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57421 Likewise.
57422 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57423 * stdio-common/perror.c (perror): Likewise.
57424 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57425 * stdio-common/tmpnam.c (tmpnam): Likewise.
57426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57427 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57428 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57429 Likewise.
57430 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57431 * stdlib/putenv.c (putenv): Likewise.
57432 * stdlib/setenv.c (__add_to_environ): Likewise.
57433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57434 * stdlib/strtol_l.c (INTERNAL): Likewise.
57435 * string/memmem.c (memmem): Likewise.
57436 * string/strerror.c (strerror): Likewise.
57437 * string/strnlen.c (__strnlen): Likewise.
57438 * string/test-memmem.c (simple_memmem): Likewise.
57439 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57440 * sunrpc/pm_getport.c (__get_socket): Likewise.
57441 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57442 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57443 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57444 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57445 Likewise.
57446 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57447 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57448 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57449 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57450 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57451 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57452 Likewise.
57453 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57454 Likewise.
57455 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57456 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57457 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57458 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57459 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57461 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57462 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57463 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57464 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57465 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57466 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57467 Likewise.
57468 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57469 Likewise.
57470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57471 Likewise.
57472 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57474 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57475 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57476 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57477 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57478 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57479 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57480 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57481 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57482 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57484 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57485 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57487 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57488 Likewise.
57489 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57490 Likewise.
57491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57492 Likewise.
57493 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57494 Likewise.
57495 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57497 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57498 Likewise.
57499 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57500 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57501 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57502 * sysdeps/posix/sleep.c: Likewise.
57503 * sysdeps/posix/tempname.c: Likewise.
57504 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57505 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57506 Likewise.
57507 * sysdeps/powerpc/powerpc32/dl-machine.h
57508 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57509 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57511 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57512 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57513 Likewise.
57514 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57515 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57516 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57517 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57518 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57519 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57520 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57521 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57522 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57523 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57525 (elf_machine_lazy_rel): Likewise.
57526 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57528 (elf_machine_lazy_rel): Likewise.
57529 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57530 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57531 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57532 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57533 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57534 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57535 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57537 Likewise.
57538 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57539 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57540 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57541 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57542 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57543 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57544 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57545 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57546 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57547 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57548 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57549 Likewise.
57550 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57551 (__posix_fallocate64_l64): Likewise.
57552 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57553 (posix_fallocate): Likewise.
57554 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57555 Likewise.
57556 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57557 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57558 (getifaddrs_internal): Likewise.
57559 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57560 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57561 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57562 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57563 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57564 (__posix_fallocate64_l64): Likewise.
57565 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57566 Likewise.
57567 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57568 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57569 (__get_clockfreq): Likewise.
57570 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57571 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57572 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57575 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57576 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57578 Likewise.
57579 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57580 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57581 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57583 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57584 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57585 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57586 Likewise.
57587 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57588 (posix_fallocate): Likewise.
57589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57590 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57591 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57592 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57593 (elf_machine_rela, elf_machine_rela_relative)
57594 (elf_machine_lazy_rel): Likewise.
57595 * time/asctime.c (asctime_internal): Likewise.
57596 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57597 * time/tzset.c (__tzset_parse_tz): Likewise.
57598 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57599 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57600 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57601 * wcsmbs/wcsmbsload.h: Likewise.
57602
57603 [BZ #15894]
57604 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57605
57606 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57607 (arena_get2): Remove THREAD_STATS conditionals.
57608 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57609 (__malloc_stats, int): Likewise.
57610
57611 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57612
57613 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57614 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57615
57616 * manual/setjmp.texi: Fix typos/grammar errors.
57617
57618 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57619 Only return early when n is <= 0. Delete unused return statement.
57620
57621 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57622 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57623 * debug/tst-longjmp_chk3.c: New file.
57624
57625 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57626 (test_main): Replace code with set_fortify_handler call.
57627 * debug/test-strcpy_chk.c: Likewise.
57628 * debug/tst-chk1.c: Likewise.
57629 * debug/tst-longjmp_chk.c: Likewise.
57630 * test-skeleton.c: Include fcntl.h & paths.h
57631 (set_fortify_handler): Define.
57632
57633 * debug/tst-longjmp_chk.c: Add header comment and include
57634 ../test-skeleton.c.
57635 (do_test): Mark static.
57636 (TEST_FUNCTION): Define.
57637
57638 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57639 (IP_PMTUDISC_INTERFACE): Likewise.
57640 (IP_MULTICAST_IF): Likewise.
57641 (IP_MULTICAST_TTL): Likewise.
57642 (IP_MULTICAST_LOOP): Likewise.
57643 (IP_ADD_MEMBERSHIP): Likewise.
57644 (IP_DROP_MEMBERSHIP): Likewise.
57645 (IP_UNBLOCK_SOURCE): Likewise.
57646 (IP_BLOCK_SOURCE): Likewise.
57647 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57648 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57649 (IP_MSFILTER): Likewise.
57650 (MCAST_JOIN_GROUP): Likewise.
57651 (MCAST_BLOCK_SOURCE): Likewise.
57652 (MCAST_UNBLOCK_SOURCE): Likewise.
57653 (MCAST_LEAVE_GROUP): Likewise.
57654 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57655 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57656 (MCAST_MSFILTER): Likewise.
57657 (IP_MULTICAST_ALL): Likewise.
57658 (IP_UNICAST_IF): Likewise.
57659
57660 * timezone/Makefile: Delete $(have-ksh) check.
57661 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57662 * timezone/tzselect.ksh: Add +x mode bits.
57663
57664 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57665 (ANON_INODE_FS_MAGIC): Likewise.
57666 (BDEVFS_MAGIC): Likewise.
57667 (BINFMTFS_MAGIC): Likewise.
57668 (BTRFS_TEST_MAGIC): Likewise.
57669 (CRAMFS_MAGIC_WEND): Likewise.
57670 (DEBUGFS_MAGIC): Likewise.
57671 (ECRYPTFS_SUPER_MAGIC): Likewise.
57672 (EXT3_SUPER_MAGIC): Likewise.
57673 (EXT4_SUPER_MAGIC): Likewise.
57674 (FUTEXFS_SUPER_MAGIC): Likewise.
57675 (HOSTFS_SUPER_MAGIC): Likewise.
57676 (HUGETLBFS_MAGIC): Likewise.
57677 (MINIX3_SUPER_MAGIC): Likewise.
57678 (MTD_INODE_FS_MAGIC): Likewise.
57679 (NILFS_SUPER_MAGIC): Likewise.
57680 (OPENPROM_SUPER_MAGIC): Likewise.
57681 (PIPEFS_MAGIC): Likewise.
57682 (PSTOREFS_MAGIC): Likewise.
57683 (QNX6_SUPER_MAGIC): Likewise.
57684 (RAMFS_MAGIC): Likewise.
57685 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57686 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57687 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57688 (SECURITYFS_MAGIC): Likewise.
57689 (SELINUX_MAGIC): Likewise.
57690 (SMACK_MAGIC): Likewise.
57691 (SOCKFS_MAGIC): Likewise.
57692 (SQUASHFS_MAGIC): Likewise.
57693 (STACK_END_MAGIC): Likewise.
57694 (TMPFS_MAGIC): Likewise.
57695 (USBDEVICE_SUPER_MAGIC): Likewise.
57696 (V9FS_MAGIC): Likewise.
57697 (XENFS_SUPER_MAGIC): Likewise.
57698 (CRAMFS_MAGIC): Fix typo in comment.
57699 (EXT2_SUPER_MAGIC): Update comment.
57700 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57701
57702 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57703
57704 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57705 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57706 * sysdeps/unix/sysv/linux/arm: Move directory from
57707 ports/sysdeps/unix/sysv/linux/arm.
57708 * README: Update listing for arm-*-linux-gnueabi.
57709
57710 * README: Remove mention of am33.
57711
57712 2014-02-07 Roland McGrath <roland@hack.frob.com>
57713
57714 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57715 than the comma operator, to avoid "rhs of comma has no effect"
57716 compiler warnings.
57717 (__sigfillset, __sigandset, __sigorset): Likewise.
57718 * include/signal.h (__sigemptyset): Likewise.
57719 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57720
57721 2014-02-07 Allan McRae <allan@archlinux.org>
57722
57723 * version.h (RELEASE): Set to "development".
57724 (VERSION): Set to "2.19.90"
57725 * NEWS: Add 2.20 section.
57726
57727 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57728
57729 [BZ #16529]
57730 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57731
57732 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57733
57734 * manual/contrib.texi: Update entry for Carlos O'Donell,
57735 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57736
57737 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57738
57739 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57740
57741 * sysdeps/unix/sysv/linux/kernel-features.h
57742 [__LINUX_KERNEL_VERSION >= 0x020621]
57743 (__ASSUME_PROC_PID_TASK_COMM): Define.
57744
57745 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57746
57747 [BZ #16398]
57748 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57749 conversion when destination buffer does not have enough space.
57750 * libio/tst-ftell-partial-wide.c: New test case.
57751 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57752
57753 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57754 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57755 Leonard and Allan McRae.
57756
57757 2014-02-04 David S. Miller <davem@davemloft.net>
57758
57759 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57760 32-bit.
57761
57762 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57763
57764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57765 New file
57766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57767 New file
57768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57769 New file.
57770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57771 New file.
57772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57773 New file.
57774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57775 New file.
57776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57777 New file.
57778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57779 New file.
57780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57781 New file.
57782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57783 New file.
57784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57785 New file.
57786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57787 New file.
57788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57789 New file.
57790
57791 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57792
57793 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57794 * shlib-versions: Likewise.
57795
57796 2014-02-04 Roland McGrath <roland@hack.frob.com>
57797 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57798
57799 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57800 (abilist-pattern): New variable, set to %-le.abilist.
57801
57802 * Makerules (abilist-pattern): New variable.
57803 (vpath): Use $(abilist-pattern) in place of %.abilist.
57804 (check-abi-% pattern rule): Likewise.
57805 (check-abi, update-abi): Likewise.
57806
57807 2014-02-04 Eric Wong <normalperson@yhbt.net>
57808
57809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57810
57811 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57812
57813 * manual/startup.texi: Add next, previous, and top entries for
57814 the `Program Arguments' and `Environment Variables' nodes.
57815
57816 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57817
57818 * manual/macros.texi: Add comments before MTASC-safety macros.
57819
57820 * manual/users.texi: Document MTASC-safety properties.
57821
57822 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57823 (pthread_getspecific, pthread_setspecific): Format with
57824 @deftypefun, and add @safety note.
57825 * manual/signal.texi: Move comments that analyze the above
57826 functions to their home place.
57827
57828 2014-02-03 Allan McRae <allan@archlinux.org>
57829
57830 * po/sl.po: Update Slovenian translation from translation project.
57831
57832 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57833
57834 * manual/time.texi (timegm): Add missing blank after @c.
57835 Reported by Joseph Myers <joseph@codesourcery.com>.
57836
57837 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57838
57839 * manual/check-safety.sh: New.
57840 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57841
57842 * manual/terminal.texi: Document MTASC-safety properties.
57843
57844 * manual/filesys.texi: Document MTASC-safety properties.
57845
57846 * manual/errno.texi: Document MTASC-safety properties.
57847
57848 * manual/intro.texi: Document safety identifiers and
57849 conditionals.
57850
57851 * manual/string.texi (wcstok): Fix prototype.
57852 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57853
57854 * manual/time.texi: Document MTASC-safety properties.
57855
57856 * manual/string.texi: Document MTASC-safety properties.
57857
57858 * manual/threads.texi: Document MTASC-safety properties.
57859
57860 * manual/stdio.texi: Document MTASC-safety properties.
57861
57862 * manual/syslog.texi: Document MTASC-safety properties.
57863
57864 * manual/sysinfo.texi: Document MTASC-safety properties.
57865
57866 * manual/startup.texi: Document MTASC-safety properties.
57867
57868 * manual/socket.texi: Document MTASC-safety properties.
57869
57870 * manual/signal.texi: Document MTASC-safety properties.
57871
57872 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57873
57874 * manual/setjmp.texi: Document MTASC-safety properties.
57875
57876 * manual/search.texi: Document MTASC-safety properties.
57877
57878 * manual/resource.texi: Document MTASC-safety properties.
57879
57880 * manual/process.texi: Document MTASC-safety properties.
57881
57882 * manual/platform.texi: Document MTASC-safety properties.
57883
57884 * manual/pipe.texi: Document MTASC-safety properties.
57885
57886 * manual/pattern.texi: Document MTASC-safety properties.
57887
57888 * manual/message.texi: Document MTASC-safety properties.
57889
57890 [BZ #12751]
57891 * manual/memory.texi: Document MTASC-safety properties.
57892
57893 * manual/math.texi: Document MTASC-safety properties.
57894
57895 * manual/locale.texi: Document MTASC-safety properties.
57896
57897 * manual/llio.texi: Document MTASC-safety properties.
57898
57899 * manual/libdl.texi: New.
57900
57901 * manual/lang.texi: Document MTASC-safety properties.
57902
57903 * manual/job.texi: Document MTASC-safety properties.
57904
57905 * manual/getopt.texi: Document MTASC-safety properties.
57906
57907 * manual/ctype.texi: Document MTASC-safety properties.
57908
57909 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57910
57911 [BZ #16046]
57912 * csu/libc-tls.c (static_map): Remove variable.
57913 (__libc_setup_tls): Use main executable's link map for TLS data.
57914 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57915 casing for LM_ID_BASE and GL(dl_nns).
57916 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57917 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57918 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57919 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57920 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57921 member.
57922 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57923 l_phnum members.
57924
57925 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57926
57927 * manual/debug.texi: Document MTASC-safety properties.
57928
57929 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57930
57931 [BZ #16510]
57932 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57933 of __x86_64__ when disabling x87 inline functions.
57934
57935 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57936
57937 * manual/charset.texi: Document MTASC-safety properties.
57938
57939 * manual/crypt.texi: Document MTASC-safety properties.
57940
57941 * manual/conf.texi: Document MTASC-safety properties.
57942
57943 * manual/arith.texi: Document MTASC-safety properties.
57944
57945 * manual/argp.texi: Document MTASC-safety properties.
57946
57947 * manual/macros.texi: Introduce macros to document multi
57948 thread, asynchronous signal and asynchronous cancellation
57949 safety properties.
57950 * manual/intro.texi: Introduce the properties themselves.
57951
57952 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57953
57954 * sysdeps/sh/sh4/Makefile: New file.
57955
57956 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57957
57958 * math/gen-libm-test.pl ($srcdir): New variable.
57959 ($auto_input): Use it.
57960
57961 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57962
57963 [BZ #16506]
57964 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57965 access beyond array bounds when parsing netgroups file.
57966
57967 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57968 the old buffer before realloc.
57969
57970 2014-01-27 Allan McRae <allan@archlinux.org>
57971
57972 * po/fr.po: Update French translation from translation project.
57973
57974 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57975
57976 * sysdeps/sh/libm-test-ulps: Regenerate.
57977
57978 2014-01-24 David S. Miller <davem@davemloft.net>
57979
57980 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57981
57982 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57983
57984 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57985 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57986
57987 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57988
57989 [BZ #16474]
57990 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57991 string pointers after reallocation.
57992
57993 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57994
57995 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57996 __SH4A__ instead of __SH_FPU_ANY__.
57997
57998 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57999
58000 * sysdeps/sh/fpu_control.h: New file.
58001 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58002 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58003 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58004 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58005 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58006 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58007 * sysdeps/sh/sys/ucontext.h: Remove.
58008 * sysdeps/sh/sys: Remove directory.
58009
58010 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58011
58012 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58013 s390/sys/ucontext.h.
58014 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58015 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58016
58017 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58018
58019 [BZ #15605]
58020 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58021
58022 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58023
58024 [BZ #16431]
58025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58026 Adjust the vDSO correctly for internal calls.
58027 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58028
58029 2014-01-20 Allan McRae <allan@archlinux.org>
58030
58031 * po/ca.po: Update Catalan translation from translation project.
58032
58033 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58034
58035 * sysdeps/s390/sotruss-lib.c: New file.
58036
58037 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58038
58039 [BZ #16430]
58040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58041 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58042 local calls issues by not having a PLT stub required for IFUNC calls.
58043 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58044
58045 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58046
58047 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58048 * math/test-fpucw-static.c: Likewise.
58049
58050 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58051
58052 [BZ #16453]
58053 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58054
58055 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58056
58057 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58058 implementation for powerpc.
58059
58060 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
58061
58062 [BZ #14782]
58063 * sysdeps/posix/system.c (__libc_system): Do not enable
58064 asynchronous cancellation.
58065
58066 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58067
58068 [BZ #16427]
58069 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58070 handling only for numbers special also in the IEEE case.
58071
58072 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58073
58074 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58075
58076 2014-01-11 Allan McRae <allan@archlinux.org>
58077
58078 * po/bg.po: Update Bulgarian translation from translation project.
58079
58080 * po/de.po: Update German translation from translation project.
58081
58082 2014-01-10 Roland McGrath <roland@hack.frob.com>
58083
58084 * sysdeps/generic/gcc-compat.h: New file.
58085
58086 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58087
58088 * benchtests/asin-inputs: Correct slow inputs.
58089 * benchtests/acos-inputs: Likewise.
58090
58091 2014-01-10 Allan McRae <allan@archlinux.org>
58092
58093 * po:sv.po: Update Swedish translation from translation project.
58094
58095 * po/vi.po: Update Vietnamese translation from translation project.
58096
58097 * po/eo.po: Update Esperanto translation from translation project.
58098
58099 * po/cs.po: Update Czech translation from translation project.
58100
58101 * po/nl.po: Update Dutch translation from translation project.
58102
58103 * po/pl.po: Update Polish translation from translation project.
58104
58105 * po/ru.po: Update Russian translation from translation project.
58106
58107 * po/uk.po: Update Ukrainian translation from translation project.
58108
58109 2014-01-08 Brooks Moses <bmoses@google.com>
58110
58111 * elf/dl-load.c: Fix comment typo.
58112
58113 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58114
58115 * po/header.pot: Rename to...
58116 * po/pot.header: ... this.
58117 * po/Makefile: Use pot.header.
58118
58119 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58120 Maxim Kuvyrkov <maxim@kugelworks.com>
58121
58122 [BZ #16394]
58123 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58124 SRC and DEST against LEN.
58125
58126 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58127
58128 [BZ #16414]
58129 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58130 implementation.
58131 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58132
58133 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58134
58135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58136
58137 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58138
58139 [BZ #16408]
58140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58141 for large positive arguments.
58142
58143 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58144
58145 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58146
58147 * math/auto-libm-test-in: Mark various tests with
58148 xfail-rounding:ldbl-128ibm.
58149 * math/auto-libm-test-out: Regenerated.
58150
58151 [BZ #16407]
58152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58153 Increase overflow threshold.
58154
58155 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
58156
58157 [BZ #14286]
58158 * stdio-common/vfprintf.c: Check for integer overflow.
58159
58160 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58161
58162 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58163 the first argument and return value of __tls_get_addr_internal.
58164
58165 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58166
58167 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58168 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58169
58170 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58171
58172 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58173 * sysdeps/s390/rtld-global-offsets.sym: New file.
58174 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58175 GLIBC_2.19 symbol.
58176 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58179 ... this.
58180 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58181 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58182 ... this.
58183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58184 Regenerate.
58185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58186 Regenerate.
58187 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58188 halfs of GPRs for high_gprs contexts.
58189 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58190 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58191 field.
58192 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58193 uc_flags field.
58194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58195 64 bit versions:
58196 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58197 for high GPRs (uc_high_gprs) and for future extensions
58198 (__reserved).
58199 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58200 for future extensions (__reserved).
58201 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58202 64 bit versions:
58203 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58204 SC_HIGHGPRS offset definition.
58205 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58206 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58207
58208 * Versions.def: Add GLIBC_2.19 for libpthread.
58209 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58210 siglongjmp for libpthread with GLIBC_2.19 symver.
58211 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58212 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58213 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58214 * sysdeps/s390/__longjmp.c: New file.
58215 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58216 * sysdeps/s390/longjmp.c: New file.
58217 * sysdeps/s390/setjmp.S: New file.
58218 * sysdeps/s390/sigjmp.S: New file.
58219 * sysdeps/s390/v1-longjmp.c: New file.
58220 * sysdeps/s390/v1-setjmp.h: New file.
58221 * sysdeps/s390/v1-sigjmp.c: New file.
58222 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58223 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58224 GLIBC_2.19 version.
58225 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58226 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58227 versioned symbols for ____longjmp_chk.
58228 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58229 Likewise.
58230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58231 Regenerate.
58232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58233 Regenerate.
58234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58235 Regenerate.
58236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58237 Regenerate.
58238 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58239 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58240 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58241 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58242 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58243 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58244 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58245 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58246 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58247 * sysdeps/s390/rtld-__longjmp.c: New file.
58248 * sysdeps/s390/rtld-setjmp.S: New file.
58249
58250 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58251
58252 [BZ #16400]
58253 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58254 Return -__logl (x) for small positive arguments without evaluating
58255 a polynomial.
58256
58257 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58258
58259 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58260 Rename to ...
58261 (__ptrace_peeksiginfo_args): ... this.
58262 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58264 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58265
58266 2014-01-06 Allan McRae <allan@archlinux.org>
58267
58268 * inet/netinet/in.h: Fix typo in comment.
58269
58270 2014-01-05 Andreas Jaeger <aj@suse.de>
58271
58272 * sysdeps/i386/fpu/libm-test-ulps: Update.
58273
58274 2014-01-05 Allan McRae <allan@archlinux.org>
58275
58276 * po/libc.pot: Regenerated.
58277
58278 * malloc/memusagestat.c: Fix gettext call formatting.
58279
58280 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58281
58282 * nscd/nscd.c: Improve usage() output.
58283
58284 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58285
58286 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58287 * sysdeps/unix/sysv/linux/configure: Regenerated.
58288 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58289 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58290
58291 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58292
58293 [BZ #16390]
58294 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58295 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58296
58297 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58298
58299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58300 extra tokens at end of #undef directive.
58301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58302 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58303 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58304
58305 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58306
58307 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58308
58309 * math/auto-libm-test-in: Mark various tests with
58310 xfail-rounding:ldbl-128ibm.
58311 * math/auto-libm-test-out: Regenerated.
58312
58313 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58314
58315 [BZ #16386]
58316 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58317 numbers with subnormal high part when calculating exponent.
58318
58319 [BZ #16385]
58320 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58321 fabs.
58322
58323 [BZ #16384]
58324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58325 M_LN2l.
58326 (__ieee754_acoshl): Use __log1pl not __log1p.
58327
58328 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58329
58330 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58331 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58332 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58333 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58334 (reused_arena, arena_get2): Convert to GNU style.
58335 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58336 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58337 (memalign_check, __malloc_set_state): Likewise.
58338 * malloc/mallocbug.c (main): Likewise.
58339 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58340 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58341 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58342 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58343 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58344 (__posix_memalign, malloc_info): Likewise.
58345 * malloc/malloc.h: Likewise.
58346 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58347 (mallochook, memalignhook, reallochook, mabort): Likewise.
58348 * malloc/mcheck.h: Likewise.
58349 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58350 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58351 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58352 * malloc/morecore.c (__default_morecore): Likewise.
58353 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58354 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58355 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58356 (print_and_abort): Likewise.
58357 * malloc/obstack.h: Likewise.
58358 * malloc/set-freeres.c (__libc_freeres): Likewise.
58359 * malloc/tst-mallocstate.c (main): Likewise.
58360 * malloc/tst-mtrace.c (main): Likewise.
58361 * malloc/tst-realloc.c (do_test): Likewise.
58362
58363 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58364
58365 [BZ #16366]
58366 * nscd/netgroupcache.c (do_notfound): New function.
58367 (addgetnetgrentX): Use it.
58368
58369 [BZ # 16365]
58370 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58371 NSS_STATUS_NOTFOUND.
58372
58373 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58374
58375 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58377
58378 2014-01-01 Allan McRae <allan@archlinux.org>
58379
58380 * scripts/update-copyrights: Update configure input file suffix.
58381
58382 * NEWS: Update copyright year.
58383 * catgets/gencat.c: Likewise.
58384 * csu/version.c: Likewise.
58385 * debug/catchsegv.sh: Likewise.
58386 * debug/pcprofiledump.c: Likewise.
58387 * debug/xtrace.sh: Likewise.
58388 * elf/ldconfig.c: Likewise.
58389 * elf/ldd.bash.in: Likewise.
58390 * elf/pldd.c: Likewise.
58391 * elf/sotruss.ksh: Likewise.
58392 * elf/sprof.c: Likewise.
58393 * iconv/iconv_prog.c: Likewise.
58394 * iconv/iconvconfig.c: Likewise.
58395 * locale/programs/locale.c: Likewise.
58396 * locale/programs/localedef.c: Likewise.
58397 * login/programs/pt_chown.c: Likewise.
58398 * malloc/memusage.sh: Likewise.
58399 * malloc/memusagestat.c: Likewise.
58400 * malloc/mtrace.pl: Likewise.
58401 * manual/libc.texinfo: Likewise.
58402 * nscd/nscd.c: Likewise.
58403 * nss/getent.c: Likewise.
58404 * nss/makedb.c: Likewise.
58405 * posix/getconf.c: Likewise.
58406 * scripts/test-installation.pl: Likewise.
58407
58408 * All files with FSF copyright notices: Update copyright dates
58409 using scripts/update-copyrights.
58410 * intl/plural.c: Regenerated.
58411 * locale/programs/charmap-kw.h: Likewise.
58412 * locale/programs/locfile-kw.h: Likewise.
58413
58414 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58415
58416 * sysdeps/unix/sysv/linux/configure: Regenerated.
58417 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58418 the linux/fanotify.h header.
58419 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58420 HAVE_LINUX_FANOTIFY_H is defined.
58421
58422 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58423
58424 * benchtests/cos-inputs: New inputs.
58425 * benchtests/sin-inputs: Likewise.
58426
58427 * benchtests/atan-inputs: New inputs. Fix name of multiple
58428 precision fallback inputs.
58429
58430 * benchtests/atanh-inputs: New inputs.
58431 * benchtests/tanh-inputs: Likewise.
58432
58433 * benchtests/acosh-inputs: New inputs.
58434 * benchtests/asinh-inputs: Likewise.
58435
58436 * benchtests/cosh-inputs: New inputs.
58437 * benchtests/sinh-inputs: Likewise.
58438
58439 * benchtests/acos-inputs: Add more inputs.
58440 * benchtests/asin-inputs: Likewise.
58441
58442 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58443
58444 [BZ #16375]
58445 * manual/arith.texi: Fix spelling.
58446 * manual/charset.texi: Likewise.
58447 * manual/errno.texi: Likewise.
58448 * manual/filesys.texi: Likewise.
58449 * manual/lang.texi: Likewise.
58450 * manual/llio.texi: Likewise.
58451 * manual/locale.texi: Likewise.
58452 * manual/message.texi: Likewise.
58453 * manual/resource.texi: Likewise.
58454 * manual/search.texi: Likewise.
58455 * manual/setjmp.texi: Likewise.
58456 * manual/stdio.texi: Likewise.
58457 * manual/string.texi: Likewise.
58458 * manual/sysinfo.texi: Likewise.
58459 * manual/time.texi: Likewise.
58460
58461 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58462
58463 * po/sl.po: New file.
58464
58465 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58466
58467 * .gitignore: Add core/.gdbinit/.gdb_history.
58468
58469 2013-12-27 Allan McRae <allan@archlinux.org>
58470
58471 [BZ #16369]
58472 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58473 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58474
58475 2013-12-24 Brooks Moses <bmoses@google.com>
58476
58477 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58478 all compilers that claim C++98 compliance, not just GCC.
58479 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58480 Likewise.
58481
58482 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58483
58484 * NEWS: Restore accidentally deleted bug-fix entries.
58485
58486 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58487 Ondřej Bílka <neleai@seznam.cz>
58488
58489 [BZ #15073]
58490 * malloc/malloc.c (_int_free): Perform sanity check only if we
58491 have_lock.
58492
58493 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58494
58495 [BZ #12986]
58496 * manual/stdio.texi (String Input Conversions): Clarify that character
58497 classes are not supported.
58498
58499 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58500
58501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58502
58503 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58504
58505 [BZ #16337]
58506 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58507 Calculate results for small negative arguments directly rather
58508 than using reflection formula with special underflow handling.
58509
58510 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58511 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58512 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58513 (fchflags): Likewise.
58514 (revoke): Likewise.
58515 (setlogin): Likewise.
58516 (sigaltstack): Likewise.
58517 (wait4): Likewise.
58518 (sigblock): Remove.
58519 (sigsetmask): Likewise.
58520 (wait3): Likewise.
58521 (waitpid): Likewise.
58522 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58523 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58524 file.
58525 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58526 * sysdeps/unix/bsd/Makefile: ... here.
58527 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58528 * sysdeps/unix/bsd/Versions: ... here.
58529 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58530 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58531 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58532 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58533 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58534 * sysdeps/unix/bsd/sigblock.c: ... here.
58535 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58536 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58537 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58538 * sysdeps/unix/bsd/sigvec.c: ... here.
58539 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58540 * sysdeps/unix/bsd/tcdrain.c: ... here.
58541 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58542 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58543 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58544 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58545 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58546 * sysdeps/unix/bsd/wait.c: ... here.
58547 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58548 * sysdeps/unix/bsd/wait3.c: ... here.
58549 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58550 * sysdeps/unix/bsd/waitpid.c: ... here.
58551
58552 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58553
58554 [BZ #16356]
58555 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58556 round-to-nearest for [!USE_AS_EXPM1L].
58557 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58558 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58559 more tests of exp and exp10. Expect some exp10 tests to miss
58560 exceptions or fail in directed rounding modes.
58561 * math/auto-libm-test-out: Regenerated.
58562 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58563 (exp10_test_tonearest): New function.
58564 (exp10_towardzero_test_data): New array.
58565 (exp10_test_towardzero): New function.
58566 (exp10_downward_test_data): New array.
58567 (exp10_test_downward): New function.
58568 (exp10_upward_test_data): New array.
58569 (exp10_test_upward): New function.
58570 (main): Call the new functions.
58571 * sysdeps/i386/fpu/libm-test-ulps: Update.
58572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58573
58574 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58575
58576 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58577 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58578 * math/auto-libm-test-out: Regenerated.
58579 * math/libm-test.inc (acosh_test_data): Add more tests.
58580 (atanh_test_data): Likewise.
58581 (ceil_test_data): Likewise.
58582 (copysign_test_data): Likewise.
58583 * sysdeps/i386/fpu/libm-test-ulps: Update.
58584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58585
58586 * timezone/checktab.awk: Update from tzcode 2013i.
58587 * timezone/private.h: Likewise.
58588 * timezone/scheck.c: Likewise.
58589 * timezone/tzfile.h: Likewise.
58590 * timezone/tzselect.ksh: Likewise.
58591 * timezone/zdump.c: Likewise.
58592 * timezone/zic.c: Likewise.
58593
58594 * math/auto-libm-test-in: Add tests of cpow.
58595 * math/auto-libm-test-out: Regenerated.
58596 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58597 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58598 mpc_cc_c.
58599 (func_calc_desc): Add mpc_cc_c union field.
58600 (test_functions): Add cpow.
58601 (special_fill_2pi): New function.
58602 (special_real_inputs): Add 2pi.
58603 (calc_generic_results): Handle mpc_cc_c.
58604 * sysdeps/i386/fpu/libm-test-ulps: Update.
58605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58606
58607 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58608 csqrt, ctan and ctanh.
58609 * math/auto-libm-test-out: Regenerated.
58610 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58611 (TEST_COND_x86): Likewise.
58612 (ccos_test_data): Use AUTO_TESTS_c_c.
58613 (ccosh_test_data): Likewise.
58614 (cexp_test_data): Likewise.
58615 (clog_test_data): Likewise.
58616 (csqrt_test_data): Likewise.
58617 (ctan_test_data): Likewise.
58618 (ctan_tonearest_test_data): Likewise.
58619 (ctan_towardzero_test_data): Likewise.
58620 (ctan_downward_test_data): Likewise.
58621 (ctan_upward_test_data): Likewise.
58622 (ctanh_test_data): Likewise.
58623 (ctanh_tonearest_test_data): Likewise.
58624 (ctanh_towardzero_test_data): Likewise.
58625 (ctanh_downward_test_data): Likewise.
58626 (ctanh_upward_test_data): Likewise.
58627 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58628 mpc_c_c.
58629 (func_calc_desc): Add mpc_c_c union field.
58630 (FUNC_mpc_c_c): New macro.
58631 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58632 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58633 ctanh.
58634 (special_fill_min_subnorm_p120): New function.
58635 (special_real_inputs): Add min_subnorm_p120.
58636 (calc_generic_results): Handle mpc_c_c.
58637 * sysdeps/i386/fpu/libm-test-ulps: Update.
58638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58639
58640 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58641
58642 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58643 (do_sin_slow): New functions.
58644 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58645 (cslow2, csloww1, csloww2): Use the new functions.
58646
58647 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58648 Use M to change sign of result instead of X. Assume X is
58649 positive.
58650 (csloww1): Likewise.
58651 (__sin): Adjust.
58652 (__cos): Adjust.
58653
58654 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58655 arguments A and DA.
58656 (__sin): Adjust.
58657 (__cos): Likewise.
58658
58659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58660 (__cos): Likewise.
58661 (sloww1): Don't adjust sign of DX.
58662 (csloww1): Likewise.
58663 (sloww2): Use X directly and don't adjust sign of DX.
58664 (csloww2): Likewise.
58665
58666 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58667
58668 * math/auto-libm-test-in: Add tests of cabs and carg.
58669 * math/auto-libm-test-out: Regenerated.
58670 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58671 (carg_test_data): Likewise.
58672 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58673 mpc_c_f.
58674 (func_calc_desc): Add mpc_c_f union field.
58675 (test_functions): Add cabs and carg.
58676 (calc_generic_results): Handle mpc_c_f.
58677
58678 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58679 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58680 as a macro and a compat symbol.
58681 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58682 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58683 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58684 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58685 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58686 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58687 not use .hidden.
58688 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58689 Likewise.
58690 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58691 Likewise.
58692 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58693 Likewise.
58694 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58695 Likewise.
58696 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58697 Likewise.
58698 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58699 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58700 from GLIBC_2.3.2.
58701
58702 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58703
58704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58705
58706 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58707
58708 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58709 trailing whitespace removed.
58710 * scripts/config.guess: Update to version 2013-11-29.
58711 * scripts/config.sub: Update to version 2013-10-01.
58712
58713 * math/auto-libm-test-in: Add tests of sincos.
58714 * math/auto-libm-test-out: Regenerated.
58715 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58716 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58717 mpfr_f_11.
58718 (func_calc_desc): Add mpfr_f_11 union field.
58719 (test_functions): Add sincos.
58720 (calc_generic_results): Handle mpfr_f_11.
58721 * sysdeps/i386/fpu/libm-test-ulps: Update.
58722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58723
58724 2013-12-19 Andreas Schwab <schwab@suse.de>
58725
58726 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58727 CALL_MCOUNT.
58728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58729 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58730 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58731
58732 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58733
58734 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58735 * sysdeps/i386/fpu/libm-test-ulps: Update.
58736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58737
58738 [BZ #16293]
58739 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58740 round-to-nearest mode when using frndint.
58741 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58742 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58743 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58744 Likewise.
58745 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58746 sinh test to fail.
58747 * math/auto-libm-test-out: Regenerated.
58748 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58749 (TEST_COND_x86): Likewise.
58750 (expm1_tonearest_test_data): New array.
58751 (expm1_test_tonearest): New function.
58752 (expm1_towardzero_test_data): New array.
58753 (expm1_test_towardzero): New function.
58754 (expm1_downward_test_data): New array.
58755 (expm1_test_downward): New function.
58756 (expm1_upward_test_data): New array.
58757 (expm1_test_upward): New function.
58758 (main): Run the new test functions.
58759 * sysdeps/i386/fpu/libm-test-ulps: Update.
58760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58761
58762 * include/features.h: Update comment documenting feature test
58763 macros. Mention _DEFAULT_SOURCE in comment.
58764 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58765 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58766 _BSD_SOURCE and _SVID_SOURCE.
58767 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58768 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58769 !_SVID_SOURCE]: Likewise.
58770 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58771 (__USE_POSIX_IMPLICITLY): Define.
58772 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58773 (_POSIX_SOURCE): Undefine and redefine.
58774 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58775 (_POSIX_C_SOURCE): Likewise.
58776 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58777 (Feature Test Macros): Update documentation of default features.
58778
58779 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58780
58781 * benchtests/Makefile: Add bench-strtok.
58782 * benchtests/bench-strtok.c: New file: strtok benchtest.
58783
58784 2013-12-19 Allan McRae <allan@archlinux.org>
58785
58786 * manual/install.texi: Suppress menu for plain text output.
58787 * INSTALL: Regenerated.
58788
58789 2013-12-18 Brooks Moses <bmoses@google.com>
58790
58791 [BZ #15846]
58792 * misc/getauxval.c: Include errno.h.
58793 (__getauxval): Set errno to ENOENT if the requested type is not
58794 found.
58795 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58796 don't declare with __attribute_const__.
58797 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58798 * manual/startup.texi: Document that getauxval sets errno.
58799
58800 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58801
58802 * math/auto-libm-test-in: Add tests of jn and yn.
58803 * math/auto-libm-test-out: Regenerated.
58804 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58805 (yn_test_data): Likewise.
58806 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58807 mpfr_if_f.
58808 (func_calc_desc): Add mpfr_if_f union field.
58809 (FUNC_mpfr_if_f): New macro.
58810 (test_functions): Add jn and yn.
58811 (calc_generic_results): Assert type of second input for
58812 mpfr_ff_f. Handle mpfr_if_f.
58813 (output_for_one_input_case): Disable all checking for arguments
58814 fitting floating-point types in case of an integer argument.
58815 * sysdeps/i386/fpu/libm-test-ulps: Update.
58816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58817
58818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58819 Don't expect fegetround reference in libm.so.
58820
58821 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58822
58823 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58824 $(config-cflags-nofma).
58825
58826 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58827
58828 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58829 * math/auto-libm-test-out: Regenerated.
58830
58831 [BZ #16338]
58832 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58833 to determine exponent and adjust argument to have exponent of -1.
58834 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58835 log2.
58836 * math/auto-libm-test-out: Regenerated.
58837 * sysdeps/i386/fpu/libm-test-ulps: Update.
58838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58839
58840 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58841
58842 * manual/probes.texi: Remove cases when per-thread arenas are
58843 disabled.
58844
58845 2013-12-18 Andreas Schwab <schwab@suse.de>
58846
58847 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58848 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58849 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58850 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58851 * sysdeps/i386/i686/multiarch/Makefile: Update.
58852 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58853
58854 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58855
58856 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58857 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58858
58859 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58860
58861 [BZ #15968]
58862 Support TZ transition times < 00:00:00.
58863 This is needed for version-3 tz-format files; it supports time
58864 stamps past 2037 for America/Godthab (the only entry in the tz
58865 database for which this change is relevant).
58866 * manual/time.texi (TZ Variable): Document transition times
58867 from -167:59:59 through -00:00:01.
58868 * time/tzset.c (tz_rule): Time of day is now signed.
58869 (__tzset_parse_tz): Parse negative time of day.
58870
58871 Document TZ transition times >= 25:00:00.
58872 * manual/time.texi (TZ Variable): Document transition times from
58873 25:00:00 through 167:59:59. These are already supported, and this
58874 support will help with version-3 tz-format files.
58875
58876 * manual/time.texi (TZ Variable): Modernize North America example
58877 to reflect current (i.e., 2007-and-later) daylight saving rules.
58878
58879 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58880
58881 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58882
58883 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58884 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58887 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58888 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58889 * sysdeps/unix/bsd/clock.c: Likewise.
58890 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58891 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58892 * sysdeps/unix/bsd/init-posix.c: Likewise.
58893 * sysdeps/unix/bsd/poll.c: Likewise.
58894 * sysdeps/unix/bsd/ptsname.c: Likewise.
58895 * sysdeps/unix/bsd/seekdir.c: Likewise.
58896 * sysdeps/unix/bsd/setegid.c: Likewise.
58897 * sysdeps/unix/bsd/seteuid.c: Likewise.
58898 * sysdeps/unix/bsd/setgid.c: Likewise.
58899 * sysdeps/unix/bsd/setrgid.c: Likewise.
58900 * sysdeps/unix/bsd/setruid.c: Likewise.
58901 * sysdeps/unix/bsd/setsid.c: Likewise.
58902 * sysdeps/unix/bsd/setuid.c: Likewise.
58903 * sysdeps/unix/bsd/sigaction.c: Likewise.
58904 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58905 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58906 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58907 * sysdeps/unix/bsd/telldir.c: Likewise.
58908 * sysdeps/unix/bsd/times.c: Likewise.
58909 * sysdeps/unix/bsd/usleep.c: Likewise.
58910
58911 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58912 ($(objpfx)libbsd-compat.a): Remove rule.
58913
58914 * include/features.h (__FAVOR_BSD): Do not define.
58915 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58916 features conflicting with POSIX.
58917 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58918 (_BSD_SOURCE): Remove description of not being a subset of other
58919 feature test macros.
58920 * manual/job.texi (getpgrp): Do not document BSD version.
58921 (getpgid): Do not document by reference to BSD getpgrp.
58922 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58923 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58924 * signal/signal.h [__FAVOR_BSD]: Likewise.
58925 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58926 instead of making contents conditional on [__FAVOR_BSD].
58927 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58928
58929 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58930
58931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58932
58933 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58934
58935 [BZ #16314]
58936 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58937 values below 2**-450, not 2**-500.
58938 * math/auto-libm-test-in: Don't allow spurious underflow from
58939 hypot.
58940 * math/auto-libm-test-out: Regenerated.
58941
58942 [BZ #16316]
58943 [BZ #16330]
58944 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58945 values of ha and hb and sort them after adjusting subnormal
58946 arguments.
58947 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58948 Likewise.
58949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58950 values of ea and eb and sort them after adjusting subnormal
58951 arguments.
58952 * math/auto-libm-test-in: Do not expect some hypot tests of
58953 subnormals to fail. Add more hypot tests.
58954 * math/auto-libm-test-out: Regenerated.
58955
58956 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58957
58958 [BZ #13304]
58959 * sysdeps/sh/s_fma.c: New file.
58960 * sysdeps/sh/s_fmaf.c: New file.
58961 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58962 version.
58963 * sysdeps/sh/Implies: Add sh/soft-fp.
58964
58965 2013-12-16 Roland McGrath <roland@hack.frob.com>
58966
58967 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58968 level of indirection to members `objname', `errstring', `malloced'.
58969 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58970 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58971 it as the __longjmp argument (just pass 1 instead).
58972 (_dl_catch_error): Initialize C with argument pointers and address of
58973 volatile local ERRCODE rather than copying values out of C at return.
58974
58975 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58976
58977 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58978 * math/auto-libm-test-out: Regenerated.
58979 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58980 (hypot_test_data): Likewise.
58981 (pow_test_data): Likewise.
58982 (pow_tonearest_test_data): Likewise.
58983 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58984 mpfr_ff_f.
58985 (func_calc_desc): Add mpfr_ff_f union field.
58986 (FUNC_mpfr_ff_f): New macro.
58987 (test_functions): Add atan2, hypot and pow.
58988 (special_fill_min): New function.
58989 (special_fill_minus_min): Likewise.
58990 (special_fill_min_subnorm): Likewise.
58991 (special_fill_minus_min_subnorm): Likewise.
58992 (special_real_inputs): Add min, -min, min_subnorm and
58993 -min_subnorm.
58994 (calc_generic_results): Handle mpfr_ff_f.
58995 * sysdeps/i386/fpu/libm-test-ulps: Update.
58996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58997
58998 2013-12-16 Will Newton <will.newton@linaro.org>
58999
59000 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59001 (Aligned Memory Blocks): Add documentation for aligned_alloc
59002 and suggest it as an alternative to posix_memalign.
59003 (Hooks for Malloc): Document __memalign_hook is also called
59004 for aligned_alloc. (Summary of Malloc): Add summary for
59005 aligned alloc. Document __memalign_hook is also called
59006 for aligned_alloc.
59007
59008 2013-12-16 Will Newton <will.newton@linaro.org>
59009
59010 * manual/memory.texi (Malloc Examples): Clarify default
59011 alignment documentation. Suggest posix_memalign rather
59012 than memalign or valloc.
59013 (Aligned Memory Blocks): Remove suggestion to use memalign
59014 or valloc. Remove obsolete comment about BSD.
59015 Document memalign errno values and mark the function obsolete.
59016 Document posix_memalign returned error codes. Mark valloc
59017 as obsolete. (Hooks for Malloc): __memalign_hook is also
59018 called for posix_memalign and valloc.
59019 (Summary of Malloc): Add posix_memalign to function summary.
59020 __memalign_hook is also called for posix_memalign and valloc.
59021
59022 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59023
59024 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59025 TAYLOR_SIN.
59026 (__sin): Adjust.
59027 (__cos): Likewise.
59028 (sloww): Use mynumber union. Expand ternary operator into
59029 if-else statements.
59030 (cslow): use mynumber union.
59031
59032 2013-12-16 Allan McRae <allan@archlinux.org>
59033
59034 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59035 * configure: Regenerated.
59036
59037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59038
59039 [BZ #14120]
59040 * configure.ac: Added --enable-maintainer-mode. Check for
59041 autoconf when enabled.
59042 * configure: Regenerated.
59043
59044 * nscd/nscd.service: New file.
59045 * nscd/nscd.tmpfiles: New file.
59046
59047 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
59048
59049 [BZ #12100]
59050 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59051 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59052 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59053 (strstr): Add __strstr_sse2_unaligned ifunc.
59054 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59055 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59056 (strcasestr): Remove __strcasestr_sse42 ifunc.
59057 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59060
59061 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59062
59063 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59064 * sysdeps/sh/bits/fenv.h: ... here.
59065 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59066
59067 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59068
59069 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59070
59071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59072 hypotf multiarch implementations.
59073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59076 multiarch hypot for PPC64.
59077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59079 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59080 multiarch hypotf for PPC64.
59081
59082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59083 modff multiarch implementations.
59084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59087 multiarch modf for PPC64.
59088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59091 multiarch modff for PPC64.
59092
59093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59094 and logl multiarch implementations.
59095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59098 multiarch logb for PPC64.
59099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59102 multiarch logb for PPC64.
59103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59106 multiarch logb for PPC64.
59107
59108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59109 isinff multiarch implementation.
59110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59111 file.
59112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59114 multiarch isinf for PPC64.
59115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59116 file.
59117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59118 multiarch isinff for PPC64.
59119
59120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59121 finitef multiarch implementation.
59122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59123 file.
59124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59126 multiarch finite for PPC64.
59127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59128 file.
59129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59130 multiarch finitef for PPC64.
59131
59132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59133 lrint multiarch implementation.
59134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59135 file.
59136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59138 multiarch llrint for PPC64.
59139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59140 multiarch lrint for PPC64.
59141
59142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59143 copysignf multiarch implementation.
59144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59145 file.
59146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59147 file.
59148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59149 multiarch copysign for PPC64.
59150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59151 multiarch copysignf for PPC64.
59152
59153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59154 multiarch implementation.
59155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59156 file.
59157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59158 file.
59159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59160 file.
59161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59162 file.
59163 multiarch llround for PPC64.
59164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59165 multiarch trunc for PPC64.
59166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59167 multiarch truncf for PPC64.
59168
59169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59170 multiarch implementation.
59171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59172 file.
59173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59174 file.
59175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59176 file.
59177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59178 file.
59179 multiarch llround for PPC64.
59180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59181 multiarch round for PPC64.
59182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59183 multiarch roundf for PPC64.
59184
59185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59186 multiarch implementation.
59187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59188 file.
59189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59190 file.
59191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59192 file.
59193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59194 file.
59195 multiarch llround for PPC64.
59196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59197 multiarch floor for PPC64.
59198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59199 multiarch floorf for PPC64.
59200
59201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59202 multiarch implementation.
59203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59204 file.
59205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59206 file.
59207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59208 file.
59209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59210 file.
59211 multiarch llround for PPC64.
59212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59213 multiarch ceil for PPC64.
59214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59215 multiarch ceilf for PPC64.
59216
59217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59218 multiarch implementation.
59219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59220 file.
59221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59222 file.
59223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59224 file.
59225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59226 multiarch llround for PPC64.
59227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59228 multiarch lround for PPC64.
59229
59230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59231 multiarch implementation.
59232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59235 file.
59236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59239 multiarch isnan for PPC64.
59240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59241 multiarch isnanf for PPC64.
59242
59243 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59244 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59245 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59246 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59247 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59249
59250 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59251 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59254
59255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59256 multiarch implementations.
59257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59258 (__libc_ifunc_impl_list): Likewise.
59259 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59261 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59262 multiarch stpcpy for PPC64.
59263
59264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59265 multiarch implementations.
59266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59267 (__libc_ifunc_impl_list): Likewise.
59268 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59270 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59271 multiarch strcpy for PPC64.
59272
59273 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59274 redefine function name.
59275 (_wordcopy_fwd_dest_aligned): Likewise.
59276 (_wordcopy_bwd_aligned): Likewise.
59277 (_wordcopy_bwd_dest_aligned): Likewise.
59278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59279 multiarch implementations.
59280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59281 (__libc_ifunc_impl_list): Likewise.
59282 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59283 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59286 multiarch wcscpy for PPC64.
59287
59288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59289 multiarch implementations.
59290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59291 (__libc_ifunc_impl_list): Likewise.
59292 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59293 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59295 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59296 multiarch wcscpy for PPC64.
59297
59298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59299 multiarch implementations.
59300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59301 (__libc_ifunc_impl_list): Likewise.
59302 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59303 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59304 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59305 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59306 multiarch wcsrchr for PPC64.
59307
59308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59309 multiarch implementations.
59310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59311 (__libc_ifunc_impl_list): Likewise.
59312 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59313 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59314 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59315 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59316 multiarch wcschr for PPC64.
59317
59318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59319 multiarch implementations.
59320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59321 (__libc_ifunc_impl_list): Likewise.
59322 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59323 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59325 multiarch strchrnul for PPC64.
59326
59327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59328 implementations.
59329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59330 (__libc_ifunc_impl_list): Likewise.
59331 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59332 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59333 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59334 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59335 strchr for PPC64.
59336
59337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59338 implementations.
59339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59340 (__libc_ifunc_impl_list): Likewise.
59341 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59342 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59343 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59344 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59345 strncmp for PPC64.
59346
59347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59348 multiarch implementations.
59349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59350 (__libc_ifunc_impl_list): Likewise.
59351 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59352 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59353 strncasecmp for PPC64.
59354 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59355 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59356 multiarch strncasecmp_l for PPC64.
59357
59358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59359 multiarch implementations.
59360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59361 (__libc_ifunc_impl_list): Likewise.
59362 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59363 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59364 multiarch strcasecmp for PPC64.
59365 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59366 file.
59367 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59368 multiarch strcasecmp_l for PPC64.
59369
59370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59371 implementations.
59372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59373 (__libc_ifunc_impl_list): Likewise.
59374 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59375 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59376 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59377 strnlen for PPC64.
59378
59379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59380 implementations.
59381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59382 (__libc_ifunc_impl_list): Likewise.
59383 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59384 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59385 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59386 strlen for PPC64.
59387
59388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59389 implementations.
59390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59391 (__libc_ifunc_impl_list): Likewise.
59392 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59393 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59394 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59395 rawmemrchr for PPC64.
59396
59397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59398 implementation.
59399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59400 (__libc_ifunc_impl_list): Likewise.
59401 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59402 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59403 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59404 memrchr for PPC64.
59405
59406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59407 implementation.
59408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59409 (__libc_ifunc_impl_list): Likewise.
59410 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59411 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59412 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59413 memchr for PPC64.
59414
59415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59416 implementation.
59417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59418 (__libc_ifunc_impl_list): Likewise.
59419 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59420 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59421 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59422 mempcpy for PPC64.
59423
59424 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59425 avoid cretion of __bzero symbol.
59426 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59427 Likewise.
59428 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59429 Likewise.
59430 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59431 Likewise.
59432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59433 multiarch implementations.
59434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59435 (__libc_ifunc_impl_list): Likewise.
59436 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59437 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59438 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59439 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59440 bzero for PPC32.
59441 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59442 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59443 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59444 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59445 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59446 memset for PPC64.
59447 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59448
59449 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59451 implementations.
59452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59453 (__libc_ifunc_impl_list): Likewise.
59454 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59455 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59456 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59457 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59458 memcmp for PPC64.
59459
59460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59461 multiarch for POWER/PPC64.
59462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59463 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59470 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59471 memcpy for PPC64.
59472
59473 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59474 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59475 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59476 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59477 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59478 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59479 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59480 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59481 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59482 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59483 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59484 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59485 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59486 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59487 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59495
59496 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59497
59498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59499
59500 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59501
59502 * benchtests/Makefile (bench): Add exp2 and log2.
59503 (LDLIBS-bench-exp2): Add -lm.
59504 (LDLIBS-bench-log2): Likewise.
59505 * benchtests/exp2-inputs: New inputs file.
59506 * benchtests/log2-inputs: New inputs file.
59507 * benchtests/log-inputs: Add new inputs.
59508 * benchtests/tan-inputs: Likewise.
59509
59510 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59511
59512 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59513 definition...
59514 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59515 (csloww2): ... from here.
59516
59517 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59518 instead of structures.
59519 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59520 (POLYNOMIAL): Likewise.
59521 (TAYLOR_SLOW): Likewise.
59522 (__sin): Likewise.
59523 (__cos): Likewise.
59524 (slow1): Likewise.
59525 (slow2): Likewise.
59526 (sloww): Likewise.
59527 (sloww1); Likewise.
59528 (sloww2): Likewise.
59529 (bsloww1): Likewise.
59530 (bsloww2): Likewise.
59531 (cslow2): Likewise.
59532 (csloww): Likewise.
59533 (csloww1): Likewise.
59534 (csloww2): Likewise.
59535
59536 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59537
59538 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59539 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59540 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59541 * malloc/hooks.c (realloc_check): Likewise.
59542
59543 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59544 * malloc/arena.c: Remove PER_THREAD conditional.
59545 [!PER_THREAD]: Remove code.
59546 (ptmalloc_unlock_all2): Likewise.
59547 (ptmalloc_init): Likewise.
59548 (_int_new_arena): Likewise.
59549 (arena_get2): Likewise.
59550 * malloc/hooks.c (__malloc_get_state): Likewise.
59551 (__malloc_set_state): Likewise.
59552 * malloc/malloc.c: Likewise.
59553 (struct malloc_state): Likewise.
59554 (struct malloc_par): Likewise.
59555 (__libc_realloc): Likewise.
59556 (__libc_mallopt): Likewise.
59557
59558 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59559
59560 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59561
59562 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59563
59564 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59565 macro to a function. Check for zero perturb_byte.
59566 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59567
59568 * malloc/malloc.c: (force_reg): Remove.
59569 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59570 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59571 force_reg by atomic_forced_read.
59572 * malloc/arena.c (ptmalloc_init): Likewise.
59573 * malloc/hooks.c (top_check): Likewise.
59574
59575 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59576
59577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59578
59579 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59580
59581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59582
59583 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59584
59585 * math/auto-libm-test-in: Add tests of lgamma.
59586 * math/auto-libm-test-out: Regenerated.
59587 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59588 (M_LOG_2_SQRT_PIl): Likewise.
59589 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59590 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59591 mpfr_f_f1.
59592 (func_calc_desc): Add mpfr_f_f1 union field.
59593 (ARGS1): New macro.
59594 (ARGS2): Likewise.
59595 (ARGS3): Likewise.
59596 (ARGS4): Likewise.
59597 (RET1): Likewise.
59598 (RET2): Likewise.
59599 (CALC): Likewise.
59600 (FUNC): Likewise.
59601 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59602 (test_functions): Add lgamma.
59603 (calc_generic_results): Handle mpfr_f_f1.
59604 * sysdeps/i386/fpu/libm-test-ulps: Update.
59605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59606
59607 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59608
59609 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59610 __mpn_add_n for PowerPC64/POWER7.
59611 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59612 __mpn_sub_n for PowerPC64/POWER7.
59613
59614 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59615 __mpn_addmul_1 for PowerPC64.
59616 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59617 __mpn_submul_1 for PowerPC64.
59618 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59619 for PowerPC64.
59620 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59621 for PowerPC64.
59622
59623 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59624
59625 [BZ #15089]
59626 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59627
59628 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59629
59630 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59631
59632 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59633 add multiarch folders.
59634 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59635 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59636 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59637 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59638 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59639 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59640 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59641 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59642 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59643 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59644 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59651
59652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59653 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59655 New file.
59656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59657 New file.
59658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59659 multiarch __ieee754_hypot for PowerPC32.
59660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59661 New file.
59662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59663 New file.
59664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59665 multiarch __ieee754_hypotf for PowerPC32.
59666
59667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59668 long_double_symbol only if __logbl is defined.
59669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59670 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59672 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59674 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59675 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59676 path for implementation.
59677 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59680 logb, and logbl multiarch implementations for PowerPC32.
59681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59682 file.
59683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59684 file.
59685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59686 multiarch logb for PowerPC32.
59687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59688 file.
59689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59690 file.
59691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59692 multiarch logbf for PowerPC32.
59693 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59695 file.
59696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59697 multiarch logbl implementation for PowerPC32.
59698
59699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59700 and modff multiarch implementations.
59701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59702 New file.
59703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59704 New file.
59705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59706 multiarch modf for PowerPC32.
59707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59708 New file.
59709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59710 New file.
59711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59712 multiarch modff for PowerPC32.
59713
59714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59715 and lrintf multiarch implementations.
59716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59717 New file.
59718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59719 New file.
59720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59721 multiarch lrint for PowerPC32.
59722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59723 file: multiarch lrintf for PowerPC32.
59724
59725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59726 and lroundf multiarch implementations.
59727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59728 New file.
59729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59730 New file.
59731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59732 New file.
59733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59734 multiarch lround for PowerPC32.
59735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59736 file: multiarch lroundf for PowerPC32.
59737
59738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59739 copysign and copysignf multiarch implementations.
59740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59741 New file.
59742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59743 New file.
59744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59745 file: multiarch copysign for PowerPC32.
59746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59747 file: multiarch copysignf for PowerPC32.
59748
59749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59750 and truncf multiarch implementations.
59751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59752 New file.
59753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59754 file.
59755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59756 multiarch trunc for PowerPC32.
59757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59758 New file.
59759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59760 New file.
59761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59762 multiarch truncf for PowerPC32.
59763
59764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59765 and roundf multiarch implementations.
59766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59767 New file.
59768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59769 file.
59770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59771 multiarch round for PowerPC32.
59772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59773 New file.
59774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59775 New file.
59776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59777 multiarch roundf for PowerPC32.
59778
59779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59780 and floorf multiarch implementations.
59781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59782 New file.
59783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59784 file.
59785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59786 multiarch floor for PowerPC32.
59787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59788 New file.
59789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59790 New file.
59791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59792 multiarch floorf for PowerPC32.
59793
59794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59795 and ceilf multiarch implementations.
59796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59797 New file.
59798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59799 file.
59800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59801 multiarch ceil for PowerPC32.
59802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59803 New file.
59804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59805 file.
59806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59807 multiarch ceilf for PowerPC32.
59808
59809 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59810 is defined.
59811 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59812 FINITEF is defined.
59813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59814 and finitef multiarch implementations.
59815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59816 New file.
59817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59818 file.
59819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59820 multiarch finite for PowerPC32.
59821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59822 New file.
59823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59824 file: multiarch finitef for PowerPC32.
59825
59826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59827 and isinff multiarch implementations.
59828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59829 file.
59830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59831 file.
59832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59833 multiarch isinf for PowerPC32.
59834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59835 New file.
59836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59837 multiarch isinff for PowerPC32.
59838
59839 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59840 alias when __isnan is defined.
59841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59842 and isnanf multiarch implementations.
59843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59844 file.
59845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59846 file.
59847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59848 file.
59849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59850 file.
59851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59852 multiarch isnan for PowerPC32.
59853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59854 New file.
59855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59856 New file.
59857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59858 multiarch isnanf for PowerPC32.
59859
59860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59861 and sqrtf multiarch implementations.
59862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59863 file.
59864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59865 file.
59866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59867 multiarch sqrt for PowerPC32.
59868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59869 file.
59870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59871 file.
59872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59873 multiarch sqrtf for PowerPC32.
59874
59875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59876 and llroundf multiarch implementations.
59877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59878 New file.
59879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59880 New file.
59881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59882 New file.
59883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59884 file: multiarch llround for PowerPC32.
59885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59886 file: multiarch llroundf for PowerPC32.
59887
59888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59889 multiarch PowerPC32 fpu implementations.
59890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59891 New file.
59892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59893 New file.
59894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59895 multiarch llrint for PowerPC32.
59896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59897 New file.
59898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59899 New file.
59900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59901 file.
59902
59903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59904
59905 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59906 file.
59907 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59908 file.
59909 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59910 file.
59911 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59912 multiarch wordcopy for PPC32.
59913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59914 wordcopy objects.
59915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59916 (__libc_ifunc_impl_list): Likewise.
59917 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59918 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59919 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59920 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59921 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59922 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59923
59924 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59926 file.
59927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59928 file.
59929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59930 file.
59931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59932 multiarch wcscpy for PPC32.
59933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59934 multiarch objects.
59935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59936 (__libc_ifunc_impl_list): Likewise.
59937 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59938 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59939 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59940 sysdeps/powerpc/power6/wcscpy.c.
59941
59942 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59944 file.
59945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59946 file.
59947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59948 file.
59949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59950 multiarch wcsrchr for PPC32.
59951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59952 multiarch objects.
59953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59954 (__libc_ifunc_impl_list): Likewise.
59955 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59956 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59957 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59958 sysdeps/powerpc/power6/wcsrchr.c.
59959
59960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59961 file.
59962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59963 file.
59964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59966 multiarch wcschr for PPc32.
59967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59968 multiarch objects.
59969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59970 (__libc_ifunc_impl_list): Likewise.
59971 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59972 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59973 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59974 sysdeps/powerpc/power6/wcschr.c.
59975
59976 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59977 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59978 file.
59979 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59980 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59981 file: multiarch strchr for PPC32.
59982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59983 multiarch objects.
59984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59985 (__libc_ifunc_impl_list): Likewise.
59986
59987 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59988 name.
59989 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59990 file.
59991 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59992 file.
59993 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59994 multiarch strchrnul for PPC32.
59995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59996 multiarch objects.
59997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59998 (__libc_ifunc_impl_list): Likewise.
59999
60000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60001 file.
60002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60003 multiarch strncasecmp for PPC32.
60004 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60005 file.
60006 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60007 multiarch strncasecmp_l for PPC32.
60008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60009 strncasecmp multiarch objects.
60010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60011 (__libc_ifunc_impl_list): Likewise.
60012
60013 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60014 file.
60015 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60016 multiarch strncasecmp for PPC32.
60017 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60018 New file.
60019 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60020 multiarch strcasecmp_l for PPC32.
60021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60022 multiarch objects.
60023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60024 (__libc_ifunc_impl_list): Likewise.
60025
60026 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60027 file.
60028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60029 file.
60030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60031 multiarch strncmp for PPC32.
60032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
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/rtld-strnlen.c: New file.
60038 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60039 file.
60040 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60041 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60043 multiarch objects.
60044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60045 (__libc_ifunc_impl_list): Likewise.
60046
60047 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60048 file.
60049 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60050 file.
60051 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60053 multiarch objects.
60054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60055 (__libc_ifunc_impl_list): Likewise.
60056
60057 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60058 file.
60059 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60060 file.
60061 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60062 multiarch rawmemchr for PPC32.
60063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60064 multiarch objects.
60065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60066 (__libc_ifunc_impl_list): Likewise.
60067
60068 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60069 file.
60070 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60071 file.
60072 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60073 file: memrchr multiarch for PPC32.
60074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60075 multiarch objects.
60076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60077 (__libc_ifunc_impl_list): Likewise.
60078
60079 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60080 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60081 file.
60082 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60083 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60084 multiarch memchr for PPC32.
60085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60086 multiarch objects.
60087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60088 (__libc_ifunc_impl_list): Likewise.
60089
60090 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60091 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60092 file.
60093 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60094 file.
60095 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60096 file: multiarch mempcpy for PPC32.
60097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60098 multiarch objects.
60099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60100 (__libc_ifunc_impl_list): Likewise.
60101
60102 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60105 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60106 multiarch bzero for PPC32.
60107 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60108 file.
60109 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60110 file.
60111 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60112 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60113 file: multiarch memset for PPC32.
60114 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60116 memset multiarch objects.
60117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60118 (__libc_ifunc_impl_list): Likewise.
60119
60120 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60121 file.
60122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60123 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60124 memcmp for PPC32.
60125 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60127 multiarch objects.
60128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60129 (__libc_ifunc_impl_list): Likewise.
60130
60131 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60134 file.
60135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60136 file.
60137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60138 file.
60139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60140 multiarch memcpy for PPC32.
60141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60142 multiarch objects.
60143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60144 (__libc_ifunc_impl_list): Likewise.
60145
60146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60147 support multiarch for POWER/PPC32.
60148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60149 Likewise.
60150 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60152 Implies file to make multiarch folder appers before the fpu and
60153 default folder for power4 configuration.
60154
60155 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60156
60157 * scripts/bench.pl: Append volatile keyword to type.
60158
60159 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60160
60161 * sysdeps/sh/sotruss-lib.c: New file.
60162 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60163
60164 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60165
60166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60167
60168 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60169
60170 [BZ #6810]
60171 * math/w_tgamma.c: Include <errno.h>.
60172 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60173 * math/w_tgammaf.c: Include <errno.h>.
60174 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60175 * math/w_tgammal.c: Include <errno.h>.
60176 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60177 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60178 underflow. Add more tgamma tests.
60179 * math/auto-libm-test-out: Regenerated.
60180 * sysdeps/i386/fpu/libm-test-ulps: Update.
60181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60182
60183 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60184 sin, sinh, tan, tanh, tgamma, y0 and y1.
60185 * math/auto-libm-test-out: Regenerated.
60186 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60187 (TEST_COND_x86): Likewise.
60188 (M_E2l): Remove macro.
60189 (M_E3l): Likewise.
60190 (M_2_SQRT_PIl): Likewise.
60191 (M_SQRT_PIl): Likewise.
60192 (M_1_DIV_El): Likewise.
60193 (log_test_data): Use AUTO_TESTS_f_f.
60194 (log10_test_data): Likewise.
60195 (log1p_test_data): Likewise.
60196 (log2_test_data): Likewise.
60197 (sin_test_data): Likewise.
60198 (sin_tonearest_test_data): Likewise.
60199 (sin_towardzero_test_data): Likewise.
60200 (sin_downward_test_data): Likewise.
60201 (sin_upward_test_data): Likewise.
60202 (sinh_test_data): Likewise.
60203 (sinh_tonearest_test_data): Likewise.
60204 (sinh_towardzero_test_data): Likewise.
60205 (sinh_downward_test_data): Likewise.
60206 (sinh_upward_test_data): Likewise.
60207 (tan_test_data): Likewise.
60208 (tan_tonearest_test_data): Likewise.
60209 (tan_towardzero_test_data): Likewise.
60210 (tan_downward_test_data): Likewise.
60211 (tan_upward_test_data): Likewise.
60212 (tanh_test_data): Likewise.
60213 (tgamma_test_data): Likewise.
60214 (y0_test_data): Likewise.
60215 (y1_test_data): Likewise.
60216 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60217 (special_real_inputs): Add pi/4.
60218 * sysdeps/i386/fpu/libm-test-ulps: Update.
60219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60220
60221 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60222
60223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60224 "longjmp_target" static probes.
60225 (__longjmp): Rename to __longjmp_symbol.
60226 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60227 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60228 on which longjmp to generate.
60229 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60230 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60231 probe.
60232 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60233 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60234 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60235 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60236 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60237 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60239 __longjmp_symbol based on which __longjmp to generate.
60240 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60241 probe.
60242 (setjmp): Rename to setjmp_symbol.
60243 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60244 (_setjmp): Rename to _setjmp_symbol.
60245 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60246 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60247 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60248 which setjmp to generate.
60249 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60250 "longjmp_target" static probes.
60251
60252 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60253
60254 * benchtests/README: Add note about output arguments.
60255 * benchtests/bench-sincos.c: Remove file.
60256 * benchtests/sincos-inputs: New file.
60257 * scripts/bench.pl: Identify output arguments and define
60258 static variables for them.
60259
60260 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60261
60262 [BZ #15941]
60263 * Makefile (INSTALL): Add install-plain.texi as the primary
60264 dependency.
60265 * manual/install-plain.texi: New file.
60266 * manual/install.texi: Include node directive only for
60267 non-plaintext output.
60268
60269 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60270
60271 * stdlib/longlong.h: Update from GCC.
60272
60273 [BZ #6807]
60274 [BZ #15901]
60275 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60276 * math/w_j0f.c (y0f): Likewise.
60277 * math/w_j0l.c (__y0l): Likewise.
60278 * math/w_j1.c (y1): Likewise.
60279 * math/w_j1f.c (y1f): Likewise.
60280 * math/w_j1l.c (__y1l): Likewise.
60281 * math/w_jn.c (yn): Likewise.
60282 * math/w_jnf.c (ynf): Likewise.
60283 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60284 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60285 value for Bessel function domain errors outside _SVID_ mode.
60286 Adjust sign of return value for yn (negative integer, 0).
60287 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60288 by zero in return for negative x and set sign appropriately for
60289 negative n.
60290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60291 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60292 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60293 expectations in error cases.
60294 (y1_test_data): Likewise.
60295 (yn_test_data): Likewise.
60296 * sysdeps/i386/fpu/libm-test-ulps: Update.
60297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60298
60299 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60300
60301 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60302 "64" to "64-v1". Add "64-v2".
60303 (abi-64-options): Rename to ...
60304 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60305 (abi-64-condition): Rename to ...
60306 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60307 (abi-64-ld-soname): Rename to ...
60308 (abi-64-v1-ld-soname): ... this.
60309 (abi-64-v2-options): Define.
60310 (abi-64-v2-condition): Likewise.
60311 (abi-64-v2-ld-soname): Likewise.
60312 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60313 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60317
60318 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60319 Alan Modra <amodra@gmail.com>
60320
60321 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60322 New versions for use with the ELFv2 ABI.
60323 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60324 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60325 declaration.
60326 (struct La_ppc64v2_retval): Likewise.
60327 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60328 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60329 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60330 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60331 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60333 Do not save or restore CR.
60334 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60335 (_dl_profile_resolve): Do no save or restore CR. Support extended
60336 return values for ELFv2 ABI. Fix location of FPR return registers.
60337 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60338 updated values for _CALL_ELF == 2.
60339 (La_regs, La_retval, int_retval): Likewise.
60340
60341 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60342
60343 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60344 (FRAME_MIN_SIZE_PARM): Likewise.
60345 (FRAME_BACKCHAIN): Likewise.
60346 (FRAME_CR_SAVE): Likewise.
60347 (FRAME_LR_SAVE): Likewise.
60348 (FRAME_TOC_SAVE): Likewise.
60349 (FRAME_PARM_SAVE): Likewise.
60350 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60351 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60352 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60353 (call_mcount_parm_offset): New macro.
60354 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60355 (PROF): Use symbolic stack frame offsets.
60356 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60357 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60358 Redefine in terms of FRAME_MIN_SIZE.
60359 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60360 (_dl_profile_resolve): Likewise. Update comment.
60361 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60362 symbols stack frame offsets.
60363 (__sigsetjmp): Likewise.
60364 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60365 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60366 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60367 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60368
60369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60370 (FRAME_BACKCHAIN): Remove.
60371 (FRAME_CR_SAVE): Likewise.
60372 (FRAME_LR_SAVE): Likewise.
60373 (FRAME_COMPILER_DW): Likewise.
60374 (FRAME_LINKER_DW): Likewise.
60375 (FRAME_TOC_SAVE): Likewise.
60376 (FRAME_PARM_SAVE): Likewise.
60377 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60378 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60379 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60381 (CHECK_SP): Use symbolic stack frame offsets.
60382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60383 zone" instead of caller's parameter save area for temp storage.
60384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60385 Likewise. Also, use symbolic stack frame offsets.
60386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60387 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60388 our own stack frame instead of the caller's.
60389 (__socket): Use symbolic stack frame offsets.
60390
60391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60392 Alan Modra <amodra@gmail.com>
60393
60394 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60395 Define.
60396 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60397 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60398 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60399 New function.
60400 (elf_machine_fixup_plt): Call it.
60401 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60402 reloc arguments.
60403 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60404 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60405 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60406 r2 before calling target.
60407
60408 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60409 Alan Modra <amodra@gmail.com>
60410
60411 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60412 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60413 versions of macros to support ELFv2 ABI.
60414 (LOCALENTRY): New macro.
60415 (ENTRY, EALIGN): Use it.
60416 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60417 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60418 fall through into ENTRY entry point.
60419 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60420 Only define if _CALL_ELF != 2.
60421
60422 (elf_machine_matches_host): Verify ABI version matches.
60423 (RTLD_START): Use LOCALENTRY.
60424 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60425 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60426 (PLT_ENTRY_WORDS): New macro.
60427 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60428 (elf_machine_runtime_setup): Support ELFv2 ABI.
60429 (elf_machine_fixup_plt): Likewise.
60430 (elf_machine_plt_conflict): Likewise.
60431 (resolve_ifunc): Likewise.
60432 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60434 Likewise.
60435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60436 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60438 (makecontext): Support ELFv2 ABI.
60439 * elf/elf.h (EF_PPC64_ABI): Define.
60440
60441 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60442
60443 * sysdeps/powerpc/powerpc64/sysdep.h
60444 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60445 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60446 (ENTRY) [ASSEMBLER]: ... but instead here ...
60447 (EALIGN) [ASSEMBLER]: ... and here.
60448 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60449 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60450 (ENTRY_2) [!ASSEMBLER]: Use it.
60451 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60452 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60453 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60454 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60455 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60457 Use PPC64_LOAD_FUNCPTR.
60458
60459 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60460
60461 2013-12-04 Alan Modra <amodra@gmail.com>
60462
60463 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60464 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60465 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60466 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60467
60468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60469 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60470 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60471 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60472 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60473 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60474
60475 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60476
60477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60478 (__makecontext): Fix incorrect CFI when backtracing out of
60479 context created via makecontext.
60480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60481 (__setcontext): Fix incorrect CFI during switch to new context.
60482 (__novec_setcontext): Likewise.
60483
60484 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60485
60486 [BZ #4772]
60487 * time/strptime_l.c (__strptime_internal): Allow modifiers
60488 in strptime.
60489 * time/tst-strptime.c (day_tests): Add testcase.
60490
60491 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60492
60493 * scripts/bench.pl: Skip over blank lines.
60494
60495 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60496
60497 [BZ #926]
60498 * manual/time.texi (Calendar Time): Clarify what timezone functions
60499 use.
60500
60501 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60502
60503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60504
60505 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60506
60507 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60508 implementation.
60509 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60510 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60511 * debug/memset_chk.c (__memset_chk): Likewise.
60512 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60513 * debug/strncpy_chk.c: Likewise.
60514
60515 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60516
60517 [BZ #15268]
60518 [BZ #15425]
60519 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60520 (__ieee754_exp): For possibly underflowing results, check size of
60521 result and force underflow exception if required.
60522 * math/auto-libm-test-in: Add more tests of exp.
60523 * math/auto-libm-test-out: Regenerated.
60524 * sysdeps/i386/fpu/libm-test-ulps: Update.
60525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60526
60527 [BZ #16283]
60528 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60529 * math/w_exp2f.c (__exp2f): Likewise.
60530 * math/w_exp2l.c (__exp2l): Likewise.
60531 * math/auto-libm-test-in: Do not allow missing errno on exp2
60532 underflow.
60533 * math/auto-libm-test-out: Regenerated.
60534
60535 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60536
60537 [BZ #16274]
60538 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60539 handle filename validation.
60540 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60541 (do_open): Delete.
60542
60543 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60544
60545 [BZ #6786]
60546 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60547 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60548 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60549 <float.h>.
60550 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60552 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60554 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60556 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60557 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60558 Add more erfc tests.
60559 * math/auto-libm-test-out: Regenerated.
60560 * sysdeps/i386/fpu/libm-test-ulps: Update.
60561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60562
60563 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60564 exp2, expm1, j0 and j1.
60565 * math/auto-libm-test-out: Regenerated.
60566 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60567 (erfc_test_data): Likewise.
60568 (exp_test_data): Likewise.
60569 (exp_tonearest_test_data): Likewise.
60570 (exp_towardzero_test_data): Likewise.
60571 (exp_downward_test_data): Likewise.
60572 (exp_upward_test_data): Likewise.
60573 (exp10_test_data): Likewise.
60574 (exp2_test_data): Likewise.
60575 (expm1_test_data): Likewise.
60576 (j0_test_data): Likewise.
60577 (j1_test_data): Likewise.
60578 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60579 (input_flag_type): Add flag_xfail_rounding.
60580 (input_flags): Add xfail-rounding.
60581 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60582 (output_for_one_input_case): Handle flag_xfail_rounding.
60583 * sysdeps/i386/fpu/libm-test-ulps: Update.
60584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60585
60586 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60587
60588 [BZ #16289]
60589 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60590 division by 0.
60591
60592 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60593
60594 [BZ #16195]
60595 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60596 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60597 (STAP_PROBE0): New macro.
60598 (STAP_PROBE1): Likewise.
60599 (STAP_PROBE2): Likewise.
60600 (STAP_PROBE3): Likewise.
60601 (STAP_PROBE4): Likewise.
60602
60603 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60604
60605 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60606
60607 2013-12-02 Steve Ellcey <sellcey@mips.com>
60608
60609 * benchtests/Makefile (bench): Add sqrt.
60610 (LDLIBS-bench-sqrt): New.
60611 * benchtests/sqrt-input: New.
60612
60613 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60614
60615 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60616 (GAIH_EAI): Likewise.
60617 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60618 (gaih_inet): Likewise.
60619 (getaddrinfo): Don't use GAIH_EAI.
60620
60621 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60622 (struct gaih): Remove definition.
60623
60624 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60625
60626 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60627 Use HERRNOP directly.
60628
60629 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60630
60631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60632
60633 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60634
60635 * math/gen-auto-libm-tests.c (test_functions): Add more
60636 single-argument functions.
60637 (special_fill_pi_2): New function.
60638 (special_fill_minus_pi_2): Likewise.
60639 (special_fill_pi_6): Likewise.
60640 (special_fill_minus_pi_6): Likewise.
60641 (special_fill_pi_3): Likewise.
60642 (special_fill_2pi_3): Likewise.
60643 (special_fill_e): Likewise.
60644 (special_fill_1_e): Likewise.
60645 (special_fill_e_minus_1): Likewise.
60646 (special_real_inputs): Add more special inputs.
60647 (output_for_one_input_case): Do not require ERANGE on underflow to
60648 zero if round-to-nearest result does not underflow to zero, unless
60649 exact results required.
60650 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60651 atan, atanh, cbrt, cos and cosh.
60652 * math/auto-libm-test-out: Regenerated.
60653 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60654 (acos_tonearest_test_data): Likewise.
60655 (acos_towardzero_test_data): Likewise.
60656 (acos_downward_test_data): Likewise.
60657 (acos_upward_test_data): Likewise.
60658 (acosh_test_data): Likewise.
60659 (asin_test_data): Likewise.
60660 (asin_tonearest_test_data): Likewise.
60661 (asin_towardzero_test_data): Likewise.
60662 (asin_upward_test_data): Likewise.
60663 (asinh_test_data): Likewise.
60664 (atan_test_data): Likewise.
60665 (atanh_test_data): Likewise.
60666 (cbrt_test_data): Likewise.
60667 (cos_test_data): Likewise.
60668 (cos_tonearest_test_data): Likewise.
60669 (cos_towardzero_test_data): Likewise.
60670 (cos_downward_test_data): Likewise.
60671 (cos_upward_test_data): Likewise.
60672 (cosh_test_data): Likewise.
60673 (cosh_tonearest_test_data): Likewise.
60674 (cosh_towardzero_test_data): Likewise.
60675 (cosh_downward_test_data): Likewise.
60676 (cosh_upward_test_data): Likewise.
60677 * sysdeps/i386/fpu/libm-test-ulps: Update.
60678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60679
60680 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60681
60682 [BZ #6787]
60683 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60684 * math/w_exp10f.c (__exp10f): Likewise.
60685 * math/w_exp10l.c (__exp10l): Likewise.
60686 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60687 errno settings in existing tests.
60688
60689 [BZ #14032]
60690 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60691 precision control set to double precision.
60692 * sysdeps/i386/fpu/w_sqrt.c: New file.
60693 * math/auto-libm-test-in: Add more tests.
60694 * math/auto-libm-test-out: Update.
60695
60696 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60697 (sqrt_test_tonearest): New function.
60698 (sqrt_towardzero_test_data): New variable.
60699 (sqrt_test_towardzero): New function.
60700 (sqrt_downward_test_data): New variable.
60701 (sqrt_test_downward): New function.
60702 (sqrt_upward_test_data): New variable.
60703 (sqrt_test_upward): New function.
60704 (main): Call the new functions.
60705
60706 * math/gen-auto-libm-tests.c: New file.
60707 * math/auto-libm-test-in: Likewise.
60708 * math/auto-libm-test-out: New generated file.
60709 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60710 variables.
60711 (%beautify): Add generated representations of zero.
60712 (top level): Set $auto_input and call parse_auto_input.
60713 (beautify): Remove trailing "f" from hex float constants.
60714 (parse_args): Handle XFAIL_TEST.
60715 (convert_condition): New function.
60716 (or_value): Likewise.
60717 (or_cond_value): Likewise.
60718 (generate_testfile): Handle AUTO_TESTS_* lines.
60719 (parse_auto_input): New function.
60720 * math/libm-test.inc (XFAIL_TEST): New macro.
60721 (ERRNO_UNCHANGED): Update value.
60722 (ERRNO_EDOM): Likewise.
60723 (ERRNO_ERANGE): Likewise.
60724 (IGNORE_RESULT): Likewise.
60725 (TEST_COND_flt_32): New macro.
60726 (TEST_COND_dbl_64): Likewise.
60727 (TEST_COND_ldbl_96_intel): Likewise.
60728 (TEST_COND_ldbl_96_m68k): Likewise.
60729 (TEST_COND_ldbl_128): Likewise.
60730 (TEST_COND_ldbl_128ibm): Likewise.
60731 (TEST_COND_long32): Likewise.
60732 (TEST_COND_long64): Likewise.
60733 (TEST_COND_before_rounding): Likewise.
60734 (TEST_COND_after_rounding): Likewise.
60735 (enable_test): Handle XFAIL_TEST flag.
60736 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60737 with finite results.
60738 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60739 auto-libm-test-out.
60740
60741 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60742 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60743
60744 [BZ #16214]
60745 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60746 __tls_get_addr_internal instead of __tls_get_offset in order to
60747 avoid GOT pointer dependency. Make rtld export
60748 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60749 __tls_get_addr since we are a __tls_get_offset platform.
60750 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60751 GOT pointer being set up before.
60752 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60753
60754 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60755
60756 * manual/math.texi (Errors in Math Functions): Document accuracy
60757 goals.
60758
60759 [BZ #15004]
60760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60763 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60764 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60765 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60766 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60767 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60768 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60769 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60770 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60773 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60775 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60776
60777 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60778 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60779 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60780 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60781 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60782 Likewise.
60783 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60784 Likewise.
60785 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60786 Likewise.
60787 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60788 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60789 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60790 atomic-feupdateenv and flt-rounds.
60791 * sysdeps/powerpc/nofpu/Versions (libc): Add
60792 __atomic_feholdexcept, __atomic_feclearexcept,
60793 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60794 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60795 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60796 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60797 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60798 here.
60799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60800 Update.
60801
60802 * manual/arith.texi (FP Exceptions): Document that exceptions may
60803 not be raised when matherr is used.
60804 (Math Error Reporting): Document overflow in directed rounding
60805 modes. Document that errno may not be set when finite values are
60806 returned on overflow. Document intent to set errno on underflow
60807 only for underflow to zero.
60808
60809 [BZ #16271]
60810 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60811 round-to-nearest then adjust result for other rounding modes.
60812 * include/fenv.h (fegetround): Use libm_hidden_proto.
60813 * math/fegetround.c (fegetround): Use libm_hidden_def.
60814 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60815 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60816 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60818 Likewise.
60819 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60820 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60821 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60822 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60823
60824 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60825
60826 [BZ #16077]
60827 * nss/Versions (libnss_files): Add
60828 _nss_files_gethostbyname3_r.
60829 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60830 New function.
60831 (HOST_DB_LOOKUP): Remove macro.
60832 (_nss_files_gethostbyname_r): Implement function without the
60833 HOST_DB_LOOKUP macro.
60834 (_nss_files_gethostbyname2_r): Likewise.
60835
60836 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60837
60838 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60839
60840 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60841
60842 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60843 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60844 warning.
60845
60846 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60847
60848 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60849 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60850 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60851 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60852 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60853 __fe_nomask_env_priv and attribute_hidden.
60854 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60855 (libc_feupdateenv_test_ppc): Likewise.
60856 (libc_feresetround_ppc): Likewise.
60857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60858 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60859 compat_symbol macro.
60860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60861 (__fe_nomask_env): Likewise.
60862 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60863
60864 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60865
60866 * string/Makefile: Remove ifunc tests.
60867 * string/test-string.h: Define TEST_IFUNC.
60868 * string/test-bcopy-ifunc.c: Remove.
60869 * string/test-bzero-ifunc.c: Likewise.
60870 * string/test-memccpy-ifunc.c: Likewise.
60871 * string/test-memchr-ifunc.c: Likewise.
60872 * string/test-memcmp-ifunc.c: Likewise.
60873 * string/test-memcpy-ifunc.c: Likewise.
60874 * string/test-memmem-ifunc.c: Likewise.
60875 * string/test-memmove-ifunc.c: Likewise.
60876 * string/test-mempcpy-ifunc.c: Likewise.
60877 * string/test-memrchr-ifunc.c: Likewise.
60878 * string/test-memset-ifunc.c: Likewise.
60879 * string/test-rawmemchr-ifunc.c: Likewise.
60880 * string/test-stpcpy-ifunc.c: Likewise.
60881 * string/test-stpncpy-ifunc.c: Likewise.
60882 * string/test-strcasecmp-ifunc.c: Likewise.
60883 * string/test-strcasestr-ifunc.c: Likewise.
60884 * string/test-strcat-ifunc.c: Likewise.
60885 * string/test-strchr-ifunc.c: Likewise.
60886 * string/test-strchrnul-ifunc.c: Likewise.
60887 * string/test-strcmp-ifunc.c: Likewise.
60888 * string/test-strcpy-ifunc.c: Likewise.
60889 * string/test-strcspn-ifunc.c: Likewise.
60890 * string/test-strlen-ifunc.c: Likewise.
60891 * string/test-strncasecmp-ifunc.c: Likewise.
60892 * string/test-strncat-ifunc.c: Likewise.
60893 * string/test-strncmp-ifunc.c: Likewise.
60894 * string/test-strncpy-ifunc.c: Likewise.
60895 * string/test-strnlen-ifunc.c: Likewise.
60896 * string/test-strpbrk-ifunc.c: Likewise.
60897 * string/test-strrchr-ifunc.c: Likewise.
60898 * string/test-strspn-ifunc.c: Likewise.
60899 * string/test-strstr-ifunc.c: Likewise.
60900
60901 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60902
60903 * benchtests/Makefile: Remove ifunc tests.
60904 * benchtests/bench-string.h: Define TEST_IFUNC.
60905 * benchtests/bench-bcopy-ifunc.c: Remove.
60906 * benchtests/bench-bzero-ifunc.c: Likewise.
60907 * benchtests/bench-memccpy-ifunc.c: Likewise.
60908 * benchtests/bench-memchr-ifunc.c: Likewise.
60909 * benchtests/bench-memcmp-ifunc.c: Likewise.
60910 * benchtests/bench-memcpy-ifunc.c: Likewise.
60911 * benchtests/bench-memmem-ifunc.c: Likewise.
60912 * benchtests/bench-memmove-ifunc.c: Likewise.
60913 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60914 * benchtests/bench-memrchr-ifunc.c: Likewise.
60915 * benchtests/bench-memset-ifunc.c: Likewise.
60916 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60917 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60918 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60919 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60920 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60921 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60922 * benchtests/bench-strcat-ifunc.c: Likewise.
60923 * benchtests/bench-strchr-ifunc.c: Likewise.
60924 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60925 * benchtests/bench-strcmp-ifunc.c: Likewise.
60926 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60927 * benchtests/bench-strcpy-ifunc.c: Likewise.
60928 * benchtests/bench-strcspn-ifunc.c: Likewise.
60929 * benchtests/bench-strlen-ifunc.c: Likewise.
60930 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60931 * benchtests/bench-strncat-ifunc.c: Likewise.
60932 * benchtests/bench-strncmp-ifunc.c: Likewise.
60933 * benchtests/bench-strncpy-ifunc.c: Likewise.
60934 * benchtests/bench-strnlen-ifunc.c: Likewise.
60935 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60936 * benchtests/bench-strrchr-ifunc.c: Likewise.
60937 * benchtests/bench-strsep-ifunc.c: Likewise.
60938 * benchtests/bench-strspn-ifunc.c: Likewise.
60939 * benchtests/bench-strstr-ifunc.c: Likewise.
60940
60941 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60942
60943 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60944
60945 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60946
60947 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60948 * rt/aio.h: Likewise.
60949 * sysdeps/gnu/bits/utmp.h: Likewise.
60950 * sysdeps/gnu/bits/utmpx.h: Likewise.
60951 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60952 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60953 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60954 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60955 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60956 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60957 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60958 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60959 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60960 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60961 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60962 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60963 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60965 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60966 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60967 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60968 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60969 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60970 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60971 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60972 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60975 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60977 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60978 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60979 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60980 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60981 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60982 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60983 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60984 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60985 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60986 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60987 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60990 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60991 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60993
60994 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60995
60996 [BZ #16245]
60997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60998 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60999
61000 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61001
61002 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61004 Likewise.
61005
61006 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61007
61008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61009 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61010 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61011 (__fesetround): Remove define.
61012 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61013 rounding and exceptions handling.
61014 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61015 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61016 (__fe_nomask_env): Likewise.
61017 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61018 __fegetround instead of fegetround.
61019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61020 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61021
61022 2013-11-21 Roland McGrath <roland@hack.frob.com>
61023
61024 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61025 it's there.
61026
61027 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61028
61029 2013-11-21 Meador Inge <meadori@codesourcery.com>
61030
61031 [BZ #11157]
61032 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61033 (encrypt_r): Likewise.
61034 * malloc/obstack.h (obstack_free): Likewise.
61035 * posix/unistd.h (encrypt): Likewise.
61036
61037 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61038
61039 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61040 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61041 DL_CALL_DT_FINI() that call the functions directly.
61042 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61043 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61044 * elf/dl-fini.c: Likewise.
61045
61046 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
61047
61048 * malloc/hooks.c (memalign_check): Add alignment rounding.
61049 * malloc/malloc.c (_mid_memalign): New function.
61050 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61051 Implement by calling _mid_memalign.
61052 * manual/probes.texi (Memory Allocation Probes): Remove
61053 memory_valloc_retry and memory_pvalloc_retry.
61054
61055 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61056
61057 * locale/programs/locarchive.c (open_archive): Add const
61058 qualifier to ARCHIVEFNAME and copy default fname to
61059 DEFAULT_FNAME.
61060
61061 [BZ #15601]
61062 * libio/tst-widetext.input: Rename Oriya to Odia.
61063 * locale/iso-639.def: Likewise.
61064
61065 * manual/probes.texi (Mathematical Function Probes): Add
61066 documentation for sin, cos, asin and acos probes.
61067 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61068 (__sin32): Add slowasin probe.
61069 (__cos32): Add slowacos probe.
61070 (__mpsin): Add slowsin probe.
61071 (__mpcos): Add slowcos probe.
61072
61073 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61074
61075 [BZ #15483]
61076 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61077 thread-local __sim_exceptions_thread and global
61078 __sim_exceptions_global.
61079 (__sim_disabled_exceptions): Change to thread-local
61080 __sim_disabled_exceptions_thread and global
61081 __sim_disabled_exceptions_global.
61082 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61083 and global __sim_round_mode_global.
61084 (__simulate_exceptions): Use thread-local floating-point state and
61085 set global state from it as needed.
61086 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61087 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61088 __sim_round_mode_thread.
61089 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61090 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61091 and global __sim_exceptions_global.
61092 (__sim_disabled_exceptions): Change to thread-local
61093 __sim_disabled_exceptions_thread and global
61094 __sim_disabled_exceptions_global.
61095 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61096 and global __sim_round_mode_global.
61097 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61098 (SIM_SET_GLOBAL): Likewise.
61099 * sysdeps/powerpc/soft-fp/sfp-machine.h
61100 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61101 __sim_round_mode_thread.
61102 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61103 __sim_disabled_exceptions_thread.
61104 (__sim_exceptions): Change to __sim_exceptions_thread.
61105 (__sim_disabled_exceptions): Change to
61106 __sim_disabled_exceptions_thread.
61107 (__sim_round_mode): Change to __sim_round_mode_thread.
61108 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61109 thread-local floating-point state and set global state from it as
61110 needed.
61111 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61112 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61113 (__sim_disabled_exceptions): Remove extern declaration.
61114 (feenableexcept): Use thread-local floating-point state and set
61115 global state from it as needed.
61116 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61117 extern declaration.
61118 (__sim_disabled_exceptions): Likewise.
61119 (__sim_round_mode): Likewise.
61120 (__fegetenv): Use thread-local floating-point state.
61121 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61122 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61123 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61124 floating-point state and set global state from it as needed.
61125 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61126 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61127 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61128 Likewise.
61129 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61130 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61131 Likewise.
61132 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61133 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61134 Use __sim_round_mode_thread.
61135 * math/test-fenv-tls.c: New file.
61136 * math/Makefile (tests): Add test-fenv-tls.
61137 ($(objpfx)test-fenv-tls): Depend on
61138 $(common-objpfx)nptl/libpthread.so.
61139
61140 2013-11-19 Andreas Schwab <schwab@suse.de>
61141
61142 * locale/programs/locale.c (show_info): Decode wordarray elements.
61143 * locale/categories.def (LC_MONETARY): Add element for
61144 _NL_MONETARY_CRNCYSTR.
61145 * locale/C-monetary.c (conversion_rate): New variable.
61146 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61147 element.
61148
61149 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61150
61151 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61152 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61153
61154 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61155
61156 * elf/Makefile (tst-auxv): New test.
61157 * elf/tst-auxv.c: New
61158 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61159
61160 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61161
61162 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61163 (hidden_proto): Caller changed.
61164 (hidden_tls_proto): New macro.
61165 (libc_hidden_tls_proto): Likewise.
61166 (rtld_hidden_tls_proto): Likewise.
61167 (libm_hidden_tls_proto): Likewise.
61168 (libresolv_hidden_tls_proto): Likewise.
61169 (librt_hidden_tls_proto): Likewise.
61170 (libdl_hidden_tls_proto): Likewise.
61171 (libnss_files_hidden_tls_proto): Likewise.
61172 (libnsl_hidden_tls_proto): Likewise.
61173 (libnss_nisplus_hidden_tls_proto): Likewise.
61174 (libutil_hidden_tls_proto): Likewise.
61175
61176 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61177
61178 [BZ #10253]
61179 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61180 (decompose_rpath): Defer expansion to fillin_rpath.
61181 (_dl_init_paths): Pass linkmap to fillin_rpath.
61182
61183 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61184
61185 * benchtests/Makefile: Add strsep.
61186 * benchtests/bench-strsep.c: New file: strsep benchtest.
61187 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61188
61189 2013-11-18 Andreas Schwab <schwab@suse.de>
61190
61191 * locale/programs/locale.c (show_info) [case byte]: Check for
61192 '\377' instead of '\177'.
61193 * locale/C-monetary.c (not_available): Always use "\377".
61194 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61195 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61196 detect unavailable sign_posn locale elements.
61197 * locale/localeconv.c (__localeconv): For grouping and
61198 mon_grouping handle "\177" and "\377" like no grouping.
61199 (INT_ELEM): New macro. Use it to set all numeric members.
61200 * locale/programs/ld-monetary.c (monetary_read)
61201 <tok_mon_grouping>: Normalize single -1 to the empty string.
61202 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61203 Likewise.
61204
61205 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61206
61207 [BZ #16055]
61208 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61209 when we match (nil).
61210 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61211
61212 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61213
61214 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61215 (NO_TEST_INLINE): Update value.
61216 (ERRNO_UNCHANGED): Likewise.
61217 (ERRNO_EDOM): Likewise.
61218 (ERRNO_ERANGE): Likewise.
61219 (IGNORE_RESULT): Likewise.
61220 (check_float_internal): Check signs of NaN results if
61221 TEST_NAN_SIGN used.
61222 (check_complex): Pass TEST_NAN_SIGN flag through to second
61223 check_float_internal call.
61224 (copysign_test_data): Add tests with quiet NaNs as second
61225 argument. Use TEST_NAN_SIGN.
61226 (fabs_test_data): Add test of negative quiet NaN argument. Use
61227 TEST_NAN_SIGN.
61228 (signbit_test_data): Add tests of quiet NaN argument.
61229 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61230
61231 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61232 $ignore_result.
61233 (parse_args): Handle function results specified as IGNORE.
61234 * math/libm-test.inc (IGNORE_RESULT): New macro.
61235 (check_float_internal): Do not check numerical result if flag
61236 IGNORE_RESULT set.
61237 (check_complex): Pass through IGNORE_RESULT to second
61238 check_float_internal call.
61239 (check_int): Do not check numerical result if flag IGNORE_RESULT
61240 set.
61241 (check_long): Likewise.
61242 (check_bool): Likewise.
61243 (check_longlong): Likewise.
61244 (lrint_test_data): Add tests of infinite and NaN arguments.
61245 (lrint_tonearest_test_data): Likewise.
61246 (lrint_towardzero_test_data): Likewise.
61247 (lrint_downward_test_data): Likewise.
61248 (lrint_upward_test_data): Likewise.
61249 (llrint_test_data): Likewise.
61250 (llrint_tonearest_test_data): Likewise.
61251 (llrint_towardzero_test_data): Likewise.
61252 (llrint_downward_test_data): Likewise.
61253 (llrint_upward_test_data): Likewise.
61254 (lround_test_data): Likewise.
61255 (llround_test_data): Likewise.
61256
61257 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61258 (ERRNO_UNCHANGED): Update value.
61259 (ERRNO_EDOM): Likewise.
61260 (ERRNO_ERANGE): Likewise.
61261 (NO_TEST_INLINE_FLOAT): New macro.
61262 (NO_TEST_INLINE_DOUBLE): Likewise.
61263 (enable_test): New function.
61264 (RUN_TEST_f_f): Check enable_test before running test.
61265 (RUN_TEST_2_f): Likewise.
61266 (RUN_TEST_fff_f): Likewise.
61267 (RUN_TEST_c_f): Likewise.
61268 (RUN_TEST_f_f1): Likewise.
61269 (RUN_TEST_fF_f1): Likewise.
61270 (RUN_TEST_fI_f1): Likewise.
61271 (RUN_TEST_ffI_f1): Likewise.
61272 (RUN_TEST_c_c): Likewise.
61273 (RUN_TEST_cc_c): Likewise.
61274 (RUN_TEST_f_i): Likewise.
61275 (RUN_TEST_f_i_tg): Likewise.
61276 (RUN_TEST_ff_i_tg): Likewise.
61277 (RUN_TEST_f_b): Likewise.
61278 (RUN_TEST_f_b_tg): Likewise.
61279 (RUN_TEST_f_l): Likewise.
61280 (RUN_TEST_f_L): Likewise.
61281 (RUN_TEST_fFF_11): Likewise.
61282 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61283 conditionals.
61284 (cosh_test_data): Likewise.
61285 (exp_test_data): Likewise.
61286 (expm1_test_data): Likewise.
61287 (hypot_test_data): Likewise.
61288 (pow_test_data): Likewise.
61289 (sinh_test_data): Likewise.
61290 (tanh_test_data): Likewise.
61291 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61292 flags argument.
61293
61294 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61295 tests with quiet NaN input and output.
61296 (acosh_test_data): Likewise.
61297 (asin_test_data): Likewise.
61298 (asinh_test_data): Likewise.
61299 (atan_test_data): Likewise.
61300 (atanh_test_data): Likewise.
61301 (atan2_test_data): Likewise.
61302 (cbrt_test_data): Likewise.
61303 (cos_test_data): Likewise.
61304 (cosh_test_data): Likewise.
61305 (erf_test_data): Likewise.
61306 (erfc_test_data): Likewise.
61307 (exp_test_data): Likewise.
61308 (exp10_test_data): Likewise.
61309 (exp2_test_data): Likewise.
61310 (expm1_test_data): Likewise.
61311 (hypot_test_data): Likewise.
61312 (j0_test_data): Likewise.
61313 (j1_test_data): Likewise.
61314 (jn_test_data): Likewise.
61315 (lgamma_test_data): Likewise.
61316 (log_test_data): Likewise.
61317 (log10_test_data): Likewise.
61318 (log1p_test_data): Likewise.
61319 (log2_test_data): Likewise.
61320 (pow_test_data): Likewise.
61321 (scalb_test_data): Likewise.
61322 (sin_test_data): Likewise.
61323 (sincos_test_data): Likewise.
61324 (sinh_test_data): Likewise.
61325 (tan_test_data): Likewise.
61326 (tanh_test_data): Likewise.
61327 (tgamma_test_data): Likewise.
61328 (y0_test_data): Likewise.
61329 (y1_test_data): Likewise.
61330 (yn_test_data): Likewise.
61331
61332 [BZ #16167]
61333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61334 argument being NaN and avoid computations with second argument in
61335 that case.
61336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61337 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61338 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61339
61340 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61341
61342 * locale/iso-639.def: Add Chitwani Tharu (the).
61343
61344 2013-11-14 Andreas Schwab <schwab@suse.de>
61345
61346 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61347 word instead of empty string.
61348
61349 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61350
61351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61352 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61354 (__fe_nomask_env): Likewise.
61355
61356 2013-11-13 Steve Ellcey <sellcey@mips.com>
61357
61358 * benchtests/bench-timing.h: Include time.h.
61359
61360 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61361
61362 [BZ #15997]
61363 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61364 to 3.4.0 for x32.
61365 * sysdeps/unix/sysv/linux/configure: Regenerated.
61366
61367 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61368
61369 [BZ #16151]
61370 * stdlib/strtod_l.c (round_and_return): Do not consider
61371 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61372 exponent one less than half the least subnormal exponent.
61373 * stdlib/test-strtod-round-data: Add more tests.
61374 * stdlib/tst-strtod-round.c (tests): Regenerated.
61375
61376 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61377
61378 [BZ #14143]
61379 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61380 (__fe_mask_env): Likewise.
61381 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61382 libm_hidden_proto and add function prototype.
61383 (__fe_mask_env): Add function prototype.
61384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61385 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61387 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61389 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61390
61391 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61392
61393 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61394 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61395
61396 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61397
61398 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61399 of htab_find_slot().
61400
61401 2013-11-11 David S. Miller <davem@davemloft.net>
61402
61403 [BZ #16150]
61404 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61405 symbol in the non-vis3 case in static builds.
61406 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61407 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61408 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61409 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61410
61411 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61412
61413 [BZ #387]
61414 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61415 it is empty.
61416
61417 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61418
61419 * benchtests/Makefile: Add bench-strtod.
61420 * benchtests/bench-strtod.c: New file: strtod benchtest
61421
61422 2013-11-11 Andreas Schwab <schwab@suse.de>
61423
61424 [BZ #16153]
61425 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61426 terminating NUL in key length.
61427
61428 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61429
61430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61431 Add artificial ODP entry for vDSO symbol for PPC64.
61432 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61433 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61434
61435 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61436
61437 [BZ #15374]
61438 * nss/getent.c (services_keys): Recognize services starting with digit.
61439
61440 2013-11-06 David S. Miller <davem@davemloft.net>
61441
61442 [BZ #15985]
61443 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61444 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61445
61446 2013-11-06 Will Newton <will.newton@linaro.org>
61447
61448 * manual/memory.texi (Malloc Examples): Remove register
61449 keyword from examples.
61450
61451 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61452
61453 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61454
61455 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61456
61457 [BZ #6981]
61458 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61459 depending on [__GCC_IEC_559 > 0].
61460 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61461 depending on [__GCC_IEC_559_COMPLEX > 0].
61462
61463 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61464
61465 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61466 to iso-639.def.
61467
61468 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61469
61470 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61471
61472 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61473
61474 [BZ #16112]
61475 * malloc/malloc (malloc_info): Do not handle first bin as
61476 special case.
61477
61478 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61479
61480 * locale/iso-639.def: Add Central Nahuatl (nhn).
61481
61482 2013-11-01 Bruno Haible <bruno@clisp.org>
61483
61484 [BZ #7003]
61485 * manual/math.texi (BSD Random): Specify range upper bound as
61486 in POSIX.
61487
61488 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61489
61490 * locale/iso-639.def: Add Meadow Mari (mhr).
61491
61492 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61493
61494 [BZ #14752], [BZ #15763]
61495 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61496 Validate name.
61497 * rt/tst_shm.c: Add test for escaping directory.
61498
61499 2013-10-31 Andreas Schwab <schwab@suse.de>
61500
61501 [BZ #15917]
61502 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61503 followed by 'x' as part of digit sequence.
61504 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61505
61506 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61507
61508 [BZ #16037]
61509 * configure.ac: allow GNU Make 4.0 and greater.
61510 * configure: Regenerated.
61511
61512 2013-10-30 Will Newton <will.newton@linaro.org>
61513
61514 [BZ #16038]
61515 * malloc/hooks.c (memalign_check): Limit alignment to the
61516 maximum representable power of two.
61517 * malloc/malloc.c (__libc_memalign): Likewise.
61518 * malloc/tst-memalign.c (do_test): Add test for very
61519 large alignment values.
61520 * malloc/tst-posix_memalign.c (do_test): Likewise.
61521
61522 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61523
61524 [BZ #11087]
61525 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61526 (munmap_chunk): Likewise.
61527 (mremap_chunk): Likewise.
61528
61529 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61530
61531 [BZ #15799]
61532 * stdlib/div.c (div): Remove obsolete code.
61533 * stdlib/ldiv.c (ldiv): Likewise.
61534 * stdlib/lldiv.c (lldiv): Likewise.
61535
61536 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61537
61538 [BZ #16071]
61539 * nss/nss_files/files-XXX.c (get_contents_ret): New
61540 enumerator.
61541 (get_contents): New function.
61542 (internal_getent): Use it. Expand size of LINEBUFLEN.
61543
61544 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61545
61546 * configure.in: Moved to ...
61547 * configure.ac: ... here. Change reference to configure.in
61548 to configure.ac.
61549 * sysdeps/arm/preconfigure.ac: ... here.
61550 configure.in to configure.ac.
61551 * sysdeps/gnu/configure.in: Moved to ...
61552 * sysdeps/gnu/configure.ac: ... here.
61553 * sysdeps/i386/configure.in: Moved to ...
61554 * sysdeps/i386/configure.ac: ... here.
61555 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61556 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61557 * sysdeps/mach/configure.in: Moved to ...
61558 * sysdeps/mach/configure.ac: ... here.
61559 * sysdeps/mach/hurd/configure.in: Moved to ...
61560 * sysdeps/mach/hurd/configure.ac: ... here.
61561 * sysdeps/powerpc/configure.in: Moved to ...
61562 * sysdeps/powerpc/configure.ac: ... here.
61563 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61564 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61565 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61566 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61567 * sysdeps/s390/s390-32/configure.in: Moved to ...
61568 * sysdeps/s390/s390-32/configure.ac: ... here.
61569 * sysdeps/s390/s390-64/configure.in: Moved to ...
61570 * sysdeps/s390/s390-64/configure.ac: ... here.
61571 * sysdeps/sh/configure.in: Moved to ...
61572 * sysdeps/sh/configure.ac: ... here.
61573 * sysdeps/sparc/configure.in: Moved to ...
61574 * sysdeps/sparc/configure.ac: ... here.
61575 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61576 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61577 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61578 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61579 * sysdeps/x86_64/configure.in: Moved to ...
61580 * sysdeps/x86_64/configure.ac: ... here.
61581 * sysdeps/x86_64/preconfigure.in: Moved to ...
61582 * sysdeps/x86_64/preconfigure.ac: ... here.
61583 * aclocal.m4: Change reference to configure.in to configure.ac.
61584 * config.h.in: Likewise.
61585 * manual/install.texi: Likewise.
61586 * manual/maint.texi: Likewise.
61587 * Makefile: Likewise.
61588 * malloc/Makefile: Likewise.
61589 * nscd/Makefile: Likewise.
61590 * Makeconfig: Change reference to configure.in and
61591 preconfigure.in to configure.ac and preconfigure.ac
61592 respectively.
61593 * INSTALL: Regenerated.
61594 * configure: Likewise.
61595 * sysdeps/gnu/configure: Likewise.
61596 * sysdeps/i386/configure: Likewise.
61597 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61598 * sysdeps/mach/configure: Likewise.
61599 * sysdeps/mach/hurd/configure: Likewise.
61600 * sysdeps/powerpc/configure: Likewise.
61601 * sysdeps/powerpc/powerpc32/configure: Likewise.
61602 * sysdeps/powerpc/powerpc64/configure: Likewise.
61603 * sysdeps/s390/s390-32/configure: Likewise.
61604 * sysdeps/s390/s390-64/configure: Likewise.
61605 * sysdeps/sh/configure: Likewise.
61606 * sysdeps/sparc/configure: Likewise.
61607 * sysdeps/unix/sysv/linux/configure: Likewise.
61608 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61609 * sysdeps/x86_64/configure: Likewise.
61610 * sysdeps/x86_64/preconfigure: Likewise.
61611
61612 2013-10-29 Andreas Schwab <schwab@suse.de>
61613
61614 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61615
61616 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61617
61618 * benchtests/pow-inputs: Add new inputs.
61619
61620 * benchtests/exp-inputs: Add new inputs.
61621
61622 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61623 conditional check for return value.
61624 (__cos32): Likewise.
61625
61626 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61627
61628 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61629 to provide a boost for large inputs with word alignment.
61630 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61631 implementation based on optimized PPC64 strcpy.
61632 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61633 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61634 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61635 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61636
61637 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61638
61639 [BZ #2801]
61640 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61641
61642 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61643
61644 [BZ #14876]
61645 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61646 * time/tst-strptime.c (day_tests): Add testcase.
61647
61648 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61649
61650 [BZ #14029]
61651 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61652
61653 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61654
61655 [BZ #16074]
61656 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61657 MAP_FAILED on error.
61658
61659 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61660
61661 [BZ #16072]
61662 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61663 heap for large requests.
61664
61665 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61666
61667 [BZ #9954]
61668 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61669 result if the result has no associated interface.
61670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61671 interface for all 127.X.Y.Z addresses.
61672
61673 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61674
61675 * locale/iso-639.def: Add Ligurian (lij)
61676
61677 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61678
61679 [BZ #15825]
61680 * sunrpc/rpc_main.c: Document rpcgen -5.
61681
61682 2013-10-19 Michael Stahl <mstahl@redhat.com>
61683
61684 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61685
61686 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61687
61688 [BZ #10278]
61689 * posix/glob.c: Match only directories when trailing slash is present.
61690 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61691 (main): Add testcase.
61692
61693 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61694
61695 [BZ #15670]
61696 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61697
61698 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61699
61700 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61701 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61702 AUTH_DES and cindex for FIPS 140-2.
61703 (DES Encryption): Add cindex FIPS 46-3.
61704
61705 * locale/locarchive.h (struct locarhandle): Add fname.
61706 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61707 if an optional argument was specified to --list-archive,
61708 otherwise NULL.
61709 * locale/programs/locarchive.c (show_archive_content): Take new
61710 argument fname and pass it via ah.fname to open_archive.
61711 * locale/programs/localedef.h: Update decl.
61712 (open_archive): If AH->fname is non-null, open that file
61713 rather than the default file name, and don't ignore ENOENT.
61714 (create_archive): Set AH.fname to NULL.
61715 (delete_locales_from_archive): Likewise.
61716 (add_locales_to_archive): Likewise.
61717 * locale/programs/locfile.c (write_all_categories): Likewise.
61718
61719 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61720 Aldy Hernandez <aldyh@redhat.com>
61721
61722 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61723 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61724 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61725 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61726 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61728 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61729 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61730 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61731 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61732 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61733 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61734 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61735 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61736 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61737 Likewise.
61738 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61739 Likewise.
61740 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61741 Likewise.
61742 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61743 Likewise.
61744 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61745 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61746 Likewise.
61747 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61748 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61749 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61750 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61751 Likewise.
61752 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61753 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61754 * sysdeps/powerpc/preconfigure: Likewise.
61755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61756 Likewise.
61757 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61758 Replace contents of file by #include of <fenv_libc.h>.
61759 * sysdeps/powerpc/soft-fp/sfp-machine.h
61760 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61761 and <sys/prctl.h>.
61762 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61775 Allow copysignl PLT reference to be missing.
61776
61777 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61778 Joseph Myers <joseph@codesourcery.com
61779
61780 [BZ #15948]
61781 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61782 single character.
61783 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61784
61785 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61786
61787 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61788 * elf/tst-tls1.c: Likewise.
61789 * elf/tst-tls10.h: Likewise.
61790 * elf/tst-tls14.c: Likewise.
61791 * elf/tst-tls2.c: Likewise.
61792 * elf/tst-tls3.c: Likewise.
61793 * elf/tst-tls4.c: Likewise.
61794 * elf/tst-tls5.c: Likewise.
61795 * elf/tst-tls6.c: Likewise.
61796 * elf/tst-tls7.c: Likewise.
61797 * elf/tst-tls8.c: Likewise.
61798 * elf/tst-tls9.c: Likewise.
61799 * elf/tst-tlsmod1.c: Likewise.
61800 * elf/tst-tlsmod13.c: Likewise.
61801 * elf/tst-tlsmod13a.c: Likewise.
61802 * elf/tst-tlsmod14a.c: Likewise.
61803 * elf/tst-tlsmod16a.c: Likewise.
61804 * elf/tst-tlsmod16b.c: Likewise.
61805 * elf/tst-tlsmod2.c: Likewise.
61806 * elf/tst-tlsmod3.c: Likewise.
61807 * elf/tst-tlsmod4.c: Likewise.
61808 * elf/tst-tlsmod5.c: Likewise.
61809 * elf/tst-tlsmod6.c: Likewise.
61810
61811 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61812
61813 [BZ #12486]
61814 * malloc/malloc.c: remove checks for statistics.
61815
61816 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61817
61818 [BZ #15277]
61819 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61820 * inet/tst-network.c: Add testcase.
61821
61822 2013-10-17 Andreas Schwab <schwab@suse.de>
61823
61824 [BZ #15218]
61825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61826 to determine canonical name.
61827
61828 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61829
61830 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61831 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61833 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61835 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61836 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61837 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61838 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61839 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61840 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61843 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61848 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61849 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61850 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61853 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61854 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61855 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61857 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61858 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61859 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61860 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61862 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61863 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61864 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61865 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61866 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61867 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61868 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61870 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61871 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61872 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61873 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61878 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61879 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61880 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61882 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61884 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61885 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61887 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61888
61889 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61890
61891 [BZ #16041]
61892 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61893 make result into a quiet NaN.
61894
61895 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61896
61897 * soft-fp/adddf3.c: Fix horizontal whitespace.
61898 * soft-fp/addsf3.c: Likewise.
61899 * soft-fp/addtf3.c: Likewise.
61900 * soft-fp/divdf3.c: Likewise.
61901 * soft-fp/divsf3.c: Likewise.
61902 * soft-fp/divtf3.c: Likewise.
61903 * soft-fp/double.h: Likewise.
61904 * soft-fp/eqdf2.c: Likewise.
61905 * soft-fp/eqsf2.c: Likewise.
61906 * soft-fp/eqtf2.c: Likewise.
61907 * soft-fp/extenddftf2.c: Likewise.
61908 * soft-fp/extended.h: Likewise.
61909 * soft-fp/extendsfdf2.c: Likewise.
61910 * soft-fp/extendsftf2.c: Likewise.
61911 * soft-fp/extendxftf2.c: Likewise.
61912 * soft-fp/fixdfdi.c: Likewise.
61913 * soft-fp/fixdfsi.c: Likewise.
61914 * soft-fp/fixdfti.c: Likewise.
61915 * soft-fp/fixsfdi.c: Likewise.
61916 * soft-fp/fixsfsi.c: Likewise.
61917 * soft-fp/fixsfti.c: Likewise.
61918 * soft-fp/fixtfdi.c: Likewise.
61919 * soft-fp/fixtfsi.c: Likewise.
61920 * soft-fp/fixtfti.c: Likewise.
61921 * soft-fp/fixunsdfdi.c: Likewise.
61922 * soft-fp/fixunsdfsi.c: Likewise.
61923 * soft-fp/fixunsdfti.c: Likewise.
61924 * soft-fp/fixunssfdi.c: Likewise.
61925 * soft-fp/fixunssfsi.c: Likewise.
61926 * soft-fp/fixunssfti.c: Likewise.
61927 * soft-fp/fixunstfdi.c: Likewise.
61928 * soft-fp/fixunstfsi.c: Likewise.
61929 * soft-fp/fixunstfti.c: Likewise.
61930 * soft-fp/floatdidf.c: Likewise.
61931 * soft-fp/floatdisf.c: Likewise.
61932 * soft-fp/floatditf.c: Likewise.
61933 * soft-fp/floatsidf.c: Likewise.
61934 * soft-fp/floatsisf.c: Likewise.
61935 * soft-fp/floatsitf.c: Likewise.
61936 * soft-fp/floattidf.c: Likewise.
61937 * soft-fp/floattisf.c: Likewise.
61938 * soft-fp/floattitf.c: Likewise.
61939 * soft-fp/floatundidf.c: Likewise.
61940 * soft-fp/floatundisf.c: Likewise.
61941 * soft-fp/floatunditf.c: Likewise.
61942 * soft-fp/floatunsidf.c: Likewise.
61943 * soft-fp/floatunsisf.c: Likewise.
61944 * soft-fp/floatunsitf.c: Likewise.
61945 * soft-fp/floatuntidf.c: Likewise.
61946 * soft-fp/floatuntisf.c: Likewise.
61947 * soft-fp/floatuntitf.c: Likewise.
61948 * soft-fp/fmadf4.c: Likewise.
61949 * soft-fp/fmasf4.c: Likewise.
61950 * soft-fp/fmatf4.c: Likewise.
61951 * soft-fp/gedf2.c: Likewise.
61952 * soft-fp/gesf2.c: Likewise.
61953 * soft-fp/getf2.c: Likewise.
61954 * soft-fp/ledf2.c: Likewise.
61955 * soft-fp/lesf2.c: Likewise.
61956 * soft-fp/letf2.c: Likewise.
61957 * soft-fp/muldf3.c: Likewise.
61958 * soft-fp/mulsf3.c: Likewise.
61959 * soft-fp/multf3.c: Likewise.
61960 * soft-fp/negdf2.c: Likewise.
61961 * soft-fp/negsf2.c: Likewise.
61962 * soft-fp/negtf2.c: Likewise.
61963 * soft-fp/op-1.h: Likewise.
61964 * soft-fp/op-2.h: Likewise.
61965 * soft-fp/op-4.h: Likewise.
61966 * soft-fp/op-8.h: Likewise.
61967 * soft-fp/op-common.h: Likewise.
61968 * soft-fp/quad.h: Likewise.
61969 * soft-fp/single.h: Likewise.
61970 * soft-fp/soft-fp.h: Likewise.
61971 * soft-fp/sqrtdf2.c: Likewise.
61972 * soft-fp/sqrtsf2.c: Likewise.
61973 * soft-fp/sqrttf2.c: Likewise.
61974 * soft-fp/subdf3.c: Likewise.
61975 * soft-fp/subsf3.c: Likewise.
61976 * soft-fp/subtf3.c: Likewise.
61977 * soft-fp/truncdfsf2.c: Likewise.
61978 * soft-fp/trunctfdf2.c: Likewise.
61979 * soft-fp/trunctfsf2.c: Likewise.
61980 * soft-fp/trunctfxf2.c: Likewise.
61981 * soft-fp/unorddf2.c: Likewise.
61982 * soft-fp/unordsf2.c: Likewise.
61983 * soft-fp/unordtf2.c: Likewise.
61984
61985 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61986
61987 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61988 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61989
61990 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61991
61992 * elf/dl-libc.c: Clear initfini list after freeing.
61993
61994 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61995
61996 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61997 * soft-fp/addsf3.c: Likewise.
61998 * soft-fp/addtf3.c: Likewise.
61999 * soft-fp/divdf3.c: Likewise.
62000 * soft-fp/divsf3.c: Likewise.
62001 * soft-fp/divtf3.c: Likewise.
62002 * soft-fp/double.h: Likewise.
62003 * soft-fp/eqdf2.c: Likewise.
62004 * soft-fp/eqsf2.c: Likewise.
62005 * soft-fp/eqtf2.c: Likewise.
62006 * soft-fp/extenddftf2.c: Likewise.
62007 * soft-fp/extended.h: Likewise.
62008 * soft-fp/extendsfdf2.c: Likewise.
62009 * soft-fp/extendsftf2.c: Likewise.
62010 * soft-fp/extendxftf2.c: Likewise.
62011 * soft-fp/fixdfdi.c: Likewise.
62012 * soft-fp/fixdfsi.c: Likewise.
62013 * soft-fp/fixdfti.c: Likewise.
62014 * soft-fp/fixsfdi.c: Likewise.
62015 * soft-fp/fixsfsi.c: Likewise.
62016 * soft-fp/fixsfti.c: Likewise.
62017 * soft-fp/fixtfdi.c: Likewise.
62018 * soft-fp/fixtfsi.c: Likewise.
62019 * soft-fp/fixtfti.c: Likewise.
62020 * soft-fp/fixunsdfdi.c: Likewise.
62021 * soft-fp/fixunsdfsi.c: Likewise.
62022 * soft-fp/fixunsdfti.c: Likewise.
62023 * soft-fp/fixunssfdi.c: Likewise.
62024 * soft-fp/fixunssfsi.c: Likewise.
62025 * soft-fp/fixunssfti.c: Likewise.
62026 * soft-fp/fixunstfdi.c: Likewise.
62027 * soft-fp/fixunstfsi.c: Likewise.
62028 * soft-fp/fixunstfti.c: Likewise.
62029 * soft-fp/floatdidf.c: Likewise.
62030 * soft-fp/floatdisf.c: Likewise.
62031 * soft-fp/floatditf.c: Likewise.
62032 * soft-fp/floatsidf.c: Likewise.
62033 * soft-fp/floatsisf.c: Likewise.
62034 * soft-fp/floatsitf.c: Likewise.
62035 * soft-fp/floattidf.c: Likewise.
62036 * soft-fp/floattisf.c: Likewise.
62037 * soft-fp/floattitf.c: Likewise.
62038 * soft-fp/floatundidf.c: Likewise.
62039 * soft-fp/floatundisf.c: Likewise.
62040 * soft-fp/floatunsidf.c: Likewise.
62041 * soft-fp/floatunsisf.c: Likewise.
62042 * soft-fp/floatuntidf.c: Likewise.
62043 * soft-fp/floatuntisf.c: Likewise.
62044 * soft-fp/floatuntitf.c: Likewise.
62045 * soft-fp/fmadf4.c: Likewise.
62046 * soft-fp/fmasf4.c: Likewise.
62047 * soft-fp/fmatf4.c: Likewise.
62048 * soft-fp/gedf2.c: Likewise.
62049 * soft-fp/gesf2.c: Likewise.
62050 * soft-fp/getf2.c: Likewise.
62051 * soft-fp/ledf2.c: Likewise.
62052 * soft-fp/lesf2.c: Likewise.
62053 * soft-fp/letf2.c: Likewise.
62054 * soft-fp/muldf3.c: Likewise.
62055 * soft-fp/mulsf3.c: Likewise.
62056 * soft-fp/multf3.c: Likewise.
62057 * soft-fp/negdf2.c: Likewise.
62058 * soft-fp/negsf2.c: Likewise.
62059 * soft-fp/negtf2.c: Likewise.
62060 * soft-fp/op-1.h: Likewise.
62061 * soft-fp/op-2.h: Likewise.
62062 * soft-fp/op-4.h: Likewise.
62063 * soft-fp/op-8.h: Likewise.
62064 * soft-fp/op-common.h: Likewise.
62065 * soft-fp/quad.h: Likewise.
62066 * soft-fp/single.h: Likewise.
62067 * soft-fp/soft-fp.h: Likewise.
62068 * soft-fp/sqrtdf2.c: Likewise.
62069 * soft-fp/sqrtsf2.c: Likewise.
62070 * soft-fp/sqrttf2.c: Likewise.
62071 * soft-fp/subdf3.c: Likewise.
62072 * soft-fp/subsf3.c: Likewise.
62073 * soft-fp/subtf3.c: Likewise.
62074 * soft-fp/truncdfsf2.c: Likewise.
62075 * soft-fp/trunctfdf2.c: Likewise.
62076 * soft-fp/trunctfsf2.c: Likewise.
62077 * soft-fp/trunctfxf2.c: Likewise.
62078 * soft-fp/unorddf2.c: Likewise.
62079 * soft-fp/unordsf2.c: Likewise.
62080 * soft-fp/unordtf2.c: Likewise.
62081
62082 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
62083
62084 [BZ #15672]
62085 * misc/error.c (error_tail): Fix possible buffer overflow.
62086
62087 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62088
62089 [BZ #13028]
62090 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62091 address.
62092
62093 2013-10-14 P. J. McDermott <pj@pehjota.net>
62094
62095 [BZ #832]
62096 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62097 testing pipefail option.
62098
62099 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62100
62101 * soft-fp/double.h: Indent preprocessor directives inside #if.
62102 * soft-fp/extended.h: Likewise.
62103 * soft-fp/op-2.h: Likewise.
62104 * soft-fp/op-4.h: Likewise.
62105 * soft-fp/op-common.h: Likewise.
62106 * soft-fp/quad.h: Likewise.
62107 * soft-fp/single.h: Likewise.
62108 * soft-fp/soft-fp.h: Likewise.
62109
62110 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62111
62112 * iconv/iconv_prog.c: Fix typos.
62113 * stdio-common/psiginfo-data.h: Likewise.
62114
62115 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62116
62117 [BZ #15764]
62118 * locale/setlocale.c: Fix typo.
62119
62120 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62121
62122 [BZ #16036]
62123 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62124 signaling NaN arguments.
62125 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62126 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62127
62128 [BZ #14910]
62129 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62130 unordered operands.
62131 * soft-fp/gesf2.c (__gesf2): Likewise.
62132 * soft-fp/getf2.c (__getf2): Likewise.
62133 * soft-fp/ledf2.c (__ledf2): Likewise.
62134 * soft-fp/lesf2.c (__lesf2): Likewise.
62135 * soft-fp/letf2.c (__letf2): Likewise.
62136
62137 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62138 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62139 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62140 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62141 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62142 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62143 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62144 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62145 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62146 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62147 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62148 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62149 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62150 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62151 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62152 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62153 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62154 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62155 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62156 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62157 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62158 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62159 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62160 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62161 * soft-fp/floattidf.c (__floattidf): Likewise.
62162 * soft-fp/floattisf.c (__floattisf): Likewise.
62163 * soft-fp/floattitf.c (__floattitf): Likewise.
62164 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62165 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62166 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62167 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62168 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62169 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62170 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62171 * soft-fp/gesf2.c (__gesf2): Likewise.
62172 * soft-fp/getf2.c (__getf2): Likewise.
62173 * soft-fp/ledf2.c (__ledf2): Likewise.
62174 * soft-fp/lesf2.c (__lesf2): Likewise.
62175 * soft-fp/letf2.c (__letf2): Likewise.
62176
62177 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62178 Undefine and redefine.
62179 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62180 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62181 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62182 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62183 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62184 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62185 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62186 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62187 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62188 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62189 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62190 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62191 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62192 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62193 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62194
62195 [BZ #16032]
62196 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62197 without decrementing exponent if mantissa >= that for the
62198 denominator, not >.
62199 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62200 denominator, not >. Decrement exponent in < case instead of
62201 incrementing in >= case.
62202 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62203 without decrementing exponent if mantissa >= that for the
62204 denominator, not >.
62205
62206 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62207 computing saturated result for unsigned overflow.
62208
62209 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62210 Jeff Law <law@redhat.com>
62211
62212 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62213 (atan2Mp): Add systemtap probe marker.
62214 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62215 (__ieee754_log): Add systemtap probe marker.
62216 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62217 (atanMp): Add systemtap probe marker.
62218 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62219 (tanMp): Add systemtap probe marker.
62220 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62221 (__slowexp): Add systemtap probe marker.
62222 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62223 (__slowpow): Add systemtap probe marker.
62224 * manual/probes.texi: Document probes.
62225
62226 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62227
62228 [BZ #15362]
62229 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62230 written.
62231 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62232 written.
62233 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62234 written to buffer but not flushed.
62235 * libio/iofwrite_u.c: Likewise.
62236 * libio/iopadn.c: Return bytes returned even if EOF was
62237 encountered.
62238 * libio/iowpadn.c: Likewise.
62239 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62240 if _IO_padn does not write the whole buffer.
62241 [!COMPILE_WPRINTF] (PAD): Likewise.
62242
62243 2013-10-10 David S. Miller <davem@davemloft.net>
62244
62245 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62246 directory block.
62247
62248 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62249
62250 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62251 instead of FSF address.
62252 * soft-fp/fixdfti.c: Likewise.
62253 * soft-fp/fixsfti.c: Likewise.
62254 * soft-fp/fixtfti.c: Likewise.
62255 * soft-fp/fixunsdfti.c: Likewise.
62256 * soft-fp/fixunssfti.c: Likewise.
62257 * soft-fp/fixunstfti.c: Likewise.
62258 * soft-fp/floattidf.c: Likewise.
62259 * soft-fp/floattisf.c: Likewise.
62260 * soft-fp/floattitf.c: Likewise.
62261 * soft-fp/floatuntidf.c: Likewise.
62262 * soft-fp/floatuntisf.c: Likewise.
62263 * soft-fp/floatuntitf.c: Likewise.
62264 * soft-fp/trunctfxf2.c: Likewise.
62265
62266 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62267 * soft-fp/fixdfti.c: Likewise.
62268 * soft-fp/fixsfti.c: Likewise.
62269 * soft-fp/fixtfti.c: Likewise.
62270 * soft-fp/fixunsdfti.c: Likewise.
62271 * soft-fp/fixunssfti.c: Likewise.
62272 * soft-fp/fixunstfti.c: Likewise.
62273 * soft-fp/floattidf.c: Likewise.
62274 * soft-fp/floattisf.c: Likewise.
62275 * soft-fp/floattitf.c: Likewise.
62276 * soft-fp/floatuntidf.c: Likewise.
62277 * soft-fp/floatuntisf.c: Likewise.
62278 * soft-fp/floatuntitf.c: Likewise.
62279 * soft-fp/trunctfxf2.c: Likewise.
62280
62281 2013-10-10 David S. Miller <davem@davemloft.net>
62282
62283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62284
62285 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62286
62287 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62288 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62289 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62290 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62291 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62292 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62293 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62294
62295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62296 for NaNs before doing comparisons on argument.
62297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62298 Likewise.
62299
62300 2013-10-10 Will Newton <will.newton@linaro.org>
62301
62302 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62303 passed to _int_memalign does not overflow.
62304
62305 2013-10-10 Torvald Riegel <triegel@redhat.com>
62306
62307 * scripts/bench.pl: Add include-sources directive.
62308 * benchtests/README: Update documentation.
62309
62310 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62311
62312 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62313 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62314 instead of FP_INIT_ROUNDMODE.
62315 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62316 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62317
62318 [BZ #16034]
62319 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62320 copy class of input value.
62321 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62322 not handle exceptions.
62323 * soft-fp/negsf2.c (__negsf2): Likewise.
62324 * soft-fp/negtf2.c (__negtf2): Likewise.
62325 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62326
62327 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62328
62329 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62330 semicolon. From Linux kernel.
62331
62332 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62333
62334 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62335
62336 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62337
62338 [BZ #156]
62339 * manual/socket.texi: Added statement about buffer
62340 for gethostbyname2_r.
62341
62342 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62343
62344 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62345 Use .p2align directive instead, throughout.
62346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62348 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62351 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62352 * sysdeps/x86_64/strchr.S: Likewise.
62353 * sysdeps/x86_64/strrchr.S: Likewise.
62354
62355 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62356
62357 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62358
62359 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62360
62361 * sysdeps/generic/math_private.h (__mpsin1): Remove
62362 declaration.
62363 (__mpcos1): Likewise.
62364 (__mpsin): New argument __range_reduce.
62365 (__mpcos): Likewise.
62366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62367 (slow): Use __mpsin and __mpcos.
62368 (slow1): Likewise.
62369 (slow2): Likewise.
62370 (sloww): Likewise.
62371 (sloww1): Likewise.
62372 (sloww2): Likewise.
62373 (bsloww): Likewise.
62374 (bsloww1): Likewise.
62375 (bsloww2): Likewise.
62376 (cslow2): Likewise.
62377 (csloww): Likewise.
62378 (csloww1): Likewise.
62379 (csloww2): Likewise.
62380 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62381 range_reduce. Merge in __mpsin1.
62382 (__mpcos): Likewise.
62383 (__mpsin1): Remove.
62384 (__mpcos1): Likewise.
62385
62386 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62387
62388 * locale/loadlocale.c (_nl_intern_locale_data): Use
62389 LOCFILE_ALIGNED_P.
62390 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62391 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62392 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62393 obstack data is appropriately aligned.
62394 (obstack_int32_grow_fast): Likewise.
62395 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62396 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62397 (add_locale_uint32_array): Likewise.
62398
62399 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62400
62401 * benchtests/Makefile: Remove ARGLIST and RET variables.
62402 ($(objpfx)bench-%.c): Pass only function name to the script.
62403 * benchtests/README: Update documentation.
62404 * benchtests/acos-inputs: Add new directives.
62405 * benchtests/acosh-inputs: Likewise.
62406 * benchtests/asin-inputs: Likewise.
62407 * benchtests/asinh-inputs: Likewise.
62408 * benchtests/atan-inputs: Likewise.
62409 * benchtests/atanh-inputs: Likewise.
62410 * benchtests/cos-inputs: Likewise.
62411 * benchtests/cosh-inputs: Likewise.
62412 * benchtests/exp-inputs: Likewise.
62413 * benchtests/log-inputs: Likewise.
62414 * benchtests/pow-inputs: Likewise.
62415 * benchtests/rint-inputs: Likewise.
62416 * benchtests/sin-inputs: Likewise.
62417 * benchtests/sinh-inputs: Likewise.
62418 * benchtests/tan-inputs: Likewise.
62419 * benchtests/tanh-inputs: Likewise.
62420 * scripts/bench.pl: Add support for new directives.
62421
62422 2013-10-07 Alan Modra <amodra@gmail.com>
62423
62424 * README: Fix careless merge.
62425
62426 2013-10-05 Alan Modra <amodra@gmail.com>
62427
62428 * NEWS: Mention powerpc64le support and bugs fixed.
62429 * README: Both big-endian and little-endian powerpc64 supported.
62430
62431 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62432
62433 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62434 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62435 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62436 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62437
62438 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62439
62440 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62441 match prototype.
62442
62443 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62444
62445 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62446 Move -mhard-float appending from
62447 ports/sysdeps/powerpc/powerpc32/Makefile.
62448 [$(with-fp) = yes] (ASFLAGS): Likewise.
62449 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62450 * sysdeps/powerpc/nofpu: Move directory from
62451 ports/sysdeps/powerpc/nofpu.
62452 * sysdeps/powerpc/soft-fp: Move directory from
62453 ports/sysdeps/powerpc/soft-fp.
62454 * sysdeps/powerpc/powerpc32/405: Move directory from
62455 ports/sysdeps/powerpc/powerpc32/405.
62456 * sysdeps/powerpc/powerpc32/440: Move directory from
62457 ports/sysdeps/powerpc/powerpc32/440.
62458 * sysdeps/powerpc/powerpc32/464: Move directory from
62459 ports/sysdeps/powerpc/powerpc32/464.
62460 * sysdeps/powerpc/powerpc32/476: Move directory from
62461 ports/sysdeps/powerpc/powerpc32/476.
62462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62463 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62465 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62467 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62469 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62471 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62472 * README: Update for powerpc-*-linux-gnu software floating point
62473 support in libc.
62474
62475 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62476 case to powerpc/powerpc32*.
62477 * sysdeps/unix/sysv/linux/configure: Regenerated.
62478
62479 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62480 (_FPU_MASK_OM): Define as 0x04.
62481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62483 0x00c10080.
62484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62485 0x0000003c.
62486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62487
62488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62489 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62490 getcontext_e500.
62491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62492 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62493 setcontext_e500.
62494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62495 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62496 and setcontext_e500.
62497
62498 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62499
62500 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62501
62502 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62503
62504 * manual/threads.texi (Default Thread Attributes): Fix typo.
62505
62506 2013-10-04 Will Newton <will.newton@linaro.org>
62507
62508 * malloc/Makefile: Add tst-memalign.
62509 * malloc/tst-memalign.c: New file.
62510
62511 * malloc/tst-posix_memalign.c: Add comments.
62512 (do_test): Add comments and call free on all potentially
62513 allocated pointers. Add space after cast.
62514
62515 * malloc/tst-pvalloc.c: Add comments.
62516 (do_test): Add comments and call free on all potentially
62517 allocated pointers. Remove duplicate check for NULL pointer.
62518 Add space after cast.
62519
62520 * malloc/tst-valloc.c: Add comments.
62521 (do_test): Add comments and call free on all potentially
62522 allocated pointers. Remove duplicate check for NULL pointer.
62523 Add space after cast.
62524
62525 2013-10-04 Alan Modra <amodra@gmail.com>
62526
62527 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62528 Use stdint types in rather than __attribute__((mode())).
62529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62530
62531 2013-10-04 Alan Modra <amodra@gmail.com>
62532
62533 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62534 Correct handling of unaligned relocs for little-endian.
62535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62536
62537 2013-10-04 Alan Modra <amodra@gmail.com>
62538
62539 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62540 * configure: Regenerate.
62541 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62542 * shlib-versions: Likewise.
62543
62544 2013-10-04 Alan Modra <amodra@gmail.com>
62545
62546 * string/tester.c (test_memrchr): Increment reported test cycle.
62547
62548 2013-10-04 Alan Modra <amodra@gmail.com>
62549
62550 * string/test-memcpy.c (do_one_test): When reporting errors, print
62551 string address and don't overrun end of string.
62552
62553 2013-10-04 Alan Modra <amodra@gmail.com>
62554
62555 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62556 insrdi. Make better use of reg selection to speed exit slightly.
62557 Schedule entry path a little better. Remove useless "are we done"
62558 checks on entry to main loop. Handle wrapping around zero address.
62559 Correct main loop count. Handle single left-over word from main
62560 loop inline rather than by using loop_small. Remove extra word
62561 case in loop_small caused by wrong loop count. Add little-endian
62562 support.
62563 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62565 cache hint.
62566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62568 support. Avoid rlwimi.
62569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62570
62571 2013-10-04 Alan Modra <amodra@gmail.com>
62572
62573 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62574 insrdi. Formatting.
62575 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62576 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62577 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62578 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62579 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62580 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62581
62582 2013-10-04 Alan Modra <amodra@gmail.com>
62583
62584 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62586 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62587 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62588 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62589 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62590 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62591 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62592 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62593 use of regs. Use power7 mtocrf. Tidy function tails.
62594
62595 2013-10-04 Alan Modra <amodra@gmail.com>
62596
62597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62598 Formatting. Consistently use rXXX register defines or rN defines.
62599 Use early exit labels that avoid restoring unused non-volatile regs.
62600 Make cr field use more consistent with rWORDn compares. Rename
62601 regs used as shift registers for unaligned loop, using rN defines
62602 for short lifetime/multiple use regs.
62603 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62605 addi 1,1,64 to pop stack frame. Simplify return value code.
62606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62607
62608 2013-10-04 Alan Modra <amodra@gmail.com>
62609
62610 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62611 support. Correct typos, formatting. Optimize tail. Use insrdi
62612 rather than rlwimi.
62613 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62614 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62615 little-endian support. Correct typos.
62616 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62617 rather than rlwimi.
62618 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62619 in loop and entry code to keep "and." results.
62620 (strchr): Add little-endian support. Comment. Move cntlzd
62621 earlier in tail.
62622 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62623
62624 2013-10-04 Alan Modra <amodra@gmail.com>
62625
62626 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62627 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62628 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62629 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62630
62631 2013-10-04 Alan Modra <amodra@gmail.com>
62632
62633 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62634 (rTMP): Define as r11.
62635 (strcmp): Add little-endian support. Optimise tail.
62636 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62637 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62638 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62639 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62640 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62643
62644 2013-10-04 Alan Modra <amodra@gmail.com>
62645
62646 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62647 little-endian support. Remove unnecessary "are we done" tests.
62648 Handle "s" wrapping around zero and extremely large "size".
62649 Correct main loop count. Handle single left-over word from main
62650 loop inline rather than by using small_loop. Correct comments.
62651 Delete "zero" tail, use "end_max" instead.
62652 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62653
62654 2013-10-04 Alan Modra <amodra@gmail.com>
62655
62656 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62657 support. Don't branch over align.
62658 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62659 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62660 support. Rearrange tmp reg use to suit. Comment.
62661 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62662
62663 2013-10-04 Alan Modra <amodra@gmail.com>
62664
62665 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62666
62667 2013-10-04 Alan Modra <amodra@gmail.com>
62668
62669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62670 conditional form of branch and link when obtaining pc.
62671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62672
62673 2013-10-04 Alan Modra <amodra@gmail.com>
62674
62675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62676 HIWORD/LOWORD.
62677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62679
62680 2013-10-04 Alan Modra <amodra@gmail.com>
62681
62682 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62683 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62684 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62685 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62686 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62688 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62690 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62691 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62692
62693 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62694 Alistair Popple <alistair@ozlabs.au.ibm.com>
62695 Alan Modra <amodra@gmail.com>
62696
62697 [BZ #15723]
62698 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62699 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62700 _dl_hwcap access for little-endian.
62701 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62702 destroy vmx regs when saving unaligned.
62703 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62704 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62705 destroy vmx regs when saving unaligned.
62706
62707 2013-10-04 Alan Modra <amodra@gmail.com>
62708
62709 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62710 Don't use a union to pack hi/low value.
62711
62712 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62713
62714 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62715 for little-endian.
62716 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62718 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62719 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62720 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62721
62722 2013-10-04 Alan Modra <amodra@gmail.com>
62723
62724 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62725 constants to usual value for .cst8 section, and remove redundant
62726 high address load.
62727 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62728 constant for 0x1p52. Load little-endian words of double from
62729 correct stack offsets.
62730
62731 2013-10-04 Alan Modra <amodra@gmail.com>
62732
62733 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62734 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62735 words of double from correct stack offsets.
62736 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62737 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62738 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62739 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62740 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62742 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62743 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62744 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62745 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62748 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62749 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62750 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62751 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62752 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62753
62754 2013-10-04 Alan Modra <amodra@gmail.com>
62755
62756 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62757 64-bit int/double union.
62758 (_FPU_SETCW): Likewise.
62759 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62760 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62761
62762 2013-10-04 Alan Modra <amodra@gmail.com>
62763
62764 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62765 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62766
62767 2013-10-04 Alan Modra <amodra@gmail.com>
62768
62769 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62770 use vector int constants.
62771 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62772
62773 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62774
62775 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62776 array with long long.
62777 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62778 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62779 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62780 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62781 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62782 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62783 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62784 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62785 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62786 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62787 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62788 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62789 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62790
62791 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62792
62793 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62794 (__signbit): Likewise. Correct for little-endian.
62795 (__signbitl): Call __signbit.
62796 (lrint): Correct for little-endian.
62797 (lrintf): Call lrint.
62798
62799 2013-10-04 Alan Modra <amodra@gmail.com>
62800
62801 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62802 union 32-bit int array member with 64-bit int array.
62803 (t515, tm256): Double rather than long double.
62804 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62805
62806 2013-10-04 Alan Modra <amodra@gmail.com>
62807
62808 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62809 Delete.
62810 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62812 version of math_ldbl.h.
62813
62814 2013-10-04 Alan Modra <amodra@gmail.com>
62815
62816 [BZ #15734], [BZ #15735]
62817 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62818 all uses of ieee875 long double macros and unions. Simplify test
62819 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62820 ldbl_extract_mantissa value for ix,iy exponents. Properly
62821 normalize after ldbl_extract_mantissa, and don't add hidden bit
62822 already handled. Don't treat low word of ieee854 mantissa like
62823 low word of IBM long double and mask off bit when testing for
62824 zero.
62825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62826 all uses of ieee875 long double macros and unions. Simplify tests
62827 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62828 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62829 two1022, instead use their values. Recognise that tests for large
62830 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62831 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62832 Rewrite all uses of ieee875 long double macros and unions. Simplify
62833 test for 0.0L and nan. Correct negation.
62834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62835 ieee875 long double macros and unions. Correct output for large
62836 magnitude x. Correct absolute value calculation.
62837 (__erfcl): Likewise.
62838 * math/libm-test.inc: Add tests for errors discovered in IBM long
62839 double versions of fmodl, remainderl, erfl and erfcl.
62840
62841 2013-10-04 Alan Modra <amodra@gmail.com>
62842
62843 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62844 all uses of ieee854 long double macros and unions. Simplify tests
62845 for long doubles that are fully specified by the high double.
62846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62847 Likewise.
62848 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62849 Remove dead code too.
62850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62851 (__ieee754_ynl): Likewise.
62852 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62853 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62855 Remove dead code too.
62856 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62858 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62860 Simplify.
62861 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62862 Simplify.
62863 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62865 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62866 Comment on variable precision.
62867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62869 Likewise.
62870 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62874 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62875
62876 2013-10-04 Alan Modra <amodra@gmail.com>
62877
62878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62879 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62880 all uses of ieee854 long double macros and unions.
62881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62883 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62885 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62886 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62887 Likewise.
62888 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62891 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62892 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62893 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62894 Simplify sign and nan test too.
62895 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62896 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62897 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62898 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62899 Likewise.
62900 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62901 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62902 Likewise.
62903 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62904 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62905 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62906 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62907 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62909
62910 2013-10-04 Alan Modra <amodra@gmail.com>
62911
62912 * stdio-common/printf_size.c (__printf_size): Don't use
62913 union ieee854_long_double in fpnum union.
62914 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62915 signbit macro to retrieve sign from long double.
62916 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62917 retrieve sign from long double.
62918 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62919 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62920 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62921 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62922 * math/test-misc.c (main): Don't use union ieee854_long_double.
62923
62924 2013-10-04 Alan Modra <amodra@gmail.com>
62925
62926 [BZ #15680]
62927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62928 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62929 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62930 calculation. Remove unnecessary test for denormal exponent.
62931 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62932 Correct handling of denormals. Avoid undefined shift behaviour.
62933 Correct normalisation of low mantissa when low double is denormal.
62934 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62935 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62936 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62937 Correct normalisation of low mantissa. Test for overflow of high
62938 mantissa and normalise.
62939 (ldbl_nearbyint): Use more readable constant for two52.
62940 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62941 (__mpn_construct_long_double): Fix test for overflow of high
62942 mantissa and correct normalisation. Avoid undefined shift.
62943
62944 2013-10-04 Alan Modra <amodra@gmail.com>
62945
62946 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62947 (union ibm_extended_long_double): Define as an array of ieee754_double.
62948 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62949 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62950 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62951 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62953 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62954 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62955 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62956 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62957 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62958 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62959
62960 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62961
62962 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62963 page size instead of calling getpagesize.
62964
62965 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62966 (LOCFILE_ALIGN_MASK): Likewise.
62967 (LOCFILE_ALIGN_UP): Likewise.
62968 (LOCFILE_ALIGNED_P): Likewise.
62969 * locale/programs/ld-collate.c (collate_output): Use the new
62970 macros instead of __alignof__ (int32_t).
62971 * locale/weight.h (findidx): Likewise.
62972
62973 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62974
62975 [BZ #431]
62976 * manual/string.texi: Fix strncat and wcsncat.
62977
62978 2013-10-03 Brooks Moses <bmoses@google.com>
62979
62980 [BZ #15915]
62981 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62982 * Makerules: ...here, and adjust associated comments.
62983
62984 2013-10-02 Will Newton <will.newton@linaro.org>
62985
62986 * malloc/Makefile: Add tst-pvalloc.
62987 * malloc/tst-pvalloc.c: New file.
62988
62989 2013-10-02 Will Newton <will.newton@linaro.org>
62990
62991 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62992 improve test coverage.
62993
62994 2013-10-02 Will Newton <will.newton@linaro.org>
62995
62996 * malloc/Makefile: Add tst-posix_memalign.
62997 * malloc/tst-posix_memalign.c: New file.
62998
62999 2013-10-01 Eric Blake <eblake@redhat.com>
63000
63001 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63002 Use __THROWNL rather than __THROW on static functions.
63003
63004 2013-09-30 Petr Machata <pmachata@redhat.com>
63005
63006 * elf/elf.h (R_AARCH64_ABS16): New macro.
63007 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63008 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63009 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63010 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63011 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63012 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63013 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63014 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63015 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63016 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63017 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63018 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63019 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63020 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63021 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63022 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63023 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63024 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63025 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63026 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63027 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63028 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63029 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63030 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63031 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63032 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63033 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63034 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63035 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63036 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63037 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63038 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63039 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63040 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63041 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63042 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63043 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63044 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63045 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63046 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63047 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63048 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63049 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63050 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63051 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63052 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63053 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63054 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63055 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63056 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63057 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63058 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63059 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63060 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63061 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63062 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63063 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63064 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63065 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63066 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63067 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63068 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63069 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63070 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63071 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63072 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63073 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63074 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63075 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63076 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63077 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63078 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63079 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63080 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63081 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63082 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63083 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63084 (R_AARCH64_TLSDESC_LDR): Likewise.
63085 (R_AARCH64_TLSDESC_ADD): Likewise.
63086 (R_AARCH64_TLSDESC_CALL): Likewise.
63087
63088 2013-09-30 Andreas Schwab <schwab@suse.de>
63089
63090 [BZ #15048]
63091 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63092 the nss database lookup.
63093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63095
63096 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63097
63098 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63099
63100 2013-09-28 P. J. McDermott <pj@pehjota.net>
63101
63102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63103 ${Bash-specific parameter/pattern/string} parameter expansion.
63104 * sysdeps/unix/make-syscalls.sh: Likewise.
63105
63106 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63107
63108 * sysdeps/sh/stackguard-macros.h: New file.
63109
63110 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
63111
63112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63114 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63116 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63117 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63118
63119 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63120
63121 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63122 Fix thread ID register.
63123
63124 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63125
63126 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63127 [POSIX || UNIX98]: Require rather than permitting all symbols from
63128 <time.h>.
63129 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63130 element of struct sched_param.
63131 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63132 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63133 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63134 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63135 constant.
63136
63137 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63138
63139 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63140 argument calculation.
63141
63142 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63143
63144 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63145 Expect macro.
63146 [POSIX] (pthread_attr_t): Do not require type.
63147 [POSIX] (pthread_cond_t): Likewise.
63148 [POSIX] (pthread_condattr_t): Likewise.
63149 [POSIX] (pthread_key_t): Likewise.
63150 [POSIX] (pthread_mutex_t): Likewise.
63151 [POSIX] (pthread_mutexattr_t): Likewise.
63152 [POSIX] (pthread_once_t): Likewise.
63153 [POSIX] (pthread_t): Likewise.
63154 [POSIX-based standards] (pthread_atfork): Expect function.
63155
63156 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63157 Richard Sandiford <richard@codesourcery.com>
63158
63159 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63160 (swap_endianness_p): New extern variable.
63161 (set_big_endian): New inline function.
63162 (maybe_swap_uint32): Likewise.
63163 (maybe_swap_uint32_array): Likewise.
63164 (maybe_swap_uint32_obstack): Likewise.
63165 * locale/programs/locfile.c: Include <stdbool.h>.
63166 (swap_endianness_p): New variable.
63167 (add_locale_uint32): Call maybe_swap_uint32.
63168 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63169 (write_locale_data): Call maybe_swap_uint32_array.
63170 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63171 maybe_swap_uint32.
63172 (obstack_int32_grow_fast): Likewise.
63173 (output_weightwc): Call maybe_swap_uint32_obstack.
63174 (collate_output): Likewise.
63175 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63176 (OPT_LITTLE_ENDIAN): Likewise.
63177 (options): Add --little-endian and --big-endian options.
63178 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63179 * locale/programs/locarchive.c: Include "locfile.h".
63180 (GET): New macro.
63181 (SET): Likewise.
63182 (INC): Likewise.
63183 (create_archive): Use the new macros to access fields of
63184 structures directly mapped from or written to locale archives.
63185 (oldlocrecentcmp): Likewise.
63186 (enlarge_archive): Likewise.
63187 (insert_name): Likewise.
63188 (add_alias): Likewise.
63189 (add_locale): Likewise.
63190 (delete_locales_from_archive): Likewise.
63191 (show_archive_content): Likewise.
63192 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63193 locale data.
63194
63195 2013-09-24 Roland McGrath <roland@hack.frob.com>
63196
63197 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63198 http://www.gnu.org/doc/freemanuals.texi.
63199 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63200
63201 2013-09-24 Will Newton <will.newton@linaro.org>
63202
63203 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63204 macro.
63205
63206 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63207
63208 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63209 unsigned char.
63210
63211 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63212
63213 * manual/threads.texi (POSIX Threads): Fix a typo.
63214
63215 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63216
63217 [BZ #14547]
63218 * string/tst-strcoll-overflow.c: New test case.
63219 * string/Makefile (xtests): Add tst-strcoll-overflow.
63220 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63221 cache if string sizes may cause integer overflow.
63222
63223 [BZ #14547]
63224 * string/strcoll_l.c (coll_seq): New members rule, idx,
63225 save_idx and back_us.
63226 (get_next_seq_nocache): New function.
63227 (do_compare_nocache): New function.
63228 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63229 when malloc fails.
63230
63231 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63232
63233 [BZ #15754]
63234 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63235 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63236 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63237
63238 [BZ #15754]
63239 * elf/Makefile (tests): Add tst-ptrguard1.
63240 (tests-static): Add tst-ptrguard1-static.
63241 (tst-ptrguard1-ARGS): Define.
63242 (tst-ptrguard1-static-ARGS): Define.
63243 * elf/tst-ptrguard1.c: New file.
63244 * elf/tst-ptrguard1-static.c: New file.
63245 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63246 * sysdeps/i386/stackguard-macros.h: Likewise.
63247 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63248 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63249 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63250 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63251 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63252 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63253
63254 2013-09-23 Hector Marco <hecmargi@upv.es>
63255 Ismael Ripoll <iripoll@disca.upv.es>
63256 Carlos O'Donell <carlos@redhat.com>
63257
63258 [BZ #15754]
63259 * sysdeps/generic/stackguard-macros.h: Define
63260 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63261 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63262 Define __pointer_chk_guard_local.
63263 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63264 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63265
63266 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63267
63268 [BZ #15859]
63269 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63270
63271 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63272
63273 * include/string.h (__ffs): Declare as hidden.
63274 * string/ffs.c (__ffs): Define as hidden.
63275 * sysdeps/i386/ffs.c (__ffs): Likewise.
63276 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63277 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63278 * sysdeps/s390/ffs.c (__ffs): Likewise.
63279 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63280
63281 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63282
63283 * NEWS: Mention malloc probes.
63284
63285 * malloc/arena.c (new_heap): New memory_heap_new probe.
63286 (grow_heap): New memory_heap_more probe.
63287 (shrink_heap): New memory_heap_less probe.
63288 (heap_trim): New memory_heap_free probe.
63289 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63290 (systrim): New memory_sbrk_less probe.
63291 * manual/probes.texi: Document them.
63292
63293 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63294 * manual/probes.texi: Document it.
63295
63296 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63297 (__libc_realloc): Add memory_realloc_retry probe.
63298 (__libc_memalign): Add memory_memalign_retry probe.
63299 (__libc_valloc): Add memory_valloc_retry probe.
63300 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63301 (__libc_calloc): Add memory_calloc_retry probe.
63302 * manual/probes.texi: Document them.
63303
63304 * malloc/arena.c (get_free_list): Add probe
63305 memory_arena_reuse_free_list.
63306 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63307 and memory_arena_reuse.
63308 (arena_get2) [!PER_THREAD]: Likewise.
63309 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63310 memory_arena_reuse_realloc.
63311 * manual/probes.texi: Document them.
63312
63313 * malloc/malloc.c (__libc_free): Add
63314 memory_mallopt_free_dyn_thresholds probe.
63315 (__libc_mallopt): Add multiple memory_mallopt probes.
63316 * manual/probes.texi: Document them.
63317
63318 * malloc/malloc.c: Include stap-probe.h.
63319 (__libc_mallopt): Add memory_mallopt probe.
63320 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63321 * manual/probes.texi: New.
63322 * manual/Makefile (chapters): Add probes.
63323 * manual/threads.texi: Set next node.
63324
63325 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63326
63327 [BZ #15963, #13985]
63328 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63329 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63330 Add `Chinese' to `nan' entry name.
63331
63332 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63333
63334 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63335 (POLYNOMIAL): Likewise.
63336 (TAYLOR_SINCOS): Likewise.
63337 (TAYLOR_SLOW): Likewise.
63338 (__sin): Use TAYLOR_SINCOS.
63339 (__cos): Likewise.
63340 (slow): Use TAYLOR_SLOW.
63341 (sloww): Likewise.
63342 (bsloww): Likewise.
63343 (csloww): Likewise.
63344
63345 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63346
63347 * stdlib/strtod_l.c: Fix buffer overrun.
63348
63349 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63350
63351 * benchtests/Makefile (bench): Add sincos.
63352 * benchtests/bench-sincos.c: New file.
63353
63354 * math/libm-test.inc (cos_test_data): New test inputs.
63355 (sin_test_data): Likewise.
63356
63357 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63358 macro.
63359 (__sin): Use it.
63360 (__cos): Likewise.
63361 (slow1): Likewise.
63362 (slow2): Likewise.
63363 (sloww1): Likewise.
63364 (sloww2): Likewise.
63365 (bsloww1): Likewise.
63366 (bsloww2): Likewise.
63367 (cslow2): Likewise.
63368 (csloww1): Likewise.
63369 (csloww2): Likewise.
63370
63371 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63372 function.
63373 (__sin): Use it.
63374 (__cos): Likewise.
63375
63376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63377 gotos.
63378 (__cos): Likewise.
63379
63380 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63381
63382 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63383 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63384 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63385 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63386 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63387 * elf/cache.c (print_entry): Handle the new cache flags.
63388
63389 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63390 Aldy Hernandez <aldyh@redhat.com>
63391
63392 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63393 Change condition to [_SOFT_FLOAT].
63394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63406 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63409 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63410 declaration.
63411
63412 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63413
63414 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63415 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63416 (__longjmp): Use LOAD_GP to load saved GPRs.
63417 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63418 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63419 (__sigsetjmp): Use SAVE_GP to save GPRs.
63420
63421 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63422 Do not append -msoft-float.
63423 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63424
63425 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63426
63427 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63428
63429 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63430
63431 [BZ #15966]
63432 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63433 (_FPU_GETCW): Use initial "__" on variable and field names but not
63434 on macro parameter name.
63435 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63436 parentheses around reference to macro parameter.
63437
63438 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63439
63440 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63441 prototype.
63442 (ctype_startup): Use uint32_t in cast and sizeof for
63443 ctype->charnames.
63444
63445 2013-09-11 Jia Liu <proljc@gmail.com>
63446
63447 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63448 __daddr_t_defined.
63449 [__FreeBSD__]: Likewise.
63450
63451 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63452
63453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63454 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63455 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63456 (strchr): Remove __strchr_sse42 ifunc selection.
63457 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63458 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63459
63460 2013-09-11 Will Newton <will.newton@linaro.org>
63461
63462 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63463 parameter to RES. Remove hardcoded 1000 value.
63464 * benchtests/bench-skeleton.c (main): Pass RES parameter
63465 to TIMING_INIT and multiply result by 1000.
63466
63467 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63468
63469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63470
63471 2013-09-11 Andreas Schwab <schwab@suse.de>
63472
63473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63474 if not defined.
63475 (O_TMPFILE) [__USE_GNU]: Define.
63476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63477 Define.
63478
63479 2013-09-11 Will Newton <will.newton@linaro.org>
63480
63481 [BZ #15857]
63482 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63483 does not overflow.
63484
63485 2013-09-11 Will Newton <will.newton@linaro.org>
63486
63487 [BZ #15856]
63488 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63489 does not overflow.
63490
63491 2013-09-11 Will Newton <will.newton@linaro.org>
63492
63493 [BZ #15855]
63494 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63495 does not overflow.
63496
63497 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63498
63499 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63500 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63502 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63503 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63504
63505 2013-09-10 Allan McRae <allan@archlinux.org>
63506
63507 [BZ #15748]
63508 * manual/arith.texi (Parsing of Floats): Clarify
63509 cross-reference.
63510
63511 [BZ #15849]
63512 * manual/install.texi (Running make install): Mention
63513 --enable-pt-chown.
63514 * INSTALL: Regenerated.
63515
63516 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63517
63518 * csu/init-first.c (_init): Remove the !SHARED condition around
63519 FPU control word initialization.
63520 * elf/dl-support.c (_dl_fpu_control): New variable.
63521 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63522 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63523 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63524 * math/test-fpucw-static.c: New file.
63525 * math/test-fpucw-ieee.c: New file.
63526 * math/test-fpucw-ieee-static.c: New file.
63527 * math/Makefile (tests): Add `test-fpucw-ieee' and
63528 `$(tests-static)'.
63529 (tests-static): New variable.
63530 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63531 dependency to...
63532 [($(build-shared),yes)]
63533 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63534 ... this.
63535 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63536 New dependency.
63537
63538 2013-09-09 Allan McRae <allan@archlinux.org>
63539
63540 [BZ #15939]
63541 * manual/string.texi (Collation Functions): Fix typo in
63542 strcoll example.
63543 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63544
63545 [BZ #15893]
63546 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63547
63548 [BZ #15892]
63549 * libio/memstream.c (open_memstream): Fix memory leak.
63550 * libio/wmemstream.c (open_wmemstream): Likewise.
63551
63552 [BZ #15895]
63553 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63554
63555 2013-09-09 Will Newton <will.newton@linaro.org>
63556
63557 * malloc/Makefile: Add tst-realloc to tests.
63558 * malloc/tst-realloc.c: New file.
63559
63560 2013-09-09 Allan McRae <allan@archlinux.org>
63561
63562 [BZ #15844]
63563 * COPYING: Update from GNU website to fix FSF address.
63564 * COPYING.LIB: Likewise.
63565
63566 2013-09-06 David S. Miller <davem@davemloft.net>
63567
63568 * po/zh_TW.po: Update Chinese (traditional) translation from
63569 translation project.
63570
63571 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63572 Joseph Myers <joseph@codesourcery.com>
63573
63574 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63575 "localeinfo.h".
63576 (obstack_chunk_alloc): New macro.
63577 (obstack_chunk_free): Likewise.
63578 (record_offset): New function.
63579 (init_locale_data): Likewise.
63580 (align_locale_data): Likewise.
63581 (add_locale_empty): Likewise.
63582 (add_locale_raw_data): Likewise.
63583 (add_locale_raw_obstack): Likewise.
63584 (add_locale_string): Likewise.
63585 (add_locale_wstring): Likewise.
63586 (add_locale_uint32): Likewise.
63587 (add_locale_uint32_array): Likewise.
63588 (add_locale_char): Likewise.
63589 (start_locale_structure): Likewise.
63590 (end_locale_structure): Likewise.
63591 (start_locale_prelude): Likewise.
63592 (end_locale_prelude): Likewise.
63593 (write_locale_data): Take locale_file structure rather than an
63594 iovec.
63595 * locale/programs/locfile.h: Include "obstack.h".
63596 (struct locale_file): Change to store locale file contents instead
63597 of header.
63598 (init_locale_data): New prototype.
63599 (align_locale_data): Likewise.
63600 (add_locale_empty): Likewise.
63601 (add_locale_raw_data): Likewise.
63602 (add_locale_raw_obstack): Likewise.
63603 (add_locale_string): Likewise.
63604 (add_locale_wstring): Likewise.
63605 (add_locale_uint32): Likewise.
63606 (add_locale_uint32_array): Likewise.
63607 (add_locale_char): Likewise.
63608 (start_locale_structure): Likewise.
63609 (end_locale_structure): Likewise.
63610 (start_locale_prelude): Likewise.
63611 (end_locale_prelude): Likewise.
63612 (write_locale_data): Update prototype.
63613 * locale/programs/3level.h (struct TABLE): Remove result field.
63614 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63615 Use new locale_file interface.
63616 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63617 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63618 * locale/programs/ld-address.c (address_output): Use new
63619 locale_file interface.
63620 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63621 NO_ADD_LOCALE.
63622 (collate_finish): Don't call collseq_table_finalize.
63623 (collate_output): Use new locale_file interface.
63624 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63625 in file.
63626 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63627 (TABLE): Move defines earlier in file.
63628 (ELEMENT): Likewise.
63629 (DEFAULT): Likewise.
63630 (wctrans_table_add): Move macro and inline function earlier in
63631 file.
63632 (struct wctype_table): Move type earlier in file.
63633 (add_locale_wctype_table): New static prototype.
63634 (struct locale_ctype_t): Use logical types instead of struct iovec
63635 pointers for members.
63636 (ctype_output): Use new locale_file interface.
63637 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63638 new locale_file interface.
63639 (allocate_arrays): Update for use of new locale_file interface.
63640 * locale/programs/ld-identification.c (identification_output): Use
63641 new locale_file interface.
63642 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63643 * locale/programs/ld-messages.c (messages_output): Likewise.
63644 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63645 * locale/programs/ld-name.c (name_output): Likewise.
63646 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63647 * locale/programs/ld-paper.c (paper_output): Likewise.
63648 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63649 * locale/programs/ld-time.c (time_output): Likewise.
63650
63651 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63652
63653 * benchtests/Makefile: Add memrchr benchmark.
63654 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63655 benchmark as memrchr.
63656 * benchtests/bench-memrchr-ifunc.c: New file.
63657 * benchtests/bench-memrchr.c: New file.
63658
63659 2013-09-06 Will Newton <will.newton@linaro.org>
63660
63661 * benchtests/Makefile (string-bench): Add memcpy.
63662
63663 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63664 Cong Wang <amwang@redhat.com>
63665
63666 [BZ #15850]
63667 * sysdeps/unix/sysv/linux/bits/in.h
63668 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63669 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63670 before __USE_KERNEL_IPV6_DEFS uses.
63671 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63672 IPPROTO_BEETPH.
63673 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63674 sockaddr_in6, or ipv6_mreq.
63675
63676 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63677
63678 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63679 memory access for final bytes in some large inputs.
63680 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63681
63682 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63683
63684 * string/test-memrchr.c: New file.
63685 * string/test-memrchr-ifunc.c: New file.
63686 * string/Makefile: Add new memrchr testcase.
63687
63688 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63689
63690 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63691 fanotify_init returns EPERM.
63692
63693 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63694
63695 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63696 errors.
63697 (top level): Treat second token from macro or constant entries for
63698 allowed headers as allowed.
63699 * include/complex.h: Condition internal declarations on
63700 [!_ISOMAC].
63701 * include/fenv.h: Condition include of <stdbool.h> and internal
63702 declarations on [!_ISOMAC].
63703
63704 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63705
63706 [BZ #15923]
63707 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63708
63709 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63710
63711 * configure.in (--enable-versioning): Remove configure option.
63712 (libc_cv_asm_symver_directive): Remove configure test.
63713 (libc_cv_ld_version_script_option): Likewise.
63714 (VERSIONING): Remove variable and AC_SUBST.
63715 (DO_VERSIONING): Remove AC_DEFINE.
63716 * configure: Regenerated.
63717 * config.h.in (DO_VERSIONING): Remove macro.
63718 * Makerules [$(versioning) = yes]: Change conditionals to
63719 [$(build-shared) = yes].
63720 * config.make.in (versioning): Remove variable.
63721 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63722 [$(build-shared) = yes].
63723 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63724 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63725 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63726 [$(build-shared) = yes].
63727 * extra-lib.mk [$(versioning) = yes]: Likewise.
63728 * hurd/Makefile [$(versioning) = yes]: Likewise.
63729 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63730 [SHARED].
63731 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63732 [SHARED].
63733 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63734 [SHARED && !NO_HIDDEN].
63735 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63736 [SHARED].
63737 [SHARED && DO_VERSIONING]: Likewise..
63738 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63739 [$(build-shared) = yes].
63740 * manual/install.texi (--disable-versioning): Remove
63741 documentation.
63742 * INSTALL: Regenerated.
63743 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63744 to [SHARED].
63745 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63746 [$(build-shared) = yes].
63747 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63748 * sysdeps/i386/i686/multiarch/strstr-c.c
63749 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63750 [SHARED && !NO_HIDDEN].
63751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63752 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63753 * sysdeps/powerpc/powerpc32/dl-machine.c
63754 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63755 * sysdeps/powerpc/powerpc32/sysdep.h
63756 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63757 to [SHARED && PIC && !NO_HIDDEN].
63758 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63759 conditional to [SHARED].
63760
63761 2013-09-04 Will Newton <will.newton@linaro.org>
63762
63763 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63764 * benchtests/bench-string.h: Include bench-timing.h instead
63765 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63766 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63767 call to HP_TIMING_DIFF_INIT.
63768 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63769 instead of hp-timing.h macros.
63770 * benchtests/bench-memchr.c: Likewise.
63771 * benchtests/bench-memcmp.c: Likewise.
63772 * benchtests/bench-memcpy.c: Likewise.
63773 * benchtests/bench-memmem.c: Likewise.
63774 * benchtests/bench-memmove.c: Likewise.
63775 * benchtests/bench-memset.c: Likewise.
63776 * benchtests/bench-rawmemchr.c: Likewise.
63777 * benchtests/bench-strcasecmp.c: Likewise.
63778 * benchtests/bench-strcasestr.c: Likewise.
63779 * benchtests/bench-strcat.c: Likewise.
63780 * benchtests/bench-strchr.c: Likewise.
63781 * benchtests/bench-strcmp.c: Likewise.
63782 * benchtests/bench-strcpy.c: Likewise.
63783 * benchtests/bench-strcpy_chk.c: Likewise.
63784 * benchtests/bench-strlen.c: Likewise.
63785 * benchtests/bench-strncasecmp.c: Likewise.
63786 * benchtests/bench-strncat.c: Likewise.
63787 * benchtests/bench-strncmp.c: Likewise.
63788 * benchtests/bench-strncpy.c: Likewise.
63789 * benchtests/bench-strnlen.c: Likewise.
63790 * benchtests/bench-strpbrk.c: Likewise.
63791 * benchtests/bench-strrchr.c: Likewise.
63792 * benchtests/bench-strspn.c: Likewise.
63793 * benchtests/bench-strstr.c: Likewise.
63794
63795 2013-09-04 Will Newton <will.newton@linaro.org>
63796
63797 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63798
63799 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63800
63801 [BZ #15427]
63802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63803 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63804 * math/libm-test.inc (lgamma_test_data): Add more tests.
63805 * sysdeps/i386/fpu/libm-test-ulps: Update.
63806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63807
63808 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63809
63810 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63812 Add ifunc.
63813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63814 Add strcmp-sse2-unaligned
63815 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63816
63817 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63818
63819 * Versions.def (libc): Add GLIBC_2.19.
63820
63821 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63822
63823 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63824 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63825
63826 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63827
63828 [BZ #14155]
63829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63830 intermediate calculations in recurrence.
63831 (__ieee754_ynf): Likewise.
63832 * math/libm-test.inc (jn_test_data): Do not allow spurious
63833 underflow exception. Add more tests.
63834 (yn_test_data): Add more tests.
63835 * sysdeps/i386/fpu/libm-test-ulps: Update.
63836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63837
63838 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63839
63840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63841
63842 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63843
63844 * csu/init-first.c: Fix then/than typos.
63845 * locale/programs/ld-collate.c: Likewise.
63846 * locale/programs/linereader.h: Likewise.
63847 * manual/charset.texi: Likewise.
63848 * manual/filesys.texi: Likewise.
63849 * manual/stdio.texi: Likewise.
63850 * manual/string.texi: Likewise.
63851 * stdlib/fmtmsg.c: Likewise.
63852 * sysdeps/i386/stpncpy.S: Likewise.
63853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63854 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63855 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63856 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63857
63858 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63859
63860 * elf/dl-open.c: Fix typos.
63861 * iconvdata/gbbig5.c: Likewise.
63862 * iconvdata/iso-2022-jp.c: Likewise.
63863 * iconv/gconv_int.h: Likewise.
63864 * iconv/loop.c: Likewise.
63865 * nis/rpcsvc/nis.h: Likewise.
63866 * resolv/ns_name.c: Likewise.
63867 * stdio-common/vfscanf.c: Likewise.
63868 * streams/stropts.h: Likewise.
63869 * sunrpc/rpc_thread.c: Likewise.
63870 * sysdeps/i386/strpbrk.S: Likewise.
63871 * sysdeps/ieee754/k_standard.c: Likewise.
63872 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63874 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63875 * sysdeps/mach/hurd/profil.c: Likewise.
63876 * sysdeps/s390/dl-procinfo.h: Likewise.
63877 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63878 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63879 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63880 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63881 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63882
63883 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63884
63885 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63887
63888 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63889
63890 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63891 aix specific files.
63892 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63893 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63895 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63896 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63897 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63898 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63899 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63900
63901 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63902 Roland McGrath <roland@hack.frob.com>
63903
63904 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63905 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63906
63907 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63908
63909 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63910 __executable_start symbol instead of _start.
63911
63912 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63913
63914 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63915 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63916 Move macros to...
63917 * sysdeps/gnu/ldsodefs.h: ... this new file.
63918
63919 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63920 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63921 instead of ELFOSABI_LINUX.
63922
63923 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63924 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63925 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63926 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63927 Likewise.
63928 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63929 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63930 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63931 Likewise.
63932 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63933 (ibm_extended_long_double): Add ieee_nan member.
63934 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63935 (do_test): New function.
63936
63937 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63938 TEST_TRUNC.
63939 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63940 functions, renamed from truncdfsf_test, trunctfsf_test,
63941 trunctfdf_test.
63942 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63943 functions.
63944 (do_test): Run all these.
63945
63946 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63947
63948 * argp/argp-help.c: Fix typos.
63949 * argp/argp-parse.c: Likewise.
63950 * debug/backtracesyms.c: Likewise.
63951 * elf/elf.h: Likewise.
63952 * malloc/malloc.c: Likewise.
63953 * nis/nis_print.c: Likewise.
63954 * resolv/res_comp.c: Likewise.
63955 * stdlib/stdlib.h: Likewise.
63956 * sunrpc/clnt_tcp.c: Likewise.
63957 * sunrpc/clnt_udp.c: Likewise.
63958 * sunrpc/clnt_unix.c: Likewise.
63959 * sysdeps/unix/bsd/ptsname.c: Likewise.
63960 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63961 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63963 Likewise.
63964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63965 Likewise.
63966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63967 Likewise.
63968 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63969
63970 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63971
63972 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63974
63975 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63976
63977 [BZ #15897]
63978 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63979 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63980 ($(objpfx)bug-dl-leaf): New rule.
63981 ($(objpfx)bug-dl-leaf.so): Likewise.
63982 ($(objpfx)bug-dl-leaf.out): Likewise.
63983 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63984 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63985 * dlfcn/bug-dl-leaf.c: New test.
63986 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63987 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63988 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63989 (dlclose): Likewise.
63990 (dlmopen): Likewise.
63991
63992 2013-08-27 Roland McGrath <roland@hack.frob.com>
63993
63994 * include/netdb.h [!_ISOMAC]:
63995 Don't include <tls.h>.
63996 (h_errno, __libc_h_errno): Move declaration and macros out of
63997 [_LIBC_REENTRANT].
63998
63999 * include/resolv.h [_RESOLV_H_]:
64000 Don't include <tls.h>.
64001 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64002 * resolv/res_libc.c: Don't include <tls.h>.
64003 (_res): Use __attribute__ ((nocommon)) in place of
64004 __attribute__ ((section (".bss"))).
64005
64006 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64007 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64008
64009 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64010
64011 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64012 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64013
64014 * resolv/res_mkquery.c: Include <sys/time.h>.
64015
64016 * inet/ifreq.c: Moved to ...
64017 * sysdeps/unix/ifreq.c: ... here.
64018 * inet/ifreq.c: New file, true stub version.
64019
64020 * socket/sa_len.c: New file.
64021 * socket/Makefile (aux): Add it.
64022 * sysdeps/unix/sysv/linux/Makefile
64023 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64024 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64025 and #include <socket/sa_len.c>.
64026 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64027 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64028
64029 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64030 * bits/socket.h: ... here.
64031
64032 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64033 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64034 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64035
64036 2013-08-27 Andreas Schwab <schwab@suse.de>
64037
64038 [BZ #15736]
64039 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64040 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64041 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64042 * string/test-strcasecmp.c (test_main): Run tests in several
64043 locales.
64044 * string/test-strncasecmp.c (test_main): Likewise.
64045
64046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64047 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64048 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64050 (__strncasecmp_ssse3) [PIC]: Likewise.
64051
64052 2013-08-26 Roland McGrath <roland@hack.frob.com>
64053
64054 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64055
64056 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64057 instead of explicitly declaring xdecrypt.
64058 * nis/nss_nis/nis-publickey.c: Likewise.
64059
64060 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64061
64062 [BZ #15890]
64063 * nscd/aicache.c: Include res_hconf.h.
64064 (addhstaiX): Initialize res_hconf.
64065
64066 2013-08-26 Andreas Schwab <schwab@suse.de>
64067
64068 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64069 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64070
64071 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64072
64073 * nscd/aicache.c (addhstaiX): Fix indentation.
64074
64075 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64076
64077 * configure.ac: Quote $build_pt_chown test.
64078 * configure: Regenerated.
64079
64080 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64081
64082 [BZ #15532]
64083 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64084 * math/s_cexpf.c (__cexpf): Likewise.
64085 * math/s_cexpl.c (__cexpl): Likewise.
64086 * math/libm-test.inc (cexp_test_data): Correct expected return
64087 value for NaN + i0. Add another test.
64088
64089 2013-08-22 David S. Miller <davem@davemloft.net>
64090
64091 * po/ca.po: Update Catalan translation from translation project.
64092 * po/uk.po: Add Ukrainian translations from translation project.
64093
64094 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64095
64096 [BZ #15797]
64097 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64098 is infinite, not alongside NaN test.
64099 * math/s_fdimf.c (__fdimf): Likewise.
64100 * math/s_fdiml.c (__fdiml): Likewise.
64101 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64102 errno is unchanged.
64103
64104 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
64105
64106 * argp/argp-help.c: Fix typos.
64107 * crypt/speeds.c: Likewise.
64108 * csu/check_fds.c: Likewise.
64109 * elf/dl-load.c: Likewise.
64110 * elf/dl-open.c: Likewise.
64111 * elf/reldep3.c: Likewise.
64112 * elf/reldep.c: Likewise.
64113 * elf/sprof.c: Likewise.
64114 * iconv/iconv_charmap.c: Likewise.
64115 * iconv/skeleton.c: Likewise.
64116 * iconv/strtab.c: Likewise.
64117 * io/lockf64.c: Likewise.
64118 * libio/libioP.h: Likewise.
64119 * resolv/gai_notify.c: Likewise.
64120 * resolv/ns_name.c: Likewise.
64121 * resolv/ns_samedomain.c: Likewise.
64122 * resolv/res_send.c: Likewise.
64123 * stdlib/random.c: Likewise.
64124 * sunrpc/rpc/xdr.h: Likewise.
64125 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64127 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64128 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64131 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64132 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64133 * sysdeps/mach/hurd/check_fds.c: Likewise.
64134 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64135 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64136 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64138 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64139 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64140 * sysdeps/pthread/aio_notify.c: Likewise.
64141 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64142 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64143 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64144 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64145 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64146
64147 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64148
64149 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64150 version if bit_Slow_SSE4_2 is set.
64151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64153
64154 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64155
64156 [BZ #15867]
64157 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64158 trampoline stack frame information.
64159 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64161 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64162 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64163 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64164 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64165 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64166 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64167 sa_flags value.
64168 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64169 interrupting a syscall and set with option SA_SIGINFO.
64170
64171 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64172
64173 [BZ #15531]
64174 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64175 argument is infinite.
64176 * math/s_cprojf.c (__cprojf): Likewise.
64177 * math/s_cprojl.c (__cprojl): Likewise.
64178 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64179 * math/libm-test.inc (cproj_test_data): Add more tests.
64180
64181 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64182
64183 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64184 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64185 size. Use __ffs to determine corresponding shift.
64186
64187 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64188 Roland McGrath <roland@hack.frob.com>
64189
64190 * Makefile (INSTALL): Remove trailing blank lines from output of
64191 makeinfo.
64192
64193 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64194
64195 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64196 Align 32 bit compat elf_greg to 8 bytes.
64197
64198 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64199
64200 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64201
64202 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64203
64204 * string/strcoll_l.c (coll_seq): New structure.
64205 (get_next_seq_cached): New function.
64206 (get_next_seq): New function.
64207 (do_compare): New function.
64208 (STRCOLL): Use GNU style definition. Simplify implementation
64209 by using get_next_seq, get_next_seq_cached and do_compare.
64210
64211 2013-08-16 Florian Weimer <fweimer@redhat.com>
64212
64213 [BZ #14699]
64214 CVE-2013-4237
64215 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64216 member.
64217 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64218 member.
64219 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64220 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64221 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64222 conditional.
64223 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64224 GETDENTS_64BIT_ALIGNED.
64225 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64226 * manual/filesys.texi (Reading/Closing Directory): Document
64227 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64228 strongly.
64229 * manual/conf.texi (Limits for Files): Add portability note to
64230 NAME_MAX, PATH_MAX.
64231 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64232
64233 2013-08-13 Andreas Schwab <schwab@suse.de>
64234
64235 [BZ #15749]
64236 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64237 of fabs.
64238 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64239 LDBL_MAX_EXP >= 16384]: Add tests for it.
64240
64241 2013-08-12 David S. Miller <davem@davemloft.net>
64242
64243 * version.h (RELEASE): Set to "development".
64244 (VERSION): Set to "2.18.90".
64245 * NEWS: Add 2.19 section.
64246
64247 2013-08-03 David S. Miller <davem@davemloft.net>
64248
64249 * po/ko.po: Update Korean translation from translation project.
64250
64251 2013-08-01 David S. Miller <davem@davemloft.net>
64252
64253 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64254 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64255 Bilka.
64256
64257 2013-07-30 David S. Miller <davem@davemloft.net>
64258
64259 * po/fr.po: Update French translation from translation project.
64260
64261 2013-07-28 David S. Miller <davem@davemloft.net>
64262
64263 * po/cs.po: Update Czech translation from translation project.
64264
64265 * po/sv.po: Update Swedish translation from translation project.
64266
64267 2013-07-27 David S. Miller <davem@davemloft.net>
64268
64269 * po/eo.po: Update Esperanto translation from translation project.
64270
64271 * po/vi.po: Update Vietnamese translation from translation project.
64272
64273 * po/de.po: Update German translation from translation project.
64274
64275 2013-07-26 David S. Miller <davem@davemloft.net>
64276
64277 * po/bg.po: Update Bulgarian translation from translation project.
64278
64279 * po/nl.po: Update Dutch translation from translation project.
64280 * po/pl.po: Update Polish translation from translation project.
64281 * po/ru.po: Update Russian translation from translation project.
64282
64283 2013-07-24 David S. Miller <davem@davemloft.net>
64284
64285 * po/libc.pot: Update.
64286
64287 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64288
64289 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64290 variable page size.
64291 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64292 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64293 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64294
64295 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64296
64297 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64298
64299 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64300 Andreas Schwab <schwab@suse.de>
64301 Roland McGrath <roland@hack.frob.com>
64302 Joseph Myers <joseph@codesourcery.com>
64303 Carlos O'Donell <carlos@redhat.com>
64304
64305 [BZ #15755]
64306 * config.h.in: Define HAVE_PT_CHOWN.
64307 * config.make.in (build-pt-chown): New variable.
64308 * configure.in (--enable-pt_chown): New configure option.
64309 * configure: Regenerate.
64310 * login/Makefile: Include Makeconfig. Build pt_chown only if
64311 build-pt-chown is enabled.
64312 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64313 pt_chown to fix pty ownership.
64314 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64315 CLOSE_ALL_FDS.
64316 * manual/install.texi (Configuring and compiling): Mention
64317 --enable-pt_chown. Add @findex for grantpt.
64318 * INSTALL: Regenerate.
64319
64320 2013-07-20 David S. Miller <davem@davemloft.net>
64321
64322 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64323 difference between 32-bit and 64-bit.
64324
64325 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64326
64327 [BZ #15711]
64328 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64329 Avoid system header dependency with -ffreestanding.
64330 ($(objpfx)bits/syscall%d): Likewise.
64331
64332 2013-07-13 David S. Miller <davem@davemloft.net>
64333
64334 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64335 underflows from atanl/atan2l due to bug 15319.
64336 (casinh_test_data): Likewise.
64337
64338 2013-07-07 David S. Miller <davem@davemloft.net>
64339
64340 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64341
64342 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64343
64344 * sysdeps/i386/fpu/libm-test-ulps: Update.
64345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64346
64347 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64348
64349 * configure.in (--enable-lock-elision): Fix message text.
64350 * INSTALL: Regenerate.
64351 * configure: Regenerate.
64352
64353 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64354
64355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64356
64357 2013-07-03 Andreas Jaeger <aj@suse.de>
64358
64359 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64360 define.
64361 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64362 (ptrace_peeksiginfo_args): Add.
64363 (__ptrace_peeksiginfo_flags): Add.
64364 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64367
64368 2013-07-03 Allan McRae <allan@archlinux.org>
64369
64370 * sysdeps/i386/fpu/libm-test-ulps: Update.
64371
64372 2013-07-02 David S. Miller <davem@davemloft.net>
64373
64374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64375
64376 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64377
64378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64379
64380 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64381
64382 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64384
64385 2013-07-02 Andi Kleen <ak@linux.intel.com>
64386
64387 * config.h.in (ENABLE_LOCK_ELISION): Add.
64388 * configure.in (--enable-lock-elision): Add option.
64389 * manual/install.texi: Document --enable lock elision.
64390 * configure: Regenerate
64391 * INSTALL: Regenerate.
64392
64393 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64394
64395 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64396 SSE4.2 strcasecmp for libc.a.
64397 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64398
64399 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64400
64401 [BZ #13304]
64402 * soft-fp/op-common.h (_FP_FMA): New macro.
64403 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64404 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64405 (_FP_MUL_MEAT_1_imm): ... here.
64406 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64407 (_FP_MUL_MEAT_1_wide): ... here.
64408 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64409 (_FP_MUL_MEAT_1_hard): ... here.
64410 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64411 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64412 (_FP_MUL_MEAT_2_wide): ... here.
64413 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64414 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64415 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64416 (_FP_MUL_MEAT_2_gmp): ... here.
64417 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64418 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64419 (_FP_MUL_MEAT_4_wide): ... here.
64420 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64421 (_FP_MUL_MEAT_4_gmp): ... here.
64422 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64423 (_FP_WFRACBITS_DW_S): Likewise.
64424 (_FP_WFRACXBITS_DW_S): Likewise.
64425 (_FP_HIGHBIT_DW_S): Likewise.
64426 (FP_FMA_S): Likewise.
64427 (_FP_FRAC_HIGH_DW_S): Likewise.
64428 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64429 (_FP_WFRACBITS_DW_D): Likewise.
64430 (_FP_WFRACXBITS_DW_D): Likewise.
64431 (_FP_HIGHBIT_DW_D): Likewise.
64432 (FP_FMA_D): Likewise.
64433 (_FP_FRAC_HIGH_DW_D): Likewise.
64434 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64435 (_FP_WFRACBITS_DW_E): Likewise.
64436 (_FP_WFRACXBITS_DW_E): Likewise.
64437 (_FP_HIGHBIT_DW_E): Likewise.
64438 (FP_FMA_E): Likewise.
64439 (_FP_FRAC_HIGH_DW_E): Likewise.
64440 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64441 (_FP_WFRACBITS_DW_Q): Likewise.
64442 (_FP_WFRACXBITS_DW_Q): Likewise.
64443 (_FP_HIGHBIT_DW_Q): Likewise.
64444 (FP_FMA_Q): Likewise.
64445 (_FP_FRAC_HIGH_DW_Q): Likewise.
64446 * soft-fp/fmasf4.c: New file.
64447 * soft-fp/fmadf4.c: Likewise.
64448 * soft-fp/fmatf4.c: Likewise.
64449
64450 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64451
64452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64453 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64454 Silvermont.
64455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64456 macro.
64457 (index_Slow_SSE4_2): Likewise.
64458 (index_Prefer_PMINUB_for_stringop): Likewise.
64459 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64460 bit_Slow_SSE4_2 is set.
64461 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64463
64464 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64465
64466 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64467 rtld_global._dl_hwcap2.
64468 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64469 POWER8.
64470 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64471 POWER8 feature descriptions defined in _dl_hwcap2.
64472 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64473 string handling for POWER8 feature bits.
64474 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64475 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64476 _dl_powerpc_cap_flags.
64477 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64478 * sysdeps/powerpc/rtld-global-offsets.sym
64479 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64480 _dl_hwcap2 in the rtld_global_ro structure.
64481
64482 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64483
64484 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64485 hardware capabilities in support of AT_HWCAP2.
64486 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64487 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64488 GLRO(dl_hwcap2).
64489 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64490 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64491 explicitly the unknown a_type display mechanism is used.
64492 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64493 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64494 struct member.
64495 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64496 to macro prototype for AT_HWCAP2 support.
64497 * sysdeps/i386/dl-procinfo.h: Likewise.
64498 * sysdeps/s390/dl-procinfo.h: Likewise.
64499 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64500 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64501 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64502 return -1 for unknown a_type display fallback.
64503 * sysdeps/sparc/dl-procinfo.h: Likewise.
64504 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64505 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64506
64507 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64508
64509 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64510 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64511
64512 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64513
64514 [BZ #12492]
64515 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64516 mprotect making __stack_prot writable.
64517
64518 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64519 Joseph Myers <joseph@codesourcery.com>
64520
64521 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64522 as being properly aligned.
64523
64524 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64525
64526 * dlfcn/modstatic5.c: New file.
64527 * dlfcn/tststatic5.c: New file.
64528 * dlfcn/Makefile (tests): Add tststatic5.
64529 (tests-static): Likewise.
64530 (modules-names): Add modstatic5.
64531 (tststatic5-ENV): New variable.
64532 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64533
64534 [BZ #15022]
64535 * elf/dl-support.c (_dl_main_map): New variable.
64536 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64537 (_dl_nns, _dl_load_adds): Set to 1.
64538 (_dl_initial_searchlist): Refer to _dl_main_map.
64539 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64540 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64541 call to _dl_get_origin.
64542 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64543 around call_map.
64544 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64545 * dlfcn/modstatic3.c: New file.
64546 * dlfcn/tststatic3.c: New file.
64547 * dlfcn/tststatic4.c: New file.
64548 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64549 (tests-static): Likewise.
64550 (modules-names): Add modstatic3.
64551 (tststatic3-ENV, tststatic4-ENV): New variables.
64552 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64553 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64554
64555 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64556
64557 * configure.in (CC): Require GCC version 4.4 or later.
64558 * configure: Regenerated.
64559 * manual/install.texi (Tools for Compilation): Update GCC version
64560 requirement.
64561 * INSTALL: Regenerated.
64562
64563 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64564
64565 [BZ #15674]
64566 * string/test-memcmp.c (check2): New.
64567 (main): Call check2.
64568
64569 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64570
64571 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64572
64573 [BZ #15022]
64574 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64575 over to...
64576 (dl_open_worker) [!SHARED]: ... here.
64577
64578 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64579
64580 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64581
64582 2013-06-25 Richard Henderson <rth@redhat.com>
64583
64584 * locale/programs/locarchive.c: Include <libc-internal.h>
64585
64586 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64587
64588 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64589 trailing whitespace removed.
64590
64591 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64592
64593 [BZ #10283]
64594 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64595 * locale/programs/locarchive.c: Include libc-mmap.h.
64596 (prepare_address_space): Take two new outputs (the mmap base and len).
64597 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64598 values.
64599 (create_archive): Declare new mmap base and len values for
64600 prepare_address_space, and store the result in ah.
64601 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64602 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64603 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64604 Declare new mmap base and len values for
64605 prepare_address_space, and store the result in new_ah.
64606 (open_archive): Declare new mmap base and len values for
64607 prepare_address_space, and store the result in ah.
64608 (close_archive): If ah->mmap_base is not NULL, use that and
64609 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64610 * sysdeps/generic/libc-mmap.h: New file.
64611
64612 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64613
64614 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64615 (ALIGN_UP): Likewise.
64616 (PTR_ALIGN_DOWN): Likewise.
64617 (PTR_ALIGN_UP): Likewise.
64618
64619 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64620
64621 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64622 entry mapped to PPC_PLATFORM_POWER8.
64623 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64624 POWER8.
64625 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64626 (_dl_string_platform): Add case for exporting platform position for
64627 POWER8.
64628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64629 search path to sysdeps/powerpc/powerpc32/power8 directory.
64630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64631 search path to sysdeps/powerpc/powerpc64/power8 directory.
64632 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64633 power7 directories.
64634 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64635 power7 directories.
64636
64637 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64638
64639 * INSTALL: Regenerate.
64640
64641 * nscd/connections.c (nscd_init): Fix comment.
64642
64643 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64644
64645 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64646
64647 [BZ #15667]
64648 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64649 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64650
64651 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64652
64653 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64654 DL_DST_REQ_STATIC.
64655 (DL_DST_REQ_STATIC): Remove macro.
64656
64657 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64658
64659 [BZ #7006]
64660 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64661 with a shift of 0 bits.
64662
64663 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64664
64665 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64666 $(tststatic-ENV).
64667
64668 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64669
64670 [BZ #15655]
64671 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64672
64673 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64674
64675 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64676 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64677 accepts -fno-tree-loop-distribute-patterns.
64678 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64679 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64680 recursive call.
64681 * string/memset.c (memset): Likewise.
64682 * string/test-memmove.c (simple_memmove): Disable loop transformation
64683 to library calls.
64684 * string/test-memset.c (simple_memset): Likewise.
64685 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64686 * benchtests/bench-memset.c (simple_memset): Likewise.
64687 * configure: Regenerated.
64688
64689 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64690
64691 * math/test-misc.c (main): Ignore fesetround failure when failures
64692 of subsequent rounding tests would be ignored.
64693
64694 [BZ #15654]
64695 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64696 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64697 * math/fegetenv.c (__fegetenv): Return 0.
64698 * math/fegetexcept.c (fegetexcept): Return 0.
64699 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64700 FE_TONEAREST.
64701 * math/feholdexcpt.c (feholdexcept): Return 0.
64702 * math/fesetenv.c (__fesetenv): Return 0.
64703 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64704 argument FE_TONEAREST.
64705 * math/feupdateenv.c (__feupdateenv): Return 0.
64706 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64707
64708 2013-06-18 Roland McGrath <roland@hack.frob.com>
64709
64710 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64711 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64712 ($(objpfx)rtld-%.os rules): Use them.
64713
64714 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64715
64716 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64717 fields.
64718
64719 2013-06-17 Roland McGrath <roland@hack.frob.com>
64720
64721 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64722 length of target pattern, then descending length of dependency pattern.
64723 * configure.in (AWK): Require gawk 3.1.2 or newer.
64724 * manual/install.texi (Tools for Compilation): Say that we do.
64725 * configure: Regenerated.
64726
64727 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64728 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64729 * scripts/sysd-rules.awk: ... this new script.
64730 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64731 than a glob-style pattern.
64732
64733 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64734
64735 * math/test-misc.c (main): Do not treat incorrectly rounded
64736 conversions as failure unless ROUNDING_TESTS passes.
64737
64738 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64739
64740 [BZ #15631]
64741 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64742 restore exception state around main square root computation, then
64743 check for inexactness explicitly.
64744
64745 * math/libm-test.inc (fma_test_data): Add another test.
64746
64747 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64748
64749 * manual/threads.texi (Non-POSIX Extensions): New document
64750 node. Document pthread_getattr_default_np and
64751 pthread_setattr_default_np.
64752
64753 * Versions.def (libpthread): Add GLIBC_2.18.
64754 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64756 Likewise.
64757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64758 Likewise.
64759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64760 Likewise.
64761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64762 Likewise.
64763 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64764 Likewise.
64765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64766 Likewise.
64767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64768 Likewise.
64769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64770 Likewise.
64771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64772 Likewise.
64773
64774 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64775
64776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64777 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64778
64779 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64780 H.J. Lu <hjl.tools@gmail.com>
64781
64782 [BZ #15627]
64783 * sysdeps/x86_64/rtld-memset.c: Remove file.
64784 * sysdeps/x86_64/rtld-memset.S: New file.
64785
64786 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64787
64788 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64789 (test_in_one_mode): Take arguments for whether the rounding mode
64790 is supported for each floating-point type.
64791 (do_test): Pass new arguments to test_in_one_mode using
64792 ROUNDING_TESTS.
64793
64794 2013-06-13 Roland McGrath <roland@hack.frob.com>
64795
64796 * posix/tst-waitid.c (do_test): Distinguish different instances of
64797 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64798 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64799 before entering the kernel for waitpid.
64800
64801 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64802
64803 * NEWS: Fix note on clock function precision. Text by Roland
64804 McGrath.
64805
64806 2013-06-13 Roland McGrath <roland@hack.frob.com>
64807
64808 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64809 it into place only when and if the sanity check passes.
64810
64811 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64812
64813 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64814 output for whether conversion result is exact. Take argument
64815 indicating whether type is IBM long double.
64816 (round_for_all): Change need_exact field to ibm_ld.
64817 * stdlib/tst-strtod-round.c (struct exactness): New type.
64818 (struct test): Change bool ld_ok field to struct exactness exact.
64819 (TEST): Update all definitions for change to field.
64820 (tests): Regenerate array contents.
64821 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64822 field value. Check for IBM long double here.
64823 (do_test): Update calls to test_in_one_mode.
64824
64825 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64826
64827 [BZ #12515]
64828 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64829 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64830
64831 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64832
64833 [BZ #15605]
64834 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64835 generated by the compiler on loop optimizations.
64836 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64837 general definitions.
64838
64839 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64840
64841 * math/bug-nextafter.c: Include <math-tests.h>.
64842 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64843 the relevant type.
64844 * math/bug-nexttoward.c: Include <math-tests.h>.
64845 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64846 the relevant type.
64847 * math/test-misc.c: Include <math-tests.h>.
64848 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64849 the relevant type.
64850
64851 2013-06-12 Andreas Jaeger <aj@suse.de>
64852
64853 * po/ia.po: Update Interlingua translation from translation
64854 project.
64855
64856 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64857
64858 * include/fenv.h: Include stdbool.h.
64859 (struct rm_ctx): New structure.
64860 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64861 Define macro.
64862 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64863 (SET_RESTORE_ROUNDF): Likewise.
64864 (SET_RESTORE_ROUNDL): Likewise.
64865 (SET_RESTORE_ROUND_NOEX): Likewise.
64866 (SET_RESTORE_ROUND_NOEXF): Likewise.
64867 (SET_RESTORE_ROUND_NOEXL): Likewise.
64868 (SET_RESTORE_ROUND_53BIT): Likewise.
64869 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64870 (libc_feresetround_noexf_ctx): Likewise.
64871 (libc_feresetround_noexl_ctx): Likewise.
64872 (libc_feholdsetround_53bit_ctx): Likewise.
64873 (libc_feresetround_53bit_ctx): Likewise.
64874 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64875 (libc_feholdexcept_setround_sse_ctx): New function.
64876 (libc_fesetenv_sse_ctx): Likewise.
64877 (libc_feupdateenv_sse_ctx): Likewise.
64878 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64879 (libc_feholdexcept_setround_387_ctx): Likewise.
64880 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64881 (libc_feholdsetround_387_prec_ctx): Likewise.
64882 (libc_feholdsetround_387_ctx): Likewise.
64883 (libc_feholdsetround_387_53bit_ctx): Likewise.
64884 (libc_feholdsetround_sse_ctx): Likewise.
64885 (libc_feresetround_sse_ctx): Likewise.
64886 (libc_feresetround_387_ctx): Likewise.
64887 (libc_feupdateenv_387_ctx): Likewise.
64888 (libc_feholdexcept_setroundf_ctx): Define macro.
64889 (libc_fesetenvf_ctx): Likewise.
64890 (libc_feupdateenvf_ctx): Likewise.
64891 (libc_feholdsetroundf_ctx): Likewise.
64892 (libc_feresetroundf_ctx): Likewise.
64893 (libc_feholdexcept_setround_ctx): Likewise.
64894 (libc_fesetenv_ctx): Likewise.
64895 (libc_feupdateenv_ctx): Likewise.
64896 (libc_feholdsetround_ctx): Likewise.
64897 (libc_feresetround_ctx): Likewise.
64898 (libc_feholdexcept_setroundl_ctx): Likewise.
64899 (libc_feupdateenvl_ctx): Likewise.
64900 (libc_feholdsetroundl_ctx): Likewise.
64901 (libc_feresetroundl_ctx): Likewise.
64902 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64903 (libc_feresetround_53bit_ctx): Likewise.
64904
64905 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64906
64907 * locale/iso-639.def: Convert to UTF-8.
64908
64909 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64910
64911 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64912 (EXCEPTION_TESTS_double): Likewise.
64913 (EXCEPTION_TESTS_long_double): Likewise.
64914 (EXCEPTION_TESTS): Likewise.
64915 * math/libm-test.inc (test_exceptions): Only test exceptions if
64916 EXCEPTION_TESTS (FLOAT).
64917
64918 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64919
64920 * benchtests/Makefile (string-bench): Add strcpy_chk and
64921 stpcpy_chk.
64922 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64923 * benchtests/bench-stpcpy_chk.c: New file.
64924 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64925 * benchtests/bench-strcpy_chk.c: New file.
64926 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64927 code.
64928 (do_test): Likewise.
64929
64930 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64931
64932 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64933 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64934 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64935 with tabs where appropriate.
64936 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64937 dl-procinfo.h.
64938 [PPC_PLATFORM_PPC440]: Likewise.
64939 [PPC_PLATFORM_PPC464]: Likewise.
64940 [PPC_PLATFORM_PPC476]: Likewise.
64941 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64942 ppc464, and ppc476 platform strings merging from ports/
64943 dl-procinfo.h.
64944
64945 2013-06-11 Andreas Schwab <schwab@suse.de>
64946
64947 [BZ #14991]
64948 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64949 (from_ucs4_idx): Regenerate.
64950 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64951 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64952 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64953 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64954 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64955 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64956 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64957 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64958 from FROM_LOOP and TO_LOOP specific macros.
64959 (BODY): Handle combining characters.
64960 * iconvdata/BIG5HKSCS.irreversible: Update.
64961 * iconvdata/BIG5HKSCS.precomposed: New file.
64962 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64963 characters.
64964 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64965
64966 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64967
64968 * include/sys/time.h: Fix indentation and add copyright header.
64969
64970 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64971 (do_test): Likewise.
64972 * string/test-memchr.c (do_one_test): Likewise.
64973 (do_test): Likewise.
64974 * string/test-memcmp.c (do_one_test): Likewise.
64975 (do_test): Likewise.
64976 * string/test-memcpy.c (do_one_test): Likewise.
64977 (do_test): Likewise.
64978 * string/test-memmem.c (do_one_test): Likewise.
64979 (do_test): Likewise.
64980 (do_random_tests): Likewise.
64981 * string/test-memmove.c (do_one_test): Likewise.
64982 (do_test): Likewise.
64983 * string/test-memset.c (do_one_test): Likewise.
64984 (do_test): Likewise.
64985 * string/test-rawmemchr.c (do_one_test): Likewise.
64986 (do_test): Likewise.
64987 * string/test-strcasecmp.c (do_one_test): Likewise.
64988 (do_test): Likewise.
64989 * string/test-strcasestr.c (do_one_test): Likewise.
64990 (do_test): Likewise.
64991 * string/test-strcat.c (do_one_test): Likewise.
64992 (do_test): Likewise.
64993 * string/test-strchr.c (do_one_test): Likewise.
64994 (do_test): Likewise.
64995 * string/test-strcmp.c (do_one_test): Likewise.
64996 (do_test): Likewise.
64997 * string/test-strcpy.c (do_one_test): Likewise.
64998 (do_test): Likewise.
64999 * string/test-string.h: Likewise.
65000 (test_init): Likewise.
65001 * string/test-strlen.c (do_one_test): Likewise.
65002 (do_test): Likewise.
65003 * string/test-strncasecmp.c (do_one_test): Likewise.
65004 (do_test): Likewise.
65005 * string/test-strncat.c (do_one_test): Likewise.
65006 (do_test): Likewise.
65007 * string/test-strncmp.c (do_one_test): Likewise.
65008 (do_test_limit): Likewise.
65009 (do_test): Likewise.
65010 * string/test-strncpy.c (do_one_test): Likewise.
65011 (do_test): Likewise.
65012 * string/test-strnlen.c (do_one_test): Likewise.
65013 (do_test): Likewise.
65014 * string/test-strpbrk.c (do_one_test): Likewise.
65015 (do_test): Likewise.
65016 * string/test-strrchr.c (do_one_test): Likewise.
65017 (do_test): Likewise.
65018 * string/test-strspn.c (do_one_test): Likewise.
65019 (do_test): Likewise.
65020 * string/test-strstr.c (do_one_test): Likewise.
65021 (do_test): Likewise.
65022
65023 * benchtests/Makefile (string-bench): Add string benchmarks.
65024 * benchtests/bench-bcopy-ifunc.c: New file.
65025 * benchtests/bench-bcopy.c: New file.
65026 * benchtests/bench-bzero-ifunc.c: New file.
65027 * benchtests/bench-bzero.c: New file.
65028 * benchtests/bench-memccpy-ifunc.c: New file.
65029 * benchtests/bench-memccpy.c: New file.
65030 * benchtests/bench-memchr-ifunc.c: New file.
65031 * benchtests/bench-memchr.c: New file.
65032 * benchtests/bench-memcmp-ifunc.c: New file.
65033 * benchtests/bench-memcmp.c: New file.
65034 * benchtests/bench-memmem-ifunc.c: New file.
65035 * benchtests/bench-memmem.c: New file.
65036 * benchtests/bench-memmove-ifunc.c: New file.
65037 * benchtests/bench-memmove.c: New file.
65038 * benchtests/bench-mempcpy-ifunc.c: New file.
65039 * benchtests/bench-mempcpy.c: New file.
65040 * benchtests/bench-memset-ifunc.c: New file.
65041 * benchtests/bench-memset.c: New file.
65042 * benchtests/bench-rawmemchr-ifunc.c: New file.
65043 * benchtests/bench-rawmemchr.c: New file.
65044 * benchtests/bench-stpcpy-ifunc.c: New file.
65045 * benchtests/bench-stpcpy.c: New file.
65046 * benchtests/bench-stpncpy-ifunc.c: New file.
65047 * benchtests/bench-stpncpy.c: New file.
65048 * benchtests/bench-strcasecmp-ifunc.c: New file.
65049 * benchtests/bench-strcasecmp.c: New file.
65050 * benchtests/bench-strcasestr-ifunc.c: New file.
65051 * benchtests/bench-strcasestr.c: New file.
65052 * benchtests/bench-strcat-ifunc.c: New file.
65053 * benchtests/bench-strcat.c: New file.
65054 * benchtests/bench-strchr-ifunc.c: New file.
65055 * benchtests/bench-strchr.c: New file.
65056 * benchtests/bench-strchrnul-ifunc.c: New file.
65057 * benchtests/bench-strchrnul.c: New file.
65058 * benchtests/bench-strcmp-ifunc.c: New file.
65059 * benchtests/bench-strcmp.c: New file.
65060 * benchtests/bench-strcpy-ifunc.c: New file.
65061 * benchtests/bench-strcpy.c: New file.
65062 * benchtests/bench-strcspn-ifunc.c: New file.
65063 * benchtests/bench-strcspn.c: New file.
65064 * benchtests/bench-strlen-ifunc.c: New file.
65065 * benchtests/bench-strlen.c: New file.
65066 * benchtests/bench-strncasecmp-ifunc.c: New file.
65067 * benchtests/bench-strncasecmp.c: New file.
65068 * benchtests/bench-strncat-ifunc.c: New file.
65069 * benchtests/bench-strncat.c: New file.
65070 * benchtests/bench-strncmp-ifunc.c: New file.
65071 * benchtests/bench-strncmp.c: New file.
65072 * benchtests/bench-strncpy-ifunc.c: New file.
65073 * benchtests/bench-strncpy.c: New file.
65074 * benchtests/bench-strnlen-ifunc.c: New file.
65075 * benchtests/bench-strnlen.c: New file.
65076 * benchtests/bench-strpbrk-ifunc.c: New file.
65077 * benchtests/bench-strpbrk.c: New file.
65078 * benchtests/bench-strrchr-ifunc.c: New file.
65079 * benchtests/bench-strrchr.c: New file.
65080 * benchtests/bench-strspn-ifunc.c: New file.
65081 * benchtests/bench-strspn.c: New file.
65082 * benchtests/bench-strstr-ifunc.c: New file.
65083 * benchtests/bench-strstr.c: New file.
65084
65085 * benchtests/Makefile: Disable parallel execution of targets.
65086 (string-bench): Add memcpy.
65087 (benchset): New variable to store a list of benchmark sets.
65088 (bench-func): Renamed from bench.
65089 (bench-set): New target.
65090 (bench): Depend on bench-func and bench-set.
65091 * benchtests/README: Add section on benchmark sets.
65092 * benchtests/bench-memcpy-ifunc.c: New file.
65093 * benchtests/bench-memcpy.c: New file.
65094 * benchtests/bench-string.h: New file.
65095
65096 2013-06-11 Andreas Schwab <schwab@suse.de>
65097
65098 [BZ #15577]
65099 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65100 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65101 values in the triple.
65102 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65103 terminator in the group key.
65104
65105 2013-06-11 Andreas Jaeger <aj@suse.de>
65106
65107 * po/zh_TW.po: Update Chinese (traditional) translation from
65108 translation project.
65109
65110 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65111
65112 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65113 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65114 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65116 (clock_getcpuclockid): Likewise.
65117 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65118 Add weak_alias and libc_hidden_def.
65119 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65120 * rt/clock_gettime.c (clock_gettime): Rename to
65121 __clock_gettime. Add weak_alias and libc_hidden_def.
65122 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65123 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65124 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65125 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65126 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65127 Likewise.
65128 * rt/clock_settime.c (clock_settime): Rename to
65129 __clock_settime. Add weak_alias and libc_hidden_def.
65130 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65131
65132 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65133
65134 * mach/err_boot.sub: Remove trailing whitespace.
65135 * mach/err_ipc.sub: Likewise.
65136 * mach/err_mach.sub: Likewise.
65137
65138 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65139 (ROUNDING_TESTS_double): Likewise.
65140 (ROUNDING_TESTS_long_double): Likewise.
65141 (ROUNDING_TESTS): Likewise.
65142 * math/libm-test.inc: Include <math-tests.h>.
65143 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65144 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65145 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65146 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65147
65148 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65149
65150 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65151 of assigning.
65152
65153 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65154
65155 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65156 otherwise empty TRANS lines.
65157 * sysdeps/gnu/errlist.c: Regenerated.
65158
65159 * catgets/gencat.c (error_print): Use (void) in function
65160 definition.
65161 * crypt/crypt_util.c (__init_des): Likewise.
65162 * crypt/speeds.c (Stop): Likewise.
65163 (main): Likewise.
65164 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65165 * inet/ruserpass.c (token): Likewise.
65166 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65167 * intl/localealias.c (extend_alias_table): Likewise.
65168 * intl/plural-exp.c (init_germanic_plural): Likewise.
65169 * libio/fcloseall.c (__fcloseall): Likewise.
65170 * libio/genops.c (_IO_flush_all): Likewise.
65171 (_IO_flush_all_linebuffered): Likewise.
65172 (_IO_cleanup): Likewise.
65173 (_IO_iter_begin): Likewise.
65174 (_IO_iter_end): Likewise.
65175 (_IO_list_lock): Likewise.
65176 (_IO_list_unlock): Likewise.
65177 (_IO_list_resetlock): Likewise.
65178 * libio/getchar.c (getchar): Likewise.
65179 * libio/getchar_u.c (getchar_unlocked): Likewise.
65180 * libio/getwchar.c (getwchar): Likewise.
65181 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65182 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65183 * login/getpt.c (__getpt): Likewise.
65184 * login/tst-utmp.c (main): Likewise.
65185 * malloc/hooks.c (__malloc_check_init): Likewise.
65186 * malloc/malloc.c (__malloc_stats): Likewise.
65187 * malloc/mtrace.c (tr_break): Likewise.
65188 (mtrace): Likewise.
65189 (muntrace): Likewise.
65190 * misc/fstab.c (endfsent): Likewise.
65191 * misc/getclktck.c (__getclktck): Likewise.
65192 * misc/getdtsz.c (__getdtablesize): Likewise.
65193 * misc/gethostid.c (gethostid): Likewise.
65194 * misc/getpagesize.c (__getpagesize): Likewise.
65195 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65196 (__get_nprocs): Likewise.
65197 (__get_phys_pages): Likewise.
65198 (__get_avphys_pages): Likewise.
65199 * misc/getttyent.c (getttyent): Likewise.
65200 (setttyent): Likewise.
65201 (endttyent): Likewise.
65202 * misc/getusershell.c (getusershell): Likewise.
65203 (endusershell): Likewise.
65204 (setusershell): Likewise.
65205 (initshells): Likewise.
65206 * misc/hsearch.c (__hdestroy): Likewise.
65207 * misc/sync.c (sync): Likewise.
65208 * misc/syslog.c (closelog_internal): Likewise.
65209 (closelog): Likewise.
65210 * misc/ttyslot.c (ttyslot): Likewise.
65211 * misc/vhangup.c (vhangup): Likewise.
65212 * posix/fork.c (__fork): Likewise.
65213 * posix/getegid.c (__getegid): Likewise.
65214 * posix/geteuid.c (__geteuid): Likewise.
65215 * posix/getgid.c (__getgid): Likewise.
65216 * posix/getpid.c (__getpid): Likewise.
65217 * posix/getppid.c (__getppid): Likewise.
65218 * posix/getuid.c (__getuid): Likewise.
65219 * posix/pause.c (pause): Likewise.
65220 * posix/setpgrp.c (setpgrp): Likewise.
65221 * posix/setsid.c (__setsid): Likewise.
65222 * posix/test-vfork.c (noop): Likewise.
65223 * resolv/gethnamaddr.c (_endhtent): Likewise.
65224 (_gethtent): Likewise.
65225 (ht_endhostent): Likewise.
65226 (gethostent): Likewise.
65227 (dns_service): Likewise.
65228 * stdlib/drand48.c (drand48): Likewise.
65229 * stdlib/lrand48.c (lrand48): Likewise.
65230 * stdlib/mrand48.c (mrand48): Likewise.
65231 * stdlib/rand.c (rand): Likewise.
65232 * stdlib/random.c (__random): Likewise.
65233 * stdlib/setenv.c (clearenv): Likewise.
65234 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65235 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65236 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65237 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65238 (__get_nprocs): Likewise.
65239 (__get_phys_pages): Likewise.
65240 (__get_avphys_pages): Likewise.
65241 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65242 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65243 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65244 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65245 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65246 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65247 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65248 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65249 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65250 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65251 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65252 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65253 * sysdeps/posix/clock.c (clock): Likewise.
65254 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65255 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65256 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65257 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65258 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65260 (__get_nprocs_conf): Likewise.
65261 (__get_phys_pages): Likewise.
65262 (__get_avphys_pages): Likewise.
65263 * time/clock.c (clock): Likewise.
65264 * time/tzset.c (__tzname_max): Likewise.
65265
65266 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65267
65268 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65269 (__bswap_32): Do not use "register".
65270 * crypt/crypt.c (_ufc_doit_r): Likewise.
65271 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65272 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65273 * gmon/gmon.c (__monstartup): Likewise.
65274 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65275 * hurd/hurdmalloc.c (more_memory): Likewise.
65276 (malloc): Likewise.
65277 (free): Likewise.
65278 (realloc): Likewise.
65279 (malloc_fork_prepare): Likewise.
65280 (malloc_fork_parent): Likewise.
65281 (malloc_fork_child): Likewise.
65282 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65283 (_svcauth_des): Likewise.
65284 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65285 * inet/inet_net.c (inet_network): Likewise.
65286 * inet/inet_netof.c (inet_netof): Likewise.
65287 * inet/rcmd.c (__validuser2_sa): Likewise.
65288 * io/fts.c (fts_open): Likewise.
65289 (fts_load): Likewise.
65290 (fts_close): Likewise.
65291 (fts_read): Likewise.
65292 (fts_children): Likewise.
65293 (fts_build): Likewise.
65294 (fts_stat): Likewise.
65295 (fts_sort): Likewise.
65296 (fts_alloc): Likewise.
65297 (fts_lfree): Likewise.
65298 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65299 (_IO_file_xsgetn): Likewise.
65300 (_IO_file_xsgetn_mmap): Likewise.
65301 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65302 (_IO_cookie_write): Likewise.
65303 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65304 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65305 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65306 * malloc/obstack.c (_obstack_begin): Likewise.
65307 (_obstack_begin_1): Likewise.
65308 (_obstack_newchunk): Likewise.
65309 (_obstack_allocated_p): Likewise.
65310 (obstack_free): Likewise.
65311 (_obstack_memory_used): Likewise.
65312 * misc/getttyent.c (getttynam): Likewise.
65313 (getttyent): Likewise.
65314 (skip): Likewise.
65315 (value): Likewise.
65316 * misc/getusershell.c (initshells): Likewise.
65317 * misc/syslog.c (__vsyslog_chk): Likewise.
65318 * misc/ttyslot.c (ttyslot): Likewise.
65319 * nis/nis_hash.c (__nis_hash): Likewise.
65320 * posix/fnmatch_loop.c (FCT): Likewise.
65321 * posix/getconf.c (print_all): Likewise.
65322 (main): Likewise.
65323 * posix/getopt.c (exchange): Likewise.
65324 * posix/glob.c (globfree): Likewise.
65325 (prefix_array): Likewise.
65326 (__glob_pattern_type): Likewise.
65327 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65328 (NS_GET32): Likewise.
65329 (NS_PUT16): Likewise.
65330 (NS_PUT32): Likewise.
65331 * resolv/gethnamaddr.c (getanswer): Likewise.
65332 (gethostbyname2): Likewise.
65333 (gethostbyaddr): Likewise.
65334 (_gethtent): Likewise.
65335 (_gethtbyname2): Likewise.
65336 (_gethtbyaddr): Likewise.
65337 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65338 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65339 * resolv/res_init.c (__res_vinit): Likewise.
65340 (net_mask): Likewise.
65341 * resolv/res_mkquery.c (outchar): Likewise.
65342 (PRINT): Likewise.
65343 * stdio-common/printf_fp.c (outchar): Likewise.
65344 (PRINT): Likewise.
65345 * stdio-common/printf_fphex.c (outchar): Likewise.
65346 (PRINT): Likewise.
65347 * stdio-common/printf_size.c (outchar): Likewise.
65348 (PRINT): Likewise.
65349 * stdio-common/test_rdwr.c (main): Likewise.
65350 * stdio-common/tfformat.c (matches): Likewise.
65351 * stdio-common/vfprintf.c (outchar): Likewise.
65352 (printf_unknown): Likewise.
65353 (buffered_vfprintf): Likewise.
65354 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65355 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65356 (ReadFile): Likewise.
65357 * stdlib/qsort.c (SWAP): Likewise.
65358 (_quicksort): Likewise.
65359 * stdlib/setenv.c (__add_to_environ): Likewise.
65360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65361 * stdlib/strtol_l.c (__strtol_l): Likewise.
65362 * stdlib/tst-strtod.c (main): Likewise.
65363 * stdlib/tst-strtol.c (main): Likewise.
65364 * stdlib/tst-strtoll.c (main): Likewise.
65365 * string/bits/string2.h (__strcmp_cc): Likewise.
65366 (__strcmp_cg): Likewise.
65367 (__strcspn_c1): Likewise.
65368 (__strcspn_c2): Likewise.
65369 (__strcspn_c3): Likewise.
65370 (__strspn_c1): Likewise.
65371 (__strspn_c2): Likewise.
65372 (__strspn_c3): Likewise.
65373 (__strsep_1c): Likewise.
65374 (__strsep_2c): Likewise.
65375 (__strsep_3c): Likewise.
65376 * string/memccpy.c (__memccpy): Likewise.
65377 * string/stpcpy.c (__stpcpy): Likewise.
65378 * string/strcmp.c (strcmp): Likewise.
65379 * string/strrchr.c (strrchr): Likewise.
65380 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65381 Likewise.
65382 * sysdeps/mach/hurd/getcwd.c
65383 (_hurd_canonicalize_directory_name_internal): Likewise.
65384 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65385 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65386 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65387 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65388 Likewise, in both definitions.
65389 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65390 definitions.
65391 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65392 64] (__bswap_64): Likewise.
65393 * time/test_time.c (main): Likewise.
65394 * time/tzfile.c (__tzfile_read): Likewise.
65395 (__tzfile_compute): Likewise.
65396 * time/tzset.c (__tzset_parse_tz): Likewise.
65397 (tzset_internal): Likewise.
65398 (compute_change): Likewise.
65399 * wcsmbs/wcscat.c (__wcscat): Likewise.
65400 * wcsmbs/wcschr.c (wcschr): Likewise.
65401 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65402 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65403 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65404 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65405 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65406 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65407 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65408 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65409 * wcsmbs/wmemset.c (wmemset): Likewise.
65410
65411 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65412
65413 * scripts/config.guess: Update to version 2013-05-16.
65414 * scripts/config.sub: Update to version 2013-04-24.
65415 * scripts/install-sh: Update to version 2011-11-20.07.
65416 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65417 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65418
65419 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65420
65421 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65422 * elf/sln.c: Likewise.
65423 * hurd/hurd/ioctl.h: Likewise.
65424 * hurd/hurdmalloc.c: Likewise.
65425 * hurd/xattr.c: Likewise.
65426 * include/shlib-compat.h: Likewise.
65427 * inet/ruserpass.c: Likewise.
65428 * libio/iofgets_u.c: Likewise.
65429 * libio/iofgetws_u.c: Likewise.
65430 * locale/programs/ld-identification.c: Likewise.
65431 * locale/programs/ld-time.c: Likewise.
65432 * mach/msg-destroy.c: Likewise.
65433 * nss/nss_files/files-netgrp.c: Likewise.
65434 * resolv/res_data.c: Likewise.
65435 * soft-fp/op-1.h: Likewise.
65436 * soft-fp/op-2.h: Likewise.
65437 * soft-fp/op-4.h: Likewise.
65438 * soft-fp/op-common.h: Likewise.
65439 * stdio-common/printf_fphex.c: Likewise.
65440 * stdlib/strtod_l.c: Likewise.
65441 * sunrpc/rpc/clnt.h: Likewise.
65442 * sysdeps/generic/framestate.c: Likewise.
65443 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65444 * sysdeps/i386/bsd-setjmp.S: Likewise.
65445 * sysdeps/i386/__longjmp.S: Likewise.
65446 * sysdeps/i386/setjmp.S: Likewise.
65447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65448 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65449 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65450 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65452 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65456 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65457 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65458 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65459 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65460 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65461 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65463 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65464 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65465 * sysdeps/ieee754/support.c: Likewise.
65466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65467 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65468 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65469 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65470 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65471 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65472 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65473 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65474 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65475 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65476 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65477 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65478 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65479 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65481 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65482 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65484
65485 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65486
65487 * posix/transbug.c: Remove executable mode.
65488
65489 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65490
65491 * crypt/speeds.c: Remove trailing whitespace.
65492 * dlfcn/default.c: Likewise.
65493 * elf/ifuncdep2.c: Likewise.
65494 * elf/ifuncmain1.c: Likewise.
65495 * elf/ifuncmain1vis.c: Likewise.
65496 * elf/testobj.h: Likewise.
65497 * elf/tst-stackguard1.c: Likewise.
65498 * gmon/sys/gmon.h: Likewise.
65499 * hurd/hurdmsg.c: Likewise.
65500 * hurd/new-fd.c: Likewise.
65501 * hurd/ports-get.c: Likewise.
65502 * iconvdata/ibm1008_420.c: Likewise.
65503 * inet/tst-getni1.c: Likewise.
65504 * inet/tst-getni2.c: Likewise.
65505 * libio/ioungetc.c: Likewise.
65506 * libio/wfiledoalloc.c: Likewise.
65507 * manual/libm-err-tab.pl: Likewise.
65508 * math/w_dremf.c: Likewise.
65509 * misc/ftruncate.c: Likewise.
65510 * posix/bug-glob2.c: Likewise.
65511 * posix/tst-pcre.c: Likewise.
65512 * posix/wait4.c: Likewise.
65513 * resolv/README: Likewise.
65514 * resolv/res_debug.h: Likewise.
65515 * resolv/tst-inet_ntop.c: Likewise.
65516 * setjmp/bug269-setjmp.c: Likewise.
65517 * soft-fp/extended.h: Likewise.
65518 * soft-fp/op-1.h: Likewise.
65519 * soft-fp/op-2.h: Likewise.
65520 * soft-fp/op-4.h: Likewise.
65521 * soft-fp/op-8.h: Likewise.
65522 * soft-fp/testit.c: Likewise.
65523 * stdio-common/bug16.c: Likewise.
65524 * stdlib/random.c: Likewise.
65525 * sunrpc/rpcsvc/rquota.x: Likewise.
65526 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65527 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65529 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65530 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65531 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65533 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65534 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65536 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65537 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65538 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65539 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65540 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65541 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65542 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65543 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65544 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65548 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65549 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65550 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65551 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65555 * sysdeps/ieee754/s_lib_version.c: Likewise.
65556 * sysdeps/mach/hurd/check_fds.c: Likewise.
65557 * sysdeps/mach/hurd/getsockname.c: Likewise.
65558 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65559 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65560 * sysdeps/powerpc/bits/link.h: Likewise.
65561 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65562 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65563 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65564 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65565 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65567 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65568 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65569 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65570 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65571 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65572 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65573 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65574 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65575 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65576 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65577 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65580 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65581 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65582 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65583 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65584 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65585 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65588 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65589 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65593 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65594 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65595 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65596 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65597 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65598 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65599 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65600 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65601 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65602 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65603 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65604 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65605 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65606 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65607 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65608 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65609 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65610 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65614 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65615 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65616 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65617 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65618 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65620 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65621 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65623 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65624 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65625 * sysdeps/powerpc/sysdep.h: Likewise.
65626 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65627 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65628 * sysdeps/sh/dl-trampoline.S: Likewise.
65629 * sysdeps/sh/memset.S: Likewise.
65630 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65631 * sysdeps/sh/strlen.S: Likewise.
65632 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65633 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65634 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65635 * sysdeps/sparc/sparc32/rem.S: Likewise.
65636 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65637 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65638 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65639 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65640 * sysdeps/sparc/sparc32/urem.S: Likewise.
65641 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65642 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65643 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65644 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65645 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65646 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65647 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65648 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65649 * sysdeps/unix/bsd/times.c: Likewise.
65650 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65651 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65655 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65656 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65657 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65658 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65659 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65660 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65661 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65662 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65663 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65664 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65665 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65666 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65667 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65668 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65669 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65670 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65671 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65672 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65673 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65674 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65675 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65676 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65677 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65678 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65679 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65680 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65681 * sysdeps/x86_64/strcspn.S: Likewise.
65682
65683 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65684
65685 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65686 generated file. Regenerate properly from gen-translit.pl.
65687 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65688 locale/C-translit.h.
65689
65690 2013-06-05 Andreas Schwab <schwab@suse.de>
65691
65692 [BZ #15100]
65693 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65694 week as 6 instead of -1.
65695 * time/tst-strptime.c (day_tests): Add test case.
65696
65697 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65698
65699 * sysdeps/generic/math_private.h
65700 (libc_feholdexcept_setround_53bit): Replace with
65701 libc_feholdsetround_53bit.
65702 (libc_feupdateenv_53bit): Replace with
65703 libc_feresetround_53bit.
65704 (SET_RESTORE_ROUND_53BIT): Adjust.
65705
65706 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65707
65708 * string/test-strchrnul.c: Add copyright header.
65709
65710 * posix/tst-getaddrinfo4.c: Increase test timeout.
65711
65712 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65713
65714 [BZ #15536]
65715 * math/libm-test.inc (MAX_EXP): Remove
65716 (MIN_EXP): Define.
65717 (ulp): Use MIN_EXP - MANT_DIG.
65718 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65719
65720 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65721
65722 * po/be.po: Revert last change.
65723 * po/zh_CN.po: Likewise.
65724 * po/header.pot: Likewise.
65725
65726 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65727
65728 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65729 link-libc-deps to empty as target-specific variable.
65730 * Makerules (link-libc-args): New variable.
65731 (libc-for-link): Likewise.
65732 (link-libc-deps): Likewise.
65733 (lib%.so): Depend on $(link-libc-deps). Link with
65734 $(link-libc-args).
65735 (build-module): Link with $(link-libc-args).
65736 (build-module-asneeded): Likewise.
65737 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65738 list of objects.
65739 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65740 target-specific variable.
65741 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65742 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65743 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65744 libc.
65745 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65746 libc and ld.so.
65747 ($(objpfx)libpcprofile.so): Likewise.
65748 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65749 libc_nonshared.a.
65750 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65751 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65752 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65753 $(link-libc-deps).
65754 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65755 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65756 * login/Makefile ($(objpfx)libutil.so): Likewise.
65757 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65758 * math/Makefile ($(objpfx)libm.so): Likewise.
65759 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65760 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65761 variable instead of depending directly on libc.
65762 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65763 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65764 $(link-libc-deps).
65765 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65766 libc.
65767 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65768 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65769 ($(objpfx)libanl.so): Likewise.
65770 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65771 ld.so.
65772 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65773 $(link-libc-deps).
65774 * sysdeps/i386/fpu/Makefile: Remove file.
65775 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65776 ($(objpfx)libm.so): Remove dependency on ld.so.
65777
65778 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65779
65780 [BZ # 15553]
65781 * nis/yp_xdr.c (XDRMAXNAME): Define.
65782 (XDRMAXRECORD): Define.
65783 (xdr_domainname): Use XDRMAXNAME.
65784 (xdr_mapname): Likewise.
65785 (xdr_peername): Likewise.
65786 (xdr_keydat): Use XDRMAXRECORD.
65787 (xdr_valdat): Likewise.
65788
65789 2013-05-30 Jeff Law <law@redhat.com>
65790
65791 [BZ #14256]
65792 * manual/errno.texi (ESTALE): Update to account for more than
65793 just NFS file systems.
65794 * sysdeps/gnu/errlist.c: Regenerated.
65795
65796 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65797
65798 [BZ #15465]
65799 * elf/Makefile (tests): Add tst-null-argv.
65800 (modules-names): Add tst-null-argv-lib.
65801 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65802 (tst-null-argv-ENV): Set environment for tst-null-argv.
65803 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65804 (RTLD_PROGNAME): New macro.
65805 * elf/tst-null-argv.c: New test case.
65806 * elf/tst-null-argv-lib.c: Library for test case.
65807 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65808 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65809 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65810 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65811 * elf/dl-init.c (call_init): Likewise.
65812 (_dl_init): Likewise.
65813 * elf/dl-load.c (print_search_path): Likewise.
65814 (_dl_map_object): Likewise.
65815 * elf/dl-lookup.c (do_lookup_x): Likewise.
65816 (add_dependency): Likewise.
65817 (_dl_lookup_symbol_x): Likewise.
65818 (_dl_debug_bindings): Likewise.
65819 * elf/dl-open.c (_dl_show_scope): Likewise.
65820 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65821 * elf/dl-version.c (match_symbol): Likewise.
65822 (_dl_check_map_versions): Likewise.
65823 * elf/rtld.c (dl_main): Likewise.
65824 (print_unresolved): Use RTLD_PROGNAME.
65825 (print_missing_version): Likewise.
65826 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65827 (elf_machine_rela): Likewise.
65828 * sysdeps/powerpc/powerpc32/dl-machine.c
65829 (__process_machine_rela): Likewise.
65830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65831 Likewise.
65832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65833 Likewise.
65834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65835 Likewise.
65836 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65838 Likewise.
65839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65840 Likewise.
65841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65842
65843 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65844
65845 * po/be.po: Add descriptive title.
65846 * po/zh_CN.po: Likewise.
65847 * po/header.pot: Likewise.
65848
65849 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65850
65851 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65852 error message.
65853 (enlarge_archive): Likewise.
65854
65855 2013-05-28 Ben North <ben@redfrontdoor.org>
65856
65857 * manual/arith.texi (frexp): It is the magnitude of the return
65858 value which lies in [0.5, 1), not the return value itself.
65859
65860 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65861
65862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65863
65864 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65865
65866 * stdio-common/bug26.c (main): Correct fscanf template.
65867
65868 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65869 declare _dl_skip_args.
65870
65871 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65872 Don't declare.
65873
65874 * manual/platform.texi: Add missing @end deftypefun.
65875
65876 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65877
65878 [BZ #15529]
65879 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65880 bit of mantissa of 2^16382.
65881 * math/libm-test.inc (hypot_test_data): Add more tests.
65882
65883 * math/libm-test.inc: Add drem and pow10 to list of tested
65884 functions.
65885 (pow10_test): New function.
65886 (drem_test): Likewise.
65887 (drem_test_tonearest): Likewise.
65888 (drem_test_towardzero): Likewise.
65889 (drem_test_downward): Likewise.
65890 (drem_test_upward): Likewise.
65891 (main): Call the new functions.
65892
65893 * math/libm-test.inc (finite_test_data): Remove.
65894 (finite_test): Run tests from isfinite_test_data.
65895 (gamma_test_data): Remove.
65896 (gamma_test): Run tests from lgamma_test_data.
65897 * sysdeps/i386/fpu/libm-test-ulps: Update.
65898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65899
65900 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65901
65902 * manual/platform.texi: Add PowerPC PPR function set documentation.
65903 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65904 implementation.
65905
65906 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65907
65908 * math/libm-test.inc (MAX_EXP): Define.
65909 (ULPDIFF): Define.
65910 (ulp): New function.
65911 (check_float_internal): Use ULPDIFF.
65912 (cpow_test): Disable failing test.
65913 (check_ulp): Test ulp() implementation.
65914 (main): Call check_ulp before starting tests.
65915
65916 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65917
65918 * math/gen-libm-test.pl (generate_testfile): Do not handle
65919 START_DATA and END_DATA.
65920 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65921 END_DATA.
65922 (acos_tonearest_test_data): Likewise.
65923 (acos_towardzero_test_data): Likewise.
65924 (acos_downward_test_data): Likewise.
65925 (acos_upward_test_data): Likewise.
65926 (acosh_test_data): Likewise.
65927 (asin_test_data): Likewise.
65928 (asin_tonearest_test_data): Likewise.
65929 (asin_towardzero_test_data): Likewise.
65930 (asin_downward_test_data): Likewise.
65931 (asin_upward_test_data): Likewise.
65932 (asinh_test_data): Likewise.
65933 (atan_test_data): Likewise.
65934 (atanh_test_data): Likewise.
65935 (atan2_test_data): Likewise.
65936 (cabs_test_data): Likewise.
65937 (cacos_test_data): Likewise.
65938 (cacosh_test_data): Likewise.
65939 (carg_test_data): Likewise.
65940 (casin_test_data): Likewise.
65941 (casinh_test_data): Likewise.
65942 (catan_test_data): Likewise.
65943 (catanh_test_data): Likewise.
65944 (cbrt_test_data): Likewise.
65945 (ccos_test_data): Likewise.
65946 (ccosh_test_data): Likewise.
65947 (ceil_test_data): Likewise.
65948 (cexp_test_data): Likewise.
65949 (cimag_test_data): Likewise.
65950 (clog_test_data): Likewise.
65951 (clog10_test_data): Likewise.
65952 (conj_test_data): Likewise.
65953 (copysign_test_data): Likewise.
65954 (cos_test_data): Likewise.
65955 (cos_tonearest_test_data): Likewise.
65956 (cos_towardzero_test_data): Likewise.
65957 (cos_downward_test_data): Likewise.
65958 (cos_upward_test_data): Likewise.
65959 (cosh_test_data): Likewise.
65960 (cosh_tonearest_test_data): Likewise.
65961 (cosh_towardzero_test_data): Likewise.
65962 (cosh_downward_test_data): Likewise.
65963 (cosh_upward_test_data): Likewise.
65964 (cpow_test_data): Likewise.
65965 (cproj_test_data): Likewise.
65966 (creal_test_data): Likewise.
65967 (csin_test_data): Likewise.
65968 (csinh_test_data): Likewise.
65969 (csqrt_test_data): Likewise.
65970 (ctan_test_data): Likewise.
65971 (ctan_tonearest_test_data): Likewise.
65972 (ctan_towardzero_test_data): Likewise.
65973 (ctan_downward_test_data): Likewise.
65974 (ctan_upward_test_data): Likewise.
65975 (ctanh_test_data): Likewise.
65976 (ctanh_tonearest_test_data): Likewise.
65977 (ctanh_towardzero_test_data): Likewise.
65978 (ctanh_downward_test_data): Likewise.
65979 (ctanh_upward_test_data): Likewise.
65980 (erf_test_data): Likewise.
65981 (erfc_test_data): Likewise.
65982 (exp_test_data): Likewise.
65983 (exp_tonearest_test_data): Likewise.
65984 (exp_towardzero_test_data): Likewise.
65985 (exp_downward_test_data): Likewise.
65986 (exp_upward_test_data): Likewise.
65987 (exp10_test_data): Likewise.
65988 (exp2_test_data): Likewise.
65989 (expm1_test_data): Likewise.
65990 (fabs_test_data): Likewise.
65991 (fdim_test_data): Likewise.
65992 (finite_test_data): Likewise.
65993 (floor_test_data): Likewise.
65994 (fma_test_data): Likewise.
65995 (fma_towardzero_test_data): Likewise.
65996 (fma_downward_test_data): Likewise.
65997 (fma_upward_test_data): Likewise.
65998 (fmax_test_data): Likewise.
65999 (fmin_test_data): Likewise.
66000 (fmod_test_data): Likewise.
66001 (fpclassify_test_data): Likewise.
66002 (frexp_test_data): Likewise.
66003 (gamma_test_data): Likewise.
66004 (hypot_test_data): Likewise.
66005 (ilogb_test_data): Likewise.
66006 (isfinite_test_data): Likewise.
66007 (isgreater_test_data): Likewise.
66008 (isgreaterequal_test_data): Likewise.
66009 (isinf_test_data): Likewise.
66010 (isless_test_data): Likewise.
66011 (islessequal_test_data): Likewise.
66012 (islessgreater_test_data): Likewise.
66013 (isnan_test_data): Likewise.
66014 (isnormal_test_data): Likewise.
66015 (issignaling_test_data): Likewise.
66016 (isunordered_test_data): Likewise.
66017 (j0_test_data): Likewise.
66018 (j1_test_data): Likewise.
66019 (jn_test_data): Likewise.
66020 (ldexp_test_data): Likewise.
66021 (lgamma_test_data): Likewise.
66022 (lrint_test_data): Likewise.
66023 (lrint_tonearest_test_data): Likewise.
66024 (lrint_towardzero_test_data): Likewise.
66025 (lrint_downward_test_data): Likewise.
66026 (lrint_upward_test_data): Likewise.
66027 (llrint_test_data): Likewise.
66028 (llrint_tonearest_test_data): Likewise.
66029 (llrint_towardzero_test_data): Likewise.
66030 (llrint_downward_test_data): Likewise.
66031 (llrint_upward_test_data): Likewise.
66032 (log_test_data): Likewise.
66033 (log10_test_data): Likewise.
66034 (log1p_test_data): Likewise.
66035 (log2_test_data): Likewise.
66036 (logb_test_data): Likewise.
66037 (logb_downward_test_data): Likewise.
66038 (lround_test_data): Likewise.
66039 (llround_test_data): Likewise.
66040 (modf_test_data): Likewise.
66041 (nearbyint_test_data): Likewise.
66042 (nextafter_test_data): Likewise.
66043 (nexttoward_test_data): Likewise.
66044 (pow_test_data): Likewise.
66045 (pow_tonearest_test_data): Likewise.
66046 (pow_towardzero_test_data): Likewise.
66047 (pow_downward_test_data): Likewise.
66048 (pow_upward_test_data): Likewise.
66049 (remainder_test_data): Likewise.
66050 (remainder_tonearest_test_data): Likewise.
66051 (remainder_towardzero_test_data): Likewise.
66052 (remainder_downward_test_data): Likewise.
66053 (remainder_upward_test_data): Likewise.
66054 (remquo_test_data): Likewise.
66055 (rint_test_data): Likewise.
66056 (rint_tonearest_test_data): Likewise.
66057 (rint_towardzero_test_data): Likewise.
66058 (rint_downward_test_data): Likewise.
66059 (rint_upward_test_data): Likewise.
66060 (round_test_data): Likewise.
66061 (scalb_test_data): Likewise.
66062 (scalbn_test_data): Likewise.
66063 (scalbln_test_data): Likewise.
66064 (signbit_test_data): Likewise.
66065 (sin_test_data): Likewise.
66066 (sin_tonearest_test_data): Likewise.
66067 (sin_towardzero_test_data): Likewise.
66068 (sin_downward_test_data): Likewise.
66069 (sin_upward_test_data): Likewise.
66070 (sincos_test_data): Likewise.
66071 (sinh_test_data): Likewise.
66072 (sinh_tonearest_test_data): Likewise.
66073 (sinh_towardzero_test_data): Likewise.
66074 (sinh_downward_test_data): Likewise.
66075 (sinh_upward_test_data): Likewise.
66076 (sqrt_test_data): Likewise.
66077 (tan_test_data): Likewise.
66078 (tan_tonearest_test_data): Likewise.
66079 (tan_towardzero_test_data): Likewise.
66080 (tan_downward_test_data): Likewise.
66081 (tan_upward_test_data): Likewise.
66082 (tanh_test_data): Likewise.
66083 (tgamma_test_data): Likewise.
66084 (trunc_test_data): Likewise.
66085 (y0_test_data): Likewise.
66086 (y1_test_data): Likewise.
66087 (yn_test_data): Likewise.
66088 (significand_test_data): Likewise.
66089
66090 * math/gen-libm-test.pl (@functions): Remove variable.
66091 (generate_testfile): Don't handle START and END lines.
66092 * math/libm-test.inc (START): New macro.
66093 (END): Likewise.
66094 (END_COMPLEX): Likewise.
66095 (acos_test): Use END macro without arguments.
66096 (acos_test_tonearest): Likewise.
66097 (acos_test_towardzero): Likewise.
66098 (acos_test_downward): Likewise.
66099 (acos_test_upward): Likewise.
66100 (acosh_test): Likewise.
66101 (asin_test): Likewise.
66102 (asin_test_tonearest): Likewise.
66103 (asin_test_towardzero): Likewise.
66104 (asin_test_downward): Likewise.
66105 (asin_test_upward): Likewise.
66106 (asinh_test): Likewise.
66107 (atan_test): Likewise.
66108 (atanh_test): Likewise.
66109 (atan2_test): Likewise.
66110 (cabs_test): Likewise.
66111 (cacos_test): Use END_COMPLEX macro without arguments.
66112 (cacosh_test): Likewise.
66113 (carg_test): Use END macro without arguments.
66114 (casin_test): Use END_COMPLEX macro without arguments.
66115 (casinh_test): Likewise.
66116 (catan_test): Likewise.
66117 (catanh_test): Likewise.
66118 (cbrt_test): Use END macro without arguments.
66119 (ccos_test): Use END_COMPLEX macro without arguments.
66120 (ccosh_test): Likewise.
66121 (ceil_test): Use END macro without arguments.
66122 (cexp_test): Use END_COMPLEX macro without arguments.
66123 (cimag_test): Use END macro without arguments.
66124 (clog_test): Use END_COMPLEX macro without arguments.
66125 (clog10_test): Likewise.
66126 (conj_test): Likewise.
66127 (copysign_test): Use END macro without arguments.
66128 (cos_test): Likewise.
66129 (cos_test_tonearest): Likewise.
66130 (cos_test_towardzero): Likewise.
66131 (cos_test_downward): Likewise.
66132 (cos_test_upward): Likewise.
66133 (cosh_test): Likewise.
66134 (cosh_test_tonearest): Likewise.
66135 (cosh_test_towardzero): Likewise.
66136 (cosh_test_downward): Likewise.
66137 (cosh_test_upward): Likewise.
66138 (cpow_test): Use END_COMPLEX macro without arguments.
66139 (cproj_test): Likewise.
66140 (creal_test): Use END macro without arguments.
66141 (csin_test): Use END_COMPLEX macro without arguments.
66142 (csinh_test): Likewise.
66143 (csqrt_test): Likewise.
66144 (ctan_test): Likewise.
66145 (ctan_test_tonearest): Likewise.
66146 (ctan_test_towardzero): Likewise.
66147 (ctan_test_downward): Likewise.
66148 (ctan_test_upward): Likewise.
66149 (ctanh_test): Likewise.
66150 (ctanh_test_tonearest): Likewise.
66151 (ctanh_test_towardzero): Likewise.
66152 (ctanh_test_downward): Likewise.
66153 (ctanh_test_upward): Likewise.
66154 (erf_test): Use END macro without arguments.
66155 (erfc_test): Likewise.
66156 (exp_test): Likewise.
66157 (exp_test_tonearest): Likewise.
66158 (exp_test_towardzero): Likewise.
66159 (exp_test_downward): Likewise.
66160 (exp_test_upward): Likewise.
66161 (exp10_test): Likewise.
66162 (exp2_test): Likewise.
66163 (expm1_test): Likewise.
66164 (fabs_test): Likewise.
66165 (fdim_test): Likewise.
66166 (finite_test): Likewise.
66167 (floor_test): Likewise.
66168 (fma_test): Likewise.
66169 (fma_test_towardzero): Likewise.
66170 (fma_test_downward): Likewise.
66171 (fma_test_upward): Likewise.
66172 (fmax_test): Likewise.
66173 (fmin_test): Likewise.
66174 (fmod_test): Likewise.
66175 (fpclassify_test): Likewise.
66176 (frexp_test): Likewise.
66177 (gamma_test): Likewise.
66178 (hypot_test): Likewise.
66179 (ilogb_test): Likewise.
66180 (isfinite_test): Likewise.
66181 (isgreater_test): Likewise.
66182 (isgreaterequal_test): Likewise.
66183 (isinf_test): Likewise.
66184 (isless_test): Likewise.
66185 (islessequal_test): Likewise.
66186 (islessgreater_test): Likewise.
66187 (isnan_test): Likewise.
66188 (isnormal_test): Likewise.
66189 (issignaling_test): Likewise.
66190 (isunordered_test): Likewise.
66191 (j0_test): Likewise.
66192 (j1_test): Likewise.
66193 (jn_test): Likewise.
66194 (ldexp_test): Likewise.
66195 (lgamma_test): Likewise.
66196 (lrint_test): Likewise.
66197 (lrint_test_tonearest): Likewise.
66198 (lrint_test_towardzero): Likewise.
66199 (lrint_test_downward): Likewise.
66200 (lrint_test_upward): Likewise.
66201 (llrint_test): Likewise.
66202 (llrint_test_tonearest): Likewise.
66203 (llrint_test_towardzero): Likewise.
66204 (llrint_test_downward): Likewise.
66205 (llrint_test_upward): Likewise.
66206 (log_test): Likewise.
66207 (log10_test): Likewise.
66208 (log1p_test): Likewise.
66209 (log2_test): Likewise.
66210 (logb_test): Likewise.
66211 (logb_test_downward): Likewise.
66212 (lround_test): Likewise.
66213 (llround_test): Likewise.
66214 (modf_test): Likewise.
66215 (nearbyint_test): Likewise.
66216 (nextafter_test): Likewise.
66217 (nexttoward_test): Likewise.
66218 (pow_test): Likewise.
66219 (pow_test_tonearest): Likewise.
66220 (pow_test_towardzero): Likewise.
66221 (pow_test_downward): Likewise.
66222 (pow_test_upward): Likewise.
66223 (remainder_test): Likewise.
66224 (remainder_test_tonearest): Likewise.
66225 (remainder_test_towardzero): Likewise.
66226 (remainder_test_downward): Likewise.
66227 (remainder_test_upward): Likewise.
66228 (remquo_test): Likewise.
66229 (rint_test): Likewise.
66230 (rint_test_tonearest): Likewise.
66231 (rint_test_towardzero): Likewise.
66232 (rint_test_downward): Likewise.
66233 (rint_test_upward): Likewise.
66234 (round_test): Likewise.
66235 (scalb_test): Likewise.
66236 (scalbn_test): Likewise.
66237 (scalbln_test): Likewise.
66238 (signbit_test): Likewise.
66239 (sin_test): Likewise.
66240 (sin_test_tonearest): Likewise.
66241 (sin_test_towardzero): Likewise.
66242 (sin_test_downward): Likewise.
66243 (sin_test_upward): Likewise.
66244 (sincos_test): Likewise.
66245 (sinh_test): Likewise.
66246 (sinh_test_tonearest): Likewise.
66247 (sinh_test_towardzero): Likewise.
66248 (sinh_test_downward): Likewise.
66249 (sinh_test_upward): Likewise.
66250 (sqrt_test): Likewise.
66251 (tan_test): Likewise.
66252 (tan_test_tonearest): Likewise.
66253 (tan_test_towardzero): Likewise.
66254 (tan_test_downward): Likewise.
66255 (tan_test_upward): Likewise.
66256 (tanh_test): Likewise.
66257 (tgamma_test): Likewise.
66258 (trunc_test): Likewise.
66259 (y0_test): Likewise.
66260 (y1_test): Likewise.
66261 (yn_test): Likewise.
66262 (significand_test): Likewise.
66263
66264 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66265
66266 [BZ #15381]
66267 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66268
66269 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66270
66271 [BZ #14894]
66272 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66273 __ppc_mdoio and __ppc_mdoom.
66274 * manual/platform.texi: Document new functions __ppc_yield,
66275 __ppc_mdoio and __ppc_mdoom.
66276
66277 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66278
66279 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66280 (main): Mention "tls" pseudo-hwcap is legacy.
66281 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66282
66283 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66284
66285 * math/gen-libm-test.pl (parse_args): Output only string of
66286 arguments as text for test name, not full call or descriptions of
66287 tests for extra outputs.
66288 (generate_testfile): Do not pass function name to parse_args.
66289 Generate this_func variable from START.
66290 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66291 field to arg_str.
66292 (struct test_ff_f_data): Likewise.
66293 (test_ff_f_data_nexttoward): Likewise.
66294 (struct test_fi_f_data): Likewise.
66295 (struct test_fl_f_data): Likewise.
66296 (struct test_if_f_data): Likewise.
66297 (struct test_fff_f_data): Likewise.
66298 (struct test_c_f_data): Likewise.
66299 (struct test_f_f1_data): Likewise. Remove field extra_name.
66300 (struct test_fF_f1_data): Likewise.
66301 (struct test_ffI_f1_data): Likewise.
66302 (struct test_c_c_data): Rename test_name field to arg_str.
66303 (struct test_cc_c_data): Likewise.
66304 (struct test_f_i_data): Likewise.
66305 (struct test_ff_i_data): Likewise.
66306 (struct test_f_l_data): Likewise.
66307 (struct test_f_L_data): Likewise.
66308 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66309 and extra2_name.
66310 (COMMON_TEST_SETUP): New macro.
66311 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66312 (COMMON_TEST_CLEANUP): Likewise.
66313 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66314 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66315 macros.
66316 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66317 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66318 macros.
66319 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66320 (RUN_TEST_fff_f): Take argument string. Call new setup and
66321 cleanup macros.
66322 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66323 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66324 macros.
66325 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66326 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66327 macros.
66328 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66329 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66330 cleanup macros.
66331 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66332 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66333 cleanup macros.
66334 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66335 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66336 cleanup macros.
66337 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66338 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66339 macros.
66340 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66341 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66342 macros.
66343 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66344 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66345 macros.
66346 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66347 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66348 cleanup macros.
66349 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66350 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66351 cleanup macros.
66352 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66353 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66354 macros.
66355 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66356 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66357 cleanup macros.
66358 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66359 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66360 macros.
66361 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66362 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66363 macros.
66364 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66365 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66366 cleanup macros.
66367 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66368
66369 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66370
66371 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66372 to _sifields.sigfault.
66373 (si_addr_lsb): Define new macro.
66374 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66376 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66377
66378 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66379
66380 [BZ #15441]
66381 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66382 returns -1.
66383 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66384 null return -1.
66385 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66386 loading the domain.
66387
66388 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66389
66390 * math/gen-libm-test.pl (parse_args): Do not include expected
66391 result in test name.
66392 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66394 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66395 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66396 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66398
66399 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66400
66401 * benchtests/Makefile: Sort function entries.
66402
66403 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66404 tanh, asinh, acosh, atanh.
66405 * benchtests/acos-inputs: New file.
66406 * benchtests/acosh-inputs: New file.
66407 * benchtests/asin-inputs: New file.
66408 * benchtests/asinh-inputs: New file.
66409 * benchtests/atanh-inputs: New file.
66410 * benchtests/cosh-inputs: New file.
66411 * benchtests/log-inputs: New file.
66412 * benchtests/sinh-inputs: New file.
66413 * benchtests/tanh-inputs: New file.
66414
66415 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66416
66417 [BZ #15339]
66418 * posix/tst-getaddrinfo4.c: New test.
66419 * posix/Makefile (tests): Add it.
66420
66421 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66422
66423 [BZ #15339]
66424 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66425 when no services were used.
66426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66427 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66428
66429 2013-05-21 Andreas Schwab <schwab@suse.de>
66430
66431 [BZ #15014]
66432 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66433 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66434 successful.
66435 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66436 redundant variable declarations and reallocation of buffer when
66437 parsing as IPv6 address. Always set NSS status when called from
66438 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66439 buffer too small. Correct computation of needed size.
66440 * nss/Makefile (tests): Add test-digits-dots.
66441 * nss/test-digits-dots.c: New test.
66442
66443 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66444
66445 * benchtests/Makefile: Remove instructions for adding
66446 benchmark tests.
66447 * benchtests/README: New file to explain how to execute and
66448 enhance the benchmark tests.
66449
66450 2013-05-21 Andreas Schwab <schwab@suse.de>
66451
66452 [BZ #15493]
66453 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66454 * setjmp/tst-sigsetjmp.c: New test.
66455
66456 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66457
66458 * sysdeps/x86_64/memset.S (memset): New implementation.
66459 (__bzero): Likewise.
66460 (__memset_tail): New function.
66461
66462 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66463
66464 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66465 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66466 __memcpy_sse2_unaligned ifunc selection.
66467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66468 Add memcpy-sse2-unaligned.S.
66469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66470 Add: __memcpy_sse2_unaligned.
66471
66472 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66473
66474 [BZ #15490]
66475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66476 math_force_eval before restoring floating-point envrionment.
66477 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66479 Likewise.
66480 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66481 <math_private.h>.
66482 (__nearbyintl): Use math_force_eval before restoring
66483 floating-point environment.
66484 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66485
66486 * math/gen-libm-test.pl (special_functions): Remove.
66487 (parse_args): Don't handle TEST_extra. Handle functions with no
66488 return value.
66489 * math/libm-test.inc (struct test_sincos_data): Replace with
66490 struct test_fFF_11_data.
66491 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66492 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66493 (sincos_test_data): Change element type to struct
66494 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66495 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66496 RUN_TEST_LOOP_sincos.
66497 * math/README.libm-test: Don't mention special handling of
66498 individual functions.
66499 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66501 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66502 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66503 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66505
66506 * math/gen-libm-test.pl (get_variable): Remove function.
66507 (parse_args): Don't show pointer parameters to call in test
66508 names. Use "extra output N" in test names for extra outputs
66509 rather than naming variables.
66510
66511 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66512
66513 [BZ #15488]
66514 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66515 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66516 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66517 double tests.
66518 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66519 disable.
66520 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66521 check_long_double.
66522
66523 * math/gen-libm-test.pl (@tests): Remove variable.
66524 ($count): Likewise.
66525 (new_test): Remove function.
66526 (show_exceptions): New function.
66527 (special_functions): Use show_exceptions instead of new_test.
66528 (parse_args): Likewise.
66529 (generate_testfile): Pass only function name in generated call to
66530 print_max_error or print_complex_max_error.
66531 (get_ulps): Do not handle complex tests specially.
66532 (output_test): Rename to ...
66533 (get_all_ulps_for_test): ... this. Return a string rather than
66534 printing to a file. Require ulps to be present.
66535 (output_ulps): Generate arrays rather than #defines.
66536 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66537 (struct ulp_data): New type.
66538 (BUILD_COMPLEX_ULP): Remove macro.
66539 (compare_ulp_data): New function.
66540 (find_ulps): Likewise.
66541 (find_test_ulps): Likewise.
66542 (find_function_ulps): Likewise.
66543 (find_complex_function_ulps): Likewise.
66544 (print_max_error): Determine allowed ulps using
66545 find_function_ulps.
66546 (print_complex_max_error): Determine allowed ulps using
66547 find_complex_function_ulps.
66548 (check_float_internal): Determine max ulps using find_test_ulps.
66549 (check_float): Do not take max_ulp parameter. Update call to
66550 check_float_internal.
66551 (check_complex): Likewise.
66552 (check_int): Do not take max_ulp parameter.
66553 (check_long): Likewise.
66554 (check_bool): Likewise.
66555 (check_longlong): Likewise.
66556 (struct test_f_f_data): Remove max_ulp field.
66557 (struct test_ff_f_data): Likewise.
66558 (struct test_ff_f_data_nexttoward): Likewise.
66559 (struct test_fi_f_data): Likewise.
66560 (struct test_fl_f_data): Likewise.
66561 (struct test_if_f_data): Likewise.
66562 (struct test_fff_f_data): Likewise.
66563 (struct test_c_f_data): Likewise.
66564 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66565 (struct test_fF_f1_data): Likewise.
66566 (struct test_ffI_f1_data): Likewise.
66567 (struct test_c_c_data): Remove max_ulp field.
66568 (struct test_cc_c_data): Likewise.
66569 (struct test_f_i_data): Likewise.
66570 (struct test_ff_i_data): Likewise.
66571 (struct test_f_l_data): Likewise.
66572 (struct test_f_L_data): Likewise.
66573 (struct test_sincos_data): Likewise.
66574 (RUN_TEST_f_f): Do not handle ulps.
66575 (RUN_TEST_LOOP_f_f): Likewise.
66576 (RUN_TEST_2_f): Likewise.
66577 (RUN_TEST_LOOP_2_f): Likewise.
66578 (RUN_TEST_fff_f): Likewise.
66579 (RUN_TEST_LOOP_fff_f): Likewise.
66580 (RUN_TEST_c_f): Likewise.
66581 (RUN_TEST_LOOP_c_f): Likewise.
66582 (RUN_TEST_f_f1): Likewise.
66583 (RUN_TEST_LOOP_f_f1): Likewise.
66584 (RUN_TEST_fF_f1): Likewise.
66585 (RUN_TEST_LOOP_fF_f1): Likewise.
66586 (RUN_TEST_fI_f1): Likewise.
66587 (RUN_TEST_LOOP_fI_f1): Likewise.
66588 (RUN_TEST_ffI_f1): Likewise.
66589 (RUN_TEST_LOOP_ffI_f1): Likewise.
66590 (RUN_TEST_c_c): Likewise.
66591 (RUN_TEST_LOOP_c_c): Likewise.
66592 (RUN_TEST_cc_c): Likewise.
66593 (RUN_TEST_LOOP_cc_c): Likewise.
66594 (RUN_TEST_f_i): Likewise.
66595 (RUN_TEST_LOOP_f_i): Likewise.
66596 (RUN_TEST_f_i_tg): Likewise.
66597 (RUN_TEST_LOOP_f_i_tg): Likewise.
66598 (RUN_TEST_ff_i_tg): Likewise.
66599 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66600 (RUN_TEST_f_b): Likewise.
66601 (RUN_TEST_LOOP_f_b): Likewise.
66602 (RUN_TEST_f_b_tg): Likewise.
66603 (RUN_TEST_LOOP_f_b_tg): Likewise.
66604 (RUN_TEST_f_l): Likewise.
66605 (RUN_TEST_LOOP_f_l): Likewise.
66606 (RUN_TEST_f_L): Likewise.
66607 (RUN_TEST_LOOP_f_L): Likewise.
66608 (RUN_TEST_sincos): Likewise.
66609 (RUN_TEST_LOOP_sincos): Likewise.
66610
66611 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66612
66613 [BZ #15480]
66614 [BZ #15485]
66615 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66616 main case of finite arguments, set rounding mode to FE_TONEAREST
66617 and discard exceptions.
66618 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66619 exceptions.
66620 (remainder_tonearest_test_data): New variable.
66621 (remainder_test_tonearest): New function.
66622 (remainder_towardzero_test_data): New variable.
66623 (remainder_test_towardzero): New function.
66624 (remainder_downward_test_data): New variable.
66625 (remainder_test_downward): New function.
66626 (remainder_upward_test_data): New variable.
66627 (remainder_test_upward): New function.
66628 (main): Call the new test functions.
66629
66630 * math/libm-test.inc (struct test_f_f1_data): Remove field
66631 extra_init.
66632 (struct test_fF_f1_data): Likewise.
66633 (struct test_ffI_f1_data): Likewise.
66634 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66635 based on value of EXTRA_EXPECTED.
66636 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66637 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66638 EXTRA_VAR based on value of EXTRA_EXPECTED.
66639 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66640 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66641 EXTRA_VAR based on value of EXTRA_EXPECTED.
66642 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66643 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66644 EXTRA_VAR based on value of EXTRA_EXPECTED.
66645 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66646 * math/gen-libm-test.pl (parse_args): Don't output initializers
66647 for extra output values.
66648
66649 * math/libm-test.inc (check_int): Expect result to be exactly
66650 equal to expected value and do not handle ulps.
66651 (check_long): Likewise.
66652 (check_longlong): Likewise.
66653
66654 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66655 exceptions.
66656 (cimag_test_data): Likewise.
66657 (conj_test_data): Likewise.
66658 (copysign_test_data): Likewise.
66659 (cproj_test_data): Likewise.
66660 (creal_test_data): Likewise.
66661 (fabs_test_data): Likewise.
66662 (fdim_test_data): Likewise.
66663 (finite_test_data): Likewise.
66664 (floor_test_data): Likewise.
66665 (fmax_test_data): Likewise.
66666 (fmin_test_data): Likewise.
66667 (fmod_test_data): Likewise.
66668 (fpclassify_test_data): Likewise.
66669 (frexp_test_data): Likewise.
66670 (ilogb_test_data): Likewise.
66671 (isfinite_test_data): Likewise.
66672 (isgreater_test_data): Likewise.
66673 (isgreaterequal_test_data): Likewise.
66674 (isinf_test_data): Likewise.
66675 (isless_test_data): Likewise.
66676 (islessequal_test_data): Likewise.
66677 (islessgreater_test_data): Likewise.
66678 (isnan_test_data): Likewise.
66679 (isnormal_test_data): Likewise.
66680 (issignaling_test_data): Likewise.
66681 (isunordered_test_data): Likewise.
66682 (ldexp_test_data): Likewise.
66683 (lrint_test_data): Likewise.
66684 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66685 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66686 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66687 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66688 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66689 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66690 test input.
66691 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66692 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66693 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66694 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66695 that test input.
66696 (lrint_downward_test_data): Test for "inexact" exceptions.
66697 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66698 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66699 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66700 test input.
66701 (lrint_upward_test_data): Test for "inexact" exceptions.
66702 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66703 test input.
66704 (llrint_test_data): Test for "inexact" exceptions.
66705 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66706 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66707 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66708 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66709 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66710 (llrint_downward_test_data): Test for "inexact" exceptions.
66711 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66712 (llrint_upward_test_data): Test for "inexact" exceptions.
66713 (logb_test_data): Likewise.
66714 (logb_downward_test_data): Likewise.
66715 (nextafter_test_data): Likewise.
66716 (nexttoward_test_data): Likewise.
66717 (remainder_test_data): Likewise.
66718 (remquo_test_data): Likewise.
66719 (scalbn_test_data): Likewise.
66720 (scalbln_test_data): Likewise.
66721 (signbit_test_data): Likewise.
66722 (sqrt_test_data): Likewise.
66723 (significand_test_data): Likewise.
66724
66725 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66726
66727 [BZ #15424]
66728 * benchtests/bench-modf.c (struct args): Mark arg0 as
66729 volatile.
66730 * scripts/bench.pl: Mark members of struct args as volatile.
66731
66732 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66733
66734 [BZ # 15497]
66735 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66736 negative infinity on POWER6 or lower.
66737 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66738
66739 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66740
66741 [BZ #15442]
66742 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66743 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66744 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66745 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66746 (_FP_SETQNAN): New macro.
66747 (_FP_SETQNAN_SEMIRAW): Likewise.
66748 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66749 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66750 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66751 (FP_EXTEND): Use _FP_FRAC_SNANP.
66752 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66753 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66754 into account.
66755 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66756 New macro.
66757 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66758 Likewise.
66759
66760 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66761
66762 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66763 with DIVIDE_BY_ZERO_EXCEPTION.
66764 (gamma_test_data): Likewise.
66765 (lgamma_test_data): Likewise.
66766 (log_test_data): Likewise.
66767 (log10_test_data): Likewise.
66768 (log2_test_data): Likewise.
66769 (tgamma_test_data): Likewise.
66770
66771 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66772 (acos_test_tonearest): Likewise.
66773 (acos_test_towardzero): Likewise.
66774 (acos_test_downward): Likewise.
66775 (acos_test_upward): Likewise.
66776 (acosh_test): Likewise.
66777 (asin_test): Likewise.
66778 (asin_test_tonearest): Likewise.
66779 (asin_test_towardzero): Likewise.
66780 (asin_test_downward): Likewise.
66781 (asin_test_upward): Likewise.
66782 (asinh_test): Likewise.
66783 (atan_test): Likewise.
66784 (atanh_test): Likewise.
66785 (atan2_test): Likewise.
66786 (cabs_test): Likewise.
66787 (cacos_test): Likewise.
66788 (cacosh_test): Likewise.
66789 (casin_test): Likewise.
66790 (casinh_test): Likewise.
66791 (catan_test): Likewise.
66792 (catanh_test): Likewise.
66793 (cbrt_test): Likewise.
66794 (ccos_test): Likewise.
66795 (ccosh_test): Likewise.
66796 (cexp_test): Likewise.
66797 (clog_test): Likewise.
66798 (clog10_test): Likewise.
66799 (cos_test): Likewise.
66800 (cos_test_tonearest): Likewise.
66801 (cos_test_towardzero): Likewise.
66802 (cos_test_downward): Likewise.
66803 (cos_test_upward): Likewise.
66804 (cosh_test): Likewise.
66805 (cosh_test_tonearest): Likewise.
66806 (cosh_test_towardzero): Likewise.
66807 (cosh_test_downward): Likewise.
66808 (cosh_test_upward): Likewise.
66809 (cpow_test): Likewise.
66810 (csin_test): Likewise.
66811 (csinh_test): Likewise.
66812 (csqrt_test): Likewise.
66813 (ctan_test): Likewise.
66814 (ctan_test_tonearest): Likewise.
66815 (ctan_test_towardzero): Likewise.
66816 (ctan_test_downward): Likewise.
66817 (ctan_test_upward): Likewise.
66818 (ctanh_test): Likewise.
66819 (ctanh_test_tonearest): Likewise.
66820 (ctanh_test_towardzero): Likewise.
66821 (ctanh_test_downward): Likewise.
66822 (ctanh_test_upward): Likewise.
66823 (erf_test): Likewise.
66824 (erfc_test): Likewise.
66825 (exp_test): Likewise.
66826 (exp_test_tonearest): Likewise.
66827 (exp_test_towardzero): Likewise.
66828 (exp_test_downward): Likewise.
66829 (exp_test_upward): Likewise.
66830 (exp10_test): Likewise.
66831 (exp2_test): Likewise.
66832 (expm1_test): Likewise.
66833 (fmod_test): Likewise.
66834 (gamma_test): Likewise.
66835 (hypot_test): Likewise.
66836 (j0_test): Likewise.
66837 (j1_test): Likewise.
66838 (jn_test): Likewise.
66839 (lgamma_test): Likewise.
66840 (log_test): Likewise.
66841 (log10_test): Likewise.
66842 (log1p_test): Likewise.
66843 (log2_test): Likewise.
66844 (logb_test_downward): Likewise.
66845 (pow_test): Likewise.
66846 (pow_test_tonearest): Likewise.
66847 (pow_test_towardzero): Likewise.
66848 (pow_test_downward): Likewise.
66849 (pow_test_upward): Likewise.
66850 (remainder_test): Likewise.
66851 (remquo_test): Likewise.
66852 (sin_test): Likewise.
66853 (sin_test_tonearest): Likewise.
66854 (sin_test_towardzero): Likewise.
66855 (sin_test_downward): Likewise.
66856 (sin_test_upward): Likewise.
66857 (sincos_test): Likewise.
66858 (sinh_test): Likewise.
66859 (sinh_test_tonearest): Likewise.
66860 (sinh_test_towardzero): Likewise.
66861 (sinh_test_downward): Likewise.
66862 (sinh_test_upward): Likewise.
66863 (sqrt_test): Likewise.
66864 (tan_test): Likewise.
66865 (tan_test_tonearest): Likewise.
66866 (tan_test_towardzero): Likewise.
66867 (tan_test_downward): Likewise.
66868 (tan_test_upward): Likewise.
66869 (tanh_test): Likewise.
66870 (tgamma_test): Likewise.
66871 (y0_test): Likewise.
66872 (y1_test): Likewise.
66873 (yn_test): Likewise.
66874
66875 * math/gen-libm-test.pl (adjust_arg): Remove function.
66876 (special_function): Remove argument $in_func. Only handle
66877 generating output for tables of tests, not inside functions.
66878 (parse_args): Likewise.
66879 (generate_testfile): Remove variable $in_func. Update call to
66880 parse_args.
66881 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66882 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66883 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66884 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66885 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66886 (MAX_VALUE_INIT): Rename macro to max_value.
66887 (MIN_VALUE_INIT): Rename macro to min_value.
66888 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66889 (plus_zero): Remove variable.
66890 (minus_zero): Likewise.
66891 (plus_infty): Likewise.
66892 (minus_infty): Likewise.
66893 (qnan_value): Likewise.
66894 (max_value): Likewise.
66895 (min_value): Likewise.
66896 (min_subnorm_value): Likewise.
66897
66898 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66899
66900 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66901 uint64_t or uint32_t usage.
66902 * crypt/sha256-block.c: Likewise.
66903 * crypt/sha256-crypt.c: Likewise.
66904 * crypt/sha256.c: Likewise.
66905 * crypt/sha512-block.c: Likewise.
66906 * crypt/sha512-crypt.c: Likewise.
66907 * crypt/sha512.c: Likewise.
66908 * debug/backtrace-tst.c: Likewise.
66909 * debug/pcprofiledump.c: Likewise.
66910 * elf/cache.c: Likewise.
66911 * elf/dl-cache.c: Likewise.
66912 * elf/dl-misc.c: Likewise.
66913 * elf/dl-profile.c: Likewise.
66914 * elf/dl-support.c: Likewise.
66915 * elf/ldconfig.c: Likewise.
66916 * elf/sprof.c: Likewise.
66917 * iconv/dummy-repertoire.c: Likewise.
66918 * iconv/iconv_charmap.c: Likewise.
66919 * iconv/skeleton.c: Likewise.
66920 * iconvdata/8bit-generic.c: Likewise.
66921 * iconvdata/cp737.h: Likewise.
66922 * iconvdata/cp775.h: Likewise.
66923 * iconvdata/ibm1008.h: Likewise.
66924 * iconvdata/ibm1025.h: Likewise.
66925 * iconvdata/ibm1046.h: Likewise.
66926 * iconvdata/ibm1097.h: Likewise.
66927 * iconvdata/ibm1112.h: Likewise.
66928 * iconvdata/ibm1122.h: Likewise.
66929 * iconvdata/ibm1123.h: Likewise.
66930 * iconvdata/ibm1124.h: Likewise.
66931 * iconvdata/ibm1129.h: Likewise.
66932 * iconvdata/ibm1130.h: Likewise.
66933 * iconvdata/ibm1132.h: Likewise.
66934 * iconvdata/ibm1133.h: Likewise.
66935 * iconvdata/ibm1137.h: Likewise.
66936 * iconvdata/ibm1140.h: Likewise.
66937 * iconvdata/ibm1141.h: Likewise.
66938 * iconvdata/ibm1142.h: Likewise.
66939 * iconvdata/ibm1143.h: Likewise.
66940 * iconvdata/ibm1144.h: Likewise.
66941 * iconvdata/ibm1145.h: Likewise.
66942 * iconvdata/ibm1146.h: Likewise.
66943 * iconvdata/ibm1147.h: Likewise.
66944 * iconvdata/ibm1148.h: Likewise.
66945 * iconvdata/ibm1149.h: Likewise.
66946 * iconvdata/ibm1153.h: Likewise.
66947 * iconvdata/ibm1154.h: Likewise.
66948 * iconvdata/ibm1155.h: Likewise.
66949 * iconvdata/ibm1156.h: Likewise.
66950 * iconvdata/ibm1157.h: Likewise.
66951 * iconvdata/ibm1158.h: Likewise.
66952 * iconvdata/ibm1160.h: Likewise.
66953 * iconvdata/ibm1161.h: Likewise.
66954 * iconvdata/ibm1162.h: Likewise.
66955 * iconvdata/ibm1163.h: Likewise.
66956 * iconvdata/ibm1164.h: Likewise.
66957 * iconvdata/ibm1166.h: Likewise.
66958 * iconvdata/ibm1167.h: Likewise.
66959 * iconvdata/ibm12712.h: Likewise.
66960 * iconvdata/ibm1390.h: Likewise.
66961 * iconvdata/ibm1399.h: Likewise.
66962 * iconvdata/ibm16804.h: Likewise.
66963 * iconvdata/ibm4517.h: Likewise.
66964 * iconvdata/ibm4899.h: Likewise.
66965 * iconvdata/ibm4909.h: Likewise.
66966 * iconvdata/ibm4971.h: Likewise.
66967 * iconvdata/ibm5347.h: Likewise.
66968 * iconvdata/ibm803.h: Likewise.
66969 * iconvdata/ibm856.h: Likewise.
66970 * iconvdata/ibm901.h: Likewise.
66971 * iconvdata/ibm902.h: Likewise.
66972 * iconvdata/ibm9030.h: Likewise.
66973 * iconvdata/ibm9066.h: Likewise.
66974 * iconvdata/ibm921.h: Likewise.
66975 * iconvdata/ibm922.h: Likewise.
66976 * iconvdata/ibm9448.h: Likewise.
66977 * iconvdata/isiri-3342.h: Likewise.
66978 * iconvdata/jis0201.h: Likewise.
66979 * include/link.h: Likewise.
66980 * include/netdb.h: Likewise.
66981 * inet/check_native.c: Likewise.
66982 * inet/check_pf.c: Likewise.
66983 * inet/getipv4sourcefilter.c: Likewise.
66984 * inet/getnameinfo.c: Likewise.
66985 * inet/getsourcefilter.c: Likewise.
66986 * inet/htonl.c: Likewise.
66987 * inet/setipv4sourcefilter.c: Likewise.
66988 * inet/setsourcefilter.c: Likewise.
66989 * inet/test-inet6_opt.c: Likewise.
66990 * inet/tst-network.c: Likewise.
66991 * locale/C-collate.c: Likewise.
66992 * locale/C-ctype.c: Likewise.
66993 * locale/C-time.c: Likewise.
66994 * locale/C-translit.h: Likewise.
66995 * locale/loadarchive.c: Likewise.
66996 * locale/programs/3level.h: Likewise.
66997 * locale/programs/charmap.c: Likewise.
66998 * locale/programs/charmap.h: Likewise.
66999 * locale/programs/ld-address.c: Likewise.
67000 * locale/programs/ld-collate.c: Likewise.
67001 * locale/programs/ld-ctype.c: Likewise.
67002 * locale/programs/ld-identification.c: Likewise.
67003 * locale/programs/ld-measurement.c: Likewise.
67004 * locale/programs/ld-messages.c: Likewise.
67005 * locale/programs/ld-monetary.c: Likewise.
67006 * locale/programs/ld-name.c: Likewise.
67007 * locale/programs/ld-numeric.c: Likewise.
67008 * locale/programs/ld-paper.c: Likewise.
67009 * locale/programs/ld-telephone.c: Likewise.
67010 * locale/programs/ld-time.c: Likewise.
67011 * locale/programs/linereader.c: Likewise.
67012 * locale/programs/locale.c: Likewise.
67013 * locale/programs/locarchive.c: Likewise.
67014 * locale/programs/locfile.h: Likewise.
67015 * locale/programs/repertoire.c: Likewise.
67016 * locale/programs/simple-hash.c: Likewise.
67017 * locale/programs/simple-hash.h: Likewise.
67018 * malloc/memusage.c: Likewise.
67019 * malloc/memusagestat.c: Likewise.
67020 * nis/nis_defaults.c: Likewise.
67021 * nis/nis_hash.c: Likewise.
67022 * nis/nis_print.c: Likewise.
67023 * nis/nis_xdr.c: Likewise.
67024 * nscd/connections.c: Likewise.
67025 * nscd/hstcache.c: Likewise.
67026 * nscd/nscd_gethst_r.c: Likewise.
67027 * nscd/nscd_getserv_r.c: Likewise.
67028 * nscd/nscd_helper.c: Likewise.
67029 * nscd/servicescache.c: Likewise.
67030 * nss/makedb.c: Likewise.
67031 * nss/nss_db/db-XXX.c: Likewise.
67032 * nss/nss_db/db-initgroups.c: Likewise.
67033 * nss/nss_db/db-netgrp.c: Likewise.
67034 * nss/nss_files/files-network.c: Likewise.
67035 * nss/nss_files/files-parse.c: Likewise.
67036 * posix/bug-regex5.c: Likewise.
67037 * posix/fnmatch_loop.c: Likewise.
67038 * posix/regcomp.c: Likewise.
67039 * posix/regexec.c: Likewise.
67040 * posix/tst-rfc3484-2.c: Likewise.
67041 * posix/tst-rfc3484-3.c: Likewise.
67042 * posix/tst-rfc3484.c: Likewise.
67043 * resolv/nss_dns/dns-canon.c: Likewise.
67044 * resolv/nss_dns/dns-network.c: Likewise.
67045 * resolv/res_init.c: Likewise.
67046 * resolv/res_mkquery.c: Likewise.
67047 * resolv/tst-aton.c: Likewise.
67048 * stdlib/cxa_atexit.c: Likewise.
67049 * stdlib/cxa_finalize.c: Likewise.
67050 * stdlib/gen-fpioconst.c: Likewise.
67051 * stdlib/strtol_l.c: Likewise.
67052 * string/tst-endian.c: Likewise.
67053 * sunrpc/auth_des.c: Likewise.
67054 * sunrpc/clnt_udp.c: Likewise.
67055 * sunrpc/rtime.c: Likewise.
67056 * sunrpc/svcauth_des.c: Likewise.
67057 * sunrpc/xdr.c: Likewise.
67058 * sunrpc/xdr_intXX_t.c: Likewise.
67059 * sunrpc/xdr_rec.c: Likewise.
67060 * sysdeps/generic/ldconfig.h: Likewise.
67061 * sysdeps/generic/ldsodefs.h: Likewise.
67062 * sysdeps/generic/memusage.h: Likewise.
67063 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67065 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67067 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67069 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67070 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67071 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67073 * sysdeps/posix/getaddrinfo.c: Likewise.
67074 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67075 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67076 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67077 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67078 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67079 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67080 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67081 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67082 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67083 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67084 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67085 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67086 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67087 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67088 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67089 * sysdeps/x86_64/dl-tls.h: Likewise.
67090 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67091 * time/alt_digit.c: Likewise.
67092 * time/era.c: Likewise.
67093 * wcsmbs/tst-c16c32-1.c: Likewise.
67094
67095 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67096
67097 * math/libm-test.inc (struct test_sincos_data): New type.
67098 (RUN_TEST_LOOP_sincos): New macro.
67099 (sincos_test_data): New variable.
67100 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67101
67102 2013-05-16 Richard Henderson <rth@redhat.com>
67103
67104 * math/atest-exp2.c (LIMB64): New macro.
67105 (CONSTSZ): New macro.
67106 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67107 (hexdig): Move ...
67108 (print_mpn_fp): ... to function scope.
67109 (read_mpn_hex): Remove.
67110 (get_log2): Remove.
67111 (exp2_mpn): Use mp_log2.
67112 (main): Use mp_exp1.
67113
67114 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67115
67116 * math/libm-test.inc: Remove comment about not testing "inexact"
67117 exceptions.
67118 (INEXACT_EXCEPTION): New macro.
67119 (NO_INEXACT_EXCEPTION): Likewise.
67120 (INVALID_EXCEPTION_OK): Update value.
67121 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67122 (OVERFLOW_EXCEPTION_OK): Likewise.
67123 (UNDERFLOW_EXCEPTION_OK): Likewise.
67124 (IGNORE_ZERO_INF_SIGN): Likewise.
67125 (ERRNO_UNCHANGED): Likewise.
67126 (ERRNO_EDOM): Likewise.
67127 (ERRNO_ERANGE): Likewise.
67128 (test_exceptions): Handle testing "inexact" exceptions.
67129 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67130 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67131 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67132 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67133 INEXACT_EXCEPTION.
67134 (rint_towardzero_test_data): Likewise.
67135 (rint_downward_test_data): Likewise.
67136 (rint_upward_test_data): Likewise.
67137
67138 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67139 with OVERFLOW_EXCEPTION.
67140 (exp10_test_data): Likewise.
67141 (exp2_test_data): Likewise.
67142 (expm1_test_data): Likewise.
67143 (lgamma_test_data): Likewise.
67144 (pow_test_data): Likewise.
67145 (tgamma_test_data): Likewise.
67146 (yn_test_data): Remove duplicate test of overflow.
67147
67148 * math/libm-test.inc (struct test_cc_c_data): New type.
67149 (RUN_TEST_LOOP_cc_c): New macro.
67150 (cpow_test_data): New variable.
67151 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67152
67153 * math/libm-test.inc (struct test_f_L_data): New type.
67154 (RUN_TEST_LOOP_f_L): New macro.
67155 (llrint_test_data): New variable.
67156 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67157 (llrint_tonearest_test_data): New variable.
67158 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67159 (llrint_towardzero_test_data): New variable.
67160 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67161 (llrint_downward_test_data): New variable.
67162 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67163 (llrint_upward_test_data): New variable.
67164 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67165 (llround_test_data): New variable.
67166 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67167
67168 2013-05-13 Peter Collingbourne <pcc@google.com>
67169
67170 * math/atest-exp2.c (get_log2): Remove const attribute.
67171
67172 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67173
67174 * math/libm-test.inc (struct test_f_l_data): New type.
67175 (RUN_TEST_LOOP_f_l): New macro.
67176 (lrint_test_data): New variable.
67177 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67178 (lrint_tonearest_test_data): New variable.
67179 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67180 (lrint_towardzero_test_data): New variable.
67181 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67182 (lrint_downward_test_data): New variable.
67183 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67184 (lrint_upward_test_data): New variable.
67185 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67186 (lround_test_data): New variable.
67187 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67188
67189 2013-05-15 Peter Collingbourne <pcc@google.com>
67190
67191 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67192 (EXTRACT_WORDS64) Use where appropriate.
67193 (INSERT_WORDS64) Likewise.
67194
67195 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67196 constraints with x constraints.
67197 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67198
67199 * malloc/obstack.c (_obstack_compat): Add initializer.
67200
67201 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67202
67203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67204 si_trapno and add si_addr_lsb to _sifields.sigfault.
67205 (si_trapno): Remove macro.
67206 (si_addr_lsb): Define new macro.
67207 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67208
67209 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67210
67211 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67212 instead of TEST_f_l.
67213 (llrint_test_tonearest): Likewise.
67214 (llrint_test_towardzero): Likewise.
67215 (llrint_test_downward): Likewise.
67216 (llrint_test_upward): Likewise.
67217 (llround_test): Likewise.
67218
67219 * math/libm-test.inc (struct test_f_i_data): Add comment.
67220 (RUN_TEST_LOOP_f_b): New macro.
67221 (RUN_TEST_LOOP_f_b_tg): Likewise.
67222 (finite_test_data): New variable.
67223 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67224 (isfinite_test_data): New variable.
67225 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67226 (isinf_test_data): New variable.
67227 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67228 (isnan_test_data): New variable.
67229 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67230 (isnormal_test_data): New variable.
67231 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67232 (issignaling_test_data): New variable.
67233 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67234 (signbit_test_data): New variable.
67235 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67236
67237 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67238 with INVALID_EXCEPTION.
67239 (acosh_test_data): Likewise.
67240 (asin_test_data): Likewise.
67241 (atanh_test_data): Likewise.
67242 (fmod_test_data): Likewise.
67243 (log_test_data): Likewise.
67244 (log10_test_data): Likewise.
67245 (log2_test_data): Likewise.
67246 (pow_test_data): Likewise.
67247 (sqrt_test_data): Likewise.
67248 (y0_test_data): Likewise.
67249 (y1_test_data): Likewise.
67250 (yn_test_data): Likewise.
67251
67252 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67253 function contents.
67254
67255 * math/libm-test.inc (struct test_ff_i_data): New type.
67256 (RUN_TEST_LOOP_ff_i_tg): New macro.
67257 (isgreater_test_data): New variable.
67258 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67259 (isgreaterequal_test_data): New variable.
67260 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67261 (isless_test_data): New variable.
67262 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67263 (islessequal_test_data): New variable.
67264 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67265 (islessgreater_test_data): New variable.
67266 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67267 (isunordered_test_data): New variable.
67268 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67269
67270 2013-05-14 David S. Miller <davem@davemloft.net>
67271
67272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67273
67274 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67275
67276 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67277
67278 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67279 extra_test to int.
67280 (struct test_f_i_data): Change type of max_ulp to int.
67281
67282 * math/libm-test.inc (test_ffI_f1_data): New type.
67283 (RUN_TEST_LOOP_ffI_f1): New macro.
67284 (remquo_test_data): New variable.
67285 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67286
67287 * setjmp/tst-setjmp-fp.c: New file.
67288 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67289 (link-libm): New variable.
67290 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67291
67292 * math/libm-test.inc (struct test_f_i_data): New type.
67293 (RUN_TEST_LOOP_f_i): New macro.
67294 (RUN_TEST_LOOP_f_i_tg): Likewise.
67295 (fpclassify_test_data): New variable.
67296 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67297 (ilogb_test_data): New variable.
67298 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67299
67300 * math/libm-test.inc (scalbln_test): Correct function name in END
67301 call.
67302
67303 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67304 (RUN_TEST_LOOP_fI_f1): New macro.
67305 (frexp_test_data): New variable.
67306 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67307
67308 * math/libm-test.inc (struct test_fF_f1_data): New type.
67309 (RUN_TEST_LOOP_fF_f1): New macro.
67310 (modf_test_data): New variable.
67311 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67312
67313 * math/libm-test.inc (struct test_f_f1_data): New type.
67314 (RUN_TEST_LOOP_f_f1): New macro.
67315 (gamma_test_data): New variable.
67316 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67317 (lgamma_test_data): New variable.
67318 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67319
67320 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67321
67322 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67323 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67324 (main): Comment "tls" pseudo-hwcap.
67325
67326 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67327
67328 * math/libm-test.inc (struct test_fl_f_data): New type.
67329 (RUN_TEST_LOOP_fl_f): New variable.
67330 (scalbln_test_data): New variable.
67331 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67332
67333 * math/libm-test.inc (struct test_fi_f_data): New type.
67334 (RUN_TEST_LOOP_fi_f): New macro.
67335 (ldexp_test_data): New variable.
67336 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67337 (scalbn_test_data): New variable.
67338 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67339
67340 * math/libm-test.inc (struct test_c_f_data): New type.
67341 (RUN_TEST_LOOP_c_f): New macro.
67342 (cabs_test_data): New variable.
67343 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67344 (carg_test_data): New variable.
67345 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67346 (cimag_test_data): New variable.
67347 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67348 (creal_test_data): New variable.
67349 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67350
67351 * math/libm-test.inc (struct test_if_f_data): New type.
67352 (RUN_TEST_LOOP_if_f): New macro.
67353 (jn_test_data): New variable.
67354 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67355 (yn_test_data): New variable.
67356 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67357
67358 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67359
67360 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67361
67362 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67363 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67364
67365 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67366
67367 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67368 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67369 (bench-deps): Add bench-timing.h.
67370 * benchtests-bench-skeleton.c: Include bench-timing.h.
67371 (main): Use TIMING_* macros instead of clock_gettime.
67372 * benchtests/bench-timing.h: New file.
67373
67374 [BZ #14582]
67375 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67376 Renamed from _LIB_VERSION.
67377 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67378
67379 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67380
67381 * math/libm-test.inc (struct test_fff_f_data): New type.
67382 (RUN_TEST_LOOP_fff_f): New macro.
67383 (fma_test_data): New variable.
67384 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67385 (fma_towardzero_test_data): New variable.
67386 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67387 (fma_downward_test_data): New variable.
67388 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67389 (fma_upward_test_data): New variable.
67390 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67391
67392 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67393 (struct test_c_c_data): New type.
67394 (RUN_TEST_LOOP_c_c): New macro.
67395 (cacos_test_data): New variable.
67396 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67397 (cacosh_test_data): New variable.
67398 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67399 (casin_test_data): New variable.
67400 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67401 (casinh_test_data): New variable.
67402 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67403 (catan_test_data): New variable.
67404 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67405 (catanh_test_data): New variable.
67406 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67407 (ccos_test_data): New variable.
67408 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67409 (ccosh_test_data): New variable.
67410 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67411 (cexp_test_data): New variable.
67412 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67413 (clog_test_data): New variable.
67414 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67415 (clog10_test_data): New variable.
67416 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67417 (conj_test_data): New variable.
67418 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67419 (cproj_test_data): New variable.
67420 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67421 (csin_test_data): New variable.
67422 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67423 (csinh_test_data): New variable.
67424 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67425 (csqrt_test_data): New variable.
67426 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67427 (ctan_test_data): New variable.
67428 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67429 (ctan_tonearest_test_data): New variable.
67430 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67431 (ctan_towardzero_test_data): New variable.
67432 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67433 (ctan_downward_test_data): New variable.
67434 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67435 (ctan_upward_test_data): New variable.
67436 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67437 (ctanh_test_data): New variable.
67438 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67439 (ctanh_tonearest_test_data): New variable.
67440 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67441 (ctanh_towardzero_test_data): New variable.
67442 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67443 (ctanh_downward_test_data): New variable.
67444 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67445 (ctanh_upward_test_data): New variable.
67446 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67447 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67448 of BUILD_COMPLEX.
67449
67450 * math/libm-test.inc (struct test_ff_f_data): New type.
67451 (struct test_ff_f_data_nexttoward): Likewise.
67452 (RUN_TEST_LOOP_2_f): New macro.
67453 (RUN_TEST_LOOP_ff_f): Likewise.
67454 (atan2_test_data): New variable.
67455 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67456 (copysign_test_data): New variable.
67457 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67458 (fdim_test_data): New variable.
67459 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67460 (fmax_test_data): New variable.
67461 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67462 (fmin_test_data): New variable.
67463 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67464 (fmod_test_data): New variable.
67465 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67466 (hypot_test_data): New variable.
67467 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67468 (nextafter_test_data): New variable.
67469 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67470 (nexttoward_test_data): New variable.
67471 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67472 (pow_test_data): New variable.
67473 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67474 (pow_tonearest_test_data): New variable.
67475 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67476 (pow_towardzero_test_data): New variable.
67477 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67478 (pow_downward_test_data): New variable.
67479 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67480 (pow_upward_test_data): New variable.
67481 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67482 (remainder_test_data): New variable.
67483 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67484 (scalb_test_data): New variable.
67485 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67486 * sysdeps/i386/fpu/libm-test-ulps: Update.
67487
67488 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67489
67490 * math/libm-test.inc (fma_test): Use max_value instead of local
67491 variable fltmax.
67492 (nextafter_test): Likewise.
67493
67494 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67495 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67496 (acos_downward_test_data): New variable.
67497 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67498 (acos_upward_test_data): New variable.
67499 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67500 (acosh_test_data): New variable.
67501 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67502 (asin_test_data): New variable.
67503 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67504 (asin_tonearest_test_data): New variable.
67505 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67506 (asin_towardzero_test_data): New variable.
67507 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67508 (asin_downward_test_data): New variable.
67509 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67510 (asin_upward_test_data): New variable.
67511 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67512 (asinh_test_data): New variable.
67513 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67514 (atan_test_data): New variable.
67515 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67516 (atanh_test_data): New variable.
67517 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67518 (cbrt_test_data): New variable.
67519 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67520 (ceil_test_data): New variable.
67521 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67522 (cos_test_data): New variable.
67523 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67524 (cos_tonearest_test_data): New variable.
67525 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67526 (cos_towardzero_test_data): New variable.
67527 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67528 (cos_downward_test_data): New variable.
67529 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67530 (cos_upward_test_data): New variable.
67531 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67532 (cosh_test_data): New variable.
67533 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67534 (cosh_tonearest_test_data): New variable.
67535 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67536 (cosh_towardzero_test_data): New variable.
67537 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67538 (cosh_downward_test_data): New variable.
67539 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67540 (cosh_upward_test_data): New variable.
67541 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67542 (erf_test_data): New variable.
67543 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67544 (erfc_test_data): New variable.
67545 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67546 (exp_test_data): New variable.
67547 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67548 (exp_tonearest_test_data): New variable.
67549 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67550 (exp_towardzero_test_data): New variable.
67551 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67552 (exp_downward_test_data): New variable.
67553 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67554 (exp_upward_test_data): New variable.
67555 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67556 (exp10_test_data): New variable.
67557 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67558 (exp2_test_data): New variable.
67559 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67560 (expm1_test_data): New variable.
67561 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67562 (fabs_test_data): New variable.
67563 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67564 (floor_test_data): New variable.
67565 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67566 (j0_test_data): New variable.
67567 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67568 (j1_test_data): New variable.
67569 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67570 (log_test_data): New variable.
67571 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67572 (log10_test_data): New variable.
67573 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67574 (log1p_test_data): New variable.
67575 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67576 (log2_test_data): New variable.
67577 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67578 (logb_test_data): New variable.
67579 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67580 (logb_downward_test_data): New variable.
67581 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67582 (nearbyint_test_data): New variable.
67583 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67584 (rint_test_data): New variable.
67585 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67586 (rint_tonearest_test_data): New variable.
67587 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67588 (rint_towardzero_test_data): New variable.
67589 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67590 (rint_downward_test_data): New variable.
67591 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67592 (rint_upward_test_data): New variable.
67593 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67594 (round_test_data): New variable.
67595 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67596 (sin_test_data): New variable.
67597 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67598 (sin_tonearest_test_data): New variable.
67599 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67600 (sin_towardzero_test_data): New variable.
67601 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67602 (sin_downward_test_data): New variable.
67603 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67604 (sin_upward_test_data): New variable.
67605 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67606 (sinh_test_data): New variable.
67607 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67608 (sinh_tonearest_test_data): New variable.
67609 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67610 (sinh_towardzero_test_data): New variable.
67611 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67612 (sinh_downward_test_data): New variable.
67613 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67614 (sinh_upward_test_data): New variable.
67615 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67616 (sqrt_test_data): New variable.
67617 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67618 (tan_test_data): New variable.
67619 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67620 (tan_tonearest_test_data): New variable.
67621 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67622 (tan_towardzero_test_data): New variable.
67623 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67624 (tan_downward_test_data): New variable.
67625 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67626 (tan_upward_test_data): New variable.
67627 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67628 (tanh_test_data): New variable.
67629 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67630 (tgamma_test_data): New variable.
67631 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67632 (trunc_test_data): New variable.
67633 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67634 (y0_test_data): New variable.
67635 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67636 (y1_test_data): New variable.
67637 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67638 (significand_test_data): New variable.
67639 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67640
67641 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67642
67643 [BZ #12387]
67644 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67645
67646 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67647
67648 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67649
67650 2013-05-10 Andreas Jaeger <aj@suse.de>
67651
67652 [BZ #15448]
67653 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67654 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67655
67656 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67657
67658 * math/gen-libm-test.pl (adjust_arg): New function.
67659 (special_functions): Handle generating output in both functions
67660 and arrays.
67661 (parse_args): Likewise.
67662 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67663 $in_func argument to parse_args.
67664 * math/libm-test.inc (struct test_f_f_data): New type.
67665 (IF_ROUND_INIT_): New macro.
67666 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67667 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67668 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67669 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67670 (ROUND_RESTORE_): Likewise.
67671 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67672 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67673 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67674 (ROUND_RESTORE_FE_UPWARD): Likewise.
67675 (RUN_TEST_LOOP_f_f): New macro.
67676 (acos_test_data): New variable.
67677 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67678 (acos_tonearest_test_data): New variable.
67679 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67680
67681 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67682
67683 * benchtests/bench-skeleton.c (startup): Fix coding style.
67684
67685 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67686
67687 [BZ #6809]
67688 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67689 negative infinity argument.
67690 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67691 negative infinity argument.
67692 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67693 negative infinity argument.
67694 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67695 domain errors.
67696
67697 2013-05-10 Florian Weimer <fweimer@redhat.com>
67698
67699 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67700 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67701 * iconv/iconv_prog.c (main): Likewise.
67702 * locale/programs/charmap-dir.c (charmap_readdir)
67703 (fopen_uncompressed): Likewise.
67704 * locale/programs/locfile.c (siblings_uncached)
67705 (write_locale_data): Use lstat64 instead of lstat.
67706 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67707 stat.
67708
67709 2013-05-10 Andreas Jaeger <aj@suse.de>
67710
67711 [BZ #15395]
67712 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67713 localization.
67714 Include <locale.h>.
67715
67716 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67717
67718 * elf/dl-close.c (_dl_close_worker): Add comments.
67719
67720 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67721
67722 [BZ #15359]
67723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67724 high part of pi/2.
67725 (__ieee754_rem_pio2l): Update comments.
67726
67727 [BZ #15429]
67728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67729 high part of pi/2.
67730 (__ieee754_rem_pio2l): Update comments.
67731
67732 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67733 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67734
67735 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67736 M_PI_4l.
67737
67738 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67739 (M_PI_34_LOG10El): Likewise.
67740 (M_PI2_LOG10El): Likewise.
67741 (M_PI4_LOG10El): Likewise.
67742 (M_PI_LOG10El): Likewise.
67743
67744 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67745
67746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67747
67748 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67749
67750 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67751 (MINUS_ZERO_INIT): Likewise.
67752 (PLUS_INFTY_INIT): Likewise.
67753 (MINUS_INFTY_INIT): Likewise.
67754 (QNAN_VALUE_INIT): Likewise.
67755 (MAX_VALUE_INIT): Likewise.
67756 (MIN_VALUE_INIT): Likewise.
67757 (MIN_SUBNORM_VALUE_INIT): Likewise.
67758 (plus_zero): Initialize with PLUS_ZERO_INIT.
67759 (minus_zero): Initialize with MINUS_ZERO_INIT.
67760 (plus_infty): Initialize with PLUS_INFTY_INIT.
67761 (minus_infty): Initialize with MINUS_INFTY_INIT.
67762 (qnan_value): Initialize with QNAN_VALUE_INIT.
67763 (max_value): Initialize with MAX_VALUE_INIT.
67764 (min_value): Initialize with MIN_VALUE_INIT.
67765 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67766
67767 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67768 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67769 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67770 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67771
67772 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67773 (RUN_TEST_2_f): Likewise.
67774 (RUN_TEST_ff_f): Likewise.
67775 (RUN_TEST_fi_f): Likewise.
67776 (RUN_TEST_fl_f): Likewise.
67777 (RUN_TEST_fff_f): Likewise.
67778 (RUN_TEST_c_f): Likewise.
67779 (RUN_TEST_f_f1): Likewise.
67780 (RUN_TEST_fF_f1): Likewise.
67781 (RUN_TEST_fI_f1): Likewise.
67782 (RUN_TEST_ffI_f1): Likewise.
67783 (RUN_TEST_c_c): Likewise.
67784 (RUN_TEST_cc_c): Likewise.
67785 (RUN_TEST_f_i): Likewise.
67786 (RUN_TEST_f_i_tg): Likewise.
67787 (RUN_TEST_ff_i_tg): Likewise.
67788 (RUN_TEST_f_b): Likewise.
67789 (RUN_TEST_f_b_tg): Likewise.
67790 (RUN_TEST_f_l): Likewise.
67791 (RUN_TEST_f_L): Likewise.
67792 (RUN_TEST_sincos): Likewise.
67793 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67794 whether to show exceptions. Do not include ");\n" in return
67795 value.
67796 (special_functions): Output call to RUN_TEST_sincos instead of
67797 check_float calls. Update calls to new_test.
67798 (parse_args): Output call to single RUN_TEST_* macro instead of
67799 check_* calls and other assignments. Update calls to new_test.
67800
67801 [BZ #2546]
67802 [BZ #2560]
67803 [BZ #5159]
67804 [BZ #15426]
67805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67806 input to result for tgamma overflow.
67807 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67808 (gamma_coeff): New variable.
67809 (NCOEFF): New macro.
67810 (gamma_positive): New function.
67811 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67812 underflow here. Use gamma_positive instead of exp (lgamma) for
67813 other arguments.
67814 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67815 (gamma_coeff): New variable.
67816 (NCOEFF): New macro.
67817 (gammaf_positive): New function.
67818 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67819 underflow here. Use gamma_positive instead of exp (lgamma) for
67820 other arguments.
67821 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67822 (gamma_coeff): New variable.
67823 (NCOEFF): New macro.
67824 (gammal_positive): New function.
67825 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67826 underflow here. Use gamma_positive instead of exp (lgamma) for
67827 other arguments.
67828 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67829 (gamma_coeff): New variable.
67830 (NCOEFF): New macro.
67831 (gammal_positive): New function.
67832 (__ieee754_gammal_r): Handle positive infinity, overflow and
67833 underflow here. Handle NaN the same as positive infinity. Remove
67834 check x < 0xffffffff for negative integers. Use gamma_positive
67835 instead of exp (lgamma) for other arguments.
67836 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67837 (gamma_coeff): New variable.
67838 (NCOEFF): New macro.
67839 (gammal_positive): New function.
67840 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67841 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67842 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67843 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67844 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67845 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67846 * sysdeps/generic/math_private.h (__gamma_productf): New
67847 prototype.
67848 (__gamma_product): Likewise.
67849 (__gamma_productl): Likewise.
67850 * math/Makefile (libm-calls): Add gamma_product.
67851 * math/libm-test.inc (tgamma_test): Add more tests.
67852 * sysdeps/i386/fpu/libm-test-ulps: Update.
67853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67854
67855 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67856
67857 * benchtests/bench-skeleton.c (main): Preheat CPU.
67858
67859 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67860
67861 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67862
67863 2013-05-07 Roland McGrath <roland@hack.frob.com>
67864
67865 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67866 and _dl_skip_args_internal.
67867
67868 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67869
67870 * manual/message.texi (Message Translation): Talk about users.
67871 Message to key mapping impacts design.
67872
67873 2013-05-06 Roland McGrath <roland@hack.frob.com>
67874
67875 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67876
67877 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67878
67879 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67880 * sysdeps/wordsize-64/glob64.c: ... here.
67881
67882 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67883 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67884 New macros.
67885
67886 * debug/getlogin_r_chk.c: Moved to ...
67887 * login/getlogin_r_chk.c: ... here.
67888 * debug/Makefile (routines): Move getlogin_r_chk to ...
67889 * login/Makefile (routines): ... here.
67890 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67891 * login/Versions (libc: GLIBC_2.4): ... here.
67892
67893 * io/poll.c (__poll): Renamed from poll.
67894 Add libc_hidden_def.
67895 (poll): Define as weak alias.
67896
67897 * debug/ptsname_r_chk.c: Moved to ...
67898 * login/ptsname_r_chk.c: ... here.
67899 * debug/Makefile (routines): Move ptsname_r_chk to ...
67900 * login/Makefile (routines): ... here.
67901 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67902 * login/Versions (libc: GLIBC_2.4): ... here.
67903
67904 * posix/getlogin.c: Moved to ...
67905 * login/getlogin.c: ... here.
67906 * posix/getlogin_r.c: Moved to ...
67907 * login/getlogin_r.c: ... here.
67908 * posix/getlogin_r.c: Moved to ...
67909 * login/getlogin_r.c: ... here.
67910 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67911 * login/Makefile (routines): ... here.
67912 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67913 * login/Versions (libc: GLIBC_2.0): ... here.
67914
67915 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67916 (setrlimit): Define as weak alias.
67917
67918 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67919 Call __ names for open, ftruncate, and close.
67920 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67921 (truncate): Define as weak alias.
67922
67923 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67924
67925 * math/gen-libm-test.pl (parse_args): Initialize x before each
67926 test of frexp, modf and remquo.
67927
67928 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67929 test signgam value.
67930
67931 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67932
67933 [BZ #15418]
67934 [BZ #15419]
67935 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67936 internal tests.
67937 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67938
67939 2013-05-06 Roland McGrath <roland@hack.frob.com>
67940
67941 * elf/dl-writev.h: New file.
67942 * elf/dl-misc.c: Include it.
67943 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67944 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67945
67946 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67947
67948 * math/libm-test.inc (noXFails): Remove variable.
67949 (noXPasses): Likewise.
67950 (BUILD_COMPLEX_INT): Remove macro.
67951 (print_screen): Remove xfail argument.
67952 (print_screen_max_error): Likewise.
67953 (update_stats): Likewise.
67954 (print_max_error): Likewise. Update calls to other affected
67955 functions.
67956 (print_complex_max_error): Likewise.
67957 (test_single_exception): Update calls to print_screen.
67958 (test_single_errno): Likewise.
67959 (check_float_internal): Remove xfail argument. Update calls to
67960 other affected functions.
67961 (check_float): Likewise.
67962 (check_complex): Likewise.
67963 (check_int): Likewise.
67964 (check_long): Likewise.
67965 (check_bool): Likewise.
67966 (check_longlong): Likewise.
67967 (main): Don't print noXFails and noXPasses.
67968 * math/gen-libm-test.pl (top level): Don't mention expected
67969 failure handling in comment.
67970 (new_test): Don't handle expected failures.
67971 (parse_args): Don't mention expected failure handling in comment.
67972 (generate_testfile): Don't handle expected failures.
67973 (parse_ulps): Likewise.
67974 (print_ulps_file): Likewise.
67975 (get_failure): Remove function.
67976 (output_test): Don't handle expected failures.
67977 * make/README.libm-test: Don't mention expected failure handling.
67978
67979 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67980 (minus_zero): Likewise.
67981 (plus_infty): Likewise.
67982 (minus_infty): Likewise.
67983 (qnan_value): Likewise.
67984 (max_value): Likewise.
67985 (min_value): Likewise.
67986 (min_subnorm_value): Likewise.
67987 (initialize): Do not initialize those variables dynamically.
67988
67989 2013-05-03 Roland McGrath <roland@hack.frob.com>
67990
67991 * io/open.c (__open_2): Moved to ...
67992 * io/open_2.c: ... this new file.
67993 * io/open64.c (__open64_2): Moved to ...
67994 * io/open64_2.c: ... this new file.
67995 * io/openat.c (__openat_2): Moved to ...
67996 * io/openat_2.c: ... this new file.
67997 * io/openat64.c (__openat64_2): Moved to ...
67998 * io/openat64_2.c: ... this new file.
67999 * io/Makefile (routines): Add them.
68000 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68001 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68002 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68003 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68004 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68005 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68006 (__openat64): Add hidden_ver.
68007 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68008 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68009
68010 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68011 Separately conditionalize setting of GLRO(dl_sysinfo) so
68012 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68013 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68014
68015 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68016
68017 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68019 definition.
68020 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68021 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68022 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68023 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68024 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68025
68026 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68027
68028 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68029 test signgam value.
68030
68031 * math/libm-test.inc (hypot_test): Do not use
68032 IGNORE_ZERO_INF_SIGN.
68033
68034 2013-05-03 Andreas Jaeger <aj@suse.de>
68035
68036 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68037 Linux 3.9.
68038 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68039 (PF_MAX): Adjust for VSOCK change.
68040
68041 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68042
68043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68044
68045 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68046
68047 [BZ #15264]
68048 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68049 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68050 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68051
68052 2013-05-02 David S. Miller <davem@davemloft.net>
68053
68054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68055
68056 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
68057
68058 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68059
68060 2013-05-01 Roland McGrath <roland@hack.frob.com>
68061
68062 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68063
68064 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68065
68066 [BZ #14952]
68067 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68068 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68069 Use __attribute__ ((__gnu_inline__)).
68070 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68071 Don't use __attribute__ ((__gnu_inline__)).
68072
68073 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68074
68075 [BZ #15423]
68076 * math/s_catan.c (__catan): Handle small real or imaginary part of
68077 input specially to avoid spurious underflow.
68078 * math/s_catanf.c (__catanf): Likewise.
68079 * math/s_catanh.c (__catanh): Likewise.
68080 * math/s_catanhf.c (__catanhf): Likewise.
68081 * math/s_catanhl.c (__catanhl): Likewise.
68082 * math/s_catanl.c (__catanl): Likewise.
68083 * math/libm-test.inc (catan_test): Add more tests.
68084 (catanh_test): Likewise.
68085 * sysdeps/i386/fpu/libm-test-ulps: Update.
68086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68087
68088 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68089
68090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68091
68092 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68093
68094 [BZ #15416]
68095 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68096 accurately for denominator in atan2.
68097 * math/s_catanf.c (__catanf): Likewise.
68098 * math/s_catanh.c (__catanh): Likewise.
68099 * math/s_catanhf.c (__catanhf): Likewise.
68100 * math/s_catanhl.c (__catanhl): Likewise.
68101 * math/s_catanl.c (__catanl): Likewise.
68102 * math/libm-test.inc (catan_test): Add more tests.
68103 (catanh_test): Likewise.
68104 * sysdeps/i386/fpu/libm-test-ulps: Update.
68105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68106
68107 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68108
68109 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68110
68111 * benchtests/Makefile (bench): Remove slow benchmarks.
68112 * benchtests/atan-inputs: Add slow benchmark inputs.
68113 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68114 (BENCH_FUNC): Accept variant offset.
68115 (VARIANT): Define.
68116 * benchtests/bench-skeleton.c (main): Run benchmark for each
68117 variant.
68118 * benchtests/cos-inputs: Add slow benchmark inputs.
68119 * benchtests/exp-inputs: Likewise.
68120 * benchtests/pow-inputs: Likewise.
68121 * benchtests/sin-inputs: Likewise.
68122 * benchtests/slowatan-inputs: Remove.
68123 * benchtests/slowatan.c: Remove.
68124 * benchtests/slowcos-inputs: Remove.
68125 * benchtests/slowcos.c: Remove.
68126 * benchtests/slowexp-inputs: Remove.
68127 * benchtests/slowexp.c: Remove.
68128 * benchtests/slowpow-inputs: Remove.
68129 * benchtests/slowpow.c: Remove.
68130 * benchtests/slowsin-inputs: Remove.
68131 * benchtests/slowsin.c: Remove.
68132 * benchtests/slowtan-inputs: Remove.
68133 * benchtests/slowtan.c: Remove.
68134 * benchtests/tan-inputs: Add slow benchmark inputs.
68135 * scripts/bench.pl: Parse comments and directives.
68136
68137 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68138 in CPPFLAGS.
68139 ($(objpfx)bench-%.c): Remove *-ITER.
68140 * benchtests/bench-modf.c: Remove definition of ITER.
68141 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68142 (main): Loop for DURATION seconds instead of fixed number of
68143 iterations.
68144 * scripts/bench.pl: Don't expect iterations in parameters.
68145
68146 2013-04-29 Roland McGrath <roland@hack.frob.com>
68147
68148 * io/fchdir.c (__fchdir): Renamed from fchdir.
68149 (fchdir): Define as weak alias.
68150
68151 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68152
68153 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68154 (ERRNO_EDOM): Likewise.
68155 (ERRNO_ERANGE): Likewise.
68156 (noErrnoTests): New variable.
68157 (init_max_error): Set errno to 0.
68158 (test_single_errno): New function.
68159 (test_errno): Likewise.
68160 (check_float_internal): Call test_errno. Set errno to 0.
68161 (check_complex): Refer to errno tests in comment.
68162 (check_int): Call test_errno. Set errno to 0.
68163 (check_long): Likewise.
68164 (check_bool): Likewise.
68165 (check_longlong): Likewise.
68166 (cos_test): Use ERRNO_* flags for errno tests instead of
68167 check_int.
68168 (expm1_test): Likewise.
68169 (fmod_test): Likewise.
68170 (ilogb_test): Likewise.
68171 (lgamma_test): Likewise.
68172 (pow_test): Likewise.
68173 (remainder_test): Likewise.
68174 (sin_test): Likewise.
68175 (tan_test): Likewise.
68176 (yn_test): Likewise.
68177 (initialize): Set errno to 0.
68178 (main): Print number of errno tests.
68179 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68180
68181 2013-04-29 Andreas Jaeger <aj@suse.de>
68182
68183 [BZ #15084]
68184 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68185 and RES_USEVC.
68186
68187 [BZ #15085]
68188 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68189 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68190 unimplemented.
68191
68192 [BZ #15380]
68193 * stdlib/random.c (__initstate): Return NULL if
68194 __initstate fails.
68195
68196 [BZ #15086]
68197 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68198 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68199 RES_SNGLKUPREOP.
68200
68201 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68202
68203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68204
68205 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68206
68207 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68208 of individual tests.
68209 (casin_test): Likewise.
68210 (casinh_test): Likewise.
68211
68212 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68213
68214 [BZ #15409]
68215 * math/s_catan.c (__catan): Handle arguments with large real or
68216 imaginary part separately without squaring.
68217 * math/s_catanf.c (__catanf): Likewise.
68218 * math/s_catanh.c (__catanh): Likewise.
68219 * math/s_catanhf.c (__catanhf): Likewise.
68220 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68221 and redefine.
68222 (__catanhl): Handle arguments with large real or imaginary part
68223 separately without squaring.
68224 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68225 and redefine.
68226 (__catanl): Handle arguments with large real or imaginary part
68227 separately without squaring.
68228 * math/libm-test.inc (catan_test): Add more tests.
68229 (catanh_test): Likewise.
68230 * sysdeps/i386/fpu/libm-test-ulps: Update.
68231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68232
68233 2013-04-27 Andreas Jaeger <aj@suse.de>
68234
68235 [BZ #15007]
68236 * stdlib/stdlib.h: Update guards for qecvt.
68237 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68238 <stdlib.h>.
68239
68240 2013-04-27 Allan McRae <allan@archlinux.org>
68241
68242 * sysdeps/i386/fpu/libm-test-ulps: Update.
68243
68244 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68245
68246 [BZ #15406]
68247 * math/s_catan.c: Include <float.h>.
68248 (__catan): Ensure underflow exception occurs for underflowed
68249 result.
68250 * math/s_catanf.c: Include <float.h>.
68251 (__catanf): Ensure underflow exception occurs for underflowed
68252 result.
68253 * math/s_catanh.c: Include <float.h>.
68254 (__catanh): Ensure underflow exception occurs for underflowed
68255 result.
68256 * math/s_catanhf.c: Include <float.h>.
68257 (__catanhf): Ensure underflow exception occurs for underflowed
68258 result.
68259 * math/s_catanhl.c: Include <float.h>.
68260 (__catanhl): Ensure underflow exception occurs for underflowed
68261 result.
68262 * math/s_catanl.c: Include <float.h>.
68263 (__catanl): Ensure underflow exception occurs for underflowed
68264 result.
68265 * math/libm-test.inc (catan_test): Add more tests.
68266 (catanh_test): Likewise.
68267
68268 [BZ #15405]
68269 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68270 underflowed result.
68271 * math/s_ccoshf.c (__ccoshf): Likewise.
68272 * math/s_ccoshl.c (__ccoshl): Likewise.
68273 * math/s_csin.c (__csin): Likewise.
68274 * math/s_csinf.c (__csinf): Likewise.
68275 * math/s_csinh.c (__csinh): Likewise.
68276 * math/s_csinhf.c (__csinhf): Likewise.
68277 * math/s_csinhl.c (__csinhl): Likewise.
68278 * math/s_csinl.c (__csinl): Likewise.
68279 * math/libm-test.inc (ccos_test): Add more tests.
68280 (ccosh_test): Likewise.
68281 (csin_test): Likewise.
68282 (csinh_test): Likewise.
68283
68284 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68285
68286 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68287 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68288 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68289 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68290 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68291 powerpc/power5+/fpu folders.
68292 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68293
68294
68295 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68296
68297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68298
68299 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68300
68301 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68302 additions to variable.
68303 [$(config-machine) = x86_64] (modules-names): Likewise.
68304 ($(objpfx)tst-audit3): Remove dependency.
68305 ($(objpfx)tst-audit3.out): Likewise.
68306 ($(objpfx)tst-audit4): Likewise.
68307 ($(objpfx)tst-audit4.out): Likewise.
68308 ($(objpfx)tst-audit5): Likewise.
68309 ($(objpfx)tst-audit5.out): Likewise.
68310 ($(objpfx)tst-audit6): Likewise.
68311 ($(objpfx)tst-audit6.out): Likewise.
68312 ($(objpfx)tst-audit7): Likewise.
68313 ($(objpfx)tst-audit7.out): Likewise.
68314 (tst-audit3-ENV): Remove variable.
68315 (tst-audit4-ENV): Likewise.
68316 (tst-audit5-ENV): Likewise.
68317 (tst-audit6-ENV): Likewise.
68318 (tst-audit7-ENV): Likewise.
68319 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68320 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68321 addition to variable.
68322 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68323 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68327 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68328 tst-audit3, tst-audit4 and tst-audit5.
68329 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68330 tst-audit6 and tst-audit7.
68331 [$(subdir) = elf] (modules-names): Add audit modules for those
68332 tests.
68333 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68334 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68335 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68336 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68337 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68338 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68339 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68340 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68341 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68342 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68343 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68344 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68345 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68346 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68347 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68348 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68349 Likewise.
68350 [$(subdir) = elf && $(config-cflags-avx) = yes]
68351 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68352 [$(subdir) = elf && $(config-cflags-avx) = yes]
68353 (CFLAGS-tst-auditmod4a.c): Likewise.
68354 [$(subdir) = elf && $(config-cflags-avx) = yes]
68355 (CFLAGS-tst-auditmod4b.c): Likewise.
68356 [$(subdir) = elf && $(config-cflags-avx) = yes]
68357 (CFLAGS-tst-auditmod6b.c): Likewise.
68358 [$(subdir) = elf && $(config-cflags-avx) = yes]
68359 (CFLAGS-tst-auditmod6c.c): Likewise.
68360 [$(subdir) = elf && $(config-cflags-avx) = yes]
68361 (CFLAGS-tst-auditmod7b.c): Likewise.
68362 * elf/tst-audit3.c: Move to ...
68363 * sysdeps/x86_64/tst-audit3.c: ... here.
68364 * elf/tst-audit4.c: Move to ...
68365 * sysdeps/x86_64/tst-audit4.c: ... here.
68366 * elf/tst-audit5.c: Move to ...
68367 * sysdeps/x86_64/tst-audit5.c: ... here.
68368 * elf/tst-audit6.c: Move to ...
68369 * sysdeps/x86_64/tst-audit6.c: ... here.
68370 * elf/tst-audit7.c: Move to ...
68371 * sysdeps/x86_64/tst-audit7.c: ... here.
68372 * elf/tst-auditmod3a.c: Move to ...
68373 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68374 * elf/tst-auditmod3b.c: Move to ...
68375 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68376 * elf/tst-auditmod4a.c: Move to ...
68377 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68378 * elf/tst-auditmod4b.c: Move to ...
68379 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68380 * elf/tst-auditmod5a.c: Move to ...
68381 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68382 * elf/tst-auditmod5b.c: Move to ...
68383 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68384 * elf/tst-auditmod6a.c: Move to ...
68385 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68386 * elf/tst-auditmod6b.c: Move to ...
68387 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68388 * elf/tst-auditmod6c.c: Move to ...
68389 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68390 * elf/tst-auditmod7a.c: Move to ...
68391 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68392 * elf/tst-auditmod7b.c: Move to ...
68393 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68394
68395 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68396
68397 [BZ #15366]
68398 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68399 define unconditionally.
68400 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68401 define unconditionally.
68402 (INT8_C, INT16_C, etc.): Likewise.
68403
68404 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68405
68406 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68407 __ehdr_start with hidden visibility.
68408
68409 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68410
68411 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68412
68413 * math/libm-test.inc (cos_test): Use accurate hex constants.
68414 (sincost_test): Likewise.
68415
68416 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68417
68418 * math/libm-test.inc (catan_test): Add more tests.
68419 (catanh_test): Likewise.
68420
68421 * math/s_catanf.c (__catanf): Use suffixed floating-point
68422 constants.
68423 * math/s_catanhf.c (__catanhf): Likewise.
68424 * math/s_catanhl.c (__catanhl): Likewise.
68425 * math/s_catanl.c (__catanl): Likewise.
68426
68427 [BZ #15394]
68428 * math/s_catan.c (__catan): Calculate imaginary part of result
68429 with log1p not log unless computing log of number close to 0.
68430 * math/s_catanf.c (__catanf): Likewise.
68431 * math/s_catanl.c (__catanl): Likewise.
68432 * math/s_catanh.c (__catanh): Calculate real part of result with
68433 log1p not log unless computing log of number close to 0.
68434 * math/s_catanhf.c (__catanhf): Likewise.
68435 * math/s_catanhl.c (__catanhl): Likewise.
68436 * math/libm-test.inc (catan_test): Add more tests.
68437 (catanh_test): Likewise.
68438 * sysdeps/i386/fpu/libm-test-ulps: Update.
68439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68440
68441 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68442
68443 * benchtests/Makefile: Mention files in which fast and slow
68444 paths of math functions are implemented.
68445
68446 2013-04-23 Roland McGrath <roland@hack.frob.com>
68447
68448 * sysdeps/posix/timespec_get.c: New file.
68449
68450 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68451
68452 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68453 POWER.
68454 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68455 for POWER.
68456 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68457 powerpc/power5/fpu folders.
68458 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68459 * benchtests/Makefile: Add modf testcase.
68460 * benchtests/bench-modf.c: New file: Benchmark test for mo
68461
68462 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68463
68464 [BZ #14888]
68465 * time/Makefile (tests): Add tst-strptime-whitespace.
68466 * time/strptime_l.c (get_number): Use ISSPACE.
68467 (__strptime_internal): Likewise.
68468 * time/tst-strptime-whitespace.c: New test case.
68469
68470 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68471
68472 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68473 member.
68474 (_nss_files_init): Set it here.
68475
68476 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68477
68478 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68479 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68480 unsigned.
68481
68482 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68483
68484 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68485
68486 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68487
68488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68489 size just once.
68490
68491 2013-04-21 David S. Miller <davem@davemloft.net>
68492
68493 * po/ru.po: Update Russion translation from translation project.
68494
68495 2013-04-17 Adam Conrad <adconrad@0c3.net>
68496
68497 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68498 and setfsgid.
68499
68500 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68501
68502 * configure.in: Remove i386 configure warning. Remove i386 case.
68503 * configure: Regenerate.
68504 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68505 Add example to error message.
68506 * sysdeps/i386/configure: Regenerate.
68507
68508 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68509
68510 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68511 slowtan.
68512 * benchtests/cos-inputs: New file.
68513 * benchtests/slowcos-inputs: New file.
68514 * benchtests/slowcos.c: New file.
68515 * benchtests/slowtan-inputs: New file.
68516 * benchtests/slowtan.c: New file.
68517 * benchtests/tan-inputs: New file.
68518
68519 2013-04-16 Roland McGrath <roland@hack.frob.com>
68520
68521 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68522 considered kosher.
68523
68524 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68525
68526 * benchtests/Makefile: Include cppflags-iterator.mk to add
68527 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68528
68529 * Makefile.in (bench-clean): New target.
68530 * benchtests/Makefile (bench-clean): Likewise.
68531
68532 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68533
68534 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68535
68536 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68537
68538 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68539
68540 2013-04-15 Andreas Schwab <schwab@suse.de>
68541
68542 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68544 * nscd/pwdcache.c (cache_addpw): Likewise.
68545 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68546 more than recsize.
68547
68548 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68549
68550 * benchtests/Makefile (bench): Write all output to
68551 bench-out.tmp together.
68552
68553 2013-04-15 Andreas Schwab <schwab@suse.de>
68554
68555 * nscd/nscd.c (main): Don't fork again after closing files.
68556
68557 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68558
68559 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68560
68561 * benchtests/Rules (bench-deps): Collect dependencies into a
68562 single variable. Add Makefile to dependencies.
68563 ($(objpfx)bench-%.c): Depend on bench-deps.
68564
68565 2013-04-12 Roland McGrath <roland@hack.frob.com>
68566 Xavier Roche <roche+kml2@exalead.com>
68567
68568 [BZ #15361]
68569 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68570 just that it's a file descriptor.
68571 * manual/llio.texi (Synchronizing AIO Operations): Update description
68572 for EBADF error from aio_fsync.
68573
68574 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68575
68576 * Rules (bench): Move target definition...
68577 * benchtests/Makefile: ... here.
68578
68579 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68580
68581 * math/libm-test.inc (cos_test): Fix PI/2 test.
68582 (sincos_test): Likewise.
68583 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68584 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68585
68586 2013-04-11 Andreas Schwab <schwab@suse.de>
68587
68588 [BZ #13988]
68589 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68590 accept exponent character only when digits were seen.
68591 * stdio-common/Makefile (tests): Add bug26.
68592 * stdio-common/bug26.c: New file.
68593
68594 [BZ #14293]
68595 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68596 non-freeable.
68597
68598 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68599
68600 * Makeconfig (rtld-prefix): Define built linker prefix.
68601 * Rules (run-bench): Use it.
68602 * math/Makefile (run-regen-ulps): Likewise.
68603
68604 * Rules (bench): Remove eval.
68605
68606 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68607 Roland McGrath <roland@hack.frob.com>
68608 Ondrej Bilka <neleai@seznam.cz>
68609
68610 [BZ #15346]
68611 * time/getdate.c: Include ctype.h and alloca.h.
68612 (__getdate_r): Trim leading and trailing spaces of input.
68613 * time/tst-getdate.c (tests): Add tests with leading and
68614 trailing spaces.
68615
68616 2013-04-08 Roland McGrath <roland@hack.frob.com>
68617
68618 [BZ #14280]
68619 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68620 when computing value.
68621
68622 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68623
68624 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68625 Use testrun.sh to run libm tests.
68626
68627 [BZ #15309]
68628 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68629
68630 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68631
68632 [BZ #15264]
68633 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68634
68635 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68636
68637 * Makefile.in (regen-ulps): New target.
68638 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68639 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68640 [ifneq (no,$(PERL)] (regen-ulps): New target.
68641 [ifeq (no,$(PERL)] (regen-ulps): New target.
68642 * math/libm-test.inc (ulps_file_name): Define.
68643 (output_dir): New variable.
68644 (options): Add "output-dir" option.
68645 (parse_opt): Handle 'o' case.
68646 (main): If output_dir is non-NULL use it as a prefix
68647 otherwise use "".
68648 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68649
68650 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68651
68652 [BZ #10060, #10062]
68653 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68654 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68655 fail configure if __sync_val_compare_and_swap is not inlined.
68656 * sysdeps/i386/configure: Regenerate.
68657 * configure.in: Build for i686 when configured for i386.
68658 * configure: Regenerate.
68659 * README: Remove i386 reference.
68660
68661 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68662
68663 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68665
68666 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68667
68668 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68669 (lmsnanval): New variables.
68670 (F): Add conversion tests.
68671 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68672 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68673
68674 * stdio-common/tstdiomisc.c (F): Properly collect individual
68675 tests' results.
68676
68677 [BZ #14686, #15336]
68678 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68679 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68680 Instead, use input NaN values or generate a qNaN by arithmetic
68681 operation. Also fix bugs to comply with the standard.
68682 * math/libm-test.inc (remainder_test): Add more tests.
68683
68684 [BZ #15335, #15342]
68685 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68686 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68687 input NaN values or generate a qNaN by arithmetic operation.
68688
68689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68690 unreachable code.
68691
68692 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68693 definitions.
68694
68695 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68696
68697 [BZ #14478]
68698 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68699 underflowed result.
68700 * math/s_cexpf.c (__cexpf): Likewise.
68701 * math/s_cexpl.c (__cexpl): Likewise.
68702 * math/libm-test.inc (cexp_test): Add more tests.
68703
68704 2013-04-03 Andreas Schwab <schwab@suse.de>
68705
68706 [BZ #15330]
68707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68708 order arrays from heap if bigger than alloca cutoff.
68709
68710 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68711
68712 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68713 (SNAN_TESTS_double): Refer to GCC PR56831.
68714 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68715 GCC PR56828.
68716
68717 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68718
68719 * Rules (bench): Move bench.out after the run is complete.
68720
68721 * Rules (bench): Echo currently running benchmark.
68722
68723 * benchtests/Makefile (bench): Add atan and slowatan.
68724 * benchtests/atan-inputs: New file.
68725 * benchtests/slowatan-inputs: New file.
68726 * benchtests/slowatan.c: New file.
68727
68728 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68730 its value.
68731
68732 [BZ #15305]
68733 * sysdeps/unix/sysv/linux/kernel-features.h
68734 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68735 __ASSUME_XFS_RESTRICTED_CHOWN.
68736 * sysdeps/unix/sysv/linux/pathconf.c
68737 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68738 Save and restore errno.
68739
68740 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68741
68742 [BZ #15327]
68743 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68744 arguments using __kernel_casinh.
68745 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68746 arguments using __kernel_casinhf.
68747 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68748 arguments using __kernel_casinhl.
68749 * math/libm-test.inc (cacosh_test): Add more tests.
68750 * sysdeps/i386/fpu/libm-test-ulps: Update.
68751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68752
68753 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68754
68755 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68757
68758 * bench/Makefile (bench): Add sin and slowsin.
68759 * benchtests/sin-inputs: New file.
68760 * benchtests/slowsin-inputs: New file.
68761 * benchtests/slowsin.c: New file.
68762
68763 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68764 (bench): Add slowexp and slowpow.
68765 (exp-ITER): Increase iterations.
68766 (pow-ITER): Likewise.
68767 * benchtests/exp-inputs: Change input.
68768 * benchtests/pow-inputs: Likewise.
68769 * benchtests/slowexp-inputs: New file.
68770 * benchtests/slowexp.c: New file.
68771 * benchtests/slowpow-inputs: New file.
68772 * benchtests/slowpow.c: New file.
68773
68774 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68775
68776 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68777 instructions.
68778 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68779 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68780 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68781 * benchtests/Makefile: Add rint benchtest.
68782 * benchtests/rint-inputs: Input for rint benchtest.
68783
68784 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68785
68786 * Versions.def (libm): Add GLIBC_2.18.
68787 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68788 hidden libm prototypes.
68789 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68790 * math/Makefile (libm-calls): Add s_issignaling.
68791 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68792 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68793 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68794 declaration.
68795 * math/math.h [__USE_GNU] (issignaling): New macro.
68796 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68797 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68798 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68799 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68800 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68801 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68802 * manual/arith.texi (issignaling): New section.
68803 * manual/libm-err-tab.pl (@all_functions): Update comment.
68804 * math/gen-libm-test.pl (parse_args): Apply special handling for
68805 issignaling.
68806 * math/libm-test.inc (print_float, issignaling_test): New
68807 functions.
68808 (check_float_internal): Add issignaling checks.
68809 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68810 default definition.
68811 * sysdeps/powerpc/math-tests.h: New file.
68812 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68813 tests.
68814 * math/test-snan.c (TEST_FUNC): Likewise.
68815
68816 2013-03-30 David S. Miller <davem@davemloft.net>
68817
68818 * po/de.po: Update from translation team.
68819
68820 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68821
68822 [BZ #10357]
68823 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68824 imaginary part less than 1.0 and real part less than 0.5
68825 specially.
68826 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68827 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68828 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68829 (cacos_test): Add more tests.
68830 (casin_test): Likewise.
68831 (casinh_test): Likewise.
68832 * sysdeps/i386/fpu/libm-test-ulps: Update.
68833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68834
68835 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68836
68837 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68838 ONE with its value.
68839
68840 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68841 (__pow_mp): Replace ONE and MONE with their values.
68842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68845 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68846 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68847 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68848
68849 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68850
68851 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68852 (__pow_mp): Replace ZERO and MZERO with their values.
68853 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68854 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68855 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68858 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68859 (__sqr): Likewise.
68860
68861 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68862
68863 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68864
68865 2013-03-28 Roland McGrath <roland@hack.frob.com>
68866
68867 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68868 Declare with __attribute__ ((weak)).
68869 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68870 Call __call_tls_dtors only if it's not NULL.
68871
68872 2013-03-28 Roland McGrath <roland@hack.frob.com>
68873
68874 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68875 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68876 magic __ehdr_start linker symbol if it's defined.
68877 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68878 them up here if it was already done.
68879
68880 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68881 (_dl_aux_init): Use const in cast when setting it.
68882 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68883 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68884 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68885
68886 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68887 Declare them here.
68888 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68889 * csu/libc-tls.c: Nor here.
68890 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68891
68892 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68893 (__libc_message): Never call vsyslog.
68894
68895 2013-03-28 Alan Modra <amodra@gmail.com>
68896
68897 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68898 Define as empty.
68899 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68900 Likewise.
68901
68902 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68903
68904 [BZ #15214]
68905 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68906 underflow.
68907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68908
68909 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68910
68911 [BZ #15304]
68912 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68913 Don't add gid passed as argument.
68914
68915 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68916
68917 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68918
68919 [BZ #15307]
68920 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68921 imaginary part between 1.0 and 1.5 and real part less than 0.5
68922 specially.
68923 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68924 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68925 * math/libm-test.inc (cacos_test): Add more tests.
68926 (casin_test): Likewise.
68927 (casinh_test): Likewise.
68928 * sysdeps/i386/fpu/libm-test-ulps: Update.
68929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68930
68931 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68932
68933 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68934 constants.
68935 (norm): Likewise.
68936 (denorm): Likewise.
68937 (__dbl_mp): Likewise.
68938 (add_magnitudes): Likewise.
68939 (sub_magnitudes): Likewise.
68940 (__add): Likewise.
68941 (__sub): Likewise.
68942 (__mul): Likewise.
68943 (__sqr): Likewise.
68944 (__inv): Likewise.
68945 (__dvd): Likewise.
68946
68947 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68948 commented code.
68949 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68950 (__dubcos): Likewise.
68951 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68952 (__ieee754_acos): Likewise.
68953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68955 (__exp1): Likewise.
68956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68958 (log1): Likewise.
68959 (my_log2): Likewise.
68960 (checkint): Likewise.
68961 * sysdeps/ieee754/dbl-64/e_remainder.c
68962 (__ieee754_remainder): Likewise.
68963 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68964 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68965 (bsloww): Likewise.
68966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68967
68968 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68969 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68970 MANTISSA_STORE_T to store computations on mantissa. Use
68971 macros for rounding and division.
68972 (denorm): Likewise.
68973 (__dbl_mp): Likewise.
68974 (add_magnitudes): Likewise.
68975 (sub_magnitudes): Likewise.
68976 (__mul): Likewise.
68977 (__sqr): Likewise.
68978 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68979 powers of two in terms of TWOPOW macro.
68980 (mp_no): Make type of mantissa as MANTISSA_T.
68981 [!RADIXI]: Define RADIXI.
68982 [!TWO52]: Define TWO52.
68983 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68984
68985 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68986
68987 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68988 llroundl symbol when building for PPC32.
68989
68990 2013-03-24 Mark H Weaver <mhw@netris.org>
68991
68992 * manual/arith.texi (Normalization Functions): Fix prototypes for
68993 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68994
68995 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68996
68997 [BZ #13889]
68998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68999 high value to check if expl overflow.
69000 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69001 to check for underflow and overflow.
69002 * math/libm-test.inc: Add exp test.
69003
69004 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69005
69006 [BZ #11120]
69007 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69008 with NOT_IN_libc.
69009
69010 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69011
69012 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69013 symbol.
69014
69015 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69016
69017 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69018 wrap blocks consisting of several statements.
69019
69020 * sysdeps/generic/math-tests.h: New file.
69021 * sysdeps/i386/fpu/math-tests.h: Likewise.
69022 * math/test-snan.c: Include it.
69023 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69024
69025 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69026
69027 [BZ #15285]
69028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69029 (__ieee754_j0l): Do not improve calculations using cos of twice
69030 input for inputs above LDBL_MAX / 2.0L.
69031 (__ieee754_y0l): Likewise.
69032 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69033 (__ieee754_j1l): Do not improve calculations using cos of twice
69034 input for inputs above LDBL_MAX / 2.0L.
69035 (__ieee754_y1l): Likewise.
69036 * math/libm-test.inc (j0_test): Add another test.
69037 (j1_test): Likewise.
69038 (y0_test): Likewise.
69039 (y1_test): Likewise.
69040 * sysdeps/i386/fpu/libm-test-ulps: Update.
69041
69042 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69043
69044 * Rules ($(objpfx)bench-%.c): Include code from a C source
69045 file.
69046
69047 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69048
69049 [BZ #15287]
69050 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69051 imaginary part 1.0 and real part less than 0.5 specially.
69052 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69053 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69054 * math/libm-test.inc (cacos_test): Add more tests.
69055 (casin_test): Likewise.
69056 (casinh_test): Likewise.
69057 * sysdeps/i386/fpu/libm-test-ulps: Update.
69058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69059
69060 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69061
69062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69063 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69064
69065 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69066
69067 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69068 * config.make.in (config-cflags-sse4): Remove variable.
69069 (config-cflags-avx): Likewise.
69070 (config-cflags-sse2avx): Likewise.
69071 (config-cflags-novzeroupper): Likewise.
69072 (config-asflags-i686): Likewise.
69073 (have-mfma4): Likewise.
69074 (have-as-vis3): Likewise.
69075 (MIG): Likewise.
69076 * configure.in (MIG): Do not AC_SUBST.
69077 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69078 (libc_cv_cc_sse4): Do not AC_SUBST.
69079 (libc_cv_cc_avx): Likewise.
69080 (libc_cv_cc_sse2avx): Likewise.
69081 (libc_cv_cc_novzeroupper): Likewise.
69082 (libc_cv_cc_fma4): Likewise.
69083 (libc_cv_as_i686): Likewise.
69084 (libc_cv_sparc_as_vis3): Likewise.
69085 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69086 LIBC_CONFIG_VAR.
69087 (config-asflags-i686): Likewise.
69088 (config-cflags-avx): Likewise.
69089 (config-cflags-sse2avx): Likewise.
69090 (have-mfma4): Likewise.
69091 (config-cflags-novzeroupper): Likewise.
69092 * sysdeps/mach/configure.in (MIG): Likewise.
69093 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69094 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69095 LIBC_CONFIG_VAR.
69096 (config-cflags-avx): Likewise.
69097 (config-cflags-sse2avx): Likewise.
69098 (have-mfma4): Likewise.
69099 (config-cflags-novzeroupper): Likewise.
69100 * configure: Regenerated.
69101 * sysdeps/i386/configure: Likewise.
69102 * sysdeps/mach/configure: Likewise.
69103 * sysdeps/sparc/configure: Likewise.
69104 * sysdeps/x86_64/configure: Likewise.
69105
69106 2013-03-20 Roland McGrath <roland@hack.frob.com>
69107
69108 [BZ #14812]
69109 * locale/programs/localedef.c (options): Put N_ translation marker
69110 on argument names, not just descriptions.
69111
69112 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69113
69114 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69115
69116 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
69117
69118 [BZ #14176]
69119 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69120
69121 2013-03-19 Roland McGrath <roland@hack.frob.com>
69122
69123 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69124 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69125 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69126 [!BEFORE_ABORT] (before_abort): New function.
69127 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69128 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69129 (writev_for_fatal): New function.
69130 (WRITEV_FOR_FATAL): New macro; call that.
69131 (backtrace_and_maps): New function.
69132 (BEFORE_ABORT): New macro; call that.
69133 (struct str_list): Type removed.
69134 (__libc_message, __libc_fatal): Functions removed.
69135 Include <sysdeps/posix/libc_fatal.c> instead.
69136
69137 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69138
69139 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69140 constants.
69141 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69142 double constants.
69143
69144 2013-03-19 Andreas Schwab <schwab@suse.de>
69145
69146 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69147 * sysdeps/gnu/configure: Regenerate.
69148
69149 * configure.in: Substitute libc_cv_rtlddir.
69150 * configure: Regenerate.
69151 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69152 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69153 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69154 * elf/Makefile (install-others, CFLAGS-interp.c)
69155 (ldso_install, common-ldd-rewrite): Likewise.
69156 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69157 $(inst_slibdir)/$(rtld-installed-name).
69158 * scripts/rellns-sh: Add -p option.
69159 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69160 for source.
69161
69162 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69163
69164 * manual/nptl.texi: Renamed to ...
69165 * manual/threads.texi: ... this.
69166 * manual/Makefile (chapters): Update.
69167
69168 2013-03-18 Roland McGrath <roland@hack.frob.com>
69169
69170 [BZ #14812]
69171 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69172 on argument names, not just descriptions.
69173 * malloc/memusagestat.c (options): Likewise.
69174 * nss/getent.c (options): Likewise.
69175
69176 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69177
69178 [BZ #14812]
69179 * iconv/iconv_prog.c (options): Put N_ translation marker
69180 on argument names, not just descriptions.
69181 * iconv/iconvconfig.c (options): Likewise.
69182
69183 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69184
69185 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69186 implementation which is faster on all x86_64 architectures.
69187 Tested on AMD, Intel Nehalem, SNB, IVB.
69188 * sysdeps/x86_64/strnlen.S: Likewise.
69189
69190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69191 Remove all multiarch strlen and strnlen versions.
69192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69193 Remove strlen and strnlen related parts.
69194
69195 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69196 Inline strlen part.
69197 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69198
69199 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69200 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69201 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69202 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69203 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69204 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69205
69206 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69207
69208 * manual/memory.texi (Malloc Tunable Parameters):
69209 Sort parameters alphabetically. Add comments for missing entries.
69210
69211 2013-03-17 David S. Miller <davem@davemloft.net>
69212
69213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69214
69215 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69216
69217 [BZ #15283]
69218 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69219 for arguments at most half maximum finite value.
69220 * math/libm-test.inc (j0_test): Add more tests.
69221 (j1_test): Likewise.
69222 (y0_test): Likewise.
69223 (y1_test): Likewise.
69224 * sysdeps/i386/fpu/libm-test-ulps: Update.
69225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69226
69227 [BZ #14155]
69228 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69229 1 / x and functions P and Q for arguments above 0x1p256L.
69230 (__ieee754_y0l): Likewise.
69231 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69232 (__ieee754_y1l): Likewise.
69233 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69234 (j1_test): Likewise.
69235 (y0_test): Likewise.
69236 (y1_test): Likewise.
69237
69238 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69239
69240 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69241 variable.
69242
69243 2013-03-15 Roland McGrath <roland@hack.frob.com>
69244
69245 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69246 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69247 zero since it's initialized to EXEC_PAGESIZE.
69248
69249 * sysdeps/unix/sysv/linux/ldsodefs.h
69250 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69251 * sysdeps/generic/ldsodefs.h: ... here.
69252
69253 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69254
69255 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69256
69257 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69258 math/test-snan.c.
69259 * math/test-snan.c: Renamed from
69260 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69261 * math/Makefile (tests): Add test-snan.
69262 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69263 test-powerpc-snan.
69264
69265 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69266 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69267 functions.
69268 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69269 __builtin_nan family of functions.
69270 * math/libm-test.inc (initialize): Initialize qnan_value with
69271 __builtin_nan family of functions.
69272 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69273 Remove variables.
69274 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69275 Remove functions.
69276 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69277 storage class. Initialize qNaN_var and sNaN_var with
69278 __builtin_nan and __builtin_nans families of functions,
69279 respectively.
69280
69281 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69282 (sqrt_test): Remove duplicate test with qNaN input.
69283 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69284 (round_test, signbit_test, significand_test): Note missing +/-Inf
69285 as well as qNaN tests.
69286
69287 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69288 qNaN_var. Fix a few strings, too.
69289 * math/libm-test.inc (nan_value): Rename to qnan_value.
69290 * math/gen-libm-test.pl (%beautify): Adjust to that.
69291 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69292 * math/test-misc.c (main): Likewise.
69293 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69294 to __qnan_bytes, and __qnan_union, respectively.
69295 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69296 Likewise.
69297 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69298 and lqnanval, respectively.
69299 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69300 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69301 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69302 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69303
69304 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69305 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69306 doubles.
69307
69308 * math/test-misc.c (main): Fix copy'n'pastos.
69309 * misc/tst-efgcvt.c (special): Likewise.
69310
69311 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69312 Remove declarations.
69313
69314 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69315
69316 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69317 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69318 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69319 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69320
69321 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69322
69323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69324 macro to return vdso values correctly in IFUNC implementations.
69325 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69326 Optimization by using IFUNC.
69327
69328 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69329 Richard Henderson <rth@redhat.com>
69330 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69331
69332 * Makefile.in (bench): New target.
69333 * NEWS: Mention the benchmark framework.
69334 * Rules (bench): Likewise.
69335 (binaries-bench): Generate binaries for functions to
69336 benchmark.
69337 * benchtests/Makefile: New makefile for benchmark tests.
69338 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69339 programs.
69340 * benchtests/exp-inputs: New input file for EXP function.
69341 * benchtests/pow-inputs: New input file for POW function.
69342 * scripts/bench.pl: New script to generate source files for
69343 benchmark programs.
69344
69345 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69346
69347 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69349 computations on mantissa. Use macros for rounding and
69350 division.
69351 (denorm): Likewise.
69352 (__dbl_mp): Likewise.
69353 (add_magnitudes): Likewise.
69354 (sub_magnitudes): Likewise.
69355 (__mul): Likewise.
69356 (__sqr): Likewise.
69357 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69358 powers of two in terms of TWOPOW macro.
69359 (mp_no): Make type of mantissa as MANTISSA_T.
69360 [!RADIXI]: Define RADIXI.
69361 [!TWO52]: Define TWO52.
69362 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69363
69364 * manual/nptl.texi (cindex): Modify threads to pthreads.
69365
69366 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69367
69368 * sysdeps/x86_64/preconfigure: Regenerated.
69369
69370 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69371
69372 [BZ #14155]
69373 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69374 0x1p28 and above.
69375 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69376 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69377 0x1p28 and above.
69378 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69379 * math/libm-test.inc (j0_test): Do not allow one spurious
69380 underflow exception.
69381 (y1_test): Likewise.
69382
69383 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69384
69385 * manual/Makefile (chapters): Add nptl.
69386 * manual/debug.texi (Debugging Support): Add link to Threads
69387 chapter.
69388 * manual/nptl.texi: New file.
69389
69390 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69391
69392 2013-03-14 Petr Baudis <pasky@ucw.cz>
69393
69394 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69395 for non-NULL pointer before the memory validity test. Pointed
69396 out by Holger Brunck <holger.brunck@keymile.com>.
69397
69398 2013-03-13 Andreas Schwab <schwab@suse.de>
69399
69400 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69401 instead of .os.
69402
69403 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69404
69405 * timezone/zic.c: Update from tzcode 2013b.
69406
69407 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69408
69409 * manual/install.texi (Configuring and compiling):
69410 Mention i686 and i586.
69411 * INSTALL: Regenerate.
69412
69413 2013-03-12 Roland McGrath <roland@hack.frob.com>
69414
69415 * sysdeps/init_array/elf-init.c: New file.
69416 * csu/elf-init.c
69417 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69418 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69419
69420 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69421 __gmon_start__ as global, but as static with a .preinit_array pointer.
69422 * sysdeps/init_array/gmon-start.c: New file. Use that.
69423 * sysdeps/init_array/crti.S: New file, empty except for comments.
69424 * sysdeps/init_array/crtn.S: Likewise.
69425
69426 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69427
69428 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69429 definining bcopy.
69430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69431 Remove Prefer_SSE_for_memop.
69432 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69433 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69434 HAS_PREFER_SSE_FOR_MEMOP.
69435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69436 memset-x86-64.
69437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69438 Remove bzero, memset ifunc support.
69439 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69440 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69441 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69442 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69443
69444 2013-03-11 Andreas Schwab <schwab@suse.de>
69445
69446 [BZ #15234]
69447 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69448 by SHLIB_COMPAT.
69449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69450 (GLIBC_2.16): Remove pthread_atfork.
69451
69452 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69453
69454 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69455 (ptestcases.h): Likewise.
69456
69457 2013-03-08 Roland McGrath <roland@hack.frob.com>
69458
69459 * Makeconfig ($(common-objpfx)config.status): Depend on
69460 sysdeps/*/preconfigure{,.in} too.
69461
69462 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69463
69464 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69465 (__free_hook): Use void * instead of __malloc_ptr_t.
69466 (__malloc_hook): Likewise.
69467 (__realloc_hook): Likewise.
69468 (__memalign_hook): Likewise.
69469 (__after_morecore_hook): Likewise.
69470 * malloc/arena.c (save_malloc_hook): Likewise.
69471 (save_free_hook): Likewise.
69472 * malloc/hooks.c (malloc_hook_ini): Likewise.
69473 (realloc_hook_ini): Likewise.
69474 (memalign_hook_ini): Likewise.
69475 * malloc/malloc.c (malloc_hook_ini): Likewise.
69476 (realloc_hook_ini): Likewise.
69477 (memalign_hook_ini): Likewise.
69478 (__free_hook): Likewise.
69479 (__malloc_hook): Likewise.
69480 (__realloc_hook): Likewise.
69481 (__memalign_hook): Likewise.
69482 (__libc_malloc): Likewise.
69483 (__libc_free): Likewise.
69484 (__libc_realloc): Likewise.
69485 (__libc_memalign): Likewise.
69486 (__libc_valloc): Likewise.
69487 (__libc_pvalloc): Likewise.
69488 (__libc_calloc): Likewise.
69489 (__posix_memalign): Likewise.
69490 * malloc/morecore.c (__sbrk): Likewise.
69491 (__default_morecore): Likewise.
69492
69493 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69494
69495 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69496 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69497 __malloc_ptrdiff_t.
69498
69499 * malloc/malloc.h (__malloc_size_t): Remove macro.
69500 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69501 __malloc_size_t.
69502 (old_memalign_hook): Likewise.
69503 (old_realloc_hook): Likewise.
69504 (struct hdr): Likewise.
69505 (flood): Likewise.
69506 (mallochook): Likewise.
69507 (memalignhook): Likewise.
69508 (reallochook): Likewise.
69509 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69510 (tr_old_realloc_hook): Likewise.
69511 (tr_old_memalign_hook): Likewise.
69512 (tr_mallochook): Likewise.
69513 (tr_reallochook): Likewise.
69514 (tr_memalignhook): Likewise.
69515
69516 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69517
69518 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69519 default_ldbl_pack and using as default implementation.
69520 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69521 implementation.
69522 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69523 redundant definition.
69524 (ldbl_insert_mantissa): Likewise.
69525 (ldbl_canonicalize): Likewise.
69526 (ldbl_nearbyint): Likewise.
69527 (ldbl_pack): Rename to ldbl_pack_ppc.
69528 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69529 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69530 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69531
69532 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69533
69534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69535 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69537 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69539 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69540 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69541 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69542
69543 2013-03-07 Andreas Jaeger <aj@suse.de>
69544
69545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69546 bits/mman-linux.h.
69547
69548 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69549
69550 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69551 Include mpa.h and declare __MPEXP.
69552 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69553 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69554 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69555 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69556 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69557 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69558 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69559
69560 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69561 (__slowpow): Use long double EXPL and LOGL functions to
69562 compute POW.
69563 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69564 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69565 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69567 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69569
69570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69571 intermediate variable to calculate exponent.
69572 (__sqr): Likewise.
69573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69574 Likewise.
69575 (__sqr): Likewise.
69576
69577 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69578 [!NO__SQR]: Define __sqr.
69579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69580 and NO__SQR. Remove all code except __mul and __sqr. Include
69581 sysdeps/ieee754/dbl-64/mpa.c.
69582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69583
69584 [BZ #12723]
69585 * posix/Makefile (tests): Add tst-pathconf.
69586 * posix/tst-pathconf.c: New test case.
69587 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69588 _PC_PIPE_BUF.
69589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69590
69591 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69592
69593 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69594
69595 2013-03-06 Andreas Jaeger <aj@suse.de>
69596
69597 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69598 definition via __MAP_ANONYMOUS.
69599
69600 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69601 it's not part of Linux headers.
69602
69603 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69604 (MAP_HUGE_MASK): Define.
69605
69606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69607 Define.
69608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69609 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69610 Define.
69611 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69612 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69613 Define.
69614 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69616 Define.
69617 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69618
69619 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69620 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69621 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69622 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69623 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69624 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69625
69626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69627 Handle f2fs.
69628
69629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69630 Handle f2fs and efivarfs.
69631
69632 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69633 f2fs.
69634
69635 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69636 (EFIVARFS_MAGIC): Add.
69637 (F2FS_LINK_MAX): Add.
69638
69639 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69640
69641 * stdio-common/vfprintf.c: Replace __builtin_expect with
69642 __glibc_unlikely.
69643
69644 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69645
69646 [BZ #13550]
69647 * sysdeps/generic/bp-sym.h: Remove file.
69648 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69649 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69650 <bp-sym.h> and <bp-asm.h>.
69651 (__longjmp): Don't use BP_SYM.
69652 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69653 and <bp-asm.h>.
69654 (memcpy): Don't use BP_SYM.
69655 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69656 <bp-sym.h> and <bp-asm.h>.
69657 (memcpy): Don't use BP_SYM.
69658 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69659 <bp-asm.h>.
69660 (memcpy): Don't use BP_SYM.
69661 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69662 <bp-asm.h>.
69663 (memset): Don't use BP_SYM.
69664 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69665 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69666 (__bzero): Don't use BP_SYM.
69667 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69668 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69670 <bp-sym.h> and <bp-asm.h>.
69671 (memcmp): Don't use BP_SYM. Remove comment about bounded
69672 pointers.
69673 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69674 <bp-sym.h> and <bp-asm.h>.
69675 (memcpy): Don't use BP_SYM.
69676 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69677 <bp-sym.h> and <bp-asm.h>.
69678 (memset): Don't use BP_SYM.
69679 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69680 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69681 (__bzero): Don't use BP_SYM.
69682 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69683 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69684 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69685 <bp-sym.h> and <bp-asm.h>.
69686 (strncmp): Don't use BP_SYM. Remove comment about bounded
69687 pointers.
69688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69689 <bp-sym.h> and <bp-asm.h>.
69690 (memcpy): Don't use BP_SYM.
69691 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69692 <bp-sym.h> and <bp-asm.h>.
69693 (memset): Don't use BP_SYM.
69694 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69695 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69696 (__bzero): Don't use BP_SYM.
69697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69700 <bp-sym.h> and <bp-asm.h>.
69701 (__memchr): Don't use BP_SYM.
69702 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69703 <bp-sym.h> and <bp-asm.h>.
69704 (memcmp): Don't use BP_SYM. Remove comment about bounded
69705 pointers.
69706 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69707 <bp-sym.h> and <bp-asm.h>.
69708 (memcpy): Don't use BP_SYM.
69709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69710 <bp-sym.h> and <bp-asm.h>.
69711 (__mempcpy): Don't use BP_SYM.
69712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69713 <bp-sym.h> and <bp-asm.h>.
69714 (__memrchr): Don't use BP_SYM.
69715 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69716 <bp-sym.h> and <bp-asm.h>.
69717 (memset): Don't use BP_SYM.
69718 (__bzero): Likewise.
69719 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69720 <bp-sym.h> and <bp-asm.h>.
69721 (__rawmemchr): Don't use BP_SYM.
69722 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69723 <bp-sym.h> and <bp-asm.h>.
69724 (__STRCMP): Don't use BP_SYM.
69725 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69726 <bp-sym.h> and <bp-asm.h>.
69727 (strchr): Don't use BP_SYM.
69728 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69729 <bp-sym.h> and <bp-asm.h>.
69730 (__strchrnul): Don't use BP_SYM.
69731 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69732 <bp-sym.h> and <bp-asm.h>.
69733 (strlen): Don't use BP_SYM.
69734 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69735 <bp-sym.h> and <bp-asm.h>.
69736 (strncmp): Don't use BP_SYM. Remove comment about bounded
69737 pointers.
69738 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69739 <bp-sym.h> and <bp-asm.h>.
69740 (__strnlen): Don't use BP_SYM.
69741 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69742 <bp-sym.h> and <bp-asm.h>.
69743 (__GI__setjmp): Don't use BP_SYM.
69744 (_setjmp): Likewise.
69745 (__sigsetjmp): Likewise.
69746 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69747 (L(start_addresses)): Don't use BP_SYM.
69748 (_start): Likewise.
69749 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69750 <bp-asm.h>.
69751 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69752 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69753 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69754 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69755 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69756 <bp-asm.h>.
69757 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69758 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69759 about bounded pointers.
69760 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69761 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69762 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69763 <bp-asm.h>.
69764 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69765 about bounded pointers. Remove GKM FIXME comments.
69766 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69767 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69768 <bp-asm.h>.
69769 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69770 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69771 Remove GKM FIXME comments.
69772 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69773 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69774 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69775 <bp-asm.h>.
69776 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69777 about bounded pointers. Remove GKM FIXME comment.
69778 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69779 and <bp-asm.h>.
69780 (strncmp): Don't use BP_SYM. Remove comment about bounded
69781 pointers.
69782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69783 <bp-sym.h> and <bp-asm.h>.
69784 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69786 <bp-sym.h> and <bp-asm.h>.
69787 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69788 comment.
69789
69790 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69791
69792 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69793 call free(NULL).
69794
69795 2013-03-05 David S. Miller <davem@davemloft.net>
69796
69797 * po/es.po: Update from translation team.
69798
69799 2013-03-05 Andreas Jaeger <aj@suse.de>
69800
69801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69802 <bits/mman-linux.h>.
69803 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69804 is fine.
69805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69806 <bits/mman-linux.h> to end of file.
69807 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69808 is fine.
69809 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69810 <bits/mman-linux.h> to end of file.
69811 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69812 is fine.
69813 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69814 <bits/mman-linux.h> to end of file.
69815
69816 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69817 (MCL_CURRENT, MCL_FUTURE): Define here.
69818
69819 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69820
69821 [BZ #15232]
69822 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69823 attribute_hidden.
69824 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69825
69826 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69827
69828 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69829 fourth parameter needed for rt_sigprocmask syscall.
69830 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69831 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69832 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69833 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69834 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69835 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69836
69837 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69838
69839 [BZ #13550]
69840 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69841 comment about bounded pointers.
69842 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69843 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69844
69845 2013-03-04 Andreas Jaeger <aj@suse.de>
69846
69847 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69848 common definitions.
69849
69850 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69851 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69852 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69856
69857 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69858
69859 [BZ #15055]
69860 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69861 __ieee754_sqrl instead of __sqrl.
69862
69863 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69864
69865 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69866 * sysdeps/powerpc/fpu_control.h: ... here.
69867 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69868 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69869 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69870 * sysdeps/powerpc/bits/mathinline.h: ... here.
69871
69872 2013-03-01 Roland McGrath <roland@hack.frob.com>
69873
69874 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69875 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69876 to just [NEED_DL_SYSINFO_DSO].
69877 * elf/dl-support.c: Likewise.
69878 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69879 * elf/rtld.c (dl_main): Likewise.
69880 * elf/setup-vdso.h (setup_vdso): Likewise.
69881 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69882 * sysdeps/unix/sysv/linux/dl-sysdep.c
69883 (_dl_discover_osversion): Likewise.
69884
69885 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69886
69887 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69888 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69889
69890 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69891
69892 * NEWS: Mention libm performance improvements and non-x86 PI
69893 futex support.
69894
69895 * csu/libc-start.c (__pthread_initialize_minimal): Change
69896 function arguments.
69897 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69898
69899 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69900
69901 [BZ #13550]
69902 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69903 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69904 <bp-sym.h> and <bp-asm.h>.
69905 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69907 and <bp-asm.h>.
69908 (memcpy): Don't use BP_SYM.
69909 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69910 <bp-asm.h>.
69911 (__mpn_add_n): Don't use BP_SYM.
69912 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69913 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69914 and <bp-asm.h>.
69915 (__mpn_addmul_1): Don't use BP_SYM.
69916 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69917 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69918 <bp-sym.h>.
69919 (_setjmp): Don't use BP_SYM.
69920 (__novmx_setjmp): Likewise.
69921 (__GI__setjmp): Likewise.
69922 (__vmx_setjmp): Likewise.
69923 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69924 <bp-sym.h>.
69925 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69926 (__bzero): Don't use BP_SYM.
69927 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69928 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69929 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69930 <bp-sym.h> and <bp-asm.h>.
69931 (memcpy): Don't use BP_SYM.
69932 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69933 <bp-sym.h> and <bp-asm.h>.
69934 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69935 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69936 <bp-sym.h> and <bp-asm.h>.
69937 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69938 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69939 <bp-asm.h>.
69940 (__mpn_lshift): Don't use BP_SYM.
69941 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69942 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69943 <bp-asm.h>.
69944 (memset): Don't use BP_SYM.
69945 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69946 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69947 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69948 <bp-asm.h>.
69949 (__mpn_mul_1): Don't use BP_SYM.
69950 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69951 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69952 <bp-sym.h> and <bp-asm.h>.
69953 (memcmp): Don't use BP_SYM.
69954 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69955 <bp-sym.h> and <bp-asm.h>.
69956 (memcpy): Don't use BP_SYM.
69957 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69958 <bp-sym.h> and <bp-asm.h>.
69959 (memset): Don't use BP_SYM.
69960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69961 <bp-sym.h> and <bp-asm.h>.
69962 (strncmp): Don't use BP_SYM.
69963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69964 <bp-sym.h> and <bp-asm.h>.
69965 (memcpy): Don't use BP_SYM.
69966 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69967 <bp-sym.h> and <bp-asm.h>.
69968 (memset): Don't use BP_SYM.
69969 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69970 <bp-sym.h> and <bp-asm.h>.
69971 (__memchr): Don't use BP_SYM.
69972 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69973 <bp-sym.h> and <bp-asm.h>.
69974 (memcmp): Don't use BP_SYM.
69975 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69976 <bp-sym.h> and <bp-asm.h>.
69977 (memcpy): Don't use BP_SYM.
69978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69979 <bp-sym.h> and <bp-asm.h>.
69980 (__mempcpy): Don't use BP_SYM.
69981 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69982 <bp-sym.h> and <bp-asm.h>.
69983 (__memrchr): Don't use BP_SYM.
69984 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69985 <bp-sym.h> and <bp-asm.h>.
69986 (memset): Don't use BP_SYM.
69987 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69988 <bp-sym.h> and <bp-asm.h>.
69989 (__rawmemchr): Don't use BP_SYM.
69990 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69991 <bp-sym.h> and <bp-asm.h>.
69992 (__STRCMP): Don't use BP_SYM.
69993 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69994 <bp-sym.h> and <bp-asm.h>.
69995 (strchr): Don't use BP_SYM.
69996 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69997 <bp-sym.h> and <bp-asm.h>.
69998 (__strchrnul): Don't use BP_SYM.
69999 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70000 <bp-sym.h> and <bp-asm.h>.
70001 (strlen): Don't use BP_SYM.
70002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70003 <bp-sym.h> and <bp-asm.h>.
70004 (strncmp): Don't use BP_SYM.
70005 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70006 <bp-sym.h> and <bp-asm.h>.
70007 (__strnlen): Don't use BP_SYM.
70008 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70009 <bp-asm.h>.
70010 (__mpn_rshift): Don't use BP_SYM.
70011 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70012 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70013 <bp-sym.h> and <bp-asm.h>.
70014 (__sigsetjmp): Don't use BP_SYM.
70015 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70016 (L(start_addresses)): Don't use BP_SYM.
70017 (_start): Likewise.
70018 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70019 <bp-asm.h>.
70020 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70021 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70022 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70023 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70024 <bp-asm.h>.
70025 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70026 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70027 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70028 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70029 <bp-asm.h>.
70030 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70031 comments.
70032 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70033 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70034 <bp-asm.h>.
70035 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70036 FIXME comments.
70037 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70038 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70039 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70040 <bp-asm.h>.
70041 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70042 comment.
70043 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70044 and <bp-asm.h>.
70045 (strncmp): Don't use BP_SYM,
70046 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70047 <bp-asm.h>.
70048 (__mpn_sub_n): Don't use BP_SYM.
70049 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70050 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70051 and <bp-asm.h>.
70052 (__mpn_submul_1): Don't use BP_SYM.
70053 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70055 <bp-sym.h> and <bp-asm.h>.
70056 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70058 <bp-sym.h> and <bp-asm.h>.
70059 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70060 comment.
70061
70062 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70063
70064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70065 Use ZK to minimize writes to Z.
70066 (sub_magnitudes): Simplify code a bit.
70067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70068 Use ZK to minimize writes to Z.
70069 (sub_magnitudes): Simplify code a bit.
70070
70071 2013-02-27 Roland McGrath <roland@hack.frob.com>
70072
70073 * csu/gmon-start.c: Add special exception to license text.
70074
70075 2013-02-27 Richard Henderson <rth@redhat.com>
70076
70077 * scripts/config.guess: Update from config.git.
70078 * scripts/config.sub: Likewise.
70079
70080 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70081
70082 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70083
70084 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70085
70086 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70087
70088 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70089
70090 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70091
70092 2013-02-26 Roland McGrath <roland@hack.frob.com>
70093
70094 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70095 [$(build-shared = yes].
70096
70097 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70098
70099 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70100 (__mul): Reduce iterations for calculating mantissa.
70101
70102 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70103 MPTWO.
70104 (__mpranred): Likewise.
70105
70106 [BZ #15160]
70107 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70108 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70109
70110 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70111
70112 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70113 Define __attribute__.
70114
70115 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70116
70117 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70118 unused.
70119 * posix/regex_internal.h (__attribute): Remove.
70120 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70121 (re_string_context_at): Likewise.
70122 (bitset_not): Use __attribute__ and mark function as possibly
70123 unused.
70124 (bitset_merge): Likewise.
70125 (bitset_mask): Likewise.
70126 (re_string_char_size_at): Likewise.
70127 (re_string_wchar_at): Likewise.
70128 (re_string_elem_size_at): Likewise.
70129
70130 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70131
70132 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70133 code.
70134 (cc32): Likewise.
70135
70136 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70137 (__acr): Likewise.
70138 (__cpy): Likewise.
70139 (norm): Likewise.
70140 (denorm): Likewise.
70141 (__dbl_mp): Likewise.
70142 (add_magnitudes): Likewise.
70143 (sub_magnitudes): Likewise.
70144 (__mul): Likewise.
70145 (__inv): Likewise.
70146
70147 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70148 style.
70149
70150 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70151 style.
70152
70153 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70154 code.
70155
70156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70157 up changes with default code.
70158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70159 Likewise.
70160
70161 2013-02-24 Allan McRae <allan@archlinux.org>
70162
70163 * manual/socket.texi (The Internet Namespace): Order menu items
70164 to match that in the file.
70165
70166 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70167 node listing of the info page menu.
70168
70169 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70170
70171 [BZ #13550]
70172 * sysdeps/i386/bp-asm.h: Remove file.
70173 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70174 (PARMS): Do not use macros from bp-asm.h.
70175 (S1): Likewise.
70176 (S2): Likewise.
70177 (SIZE): Likewise.
70178 (__mpn_add_n): Do not use BP_SYM
70179 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70180 "bp-asm.h".
70181 (PARMS): Do not use macros from bp-asm.h.
70182 (S1): Likewise.
70183 (SIZE): Likewise.
70184 (__mpn_addmul_1): Do not use BP_SYM
70185 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70186 "bp-asm.h".
70187 (PARMS): Do not use macros from bp-asm.h.
70188 (SIGMSK): Likewise.
70189 (_setjmp): Likewise. Do not use BP_SYM.
70190 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70191 "bp-asm.h".
70192 (PARMS): Do not use macros from bp-asm.h.
70193 (SIGMSK): Likewise.
70194 (setjmp): Likewise. Do not use BP_SYM.
70195 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70196 "bp-asm.h".
70197 (PARMS): Do not use macros from bp-asm.h.
70198 (__frexp): Do not use BP_SYM.
70199 (frexp): Likewise.
70200 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70201 "bp-asm.h".
70202 (PARMS): Do not use macros from bp-asm.h.
70203 (__frexpf): Do not use BP_SYM.
70204 (frexpf): Likewise.
70205 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70206 "bp-asm.h".
70207 (PARMS): Do not use macros from bp-asm.h.
70208 (__frexpl): Do not use BP_SYM.
70209 (frexpl): Likewise.
70210 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70211 "bp-asm.h".
70212 (PARMS): Do not use macros from bp-asm.h.
70213 (__remquo): Do not use BP_SYM.
70214 (remquo): Likewise.
70215 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70216 "bp-asm.h".
70217 (PARMS): Do not use macros from bp-asm.h.
70218 (__remquof): Do not use BP_SYM.
70219 (remquof): Likewise.
70220 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70221 "bp-asm.h".
70222 (PARMS): Do not use macros from bp-asm.h.
70223 (__remquol): Do not use BP_SYM.
70224 (remquol): Likewise.
70225 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70226 "bp-asm.h".
70227 (PARMS): Do not use macros from bp-asm.h.
70228 (DEST): Likewise.
70229 (SRC): Likewise.
70230 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70231 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70232 "bp-asm.h".
70233 (PARMS): Do not use macros from bp-asm.h.
70234 (strlen): Do not use BP_SYM.
70235 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70236 "bp-asm.h".
70237 (PARMS): Do not use macros from bp-asm.h.
70238 (S1): Likewise.
70239 (S2): Likewise.
70240 (SIZE): Likewise.
70241 (__mpn_add_n): Do not use BP_SYM.
70242 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70243 "bp-asm.h".
70244 (PARMS): Do not use macros from bp-asm.h.
70245 (S1): Likewise.
70246 (SIZE): Likewise.
70247 (__mpn_addmul_1): Do not use BP_SYM.
70248 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70249 weak_alias.
70250 (bzero): Likewise.
70251 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70252 "bp-asm.h".
70253 (PARMS): Do not use macros from bp-asm.h.
70254 (S): Likewise.
70255 (SIZE): Likewise.
70256 (__mpn_lshift): Do not use BP_SYM.
70257 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70258 "bp-asm.h".
70259 (PARMS): Do not use macros from bp-asm.h.
70260 (DEST): Likewise.
70261 (SRC): Likewise.
70262 (LEN): Likewise.
70263 (memcpy): Likewise. Do not use BP_SYM.
70264 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70265 libc_hidden_def and weak_alias.
70266 (mempcpy): Do not use BP_SYM in weak_alias.
70267 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70268 "bp-asm.h".
70269 (PARMS): Do not use macros from bp-asm.h.
70270 (DEST): Likewise.
70271 (LEN): Likewise.
70272 [!BZERO_P] (CHR): Likewise.
70273 (memset): Likewise. Do not use BP_SYM.
70274 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70275 "bp-asm.h".
70276 (PARMS): Do not use macros from bp-asm.h.
70277 (S1): Likewise.
70278 (SIZE): Likewise.
70279 (__mpn_mul_1): Do not use BP_SYM.
70280 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70281 "bp-asm.h".
70282 (PARMS): Do not use macros from bp-asm.h.
70283 (S): Likewise.
70284 (SIZE): Likewise.
70285 (__mpn_rshift): Do not use BP_SYM.
70286 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70287 "bp-asm.h".
70288 (PARMS): Do not use macros from bp-asm.h.
70289 (STR): Likewise.
70290 (CHR): Likewise.
70291 (strchr): Likewise. Do not use BP_SYM.
70292 (index): Do not use BP_SYM in weak_alias.
70293 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70294 "bp-asm.h".
70295 (PARMS): Do not use macros from bp-asm.h.
70296 (DEST): Likewise.
70297 (SRC): Likewise.
70298 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70299 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70300 "bp-asm.h".
70301 (PARMS): Do not use macros from bp-asm.h.
70302 (strlen): Do not use BP_SYM.
70303 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70304 "bp-asm.h".
70305 (PARMS): Do not use macros from bp-asm.h.
70306 (S1): Likewise.
70307 (S2): Likewise.
70308 (SIZE): Likewise.
70309 (__mpn_sub_n): Do not use BP_SYM.
70310 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70311 "bp-asm.h".
70312 (PARMS): Do not use macros from bp-asm.h.
70313 (S1): Likewise.
70314 (SIZE): Likewise.
70315 (__mpn_submul_1): Do not use BP_SYM.
70316 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70317 "bp-asm.h".
70318 (PARMS): Do not use macros from bp-asm.h.
70319 (S1): Likewise.
70320 (S2): Likewise.
70321 (SIZE): Likewise.
70322 (__mpn_add_n): Do not use BP_SYM.
70323 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70324 weak_alias.
70325 (bzero): Likewise.
70326 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70327 "bp-asm.h".
70328 (PARMS): Do not use macros from bp-asm.h.
70329 (BLK2): Likewise.
70330 (LEN): Likewise.
70331 (memcmp): Do not use BP_SYM.
70332 (bcmp): Do not use BP_SYM in weak_alias.
70333 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70334 "bp-asm.h".
70335 (PARMS): Do not use macros from bp-asm.h.
70336 (DEST): Likewise.
70337 (SRC): Likewise.
70338 (LEN): Likewise.
70339 (memcpy): Likewise. Do not use BP_SYM.
70340 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70341 "bp-asm.h".
70342 (PARMS): Do not use macros from bp-asm.h.
70343 (DEST): Likewise.
70344 (SRC): Likewise.
70345 (LEN): Likewise.
70346 (memmove): Likewise. Do not use BP_SYM.
70347 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70348 "bp-asm.h".
70349 (PARMS): Do not use macros from bp-asm.h.
70350 (DEST): Likewise.
70351 (SRC): Likewise.
70352 (LEN): Likewise.
70353 (__mempcpy): Likewise. Do not use BP_SYM.
70354 (mempcpy): Do not use BP_SYM in weak_alias.
70355 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70356 "bp-asm.h".
70357 (PARMS): Do not use macros from bp-asm.h.
70358 (DEST): Likewise.
70359 (LEN): Likewise.
70360 [!BZERO_P] (CHR): Likewise.
70361 (memset): Likewise. Do not use BP_SYM.
70362 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70363 "bp-asm.h".
70364 (PARMS): Do not use macros from bp-asm.h.
70365 (STR2): Likewise.
70366 (strcmp): Do not use BP_SYM.
70367 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70368 "bp-asm.h".
70369 (PARMS): Do not use macros from bp-asm.h.
70370 (STR): Likewise.
70371 (DELIM): Likewise.
70372 [USE_AS_STRTOK_R] (SAVE): Likewise.
70373 (FUNCTION): Likewise. Do not use BP_SYM.
70374 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70375 aliases.
70376 (strtok_r): Likewise.
70377 (__GI___strtok_r): Likewise.
70378 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70379 (PARMS): Do not use macros from bp-asm.h.
70380 (S): Likewise.
70381 (SIZE): Likewise.
70382 (__mpn_lshift): Do not use BP_SYM.
70383 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70384 (PARMS): Do not use macros from bp-asm.h.
70385 (STR): Likewise.
70386 (CHR): Likewise.
70387 (__memchr): Do not use BP_SYM.
70388 (memchr): Do not use BP_SYM in weak_alias.
70389 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70390 (PARMS): Do not use macros from bp-asm.h.
70391 (BLK2): Likewise.
70392 (LEN): Likewise.
70393 (memcmp): Do not use BP_SYM.
70394 (bcmp): Do not use BP_SYM in weak_alias.
70395 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70396 (PARMS): Do not use macros from bp-asm.h.
70397 (S1): Likewise.
70398 (SIZE): Likewise.
70399 (__mpn_mul_1): Do not use BP_SYM.
70400 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70401 "bp-asm.h".
70402 (PARMS): Do not use macros from bp-asm.h.
70403 (STR): Likewise.
70404 (CHR): Likewise.
70405 (__rawmemchr): Do not use BP_SYM.
70406 (rawmemchr): Do not use BP_SYM in weak_alias.
70407 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70408 (PARMS): Do not use macros from bp-asm.h.
70409 (S): Likewise.
70410 (SIZE): Likewise.
70411 (__mpn_rshift): Do not use BP_SYM.
70412 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70413 (PARMS): Do not use macros from bp-asm.h.
70414 (SIGMSK): Likewise.
70415 (__sigsetjmp): Likewise. Do not use BP_SYM.
70416 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70417 (_start): Do not use BP_SYM.
70418 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70419 (PARMS): Do not use macros from bp-asm.h.
70420 (DEST): Likewise.
70421 (SRC): Likewise.
70422 (__stpcpy): Likewise. Do not use BP_SYM.
70423 (stpcpy): Do not use BP_SYM in weak_alias.
70424 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70425 "bp-asm.h".
70426 (PARMS): Do not use macros from bp-asm.h.
70427 (DEST): Likewise.
70428 (SRC): Likewise.
70429 (LEN): Likewise.
70430 (__stpncpy): Likewise. Do not use BP_SYM.
70431 (stpncpy): Do not use BP_SYM in weak_alias.
70432 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70433 (PARMS): Do not use macros from bp-asm.h.
70434 (STR): Likewise.
70435 (CHR): Likewise.
70436 (strchr): Likewise. Do not use BP_SYM.
70437 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
70443 (strchrnul): Do not use BP_SYM in weak_alias.
70444 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70445 "bp-asm.h".
70446 (PARMS): Do not use macros from bp-asm.h.
70447 (STOP): Likewise.
70448 (strcspn): Do not use BP_SYM.
70449 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70450 "bp-asm.h".
70451 (PARMS): Do not use macros from bp-asm.h.
70452 (STR): Likewise.
70453 (STOP): Likewise.
70454 (strpbrk): Likewise. Do not use BP_SYM.
70455 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70456 "bp-asm.h".
70457 (PARMS): Do not use macros from bp-asm.h.
70458 (STR): Likewise.
70459 (CHR): Likewise.
70460 (strrchr): Likewise. Do not use BP_SYM.
70461 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70462 (PARMS): Do not use macros from bp-asm.h.
70463 (SKIP): Likewise.
70464 (strspn): Do not use BP_SYM.
70465 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70466 (PARMS): Do not use macros from bp-asm.h.
70467 (STR): Likewise.
70468 (DELIM): Likewise.
70469 (SAVE): Likewise.
70470 (FUNCTION): Likewise. Do not use BP_SYM.
70471 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70472 aliases.
70473 (strtok_r): Likewise.
70474 (__GI___strtok_r): Likewise.
70475 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70476 (PARMS): Do not use macros from bp-asm.h.
70477 (S1): Likewise.
70478 (S2): Likewise.
70479 (SIZE): Likewise.
70480 (__mpn_sub_n): Do not use BP_SYM.
70481 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70482 "bp-asm.h".
70483 (PARMS): Do not use macros from bp-asm.h.
70484 (S1): Likewise.
70485 (SIZE): Likewise.
70486 (__mpn_submul_1): Do not use BP_SYM.
70487 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70488 <bp-sym.h>.
70489 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70490 and <bp-asm.h>.
70491 (PARMS): Do not use macros from bp-asm.h.
70492 (FLAGS): Likewise.
70493 (PTID): Likewise.
70494 (TLS): Likewise.
70495 (CTID): Likewise.
70496 (__clone): Do not use BP_SYM.
70497 (clone): Do not use BP_SYM in weak_alias.
70498 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70499 and <bp-asm.h>.
70500 (PARMS): Do not use macros from bp-asm.h.
70501 (LEN): Likewise.
70502 (__mmap64): Do not use BP_SYM.
70503 (mmap64): Do not use BP_SYM in weak_alias.
70504 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70505 <bp-sym.h> and <bp-asm.h>.
70506 (PARMS): Do not use macros from bp-asm.h.
70507 (__posix_fadvise64_l64): Do not use BP_SYM.
70508 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70509 (PARMS): Do not use macros from bp-asm.h.
70510 (NSOPS): Likewise.
70511 (semtimedop): Do not use BP_SYM.
70512 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70513 and <bp-asm.h>.
70514
70515 2013-02-21 Allan McRae <allan@archlinux.org>
70516
70517 * manual/message.texi (Charset conversion in gettext):
70518 Move @end statement to beginning of line.
70519
70520 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70521
70522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70523 static.
70524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70525 Likewise.
70526
70527 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70528 (denorm): Likewise.
70529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70531
70532 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70533
70534 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70535 tail-call to the resolved function if pltexit isn't needed.
70536
70537 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70538
70539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70540 or Y being zero as being unlikely.
70541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70542 Likewise.
70543
70544 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70545
70546 * manual/nss.texi (System Databases and Name Service Switch):
70547 Remove frobnicate @pxref.
70548
70549 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70550
70551 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70552 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70553
70554 2013-02-20 Petr Machata <pmachata@redhat.com>
70555
70556 * elf/elf.h (R_ARM_TARGET1): New macro.
70557 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70558 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70559 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70560 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70561 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70562 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70563 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70564 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70565 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70566 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70567 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70568 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70569 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70570 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70571 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70572 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70573 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70574 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70575 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70576 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70577 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70578 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70579 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70580 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70581 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70582 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70583 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70584 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70585 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70586 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70587 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70588 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70589 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70590 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70591 (R_ARM_THM_GOT_BREL12): Likewise.
70592 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70593 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70594 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70595 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70596 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70597 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70598 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70599 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70600 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70601
70602 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70603
70604 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70605 __attribute_used__ to __attribute__ ((unused)).
70606
70607 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70608
70609 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70610 powerpc mpa.c.
70611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70612 comment formatting.
70613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70614
70615 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70616
70617 [BZ #13550]
70618 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70619 Remove macro.
70620 (ENTER): Remove both macro definitions.
70621 (LEAVE): Likewise.
70622 (CHECK_BOUNDS_LOW): Likewise.
70623 (CHECK_BOUNDS_HIGH): Likewise.
70624 (CHECK_BOUNDS_BOTH): Likewise.
70625 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70626 (RETURN_BOUNDED_POINTER): Likewise.
70627 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70628 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70629 (POP_ERRNO_LOCATION_RETURN): Likewise.
70630 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70631 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70632 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70633 macros.
70634 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70635 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70636 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70637 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70638 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70639 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70640 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70641 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70642 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70643 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70644 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70645 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70646 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70647 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70648 removed macros.
70649 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70650 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70651 macros.
70652 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70653 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70654 * sysdeps/i386/i586/memset.S (memset): Likewise.
70655 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70656 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70657 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70658 macros.
70659 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70660 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70661 Change uses of L(2) to L(out).
70662 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70663 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70664 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70665 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70666 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70667 removed macros.
70668 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70669 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70670 macros.
70671 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70672 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70673 (RETURN): Do not use macro LEAVE.
70674 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70675 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70676 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70677 * sysdeps/i386/i686/memset.S (memset): Likewise.
70678 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70679 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70680 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70681 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70682 Likewise.
70683 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70684 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70685 L(1_2) and L(1_3) into L(1).
70686 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70687 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70688 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70689 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70690 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70691 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70692 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70693 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70694 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70695 macros.
70696 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70697 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70698 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70699 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70700 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70701 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70702 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70703 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70704 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70705 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70706 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70707 * sysdeps/i386/strspn.S (strspn): Likewise.
70708 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70709 conditional code.
70710 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70711 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70712 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70713 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70714 L(1_3) into L(1_1).
70715 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70716 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70717 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70718 macros.
70719 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70720
70721 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70722
70723 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70724 macro.
70725
70726 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70727
70728 * math/atest-exp.c (exp_mpn): Remove ROUND.
70729 * math/atest-exp2.c (exp_mpn): Likewise.
70730 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70731
70732 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70733 * stdlib/tst-tls-atexit-lib.c: Likewise.
70734 * stdlib/tst-tls-atexit.c: Likewise.
70735
70736 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70737
70738 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70739 and __attribute_alloc_size__.
70740
70741 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70742
70743 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70744 __attribute_alloc_size__.
70745 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70746 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70747
70748 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70749
70750 * include/programs/xmalloc.h: New file.
70751 * catgets/gencat.c: Include it.
70752 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70753 * elf/pldd.c: Likewise.
70754 * iconv/iconv_charmap.c: Likewise.
70755 * iconv/iconvconfig.c: Likewise.
70756 * iconv/strtab.c: Likewise.
70757 * locale/programs/locale.c: Likewise.
70758 * locale/programs/localedef.h: Likewise.
70759 * locale/programs/simple-hash.c: Likewise.
70760 * nscd/nscd.h: Likewise.
70761 * nss/makedb.c: Likewise.
70762 * sysdeps/generic/ldconfig.h: Likewise.
70763
70764 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70765
70766 * Versions.def: Add GLIBC_2.18.
70767 * include/link.h (struct link_map): New member l_tls_dtor_count.
70768 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70769 (__call_tls_dtors): Likewise.
70770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70771 __cxa_thread_atexit_impl.
70772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70773 Likewise.
70774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70775 Likewise.
70776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70777 Likewise.
70778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70779 Likewise.
70780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70782 Likewise.
70783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70784 Likewise.
70785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70787 Likewise.
70788 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70789 (tests): Add test case tst-tls-atexit.
70790 (modules-names): Add shared library for tst-tls-atexit.
70791 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70792 (GLIBC_PRIVATE): Add __call_tls_dtors.
70793 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70794 for libstdc++.
70795 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70796 * stdlib/tst-tls-atexit.c: New test case.
70797 * stdlib/tst-tls-atexit-lib.c: New test case.
70798
70799 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70800
70801 * elf/Versions (ld): Add _dl_find_dso_for_object.
70802 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70803 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70804 (dl_open_worker): Use _dl_find_dso_for_object.
70805 * elf/dl-sym.c (do_sym): Likewise.
70806 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70807
70808 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70809
70810 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70811 Syntactic changes only.
70812 (_dl_runtime_profile): Do a tail-call to the resolved function.
70813
70814 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70815
70816 [BZ #13550]
70817 * sysdeps/x86_64/bp-asm.h: Remove file.
70818 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70819 <bp-sym.h> and <bp-asm.h>.
70820 (__clone): Do not use BP_SYM.
70821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70822 <bp-sym.h> and <bp-asm.h>.
70823 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70824 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70825 "bp-asm.h".
70826 (_setjmp): Do not use BP_SYM.
70827 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70828 "bp-asm.h".
70829 (setjmp): Do not use BP_SYM.
70830 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70831 libc_hidden_def.
70832 (mempcpy): Do not use BP_SYM in weak_alias.
70833 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70834 "bp-asm.h".
70835 (strchr): Do not use BP_SYM.
70836 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70837 "bp-asm.h".
70838 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70839 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70840 (_start): Do not use BP_SYM.
70841 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70842 "bp-asm.h".
70843 (strcat): Do not use BP_SYM.
70844 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70845 "bp-asm.h".
70846 (STRCMP): Do not use BP_SYM.
70847 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70848 "bp-asm.h".
70849 (STRCPY): Do not use BP_SYM.
70850 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70851 "bp-asm.h".
70852 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70853 "bp-asm.h".
70854 (FUNCTION): Do not use BP_SYM.
70855 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70856 weak_alias.
70857 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70858
70859 2013-02-17 Andreas Jaeger <aj@suse.de>
70860
70861 * time/Versions: Sort entries.
70862 * string/Versions: Likewise.
70863 * resolv/Versions: Likewise.
70864 * posix/Versions: Likewise.
70865 * iconv/Versions: Likewise.
70866 * elf/Versions: Likewise.
70867 * wcsmbs/Versions: Likewise.
70868
70869 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70870
70871 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70872 loop termination condition.
70873
70874 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70875 variable to calculate EZ.
70876 (__sqr): Likewise.
70877
70878 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70879 the lower precision input.
70880
70881 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70882
70883 [BZ #13550]
70884 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70885 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70886 (run-via-rtld-prefix): Do not handle %-bp tests.
70887 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70888 (all-object-suffixes): Remove .ob.
70889 (bppfx): Remove variable.
70890 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70891 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70892 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70893 [$(build-bounded) = yes] (libtype.ob): Likewise.
70894 * Makerules (elide-routines.ob): Remove variable.
70895 (do-tests-clean): Do not handle *-bp.out.
70896 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70897 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70898 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70899 (tests): Do not include $(tests-bp.out).
70900 (xtests): Do not include $(xtests-bp.out).
70901 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70902 [$(build-bounded) = yes] ($(addprefix
70903 $(objpfx),$(binaries-bounded))): Remove rule.
70904 ($(objpfx)%-bp.out): Remove rule.
70905 * config.make.in (build-bounded): Remove variable.
70906 * crypt/Makefile [$(build-bounded) = yes]
70907 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70908 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70909 append to variable.
70910 [$(build-bounded) = yes] (install-lib): Likewise.
70911 [$(build-bounded) = yes] (generated): Likewise.
70912 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70913 Remove rule.
70914 * intl/Makefile [$(build-bounded) = yes]
70915 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70916 * math/Makefile [$(build-bounded) = yes]
70917 ($(tests:%=$(objpfx)%-bp): Likewise.
70918 * misc/Makefile [$(build-bounded) = yes]
70919 ($(objpfx)tst-tsearch-bp): Likewise.
70920 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70921 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70922 Remove dependency.
70923 * string/Makefile (o-objects.ob): Remove variable.
70924 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70925 (CFLAGS-.ob): Remove variable.
70926 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70927 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70928 both definitions of variable.
70929 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70930 (ASFLAGS-.ob): Remove variable.
70931
70932 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70933
70934 [BZ #13550]
70935 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70936 Remove __BOUNDED_POINTERS__ from condition.
70937 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70938 * string/bits/string2.h [!__NO_STRING_INLINES &&
70939 !__BOUNDED_POINTERS__]: Likewise.
70940 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70941 Likewise.
70942 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70943 Remove conditional code.
70944 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70945 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70946 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70947 condition.
70948
70949 [BZ #13550]
70950 * csu/libc-start.c: Do not include <bp-sym.h>.
70951 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70952 * elf/dl-open.c: Do not include <bp-sym.h>.
70953 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70954 * math/fegetenv.c: Do not include <bp-sym.h>.
70955 (fegetenv): Do not use BP_SYM in versioned symbols.
70956 * nptl/sysdeps/pthread/bits/libc-lockP.h
70957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70958 <bp-sym.h>.
70959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70960 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70962 (__pthread_mutex_destroy): Likewise.
70963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70964 (__pthread_mutex_lock): Likewise.
70965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70966 (__pthread_mutex_trylock): Likewise.
70967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70968 (__pthread_mutex_unlock): Likewise.
70969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70970 (__pthread_mutexattr_init): Likewise.
70971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70972 (__pthread_mutexattr_destroy): Likewise.
70973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70974 (__pthread_mutexattr_settype): Likewise.
70975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70976 (__pthread_rwlock_init): Likewise.
70977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70978 (__pthread_rwlock_destroy): Likewise.
70979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70980 (__pthread_rwlock_rdlock): Likewise.
70981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70982 (__pthread_rwlock_tryrdlock): Likewise.
70983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70984 (__pthread_rwlock_wrlock): Likewise.
70985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70986 (__pthread_rwlock_trywrlock): Likewise.
70987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70988 (__pthread_rwlock_unlock): Likewise.
70989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70990 (__pthread_key_create): Likewise.
70991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70992 (__pthread_setspecific): Likewise.
70993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70994 (__pthread_getspecific): Likewise.
70995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70996 Likewise.
70997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70998 (_pthread_cleanup_push_defer): Likewise.
70999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71000 (_pthread_cleanup_pop_restore): Likewise.
71001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71002 (pthread_setcancelstate): Likewise.
71003 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71004 <bp-sym.h>.
71005 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71006 (memchr): Do not use BP_SYM in weak_alias.
71007 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71008 (fegetenv): Do not use BP_SYM in versioned symbols.
71009 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71010 (fesetenv): Do not use BP_SYM in versioned symbols.
71011 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71012 (feupdateenv): Do not use BP_SYM in versioned symbols.
71013 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71014 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71015 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71016 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71017 (open64): Do not use BP_SYM in weak_alias.
71018 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71019 (fegetenv): Do not use BP_SYM in versioned symbols.
71020 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71021 (fesetenv): Do not use BP_SYM in versioned symbols.
71022 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71023 (feupdateenv): Do not use BP_SYM in versioned symbols.
71024 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71025 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71026 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71027 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71028 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71029 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71031 <bp-sym.h>.
71032 (__libc_start_main): Do not use BP_SYM.
71033
71034 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71035
71036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71037 redundant return line.
71038 (norm): Likewise.
71039 (denorm): Likewise.
71040 (dbl_mp): Likewise.
71041 (sub_magnitudes): Likewise.
71042 (__add): Likewise.
71043 (__sub): Likewise.
71044 (__mul): Likewise.
71045 (__inv): Likewise.
71046 (__dvd): Likewise.
71047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71048 (norm): Likewise.
71049 (denorm): Likewise.
71050 (dbl_mp): Likewise.
71051 (sub_magnitudes): Likewise.
71052 (__add): Likewise.
71053 (__sub): Likewise.
71054 (__mul): Likewise.
71055 (__inv): Likewise.
71056 (__dvd): Likewise.
71057
71058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71059 instead of __mul.
71060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71061 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71062 (cc32): Likewise.
71063
71064 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71065 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71067 of __mul for squares.
71068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71069 function
71070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71071 Likewise.
71072 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71073 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71074
71075 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71076
71077 [BZ #13550]
71078 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71079 code.
71080 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71081 prototype or function definition. Rename ubp_* variables and
71082 parameters. Remove argv definitions conditional on
71083 [__BOUNDED_POINTERS__].
71084 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71085 * elf/dl-runtime.c (_dl_fixup): Likewise.
71086 * include/set-hooks.h (RUN_HOOK): Likewise.
71087 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71088 definition.
71089 * string/strcpy.c (strcpy): Do not use __unbounded.
71090 * sysdeps/generic/frame.h (struct layout): Likewise.
71091 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71092 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71093 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71094 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71095 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71096 (__backtrace): Likewise.
71097 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71098 use __ptrvalue.
71099 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71100 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71101 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71102 Likewise.
71103 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71104 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71105 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71106 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71107 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71108 Do not use __unbounded.
71109 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71110 Rename __unboundedrlimits parameter to rlimits in prototype.
71111 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71112 Do not use __unbounded.
71113 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71114 not use __ptrvalue.
71115 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71116 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71117 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71118 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71119 __ptrvalue or __unbounded.
71120 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71121 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71122 use __unbounded.
71123 (__new_msgctl): Do not use __ptrvalue.
71124 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71125 __unbounded.
71126 (__libc_msgrcv): Do not use __ptrvalue.
71127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71128 startup_info): Do not use __unbounded.
71129 (__libc_start_main): Likewise. Rename ubp_* variables and
71130 parameters. Remove argv definitions conditional on
71131 [__BOUNDED_POINTERS__].
71132 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71133 __ptrvalue.
71134 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71135 use __unbounded.
71136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71137 or __ptrvalue.
71138 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71139 use __unbounded.
71140 (__new_shmctl): Do not use __ptrvalue.
71141 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71142 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71143 Likewise.
71144 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71145 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71146 (__libc_sigaction): Likewise.
71147 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71148 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71149 Likewise.
71150 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71151
71152 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
71153
71154 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71155
71156 * string/mempcpy.c: Implement by calling memcpy.
71157
71158 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71159
71160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71161
71162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71163 evaluation.
71164
71165 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71166 values in the mantissa.
71167
71168 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71169 minimize writes to Z.
71170 (sub_magnitudes): Simplify code a bit.
71171
71172 2013-02-12 Roland McGrath <roland@hack.frob.com>
71173
71174 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71175 from the message. The linker prefixes all warnings with that already.
71176
71177 2013-02-12 Andreas Schwab <schwab@suse.de>
71178
71179 [BZ #15078]
71180 * posix/regexec.c (extend_buffers): Add parameter min_len.
71181 (check_matching): Pass minimum needed length.
71182 (clean_state_log_if_needed): Likewise.
71183 (get_subexp): Likewise.
71184 * posix/Makefile (tests): Add bug-regex34.
71185 (bug-regex34-ENV): Define.
71186 * posix/bug-regex34.c: New file.
71187
71188 [BZ #11561]
71189 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71190 elements compare against the byte sequence of it, not its name.
71191 * posix/Makefile (tests): Add bug-regex35.
71192 (bug-regex35-ENV): Define.
71193 * posix/bug-regex35.c: New file.
71194
71195 2013-02-11 Tom de Vries <tom@codesourcery.com>
71196
71197 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71198 comment.
71199 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71200 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71201 (CHECK_EOL): Add undef.
71202
71203 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71204
71205 * bits/stdlib-bsearch.h: New file.
71206 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71207 * stdlib/stdlib.h: Likewise.
71208
71209 2013-02-11 Roland McGrath <roland@hack.frob.com>
71210
71211 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71212 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71213 declaration.
71214 * manual/search.texi (Array Search Function): Add missing const in
71215 lfind prototype.
71216 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71217 declaration to use rlim_t.
71218 (Basic Scheduling Functions): Remove erroneous const from
71219 sched_getparam prototype. Remove erroneous * from
71220 sched_get_priority_max and sched_get_priority_min prototypes.
71221 (Resource Usage): Fix summary @comment on vtimes to refer to
71222 sys/vtimes.h rather than vtimes.h.
71223 Add missing *s in vtimes prototype.
71224 (Limits on Resources): Fix ulimit prototype to return long int.
71225 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71226 prototypes to use long int rather than double.
71227 (BSD Random): Fix initstate and setstate to use char *, not void *.
71228 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71229 prototype to make second argument 'struct aiocb64 *const[]'.
71230 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71231 (Status of AIO Operations): Remove erroneous const in aio_return and
71232 aio_return64 prototypes.
71233 (Synchronizing I/O): Fix sync prototype to return void.
71234 * manual/startup.texi (Suboptions): Remove an erroneous const in
71235 getsubopt prototype.
71236 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71237 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71238 use size_t rather than int.
71239 (Scanning All Users): Likewise for getpwent_r.
71240 (Setting Groups): Add missing const to setgroups prototype.
71241 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71242 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71243 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71244 'const void *' rather than 'const char *'.
71245 (Host Address Functions): Likewise for inet_ntop.
71246 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71247 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71248 ssize_t for return value.
71249 (Sending Data): Likewise for send, sendto, sendmsg.
71250 (Socket Option Functions): Add a missing const in setsockopt prototype.
71251 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71252 use wchar_t for the argument.
71253 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71254 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71255 take no arguments.
71256 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71257 double/float/long double for second argument.
71258 Fix return types of significand, significandf, significandl.
71259 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71260 argument in fchmod prototype.
71261 (File Owner): Use uid_t and gid_t in fchown prototype.
71262 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71263 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71264 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71265 use 'const struct dirent **' as argument types to CMP function pointer
71266 argument.
71267 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71268 (File Times): Fix summary magic @comment for struct utimbuf and utime
71269 to refer to utime.h, not time.h.
71270 * manual/string.texi (Argz Functions): Add missing const in
71271 argz_extract and argz_next prototypes.
71272 (Finding Tokens in a String): Likewise for basename.
71273 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71274 (Copying and Concatenation): Fix typo in wmemmove prototype.
71275 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71276 (Signal Stack): Remove erroneous const in sigstack prototype.
71277 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71278 prototype.
71279 (Simple Calendar Time): Likewise for stime.
71280 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71281 prototype.
71282 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71283 say sys/sysctl.h instead.
71284 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71285 and vsyslog prototypes.
71286
71287 2013-02-11 Tom de Vries <tom@codesourcery.com>
71288
71289 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71290 Remove.
71291
71292 2013-02-11 Roland McGrath <roland@hack.frob.com>
71293
71294 * misc/sys/mman.h: Fix typo in mremap comment.
71295
71296 2013-02-08 Roland McGrath <roland@hack.frob.com>
71297
71298 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71299 the '\0' terminator.
71300
71301 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71302
71303 [BZ #13550]
71304 * debug/segfault.c: Don't include <bp-checks.h>.
71305 * sysdeps/generic/bp-checks.h: Remove file.
71306 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71307 (__GETDENTS): Don't use CHECK_N.
71308 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71309 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71310 (__getgroups): Don't use CHECK_N.
71311 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71312 (setgroups): Don't use CHECK_N.
71313 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71314 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71315 (__libc_msgrcv): Don't use CHECK_N.
71316 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71317 (__libc_msgsnd): Don't use CHECK_N.
71318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71319 <bp-checks.h>.
71320 (__libc_pread): Don't use CHECK_N.
71321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71322 include <bp-checks.h>.
71323 (__libc_pread64): Don't use CHECK_N.
71324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71325 include <bp-checks.h>.
71326 (__libc_pwrite): Don't use CHECK_N.
71327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71328 include <bp-checks.h>.
71329 (__libc_pwrite64): Don't use CHECK_N.
71330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71331 <bp-checks.h>.
71332 (__libc_pread): Don't use CHECK_N.
71333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71334 include <bp-checks.h>.
71335 (__libc_pread64): Don't use CHECK_N.
71336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71337 include <bp-checks.h>.
71338 (__libc_pwrite): Don't use CHECK_N.
71339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71340 include <bp-checks.h>.
71341 (__libc_pwrite64): Don't use CHECK_N.
71342 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71343 (do_pread): Don't use CHECK_N.
71344 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71345 (do_pread64): Don't use CHECK_N.
71346 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71347 (do_pwrite): Don't use CHECK_N.
71348 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71349 (do_pwrite64): Don't use CHECK_N.
71350 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71351 (__libc_readv): Don't use CHECK_N.
71352 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71353 (semop): Don't use CHECK_N.
71354 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71355 <bp-checks.h>.
71356 (semtimedop): Don't use CHECK_N.
71357 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71358 (__libc_pread): Don't use CHECK_N.
71359 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71360 <bp-checks.h>.
71361 (__libc_pread64): Don't use CHECK_N.
71362 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71363 <bp-checks.h>.
71364 (__libc_pwrite): Don't use CHECK_N.
71365 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71366 <bp-checks.h>.
71367 (__libc_pwrite64): Don't use CHECK_N.
71368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71369 <bp-checks.h>.
71370 (__libc_msgrcv): Don't use CHECK_N.
71371 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71372 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71373 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71374 (__libc_writev): Don't use CHECK_N.
71375
71376 2013-02-08 Roland McGrath <roland@hack.frob.com>
71377
71378 * string/strcpy.c: Removed unused variable.
71379
71380 * Makeconfig (+sysdep-includes): Define with := rather than =.
71381 Use an existing include/ subdir of each sysdeps dir before it.
71382
71383 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71384
71385 * nscd/connection.c (register_traced_file): Comment function.
71386 [HAVE_INOTIFY] (union __inev): Define.
71387 [HAVE_INOTIFY] (inotify_check_files): New function.
71388 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71389 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71390 clear_db_cache.
71391 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71392
71393 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71394
71395 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71396 loaded if not already and that a failure is permanent.
71397
71398 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71399
71400 [BZ #15006]
71401 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71402 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71403
71404 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71405
71406 [BZ #13550]
71407 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71408 (CHECK_1_NULL_OK): Likewise.
71409 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71410 (__fxstat): Do not use CHECK_1.
71411 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71412 <bp-checks.h>.
71413 (___fxstat64): Do not use CHECK_1.
71414 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71415 <bp-checks.h>.
71416 (__fxstatat): Do not use CHECK_1.
71417 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71418 <bp-checks.h>.
71419 (__fxstatat64): Do not use CHECK_1.
71420 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71421 <bp-checks.h>.
71422 (__fxstat): Do not use CHECK_1.
71423 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71424 <bp-checks.h>.
71425 (__fxstatat): Do not use CHECK_1.
71426 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71427 <bp-checks.h>.
71428 (__getresgid): Do not use CHECK_1.
71429 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71430 <bp-checks.h>.
71431 (__getresuid): Do not use CHECK_1.
71432 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71433 <bp-checks.h>.
71434 (__lxstat): Do not use CHECK_1.
71435 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71436 <bp-checks.h>.
71437 (__old_msgctl): Do not use CHECK_1.
71438 (__new_msgctl): Likewise.
71439 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71440 <bp-checks.h>.
71441 (__new_setrlimit): Do not use CHECK_1.
71442 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71443 <bp-checks.h>.
71444 (__old_shmctl): Do not use CHECK_1.
71445 (__new_shmctl): Likewise.
71446 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71447 <bp-checks.h>.
71448 (__xstat): Do not use CHECK_1.
71449 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71450 (__lxstat): Do not use CHECK_1.
71451 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71452 <bp-checks.h>.
71453 (___lxstat64): Do not use CHECK_1.
71454 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71455 (__old_msgctl): Do not use CHECK_1.
71456 (__new_msgctl): Likewise.
71457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71458 <bp-checks.h>.
71459 (__gettimeofday): Do not use CHECK_1.
71460 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71461 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71462 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71463 <bp-checks.h>.
71464 (__gettimeofday): Do not use CHECK_1.
71465 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71466 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71467 (__new_shmctl): Do not use CHECK_1.
71468 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71469 <bp-checks.h>.
71470 (do_sigtimedwait): Do not use CHECK_1.
71471 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71472 <bp-checks.h>.
71473 (do_sigwaitinfo): Do not use CHECK_1.
71474 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71475 <bp-checks.h>.
71476 (msgctl): Do not use CHECK_1.
71477 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71478 <bp-checks.h>.
71479 (shmctl): Do not use CHECK_1.
71480 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71481 (ustat): Do not use CHECK_1.
71482 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71483 <bp-checks.h>.
71484 (__fxstat): Do not use CHECK_1.
71485 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71486 <bp-checks.h>.
71487 (__fxstatat): Do not use CHECK_1.
71488 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71489 <bp-checks.h>.
71490 (__lxstat): Do not use CHECK_1.
71491 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71492 <bp-checks.h>.
71493 (__xstat): Do not use CHECK_1.
71494 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71495 (__xstat): Do not use CHECK_1.
71496 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71497 (___xstat64): Do not use CHECK_1.
71498
71499 [BZ #13550]
71500 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71501 definitions.
71502 (CHECK_BOUNDS_HIGH): Likewise.
71503 * string/strcpy.c: Do not include <bp-checks.h>.
71504 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71505
71506 2013-02-07 Roland McGrath <roland@hack.frob.com>
71507
71508 * nscd/nscd-client.h (__nscd_drop_map_ref):
71509 Add __attribute__ ((unused)).
71510 * nis/nss-nisplus.h (niserr2nss): Likewise.
71511
71512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71513 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71514
71515 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71516 Remove inline keyword.
71517 * include/rounding-mode.h (round_away): Likewise.
71518 * libio/wfileops.c (adjust_wide_data): Likewise.
71519 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71520 (__m128i_strloadu_tolower): Likewise.
71521 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71522 (__m128i_strloadu_tolower): Likewise.
71523 * time/mktime.c (ydhms_diff): Likewise.
71524 * locale/elem-hash.h (elem_hash): Likewise.
71525 * locale/setlocale.c (setdata): Likewise.
71526 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71527 (re_string_wchar_at): Likewise.
71528 (bitset_not, bitset_merge, bitset_mask): Likewise.
71529 [!(__GNUC__ > 3)] (inline): Remove macro.
71530 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71531 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71532 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71533 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71534 * string/memcmp.c (memcmp_bytes): Likewise.
71535 * locale/programs/locarchive.c (compute_hashval): Likewise.
71536 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71537 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71538 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71539 * nss/getent.c (print_rpc, print_protocols): Likewise.
71540 (print_passwd, print_group, print_aliases): Likewise.
71541 * nis/nss-nisplus.h (niserr2nss): Likewise.
71542 * nscd/connections.c (restart_p): Likewise.
71543 Change return type to bool.
71544
71545 2013-02-05 Roland McGrath <roland@hack.frob.com>
71546
71547 * Makeconfig (all-Depend-files): Add existing
71548 $(sorted-subdirs:=/Depend) files.
71549 (all-subdirs): Remove nss.
71550 * sysdeps/unix/inet/Subdirs: Add it here instead.
71551 * hesiod/Depend: New file.
71552
71553 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71554 instead of calling alloca.
71555
71556 * io/lseek.c (__lseek): Rename to __libc_lseek.
71557 Define __lseek as an alias.
71558
71559 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71560
71561 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71562
71563 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71564 else clause and remove check for non-standard endianness.
71565
71566 2013-02-04 David S. Miller <davem@davemloft.net>
71567
71568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71569
71570 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71571
71572 [BZ #13550]
71573 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71574 (__ubp_memchr): Remove prototype.
71575 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71576 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71577 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71578 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71579 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71580 Remove alias.
71581 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71582 (__ubp_memchr): Likewise.
71583 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71584 (__ubp_memchr): Likewise.
71585 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71586 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71587 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71588 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71589 CHECK_STRING.
71590 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71591 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71592 (__getcwd): Do not use CHECK_STRING.
71593 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71594 <bp-checks.h>.
71595 (__real_chown): Do not use CHECK_STRING.
71596 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71597 <bp-checks.h>.
71598 (fchownat): Do not use CHECK_STRING.
71599 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71600 CHECK_STRING.
71601 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71602 <bp-checks.h>.
71603 (__lchown): Do not use CHECK_STRING.
71604 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71605 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71606 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71607 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71609 include <bp-checks.h>.
71610 (truncate64): Do not use CHECK_STRING.
71611 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71612 <bp-checks.h>.
71613 (__real_chown): Do not use CHECK_STRING.
71614 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71615 <bp-checks.h>.
71616 (__lchown): Do not use CHECK_STRING.
71617 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71618 <bp-checks.h>.
71619 (__chown): Do not use CHECK_STRING.
71620 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71621 <bp-checks.h>.
71622 (truncate64): Do not use CHECK_STRING.
71623 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71624 Likewise.
71625 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71626 (__xmknod): Do not use CHECK_STRING.
71627 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71628 <bp-checks.h>.
71629 (__xmknodat): Do not use CHECK_STRING.
71630 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71631 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71632
71633 2013-02-04 Andreas Schwab <schwab@suse.de>
71634
71635 [BZ #14142]
71636 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71637 * include/netdb.h: Likewise for h_errno.
71638 * elf/tst-stackguard1.c: Include <tls.h>.
71639
71640 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71641
71642 * elf/link.h (struct link_map): Extend the l_addr comment.
71643 * include/link.h (struct link_map): Likewise.
71644
71645 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71646
71647 [BZ #13550]
71648 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71649 (BOUNDED_1): Remove macro.
71650 * debug/backtrace.c: Don't include <bp-checks.h>.
71651 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71652 (__backtrace): Likewise.
71653 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71654 <bp-checks.h>.
71655 (__backtrace): Don't use BOUNDED_1.
71656 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71657 <bp-checks.h>.
71658 (__backtrace): Don't use BOUNDED_1.
71659 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71660 (__backtrace): Don't use BOUNDED_1.
71661 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71662 (shmat): Don't use BOUNDED_N.
71663
71664 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71665
71666 [BZ #13550]
71667 * sysdeps/generic/bp-start.h: Remove file.
71668 * csu/libc-start.c: Don't include <bp-start.h>.
71669 (LIBC_START_MAIN): Set up __environ directly instead of using
71670 INIT_ARGV_and_ENVIRON.
71671 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71672 <bp-start.h>.
71673
71674 [BZ #13550]
71675 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71676 definitions.
71677 (CHECK_FCNTL): Likewise.
71678 (CHECK_N_PAGES): Likewise.
71679
71680 [BZ #13550]
71681 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71682 definitions.
71683 (CHECK_SIGSET_NULL_OK): Likewise.
71684 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71685 <bp-checks.h>.
71686 (sigpending): Don't use CHECK_SIGSET.
71687 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71688 <bp-checks.h>.
71689 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71690 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71691 <bp-checks.h>.
71692 (do_sigsuspend): Don't use CHECK_SIGSET.
71693 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71694 use CHECK_SIGSET.
71695 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71696 (do_sigwait): Don't use CHECK_SIGSET.
71697 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71698 use CHECK_SIGSET.
71699 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71700 include <bp-checks.h>.
71701 (sigpending): Don't use CHECK_SIGSET.
71702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71703 include <bp-checks.h>.
71704 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71705 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71706 <bp-checks.h>.
71707 (sigpending): Don't use CHECK_SIGSET.
71708 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71709 <bp-checks.h>.
71710 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71711
71712 [BZ #13550]
71713 * sysdeps/generic/bp-semctl.h: Remove file.
71714 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71715 <bp-checks.h> and <bp-semctl.h>.
71716 (__old_semctl): Don't use CHECK_SEMCTL.
71717 (__new_semctl): Likewise.
71718 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71719 and <bp-semctl.h>.
71720 (__old_semctl): Don't use CHECK_SEMCTL.
71721 (__new_semctl): Likewise.
71722 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71723 <bp-checks.h> and <bp-semctl.h>.
71724 (__old_semctl): Don't use CHECK_SEMCTL.
71725 (__new_semctl): Likewise.
71726 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71727 <bp-checks.h> and <bp-semctl.h>.
71728 (semctl): Don't use CHECK_SEMCTL.
71729
71730 [BZ #13550]
71731 * Makerules (elide-bp-thunks): Remove variable.
71732 (elide-routines.oS): Don't use $(elide-bp-thunks).
71733 (elide-routines.os): Likewise.
71734 (elide-routines.o): Likewise.
71735 (elide-routines.op): Likewise.
71736 (elide-routines.og): Likewise.
71737 (objects): Don't use $(bp-thunks).
71738 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71739 include.
71740 (common-generated): Do not add s-proto-bp.d.
71741 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71742 (int): Likewise.
71743 (typ): Likewise.
71744 Do not generate makefile rules for bounded-pointer thunks.
71745 * sysdeps/generic/bp-thunks.h: Remove file.
71746 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71747 * sysdeps/unix/s-proto-bp.S: Likewise.
71748
71749 [BZ #15062]
71750 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71751 parts of result separately when argument is not close to line from
71752 -i to i and one part of argument is small.
71753 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71754 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71755 * math/libm-test.inc (cacos_test): Add more tests.
71756 (casin_test): Likewise.
71757 (casinh_test): Likewise.
71758 * sysdeps/i386/fpu/libm-test-ulps: Update.
71759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71760
71761 2013-01-31 David S. Miller <davem@davemloft.net>
71762
71763 * po/de.po: Update from translation team.
71764
71765 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71766
71767 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71768
71769 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71770
71771 * configure.in (_AC_PROG_CC_C89): New definition.
71772 * configure: Regenerate.
71773
71774 * configure.in (AC_PROG_CPP): New definition.
71775 * configure: Regenerate.
71776
71777 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71778
71779 * debug/tst-backtrace.h: New file.
71780 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71781 (ret): Remove variable.
71782 (x): Likewise.
71783 (FAIL): Remove macro.
71784 (NO_INLINE): Likewise.
71785 (fn1): Use match function instead of strstr.
71786 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71787 (ret): Remove variable.
71788 (x): Likewise.
71789 (FAIL): Remove macro.
71790 (NO_INLINE): Likewise.
71791 (fn): Use match function instead of strstr.
71792 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71793 (ret): Remove variable.
71794 (x): Likewise.
71795 (FAIL): Remove macro.
71796 (NO_INLINE): Likewise.
71797 (handle_signal): Use match function instead of strstr.
71798 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71799 (ret): Remove variable.
71800 (x): Likewise.
71801 (FAIL): Remove macro.
71802 (NO_INLINE): Likewise.
71803 (handle_signal): Use match function instead of strstr.
71804
71805 2013-01-23 Roland McGrath <roland@hack.frob.com>
71806
71807 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71808
71809 2013-01-23 David S. Miller <davem@davemloft.net>
71810
71811 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71812 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71813 argument of CAS if possible.
71814 * sysdeps/sparc/sparc64/bits/atomic.h
71815 (__arch_compare_and_exchange_val_32_acq): Likewise.
71816 (__arch_compare_and_exchange_val_64_acq): Likewise.
71817
71818 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71819
71820 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71821 * sysdeps/posix/ulimit.c: ... this.
71822 Include <limits.h>.
71823 * sysdeps/unix/bsd/ulimit.c: Remove file.
71824
71825 2013-01-23 Adam Conrad <adconrad@0c3.net>
71826
71827 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71828 (LDFLAGS-tst-array5): Likewise.
71829
71830 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71831
71832 [BZ #15036]
71833 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71834 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71835 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71836 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71837
71838 2013-01-21 David S. Miller <davem@davemloft.net>
71839
71840 * sysdeps/sparc/backtrace.c: New file.
71841 * sysdeps/sparc/sparc32/backtrace.h: New file.
71842 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71843 * sysdeps/sparc/sparc64/backtrace.h: New file.
71844 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71845 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71846 -funwind-tables.
71847
71848 2013-01-21 Andreas Schwab <schwab@suse.de>
71849
71850 [BZ #15020]
71851 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71852 closed its stdout.
71853
71854 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71855
71856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71857 "mpa2.h".
71858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71859
71860 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71861 Mark Mitchell <mark@codesourcery.com>
71862 Tom de Vries <tom@codesourcery.com>
71863 Paul Pluzhnikov <ppluzhnikov@google.com>
71864
71865 * debug/tst-backtrace2.c: New file.
71866 * debug/tst-backtrace3.c: Likewise.
71867 * debug/tst-backtrace4.c: Likewise.
71868 * debug/tst-backtrace5.c: Likewise.
71869 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71870 (CFLAGS-tst-backtrace3.c): Likewise.
71871 (CFLAGS-tst-backtrace4.c): Likewise.
71872 (CFLAGS-tst-backtrace5.c): Likewise.
71873 (LDFLAGS-tst-backtrace2): Likewise.
71874 (LDFLAGS-tst-backtrace3): Likewise.
71875 (LDFLAGS-tst-backtrace4): Likewise.
71876 (LDFLAGS-tst-backtrace5): Likewise.
71877 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71878 tst-backtrace4 and tst-backtrace5.
71879
71880 2013-01-18 Anton Blanchard <anton@samba.org>
71881 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71882
71883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71884 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71885 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71886 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71888 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71889 "+r" and remove output regs list as redundant. Add explicit inline
71890 asm to specify register of return val to work around compiler codegen
71891 bug. Remove (int) cast on return value. Add return type parameter to
71892 use in macro so that this macro does not truncate return value for
71893 64-bit values.
71894 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71895 pass to INTERNAL_VSYSCALL_NCS.
71896 (INLINE_VSYSCALL): Add 'long int' as return type to
71897 INTERNAL_VSYSCALL_NCS macro invocation.
71898 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71899 INTERNAL_VSYSCALL_NCS macro invocation.
71900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71901
71902 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71903
71904 [BZ #14496]
71905 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71906 Fix application of SIMD FP exception mask.
71907
71908 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71909 mp_no from a power of two.
71910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71911 __mpexp_twomm1. Use __pow_mp.
71912
71913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71914 multiplication.
71915
71916 2013-01-17 David S. Miller <davem@davemloft.net>
71917
71918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71919
71920 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71921
71922 [BZ #15023]
71923 * include/complex.h: Condition contents on [!_COMPLEX_H].
71924 (__kernel_casinhf): New prototype.
71925 (__kernel_casinh): Likewise.
71926 (__kernel_casinhl): Likewise.
71927 * math/Makefile (libm_calls): Add k_casinh.
71928 * math/k_casinh.c: New file.
71929 * math/k_casinhf.c: Likewise.
71930 * math/k_casinhl.c: Likewise.
71931 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71932 finite nonzero arguments.
71933 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71934 finite nonzero arguments.
71935 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71936 finite nonzero arguments.
71937 * math/s_casinh.c: Do not include <float.h>.
71938 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71939 * math/s_casinhf.c: Do not include <float.h>.
71940 (__casinhf): Move code for finite nonzero arguments to
71941 k_casinhf.c.
71942 * math/s_casinhl.c: Do not include <float.h>.
71943 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71944 redefine.
71945 (__casinhl): Move code for finite nonzero arguments to
71946 k_casinhl.c.
71947 * math/libm-test.inc (cacos_test): Add more tests.
71948 * sysdeps/i386/fpu/libm-test-ulps: Update.
71949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71950
71951 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71952
71953 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71954 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71955 [!HAVE_MREMAP]: Remove [defined linux] case.
71956 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71957
71958 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71959
71960 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71961
71962 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71963
71964 * elf/elf.h (R_386_SIZE32): New relocation.
71965 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71966 R_386_SIZE32.
71967 (elf_machine_rela): Likewise.
71968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71969 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71970
71971 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71972
71973 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71974 (FP_FAST_FMA): Do not define.
71975 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71976 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71977 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71978 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71979 !_SOFT_FLOAT]: Likewise.
71980 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71981 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71982 value.
71983 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71984 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71985 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71986 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71987 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71988 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71989 file.
71990
71991 2013-01-16 Andreas Schwab <schwab@suse.de>
71992
71993 [BZ #14327]
71994 * include/stdlib.h (__mktemp): Add declaration.
71995 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71996 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71997
71998 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71999
72000 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72001 definitions.
72002 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72003 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72004 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72005 definitions here.
72006 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72007 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72008 definitions.
72009 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72010 and ONE.
72011 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72012 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72013 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72014 definitions.
72015 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72016 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72017 definitions.
72018 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72019
72020 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72021
72022 2013-01-15 David S. Miller <davem@davemloft.net>
72023
72024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72025 trunc{,f} to libm-sysdep_routes.
72026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72028 file.
72029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72031 file.
72032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72033 file.
72034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72036 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72037 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72038 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72039 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72040 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72041 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72042
72043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72044 nearbyint{,f} to libm-sysdep_routes.
72045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72047 New file.
72048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72049 file.
72050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72051 New file.
72052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72053 file.
72054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72056 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72057 file.
72058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72059 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72060 file.
72061 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72062 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72063 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72064
72065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72066 libc_feholdexcept and libc_fesetenv.
72067
72068 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72069
72070 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72071
72072 2013-01-14 David S. Miller <davem@davemloft.net>
72073
72074 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72075 (SPARC_ASM_VIS2_IFUNC): Likewise.
72076 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72078 use of 'siam' instruction.
72079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72080 Likewise.
72081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72082 Likewise.
72083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72084 Likewise.
72085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72090 file.
72091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72092 file.
72093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72094 file.
72095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72096 file.
72097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72102 new VIS2 routines.
72103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72106 Likewise.
72107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72112 routines to libm-sysdep_routines.
72113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72114
72115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72116 fdim/fdimf to libm-sysdep_routines.
72117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72118 file.
72119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72121 file.
72122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72125 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72126 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72127 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72128 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72129
72130 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72131
72132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72133 to optimize copies.
72134
72135 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72138
72139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72140 local variable MPTWO.
72141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72142 Likewise.
72143
72144 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72145
72146 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72147 GLOB_NOESCAPE.
72148
72149 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72150
72151 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72152
72153 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72154
72155 * manual/pattern.texi (glob_t): Document gl_flags.
72156 (glob64_t): Likewise.
72157
72158 2013-01-11 David S. Miller <davem@davemloft.net>
72159
72160 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72161 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72162 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72163 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72164 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72165 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72166 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72167 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72168 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72169 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72170 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72171 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72172 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72173
72174 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72175 sparc V9 rather than using V8 code.
72176 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72177 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72178
72179 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72180 Move to...
72181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72182 Here.
72183
72184 2013-01-11 Roland McGrath <roland@hack.frob.com>
72185
72186 [BZ #14941]
72187 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72188 not in the main loop.
72189 * configure: Regenerated.
72190
72191 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72192
72193 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72194 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72195 to just #else.
72196 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72197 [!__GLIBC_HAVE_LONG_LONG] case.
72198 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72199 condition to just #else.
72200 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72201 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72202 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72203 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72204 unconditional.
72205 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72206 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72207 #elif condition to just #else.
72208 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72209 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72210 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72211 #elif condition to just #else.
72212
72213 2013-01-11 Steve Ellcey <sellcey@mips.com>
72214
72215 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72216 (EF_MIPS_ARCH_64): Fix value.
72217 (EF_MIPS_ARCH_32R2): New.
72218 (EF_MIPS_ARCH_64R2): New.
72219
72220 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72221
72222 * Makeconfig (+link-pie-before-libc): New.
72223 (+link-pie-after-libc): Likewise.
72224 (+link-pie-tests): Likewise.
72225 (+link-pie): Rewritten.
72226 (link-before-libc): Remove $(config-LDFLAGS).
72227 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72228 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72229 (config-LDFLAGS): Renamed to ...
72230 (rtld-LDFLAGS): This.
72231 (rtld-tests-LDFLAGS): New macro.
72232 (link-libc-rpath-link): Likewise.
72233 (link-libc-tests-rpath-link): Likewise.
72234 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72235 (link-libc): Prepand $(link-libc-rpath-link).
72236 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72237 (test-program-prefix): New macro.
72238 (test-via-rtld-prefix): Likewise.
72239 (test-program-cmd): Likewise.
72240 (host-test-program-cmd): Likewise.
72241 * Makefile ($(common-objpfx)testrun.sh): Replace
72242 $(run-program-prefix) with $(test-program-prefix).
72243 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72244 $(rtld-LDFLAGS).
72245 ($(common-objpfx)shlib.lds): Likewise.
72246 (build-module-helper): Likewise.
72247 ($(common-objpfx)format.lds): Likewise.
72248 * Rules (binaries-pie-tests): New.
72249 (binaries-pie-notests): Likewise.
72250 (binaries-pie): Rewritten.
72251 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72252 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72253 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72254 (make-test-out): Replace $(host-built-program-cmd) with
72255 $(host-test-program-cmd).
72256 * config.make.in (build-hardcoded-path-in-tests): New variable.
72257 * configure.in (--enable-hardcoded-path-in-tests): New configure
72258 option.
72259 (hardcoded_path_in_tests): New AC_SUBST.
72260 * configure: Regenerated.
72261 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72262 $(built-program-cmd) with $(test-program-cmd).
72263 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72264 (test_program_cmd): This.
72265 * elf/Makefile ($(objpfx)order.out): Run test with
72266 $(test-program-prefix).
72267 ($(objpfx)order2.out): Likewise.
72268 ($(objpfx)tst-initorder.out): Likewise.
72269 ($(objpfx)tst-initorder2.out): Likewise.
72270 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72271 $(test-program-cmd).
72272 ($(objpfx)tst-array1-static.out): Likewise.
72273 ($(objpfx)tst-array2.out): Likewise.
72274 ($(objpfx)tst-array3.out): Likewise.
72275 ($(objpfx)tst-array4.out): Likewise.
72276 ($(objpfx)tst-array5.out): Likewise.
72277 ($(objpfx)tst-array5-static.out): Likewise.
72278 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72279 $(test-program-cmd).
72280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72281 $(run-program-prefix) with $(test-program-prefix).
72282 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72283 (test_program_prefix): This.
72284 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72285 $(run-program-prefix) with $(test-program-prefix).
72286 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72287 (test_program_prefix): This.
72288 * iconvdata/tst-tables.sh: Likewise.
72289 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72290 $(run-program-prefix) with $(test-program-prefix).
72291 ($(objpfx)tst-translit.out): Likewise.
72292 ($(objpfx)tst-gettext2.out): Likewise.
72293 ($(objpfx)tst-gettext4.out): Likewise.
72294 ($(objpfx)tst-gettext6.out): Likewise.
72295 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72296 (test_program_prefix): This.
72297 * intl/tst-gettext2.sh: Likewise.
72298 * intl/tst-gettext4.sh Likewise.
72299 * intl/tst-gettext6.sh: Likewise.
72300 * intl/tst-translit.sh: Likewise.
72301 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72302 with $(test-program-cmd).
72303 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72304 $(run-program-prefix) with $(test-program-prefix).
72305 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72306 (test_program_prefix): This.
72307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72308 $(run-program-prefix) with $(test-program-prefix).
72309 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72310 (test_program_prefix): This.
72311 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72312 * posix/Makefile ($(objpfx)globtest.out): Replace
72313 $(run-via-rtld-prefix) and $(test-wrapper) with
72314 $(test-program-prefix) and $(test-via-rtld-prefix).
72315 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72316 $(test-program-prefix).
72317 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72318 $(host-test-program-cmd).
72319 (tst-spawn-ARGS): Likewise.
72320 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72321 $(test-program-prefix).
72322 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72323 (test_via_rtld_prefix): This.
72324 (test_wrapper): Renamed to ...
72325 (test_program_prefix): This.
72326 (run_program_prefix): Replaced by test_program_prefix.
72327 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72328 (test_program_prefix): This.
72329 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72330 with $(host-test-program-cmd).
72331 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72332 $(run-program-prefix) with $(test-program-prefix).
72333 ($(objpfx)tst-printf.out): Likewise.
72334 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72335 $(test-program-cmd).
72336 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72337 (test_program_prefix): This.
72338 * stdio-common/tst-unbputc.sh: Likewise.
72339 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72340 $(run-program-prefix) with $(test-program-prefix).
72341 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72342 (test_program_prefix): This.
72343 * string/Makefile ($(objpfx)tst-svc.out): Replace
72344 $(built-program-cmd) with $(test-program-cmd).
72345
72346 2013-01-11 Andreas Jaeger <aj@suse.de>
72347
72348 [BZ #15003]
72349 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72350 value. Sync with Linux 3.7.
72351
72352 2013-01-10 David S. Miller <davem@davemloft.net>
72353
72354 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72357
72358 2013-01-10 Roland McGrath <roland@hack.frob.com>
72359
72360 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72361 never set.
72362 * configure: Regenerated.
72363
72364 2013-01-10 David S. Miller <davem@davemloft.net>
72365
72366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72367 sparc V9 rather than using V8 code.
72368 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72369 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72370
72371 2013-01-10 Roland McGrath <roland@hack.frob.com>
72372
72373 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72374 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72375 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72376 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72377 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72378 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72379 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72380 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72381 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72382 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72383 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72384 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72385 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72386 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72387 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72388 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72389 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72390 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72391 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72392 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72393 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72394 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72395 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72396 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72397 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72398 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72399 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72400
72401 2013-01-10 David S. Miller <davem@davemloft.net>
72402
72403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72404
72405 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72406
72407 * posix/Makefile (tests-static): New variable.
72408 (tests): Add $(tests-static).
72409 (tst-exec-static-ARGS): New variable.
72410 (tst-spawn-static-ARGS): Likewise.
72411 * posix/tst-exec-static.c: New file.
72412 * posix/tst-spawn-static.c: Likewise.
72413 * posix/tst-exec.c: Support run directly.
72414 * posix/tst-spawn.c: Likewise.
72415
72416 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72417
72418 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72419 long.
72420 * math/bits/mathcalls.h (llrint): Likewise.
72421 (llround): Likewise.
72422 * stdlib/stdlib.h (struct drand48_data): Likewise.
72423 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72424 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72425 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72426 Likewise.
72427 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72428 Likewise.
72429 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72430 (elf_greg_t): Likewise.
72431 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72432 (__jmp_buf): Likewise.
72433 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72434 definitions.
72435 (llrint): Likewise, for all definitions.
72436 (llrintl): Likewise.
72437
72438 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72439 Remove [__GNUC__] condition.
72440 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72441 condition to just [__USE_ISOC99].
72442 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72443
72444 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72445
72446 [BZ #14200]
72447 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72448 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72449 defined.
72450 (_POSIX_V6_ILP32_OFF32): Likewise.
72451 (_XBS5_ILP32_OFF32): Likewise.
72452 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72453 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72454
72455 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72456
72457 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72458
72459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72460 doubles __mpexp_twomm1. Adjust usage.
72461 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72462 Remove.
72463
72464 2013-01-10 Andreas Schwab <schwab@suse.de>
72465
72466 [BZ #14964]
72467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72468 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72469
72470 2013-01-09 David S. Miller <davem@davemloft.net>
72471
72472 [BZ #15003]
72473 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72474 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72475 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72476 (TCP_FASTOPEN): Define.
72477 (tcp_repair_opt): New structure.
72478 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72479 enum values.
72480 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72481 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72482 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72483 (tcp_cookie_transactions): New structure.
72484
72485 2013-01-09 Anton Blanchard <anton@samba.org>
72486
72487 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72488 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72490 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72491
72492 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72493
72494 * include/features.h (__USE_ANSI): Remove.
72495
72496 2013-01-09 Roland McGrath <roland@hack.frob.com>
72497
72498 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72499
72500 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72501
72502 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72503
72504 * sysdeps/s390/fpu/libm-test-ulps: Update.
72505
72506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72507
72508 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72509 (__acr): Likewise.
72510 (__cpy): Likewise.
72511 (norm): Likewise.
72512 (denorm): Likewise.
72513 (__mp_dbl): Likewise.
72514 (__dbl_mp): Likewise.
72515 (add_magnitudes): Likewise.
72516 (sub_magnitudes): Likewise.
72517 (__add): Likewise.
72518 (__sub): Likewise.
72519 (__mul): Likewise.
72520 (__inv): Likewise.
72521 (__dvd): Likewise.
72522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72523 (__acr): Likewise.
72524 (__cpy): Likewise.
72525 (norm): Likewise.
72526 (denorm): Likewise.
72527 (__mp_dbl): Likewise.
72528 (__dbl_mp): Likewise.
72529 (add_magnitudes): Likewise.
72530 (sub_magnitudes): Likewise.
72531 (__add): Likewise.
72532 (__sub): Likewise.
72533 (__mul): Likewise.
72534 (__inv): Likewise.
72535 (__dvd): Likewise.
72536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72537 (__acr): Likewise.
72538 (__cpy): Likewise.
72539 (norm): Likewise.
72540 (denorm): Likewise.
72541 (__mp_dbl): Likewise.
72542 (__dbl_mp): Likewise.
72543 (add_magnitudes): Likewise.
72544 (sub_magnitudes): Likewise.
72545 (__add): Likewise.
72546 (__sub): Likewise.
72547 (__mul): Likewise.
72548 (__inv): Likewise.
72549 (__dvd): Likewise.
72550
72551 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72552
72553 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72554 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72555 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72556 2 && __USE_EXTERN_INLINES]: Likewise.
72557
72558 2013-01-08 Andreas Jaeger <aj@suse.de>
72559
72560 [BZ #14985]
72561 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72562 Remove.
72563 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72564 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72565
72566 2013-01-07 Anton Blanchard <anton@samba.org>
72567
72568 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72569 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72570 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72571 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72572 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72573 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72574 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72575 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72577 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72578 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72580 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72582 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72589 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72591 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72592 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72593 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72594 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72595 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72597 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72598 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72601 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72602 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72604 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72610 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72611
72612 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72613
72614 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72615 (__MALLOC_PMT): Likewise.
72616 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72617 [__GNUC__], only on [_LIBC].
72618 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72619 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72620 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72621 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72622 forward declaration.
72623 (realloc_hook_ini): Likewise.
72624 (memalign_hook_ini): Likewise.
72625 (__libc_memalign): Do not use __MALLOC_PMT in variable
72626 declaration.
72627 (__libc_valloc): Likewise.
72628 (__libc_pvalloc): Likewise.
72629 (__libc_calloc): Likewise.
72630 (__posix_memalign): Likewise.
72631
72632 [BZ #14996]
72633 * math/s_casinh.c: Include <float.h>.
72634 (__casinh): Do not do computation with squaring and square root
72635 for large arguments.
72636 * math/s_casinhf.c: Include <float.h>.
72637 (__casinhf): Do not do computation with squaring and square root
72638 for large arguments.
72639 * math/s_casinhl.c: Include <float.h>.
72640 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72641 (__casinhl): Do not do computation with squaring and square root
72642 for large arguments.
72643 * math/libm-test.inc (casin_test): Add more tests.
72644 (casinh_test): Likewise.
72645 * sysdeps/i386/fpu/libm-test-ulps: Update.
72646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72647
72648 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72649
72650 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72651 (__x86_64_raw_data_cache_size): Likewise.
72652 (__x86_64_data_cache_size_half): Likewise.
72653 (__x86_64_raw_data_cache_size_half): Likewise.
72654 (__x86_64_shared_cache_size): Likewise.
72655 (__x86_64_raw_shared_cache_size): Likewise.
72656 (__x86_64_shared_cache_size_half): Likewise.
72657 (__x86_64_raw_shared_cache_size_half): Likewise.
72658 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72659 to ...
72660 (__x86_data_cache_size): This.
72661 (__x86_64_raw_data_cache_size): Renamed to ...
72662 (__x86_raw_data_cache_size): This.
72663 (__x86_64_data_cache_size_half): Renamed to ...
72664 (__x86_data_cache_size_half): This.
72665 (__x86_64_raw_data_cache_size_half): Renamed to ...
72666 (__x86_raw_data_cache_size_half): This.
72667 (__x86_64_shared_cache_size): Renamed to ...
72668 (__x86_shared_cache_size): This.
72669 (__x86_64_raw_shared_cache_size): Renamed to ...
72670 (__x86_raw_shared_cache_size): This.
72671 (__x86_64_shared_cache_size_half): Renamed to ...
72672 (__x86_shared_cache_size_half): This.
72673 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72674 (__x86_raw_shared_cache_size_half): This.
72675 * sysdeps/x86_64/memcpy.S: Updated.
72676 * sysdeps/x86_64/memset.S: Likewise.
72677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72680
72681 2013-01-04 David S. Miller <davem@davemloft.net>
72682
72683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72684
72685 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72686
72687 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72688 1 to avoid redefinition warning.
72689 (__USE_GNU): Don't define.
72690 (init_signaling_nan): Protoize.
72691
72692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72693
72694 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72695
72696 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72698 (__cpymn): Likewise.
72699 (norm): Remove commented code.
72700 (denorm): Likewise.
72701 (__mp_dbl): Likewise.
72702 (__inv): Likewise.
72703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72704 (__cpymn): Likewise.
72705 (norm): Remove commented code.
72706 (denorm): Likewise.
72707 (__mp_dbl): Likewise.
72708 (__inv): Likewise.
72709
72710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72711 mp_no value for 1.0 and 2.0.
72712 (norm): Use RADIXI instead of radixi.d.
72713 (denorm): Likewise.
72714 (__mul): Use 0.0 instead of zero.d.
72715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72716 mp_no value for 1.0 and 2.0.
72717 (norm): Use RADIXI instead of radixi.d.
72718 (denorm): Likewise.
72719 (__mul): Use 0.0 instead of zero.d.
72720
72721 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72722
72723 [BZ #14994]
72724 * math/s_casinh.c (__casinh): Reduce finite argument to first
72725 quadrant then set signs of results at the end.
72726 * math/s_casinhf.c (__casinhf): Likewise.
72727 * math/s_casinhl.c (__casinhl): Likewise.
72728 * math/libm-test.inc (casin_test): Add more tests.
72729 (casinh_test): Likewise.
72730 * sysdeps/i386/fpu/libm-test-ulps: Update.
72731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72732
72733 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72734
72735 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72736
72737 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72738
72739 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72740 declarations.
72741 (denorm): Likewise.
72742 (__mp_dbl): Likewise.
72743 (__inv): Likewise.
72744
72745 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72746 and adjust the header comment.
72747
72748 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72749 variable name from declaration.
72750
72751 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72752
72753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72754 Initialize COMMON_CPUID_INDEX_7 element.
72755 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72756 (CPUID_RTM): Likewise.
72757 (HAS_RTM): Likewise.
72758 (COMMON_CPUID_INDEX_7): New enum.
72759
72760 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72761
72762 [BZ #14981]
72763 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72764 size is zero, record memory as freed.
72765
72766 2013-01-03 Andreas Jaeger <aj@suse.de>
72767
72768 * po/ia.po: Add new Interlingua translation.
72769
72770 2012-01-03 Allan McRae <allan@archlinux.org>
72771
72772 * locale/programs/localedef.c: Fix description of '--posix' flag.
72773
72774 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72775
72776 * NEWS: Update dates in second copyright notice.
72777 * README: Update copyright dates in example.
72778 * manual/libc.texinfo: Update copyright dates.
72779 * scripts/test-installation.pl: Update copyright date in --version
72780 output.
72781
72782 * hurd/ctty-input.c: Fix copyright notice formatting.
72783 * hurd/ctty-output.c: Likewise.
72784 * hurd/dtable.c: Likewise.
72785 * hurd/hurd-raise.c: Likewise.
72786 * hurd/hurdprio.c: Likewise.
72787 * hurd/msgportdemux.c: Likewise.
72788 * misc/sys/file.h: Likewise.
72789 * misc/sys/ioctl.h: Likewise.
72790 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72791 * sysdeps/mach/hurd/chdir.c: Likewise.
72792 * sysdeps/mach/hurd/fchdir.c: Likewise.
72793 * sysdeps/mach/hurd/rename.c: Likewise.
72794 * sysdeps/mach/hurd/rmdir.c: Likewise.
72795 * sysdeps/mach/hurd/seekdir.c: Likewise.
72796 * sysdeps/mach/hurd/setsid.c: Likewise.
72797 * sysdeps/posix/wait3.c: Likewise.
72798
72799 * All files with FSF copyright notices: Update copyright dates
72800 using scripts/update-copyrights.
72801 * intl/plural.c: Regenerated.
72802 * locale/programs/charmap-kw.h: Likewise.
72803 * locale/programs/locfile-kw.h: Likewise.
72804
72805 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72806
72807 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72808 four values.
72809
72810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72811 calculation loop and add branch prediction.
72812
72813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72814 check access beyond bounds of m1np.
72815
72816 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72817 MPTWO.
72818 (__inv): Remove local variable MPTWO to use the global
72819 constant.
72820 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72822 variable MPTWO.
72823 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72824 MP3HALFS static const.
72825
72826 2013-01-01 David S. Miller <davem@davemloft.net>
72827
72828 * po/ca.po: Update from translation team.
72829
72830 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72831
72832 * scripts/update-copyrights: New file.
72833 * Makeconfig: Reformat copyright notice.
72834 * ctype/ctype.h: Likewise.
72835 * debug/swprintf_chk.c: Likewise.
72836 * elf/dl-cache.c: Likewise.
72837 * elf/dl-debug.c: Likewise.
72838 * elf/dl-object.c: Likewise.
72839 * grp/initgroups.c: Likewise.
72840 * hurd/Makefile: Likewise.
72841 * hurd/hurd/signal.h: Likewise.
72842 * hurd/hurdfault.c: Likewise.
72843 * hurd/hurdioctl.c: Likewise.
72844 * hurd/hurdlookup.c: Likewise.
72845 * hurd/intr-msg.c: Likewise.
72846 * iconv/gconv_open.c: Likewise.
72847 * libio/swprintf.c: Likewise.
72848 * locale/lc-ctype.c: Likewise.
72849 * locale/nl_langinfo.c: Likewise.
72850 * mach/Machrules: Likewise.
72851 * mach/Makefile: Likewise.
72852 * malloc/obstack.h: Likewise.
72853 * manual/Makefile: Likewise.
72854 * manual/tsort.awk: Likewise.
72855 * misc/bits/stab.def: Likewise.
72856 * nis/nis_print_group_entry.c: Likewise.
72857 * nis/nis_table.c: Likewise.
72858 * nis/nss_compat/compat-pwd.c: Likewise.
72859 * nis/nss_compat/compat-spwd.c: Likewise.
72860 * po/Makefile: Likewise.
72861 * posix/fnmatch.c: Likewise.
72862 * posix/regex.h: Likewise.
72863 * resolv/Makefile: Likewise.
72864 * resolv/nss_dns/dns-network.c: Likewise.
72865 * resolv/res_hconf.c: Likewise.
72866 * scripts/gen-sorted.awk: Likewise.
72867 * soft-fp/soft-fp.h: Likewise.
72868 * stdio-common/printf.h: Likewise.
72869 * stdlib/monetary.h: Likewise.
72870 * stdlib/random.c: Likewise.
72871 * stdlib/random_r.c: Likewise.
72872 * sysdeps/generic/Makefile: Likewise.
72873 * sysdeps/gnu/Makefile: Likewise.
72874 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72876 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72884 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72885 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72886 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72887 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72888 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72889 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72890 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72894 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72895 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72896 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72897 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72898 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72900 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72901 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72902 * sysdeps/mach/hurd/errnos.awk: Likewise.
72903 * sysdeps/mach/hurd/fork.c: Likewise.
72904 * sysdeps/mach/hurd/getcwd.c: Likewise.
72905 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72906 * sysdeps/mach/hurd/mmap.c: Likewise.
72907 * sysdeps/mach/hurd/utimes.c: Likewise.
72908 * sysdeps/mach/hurd/xmknod.c: Likewise.
72909 * sysdeps/posix/profil.c: Likewise.
72910 * sysdeps/posix/readdir_r.c: Likewise.
72911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72912 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72913 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72914 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72917 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72918 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72920 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72921 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72922 * sysdeps/pthread/lio_listio.c: Likewise.
72923 * sysdeps/sparc/dl-procinfo.h: Likewise.
72924 * sysdeps/unix/i386/sysdep.S: Likewise.
72925 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72926 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72927 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72928 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72930 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72931 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72932 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72933 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72934 * sysdeps/wordsize-32/divdi3.c: Likewise.
72935 * time/sys/time.h: Likewise.
72936 * wcsmbs/Makefile: Likewise.
72937
72938 2013-01-01 David S. Miller <davem@davemloft.net>
72939
72940 * po/fr.po: Update from translation team.
72941
72942 * catgets/gencat.c: Update copyright year.
72943 * csu/version.c: Likewise.
72944 * debug/catchsegv.sh: Likewise.
72945 * debug/pcprofiledump.c: Likewise.
72946 * debug/xtrace.sh: Likewise.
72947 * elf/ldconfig.c: Likewise.
72948 * elf/ldd.bash.in: Likewise.
72949 * elf/pldd.c: Likewise.
72950 * elf/sotruss.ksh: Likewise.
72951 * elf/sprof.c: Likewise.
72952 * iconv/iconv_prog.c: Likewise.
72953 * iconv/iconvconfig.c: Likewise.
72954 * locale/programs/locale.c: Likewise.
72955 * locale/programs/localedef.c: Likewise.
72956 * login/programs/pt_chown.c: Likewise.
72957 * malloc/memusage.sh: Likewise.
72958 * malloc/memusagestat.c: Likewise.
72959 * malloc/mtrace.pl: Likewise.
72960 * nscd/nscd.c: Likewise.
72961 * nss/getent.c: Likewise.
72962 * nss/makedb.c: Likewise.
72963 * posix/getconf.c: Likewise.
72964
72965 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72966
72967 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72968 numbers.
72969
72970 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72971
72972 * math/bits/mathcalls.h (modf): Use __nonnull.
72973
72974 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72975
72976 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72977 (split): Use macro CN instead of the bare value.
72978 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72979 could be used.
72980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72981 instead of the bare value.
72982 (power1): Likewise.
72983
72984 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72985
72986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72987 __ATAN_TWOM.
72988 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72989
72990 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72991 their values.
72992 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72994 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72995 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72996
72997 2012-12-28 Andreas Jaeger <aj@suse.de>
72998
72999 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73000 values are from Linux 3.7.
73001
73002 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73003 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73004
73005 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73006
73007 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73008 TRUE case.
73009
73010 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73011 (norm): Likewise.
73012 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73013 variables with preprocessor constants.
73014 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73015 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73016 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73017
73018 2012-12-27 Bruno Haible <bruno@clisp.org>
73019
73020 [BZ #14317]
73021 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73022 only if needed.
73023
73024 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73025
73026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73027 and use variable directly.
73028 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73029
73030 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73031 MPONE.
73032 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73034 variable MPONE.
73035 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73037 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73038 include directive. Remove local variable MPONE.
73039 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73040 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73042
73043 2012-12-25 David S. Miller <davem@davemloft.net>
73044
73045 * version.h (RELEASE): Set to "development".
73046 (VERSION): Set to "2.17.90".
73047 * NEWS: Add 2.18 section.
73048
73049 2012-12-21 David S. Miller <davem@davemloft.net>
73050
73051 * po/hr.po: Update from translation team.
73052
73053 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73054
73055 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73056
73057 2012-12-19 Steve Ellcey <sellcey@mips.com>
73058
73059 * NEWS: Mention new memcpy for MIPS.
73060
73061 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73062
73063 * manual/contrib.texi (Contributors): Spelling correction.
73064
73065 2012-12-15 David S. Miller <davem@davemloft.net>
73066
73067 * po/ru.po: Update from translation team.
73068
73069 2012-12-13 David S. Miller <davem@davemloft.net>
73070
73071 * NEWS: Mention IFUNC testsuite enhancements.
73072
73073 * po/pl.po: Update from translation team.
73074 * po/bg.po: Likewise.
73075
73076 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73077 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73078
73079 2012-12-11 David S. Miller <davem@davemloft.net>
73080
73081 * po/sv.po: Update from translation team.
73082
73083 * po/vi.po: Update from translation team.
73084
73085 * po/cs.po: Update from translation team.
73086
73087 * po/de.po: Update from translation team.
73088 * po/eo.po: Likewise.
73089 * po/nl.po: Likewise.
73090
73091 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73092
73093 [BZ #14246]
73094 * manual/argp.texi (Argp Helper Functions): Move node to follow
73095 Argp Parsing State.
73096
73097 [BZ #14872]
73098 * manual/conf.texi (Limits on File System Capacity): Mention if
73099 terminating null is included in the max size.
73100
73101 2012-12-10 Andreas Jaeger <aj@suse.de>
73102
73103 * po/cs.po: Update from translation team.
73104
73105 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73106
73107 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73108 void pointer and cast to uintptr_t.
73109 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73110 path.
73111 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73112 * sysdeps/s390/s390-64/memset.S: Likewise.
73113
73114 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73115
73116 [BZ #14833]
73117 * menual/message.texi (Message Translation): Fix typos.
73118 (Helper programs for gettext): Likewise.
73119
73120 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73121
73122 [BZ #14898]
73123 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73124 Change to -1.
73125
73126 2012-12-07 David S. Miller <davem@davemloft.net>
73127
73128 * po/libc.pot: Update.
73129
73130 2012-12-07 Richard Henderson <rth@redhat.com>
73131
73132 [BZ #10114]
73133 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73134 normal/normal case to before the switch.
73135 (_FP_DIV): Likewise.
73136
73137 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73138 Mike Frysinger <vapier@gentoo.org>
73139
73140 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73141 check for __NR_fadvise64_64.
73142
73143 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73144
73145 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73146 0, not just to plain "0" as a statement.
73147 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73148 with cw.
73149
73150 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73151
73152 * NEWS: Use sourceware.org in Bugzilla URL.
73153
73154 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73155
73156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73157 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73158
73159 * stdio-common/tst-put-error.c (do_test): Add newline to the
73160 padded test to ensure flush.
73161
73162 2012-12-05 Jeff Law <law@redhat.com>
73163
73164 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73165
73166 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73167
73168 * README: Don't refer to ports add-on as distributed separately.
73169 Mention AArch64 in list of systems supported in the ports add-on.
73170
73171 * LICENSES: Add more non-FSF copyright and license notices.
73172
73173 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73174 ((unused)).
73175
73176 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73177
73178 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73179 10000 as width of padded output.
73180
73181 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73182
73183 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73184
73185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73186 variable LX with __attribute__ ((unused)).
73187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73188 Likewise.
73189 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73191 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73192 with __attribute__ ((unused)).
73193
73194 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73195
73196 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73197
73198 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73199
73200 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73201 (CFLAGS-nldbl-acos.c): New variable.
73202 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73203 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73204 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73205 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73206 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73207 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73208 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73209 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73210 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73211 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73212 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73213 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73214 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73215 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73216 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73217 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73218 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73219 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73220 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73221 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73222 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73223 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73224 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73225 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73226 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73227 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73228 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73229 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73230 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73231 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73232 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73233 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73234 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73235 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73236 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73237 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73238 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73239 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73240 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73241 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73242 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73243 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73244 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73245 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73246 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73247 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73248 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73249 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73250 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73251 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73252 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73253 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73254 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73255 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73256 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73257 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73258 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73259 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73260 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73261 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73262 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73263 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73264 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73265 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73266 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73267 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73268 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73269 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73270 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73271 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73272 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73273 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73274 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73275 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73276 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73277 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73278 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73279 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73280 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73281 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73282 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73283 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73284 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73285 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73286 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73287 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73288 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73289 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73290 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73291 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73292 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73293 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73294 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73295 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73296 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73297 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73298 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73299
73300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73301 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73302
73303 [BZ #14914]
73304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73305 whole low double instead of just low 47 bits when splitting values
73306 into two parts.
73307
73308 2012-12-03 Allan McRae <allan@archlinux.org>
73309
73310 * manual/stdio.texi (Predefined Printf Handlers): Remove
73311 @hsep and @vsep usage.
73312
73313 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73314
73315 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73316 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73317
73318 2012-12-03 Jeff Law <law@redhat.com>
73319
73320 * time/sys/time.h (settimeofday): Do not mark TV argument
73321 as __nonnull.
73322
73323 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73324
73325 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73326 when currently writing and seek to current position when not.
73327 * libio/Makefile (tests): Remove bug-fclose1.
73328 * libio/bug-fclose1.c: Delete.
73329
73330 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73331
73332 * manual/arith.texi (feenableexcept): Fix typo.
73333 (fedisableexcept): Likewise.
73334
73335 2012-11-30 Roland McGrath <roland@hack.frob.com>
73336
73337 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73338 second, differently-typed declaration, rather than a cast.
73339
73340 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73341
73342 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73343 * include/rpc/svc.h: ... here.
73344
73345 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73346
73347 [BZ #13013]
73348 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73349 depending n and resplen2 to catch cases where answer
73350 equals answerp2.
73351
73352 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73353
73354 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73355 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73356
73357 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73358
73359 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73360
73361 2012-11-29 Roland McGrath <roland@hack.frob.com>
73362
73363 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73364
73365 2012-11-28 Jeff Law <law@redhat.com>
73366
73367 [BZ #13761]
73368 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73369 dataset_temporary. Track alloca usage into alloca_used.
73370 If dataset is large allocate and release it via malloc/free.
73371
73372 2012-06-04 Florian Weimer <fweimer@redhat.com>
73373
73374 [BZ #14197]
73375 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73376
73377 2012-11-28 David S. Miller <davem@davemloft.net>
73378
73379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73380
73381 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73382
73383 [BZ #14803]
73384 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73385 of pi/2 rounded to nearest to 64 bits.
73386 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73387 nearest to 64 bits.
73388 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73389 bits.
73390
73391 2012-11-28 Jeff Law <law@redhat.com>
73392 Martin Osvald <mosvald@redhat.com>
73393
73394 [BZ #14889]
73395 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73396 * sunrpc/svc.c: Include time.h.
73397 (__svc_accept_failed): New function.
73398 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73399 any reason other than EINTR, call __svc_accept_failed.
73400 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73401 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73402
73403 2012-11-28 Andreas Schwab <schwab@suse.de>
73404
73405 * scripts/abilist.awk: Also handle indirect functions in .opd
73406 section.
73407
73408 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73409
73410 [BZ #13881]
73411 * sysdeps/x86/fpu/powl_helper.c: New file.
73412 * sysdeps/x86/fpu/Makefile: Likewise.
73413 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73414 (p3): New object.
73415 (__ieee754_powl): Use __powl_helper for finite arguments except
73416 integer exponents below 8.
73417 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73418 (p3): New object.
73419 (__ieee754_powl): Use __powl_helper for finite arguments except
73420 integer exponents below 8.
73421 * math/libm-test.inc (pow_test): Add more tests and enable some
73422 previously disabled tests.
73423 * sysdeps/i386/fpu/libm-test-ulps: Update.
73424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73425
73426 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73427 Carlos O'Donell <carlos_odonell@mentor.com>
73428
73429 * nss/makedb.c (is_prime): Assert that input is odd and greater
73430 than 4. Note that fact in a comment too.
73431 (next_prime): Add 4 to input.
73432
73433 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73434
73435 [BZ #11741]
73436 * libio/Makefile (tests): Add test case tst-fwrite-error.
73437 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73438 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73439 * libio/tst-fwrite-error.c: New test case.
73440
73441 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73442
73443 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73444 before casting to void *.
73445 * include/libc-internal.h (__pointer_type): New macro.
73446 (__integer_if_pointer_type_sub): Likewise.
73447 (__integer_if_pointer_type): Likewise.
73448 (cast_to_integer): Likewise.
73449 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73450 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73451 before casting to atomic64_t.
73452 (atomic_exchange_acq): Likewise.
73453 (__arch_exchange_and_add_body): Likewise.
73454 (__arch_add_body): Likewise.
73455 (atomic_add_negative): Likewise.
73456 (atomic_add_zero): Likewise.
73457
73458 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73459
73460 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73461 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73462 (add_fdes): Likewise.
73463 (linear_search_fdes): Likewise.
73464 (binary_search_unencoded_fdes): Likewise.
73465
73466 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73467
73468 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73469
73470 2012-11-24 Adam Conrad <adconrad@0c3.net>
73471
73472 * configure.in: Autodetect C++ header directories.
73473 * configure: Regenerated.
73474
73475 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73476
73477 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73478
73479 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73480
73481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73482
73483 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73484
73485 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73486 LDBL_MANT_DIG == 106]: Disable some tests.
73487 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73488 Likewise.
73489 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73490 Likewise.
73491
73492 [BZ #14871]
73493 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73494 input for small inputs. Return +/- pi/2 for large inputs.
73495 * math/libm-test.inc (atan_test): Add more tests.
73496
73497 * sysdeps/generic/unwind-dw2-fde-glibc.c
73498 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73499 __attribute__ ((unused)).
73500
73501 [BZ #14645]
73502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73503 x * y if x and y are nonzero and z is zero.
73504
73505 [BZ #14811]
73506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73507 nonzero exponents with absolute value below 0x1p-117 to +/-
73508 0x1p-117.
73509
73510 [BZ #14869]
73511 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73512 up arguments below 2**-450, not just those below 2**-500.
73513 * math/libm-test.inc (hypot_test): Add another test.
73514
73515 [BZ #14868]
73516 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73517 Return a+b for ratio over 2**120, not 2**60.
73518 * math/libm-test.inc (hypot_test): Add another test.
73519
73520 * math/libm-test.inc (clog_test): Use
73521 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73522 (clog10_test): Likewise.
73523
73524 [BZ #6778]
73525 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73526
73527 2012-11-22 Andreas Schwab <schwab@suse.de>
73528
73529 * sysdeps/i386/fpu/libm-test-ulps: Update.
73530
73531 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73532
73533 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73534 printf output with newline.
73535
73536 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73537
73538 [BZ #14865]
73539 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73540 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73541 -z nodlopen, -z initfirst and -z execstack support.
73542 * configure: Regenerated.
73543
73544 * elf/elf.h (DF_1_NODIRECT): New macro.
73545 (DF_1_IGNMULDEF): Likewise.
73546 (DF_1_NOKSYMS): Likewise.
73547 (DF_1_NOHDR): Likewise.
73548 (DF_1_EDITED): Likewise.
73549 (DF_1_NORELOC): Likewise.
73550 (DF_1_SYMINTPOSE): Likewise.
73551 (DF_1_GLOBAUDIT): Likewise.
73552 (DF_1_SINGLETON): Likewise.
73553 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73554 DT_1_SUPPORTED_MASK bits.
73555 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73556
73557 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73558
73559 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73560
73561 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73562
73563 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73564 macro.
73565
73566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73567 (sendmmsg): Move declarations...
73568 * socket/sys/socket.h: ... here.
73569 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73570 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73571 include it from...
73572 * socket/recvmmsg.c: ... this new file.
73573 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73574 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73575 definition of __sendmmsg hidden.
73576 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73577 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73578 Move ENOSYS stub into and include it from...
73579 * socket/sendmmsg.c: ... this new file.
73580 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73581 (sysdep_routines): Move recvmmsg and sendmmsg...
73582 * socket/Makefile (routines): ... here.
73583 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73584 (GLIBC_PRIVATE): Add __sendmmsg.
73585 * include/sys/socket.h (__sendmmsg): Add declarations.
73586 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73587 sendmmsg.
73588
73589 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73590
73591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73592 variable I1 with __attribute__ ((unused)).
73593 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73594
73595 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73596
73597 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73598 DUMMY variables with __attribute__ ((unused)).
73599
73600 * bits/byteswap.h: Include <bits/types.h>.
73601 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73602
73603 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73604
73605 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73606 string_t. Do not manually set errno.
73607 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73608 length with __strnlen. Make sure to both set errno and return it on
73609 failure.
73610
73611 2012-11-19 David S. Miller <davem@davemloft.net>
73612
73613 With help from Joseph Myers.
73614 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73615 very large arguments properly.
73616 * math/libm-test.inc (atan_test): New tests.
73617 (atan2_test): New tests.
73618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73620
73621 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73622
73623 [BZ #14856]
73624 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73625 Define to 3.
73626
73627 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73628 [POSIX] (EADDRNOTAVAIL): Likewise.
73629 [POSIX] (EAFNOSUPPORT): Likewise.
73630 [POSIX] (EALREADY): Likewise.
73631 [POSIX] (ECONNABORTED): Likewise.
73632 [POSIX] (ECONNREFUSED): Likewise.
73633 [POSIX] (ECONNRESET): Likewise.
73634 [POSIX] (EDESTADDRREQ): Likewise.
73635 [POSIX] (EDQUOT): Likewise.
73636 [POSIX] (EHOSTUNREACH): Likewise.
73637 [POSIX] (EIDRM): Likewise.
73638 [POSIX] (EISCONN): Likewise.
73639 [POSIX] (ELOOP): Likewise.
73640 [POSIX] (EMULTIHOP): Likewise.
73641 [POSIX] (ENETDOWN): Likewise.
73642 [POSIX] (ENETUNREACH): Likewise.
73643 [POSIX] (ENOBUFS): Likewise.
73644 [POSIX] (ENODATA): Likewise.
73645 [POSIX] (ENOLINK): Likewise.
73646 [POSIX] (ENOMSG): Likewise.
73647 [POSIX] (ENOPROTOOPT): Likewise.
73648 [POSIX] (ENOSR): Likewise.
73649 [POSIX] (ENOSTR): Likewise.
73650 [POSIX] (ENOTCONN): Likewise.
73651 [POSIX] (ENOTSOCK): Likewise.
73652 [POSIX] (EOPNOTSUPP): Likewise.
73653 [POSIX] (EOVERFLOW): Likewise.
73654 [POSIX] (EPROTO): Likewise.
73655 [POSIX] (EPROTONOSUPPORT): Likewise.
73656 [POSIX] (EPROTOTYPE): Likewise.
73657 [POSIX] (ESTALE): Likewise.
73658 [POSIX] (ETIME): Likewise.
73659 [POSIX] (ETXTBSY): Likewise.
73660 [POSIX] (EWOULDBLOCK): Likewise.
73661 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73662 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73663 [POSIX] (SEEK_CUR): Likewise.
73664 [POSIX] (SEEK_END): Likewise.
73665 [POSIX || UNIX98] (mode_t): Do not require.
73666 [POSIX] (off_t): Likewise.
73667 [POSIX] (pid_t): Likewise.
73668 [POSIX] (sys/stat.h): Do not allow header.
73669 [POSIX] (unistd.h): Likewise.
73670 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73671 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73672 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73673 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73674 require.
73675 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73676 sigevent): Specify elements.
73677 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73678 entry.
73679 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73680 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73681
73682 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73683 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73684 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73685 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73686 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73687 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73688 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73689 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73690 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73691 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73692 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73693 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73694 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73695 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73696 Likewise.
73697 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73698 Likewise.
73699 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73700 Likewise.
73701 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73702 Likewise.
73703 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73704 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73706 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73707 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73708 Specify lower bound on value.
73709 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73710 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73711 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73712 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73713 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73714 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73715 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73716 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73717 value.
73718 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73719 as optional.
73720 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73721 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73722 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73723 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73724 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73725 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73726 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73727 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73728 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73729 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73730 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73731 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73732 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73733 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73734 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73735 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73736 entry.
73737 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73738 optional.
73739 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73740 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73741 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73742 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73743 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73744 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73745 Likewise.
73746 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73748 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73749 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73750 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73751 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73752 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73753 as optional.
73754 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73757 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73758 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73759 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73760 specify as optional.
73761 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73762 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73763 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73764 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73765 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73766 [XPG3] (NL_LANGMAX): Likewise.
73767 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73768 [POSIX || XPG3] (NL_NMAX): Likewise.
73769 [POSIX || XPG3] (NL_SETMAX): Likewise.
73770 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73771 [XPG3] (NZERO): Likewise.
73772 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73773 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73774 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73775 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73776 (REG_ERANGE): Expect.
73777 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73778 optional-constant.
73779 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73780 Use (void) in prototype.
73781 [POSIX] (*_t): Allow.
73782 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73783 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73784 (WRDE_BADVAL): Expect.
73785
73786 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73787 expect.
73788 [XPG3 || XPG4] (O_RSYNC): Likewise.
73789 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73790 Likewise.
73791 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73792 [XPG3 || XPG4] (sigqueue): Likewise.
73793 [XPG3 || XPG4] (sigtimedwait): Likewise.
73794 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73795 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73796 [XPG3 || XPG4] (vsnprintf): Likewise.
73797 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73798 Likewise.
73799 [XPG3 || XPG4] (blksize_t): Likewise.
73800 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73801 Likewise.
73802 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73803 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73804 [XPG3 || XPG4] (struct itimerspec): Likewise.
73805 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73806 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73807 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73808 [XPG3 || XPG4] (clockid_t): Likewise.
73809 [XPG3 || XPG4] (timer_t): Likewise.
73810 [XPG3 || XPG4] (clock_getres): Likewise.
73811 [XPG3 || XPG4] (clock_gettime): Likewise.
73812 [XPG3 || XPG4] (clock_settime): Likewise.
73813 [XPG3 || XPG4] (nanosleep): Likewise.
73814 [XPG3 || XPG4] (timer_create): Likewise.
73815 [XPG3 || XPG4] (timer_delete): Likewise.
73816 [XPG3 || XPG4] (timer_gettime): Likewise.
73817 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73818 [XPG3 || XPG4] (timer_settime): Likewise.
73819 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73820 [XPG3 || XPG4] (getlogin_r): Likewise.
73821 [XPG3 || XPG4] (pread): Likewise.
73822 [XPG3 || XPG4] (pthread_atfork): Likewise.
73823 [XPG3 || XPG4] (pwrite): Likewise.
73824
73825 [BZ #14835]
73826 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73827 <bits/siginfo.h>.
73828
73829 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73830
73831 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73832 finalizing MALLSTREAM.
73833
73834 * sysdeps/mach/hurd/syncfs.c: New file.
73835
73836 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73837
73838 [BZ #14719]
73839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73840 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73842 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73843 (_nss_dns_gethostbyname4_r): Likewise.
73844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73845 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73846
73847 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73848
73849 [BZ #13763]
73850 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73851
73852 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73853
73854 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73855 * elf/cache.c (print_entry): Print ",AArch64" for
73856 FLAG_AARCH64_LIB64
73857
73858 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73859 * elf/cache.c (print_entry): Print ",hard-float" for
73860 FLAG_ARM_LIBHF.
73861
73862 2012-11-18 David S. Miller <davem@davemloft.net>
73863
73864 With help from Joseph Myers.
73865 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73866 cutoff to 2**-13.
73867 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73868 cutoff to 2**-25.
73869 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73870 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73871 small.
73872 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73873 * math/libm-test.inc (y0_test): New tests.
73874 (y1_test): New tests.
73875 * sysdeps/i386/fpu/libm-test-ulps: Update.
73876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73878
73879 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73880
73881 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73882 64-bit targets.
73883 * configure: Regenerated.
73884
73885 2012-11-17 David S. Miller <davem@davemloft.net>
73886
73887 [BZ #14811]
73888 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73889 nonzero exponents with absolute value below 0x1p-128 to +/-
73890 0x1p-128.
73891
73892 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73893
73894 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73895
73896 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73897
73898 * posix/getconf-speclist.c: New file.
73899 * posix/posix-envs.def: Likewise.
73900 * posix/confstr.c (START_ENV_GROUP): New macro.
73901 (END_ENV_GROUP): Likewise.
73902 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73903 (KNOWN_PRESENT_ENV_STRING): Likewise.
73904 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73905 (UNKNOWN_ENVIRONMENT): Likewise.
73906 (confstr): Include posix-envs.def instead of handling
73907 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73908 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73909 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73910 (END_ENV_GROUP): Likewise.
73911 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73912 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73913 (UNKNOWN_ENVIRONMENT): Likewise.
73914 (__sysconf): Include posix-envs.def instead of handling associated
73915 cases directly here.
73916 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73917 preprocessing getconf-speclist.c rather than running getconf or
73918 generating empty file.
73919
73920 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73921
73922 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73923
73924 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73925
73926 [BZ #14672]
73927 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73928
73929 2012-11-16 David S. Miller <davem@davemloft.net>
73930
73931 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73932 smaller than LDBL_EPSILON/2.0L, just return xm1.
73933
73934 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73935
73936 * elf/tst-array1.c (init): Set constructor priority to 1000.
73937 (fini): Set destructor priority to 1000.
73938 * elf/tst-array2dep.c: Likewise.
73939
73940 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73941
73942 [BZ #11741]
73943 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73944 (_IO_new_file_xsputn): Also return EOF if none of the input
73945 data was written when overflow failed.
73946 * libio/iopadn.c (_IO_padn): Likewise.
73947 * libio/iowpadn.c (_IO_wpadn): Likewise.
73948 * stdio-common/tst-put-error.c: Add copyright notice.
73949 (do_test): Add case for printing padded string.
73950 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73951 _IO_padn returned error.
73952 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73953 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73954 return EOF.
73955
73956 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73957
73958 * libio/libioP.h: Add comment note that the references to C++
73959 bits are now obsolete.
73960
73961 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73962
73963 * math/libm-test.inc (check_complex): Use asprintf.
73964
73965 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73966
73967 * debug/pcprofiledump.c (print_version): Update copyright year.
73968 * malloc/memusagestat.c (print_version): Likewise.
73969
73970 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73971
73972 [BZ #14831]
73973 * elf/Makefile (tests): Add tst-audit8.
73974 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73975 ($(objpfx)tst-audit8.out): New target.
73976 (tst-audit8-ENV): New variable.
73977 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73978 audit if l_reloc_result is NULL.
73979 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73980 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73981 * elf/tst-audit8.c: New file.
73982
73983 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73984
73985 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73986 * misc/Makefile (CFLAGS-select.c): Define.
73987 * posix/Makefile (CFLAGS-pause.c): Define.
73988
73989 2012-11-13 David S. Miller <davem@davemloft.net>
73990
73991 * crypt/Makefile: Move test targets after toplevel Rules
73992 inclusion. Grab any necessary sysdep routines when linking.
73993 * crypt/md5.c (md5_process_block): Remove define, we will always
73994 name it __md5_process_block.
73995 (md5_finish_ctx): Update md5_process_block call.
73996 (md5_stream): Likewise.
73997 (md5_process_bytes): Likewise.
73998 (md5_process_block): Rename to __md5_process_block and move to ...
73999 * crypt/md5-block.c: ... here.
74000 * crypt/sha256.c (sha256_process_block): Move to ...
74001 * crypt/sha256-block.c: ... here.
74002 * crypt/sha512.c (sha512_process_block): Move to ...
74003 * crypt/sha512-block.c: ... here.
74004 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74005 path.
74006 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74007 * sysdeps/sparc/sparc64/multiarch/Makefile
74008 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74009 crypt subdir.
74010 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74011 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74012 multiarch changes.
74013 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74014 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74015 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74016 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74017 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74018 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74019 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74020 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74021 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74022 file.
74023 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74025 file.
74026 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74027
74028 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74029
74030 * timezone/tzselect.ksh: Update from tzcode git revision
74031 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74032 * timezone/zdump.c: Likewise.
74033 * timezone/zic.c: Likewise.
74034 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74035 in TZVERSION setting, not $(PKGVERSION).
74036 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74037 REPORT_BUGS_TO settings.
74038
74039 [BZ #14838]
74040 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74041 macro.
74042
74043 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74044
74045 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74046 detection to immediately after _FP_ROUND().
74047 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74048 bits are 0.
74049
74050 2012-11-11 David S. Miller <davem@davemloft.net>
74051
74052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74053 inttypes.h
74054 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74055 __close rather than their public counterparts.
74056
74057 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74058
74059 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74060 file.
74061 [UNIX98] (sem_timedwait): Do not expect.
74062 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74063 [XPG4 || UNIX98] (sockatmark): Do not expect.
74064 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74065 (clock_getcpuclockid): Do not expect.
74066 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74067 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74068 Do not expect.
74069 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74070 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74071 [UNIX98] (vwscanf): Likewise.
74072 [UNIX98] (vswscanf): Likewise.
74073
74074 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74075
74076 * timezone/version.h: Remove file.
74077 * timezone/README: Do not refer to version.h.
74078 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74079 $(objpfx)version.h.
74080 ($(objpfx)zdump.o): Likewise.
74081 ($(objpfx)version.h): New target.
74082
74083 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74084 2012i.
74085 * timezone/README: Don't mention modification to tzselect.ksh.
74086 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74087 work on unmodified tzselect.ksh. Substitute version numbers in
74088 tzselect.ksh.
74089
74090 * Makefile (format-me): Remove.
74091 (INSTALL): Adjust indentation. Use commands directly instead of
74092 using $(format-me).
74093
74094 * aclocal.m4 (ACX_PKGVERSION): New macro.
74095 (ACX_BUGURL): Likewise.
74096 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74097 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74098 (REPORT_BUGS_TO): Likewise.
74099 * configure: Regenerated.
74100 * config.h.in (PKGVERSION): New macro.
74101 (REPORT_BUGS_TO): Likewise.
74102 * config.make.in (PKGVERSION): New variable.
74103 (PKGVERSION_TEXI): Likewise.
74104 (REPORT_BUGS_TO): Likewise.
74105 (REPORT_BUGS_TEXI): Likewise.
74106 * Makefile (format-me): Use -I$(common-objpfx)manual.
74107 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74108 ($(common-objpfx)manual/%): New target.
74109 (manual/%): Remove target.
74110 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74111 (print_version): Use PKGVERSION.
74112 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74113 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74114 and REPORT_BUGS_TO.
74115 ($(objpfx)xtrace): Likewise.
74116 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74117 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74118 (print_version): Use PKGVERSION.
74119 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74120 (do_version): Use PKGVERSION.
74121 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74122 REPORT_BUGS_TO.
74123 (common-ldd-rewrite): Likewise.
74124 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74125 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74126 (print_version): Use PKGVERSION.
74127 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74128 * elf/pldd.c (argp_program_bug_address): Remove variable.
74129 (more_help): New function.
74130 (argp): Use more_help.
74131 (print_version): Use PKGVERSION.
74132 * elf/sln.c (main): Use PKGVERSION.
74133 (usage): Use REPORT_BUGS_TO.
74134 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74135 (top level): Use PKGVERSION.
74136 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74137 (print_version): Use PKGVERSION.
74138 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74139 (print_version): Use PKGVERSION.
74140 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74141 (print_version): Use PKGVERSION.
74142 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74143 (print_version): Use PKGVERSION.
74144 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74145 (print_version): Use PKGVERSION.
74146 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74147 (print_version): Use PKGVERSION.
74148 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74149 and BUGURL.
74150 ($(objpfx)memusage): Likewise.
74151 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74152 (do_version): Use PKGVERSION.
74153 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74154 (print_version): Use PKGVERSION.
74155 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74156 ($PKGVERSION): New variable.
74157 ($REPORT_BUGS_TO): Likewise.
74158 (usage): Use $REPORT_BUGS_TO.
74159 (top level): Use $PKGVERSION.
74160 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74161 ($(objpfx)pkgvers.texi): New rule.
74162 ($(objpfx)stamp-pkgvers): Likewise.
74163 * manual/install.texi: Include pkgvers.texi.
74164 (--with-pkgversion): Document new configure option.
74165 (--with-bugurl): Likewise.
74166 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74167 than necessarily for this particular distribution. Use
74168 REPORT_BUGS_TO for where to report bugs.
74169 * INSTALL: Regenerated.
74170 * manual/libc.texinfo: Include pkgvers.texi.
74171 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74172 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74173 (print_version): Use PKGVERSION.
74174 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74175 (print_version): Use PKGVERSION.
74176 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74177 (print_version): Use PKGVERSION.
74178 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74179 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74180 macro.
74181 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74182 (print_version): Use PKGVERSION.
74183 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74184 (print_version): Use PKGVERSION.
74185 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74186 and PKGVERSION.
74187
74188 * timezone/checktab.awk: Update from tzcode 2012i.
74189 * timezone/ialloc.c: Likewise.
74190 * timezone/private.h: Likewise.
74191 * timezone/scheck.c: Likewise.
74192 * timezone/tzfile.h: Likewise.
74193 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74194 (TZVERSION): Hardcode tzcode version number.
74195 * timezone/zdump.c: Update from tzcode 2012i.
74196 * timezone/zic.c: Likewise.
74197 * timezone/version.h: New file.
74198 * timezone/README: Describe version.h. Update upstream location.
74199
74200 [BZ #14824]
74201 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74202 (mktemp): Enable declaration.
74203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74207 Likewise.
74208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74209 Likewise.
74210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74211 Likewise.
74212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74213 Likewise.
74214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74215 Likewise.
74216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74217 Likewise.
74218
74219 [BZ #14821]
74220 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74221 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74222 for copies of such integer values.
74223 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74224 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74225
74226 2012-11-09 Andreas Jaeger <aj@suse.de>
74227
74228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74229 definitions and declarations that are provided by
74230 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74231
74232 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74233
74234 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74235 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74236 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74237 definition.
74238
74239 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74240
74241 * elf/elf.h: Update comment before AArch64 relocations.
74242
74243 2012-11-07 David S. Miller <davem@davemloft.net>
74244
74245 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74247 (__start_context): Declare.
74248 (__makecontext_ret): Delete.
74249 (__makecontext): Hook up __start_context instead of
74250 __makecontext_ret.
74251 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74252 (sysdep_routines): Add __start_context when in stdlib.
74253
74254 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74255
74256 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74257 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74258 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74259 hardcoded "nm".
74260 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74261 (READELF): New variable. Use it instead of hardcoded "readelf".
74262
74263 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74264
74265 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74266 * sysdeps/x86/Makefile: Here.
74267 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74268 * sysdeps/x86/tst-xmmymm.sh: This.
74269
74270 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74271
74272 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74273 expectations.
74274 [UNIX98] (pthread_barrier_t): Do not expect.
74275 [UNIX98] (pthread_barrierattr_t): Likewise.
74276 [UNIX98] (pthread_spinlock_t): Likewise.
74277 [UNIX98] (pthread_barrier_destroy): Likewise.
74278 [UNIX98] (pthread_barrier_init): Likewise.
74279 [UNIX98] (pthread_barrier_wait): Likewise.
74280 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74281 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74282 [UNIX98] (pthread_barrierattr_init): Likewise.
74283 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74284 [UNIX98] (pthread_getcpuclockid): Likewise.
74285 [UNIX98] (pthread_mutex_timedlock): Likewise.
74286 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74287 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74288 [UNIX98] (pthread_sigmask): Likewise.
74289 [UNIX98] (pthread_spin_destroy): Likewise.
74290 [UNIX98] (pthread_spin_init): Likewise.
74291 [UNIX98] (pthread_spin_lock): Likewise.
74292 [UNIX98] (pthread_spin_trylock): Likewise.
74293 [UNIX98] (pthread_spin_unlock): Likewise.
74294 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74295 Do not expect.
74296 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74297 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74298 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74299 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74300 [XPG3 || XPG4] (pthread_key_t): Likewise.
74301 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74302 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74303 [XPG3 || XPG4] (pthread_once_t): Likewise.
74304 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74305 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74306 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74307 [XPG3 || XPG4] (pthread_t): Likewise.
74308
74309 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74310 not expect.
74311 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74312
74313 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74314 Change function return type to int.
74315
74316 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74317 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74318 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74319 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74320 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74321 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74322 [!POSIX] (posix_madvise): Likewise.
74323 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74324 && !UNIX98].
74325 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74326 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74327 (mode_t): Likewise.
74328 (posix_mem_offset): Likewise.
74329 (posix_typed_mem_get_info): Likewise.
74330 (posix_typed_mem_open): Likewise.
74331
74332 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74333 Change condition to [XOPEN2K8].
74334
74335 * conform/conformtest.pl: Preprocess allow-header data with -x c
74336 instead of from stdin.
74337 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74338 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74339 [C99-based standards] (cerfc): Likewise.
74340 [C99-based standards] (cexp2): Likewise.
74341 [C99-based standards] (cexpm1): Likewise.
74342 [C99-based standards] (clog10): Likewise.
74343 [C99-based standards] (clog1p): Likewise.
74344 [C99-based standards] (clog2): Likewise.
74345 [C99-based standards] (clgamma): Likewise.
74346 [C99-based standards] (ctgamma): Likewise.
74347 [C99-based standards] (cerff): Likewise.
74348 [C99-based standards] (cerfcf): Likewise.
74349 [C99-based standards] (cexp2f): Likewise.
74350 [C99-based standards] (cexpm1f): Likewise.
74351 [C99-based standards] (clog10f): Likewise.
74352 [C99-based standards] (clog1pf): Likewise.
74353 [C99-based standards] (clog2f): Likewise.
74354 [C99-based standards] (clgammaf): Likewise.
74355 [C99-based standards] (ctgammaf): Likewise.
74356 [C99-based standards] (cerfl): Likewise.
74357 [C99-based standards] (cerfcl): Likewise.
74358 [C99-based standards] (cexp2l): Likewise.
74359 [C99-based standards] (cexpm1l): Likewise.
74360 [C99-based standards] (clog10l): Likewise.
74361 [C99-based standards] (clog1pl): Likewise.
74362 [C99-based standards] (clog2l): Likewise.
74363 [C99-based standards] (clgammal): Likewise.
74364 [C99-based standards] (ctgammal): Likewise.
74365 * conform/data/inttypes.h-data [C99-based standards]: Include
74366 stdint.h-data. Remove all expectations for stdint.h contents.
74367 [C99-based standards] (PRI*): Do not allow.
74368 [C99-based standards] (SCN*): Likewise.
74369 [C99-based standards] (*_t): Likewise.
74370 [C99-based-standards] (PRId8): Expect macro.
74371 [C99-based-standards] (PRIi8): Likewise.
74372 [C99-based-standards] (PRIo8): Likewise.
74373 [C99-based-standards] (PRIu8): Likewise.
74374 [C99-based-standards] (PRIx8): Likewise.
74375 [C99-based-standards] (PRIX8): Likewise.
74376 [C99-based-standards] (SCNd8): Likewise.
74377 [C99-based-standards] (SCNi8): Likewise.
74378 [C99-based-standards] (SCNo8): Likewise.
74379 [C99-based-standards] (SCNu8): Likewise.
74380 [C99-based-standards] (SCNx8): Likewise.
74381 [C99-based-standards] (PRIdLEAST8): Likewise.
74382 [C99-based-standards] (PRIiLEAST8): Likewise.
74383 [C99-based-standards] (PRIoLEAST8): Likewise.
74384 [C99-based-standards] (PRIuLEAST8): Likewise.
74385 [C99-based-standards] (PRIxLEAST8): Likewise.
74386 [C99-based-standards] (PRIXLEAST8): Likewise.
74387 [C99-based-standards] (SCNdLEAST8): Likewise.
74388 [C99-based-standards] (SCNiLEAST8): Likewise.
74389 [C99-based-standards] (SCNoLEAST8): Likewise.
74390 [C99-based-standards] (SCNuLEAST8): Likewise.
74391 [C99-based-standards] (SCNxLEAST8): Likewise.
74392 [C99-based-standards] (PRIdFAST8): Likewise.
74393 [C99-based-standards] (PRIiFAST8): Likewise.
74394 [C99-based-standards] (PRIoFAST8): Likewise.
74395 [C99-based-standards] (PRIuFAST8): Likewise.
74396 [C99-based-standards] (PRIxFAST8): Likewise.
74397 [C99-based-standards] (PRIXFAST8): Likewise.
74398 [C99-based-standards] (SCNdFAST8): Likewise.
74399 [C99-based-standards] (SCNiFAST8): Likewise.
74400 [C99-based-standards] (SCNoFAST8): Likewise.
74401 [C99-based-standards] (SCNuFAST8): Likewise.
74402 [C99-based-standards] (SCNxFAST8): Likewise.
74403 [C99-based-standards] (PRId16): Likewise.
74404 [C99-based-standards] (PRIi16): Likewise.
74405 [C99-based-standards] (PRIo16): Likewise.
74406 [C99-based-standards] (PRIu16): Likewise.
74407 [C99-based-standards] (PRIx16): Likewise.
74408 [C99-based-standards] (PRIX16): Likewise.
74409 [C99-based-standards] (SCNd16): Likewise.
74410 [C99-based-standards] (SCNi16): Likewise.
74411 [C99-based-standards] (SCNo16): Likewise.
74412 [C99-based-standards] (SCNu16): Likewise.
74413 [C99-based-standards] (SCNx16): Likewise.
74414 [C99-based-standards] (PRIdLEAST16): Likewise.
74415 [C99-based-standards] (PRIiLEAST16): Likewise.
74416 [C99-based-standards] (PRIoLEAST16): Likewise.
74417 [C99-based-standards] (PRIuLEAST16): Likewise.
74418 [C99-based-standards] (PRIxLEAST16): Likewise.
74419 [C99-based-standards] (PRIXLEAST16): Likewise.
74420 [C99-based-standards] (SCNdLEAST16): Likewise.
74421 [C99-based-standards] (SCNiLEAST16): Likewise.
74422 [C99-based-standards] (SCNoLEAST16): Likewise.
74423 [C99-based-standards] (SCNuLEAST16): Likewise.
74424 [C99-based-standards] (SCNxLEAST16): Likewise.
74425 [C99-based-standards] (PRIdFAST16): Likewise.
74426 [C99-based-standards] (PRIiFAST16): Likewise.
74427 [C99-based-standards] (PRIoFAST16): Likewise.
74428 [C99-based-standards] (PRIuFAST16): Likewise.
74429 [C99-based-standards] (PRIxFAST16): Likewise.
74430 [C99-based-standards] (PRIXFAST16): Likewise.
74431 [C99-based-standards] (SCNdFAST16): Likewise.
74432 [C99-based-standards] (SCNiFAST16): Likewise.
74433 [C99-based-standards] (SCNoFAST16): Likewise.
74434 [C99-based-standards] (SCNuFAST16): Likewise.
74435 [C99-based-standards] (SCNxFAST16): Likewise.
74436 [C99-based-standards] (PRId32): Likewise.
74437 [C99-based-standards] (PRIi32): Likewise.
74438 [C99-based-standards] (PRIo32): Likewise.
74439 [C99-based-standards] (PRIu32): Likewise.
74440 [C99-based-standards] (PRIx32): Likewise.
74441 [C99-based-standards] (PRIX32): Likewise.
74442 [C99-based-standards] (SCNd32): Likewise.
74443 [C99-based-standards] (SCNi32): Likewise.
74444 [C99-based-standards] (SCNo32): Likewise.
74445 [C99-based-standards] (SCNu32): Likewise.
74446 [C99-based-standards] (SCNx32): Likewise.
74447 [C99-based-standards] (PRIdLEAST32): Likewise.
74448 [C99-based-standards] (PRIiLEAST32): Likewise.
74449 [C99-based-standards] (PRIoLEAST32): Likewise.
74450 [C99-based-standards] (PRIuLEAST32): Likewise.
74451 [C99-based-standards] (PRIxLEAST32): Likewise.
74452 [C99-based-standards] (PRIXLEAST32): Likewise.
74453 [C99-based-standards] (SCNdLEAST32): Likewise.
74454 [C99-based-standards] (SCNiLEAST32): Likewise.
74455 [C99-based-standards] (SCNoLEAST32): Likewise.
74456 [C99-based-standards] (SCNuLEAST32): Likewise.
74457 [C99-based-standards] (SCNxLEAST32): Likewise.
74458 [C99-based-standards] (PRIdFAST32): Likewise.
74459 [C99-based-standards] (PRIiFAST32): Likewise.
74460 [C99-based-standards] (PRIoFAST32): Likewise.
74461 [C99-based-standards] (PRIuFAST32): Likewise.
74462 [C99-based-standards] (PRIxFAST32): Likewise.
74463 [C99-based-standards] (PRIXFAST32): Likewise.
74464 [C99-based-standards] (SCNdFAST32): Likewise.
74465 [C99-based-standards] (SCNiFAST32): Likewise.
74466 [C99-based-standards] (SCNoFAST32): Likewise.
74467 [C99-based-standards] (SCNuFAST32): Likewise.
74468 [C99-based-standards] (SCNxFAST32): Likewise.
74469 [C99-based-standards] (PRId64): Likewise.
74470 [C99-based-standards] (PRIi64): Likewise.
74471 [C99-based-standards] (PRIo64): Likewise.
74472 [C99-based-standards] (PRIu64): Likewise.
74473 [C99-based-standards] (PRIx64): Likewise.
74474 [C99-based-standards] (PRIX64): Likewise.
74475 [C99-based-standards] (SCNd64): Likewise.
74476 [C99-based-standards] (SCNi64): Likewise.
74477 [C99-based-standards] (SCNo64): Likewise.
74478 [C99-based-standards] (SCNu64): Likewise.
74479 [C99-based-standards] (SCNx64): Likewise.
74480 [C99-based-standards] (PRIdLEAST64): Likewise.
74481 [C99-based-standards] (PRIiLEAST64): Likewise.
74482 [C99-based-standards] (PRIoLEAST64): Likewise.
74483 [C99-based-standards] (PRIuLEAST64): Likewise.
74484 [C99-based-standards] (PRIxLEAST64): Likewise.
74485 [C99-based-standards] (PRIXLEAST64): Likewise.
74486 [C99-based-standards] (SCNdLEAST64): Likewise.
74487 [C99-based-standards] (SCNiLEAST64): Likewise.
74488 [C99-based-standards] (SCNoLEAST64): Likewise.
74489 [C99-based-standards] (SCNuLEAST64): Likewise.
74490 [C99-based-standards] (SCNxLEAST64): Likewise.
74491 [C99-based-standards] (PRIdFAST64): Likewise.
74492 [C99-based-standards] (PRIiFAST64): Likewise.
74493 [C99-based-standards] (PRIoFAST64): Likewise.
74494 [C99-based-standards] (PRIuFAST64): Likewise.
74495 [C99-based-standards] (PRIxFAST64): Likewise.
74496 [C99-based-standards] (PRIXFAST64): Likewise.
74497 [C99-based-standards] (SCNdFAST64): Likewise.
74498 [C99-based-standards] (SCNiFAST64): Likewise.
74499 [C99-based-standards] (SCNoFAST64): Likewise.
74500 [C99-based-standards] (SCNuFAST64): Likewise.
74501 [C99-based-standards] (SCNxFAST64): Likewise.
74502 [C99-based-standards] (PRIdMAX): Likewise.
74503 [C99-based-standards] (PRIiMAX): Likewise.
74504 [C99-based-standards] (PRIoMAX): Likewise.
74505 [C99-based-standards] (PRIuMAX): Likewise.
74506 [C99-based-standards] (PRIxMAX): Likewise.
74507 [C99-based-standards] (PRIXMAX): Likewise.
74508 [C99-based-standards] (SCNdMAX): Likewise.
74509 [C99-based-standards] (SCNiMAX): Likewise.
74510 [C99-based-standards] (SCNoMAX): Likewise.
74511 [C99-based-standards] (SCNuMAX): Likewise.
74512 [C99-based-standards] (SCNxMAX): Likewise.
74513 [C99-based-standards] (PRIdPTR): Likewise.
74514 [C99-based-standards] (PRIiPTR): Likewise.
74515 [C99-based-standards] (PRIoPTR): Likewise.
74516 [C99-based-standards] (PRIuPTR): Likewise.
74517 [C99-based-standards] (PRIxPTR): Likewise.
74518 [C99-based-standards] (PRIXPTR): Likewise.
74519 [C99-based-standards] (SCNdPTR): Likewise.
74520 [C99-based-standards] (SCNiPTR): Likewise.
74521 [C99-based-standards] (SCNoPTR): Likewise.
74522 [C99-based-standards] (SCNuPTR): Likewise.
74523 [C99-based-standards] (SCNxPTR): Likewise.
74524 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74525 allow.
74526 * conform/data/stdint.h-data: Update comments to clarify
74527 requirements.
74528 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74529 type.
74530 [C99-based standards] (INT8_MAX): Likewise.
74531 [C99-based standards] (INT16_MIN): Likewise.
74532 [C99-based standards] (INT16_MAX): Likewise.
74533 [C99-based standards] (INT32_MIN): Likewise.
74534 [C99-based standards] (INT32_MAX): Likewise.
74535 [C99-based standards] (INT64_MIN): Likewise.
74536 [C99-based standards] (INT64_MAX): Likewise.
74537 [C99-based standards] (UINT8_MAX): Likewise.
74538 [C99-based standards] (UINT16_MAX): Likewise.
74539 [C99-based standards] (UINT32_MAX): Likewise.
74540 [C99-based standards] (UINT64_MAX): Likewise.
74541 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74542 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74543 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74544 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74545 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74546 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74547 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74548 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74549 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74550 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74551 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74552 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74553 [C99-based standards] (INT_FAST8_MIN): Likewise.
74554 [C99-based standards] (INT_FAST8_MAX): Likewise.
74555 [C99-based standards] (INT_FAST16_MIN): Likewise.
74556 [C99-based standards] (INT_FAST16_MAX): Likewise.
74557 [C99-based standards] (INT_FAST32_MIN): Likewise.
74558 [C99-based standards] (INT_FAST32_MAX): Likewise.
74559 [C99-based standards] (INT_FAST64_MIN): Likewise.
74560 [C99-based standards] (INT_FAST64_MAX): Likewise.
74561 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74562 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74563 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74564 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74565 [C99-based standards] (INTPTR_MIN): Likewise.
74566 [C99-based standards] (INTPTR_MAX): Likewise.
74567 [C99-based standards] (UINTPTR_MAX): Likewise.
74568 [C99-based standards] (INTMAX_MIN): Likewise.
74569 [C99-based standards] (INTMAX_MAX): Likewise.
74570 [C99-based standards] (UINTMAX_MAX): Likewise.
74571 [C99-based standards] (PTRDIFF_MIN): Likewise.
74572 [C99-based standards] (PTRDIFF_MAX): Likewise.
74573 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74574 [C99-based standards] (SIZE_MAX): Likewise.
74575 [C99-based standards] (WCHAR_MAX): Likewise.
74576 [C99-based standards] (WINT_MAX): Likewise.
74577 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74578 constraint on value.
74579 [C99-based standards] (WCHAR_MIN): Likewise.
74580 [C99-based standards] (WINT_MIN): Likewise.
74581 [C99-based standards] (*_t): Allow.
74582 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74583 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74584 Include math.h-data and complex.h-data. Remove all expectations
74585 of math.h and complex.h contents.
74586 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74587 at end of line.
74588 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74589 (struct tm): Expect tag.
74590 [C99-based-standards] (wcstof): Expect function.
74591 [C99-based-standards] (wcstold): Likewise.
74592 [C99-based-standards] (wcstoll): Likewise.
74593 [C99-based-standards] (wcstoull): Likewise.
74594 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74595 macro-int-constant. Specify type.
74596 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74597 constraint on value.
74598 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74599 Specify type.
74600 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74601 Specify value.
74602 [ISO C standards]: Do not allow headers.
74603 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74604 wcs[abcdefghijklmnopqrstuvwxyz]*.
74605 [ISO C standards] (*_t): Do not allow.
74606 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74607 Expect function.
74608 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74609 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74610 Specify type.
74611 [ISO C standards]: Do not allow headers.
74612 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74613 is[abcdefghijklmnopqrstuvwxyz]*.
74614 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74615 to[abcdefghijklmnopqrstuvwxyz]*.
74616 [ISO C standards] (*_t): Do not allow.
74617 * conform/data/stdalign.h-data: New file.
74618 * conform/data/stdbool.h-data: Likewise.
74619 * conform/data/stdnoreturn.h-data: Likewise.
74620
74621 2012-11-07 Roland McGrath <roland@hack.frob.com>
74622
74623 [BZ #14815]
74624 * manual/filesys.texi (Directory Entries): Typo fix.
74625 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74626
74627 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74628
74629 * elf/elf.h (EM_AARCH64): New macro.
74630 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74631 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74632 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74633 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74634 (R_AARCH64_TLSDESC): Likewise.
74635 (NT_ARM_TLS): Likewise.
74636 (NT_ARM_HW_BREAK): Likewise.
74637 (NT_ARM_HW_WATCH): Likewise.
74638
74639 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74640
74641 [BZ #14811]
74642 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74643 (__ieee754_powl): Saturate nonzero exponents with absolute value
74644 below 0x1p-79 to +/- 0x1p-79.
74645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74646 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74647 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74648 nonzero exponents with absolute value below 0x1p-32 to +/-
74649 0x1p-32.
74650 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74651 (__ieee754_powl): Saturate nonzero exponents with absolute value
74652 below 0x1p-79 to +/- 0x1p-79.
74653 * math/libm-test.inc (pow_test): Add more tests.
74654
74655 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74656
74657 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74658 _dl_s390_cap_flags with kernel. Increase string length.
74659 (_dl_s390_platforms): Add z196 and zEC12.
74660
74661 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74662
74663 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74664 Change XOPEN21K to XOPEN2K.
74665
74666 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74667
74668 * string/memmove.c: Use memcpy when possible.
74669
74670 2012-11-06 Andreas Jaeger <aj@suse.de>
74671
74672 * po/eo.po: Update from translation team.
74673
74674 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74675
74676 [BZ #14793]
74677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74678 exponent and small x and y exponents, scale x or y up. Increase
74679 by 2 the exponent used in scaling up.
74680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74682 * math/libm-test.inc (fma_test): Add more tests.
74683 (fma_test_towardzero): Likewise.
74684 (fma_test_downward): Likewise.
74685 (fma_test_upward): Likewise.
74686
74687 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74688
74689 [BZ #14805]
74690 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74691 fenv_t *.
74692
74693 [BZ #14801]
74694 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74695 namespace for names of struct fields.
74696 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74697 fenv_t fields.
74698 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74699 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74700
74701 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74702
74703 [BZ #3665]
74704 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74705
74706 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74707
74708 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74709 PTR_DEMANGLE.
74710
74711 [BZ #5246]
74712 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74713 PTR_DEMANGLE.
74714
74715 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74716
74717 [BZ #14797]
74718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74719 definitely overflow as x * y not x * y + z.
74720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74722 * math/libm-test.inc (fma_test): Add more tests.
74723 (fma_test_towardzero): Likewise.
74724 (fma_test_downward): Likewise.
74725 (fma_test_upward): Likewise.
74726
74727 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74728
74729 [BZ #157]
74730
74731 * include/stub-tag.h: Remove file.
74732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74733 '#include' of it.
74734 * manual/maint.texi (Porting): Don't reference it.
74735 * Makerules ($(objpfx)stubs): Likewise.
74736 * dirent/closedir.c: Don't include <stub-tag.h>.
74737 * dirent/dirfd.c: Likewise.
74738 * dirent/fdopendir.c: Likewise.
74739 * dirent/getdents.c: Likewise.
74740 * dirent/getdents64.c: Likewise.
74741 * dirent/opendir.c: Likewise.
74742 * dirent/readdir.c: Likewise.
74743 * dirent/readdir64.c: Likewise.
74744 * dirent/readdir64_r.c: Likewise.
74745 * dirent/readdir_r.c: Likewise.
74746 * dirent/rewinddir.c: Likewise.
74747 * dirent/seekdir.c: Likewise.
74748 * dirent/telldir.c: Likewise.
74749 * gmon/profil.c: Likewise.
74750 * grp/setgroups.c: Likewise.
74751 * inet/if_index.c: Likewise.
74752 * io/access.c: Likewise.
74753 * io/chdir.c: Likewise.
74754 * io/chmod.c: Likewise.
74755 * io/chown.c: Likewise.
74756 * io/close.c: Likewise.
74757 * io/dup.c: Likewise.
74758 * io/dup2.c: Likewise.
74759 * io/dup3.c: Likewise.
74760 * io/euidaccess.c: Likewise.
74761 * io/faccessat.c: Likewise.
74762 * io/fchdir.c: Likewise.
74763 * io/fchmod.c: Likewise.
74764 * io/fchmodat.c: Likewise.
74765 * io/fchown.c: Likewise.
74766 * io/fchownat.c: Likewise.
74767 * io/fcntl.c: Likewise.
74768 * io/flock.c: Likewise.
74769 * io/fstatfs.c: Likewise.
74770 * io/fstatfs64.c: Likewise.
74771 * io/fstatvfs.c: Likewise.
74772 * io/fstatvfs64.c: Likewise.
74773 * io/futimens.c: Likewise.
74774 * io/fxstat.c: Likewise.
74775 * io/fxstat64.c: Likewise.
74776 * io/fxstatat.c: Likewise.
74777 * io/fxstatat64.c: Likewise.
74778 * io/getcwd.c: Likewise.
74779 * io/isatty.c: Likewise.
74780 * io/lchmod.c: Likewise.
74781 * io/lchown.c: Likewise.
74782 * io/link.c: Likewise.
74783 * io/linkat.c: Likewise.
74784 * io/lseek.c: Likewise.
74785 * io/lseek64.c: Likewise.
74786 * io/lxstat64.c: Likewise.
74787 * io/mkdir.c: Likewise.
74788 * io/mkdirat.c: Likewise.
74789 * io/mkfifo.c: Likewise.
74790 * io/mkfifoat.c: Likewise.
74791 * io/open.c: Likewise.
74792 * io/open64.c: Likewise.
74793 * io/openat.c: Likewise.
74794 * io/openat64.c: Likewise.
74795 * io/pipe.c: Likewise.
74796 * io/pipe2.c: Likewise.
74797 * io/poll.c: Likewise.
74798 * io/posix_fadvise.c: Likewise.
74799 * io/posix_fadvise64.c: Likewise.
74800 * io/posix_fallocate.c: Likewise.
74801 * io/posix_fallocate64.c: Likewise.
74802 * io/read.c: Likewise.
74803 * io/readlink.c: Likewise.
74804 * io/readlinkat.c: Likewise.
74805 * io/rmdir.c: Likewise.
74806 * io/sendfile.c: Likewise.
74807 * io/sendfile64.c: Likewise.
74808 * io/statfs.c: Likewise.
74809 * io/statfs64.c: Likewise.
74810 * io/statvfs.c: Likewise.
74811 * io/statvfs64.c: Likewise.
74812 * io/symlink.c: Likewise.
74813 * io/symlinkat.c: Likewise.
74814 * io/ttyname.c: Likewise.
74815 * io/ttyname_r.c: Likewise.
74816 * io/umask.c: Likewise.
74817 * io/unlink.c: Likewise.
74818 * io/unlinkat.c: Likewise.
74819 * io/utime.c: Likewise.
74820 * io/utimensat.c: Likewise.
74821 * io/write.c: Likewise.
74822 * io/xmknod.c: Likewise.
74823 * io/xmknodat.c: Likewise.
74824 * io/xstat.c: Likewise.
74825 * io/xstat64.c: Likewise.
74826 * login/getpt.c: Likewise.
74827 * login/grantpt.c: Likewise.
74828 * login/unlockpt.c: Likewise.
74829 * math/e_acoshl.c: Likewise.
74830 * math/e_acosl.c: Likewise.
74831 * math/e_asinl.c: Likewise.
74832 * math/e_atan2l.c: Likewise.
74833 * math/e_atanhl.c: Likewise.
74834 * math/e_coshl.c: Likewise.
74835 * math/e_expl.c: Likewise.
74836 * math/e_fmodl.c: Likewise.
74837 * math/e_gammal_r.c: Likewise.
74838 * math/e_hypotl.c: Likewise.
74839 * math/e_j0l.c: Likewise.
74840 * math/e_j1l.c: Likewise.
74841 * math/e_jnl.c: Likewise.
74842 * math/e_lgammal_r.c: Likewise.
74843 * math/e_log10l.c: Likewise.
74844 * math/e_log2l.c: Likewise.
74845 * math/e_logl.c: Likewise.
74846 * math/e_powl.c: Likewise.
74847 * math/e_rem_pio2l.c: Likewise.
74848 * math/e_sinhl.c: Likewise.
74849 * math/e_sqrtl.c: Likewise.
74850 * math/fclrexcpt.c: Likewise.
74851 * math/fedisblxcpt.c: Likewise.
74852 * math/feenablxcpt.c: Likewise.
74853 * math/fegetenv.c: Likewise.
74854 * math/fegetexcept.c: Likewise.
74855 * math/fegetround.c: Likewise.
74856 * math/feholdexcpt.c: Likewise.
74857 * math/fesetenv.c: Likewise.
74858 * math/fesetround.c: Likewise.
74859 * math/feupdateenv.c: Likewise.
74860 * math/fgetexcptflg.c: Likewise.
74861 * math/fraiseexcpt.c: Likewise.
74862 * math/fsetexcptflg.c: Likewise.
74863 * math/ftestexcept.c: Likewise.
74864 * math/k_cosl.c: Likewise.
74865 * math/k_rem_pio2l.c: Likewise.
74866 * math/k_sinl.c: Likewise.
74867 * math/k_tanl.c: Likewise.
74868 * math/s_asinhl.c: Likewise.
74869 * math/s_atanl.c: Likewise.
74870 * math/s_cbrtl.c: Likewise.
74871 * math/s_erfl.c: Likewise.
74872 * math/s_expm1l.c: Likewise.
74873 * math/s_log1pl.c: Likewise.
74874 * math/s_tanhl.c: Likewise.
74875 * misc/acct.c: Likewise.
74876 * misc/brk.c: Likewise.
74877 * misc/chflags.c: Likewise.
74878 * misc/chroot.c: Likewise.
74879 * misc/fchflags.c: Likewise.
74880 * misc/fgetxattr.c: Likewise.
74881 * misc/flistxattr.c: Likewise.
74882 * misc/fremovexattr.c: Likewise.
74883 * misc/fsetxattr.c: Likewise.
74884 * misc/fsync.c: Likewise.
74885 * misc/ftruncate.c: Likewise.
74886 * misc/futimes.c: Likewise.
74887 * misc/futimesat.c: Likewise.
74888 * misc/getdomain.c: Likewise.
74889 * misc/getdtsz.c: Likewise.
74890 * misc/gethostid.c: Likewise.
74891 * misc/gethostname.c: Likewise.
74892 * misc/getloadavg.c: Likewise.
74893 * misc/getpagesize.c: Likewise.
74894 * misc/getsysstats.c: Likewise.
74895 * misc/getxattr.c: Likewise.
74896 * misc/gtty.c: Likewise.
74897 * misc/ioctl.c: Likewise.
74898 * misc/lgetxattr.c: Likewise.
74899 * misc/listxattr.c: Likewise.
74900 * misc/llistxattr.c: Likewise.
74901 * misc/lremovexattr.c: Likewise.
74902 * misc/lsetxattr.c: Likewise.
74903 * misc/lutimes.c: Likewise.
74904 * misc/madvise.c: Likewise.
74905 * misc/mincore.c: Likewise.
74906 * misc/mlock.c: Likewise.
74907 * misc/mlockall.c: Likewise.
74908 * misc/mmap.c: Likewise.
74909 * misc/mprotect.c: Likewise.
74910 * misc/msync.c: Likewise.
74911 * misc/munlock.c: Likewise.
74912 * misc/munlockall.c: Likewise.
74913 * misc/munmap.c: Likewise.
74914 * misc/preadv.c: Likewise.
74915 * misc/preadv64.c: Likewise.
74916 * misc/ptrace.c: Likewise.
74917 * misc/pwritev.c: Likewise.
74918 * misc/pwritev64.c: Likewise.
74919 * misc/readv.c: Likewise.
74920 * misc/reboot.c: Likewise.
74921 * misc/remap_file_pages.c: Likewise.
74922 * misc/removexattr.c: Likewise.
74923 * misc/revoke.c: Likewise.
74924 * misc/select.c: Likewise.
74925 * misc/setdomain.c: Likewise.
74926 * misc/setegid.c: Likewise.
74927 * misc/seteuid.c: Likewise.
74928 * misc/sethostid.c: Likewise.
74929 * misc/sethostname.c: Likewise.
74930 * misc/setregid.c: Likewise.
74931 * misc/setreuid.c: Likewise.
74932 * misc/setxattr.c: Likewise.
74933 * misc/sstk.c: Likewise.
74934 * misc/stty.c: Likewise.
74935 * misc/swapoff.c: Likewise.
74936 * misc/swapon.c: Likewise.
74937 * misc/sync.c: Likewise.
74938 * misc/syncfs.c: Likewise.
74939 * misc/syscall.c: Likewise.
74940 * misc/truncate.c: Likewise.
74941 * misc/ualarm.c: Likewise.
74942 * misc/usleep.c: Likewise.
74943 * misc/ustat.c: Likewise.
74944 * misc/utimes.c: Likewise.
74945 * misc/vhangup.c: Likewise.
74946 * misc/writev.c: Likewise.
74947 * posix/_exit.c: Likewise.
74948 * posix/alarm.c: Likewise.
74949 * posix/execve.c: Likewise.
74950 * posix/fexecve.c: Likewise.
74951 * posix/fork.c: Likewise.
74952 * posix/fpathconf.c: Likewise.
74953 * posix/getaddrinfo.c: Likewise.
74954 * posix/getegid.c: Likewise.
74955 * posix/geteuid.c: Likewise.
74956 * posix/getgid.c: Likewise.
74957 * posix/getgroups.c: Likewise.
74958 * posix/getlogin.c: Likewise.
74959 * posix/getlogin_r.c: Likewise.
74960 * posix/getpgid.c: Likewise.
74961 * posix/getpid.c: Likewise.
74962 * posix/getppid.c: Likewise.
74963 * posix/getresgid.c: Likewise.
74964 * posix/getresuid.c: Likewise.
74965 * posix/getsid.c: Likewise.
74966 * posix/getuid.c: Likewise.
74967 * posix/glob64.c: Likewise.
74968 * posix/nanosleep.c: Likewise.
74969 * posix/pathconf.c: Likewise.
74970 * posix/pause.c: Likewise.
74971 * posix/posix_madvise.c: Likewise.
74972 * posix/pread.c: Likewise.
74973 * posix/pread64.c: Likewise.
74974 * posix/pwrite.c: Likewise.
74975 * posix/pwrite64.c: Likewise.
74976 * posix/sched_getaffinity.c: Likewise.
74977 * posix/sched_getp.c: Likewise.
74978 * posix/sched_gets.c: Likewise.
74979 * posix/sched_primax.c: Likewise.
74980 * posix/sched_primin.c: Likewise.
74981 * posix/sched_rr_gi.c: Likewise.
74982 * posix/sched_setaffinity.c: Likewise.
74983 * posix/sched_setp.c: Likewise.
74984 * posix/sched_sets.c: Likewise.
74985 * posix/sched_yield.c: Likewise.
74986 * posix/setgid.c: Likewise.
74987 * posix/setlogin.c: Likewise.
74988 * posix/setpgid.c: Likewise.
74989 * posix/setresgid.c: Likewise.
74990 * posix/setresuid.c: Likewise.
74991 * posix/setsid.c: Likewise.
74992 * posix/setuid.c: Likewise.
74993 * posix/sleep.c: Likewise.
74994 * posix/spawni.c: Likewise.
74995 * posix/sysconf.c: Likewise.
74996 * posix/times.c: Likewise.
74997 * posix/wait.c: Likewise.
74998 * posix/wait3.c: Likewise.
74999 * posix/wait4.c: Likewise.
75000 * posix/waitpid.c: Likewise.
75001 * resolv/gai_sigqueue.c: Likewise.
75002 * resource/getpriority.c: Likewise.
75003 * resource/getrlimit.c: Likewise.
75004 * resource/getrusage.c: Likewise.
75005 * resource/nice.c: Likewise.
75006 * resource/setpriority.c: Likewise.
75007 * resource/setrlimit.c: Likewise.
75008 * resource/ulimit.c: Likewise.
75009 * rt/aio_cancel.c: Likewise.
75010 * rt/aio_fsync.c: Likewise.
75011 * rt/aio_read.c: Likewise.
75012 * rt/aio_sigqueue.c: Likewise.
75013 * rt/aio_suspend.c: Likewise.
75014 * rt/aio_write.c: Likewise.
75015 * rt/clock_getres.c: Likewise.
75016 * rt/clock_gettime.c: Likewise.
75017 * rt/clock_nanosleep.c: Likewise.
75018 * rt/clock_settime.c: Likewise.
75019 * rt/lio_listio.c: Likewise.
75020 * rt/mq_close.c: Likewise.
75021 * rt/mq_getattr.c: Likewise.
75022 * rt/mq_notify.c: Likewise.
75023 * rt/mq_open.c: Likewise.
75024 * rt/mq_receive.c: Likewise.
75025 * rt/mq_send.c: Likewise.
75026 * rt/mq_setattr.c: Likewise.
75027 * rt/mq_timedreceive.c: Likewise.
75028 * rt/mq_timedsend.c: Likewise.
75029 * rt/mq_unlink.c: Likewise.
75030 * rt/shm_open.c: Likewise.
75031 * rt/shm_unlink.c: Likewise.
75032 * rt/timer_create.c: Likewise.
75033 * rt/timer_delete.c: Likewise.
75034 * rt/timer_getoverr.c: Likewise.
75035 * rt/timer_gettime.c: Likewise.
75036 * rt/timer_settime.c: Likewise.
75037 * setjmp/__longjmp.c: Likewise.
75038 * setjmp/setjmp.c: Likewise.
75039 * signal/kill.c: Likewise.
75040 * signal/killpg.c: Likewise.
75041 * signal/raise.c: Likewise.
75042 * signal/sigaction.c: Likewise.
75043 * signal/sigaltstack.c: Likewise.
75044 * signal/sigblock.c: Likewise.
75045 * signal/sigignore.c: Likewise.
75046 * signal/sigintr.c: Likewise.
75047 * signal/signal.c: Likewise.
75048 * signal/sigpause.c: Likewise.
75049 * signal/sigpending.c: Likewise.
75050 * signal/sigqueue.c: Likewise.
75051 * signal/sigreturn.c: Likewise.
75052 * signal/sigset.c: Likewise.
75053 * signal/sigsetmask.c: Likewise.
75054 * signal/sigstack.c: Likewise.
75055 * signal/sigsuspend.c: Likewise.
75056 * signal/sigtimedwait.c: Likewise.
75057 * signal/sigvec.c: Likewise.
75058 * signal/sigwait.c: Likewise.
75059 * signal/sigwaitinfo.c: Likewise.
75060 * signal/sysv_signal.c: Likewise.
75061 * socket/accept.c: Likewise.
75062 * socket/accept4.c: Likewise.
75063 * socket/bind.c: Likewise.
75064 * socket/connect.c: Likewise.
75065 * socket/getpeername.c: Likewise.
75066 * socket/getsockname.c: Likewise.
75067 * socket/getsockopt.c: Likewise.
75068 * socket/isfdtype.c: Likewise.
75069 * socket/listen.c: Likewise.
75070 * socket/recv.c: Likewise.
75071 * socket/recvfrom.c: Likewise.
75072 * socket/recvmsg.c: Likewise.
75073 * socket/send.c: Likewise.
75074 * socket/sendmsg.c: Likewise.
75075 * socket/sendto.c: Likewise.
75076 * socket/setsockopt.c: Likewise.
75077 * socket/shutdown.c: Likewise.
75078 * socket/sockatmark.c: Likewise.
75079 * socket/socket.c: Likewise.
75080 * socket/socketpair.c: Likewise.
75081 * stdio-common/ctermid.c: Likewise.
75082 * stdio-common/cuserid.c: Likewise.
75083 * stdio-common/remove.c: Likewise.
75084 * stdio-common/rename.c: Likewise.
75085 * stdio-common/renameat.c: Likewise.
75086 * stdio-common/tempname.c: Likewise.
75087 * stdlib/getcontext.c: Likewise.
75088 * stdlib/makecontext.c: Likewise.
75089 * stdlib/setcontext.c: Likewise.
75090 * stdlib/swapcontext.c: Likewise.
75091 * stdlib/system.c: Likewise.
75092 * streams/fattach.c: Likewise.
75093 * streams/fdetach.c: Likewise.
75094 * streams/getmsg.c: Likewise.
75095 * streams/getpmsg.c: Likewise.
75096 * streams/putmsg.c: Likewise.
75097 * streams/putpmsg.c: Likewise.
75098 * sysdeps/unix/bsd/getpt.c: Likewise.
75099 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75100 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75101 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75103 Likewise.
75104 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75105 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75106 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75107 * sysvipc/msgctl.c: Likewise.
75108 * sysvipc/msgget.c: Likewise.
75109 * sysvipc/msgrcv.c: Likewise.
75110 * sysvipc/msgsnd.c: Likewise.
75111 * sysvipc/semctl.c: Likewise.
75112 * sysvipc/semget.c: Likewise.
75113 * sysvipc/semop.c: Likewise.
75114 * sysvipc/semtimedop.c: Likewise.
75115 * sysvipc/shmat.c: Likewise.
75116 * sysvipc/shmctl.c: Likewise.
75117 * sysvipc/shmdt.c: Likewise.
75118 * sysvipc/shmget.c: Likewise.
75119 * termios/tcdrain.c: Likewise.
75120 * termios/tcflow.c: Likewise.
75121 * termios/tcflush.c: Likewise.
75122 * termios/tcgetattr.c: Likewise.
75123 * termios/tcgetpgrp.c: Likewise.
75124 * termios/tcsendbrk.c: Likewise.
75125 * termios/tcsetattr.c: Likewise.
75126 * termios/tcsetpgrp.c: Likewise.
75127 * time/adjtime.c: Likewise.
75128 * time/clock.c: Likewise.
75129 * time/getitimer.c: Likewise.
75130 * time/gettimeofday.c: Likewise.
75131 * time/setitimer.c: Likewise.
75132 * time/settimeofday.c: Likewise.
75133 * time/stime.c: Likewise.
75134 * time/time.c: Likewise.
75135
75136 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75137
75138 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75139 /usr/old/bin.
75140
75141 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75142 instead of spaces.
75143 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75144
75145 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75146
75147 [BZ #14796]
75148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75149 FE_TONEAREST before applying Dekker multiplication and Knuth
75150 addition. Clear inexact exceptions and check for exact zero
75151 results afterwards.
75152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75155 * math/libm-test.inc (fma_test): Add more tests.
75156 (fma_test_towardzero): Likewise.
75157 (fma_test_downward): Likewise.
75158 (fma_test_upward): Likewise.
75159 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75160 function.
75161 (libc_fesetround): New macro.
75162 (libc_fesetroundf): Likewise.
75163 (libc_fesetroundl): Likewise.
75164 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75165 function.
75166 (libc_fesetround_387): Likewise.
75167 (libc_fesetroundf): New macro.
75168 (libc_fesetround): Likewise.
75169 (libc_fesetroundl): Likewise.
75170 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75171 function.
75172 (libc_fesetroundf): New macro.
75173 (libc_fesetround): Likewise.
75174 (libc_fesetroundl): Likewise.
75175 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75176 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75177 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75178 libm_hidden_ver.
75179 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75180 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75181 libm_hidden_def.
75182 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75183 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75184 libm_hidden_ver.
75185 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75186 libm_hidden_def.
75187
75188 [BZ #3439]
75189 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75190 integer constant usable in #if and use that to give value to enum
75191 constant.
75192 (FE_DIVBYZERO): Likewise.
75193 (FE_UNDERFLOW): Likewise.
75194 (FE_OVERFLOW): Likewise.
75195 (FE_INVALID): Likewise.
75196 (FE_INVALID_SNAN): Likewise.
75197 (FE_INVALID_ISI): Likewise.
75198 (FE_INVALID_IDI): Likewise.
75199 (FE_INVALID_ZDZ): Likewise.
75200 (FE_INVALID_IMZ): Likewise.
75201 (FE_INVALID_COMPARE): Likewise.
75202 (FE_INVALID_SOFTWARE): Likewise.
75203 (FE_INVALID_SQRT): Likewise.
75204 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75205 (FE_TONEAREST): Likewise.
75206 (FE_TOWARDZERO): Likewise.
75207 (FE_UPWARD): Likewise.
75208 (FE_DOWNWARD): Likewise.
75209 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75210 (FE_DIVBYZERO): Likewise.
75211 (FE_OVERFLOW): Likewise.
75212 (FE_UNDERFLOW): Likewise.
75213 (FE_INEXACT): Likewise.
75214 (FE_TONEAREST): Likewise.
75215 (FE_DOWNWARD): Likewise.
75216 (FE_UPWARD): Likewise.
75217 (FE_TOWARDZERO): Likewise.
75218 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75219 (FE_UNDERFLOW): Likewise.
75220 (FE_OVERFLOW): Likewise.
75221 (FE_DIVBYZERO): Likewise.
75222 (FE_INVALID): Likewise.
75223 (FE_TONEAREST): Likewise.
75224 (FE_TOWARDZERO): Likewise.
75225 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75226 (FE_OVERFLOW): Likewise.
75227 (FE_UNDERFLOW): Likewise.
75228 (FE_DIVBYZERO): Likewise.
75229 (FE_INEXACT): Likewise.
75230 (FE_TONEAREST): Likewise.
75231 (FE_TOWARDZERO): Likewise.
75232 (FE_UPWARD): Likewise.
75233 (FE_DOWNWARD): Likewise.
75234 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75235 (FE_DIVBYZERO): Likewise.
75236 (FE_OVERFLOW): Likewise.
75237 (FE_UNDERFLOW): Likewise.
75238 (FE_INEXACT): Likewise.
75239 (FE_TONEAREST): Likewise.
75240 (FE_DOWNWARD): Likewise.
75241 (FE_UPWARD): Likewise.
75242 (FE_TOWARDZERO): Likewise.
75243
75244 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75245
75246 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75247
75248 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75249
75250 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75251 commands. Quote $PWD.
75252 (blacklist_exports): Don't use remove_newlines. Replace "declare
75253 -x" by "export".
75254 (remove_newlines): Remove.
75255
75256 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75257
75258 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75259 * stdlib/stdlib.h (atof): Moved to ...
75260 * include/bits/stdlib-float.h: Here. New file.
75261 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75262 * stdlib/bits/stdlib-float.h: New file.
75263 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75264 -mno-sse -mno-mmx.
75265 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75266 <xmmintrin.h>.
75267
75268 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75269
75270 * conform/conformtest.pl (@headers): Add fenv.h.
75271 * conform/data/fenv.h-data: New file.
75272 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75273 include of <math/fenv.h>.
75274
75275 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75276 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75277 && !UNIX98]. Enables tests for XOPEN2K8.
75278 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75279 POSIX2008]: Likewise.
75280
75281 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75282 (struct rusage): Do not expect type or its members.
75283
75284 [BZ #3439]
75285 * math/math.h (FP_NAN): Define macro to integer constant usable in
75286 #if and use that to give value to enum constant.
75287 (FP_INFINITE): Likewise.
75288 (FP_ZERO): Likewise.
75289 (FP_SUBNORMAL): Likewise.
75290 (FP_NORMAL): Likewise.
75291
75292 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75293
75294 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75295 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75296 arguments.
75297
75298 2012-11-02 Roland McGrath <roland@hack.frob.com>
75299
75300 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75301 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75302 autoconf-time if not.
75303 * configure.in: Remove AC_PREREQ.
75304
75305 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75306
75307 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75308 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75309 of the internal implementation.
75310
75311 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75312
75313 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75314 except include of <misc/sys/syslog.h>.
75315
75316 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75317
75318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75319 function returns with a NULL context exit with zero.
75320
75321 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75322
75323 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75324
75325 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75326
75327 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75328 (run_program_cmd): This.
75329 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75330 (tst_langinfo): New variable. Use it.
75331
75332 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75333
75334 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75335 floating point opcodes.
75336
75337 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75338
75339 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75340 variable.
75341
75342 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75343
75344 * sysdeps/mach/hurd/powerpc: Remove directory.
75345 * sysdeps/mach/powerpc: Likewise.
75346
75347 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75348
75349 * scripts/check-local-headers.sh: Ignore c++ headers.
75350
75351 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75352
75353 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75354 __libc_cleanup_region_start argument.
75355
75356 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75357
75358 [BZ #14784]
75359 [BZ #14785]
75360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75361 x * y using scaling, not as x * y + z.
75362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75364 * math/libm-test.inc (fma_test): Add more tests.
75365 (fma_test_towardzero): Likewise.
75366 (fma_test_downward): Likewise.
75367 (fma_test_upward): Likewise.
75368
75369 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75370
75371 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75372
75373 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75374
75375 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75376 New variable.
75377
75378 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75379
75380 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75381
75382 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75383
75384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75385 Fix sort order.
75386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75387 Likewise.
75388
75389 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75390
75391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75392 Fix the order of the list for glibc 2.17.
75393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75394 Likewise.
75395
75396 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75397
75398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75399
75400 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75401
75402 [BZ #14610]
75403 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75404 for low part of x being zero before using __atanl (y).
75405 * math/libm-test.inc (atan2_test): Add another test.
75406
75407 * manual/install.texi (Configuring and compiling): Document
75408 general use of test-wrapper and test-wrapper-env.
75409 * INSTALL: Regenerated.
75410
75411 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75412 (__fma): Do not extract and scale down low bits on after-rounding
75413 systems when result rounded to normal precision would have normal
75414 exponent.
75415 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75416 (__fmal): Do not extract and scale down low bits on after-rounding
75417 systems when result rounded to normal precision would have normal
75418 exponent.
75419 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75420 (__fmal): Do not extract and scale down low bits on after-rounding
75421 systems when result rounded to normal precision would have normal
75422 exponent.
75423 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75424 macro.
75425 (fma_test): Add more tests.
75426 (fma_test_towardzero): Likewise.
75427 (fma_test_downward): Likewise.
75428 (fma_test_upward): Likewise.
75429
75430 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75431
75432 * sysdeps/i386/tininess.h: Renamed to ...
75433 * sysdeps/x86/tininess.h: This.
75434 * sysdeps/x86_64/tininess.h: Removed.
75435
75436 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75437
75438 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75439 input. Use $(build-program-cmd).
75440 ($(objpfx)tst-array1-static.out): Likewise.
75441 ($(objpfx)tst-array2.out): Likewise.
75442 ($(objpfx)tst-array3.out): Likewise.
75443 ($(objpfx)tst-array4.out): Likewise.
75444 ($(objpfx)tst-array5.out): Likewise.
75445 ($(objpfx)tst-array5-static.out): Likewise.
75446
75447 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75448
75449 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75450 if defined.
75451
75452 * nss/nsswitch.h (nss_interface_function): Provide new
75453 macro for use with NSS functions.
75454 * grp/initgroups.c: Use new macro.
75455 * nss/getXXbyYY.c: Likewise.
75456 * nss/getXXbyYY_r.c: Likewise.
75457 * nss/getXXent.c: Likewise.
75458 * nss/getXXent_r.c: Likewise.
75459 * sysdeps/posix/getaddrinfo.c: Likewise.
75460
75461 2012-10-30 Andreas Jaeger <aj@suse.de>
75462
75463 * po/ru.po: Update Russion translation from translation project.
75464
75465 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75466
75467 [BZ #14152]
75468 [BZ #14783]
75469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75470 result and shift together with sticky bit instead of replicating
75471 round-to-nearest rounding.
75472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75474 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75475 missing underflow exceptions.
75476 (fma_test_towardzero): Add more tests.
75477 (fma_test_downward): Likewise.
75478 (fma_test_upward): Likewise.
75479
75480 [BZ #14047]
75481 * sysdeps/generic/tininess.h: New file.
75482 * sysdeps/i386/tininess.h: Likewise.
75483 * sysdeps/sh/tininess.h: Likewise.
75484 * sysdeps/x86_64/tininess.h: Likewise.
75485 * stdlib/tst-strtod-underflow.c: Likewise.
75486 * stdlib/tst-tininess.c: Likewise.
75487 * stdlib/strtod_l.c: Include <tininess.h>.
75488 (round_and_return): Do not set errno for exact underflow cases.
75489 Force an underflow exception when setting errno for underflow.
75490 Determine underflow based on rounding to normal precision if
75491 TININESS_AFTER_ROUNDING.
75492 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75493 ERANGE for exact underflow cases.
75494 * stdlib/Makefile (tests): Add tst-tininess and
75495 tst-strtod-underflow.
75496 ($(objpfx)tst-tininess): Use $(link-libm).
75497 ($(objpfx)tst-strtod-underflow): Likewise.
75498
75499 2012-10-30 Andreas Jaeger <aj@suse.de>
75500
75501 [BZ #14767]
75502 * elf/Makefile (tests): Remove conditional for have-initfini-array
75503 since this is now always required and the variable does not exist
75504 anymore.
75505 (tests-static): Likewise.
75506 (modules-names): Likewise.
75507
75508 * po/eo.po: Add Esperanto translation from translation project.
75509
75510 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75511 merged with constructor/destructor.
75512 (init_array): Likewise.
75513 * elf/tst-array2dep.c (fini_array): Likewise.
75514 (init_array): Likewise.
75515
75516 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75517
75518 * manual/message.texi: Delete @cartouche tags.
75519
75520 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75521
75522 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75523 EOPNOTSUPP.
75524 * sysdeps/mach/hurd/fsync.c: Likewise.
75525
75526 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75527 [_POSIX_REALTIME_SIGNALS]: Change condition to
75528 [_POSIX_REALTIME_SIGNALS > 0].
75529
75530 2012-10-27 Andreas Jaeger <aj@suse.de>
75531
75532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75533 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75535 [__WORDSIZE != 64]: Likewise.
75536
75537 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75538
75539 * iconvdata/tst-table.sh: Remove ${SHELL}.
75540 * iconvdata/tst-tables.sh: Likewise.
75541
75542 2012-10-25 David S. Miller <davem@davemloft.net>
75543
75544 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75545 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75546 of strtoull.
75547
75548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75549 ifunc-impl-list.c
75550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75551 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75552 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75553 file.
75554
75555 2012-10-25 Roland McGrath <roland@hack.frob.com>
75556
75557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75558 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75559 __getdirentries.
75560
75561 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75562 Jim Blandy <jimb@codesourcery.com>
75563
75564 * scripts/cross-test-ssh.sh: New file.
75565 * manual/install.texi (Configuring and compiling): Document use of
75566 cross-test-ssh.sh.
75567 * INSTALL: Regenerated.
75568
75569 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75570
75571 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75572 EOPNOTSUPP.
75573
75574 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75575
75576 * Makeconfig (run-program-prefix): Fix comment.
75577
75578 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75579 Jim Blandy <jimb@codesourcery.com>
75580
75581 * Makeconfig (test-wrapper): New variable,
75582 (test-wrapper-env): Likewise.
75583 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75584 (run-built-tests): Define to yes.
75585 (run-program-prefix): Use $(test-wrapper).
75586 (built-program-cmd): Likewise.
75587 * Rules (make-test-out): Use $(test-wrapper-env) and
75588 $(host-built-program-cmd).
75589 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75590 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75591 tst-pathopt.sh.
75592 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75593 $(test-wrapper-env) to tst-rtld-load-self.sh.
75594 ($(objpfx)order2.out): Use $(test-wrapper).
75595 ($(objpfx)tst-initorder.out): Likewise.
75596 ($(objpfx)tst-initorder2.out): Likewise.
75597 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75598 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75599 (test_wrapper_env): New variable. Use it to run ld.so.
75600 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75601 Use it to run ld.so.
75602 (test_wrapper_env): Likewise.
75603 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75604 $(test-wrapper) to run-iconv-test.sh.
75605 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75606 (ICONV): Use $test_wrapper.
75607 * posix/Makefile ($(objpfx)globtest.out): Pass
75608 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75609 globtest.sh, not $(run-program-prefix).
75610 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75611 (test_wrapper): Likewise.
75612 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75613 set together with run_via_rtld_prefix.
75614 (run_program_prefix): Define in terms of test_wrapper and
75615 run_via_rtld_prefix.
75616
75617 2012-10-24 Roland McGrath <roland@hack.frob.com>
75618
75619 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75620 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75621 Targets removed.
75622
75623 [BZ #14743]
75624 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75625 Declare __clock_getres, __clock_gettime, __clock_settime,
75626 __clock_nanosleep, and __clock_getcpuclockid.
75627 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75628 Remove librt_hidden_def (clock_gettime).
75629 * sysdeps/unix/clock_gettime.c: Likewise.
75630 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75632 * rt/clock_getres.c: Define __clock_getres as an alias.
75633 * sysdeps/posix/clock_getres.c: Likewise.
75634 * rt/clock_settime.c: Define __clock_settime as an alias.
75635 * sysdeps/unix/clock_settime.c: Likewise.
75636 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75637 * sysdeps/unix/clock_nanosleep.c: Likewise.
75638 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75639 * rt/clock-compat.c: New file.
75640 * rt/Makefile (librt-routines): Add clock-compat and move
75641 $(clock-routines) to ...
75642 (routines): ... here, new variable.
75643 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75644 Don't add get_clockfreq here.
75645 * rt/Versions (libc: GLIBC_2.17): New version set.
75646 Add clock_* symbols here.
75647 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75649 (GLIBC_2.17): Add clock_* symbols.
75650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75654 Likewise.
75655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75656 Likewise.
75657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75661 * NEWS: Mention the move.
75662
75663 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75664 Use __open, __read, __close rather than their public counterparts.
75665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75666 (__get_clockfreq_via_cpuinfo): Likewise.
75667 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75668 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75669
75670 * config.h.in (HAVE_IFUNC): New #undef.
75671 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75672 was successful.
75673 * configure: Regenerated.
75674
75675 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75676
75677 * configure.in: Move READELF check to start of file.
75678 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75679 libc_cv_asm_gnu_indirect_function in the process.
75680 * configure: Regenerated.
75681
75682 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75683
75684 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75685 send the output to /dev/null.
75686 (libc_cv_cc_with_libunwind): Likewise.
75687 (libc_cv_as_noexecstack): Likewise.
75688 * configure: Regenerate.
75689
75690 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75691
75692 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75693
75694 * posix/globtest.sh (TMPDIR): Do not set.
75695 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75696 (testout): Likewise.
75697
75698 2012-10-24 Andreas Jaeger <aj@suse.de>
75699
75700 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75701 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75702 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75703 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75704 posix_fadvise64, posix_fallocate64.
75705
75706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75707 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75708 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75709 Likewise.
75710 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75711 Likewise.
75712 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75713
75714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75715 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75716 <bits/fcntl-linux.h>.
75717 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75718
75719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75720 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75721 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75722 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75723 [__WORDSIZE != 64]: Likewise.
75724
75725 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75726
75727 * Makeconfig (run-built-tests): New variable.
75728 * Rules [$(cross-compiling) = yes]: Change condition to
75729 [$(run-built-tests) = no].
75730 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75731 to [$(run-built-tests) = yes].
75732 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75733 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75734 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75735 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75736 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75737 * io/Makefile [$(cross-compiling) = no]: Likewise.
75738 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75739 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75740 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75741 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75742 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75743 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75744 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75745 * string/Makefile [$(cross-compiling) = no]: Likewise.
75746
75747 * posix/Makefile ($(objpfx)globtest.out): Pass
75748 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75749 $(rtld-installed-name).
75750 * posix/globtest.sh (elf_objpfx): Remove variable.
75751 (rtld_installed_name): Likewise.
75752 (library_path): Likewise.
75753 (run_program_prefix): New variable. Use for running globtest
75754 binary.
75755
75756 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75757 Joseph Myers <joseph@codesourcery.com>
75758
75759 * Makeconfig (host-built-program-cmd): New variable.
75760 * elf/Makefile (tst-stackguard1-ARGS): Use
75761 $(host-built-program-cmd).
75762 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75763 (tst-spawn-ARGS): Likewise.
75764 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75765
75766 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75767 Jim Blandy <jimb@codesourcery.com>
75768
75769 * Makeconfig (run-via-rtld-prefix): New variable.
75770 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75771 (built-program-cmd): Likewise.
75772
75773 2012-10-22 Andreas Jaeger <aj@suse.de>
75774
75775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75776 __O_RSYNC if it exists, otherwise to O_SYNC.
75777
75778 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75779 Joseph Myers <joseph@codesourcery.com>
75780
75781 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75782 /dev/null.
75783 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75784 from /dev/null
75785 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75786 /dev/null.
75787
75788 2012-10-22 Andreas Jaeger <aj@suse.de>
75789
75790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75791 Define always.
75792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75793
75794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75795 bits/fcntl-linux.h.
75796
75797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75798 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75799
75800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75801 to __O_LARGEFILE.
75802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75803 to __O_LARGEFILE.
75804
75805 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75806 Joseph Myers <joseph@codesourcery.com>
75807
75808 * config.make.in (NM): New variable.
75809
75810 2012-10-21 Andreas Jaeger <aj@suse.de>
75811
75812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75813 definitions and declarations that are provided by
75814 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75815
75816 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75817
75818 [BZ #14683]
75819 * elf/Makefile (tests-static): Add tst-leaks1-static.
75820 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75821 ($(objpfx)tst-leaks1-static): New rule.
75822 ($(objpfx)tst-leaks1-static-mem): Likewise.
75823 (tst-leaks1-static-ENV): New macro.
75824 * elf/dl-open.c (dl_open_worker): Check the main application
75825 only if SHARED is defined.
75826 * elf/tst-leaks1-static.c: New file.
75827
75828 2012-10-20 Andreas Jaeger <aj@suse.de>
75829
75830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75831 generic values for Linux.
75832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75833 and declarations that are provided by <bits/fcntl-linux.h> and
75834 include <bits/fcntl-linux.h>.
75835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75837
75838 2012-10-20 Roland McGrath <roland@hack.frob.com>
75839
75840 * io/fcntl.h: Move include of <bits/types.h> to the top and
75841 include it unconditionally.
75842
75843 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75844
75845 * wcsmbs/Makefile (tests-ifunc): New variable.
75846 (tests): Add $(tests-ifunc).
75847 * wcsmbs/test-wcschr-ifunc.c: New file.
75848 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75849 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75850 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75851 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75852 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75853
75854 * string/Makefile (tests-ifunc): New variable.
75855 (tests): Add $(tests-ifunc).
75856 * string/test-memccpy.c (TEST_NAME): New macro.
75857 * string/test-memchr.c (TEST_NAME): Likewise.
75858 * string/test-memcmp.c (TEST_NAME): Likewise.
75859 * string/test-memcpy.c (TEST_NAME): Likewise.
75860 * string/test-memmem.c (TEST_NAME): Likewise.
75861 * string/test-memmove.c (TEST_NAME): Likewise.
75862 * string/test-memset.c (TEST_NAME): Likewise.
75863 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75864 * string/test-stpcpy.c (TEST_NAME): Likewise.
75865 * string/test-stpncpy.c (TEST_NAME): Likewise.
75866 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75867 * string/test-strcasestr.c (TEST_NAME): Likewise.
75868 * string/test-strcat.c (TEST_NAME): Likewise.
75869 * string/test-strchr.c (TEST_NAME): Likewise.
75870 * string/test-strcmp.c(TEST_NAME): Likewise.
75871 * string/test-strcpy.c (TEST_NAME): Likewise.
75872 * string/test-strcspn.c (TEST_NAME): Likewise.
75873 * string/test-strlen.c (TEST_NAME): Likewise.
75874 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75875 * string/test-strncmp.c (TEST_NAME): Likewise.
75876 * string/test-strncpy.c (TEST_NAME): Likewise.
75877 * string/test-strnlen.c (TEST_NAME): Likewise.
75878 * string/test-strpbrk.c (TEST_NAME): Likewise.
75879 * string/test-strrchr.c (TEST_NAME): Likewise.
75880 * string/test-strspn.c (TEST_NAME): Likewise.
75881 * string/test-strstr.c (TEST_NAME): Likewise.
75882 * string/test-bcopy-ifunc.c: New file.
75883 * string/test-bzero-ifunc.c: Likewise.
75884 * string/test-memccpy-ifunc.c: Likewise.
75885 * string/test-memchr-ifunc.c: Likewise.
75886 * string/test-memcmp-ifunc.c: Likewise.
75887 * string/test-memcpy-ifunc.c: Likewise.
75888 * string/test-memmem-ifunc.c: Likewise.
75889 * string/test-memmove-ifunc.c: Likewise.
75890 * string/test-mempcpy-ifunc.c: Likewise.
75891 * string/test-memset-ifunc.c: Likewise.
75892 * string/test-rawmemchr-ifunc.c: Likewise.
75893 * string/test-stpcpy-ifunc.c: Likewise.
75894 * string/test-stpncpy-ifunc.c: Likewise.
75895 * string/test-strcasecmp-ifunc.c: Likewise.
75896 * string/test-strcasestr-ifunc.c: Likewise.
75897 * string/test-strcat-ifunc.c: Likewise.
75898 * string/test-strchr-ifunc.c: Likewise.
75899 * string/test-strchrnul-ifunc.c: Likewise.
75900 * string/test-strcmp-ifunc.c: Likewise.
75901 * string/test-strcpy-ifunc.c: Likewise.
75902 * string/test-strcspn-ifunc.c: Likewise.
75903 * string/test-strlen-ifunc.c: Likewise.
75904 * string/test-strncasecmp-ifunc.c: Likewise.
75905 * string/test-strncat-ifunc.c: Likewise.
75906 * string/test-strncmp-ifunc.c: Likewise.
75907 * string/test-strncpy-ifunc.c: Likewise.
75908 * string/test-strnlen-ifunc.c: Likewise.
75909 * string/test-strpbrk-ifunc.c: Likewise.
75910 * string/test-strrchr-ifunc.c: Likewise.
75911 * string/test-strspn-ifunc.c: Likewise.
75912 * string/test-strstr-ifunc.c: Likewise.
75913
75914 * debug/Makefile (tests-ifunc): New variable.
75915 (tests): Add $(tests-ifunc).
75916 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75917 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75918 * debug/test-stpcpy_chk-ifunc.c: New file.
75919 * debug/test-strcpy_chk-ifunc.c: Likewise.
75920
75921 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75922
75923 [BZ #13601]
75924 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75925 header is not read in.
75926
75927 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75928
75929 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75930 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75931 directly. Pass built executable to script as
75932 $(built-program-cmd).
75933 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75934 $testprogram without using LD_LIBRARY_PATH and $ldso.
75935
75936 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75937 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75938 $(rtld-installed-name).
75939 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75940 (rtld_installed_name): Likewise.
75941 (library_path): Likewise.
75942 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75943 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75944 $(run-program-prefix) to tst-tables.sh.
75945 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75946 it to run tst-table-from and tst-table-to.
75947 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75948 Pass it to tst-table.sh.
75949 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75950 $(run-program-prefix) to tst-gettext.sh.
75951 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75952 tst-translit.sh.
75953 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75954 tst-gettext2.sh.
75955 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75956 to run tst-gettext.
75957 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75958 to run tst-gettext2.
75959 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75960 to run tst-translit.
75961 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75962 $(run-program-prefix) to tst-mtrace.sh.
75963 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75964 to run tst-mtrace.
75965 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75966 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75967 $(rtld-installed-name).
75968 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75969 (rtld_installed_name): Likewise.
75970 (run_program_prefix): New variable. Use it to run wordexp-test.
75971
75972 * Makeconfig (ARCH): Remove all definitions.
75973 (machine): Likewise.
75974 [ARCH]: Remove conditional code.
75975 [!objdir]: Give error.
75976 [!objdir] (objpfx): Remove.
75977 [!objdir] (common-objpfx): Likewise.
75978 [!objdir] (common-objdir): Likewise.
75979 * configure.in (config_makefile): Remove. Hardcode Makefile in
75980 AC_CONFIG_FILES call.
75981 * configure: Regenerated.
75982
75983 [BZ #13888]
75984 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75985 or TMPDIR.
75986 (testout): Likewise.
75987
75988 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75989 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75990 $(rtld-installed-name).
75991 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75992 (rtld_installed_name): Likewise.
75993 (runit): Remove function.
75994 (run_getconf): New variable, Use it for running getconf binary.
75995
75996 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75997
75998 [BZ #14716]
75999 * string/test-memmem.c (check_result): New function.
76000 (do_one_test): Use it.
76001 (check1): New function.
76002 (test_main): Use it.
76003
76004 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76005
76006 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76007
76008 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76009
76010 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76011 (_G_LSEEK64): Likewise.
76012 (_G_MMAP64): Likewise.
76013 (_G_FSTAT64): Likewise.
76014 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76015 (_G_LSEEK64): Likewise.
76016 (_G_MMAP64): Likewise.
76017 (_G_FSTAT64): Likewise.
76018 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76019 unconditional. Call __mmap64 directly.
76020 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76021 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76022 __lseek64 directly.
76023 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76024 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76025 __mmap64 directly.
76026 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76027 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76028 __lseek64 directly.
76029 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76030 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76031 __lseek64 directly.
76032 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76033 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76034 __lseek64 directly.
76035 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76036 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76037 __fxstat64 directly.
76038 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76039 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76040 unconditional.
76041 (freopen64) [!_G_OPEN64]: Remove conditional code.
76042 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76043 unconditional.
76044 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76045 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76046 unconditional.
76047 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76048 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76049 unconditional.
76050 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76051 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76052 unconditional.
76053 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76054 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76055 unconditional.
76056 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76057 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76058 unconditional.
76059 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76060 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76061 unconditional.
76062 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76063
76064 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76065
76066 [BZ #12140]
76067 * manual/memory.texi (Malloc Tunable Parameters): Add note
76068 about free list pointers overwriting some perturb bytes.
76069 Wording suggested by Roland McGrath.
76070
76071 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76072
76073 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76074 (lgamma_test): Likewise.
76075 (tgamma_test): Likewise.
76076
76077 2012-10-16 Florian Weimer <fweimer@redhat.com>
76078
76079 [BZ #14700]
76080 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76081 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76082
76083 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76084
76085 * NEWS: Mention BZ #14716.
76086 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76087 when removing AVAILABLE1_USES_J macro.
76088
76089 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76090
76091 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76092 (__bswap_64): __uint64_t for unsigned 64-bit int.
76093
76094 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76095
76096 * include/string.h (memmem): Declare libc hidden alias.
76097 * string/memmem.c (memmem): Define libc hidden alias.
76098 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76099 __read, __close instead of open, read, close.
76100
76101 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76102
76103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76104 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76105 global and hidden.
76106 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76107 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76108 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76109 Likewise.
76110 (__rawmemchr_sse2): Likewise.
76111 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76112 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76113 (__strchr_sse2): Likewise.
76114 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76115 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76116 (__strcasecmp_sse2): Likewise.
76117 (__strncasecmp_sse2): Likewise.
76118 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76119 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76120 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76121 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76122 (__strrchr_sse2): Likewise.
76123 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76124 ifunc-impl-list.c.
76125 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76126 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76127 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76128 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76129 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76130 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76131 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76132 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76133 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76134 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76135 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76136 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76137 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76138 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76139 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76140 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76141 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76142 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76143 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76144 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76145 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76146 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76147 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76148 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76149 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76150 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76151 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76152 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76153 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76154 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76155
76156 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76157 global and hidden.
76158 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76159 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76160 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76161 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76162 Likewise.
76163 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76164 Likewise.
76165 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76166 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76167 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76168 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76169 ifunc-impl-list.c.
76170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76172 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76183 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76184 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76186 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76187 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76188 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76189 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76190 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76193 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76195 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76196 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76197 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76198 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76199 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76200 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76203 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76204 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76206 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76207 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76209 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76210 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76211
76212 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76213 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76214 * include/ifunc-impl-list.h: New file.
76215 * misc/ifunc-impl-list.c: Likewise.
76216 * misc/Makefile (routines): Add ifunc-impl-list.
76217 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76218 * string/test-string.h: Include <ifunc-impl-list.h>.
76219 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76220 TEST_NAME]: New variables.
76221 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76222 are defined.
76223 (test_init): Call __libc_ifunc_impl_list to initialize
76224 func_list if TEST_IFUNC and TEST_NAME are defined.
76225
76226 * string/Makefile (strop-tests): Add bcopy and bzero.
76227 * string/test-bcopy.c: New file.
76228 * string/test-bzero.c: Likewise.
76229 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76230 defined.
76231 * string/test-memset.c: Support bzero test if TEST_BZERO is
76232 defined.
76233 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76234 __libc_memmove.
76235 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76236 __libc_memset.
76237 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76238 of memset.
76239
76240 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76241
76242 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76243 * configure: Regenerated.
76244
76245 * Makeconfig (+link-static-before-libc): Don't include
76246 $(link-static-libc).
76247
76248 * libio/libio.h (_IO_pos_t): Remove.
76249
76250 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76251
76252 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76253 McGrath.
76254
76255 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76256
76257 * crypt/crypt-entry.c: Include fips-private.h.
76258 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76259 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76260 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76261 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76262
76263 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76264
76265 * crypt/crypt-private.h: Include stdbool.h.
76266 (_ufc_setup_salt_r): Return bool.
76267 * crypt/crypt-entry.c: Include errno.h.
76268 (__crypt_r): Return NULL with EINVAL for bad salt.
76269 * crypt/crypt_util.c (bad_for_salt): New.
76270 (_ufc_setup_salt_r): Check that salt is long enough and within
76271 the specified alphabet.
76272 * crypt/badsalttest.c: New file.
76273 * crypt/Makefile (tests): Add it.
76274 ($(objpfx)badsalttest): New.
76275
76276 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76277
76278 * NEWS: Add entry for BZ #14602.
76279
76280 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76281
76282 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76283 type-generic.
76284 * math/libm-test.inc: Update comment listing what functions and
76285 macros are tested.
76286 (isgreater_test): New function.
76287 (isgreaterequal_test): Likewise.
76288 (isless_test): Likewise.
76289 (islessequal_test): Likewise.
76290 (islessgreater_test): Likewise.
76291 (isunordered_test): Likewise.
76292 (main): Call the new functions.
76293
76294 2012-10-09 Roland McGrath <roland@hack.frob.com>
76295
76296 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76297 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76298 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76299 * sysdeps/i386/configure: Regenerated.
76300 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76301 * sysdeps/mach/configure: Regenerated.
76302 * sysdeps/mach/hurd/configure: Regenerated.
76303 * sysdeps/powerpc/configure: Regenerated.
76304 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76305 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76306 * sysdeps/s390/s390-32/configure: Regenerated.
76307 * sysdeps/s390/s390-64/configure: Regenerated.
76308 * sysdeps/sh/configure: Regenerated.
76309 * sysdeps/sparc/configure: Regenerated.
76310 * sysdeps/unix/sysv/linux/configure: Regenerated.
76311 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76312 * sysdeps/x86_64/configure: Regenerated.
76313
76314 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76315 defined. Don't check if MAP is NULL.
76316
76317 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76318
76319 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76320 (_G_stat64): Likewise.
76321 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76322 (_G_stat64): Likewise.
76323 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76324 instead of struct _G_stat64.
76325 * libio/fileops.c (mmap_remap_check): Likewise.
76326 (decide_maybe_mmap): Likewise.
76327 (_IO_new_file_seekoff): Likewise.
76328 (_IO_file_stat): Likewise.
76329 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76330 _G_off64_t.
76331 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76332 instead of struct _G_stat64.
76333 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76334
76335 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76336
76337 [BZ #14602]
76338 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76339 Replace with ...
76340 (CHECK_EOL): New macro.
76341 (two_way_short_needle): Check beginning of haystack for EOL. Use
76342 CHECK_EOL.
76343 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76344 Replace with CHECK_EOL.
76345 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76346 Replace with CHECK_EOL.
76347
76348 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76349
76350 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76351 type-generic.
76352 * math/libm-test.inc: Update comment listing what functions and
76353 macros are tested.
76354 (finite_test): New function.
76355 (isinf_test): Likewise.
76356 (isnan_test): Likewise.
76357 (fpclassify_test): Test subnormal input.
76358 (isfinite_test): Likewise.
76359 (isnormal_test): Likewise.
76360 (main): Call the new functions.
76361
76362 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76363
76364 [BZ #14660]
76365 * Makerules (%.dynsym): Force C locale when running
76366 $(OBJDUMP) --dynamic-syms.
76367
76368 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76369
76370 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76371 <stdint.h>.
76372
76373 2012-10-06 David S. Miller <davem@davemloft.net>
76374
76375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76376 upper 32-bits of the length value in %o2 since we use branch-on-register
76377 tests which consider the entire 64-bit register.
76378
76379 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76380
76381 * string/test-strstr.c (check2): Add a test for page boundary.
76382
76383 2012-10-05 David S. Miller <davem@davemloft.net>
76384
76385 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76387 file.
76388 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76389 sysdep_routines.
76390 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76391 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76392 and bzero when HWCAP_SPARC_CRYPTO is present.
76393
76394 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76395
76396 [BZ #14602]
76397 * string/test-strstr.c (check2): New function.
76398 (test_main): Call check2.
76399
76400 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76401 and bug-strchr1.
76402 * string/bug-strcasestr1.c (do_test): Moved to ...
76403 * string/test-strcasestr.c (check1): Here. New function.
76404 (do_one_test): Break out result checking code into ...
76405 (check_result): This. New function.
76406 (do_one_test): Call check_result.
76407 (test_main): Call check1.
76408 * string/bug-strchr1.c (do_test): Moved to ...
76409 * string/test-strchr.c (check1): Here. New function.
76410 (do_one_test): Break out result checking code into ...
76411 (check_result): This. New function.
76412 (do_one_test): Call check_result.
76413 (test_main): Call check1.
76414 * string/bug-strstr1.c (main): Moved to ...
76415 * string/test-strstr.c (check1): Here. New function.
76416 (do_one_test): Break out result checking code into ...
76417 (check_result): This. New function.
76418 (do_one_test): Call check_result.
76419 (test_main): Call check1.
76420 * string/bug-strcasestr1.c: Removed.
76421 * string/bug-strchr1.c: Likewise.
76422 * string/bug-strstr1.c: Likewise.
76423
76424 * elf/Makefile (dl-routines): Add hwcaps.
76425 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76426 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76427 (_dl_important_hwcaps): Moved to ...
76428 * elf/dl-hwcaps.c: Here. New file.
76429 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76430
76431 [BZ #14557]
76432 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76433 if IS_IN_rtld isn't defined.
76434
76435 * elf/dl-support.c (_dl_sysinfo_map): New.
76436 Include "get-dynamic-info.h" and "setup-vdso.h".
76437 (_dl_non_dynamic_init): Call setup_vdso.
76438 * elf/dynamic-link.h: Don't include <assert.h>.
76439 (elf_get_dynamic_info): Moved to ...
76440 * elf/get-dynamic-info.h: Here. New file.
76441 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76442 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76443 * elf/setup-vdso.h: Here. New file.
76444 * elf/rtld.c: Include "setup-vdso.h".
76445 (dl_main): Call setup_vdso.
76446
76447 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76448
76449 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76450 creal in comment listing functions tested. List finite, isinf,
76451 isnan, isless, islessequal, isgreater, isgreaterequal,
76452 islessgreater, isunordered, lgamma_r and pow10 as functions and
76453 macros not tested. Mention which functions not tested are aliases
76454 for other functions. Fix typo. Note that signs of NaNs are not
76455 tested.
76456
76457 * scripts/config.guess: Update from config.git.
76458 * scripts/config.sub: Likewise.
76459
76460 2012-10-04 Roland McGrath <roland@hack.frob.com>
76461
76462 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76463 * misc/madvise.c (madvise): Renamed to __madvise.
76464 Make madvise a weak alias.
76465 * include/sys/mman.h: Declare __madvise.
76466 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76467 * sysdeps/unix/syscalls.list
76468 (madvise): Make __madvise the strong name, and madvise a weak alias.
76469 * sysdeps/unix/sysv/linux/syscalls.list
76470 (madvise, mmap): Remove redundant entries.
76471 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76472 * malloc/malloc.c (mtrim): Likewise.
76473 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76474
76475 2012-10-03 Roland McGrath <roland@hack.frob.com>
76476
76477 * sysdeps/mach/hurd/dl-cache.c: File removed.
76478 * config.h.in (USE_LDCONFIG): New #undef.
76479 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76480 * configure: Regenerated.
76481 * elf/Makefile (dl-routines): Add dl-cache only under
76482 [$(use-ldconfig) = yes].
76483 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76484 cache on [USE_LDCONFIG].
76485 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76486 [USE_LDCONFIG].
76487 * elf/rtld.c (dl_main): Likewise.
76488
76489 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76490
76491 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76492 _SC_LEVEL4_CACHE_LINESIZE.
76493
76494 2012-10-03 Roland McGrath <roland@hack.frob.com>
76495
76496 * sysdeps/unix/bsd/confstr.h: File removed.
76497
76498 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76499
76500 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76501 sys/sdt-config.h.
76502
76503 2012-10-02 Roland McGrath <roland@hack.frob.com>
76504
76505 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76506 Make 'mapoff' field ElfW(Off) rather than off_t.
76507
76508 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76509
76510 * nscd/Makefile: Remove nscd-cflags and all its users.
76511 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76512 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76513
76514 [BZ #10631]
76515 * malloc.c (malloc_printerr): Clarify error message.
76516
76517 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76518
76519 [BZ #14648]
76520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76521 Set bit_FMA_Usable if FMA is supported.
76522 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76523 macro.
76524 (bit_FMA4_Usable): Updated.
76525 (index_FMA_Usable): New macro.
76526 (CPUID_FMA): Likewise.
76527 (HAS_FMA): Defined with bit_FMA_Usable.
76528
76529 2012-10-01 Roland McGrath <roland@hack.frob.com>
76530
76531 * bits/types.h (__swblk_t): Type removed.
76532 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76533 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76535 (__SWBLK_T_TYPE): Likewise.
76536 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76537 (__SWBLK_T_TYPE): Likewise.
76538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76539 (__SWBLK_T_TYPE): Likewise.
76540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76541 (__SWBLK_T_TYPE): Likewise.
76542
76543 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76544 Honza Horak <hhorak@redhat.com>
76545
76546 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76547 (xdr_mapname): Use YPMAXMAP as maxsize.
76548 (xdr_peername): Use YPMAXPEER as maxsize.
76549 (xdr_keydat): Use YPAXRECORD as maxsize.
76550 (xdr_valdat): Use YPMAXRECORD as maxsize.
76551
76552 2012-10-01 Roland McGrath <roland@hack.frob.com>
76553
76554 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76555
76556 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76557 * csu/init-first.c: ... here.
76558 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76559 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76560 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76561 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76562 * sysdeps/i386/init-first.c: File removed.
76563 * sysdeps/sh/init-first.c: File removed.
76564
76565 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76566
76567 [BZ #14645]
76568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76569 if x * y might underflow to zero and z is zero.
76570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76572 * math/libm-test.inc (min_subnorm_value): New variable.
76573 (fma_test): Add more tests.
76574 (fma_test_towardzero): Likewise.
76575 (fma_test_downward): Likewise.
76576 (fma_test_upward): Likewise.
76577 (initialize): Set min_subnorm_value.
76578
76579 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76580
76581 [BZ #14638]
76582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76583 0 + 0.
76584 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76585 mode for addition resulting in exact zero.
76586 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76588 exact 0 + 0.
76589 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76591 * math/libm-test.inc (fma_test): Add more tests.
76592 (fma_test_towardzero): New function.
76593 (fma_test_downward): Likewise.
76594 (fma_test_upward): Likewise.
76595 (main): Call the new functions.
76596
76597 2012-09-28 David S. Miller <davem@davemloft.net>
76598
76599 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76600
76601 2012-09-28 Roland McGrath <roland@hack.frob.com>
76602
76603 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76604 instead of SIGALRM.
76605
76606 * sysdeps/gnu/_G_config.h: Moved to ...
76607 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76608 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76609 * sysdeps/generic/_G_config.h: ... here.
76610
76611 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76612
76613 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76614
76615 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76616 Conditionalize target on [libnss_test1.so-version].
76617
76618 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76619
76620 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76621 (elfobjdir): Move out of conditionals.
76622
76623 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76624 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76625 (__nss_lookup_function): Conditionalize label remove_from_tree on
76626 [!DO_STATIC_NSS || SHARED], matching its only use.
76627
76628 2012-09-28 David S. Miller <davem@davemloft.net>
76629
76630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76631 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76632 file.
76633 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76634 sysdep_routines.
76635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76637 when HWCAP_SPARC_CRYPTO is present.
76638
76639 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76640
76641 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76642
76643 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76644
76645 [BZ #6530]
76646 * stdio-common/vfprintf.c (process_string_arg): Revert
76647 2000-07-22 change.
76648
76649 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76650
76651 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76652 for testcase.
76653 * stdio-common/tst-sprintf.c: Include <locale.h>
76654 (main): Test sprintf's handling of incomplete multibyte
76655 characters.
76656
76657 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76658
76659 * elf/dl-runtime.c (VERSYMIDX): Removed.
76660 * elf/dl-version.c (VERSYMIDX): Likewise.
76661 * elf/do-rel.h (VERSYMIDX): Likewise.
76662 (VALIDX): Likewise.
76663 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76664 * elf/rtld.c (VALIDX): Likewise.
76665 (ADDRIDX): Likewise.
76666 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76667 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76668 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76669 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76670 (VALIDX): Likewise.
76671 (ADDRIDX): Likewise.
76672
76673 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76674
76675 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76676
76677 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76678
76679 [BZ #11438]
76680 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76681 to global scope.
76682 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76683 addresses are in the same scope as 192.0.2/24.
76684 * posix/gai.conf: Document new scope table defaults.
76685
76686 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76687
76688 [BZ #5298]
76689 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76690 for ftell. Compute offsets from write pointers instead.
76691 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76692
76693 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76694
76695 [BZ #14543]
76696 * libio/Makefile (tests): New test case tst-fseek.
76697 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76698 combination works in wide mode.
76699 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76700 state when the external buffer state changes.
76701
76702 2012-09-27 David S. Miller <davem@davemloft.net>
76703
76704 [BZ #14376]
76705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76706 pass reloc->r_addend in as the 'high' argument to
76707 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76708
76709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76710
76711 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76712
76713 * rt/tst-aio2.c: Include <pthread.h>.
76714 * rt/tst-aio3.c: Likewise.
76715
76716 2012-09-27 Steve Ellcey <sellcey@mips.com>
76717
76718 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76719
76720 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76721
76722 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76723 contents on [SHARED].
76724
76725 2012-09-26 Marek Polacek <polacek@redhat.com>
76726
76727 [BZ #14530]
76728 [BZ #13741]
76729 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76730 for C++ and GCC <4.3 as well as for non GCC compilers.
76731
76732 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76733
76734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76735
76736 2012-09-25 Roland McGrath <roland@hack.frob.com>
76737
76738 * Makefile.in (all, install): Declare with .PHONY.
76739 Reported by Michael Hope <michael.hope@linaro.org>.
76740
76741 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76742
76743 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76744 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76745 system header.
76746 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76747 Likewise.
76748 (sydep_routines): Add the new and the internal functions.
76749 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76750 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76752 (GLIBC_2.17): Add the new function.
76753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76754 (GLIBC_2.17): Likewise.
76755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76756 (GLIBC_2.17): Likewise.
76757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76758 (GLIBC_2.17): Likewise.
76759 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76760
76761 2012-09-25 Alan Modra <amodra@gmail.com>
76762
76763 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76764 Add release barrier before setting once_control to say
76765 initialisation is done. Add hints on lwarx. Use macro in
76766 place of isync.
76767 (clear_once_control): Add release barrier.
76768
76769 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76770
76771 [BZ #13629]
76772 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76773 specially.
76774 * math/s_clog10.c (__clog10): Likewise.
76775 * math/s_clog10f.c (__clog10f): Likewise.
76776 * math/s_clog10l.c (__clog10l): Likewise.
76777 * math/s_clogf.c (__clogf): Likewise.
76778 * math/s_clogl.c (__clogl): Likewise.
76779 * math/Makefile (libm-calls): Add x2y2m1.
76780 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76781 (__x2y2m1): Likewise.
76782 (__x2y2m1l): Likewise.
76783 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76784 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76785 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76786 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76787 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76788 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76789 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76790 * sysdeps/i386/fpu/libm-test-ulps: Update.
76791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76792
76793 [BZ #14621]
76794 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76795 int as type of variable DEPTH.
76796 (glob): Use size_t instead of int as type of variables NEWCOUNT
76797 and OLD_PATHC.
76798
76799 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76800
76801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76802 Add s_sincosf-sse2.
76803 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76805 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76806 macros for using routine as __sincosf_ia32.
76807 Use macro for function declaration and weak_alias.
76808 * sysdeps/i386/fpu/libm-test-ulps: Update.
76809
76810 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76812
76813 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76814 subnormal argument.
76815 * math/s_cexpf.c (__cexpf): Likewise.
76816 * math/s_csinf.c (__csinf): Likewise.
76817 * math/s_csinhf.c (__csinhf): Likewise.
76818 * math/s_ctanf.c (__ctanf): Likewise.
76819 * math/s_ctanhf.c (__ctanhf): Likewise.
76820 * math/s_ccosh.c (__ccoshf): Likewise.
76821 * math/s_cexp.c (__cexpl): Likewise.
76822 * math/s_csin.c (__csin): Likewise.
76823 * math/s_csinh.c (__csinh): Likewise.
76824 * math/s_ctan.c (__ctan): Likewise.
76825 * math/s_ctanh.c (ctanh): Likewise.
76826 * math/s_ccoshl.c (__ccoshl): Likewise.
76827 * math/s_cexpl.c (__cexpl): Likewise.
76828 * math/s_csinl.c (__csinl): Likewise.
76829 * math/s_csinhl.c (__csinhl): Likewise.
76830 * math/s_ctanl.c (__ctanl): Likewise.
76831 * math/s_ctanhl.c (__ctanhl): Likewise.
76832
76833 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76834
76835 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76836 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76837 (_IO_off_t): Define to __off_t, not _G_off_t.
76838 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76839 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76840 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76841 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76842 type of __dummy and __dummy2 fields.
76843 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76844 (_G_ssize_t): Likewise.
76845 (_G_off_t): Likewise.
76846 (_G_pid_t): Likewise.
76847 (_G_uid_t): Likewise.
76848 (_G_wchar_t): Likewise.
76849 (_G_wint_t): Likewise.
76850 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76851 (_G_ssize_t): Likewise.
76852 (_G_off_t): Likewise.
76853 (_G_pid_t): Likewise.
76854 (_G_uid_t): Likewise.
76855 (_G_wchar_t): Likewise.
76856 (_G_wint_t): Likewise.
76857 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76858 (_G_ssize_t): Likewise.
76859 (_G_off_t): Likewise.
76860 (_G_pid_t): Likewise.
76861 (_G_uid_t): Likewise.
76862 (_G_wchar_t): Likewise.
76863 (_G_wint_t): Likewise.
76864
76865 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76866
76867 * malloc/arena.c: Include malloc-sysdep.h.
76868 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76869 is sufficient to shrink the heap or an unmap is needed.
76870 * sysdeps/generic/malloc-sysdep.h: New file. Define
76871 new function check_may_shrink_heap.
76872 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76873 new function check_may_shrink_heap.
76874
76875 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76876
76877 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76878 comments.
76879
76880 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76881
76882 * catgets/test-gencat.sh: Add "set -e".
76883 * elf/tst-pathopt.sh: Likewise.
76884 * grp/tst_fgetgrent.sh: Likewise.
76885 * iconvdata/run-iconv-test.sh: Likewise.
76886 * intl/tst-gettext.sh: Likewise.
76887 * intl/tst-gettext2.sh: Likewise.
76888 * intl/tst-gettext4.sh: Likewise.
76889 * intl/tst-gettext6.sh: Likewise.
76890 * intl/tst-translit.sh: Likewise.
76891 * io/ftwtest-sh: Likewise.
76892 * libio/test-freopen.sh: Likewise.
76893 * malloc/tst-mtrace.sh: Likewise.
76894 * posix/globtest.sh: Likewise.
76895 * posix/tst-getconf.sh: Likewise.
76896 * posix/wordexp-tst.sh: Likewise.
76897 * stdio-common/tst-printf.sh: Likewise.
76898 * stdio-common/tst-unbputc.sh: Likewise.
76899 * stdlib/tst-fmtmsg.sh: Likewise.
76900 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76901 * catgets/Makefile: Do not specify -e option when running
76902 testsuite shell scripts.
76903 * elf/Makefile: Likewise.
76904 * grp/Makefile: Likewise.
76905 * iconvdata/Makefile: Likewise.
76906 * intl/Makefile: Likewise.
76907 * io/Makefile: Likewise.
76908 * libio/Makefile: Likewise.
76909 * malloc/Makefile: Likewise.
76910 * posix/Makefile: Likewise.
76911 * stdio-common/Makefile: Likewise.
76912 * stdlib/Makefile: Likewise.
76913 * sysdeps/x86_64/Makefile: Likewise.
76914
76915 * io/ftwtest-sh: Add copyright header.
76916 * posix/globtest.sh: Likewise.
76917 * posix/tst-getconf.sh: Likewise.
76918 * posix/wordexp-tst.sh: Likewise.
76919 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76920
76921 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76922
76923 [BZ #13679]
76924 * Makeconfig (+link): Defined as $(+link-static) if
76925 $(build-shared) isn't yes.
76926 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76927 isn't yes.
76928 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76929
76930 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76931
76932 [BZ #14562]
76933 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76934 new chunk size with MALLOC_ALIGN_MASK.
76935
76936 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76937
76938 [BZ #5044]
76939 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76940 <rounding-mode.h>.
76941 (__printf_fphex): Determine rounding using get_rounding_mode and
76942 round_away.
76943 * stdio-common/tst-printf-round.c (struct hex_test): New
76944 structure.
76945 (hex_tests): New variable.
76946 (test_hex_in_one_mode): New function.
76947 (do_test): Also run tests for hex float output.
76948
76949 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76950
76951 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76952 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76953 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76954 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76955 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76956 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76957 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76958 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76959
76960 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76961
76962 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76963 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76964 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76965 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76966
76967 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76968
76969 [BZ #14579]
76970 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76971 mode only.
76972 * elf/tst-rtld-load-self.sh: New test.
76973 * elf/Makefile: Run it.
76974
76975 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76976
76977 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76978 (tst-writev-ENV): Remove.
76979 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76980
76981 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76982
76983 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76984
76985 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76986
76987 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76988 unconditional.
76989 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76990 Likewise.
76991 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76992 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76993 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76994 Likewise.
76995
76996 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76997
76998 [BZ #14587]
76999 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77000 * config.make.in (have-cpp-asm-debuginfo): Removed.
77001 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77002 * configure: Regenerated.
77003
77004 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77005
77006 [BZ #5044]
77007 * stdio-common/printf_fp.c: Include <stdbool.h> and
77008 <rounding-mode.h>.
77009 (___printf_fp): Determine rounding using get_rounding_mode and
77010 round_away.
77011 * stdio-common/tst-printf-round.c: New file.
77012 * stdio-common/Makefile (tests): Add tst-printf-round.
77013 (link-libm): New variable.
77014 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77015
77016 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77017
77018 [BZ #14576]
77019 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77020 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77021 Likewise.
77022 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77023 Likewise.
77024
77025 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77026
77027 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77028 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77029 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77030 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77031
77032 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77033
77034 [BZ #14518]
77035 * include/rounding-mode.h: New file.
77036 * sysdeps/generic/get-rounding-mode.h: Likewise.
77037 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77038 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77039 (MAX_VALUE): New macro.
77040 (MIN_VALUE): Likewise.
77041 (overflow_value): New function.
77042 (underflow_value): Likewise.
77043 (round_and_return): Use overflow_value and underflow_value to
77044 determine return values in overflow and underflow cases. Use
77045 round_away to determine rounding depending on rounding mode.
77046 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77047 determine return values in overflow and underflow cases.
77048 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77049 (struct test_results): New structure.
77050 (struct test): Use struct test_results to store expected results
77051 for all rounding modes.
77052 (TEST): Include expected results for all rounding modes.
77053 (test_in_one_mode): New function.
77054 (do_test): Use test_in_one_mode to compute and check results.
77055 Check results for all rounding modes.
77056 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77057 $(link-libm).
77058
77059 2012-12-09 Allan McRae <allan@archlinux.org>
77060
77061 * sysdeps/i386/fpu/libm-test-ulps: Update
77062
77063 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77064
77065 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77066 (_G_int32_t): Likewise.
77067 (_G_uint16_t): Likewise.
77068 (_G_uint32_t): Likewise.
77069 (_G_HAVE_BOOL): Likewise.
77070 (_G_HAVE_ATEXIT): Likewise.
77071 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77072 (_G_HAVE_IO_FILE_OPEN): Likewise.
77073 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77074 (_G_int32_t): Likewise.
77075 (_G_uint16_t): Likewise.
77076 (_G_uint32_t): Likewise.
77077 (_G_HAVE_BOOL): Likewise.
77078 (_G_HAVE_ATEXIT): Likewise.
77079 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77080 (_G_HAVE_IO_FILE_OPEN): Likewise.
77081 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77082 (_G_int32_t): Likewise.
77083 (_G_uint16_t): Likewise.
77084 (_G_uint32_t): Likewise.
77085 (_G_HAVE_BOOL): Likewise.
77086 (_G_HAVE_ATEXIT): Likewise.
77087 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77088 (_G_HAVE_IO_FILE_OPEN): Likewise.
77089
77090 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77091
77092 * csu/libc-tls.c: Update copyright years.
77093
77094 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77095
77096 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77097 [!_G_USING_THUNKS]: Remove conditional code.
77098 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77099 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77100
77101 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77102 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77103 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77104 (_G_VTABLE_LABEL_PREFIX): Likewise.
77105 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77106 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77107 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77108 (_G_VTABLE_LABEL_PREFIX): Likewise.
77109 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77110 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77111 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77112 (_G_VTABLE_LABEL_PREFIX): Likewise.
77113 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77114
77115 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77116
77117 * libio/Makefile: Include ../Makeconfig before tests.
77118 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77119 only if $(build-shared) is yes.
77120
77121 * iconv/gconv_db.c: Update copyright years.
77122
77123 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77124
77125 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77126 unwind info if defined PIC. Fix special cases description.
77127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77128
77129 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77130 DP_HI_MASK entry.
77131 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77132
77133 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77134
77135 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77136
77137 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77138 is NULL.
77139
77140 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77141 (LDLIBS-tst-chk4): This.
77142 (LDFLAGS-tst-chk5): Renamed to ...
77143 (LDLIBS-tst-chk5): This.
77144 (LDFLAGS-tst-chk6): Renamed to ...
77145 (LDLIBS-tst-chk6): This.
77146 (LDFLAGS-tst-lfschk4): Renamed to ...
77147 (LDLIBS-tst-lfschk4): This.
77148 (LDFLAGS-tst-lfschk5): Renamed to ...
77149 (LDLIBS-tst-lfschk5): This.
77150 (LDFLAGS-tst-lfschk6): Renamed to ...
77151 (LDLIBS-tst-lfschk6): This.
77152
77153 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77154 on $(common-objpfx)soversions.mk.
77155
77156 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77157
77158 [BZ #10014]
77159 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77160 example host name.
77161
77162 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77163
77164 * malloc/arena.c (arena_get_retry): New function that gets
77165 another arena for the caller to try its request on.
77166 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77167 current arena cannot fulfill the request.
77168 (__libc_memalign): Likewise.
77169 (__libc_memalign): Likewise.
77170 (__libc_pvalloc): Likewise.
77171 (__libc_calloc): Likewise.
77172
77173 2012-09-05 John Tobey <john.tobey@gmail.com>
77174
77175 [BZ #13542]
77176 * manual/arith.texi (Operations on Complex): Fix description
77177 of carg branch cut.
77178
77179 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77180
77181 [BZ #10014]
77182 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77183 host name.
77184
77185 [BZ #10038]
77186 * manual/memory.texi (Memory): Make order of menu items match
77187 order of sections.
77188
77189 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77190
77191 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77192 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77193 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77194
77195 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77196
77197 * csu/libc-tls.c (static_dtv): Renamed to ...
77198 (_dl_static_dtv): This. Make it global.
77199 (_dl_initial_dtv): Removed.
77200 (__libc_setup_tls): Updated.
77201 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77202 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77203 DL_INITIAL_DTV.
77204
77205 2012-09-06 Petr Machata <pmachata@redhat.com>
77206
77207 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77208 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77209 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77210 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77211
77212 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77213
77214 [BZ #14545]
77215 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77216 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77217 freeing dtv[-1].
77218
77219 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77220
77221 [BZ #14544]
77222 * Makeconfig (link-static-before-libc): Replace $(+prector)
77223 with $(+prectorT).
77224 (link-static-after-libc): Replace $(+postctor) with
77225 $(+postctorT).
77226 (link-bounded): Replace $(+prector)/$(+postctor) with
77227 $(+prectorT)/$(+postctorT).
77228 (+prectorT): New macro.
77229 (+postctorT): Likewise.
77230
77231 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77232
77233 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77234 (round_str): Handle values above the maximum for IBM long double
77235 as inexact.
77236 * stdlib/tst-strtod-round.c (tests): Regenerated.
77237
77238 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77239
77240 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77241 assembler flag.
77242 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77243 zarch_nohighgprs around the zarch optimized routines.
77244 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77245 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77247 for zarch.
77248
77249 2012-09-05 David S. Miller <davem@davemloft.net>
77250
77251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77252
77253 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77254 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77255 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77256 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77257 entries.
77258
77259 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77260
77261 * malloc/arena.c: Fold copyright years.
77262 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77263
77264 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77265
77266 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77267
77268 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77269
77270 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77271
77272 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77273
77274 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77275 change internal state upon failure.
77276
77277 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77278
77279 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77280 * malloc/memusage.c (mmap): Likewise.
77281 (mmap64, mremap): Likewise. Adjust name in comment.
77282
77283 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77284
77285 * libio/fileops.c: Fix typos in comments.
77286 * libio/oldfileops.c: Likewise.
77287 * libio/wfileops.c: Likewise.
77288
77289 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77290
77291 [BZ #1349]
77292 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77293 (tst-malloc-usable-ENV): Set environment for test case.
77294 * malloc/hooks.c (malloc_check_get_size): New function to get
77295 requested size.
77296 * malloc/malloc.c (musable): Use malloc_check_get_size.
77297 * malloc/tst-malloc-usable.c: New test case.
77298
77299 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77300
77301 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77302
77303 2012-09-05 Allan McRae <allan@archlinux.org>
77304
77305 [BZ #13966]
77306 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77307 determine header location.
77308 * configure: Regenerated.
77309
77310 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77311
77312 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77313 float format.
77314 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77315 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77316 format.
77317 (test): Regenerate.
77318
77319 2012-09-04 David S. Miller <davem@davemloft.net>
77320
77321 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77322 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77324
77325 2012-09-04 Florian Weimer <fweimer@redhat.com>
77326
77327 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77328 failures.
77329
77330 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77331
77332 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77333
77334 [BZ #9914]
77335 * libio/iogetdelim.c: Include <limits.h>.
77336 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77337 + len + 1 would overflow.
77338
77339 2012-09-03 Andreas Jaeger <aj@suse.de>
77340
77341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77342 * sysdeps/i386/fpu/libm-test-ulps: Update.
77343
77344 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77345
77346 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77347 Add s_sinf-sse2, s_conf-sse2.
77348
77349 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77350 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77351 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77352 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77353
77354 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77355 for using routine as __sinf_ia32.
77356 Use macro for function declaration and weak_alias.
77357 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77358 for using routine as __cosf_ia32.
77359 Use macro for function declaration and weak_alias.
77360
77361 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77362 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77363
77364 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77365 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77367
77368 * math/libm-test.inc (cos_test): Add more test cases.
77369 (sin_test): Likewise.
77370 (sincos_test): Likewise.
77371
77372 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77373
77374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77375 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77376 hidden.
77377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77378
77379 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77380
77381 [BZ #14538]
77382 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77383 first element of the GOT.
77384 (elf_machine_load_address): Return the difference between
77385 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77386
77387 2012-09-01 Allan McRae <allan@archlinux.org>
77388
77389 [BZ #13412]
77390 * configure.in (AWK): Require gawk version 3.0 or later.
77391 * configure: Regenerated.
77392
77393 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77394
77395 * sysdeps/unix/sysv/linux/kernel-features.h
77396 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77398 [__NR_clock_getres]: Make code unconditional.
77399 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77400 (clock_getcpuclockid): Remove code left unreachable by removal of
77401 conditionals.
77402 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77403 code unconditional.
77404 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77405 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77406 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77407 Make code unconditional.
77408 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77409 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77410 * sysdeps/unix/sysv/linux/clock_settime.c
77411 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77412 conditional code.
77413 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77414 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77415
77416 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77417
77418 [BZ #14476]
77419 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77420 scripts/test-installation.pl.
77421
77422 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77423 and $ld_so_version if it is set.
77424
77425 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77426
77427 [BZ #14516]
77428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77429 failure if reading from procfs failed.
77430 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77431
77432 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77433
77434 * sysdeps/unix/sysv/linux/kernel-features.h
77435 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77436 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77437 Remove conditional code.
77438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77439 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77440 Remove conditional code.
77441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77442 * sysdeps/unix/sysv/linux/i386/fxstat.c
77443 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77445 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77446 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77448 * sysdeps/unix/sysv/linux/i386/lxstat.c
77449 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77451 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77452 Remove conditional code.
77453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77454 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77455 Remove conditional code.
77456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77457 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77458 <kernel-features.h>.
77459 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77460 Remove.
77461 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77462 Remove conditional code.
77463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77464 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77465 Remove conditional.
77466
77467 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77468
77469 [BZ #5400]
77470 * NEWS: Add fixed bug number.
77471
77472 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77473
77474 [BZ #14519]
77475 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77476 underflowing exponent in case of negative sign.
77477 * stdlib/tst-strtod-round-data: Add more tests.
77478 * stdlib/tst-strtod-round.c (tests): Regenerated.
77479
77480 [BZ #3479]
77481 * stdlib/strtod_l.c (NDIG): Remove.
77482 (HEXNDIG): Likewise.
77483 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77484 smallest representable value.
77485 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77486 lie within an exact representation of 1/2 ulp of the result.
77487 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77488 unconditionally.
77489 (TENS_P9_IDX): Define unconditionally.
77490 (TENS_P9_SIZE): Likewise.
77491 (TENS_P10_IDX): Likewise.
77492 (TENS_P10_SIZE): Likewise.
77493 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77494 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77495 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77496 entries for 10^2^13 and 10^2^14.
77497 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77498 (TENS_P13_IDX): Define.
77499 (TENS_P13_SIZE): Likewise.
77500 (TENS_P14_IDX): Likewise.
77501 (TENS_P14_SIZE): Likewise.
77502 (_fpioconst_pow10): Change array size to
77503 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77504 unconditional.
77505 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77506 1024]: Add entries for 10^2^13 and 10^2^14.
77507 [LAST_POW10 > _LAST_POW10]: Remove #error.
77508 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77509 (_fpioconst_pow10): Change array size to
77510 FPIOCONST_POW10_ARRAY_SIZE.
77511 * stdlib/gen-fpioconst.c: New file.
77512 * stdlib/gen-tst-strtod-round.c: Likewise.
77513 * stdlib/tst-strtod-round-data: Likewise.
77514 * stdlib/tst-strtod-round.c: Likewise.
77515 * stdlib/Makefile (tests): Add tst-strtod-round.
77516
77517 [BZ #14459]
77518 * stdlib/strtod_l.c: Include <stdint.h>.
77519 (NDEBUG): Do not define.
77520 (round_and_return): Change EXPONENT parameter to type intmax_t.
77521 Rearrange calculations to avoid internal overflow possibilities.
77522 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77523 Rearrange calculations to avoid internal overflow possibilities.
77524 Assert that number fits inside MPNSIZE limbs.
77525 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77526 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77527 calculations and add assertions to avoid internal overflow
77528 possibilities. Add casts to avoid signed/unsigned operations.
77529 * stdlib/tst-strtod-overflow.c: New file.
77530 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77531
77532 2012-08-25 Marek Polacek <polacek@redhat.com>
77533
77534 * time/time.h: Fix some typos in comments.
77535
77536 2012-08-23 Roland McGrath <roland@hack.frob.com>
77537
77538 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77539 * posix/tst-rfc3484-2.c: Likewise.
77540 * posix/tst-rfc3484-3.c: Likewise.
77541
77542 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77543
77544 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77545 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77546
77547 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77548
77549 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77550 #include of fxstatat64.c.
77551
77552 2012-08-22 Roland McGrath <roland@hack.frob.com>
77553
77554 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77555 * shadow/getspent_r.c: Likewise.
77556 * shadow/getspnam.c: Likewise.
77557 * shadow/getspnam_r.c: Likewise.
77558 * gshadow/getsgent.c: Likewise.
77559 * gshadow/getsgent_r.c: Likewise.
77560 * gshadow/getsgnam.c: Likewise.
77561 * gshadow/getsgnam_r.c: Likewise.
77562 * inet/getnetbyad.c: Likewise.
77563 * inet/getnetbyad_r.c: Likewise.
77564 * inet/getnetbynm.c: Likewise.
77565 * inet/getnetbynm_r.c: Likewise.
77566 * inet/getnetent.c: Likewise.
77567 * inet/getnetent_r.c: Likewise.
77568 * inet/getproto.c: Likewise.
77569 * inet/getproto_r.c: Likewise.
77570 * inet/getprtent.c: Likewise.
77571 * inet/getprtent_r.c: Likewise.
77572 * inet/getprtname.c: Likewise.
77573 * inet/getprtname_r.c: Likewise.
77574 * inet/getrpcbyname.c: Likewise.
77575 * inet/getrpcbyname_r.c: Likewise.
77576 * inet/getrpcbynumber.c: Likewise.
77577 * inet/getrpcbynumber_r.c: Likewise.
77578 * inet/getrpcent.c: Likewise.
77579 * inet/getrpcent_r.c: Likewise.
77580 * inet/getaliasent.c: Likewise.
77581 * inet/getaliasent_r.c: Likewise.
77582 * inet/getaliasname.c: Likewise.
77583 * inet/getaliasname_r.c: Likewise.
77584 * nscd/getgrgid_r.c: Likewise.
77585 * nscd/getgrnam_r.c: Likewise.
77586 * nscd/gethstbyad_r.c: Likewise.
77587 * nscd/gethstbynm3_r.c: Likewise.
77588 * nscd/getpwnam_r.c: Likewise.
77589 * nscd/getpwuid_r.c: Likewise.
77590 * nscd/getsrvbynm_r.c: Likewise.
77591 * nscd/getsrvbypt_r.c: Likewise.
77592 * nscd/gai.c: Likewise.
77593
77594 * configure.in (build_nscd): New substituted variable, set
77595 by --disable-build-nscd and defaults to $use_nscd.
77596 * configure: Regenerated.
77597 * config.make.in (build-nscd): New substituted variable.
77598 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77599 Change conditional to require [$(build-nscd) = yes] as well.
77600 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77601
77602 [BZ #13696]
77603 * configure.in (use_nscd): New substituted variable, set by
77604 --disable-nscd. If enabled, define USE_NSCD.
77605 * configure: Regenerated.
77606 * config.h.in: Add USE_NSCD.
77607 * config.make.in (use-nscd): New substituted variable.
77608 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77609 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77610 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77611 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77612 (CFLAGS-getgrnam_r.c): Likewise.
77613 (CFLAGS-initgroups.c): Likewise.
77614 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77615 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77616 Variables removed.
77617 * inet/getnetgrent_r.c
77618 (nscd_setnetgrent): New function, broken out of ...
77619 (setnetgrent): ... here. Call it.
77620 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77621 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77622 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77623 * nscd/Makefile (routines, aux): Move definitions after include of
77624 Makeconfig. Conditionalize on [$(use-nscd) != no].
77625 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77626 Conditionalize on [USE_NSCD].
77627 (is_nscd, nscd_init_cb): Likewise.
77628 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77629 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77630 * nss/nss_db/db-init.c: Likewise.
77631 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77632 [USE_NSCD].
77633 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77634 (make_request): Use it.
77635 (cache_valid_p): New function.
77636 (__check_pf): Use it.
77637 * NEWS: Add item for --disable-nscd.
77638
77639 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77640
77641 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77642 to support sed >= 4.2.1-20-ga9bf076.
77643 * configure: Regenerated.
77644
77645 2012-08-22 Roland McGrath <roland@hack.frob.com>
77646
77647 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77648 Conditionalize whole body on [IREL].
77649
77650 2012-08-22 Jeff Law <law@redhat.com>
77651
77652 [BZ #14505]
77653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77654 if the family is PF_UNSPEC.
77655
77656 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77657
77658 * Makerules (lib-version): Rename from V.
77659 (install-lib-nosubdir): Change V to lib-version.
77660
77661 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77662
77663 [BZ #14252]
77664 * powerpc32/power6/wcschr.c: New file.
77665 * powerpc32/power6/wcscpy.c: New file.
77666 * powerpc32/power6/wcsrchr.c: New file.
77667 * powerpc64/power6/wcschr.c: New file.
77668 * powerpc64/power6/wcscpy.c: New file.
77669 * powerpc64/power6/wcsrchr.c: New file.
77670
77671 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77672
77673 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77674 (two_way_short_needle): Use it.
77675 * string/strstr.c (AVAILABLE1_USES_J): Define.
77676 * string/strcasestr.c: Likewise.
77677
77678 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77679 array references.
77680 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77681
77682 [BZ #11607]
77683 * NEWS: Add an entry.
77684 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77685 define their defaults.
77686 (two_way_short_needle): Detect end-of-string on-the-fly.
77687 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77688 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77689 * string/bug-strcasestr1.c: New test.
77690 * string/Makefile: Run it.
77691
77692 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77693
77694 [BZ #11607]
77695 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77696 the first character.
77697
77698 2012-08-21 Roland McGrath <roland@hack.frob.com>
77699
77700 * csu/elf-init.c (__libc_csu_irel): Function removed.
77701 * csu/libc-start.c (apply_irel): New function.
77702 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77703
77704 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77705
77706 * sysdeps/unix/sysv/linux/kernel-features.h
77707 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77708 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77709 <kernel-features.h>.
77710 [__NR_fadvise64_64]: Make code unconditional.
77711 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77712 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77713 !__NR_fadvise64_64)]: Likewise.
77714 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77715 !__NR_fadvise64_64))]: Likewise.
77716 [__NR_fadvise64]: Make code unconditional.
77717 [!__NR_fadvise64]: Remove conditional code.
77718 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77719 <kernel-features.h>.
77720 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77721 unconditional.
77722 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77723 conditional code.
77724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77725 not include <kernel-features.h>.
77726 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77727 unconditional.
77728 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77729 conditional code.
77730 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77731 include <kernel-features.h>.
77732 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77733 unconditional.
77734 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77735 conditional code.
77736
77737 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77738
77739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77740 slight instruction rearrangements per scrollpipe analysis.
77741 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77742
77743 2012-08-20 Roland McGrath <roland@hack.frob.com>
77744
77745 * manual/syslog.texi (syslog; vsyslog, closelog):
77746 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77747 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77748
77749 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77750 DSOCAPS to match condition on defining it.
77751
77752 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77753
77754 * sysdeps/unix/sysv/linux/kernel-features.h
77755 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77757 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77758 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77760 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77761 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77763 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77764 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77765
77766 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77767 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77768
77769 * sysdeps/unix/sysv/linux/kernel-features.h
77770 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77771 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77772 unconditional.
77773 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77774 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77775 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77776 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77777 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77778 Make code unconditional.
77779 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77780 (__mmap64) [!__NR_mmap2]: Likewise.
77781 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77782 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77783 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77784 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77785 [__NR_mmap2]: Make code unconditional.
77786 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77787 (__mmap64) [!__NR_mmap2]: Likewise.
77788
77789 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77790
77791 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77792
77793 2012-08-18 Andreas Jaeger <aj@suse.de>
77794
77795 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77796
77797 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77798
77799 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77800 * include/unistd.h (__have_sock_cloexec): Likewise.
77801 (__have_pipe2): Likewise.
77802 (__have_dup3): Likewise.
77803
77804 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77805
77806 [BZ #9685]
77807 * include/unistd.h (__have_pipe2): Change define into an extern int.
77808 (__have_dup3): Likewise.
77809 * socket/have_sock_cloexec.c: Include fcntl.h.
77810 (__have_pipe2): New variable.
77811 (__have_dup3): Likewise.
77812
77813 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77814
77815 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77816
77817 2012-08-17 Marek Polacek <polacek@redhat.com>
77818
77819 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77820 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77821
77822 2012-08-17 Roland McGrath <roland@hack.frob.com>
77823
77824 * configure.in: Add AC_SUBST for sysheaders.
77825 * configure: Regenerated.
77826 * config.make.in (sysheaders): New substituted variable.
77827
77828 * sysdeps/unix/mkfifo.c: Moved ...
77829 * sysdeps/posix/mkfifo.c: ... here.
77830 * sysdeps/unix/mkfifoat.c: Moved ...
77831 * sysdeps/posix/mkfifoat.c: ... here.
77832
77833 * sysdeps/unix/utime.c: Moved ...
77834 * sysdeps/posix/utime.c: ... here.
77835
77836 * sysdeps/unix/time.c: Moved ...
77837 * sysdeps/posix/time.c: ... here.
77838 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77839 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77840
77841 * sysdeps/unix/nice.c: Moved ...
77842 * sysdeps/posix/nice.c: ... here.
77843
77844 * sysdeps/unix/alarm.c: Moved ...
77845 * sysdeps/posix/alarm.c: ... here.
77846
77847 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77848
77849 2012-08-17 Jeff Law <law@redhat.com>
77850
77851 * intl/Makefile (codeset_mo): New variable.
77852 ($(codeset_mo)): New target.
77853 (tst-codeset.out): Depend on that. Remove explicit rule.
77854 (tst-gettext3.out, tst-gettext5.out): Likewise.
77855 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77856 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77857 * intl/tst-codeset.sh: Remove.
77858 * intl/tst-gettext3.sh: Likewise.
77859 * intl/tst-gettext5.sh: Likewise.
77860
77861 2012-08-17 Roland McGrath <roland@hack.frob.com>
77862
77863 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77864 * sysdeps/unix/syscalls.list: ... here.
77865
77866 * sysdeps/posix/getaddrinfo.c
77867 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77868 (gaiconf_init, gaiconf_reload): Use them.
77869 [!_STATBUF_ST_NSEC]
77870 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77871 Define using time_t rather than struct timespec.
77872
77873 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77874 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77875 Macros removed.
77876 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77877 [!NO_THREADS].
77878 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77879 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77880 Likewise.
77881
77882 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77883 __libc_cleanup_push argument.
77884
77885 * bits/param.h: New file.
77886 * misc/sys/param.h: New file.
77887 * include/sys/param.h: New file.
77888 * misc/Makefile (headers): Add bits/param.h.
77889 * sysdeps/generic/sys/param.h: File removed.
77890 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77891 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77892 * sysdeps/mach/hurd/bits/param.h: New file.
77893 * sysdeps/mach/hurd/sys/param.h: File removed.
77894
77895 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77896 last change.
77897
77898 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77899 [_IO_MTSAFE_IO].
77900 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77901 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77902 New macros.
77903
77904 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77905 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77906 rather than -D_IO_MTSAFE_IO conditionally.
77907 * stdio-common/Makefile (CPPFLAGS): Likewise.
77908 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77909 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77910 Use $(libio-mtsafe).
77911 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77912 of -D_IO_MTSAFE_IO.
77913 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77914 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77915 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77916 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77917 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77918 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77919 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77920 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77921 (CFLAGS-fread_u_chk.c): Likewise.
77922 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77923 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77924 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77925 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77926 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77927 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77928 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77929 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77930 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77931
77932 * libio/Makefile: Test [$(libc-reentrant) = yes]
77933 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77934
77935 * Makeconfig
77936 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77937 * sysdeps/pthread/configure: File removed.
77938 * sysdeps/pthread/Makeconfig: New file.
77939 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77940 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77941
77942 2012-08-16 Gary Benson <gbenson@redhat.com>
77943
77944 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77945 unmapping the first object in a namespace.
77946
77947 2012-08-16 Roland McGrath <roland@hack.frob.com>
77948
77949 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77950 (__internal_setnetgrent): ... this. Add internal_function to
77951 definition. Add libc_hidden_def.
77952 (setnetgrent): Update caller.
77953 (internal_endnetgrent): Renamed to ...
77954 (__internal_endnetgrent): ... this. Add internal_function to
77955 definition. Add libc_hidden_def.
77956 (endnetgrent): Update caller.
77957 (internal_getnetgrent_r): Renamed to ...
77958 (__internal_getnetgrent_r): ... this. Add internal_function to
77959 definition. Add libc_hidden_def.
77960 (__getnetgrent_r): Update caller.
77961 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77962
77963 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77964
77965 * stdlib/longlong.h: Update from GCC.
77966
77967 2012-08-16 Roland McGrath <roland@hack.frob.com>
77968
77969 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77970 on _QL, which is set by umul_ppmm but never used.
77971 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77972 variables, which are set by GMP macros but never used.
77973 * stdio-common/_itowa.c (_itowa): Likewise.
77974 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77975 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77976
77977 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77978
77979 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77980 struct La_sh_regs is not constant.
77981 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77982 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77983 and struct La_sparc64_regs are not constant.
77984
77985 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77986
77987 * sysdeps/unix/sysv/linux/kernel-features.h
77988 (__ASSUME_POSIX_TIMERS): Remove.
77989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77991 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77992 Make code unconditional.
77993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77994 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77995 Make code unconditional.
77996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77997 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77998 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78000 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78001 Make code unconditional.
78002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78003 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78004 (__libc_missing_posix_timers): Remove.
78005
78006 2012-08-15 Roland McGrath <roland@hack.frob.com>
78007
78008 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78009 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78010
78011 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78012
78013 * elf/dl-sym.c: Include <stdlib.h>.
78014
78015 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78016 constants, which avoids warnings in 32-bit builds.
78017
78018 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78019 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78020
78021 * misc/lseek.c: File moved to ...
78022 * io/lseek.c: ... here.
78023
78024 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78025
78026 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78027 shifting LEN more than 31 bits at once.
78028
78029 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78030
78031 [BZ #14195]
78032 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78033 segmentation fault for a case of two empty input strings.
78034 * string/test-strncasecmp.c (check1): Renamed to...
78035 (bz12205): ...this.
78036 (bz14195): Add new testcase for two empty input strings and N > 0.
78037 (test_main): Call new testcase, adapt for renamed function.
78038
78039 2012-08-15 Andreas Jaeger <aj@suse.de>
78040
78041 [BZ #14090]
78042 * crypt/md5test2.c: New test, based on test supplied by Serge
78043 Belyshev <belyshev@depni.sinp.msu.ru>.
78044 * crypt/Makefile (xtests): Add md5test-giant..
78045 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78046
78047 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78048
78049 [BZ #14090]
78050 * crypt/md5.c (md5_process_block): Don't assume the buffer
78051 length is less than 2**32.
78052 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78053 length is less than 2**64.
78054
78055 2012-08-15 Roland McGrath <roland@hack.frob.com>
78056
78057 * string/str-two-way.h: Include <sys/param.h>.
78058 (MAX): Macro removed.
78059
78060 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78061 Move #define and #undef of memmove to just before and after
78062 including <string.h>.
78063
78064 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78065 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78066 and after including <string.h>. Move declarations of
78067 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78068 to before #include "string/memmove.c".
78069
78070 * include/dirent.h: Declare __getdirentries.
78071
78072 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78073 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78074
78075 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78076
78077 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78078 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78079 * sysdeps/i386/configure: Regenerated.
78080 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78081 STABS_CURRENT_FILE, and STABS_FUN.
78082 (END): Remove call to STABS_FUN_END.
78083 (STABS_CURRENT_FILE1): Delete.
78084 (STABS_CURRENT_FILE): Likewise.
78085 (STABS_FUN): Likewise.
78086 (STABS_FUN_END): Likewise.
78087 (STABS_FUN2): Likewise.
78088 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78089 * sysdeps/x86_64/configure: Regenerated.
78090
78091 2012-08-14 Roland McGrath <roland@hack.frob.com>
78092
78093 * elf/dl-open.c: Include <atomic.h>.
78094 * elf/dl-lookup.c: Likewise.
78095
78096 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78097
78098 * sysdeps/unix/sysv/linux/kernel-features.h
78099 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78100 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78101 unconditionally.
78102 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78103 unconditionally.
78104 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78105 condition on __ASSUME_CLONE_THREAD_FLAGS.
78106
78107 2012-08-14 Andreas Jaeger <aj@suse.de>
78108
78109 * sysdeps/i386/fpu/libm-test-ulps: Update.
78110
78111 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78112
78113 * include/atomic.h (atomic_exchange_and_add): Split into ...
78114 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78115 New atomic macros.
78116
78117 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78118
78119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78120
78121 2012-08-13 Jeff Law <law@redhat.com>
78122
78123 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78124 null byte in the output string.
78125
78126 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78127
78128 * sysdeps/unix/sysv/linux/kernel-features.h
78129 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78130 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78131 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78132 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78133 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78134 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78135 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78136
78137 2012-08-09 Jeff Law <law@redhat.com>
78138
78139 [BZ #13939]
78140 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78141 When avoid_arena is set, don't retry in the that arena. Pick the
78142 next one, whatever it might be.
78143 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78144 (arena_lock): Pass in new parameter to arena_get2.
78145 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78146 arena_get2.
78147 (__libc_malloc): Unify retrying after main arena failure with
78148 __libc_memalign version.
78149 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78150
78151 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78152
78153 [BZ #14166]
78154 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78155 to __redirect_strstr.
78156 (__strstr_sse42): Use typeof __redirect_strstr.
78157 (__strstr_ia32): Likewise.
78158 (__libc_strstr): New prototype.
78159 (strstr): Renamed to ...
78160 (__libc_strstr): This.
78161 (strstr): New strong alias of __libc_strstr.
78162 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78163 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78164 __redirect_time.
78165 Include <time.h>.
78166 (__libc_time): New prototype.
78167 (time_ifunc): Replace time with __libc_time.
78168 (time): New strong alias and hidden definition of __libc_time.
78169 (__GI_time): Remove strong alias.
78170 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78171 Include <stddef.h>.
78172 (memmove): Redefined to __redirect_memmove.
78173 (__memmove_sse2): Use typeof __redirect_memmove.
78174 (__memmove_ssse3): Likewise.
78175 (__memmove_ssse3_back): Likewise.
78176 (__libc_memmove): New prototype.
78177 (memmove): Renamed to ...
78178 (__libc_memmove): This.
78179 (memmove): New strong alias of __libc_memmove.
78180
78181 2012-08-08 Mark Salter <msalter@redhat.com>
78182
78183 * elf/elf.h
78184 (R_MN10300_TLS_GD): Define.
78185 (R_MN10300_TLS_LD): Likewise.
78186 (R_MN10300_TLS_LDO): Likewise.
78187 (R_MN10300_TLS_GOTIE): Likewise.
78188 (R_MN10300_TLS_IE): Likewise.
78189 (R_MN10300_TLS_LE): Likewise.
78190 (R_MN10300_TLS_DTPMOD): Likewise.
78191 (R_MN10300_TLS_DTPOFF): Likewise.
78192 (R_MN10300_TLS_TPOFF): Likewise.
78193 (R_MN10300_SYM_DIFF): Likewise.
78194 (R_MN10300_ALIGN): Likewise.
78195 (R_MN10300_NUM): Update.
78196
78197 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78198
78199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78200 Remove.
78201
78202 2012-08-08 Roland McGrath <roland@hack.frob.com>
78203
78204 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78205
78206 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78207 sysdeps/unix -> sysdeps/posix move.
78208 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78209
78210 2012-08-07 Allan McRae <allan@archlinux.org>
78211
78212 [BZ #14303]
78213 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78214 (SUNOS_CPP): Likewise.
78215 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78216 not found.
78217 (open_input): Call CPP using execvp.
78218
78219 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78220
78221 * sysdeps/unix/sysv/linux/kernel-features.h
78222 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78223 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78224 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78225 (__ASSUME_WAITID_SYSCALL): Likewise.
78226 * sysdeps/unix/sysv/linux/dl-execstack.c
78227 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78228 code unconditional.
78229 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78230 conditional code.
78231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78232 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78233 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78234 code.
78235 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78236 unconditional.
78237 [__ASSUME_WAITID_SYSCALL]: Likewise.
78238 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78239
78240 2012-08-07 Roland McGrath <roland@hack.frob.com>
78241
78242 * sysdeps/unix/closedir.c: Renamed to ...
78243 * sysdeps/posix/closedir.c: ... here.
78244 * sysdeps/unix/dirfd.c: Renamed to ...
78245 * sysdeps/posix/dirfd.c: ... here.
78246 * sysdeps/unix/dirstream.h: Renamed to ...
78247 * sysdeps/posix/dirstream.h: ... here.
78248 * sysdeps/unix/fdopendir.c: Renamed to ...
78249 * sysdeps/posix/fdopendir.c: ... here.
78250 * sysdeps/unix/opendir.c: Renamed to ...
78251 * sysdeps/posix/opendir.c: ... here.
78252 * sysdeps/unix/readdir.c: Renamed to ...
78253 * sysdeps/posix/readdir.c: ... here.
78254 * sysdeps/unix/readdir_r.c: Renamed to ...
78255 * sysdeps/posix/readdir_r.c: ... here.
78256 * sysdeps/unix/rewinddir.c: Renamed to ...
78257 * sysdeps/posix/rewinddir.c: ... here.
78258 * sysdeps/unix/seekdir.c: Renamed to ...
78259 * sysdeps/posix/seekdir.c: ... here.
78260 * sysdeps/unix/telldir.c: Renamed to ...
78261 * sysdeps/posix/telldir.c: ... here.
78262 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78263 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78264 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78265 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78266
78267 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78268 * bits/fcntl.h: ... here.
78269
78270 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78271 not 0.
78272 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78273 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78274 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78275 (struct flock): Move l_start, l_len to the beginning.
78276 Use __pid_t for l_pid.
78277 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78278 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78279 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78280 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78281 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78282 [__USE_LARGEFILE64] (struct flock64): New type.
78283 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78284
78285 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78286 * bits/dirent.h: ... here.
78287
78288 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78289 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78290
78291 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78292
78293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78294 Change from 2.6.0 to 2.6.16.
78295 * sysdeps/unix/sysv/linux/configure: Regenerated.
78296 * sysdeps/unix/sysv/linux/kernel-features.h
78297 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78298 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78299 version.
78300 (__ASSUME_UTIMES): Likewise.
78301 (__ASSUME_CLONE_STOPPED): Remove.
78302 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78303 architectures, not kernel version.
78304 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78305 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78306 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78307 (__ASSUME_WAITID_SYSCALL): Likewise.
78308 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78309 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78310 * README: State 2.6.16 as minimum Linux kernel version. Do not
78311 refer to older versions.
78312
78313 2012-08-06 Roland McGrath <roland@hack.frob.com>
78314
78315 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78316 Define alphasort64 as an alias.
78317 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78318 Define versionsort64 as an alias.
78319 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78320 Define scandir64 as an alias.
78321 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78322 Define scandirat64 as an alias.
78323 * dirent/alphasort64.c (alphasort64):
78324 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78325 * dirent/versionsort64.c: Likewise.
78326 * dirent/scandir64.c: Likewise.
78327 * dirent/scandirat64.c: Likewise.
78328 * sysdeps/wordsize-64/alphasort.c: File removed.
78329 * sysdeps/wordsize-64/alphasort64.c: File removed.
78330 * sysdeps/wordsize-64/scandir.c: File removed.
78331 * sysdeps/wordsize-64/scandir64.c: File removed.
78332 * sysdeps/wordsize-64/scandirat.c: File removed.
78333 * sysdeps/wordsize-64/scandirat64.c: File removed.
78334 * sysdeps/wordsize-64/versionsort.c: File removed.
78335 * sysdeps/wordsize-64/versionsort64.c: File removed.
78336 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78342 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78344
78345 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78347 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78349 [defined __arch64__ || defined __sparcv9]
78350 (__INO_T_MATCHES_INO64_T): New macro.
78351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78352 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78353 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78354 * sysdeps/unix/sysv/linux/bits/dirent.h
78355 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78356 (_DIRENT_MATCHES_DIRENT64): New macro.
78357
78358 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78359 Define lockf64 as an alias.
78360 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78361 Define fseeko64 as an alias.
78362 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78363 Define ftello64 as an alias.
78364 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78365 Define _IO_fgetpos64 and fgetpos64 as aliases.
78366 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78367 Define _IO_fsetpos64 and fsetpos64 as aliases.
78368 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78369 Conditionalize body on this.
78370 * libio/fseeko64.c: Likewise.
78371 * libio/ftello64.c: Likewise.
78372 * libio/iofgetpos64.c: Likewise.
78373 * libio/iofsetpos64.c: Likewise.
78374 * sysdeps/wordsize-64/lockf.c: File removed.
78375 * sysdeps/wordsize-64/lockf64.c: File removed.
78376 * sysdeps/wordsize-64/fseeko.c: File removed.
78377 * sysdeps/wordsize-64/fseeko64.c: File removed.
78378 * sysdeps/wordsize-64/ftello.c: File removed.
78379 * sysdeps/wordsize-64/ftello64.c: File removed.
78380 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78381 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78382 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78383 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78386 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78388 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78392 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78394
78395 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78397 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78399 [defined __arch64__ || defined __sparcv9]
78400 (__OFF_T_MATCHES_OFF64_T): New macro.
78401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78402 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78404 (__OFF_T_MATCHES_OFF64_T): New macro.
78405
78406 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78407
78408 * stdlib/secure-getenv.c (__secure_getenv): Replace
78409 GLIBC_2_16 with GLIBC_2_17.
78410
78411 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78412
78413 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78415
78416 2012-08-03 David S. Miller <davem@davemloft.net>
78417
78418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78419
78420 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78421
78422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78423 Remove.
78424 (__ASSUME_CORRECT_SI_PID): Likewise.
78425 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78426 (__ASSUME_TMPFS_NAME): Likewise.
78427 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78428 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78429 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78430 (HAVE_AUX_SECURE): Make definition unconditional.
78431 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78432 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78433
78434 2012-08-03 Roland McGrath <roland@hack.frob.com>
78435
78436 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78437 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78438 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78440 __eloop_threshold instead of SYMLOOP_MAX.
78441
78442 * sysdeps/generic/eloop-threshold.h: New file.
78443 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78444 of MAXSYMLINKS.
78445 * elf/chroot_canon.c (chroot_canon): Likewise.
78446
78447 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78448
78449 [BZ #13717]
78450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78451 Change to 2.6.0 everywhere.
78452 * sysdeps/unix/sysv/linux/configure: Regenerated.
78453 * sysdeps/unix/sysv/linux/kernel-features.h
78454 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78455 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78456 kernel versions.
78457 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78458 (__ASSUME_FUTEX_REQUEUE): Remove.
78459 (__ASSUME_STATFS64): Define unconditionally.
78460 (__ASSUME_AT_SECURE): Likewise.
78461 (__ASSUME_CORRECT_SI_PID): Likewise.
78462 (__ASSUME_TGKILL): Define without depending on kernel version for
78463 i386.
78464 (__ASSUME_UTIMES): Likewise.
78465 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78466 kernel version.
78467 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78468 (__ASSUME_TMPFS_NAME): Likewise.
78469 * README: Update reference to Linux kernel versions.
78470
78471 2012-08-02 Marek Polacek <polacek@redhat.com>
78472
78473 [BZ #14150]
78474 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78475 libc_cv_asm_type_prefix with %.
78476 * configure: Regenerated.
78477 * include/libc-symbols.h: Remove comment about
78478 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78479 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78480 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78481 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78482 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78483 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78484 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78485 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78486 * elf/tst-unique2mod1.c: Likewise.
78487 * elf/tst-unique1mod2.c: Likewise.
78488 * elf/tst-unique1mod1.c: Likewise.
78489 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78490 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78491 Replace ASM_TYPE_DIRECTIVE with .type.
78492 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78493 * sysdeps/i386/sysdep.h: Likewise.
78494 * sysdeps/x86_64/sysdep.h: Likewise.
78495 * sysdeps/sh/sysdep.h: Likewise.
78496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78497 Do not define ASM_TYPE_DIRECTIVE.
78498 * sysdeps/powerpc/sysdep.h: Likewise.
78499 * sysdeps/powerpc/powerpc32/sysdep.h:
78500 Replace ASM_TYPE_DIRECTIVE with .type.
78501 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78502 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78503 * sysdeps/i386/fpu/e_powf.S: Likewise.
78504 * sysdeps/i386/fpu/e_expl.S: Likewise.
78505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78507 * sysdeps/i386/fpu/e_pow.S: Likewise.
78508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78512 * sysdeps/i386/fpu/e_log2.S: Likewise.
78513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78515 * sysdeps/i386/fpu/e_powl.S: Likewise.
78516 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78517 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78518 * sysdeps/i386/fpu/e_logl.S: Likewise.
78519 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78520 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78521 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78522 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78524 * sysdeps/i386/fpu/e_log.S: Likewise.
78525 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78526 * sysdeps/i386/fpu/e_logf.S: Likewise.
78527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78529 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78530 * sysdeps/i386/fpu/e_log10.S: Likewise.
78531 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78532 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78533 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78534 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78537 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78538 * sysdeps/i386/i686/strtok.S: Likewise.
78539 * sysdeps/i386/i386-mcount.S: Likewise.
78540 * sysdeps/i386/strtok.S: Likewise.
78541 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78542 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78544 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78545 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78546 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78547 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78548 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78550 * sysdeps/x86_64/_mcount.S: Likewise.
78551 * sysdeps/x86_64/strtok.S: Likewise.
78552 * sysdeps/sh/_mcount.S: Likewise.
78553
78554 2012-08-01 Roland McGrath <roland@hack.frob.com>
78555
78556 * libio/iofopen.c: Include <fcntl.h>.
78557 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78558 (_IO_fopen64, fopen64): Define as aliases.
78559 * libio/iofopen64.c: Include <fcntl.h>.
78560 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78561 Conditionalize body on this.
78562 * sysdeps/wordsize-64/iofopen.c: File removed.
78563 * sysdeps/wordsize-64/iofopen64.c: File removed.
78564
78565 2012-08-01 Marek Polacek <polacek@redhat.com>
78566
78567 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78568 Use dlfcn directly instead of a variable.
78569 (binfmt-subdir): Do not define.
78570 (dlfcn): Likewise.
78571
78572 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78573
78574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78575 Remove all definitions.
78576 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78577 <kernel-features.h>.
78578 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78579 (miss_F_GETOWN_EX): Remove all definitions.
78580 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78581 macro definition.
78582 [!__ASSUME_FCNTL64]: Remove conditional code.
78583 [__ASSUME_FCNTL64]: Make code unconditional.
78584 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78585 <kernel-features.h>.
78586 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78587 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78588 (lockf64) [__NR_fcntl64]: Make code unconditional.
78589 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78590
78591 * sysdeps/unix/sysv/linux/kernel-features.h
78592 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78593 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78594 Make code unconditional.
78595 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78596 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78598 [__NR_vfork]: Make code unconditional.
78599 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78600 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78602 [__NR_vfork]: Make code unconditional.
78603 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78604 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78605
78606 2012-08-01 Roland McGrath <roland@hack.frob.com>
78607
78608 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78609 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78610
78611 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78612 Define mkstemp64 as an alias.
78613 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78614 Define mkstemps64 as an alias.
78615 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78616 Define mkostemp64 as an alias.
78617 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78618 Define mkostemps64 as an alias.
78619 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78620 Conditionalize body on this.
78621 * misc/mkostemp64.c: Likewise.
78622 * misc/mkostemps64.c: Likewise.
78623 * misc/mkstemps64.c: Likewise.
78624 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78625 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78626 * sysdeps/wordsize-64/mkostemp.c: File removed.
78627 * sysdeps/wordsize-64/mkstemp.c: File removed.
78628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78632
78633 [BZ #14138]
78634 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78635 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78636 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78637 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78638
78639 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78640 compat_symbol macros from <shlib-compat.h> rather than the underlying
78641 default_symbol_version and symbol_version macros, so that DEFAULT
78642 lines in shlib-versions are respected.
78643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78644
78645 2012-08-01 Florian Weimer <fweimer@redhat.com>
78646
78647 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78648 Declare with warn_unused_result.
78649 (setgid, setregid, setegid, setresgid): Likewise.
78650 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78651 Likewise.
78652 * WUR-REPORT: Remove set*id functions.
78653
78654 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78655
78656 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78657
78658 2012-07-31 Roland McGrath <roland@hack.frob.com>
78659
78660 [BZ #10191]
78661 * include/sys/socket.h (__libc_accept, __libc_accept4):
78662 Add attribute_hidden.
78663 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78664
78665 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78666 use of PTR_MANGLE.
78667 * inet/getnetgrent_r.c (setup): Likewise.
78668
78669 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78670
78671 2012-07-31 David S. Miller <davem@davemloft.net>
78672
78673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78674
78675 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78676
78677 [BZ #13629]
78678 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78679 value between 1.0 and 2.0 and smaller part has absolute value less
78680 than 1.0.
78681 * math/s_clog10.c (__clog10): Likewise.
78682 * math/s_clog10f.c (__clog10f): Likewise.
78683 * math/s_clog10l.c (__clog10l): Likewise.
78684 * math/s_clogf.c (__clogf): Likewise.
78685 * math/s_clogl.c (__clogl): Likewise.
78686 * math/libm-test.inc (clog_test): Add more tests.
78687 (clog10_test): Likewise.
78688 * sysdeps/i386/fpu/libm-test-ulps: Update.
78689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78690
78691 2012-07-31 Florian Weimer <fweimer@redhat.com>
78692
78693 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78694 Exit with zero in case no suitable GID is found, and write a
78695 message to standard error.
78696
78697 2012-07-30 Roland McGrath <roland@hack.frob.com>
78698
78699 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78700 rather than to 1.
78701 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78702 (MAXPATHLEN): Removed.
78703 (NOGROUP, NODEV): New macros.
78704 (setbit, clrbit, isset, isclr): New macros.
78705 (howmany, roundup, powerof2): New macros.
78706 (DEV_BSIZE): New macro.
78707
78708 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78709 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78710
78711 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78712 definition on [!__NO_LONG_DOUBLE_MATH].
78713
78714 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78715 PTR_MANGLE and PTR_DEMANGLE.
78716
78717 * socket/accept4.c (accept4): Rename to __libc_accept4.
78718 Define accept4 as a weak alias.
78719
78720 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78721 on [_DIRENT_HAVE_D_TYPE].
78722 * io/ftw.c (ftw_dir): Likewise.
78723
78724 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78725
78726 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78727
78728 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78729 Use the BSD numbers rather than the arbitrary ones we had.
78730 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78731 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78732 (SIGXCPU, SIGXFSZ): New macros.
78733 (_NSIG): Now 32.
78734
78735 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78736 initializer on [_LIBC_REENTRANT].
78737
78738 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78739 definitions inside [_POSIX_MAPPED_FILES].
78740
78741 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78742
78743 * dirent/opendir.c: Include <fcntl.h>.
78744
78745 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78746 (__libc_getspecific): Likewise.
78747 (__libc_key_create): Likewise.
78748
78749 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78750 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78751 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78752 (tmpfile64): Define as alias.
78753 * sysdeps/wordsize-64/tmpfile.c: File removed.
78754 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78757
78758 * stdio-common/vfscanf.c: Include <stdbool.h>.
78759 * nss/makedb.c: Likewise.
78760 * stdio-common/_i18n_number.h: Likewise.
78761 * argp/argp-help.c: Likewise.
78762 * posix/wordexp.c: Likewise.
78763 * sysdeps/posix/spawni.c: Likewise.
78764 * nss/nss_files/files-initgroups.c: Likewise.
78765 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78766 * nss/nss_files/files-initgroups.c: Likewise.
78767 * nss/nss_db/db-netgrp.c: Likewise.
78768 * nss/nss_db/db-initgroups.c: Likewise.
78769 * io/fchmodat.c: Include <sys/stat.h>.
78770
78771 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78772 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78773
78774 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78775 [HAVE_MMAP].
78776
78777 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78778 Add multiple inclusion protection.
78779
78780 2012-07-27 David S. Miller <davem@davemloft.net>
78781
78782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78783
78784 2012-07-27 Gary Benson <gbenson@redhat.com>
78785
78786 [BZ #14298]
78787 * elf/rtld.c: Include <stap-probe.h>.
78788 (dl_main): Added static probes "init_start" and "init_complete".
78789 * elf/dl-load.c: Include <stap-probe.h>.
78790 (lose): Take new parameter "nsid".
78791 Added static probe "map_failed".
78792 (_dl_map_object_from_fd): Pass namespace id to lose.
78793 Added static probe "map_start".
78794 (open_verify): Pass namespace id to lose.
78795 * elf/dl-open.c: Include <stap-probe.h>.
78796 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78797 and "reloc_complete".
78798 * elf/dl-close.c: Include <stap-probe.h>.
78799 (_dl_close_worker): Added static probes "unmap_start" and
78800 "unmap_complete".
78801 * elf/rtld-debugger-interface.txt: New file documenting the above.
78802
78803 2012-07-26 Roland McGrath <roland@hack.frob.com>
78804
78805 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78806 rather than a string variable.
78807 * sunrpc/rpc_main.c (h_output): Likewise.
78808 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78809
78810 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78811
78812 * inet/check_native.c: New file.
78813
78814 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78815
78816 [BZ #13629]
78817 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78818 if larger part has absolute value 1.0.
78819 * math/s_clog10.c (__clog10): Likewise.
78820 * math/s_clog10f.c (__clog10f): Likewise.
78821 * math/s_clog10l.c (__clog10l): Likewise.
78822 * math/s_clogf.c (__clogf): Likewise.
78823 * math/s_clogl.c (__clogl): Likewise.
78824 * math/libm-test.inc (clog_test): Add more tests.
78825 (clog10_test): Likewise.
78826 * sysdeps/i386/fpu/libm-test-ulps: Update.
78827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78828
78829 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78830 (pltexit): Likewise.
78831 (La_regs): Likewise.
78832 (La_retval): Likewise.
78833 (int_retval): Likewise.
78834 Update #error for removed macros to refer only to definitions in
78835 tst-audit.h.
78836 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78837 macro.
78838 (pltexit): Likewise.
78839 (La_regs): Likewise.
78840 (La_retval): Likewise.
78841 (int_retval): Likewise.
78842 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78843 macro.
78844 (pltexit): Likewise.
78845 (La_regs): Likewise.
78846 (La_retval): Likewise.
78847 (int_retval): Likewise.
78848 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78849 macro.
78850 (pltexit): Likewise.
78851 (La_regs): Likewise.
78852 (La_retval): Likewise.
78853 (int_retval): Likewise.
78854 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78855 macro.
78856 (pltexit): Likewise.
78857 (La_regs): Likewise.
78858 (La_retval): Likewise.
78859 (int_retval): Likewise.
78860 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78861 macro.
78862 (pltexit): Likewise.
78863 (La_regs): Likewise.
78864 (La_retval): Likewise.
78865 (int_retval): Likewise.
78866 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78867 macro.
78868 (pltexit): Likewise.
78869 (La_regs): Likewise.
78870 (La_retval): Likewise.
78871 (int_retval): Likewise.
78872 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78873 macro definitions in tst-audit.h.
78874 * sysdeps/i386/tst-audit.h: New file.
78875 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78876 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78877 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78878 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78879 * sysdeps/sh/tst-audit.h: Likewise.
78880 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78881 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78882 * sysdeps/x86_64/tst-audit.h: Likewise.
78883
78884 2012-07-26 Andreas Jaeger <aj@suse.de>
78885
78886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78887 ptrace.
78888
78889 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78890 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78891 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78892 PTRACE_O_MASK.
78893 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78894 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78895 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78896
78897 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78898 value.
78899
78900 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78901 _sigsys.
78902 (si_call_addr, si_syscall, si_arch): Define new macro.
78903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78904 _sigsys.
78905 (si_call_addr, si_syscall, si_arch): Define new marcro.
78906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78907 _sigsys.
78908 (si_call_addr, si_syscall, si_arch): Define new macro.
78909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78910 _sigsys.
78911 (si_call_addr, si_syscall, si_arch): Define new macro.
78912
78913 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78914
78915 [BZ #13717]
78916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78917 Change to 2.4.21 where previously 2.4.1.
78918 * sysdeps/unix/sysv/linux/configure: Regenerated.
78919 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78920 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78921 Linux kernel version.
78922 (__ASSUME_STD_AUXV): Remove.
78923 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78924 kernel version.
78925 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78926 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78927 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78928 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78929 (__ASSUME_NETLINK_SUPPORT): Likewise.
78930 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78931 (__no_netlink_support): Remove conditional definition.
78932 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78933 Remove.
78934 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78935 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78936 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78937 (if_nameindex_ioctl): Remove.
78938 (if_nameindex_netlink): Do not handle __no_netlink_support.
78939 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78940 code.
78941 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78942 Remove conditional code.
78943 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78944 code.
78945 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78946 unconditional.
78947 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78948 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78949 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78950 Remove.
78951 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78952 [!__ASSUME_STD_AUXV]: Remove conditional code.
78953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78954 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78955 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78957 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78958 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78959 code.
78960 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78962 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78963 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78964 conditional code.
78965 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78967 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78968 code.
78969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78970 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78971 conditional code.
78972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78973 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78974 code unconditional.
78975 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78976 conditional code.
78977 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78978 unconditional.
78979 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78980 conditional code.
78981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78982 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78983 unconditional.
78984 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78985 conditional code.
78986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78987 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78988 code unconditional.
78989 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78990 conditional code.
78991 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78992 unconditional.
78993 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78994 conditional code.
78995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78996 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78997 code unconditional.
78998 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78999 conditional code.
79000 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79001 unconditional.
79002 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79003 conditional code.
79004
79005 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79006
79007 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79008 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79009 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79010 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79011 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79012 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79013 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79014 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79015 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79016 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79017 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79018 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79019 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79020 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79022 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79023 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79024 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79025 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79027 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79028 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79030
79031 2012-07-25 Florian Weimer <fweimer@redhat.com>
79032
79033 * Versions.def: Add GLIBC_2.17.
79034 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79035 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79036 Introduce __libc_secure_getenv.
79037 * stdlib/Versions (2.17): Add secure_getenv
79038 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79039 * stdlib/secure-getenv.c: Rename __secure_getenv to
79040 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79041 symbol __secure_getenv for GLIBC_2.0.
79042 * stdlib/tst-secure-getenv.c: New.
79043 * stdlib/Makefile (tests): Add testcase.
79044 * manual/startup.texi (Environment Access): Document
79045 secure_getenv.
79046 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79047 __libc_secure_getenv.
79048 * inet/ruserpass.c (ruserpass): Likewise.
79049 * malloc/mtrace.c (mtrace): Likewise.
79050 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79051 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79052 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79053 * sysdeps/posix/tempname.c: Likewise. Evaluate
79054 HAVE_SECURE_GETENV.
79055 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79056 __secure_getenv to __libc_secure_getenv.
79057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79059 Likewise.
79060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79061 Likewise.
79062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79069
79070 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79071
79072 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79073 (struct La_i86_retval): Likewise.
79074 (struct La_x86_64_regs): Likewise.
79075 (struct La_x86_64_retval): Likewise.
79076 (struct La_x32_regs): Likewise.
79077 (struct La_x32_retval): Likewise.
79078 (struct La_ppc32_regs): Likewise.
79079 (struct La_ppc32_retval): Likewise.
79080 (struct La_ppc64_regs): Likewise.
79081 (struct La_ppc64_retval): Likewise.
79082 (struct La_sh_regs): Likewise.
79083 (struct La_sh_retval): Likewise.
79084 (struct La_s390_32_regs): Likewise.
79085 (struct La_s390_32_retval): Likewise.
79086 (struct La_s390_64_regs): Likewise.
79087 (struct La_s390_64_retval): Likewise.
79088 (struct La_sparc32_regs): Likewise.
79089 (struct La_sparc32_retval): Likewise.
79090 (struct La_sparc64_regs): Likewise.
79091 (struct La_sparc64_retval): Likewise.
79092 (struct audit_ifaces): Remove architecture-specific pltenter and
79093 pltexit members.
79094 * sysdeps/i386/ldsodefs.h: New file.
79095 * sysdeps/powerpc/ldsodefs.h: Likewise.
79096 * sysdeps/s390/ldsodefs.h: Likewise.
79097 * sysdeps/sh/ldsodefs.h: Likewise.
79098 * sysdeps/sparc/ldsodefs.h: Likewise.
79099 * sysdeps/x86_64/ldsodefs.h: Likewise.
79100
79101 2012-07-25 Marek Polacek <polacek@redhat.com>
79102
79103 [BZ #6808]
79104 * math/libm-test.inc (yn_test): Add another test.
79105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79106 to ERANGE when the result is +-Inf.
79107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79108 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79109 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79110 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79111
79112 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79113
79114 * conform/data/time.h-data (NULL): Use macro-constant. Require
79115 equal to 0.
79116 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79117 clock_t.
79118 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79119
79120 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79121
79122 * configure.in <sysdeps resolving>: Correct printing
79123 Implies_before.
79124 * configure: Regenerate.
79125
79126 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79127
79128 * math/w_ilogb.c: Include <limits.h>.
79129 * math/w_ilogbl.c: Likewise.
79130
79131 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79132
79133 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79134 va_copy. Document allowing for unavailable va_copy only as
79135 pre-C99 compatibility.
79136 * manual/string.texi (Copying and Concatenation): Use va_copy
79137 instead of __va_copy in concat example.
79138
79139 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79140
79141 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79142 (__sendto): Use create_address_port. Initialize APORT and deallocate
79143 it if not null.
79144
79145 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79146 with O_NOLINK passed to __file_name_lookup.
79147
79148 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79149 with O_NOLINK passed to __file_name_lookup.
79150
79151 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79152 negative N or less than NGIDS.
79153
79154 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79155 type to string_t. Set ERANGE as errno and return it if NAME is not big
79156 enough. Use memcpy instead of strncpy.
79157
79158 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79159
79160 * elf/Makefile (check-data): Remove.
79161 (localplt.data): New vpath directive.
79162 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79163 instead of $(check-data).
79164 * scripts/data/localplt-generic.data: Move to ...
79165 * sysdeps/generic/localplt.data: ... here.
79166 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79167 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79168 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79170 ... here.
79171 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79173 ... here.
79174 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79176 ... here.
79177 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79179 ... here.
79180 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79182 ... here.
79183 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79185 ... here.
79186
79187 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79188
79189 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79190 PPC32 and PPC64 files.
79191 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79192 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79193
79194 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79195
79196 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79197 __makecontext_ret to ...
79198 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79199 ... here and call exit if uc_link is NULL. New file.
79200 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79201 __makecontext_ret.S.
79202 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79203 __makecontext_ret to ...
79204 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79205 ... here and call exit if uc_link is NULL. New file.
79206 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79207 __makecontext_ret.S.
79208
79209 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79210
79211 * elf/elf.h (R_390_IRELATIVE): New definition.
79212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79213 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79214 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79215 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79216 (elf_machine_lazy_rel): Likewise.
79217 * sysdeps/s390/dl-irel.h: New file.
79218 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79219 * sysdeps/s390/s390-64/memset.S: New asm code.
79220 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79221 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79222 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79223 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79224 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79225 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79227 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79228 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79229 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79230 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79231 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79232 * sysdeps/s390/s390-32/memset.S: New asm code.
79233 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79234
79235 2012-07-17 Marek Polacek <polacek@redhat.com>
79236
79237 [BZ #14349]
79238 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79239 * sysdeps/s390/s390-64/configure.in: Likewise.
79240 * sysdeps/sparc/configure.in: Likewise.
79241 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79242 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79243 * sysdeps/i386/configure.in: Likewise.
79244 * sysdeps/x86_64/configure.in: Likewise.
79245 * sysdeps/sh/configure.in: Likewise.
79246 * sysdeps/s390/s390-32/configure: Regenerated.
79247 * sysdeps/s390/s390-64/configure: Likewise.
79248 * sysdeps/x86_64/configure: Likewise.
79249 * sysdeps/sh/configure: Likewise.
79250 * sysdeps/powerpc/powerpc64/configure: Likewise.
79251 * sysdeps/powerpc/powerpc32/configure: Likewise.
79252 * sysdeps/sparc/configure: Likewise.
79253 * sysdeps/i386/configure: Likewise.
79254
79255 * elf/dl-open.c: Comment fixes.
79256
79257 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79258
79259 * Makefile [CXX] (check-data): Remove.
79260 [CXX] (c++-types.data): New vpath directive.
79261 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79262 vpath. Do not allow for C++ type data being missing.
79263 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79264 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79265 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79266 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79267 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79268 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79269 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79271 ... here.
79272 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79274 ... here.
79275 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79277 ... here.
79278 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79280 ... here.
79281 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79283 ... here.
79284 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79286 ... here.
79287 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79289 ... here.
79290 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79292
79293 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79294 definitions to architecture-specific files.
79295 (TLS_IE): Likewise.
79296 (TLS_LD): Likewise.
79297 (TLS_GD): Likewise.
79298 * sysdeps/i386/tls-macros.h: New file.
79299 * sysdeps/powerpc/tls-macros.h: Likewise.
79300 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79301 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79302 * sysdeps/sh/tls-macros.h: Likewise.
79303 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79304 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79305 * sysdeps/x86_64/tls-macros.h: Likewise.
79306
79307 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79308
79309 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79310 zero value for regular exit case.
79311
79312 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79313 (__start_context): Preserve zero value for regular exit case.
79314
79315 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79316 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79317
79318 * manual/setjmp.texi (setcontext): Clarify normal process
79319 termination when uc_link is the null pointer.
79320 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79321 exit call.
79322
79323 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79324
79325 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79326 preprocessor. Test for each exception mask separately.
79327
79328 2012-07-16 Andreas Jaeger <aj@suse.de>
79329
79330 * po/ru.po: Update from translation team.
79331
79332 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79333
79334 * conform/data/string.h-data (NULL): Use macro-constant. Require
79335 equal to 0.
79336 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79337 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79338 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79339 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79341
79342 2012-07-13 Andreas Jaeger <aj@suse.de>
79343
79344 * po/fr.po: Update from translation team.
79345
79346 2012-07-12 Marek Polacek <polacek@redhat.com>
79347
79348 [BZ #14173]
79349 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79351 loop condition.
79352
79353 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79354
79355 [BZ #13717]
79356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79357 Change to 2.4.1 where previously 2.4.0.
79358 * sysdeps/unix/sysv/linux/configure: Regenerated.
79359 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79360 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79361 version.
79362 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79363 (__ASSUME_AT_CLKTCK): Remove.
79364 (__ASSUME_AT_PAGESIZE): Likewise.
79365 (__ASSUME_AT_XID): Likewise.
79366 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79367 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79368 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79369 unconditionally.
79370 (HAVE_AUX_PAGESIZE): Likewise.
79371 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79372 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79373 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79374
79375 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79376
79377 [BZ #14307]
79378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79379 the temporary buffer used to invoke __gethostbyname2_r,
79380 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79381 host_data / struct gaih_addrtuple.
79382 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79383 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79384 header file nss/nsswitch.h.
79385 * nss/nsswitch.h (global scope): Add definition of implementation
79386 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79387 resolv/nss_dns/dns-host.c).
79388
79389 2012-07-11 Andreas Jaeger <aj@suse.de>
79390
79391 * po/fr.po: Update from translation team.
79392
79393 * po/sv.po: Update from translation team
79394 * po/fr.po: Another update from translation team.
79395
79396 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79397
79398 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79399 for subnormals or multiply small sinh result by itself.
79400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79402
79403 2012-07-11 David S. Miller <davem@davemloft.net>
79404
79405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79406
79407 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79408
79409 [BZ #14347]
79410 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79411 (INTERNAL_MARK): Shift it here.
79412
79413 2012-07-10 Marek Polacek <polacek@redhat.com>
79414
79415 [BZ #14151]
79416 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79417 libc_cv_asm_global_directive with .globl.
79418 * configure: Regenerated.
79419 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79420 with .globl.
79421 * sysdeps/i386/configure: Regenerated.
79422 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79423 with .globl.
79424 * sysdeps/x86_64/configure: Regenerated.
79425 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79426 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79427 * elf/tst-unique2mod2.c: Likewise.
79428 * elf/tst-unique2mod1.c: Likewise.
79429 * elf/tst-unique1mod2.c: Likewise.
79430 * elf/tst-unique1mod1.c: Likewise.
79431 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79432 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79435 * sysdeps/mach/sysdep.h: Likewise.
79436 * sysdeps/i386/sysdep.h: Likewise.
79437 * sysdeps/i386/i386-mcount.S: Likewise.
79438 * sysdeps/x86_64/_mcount.S: Likewise.
79439 * sysdeps/x86_64/sysdep.h: Likewise.
79440 * sysdeps/sh/_mcount.S: Likewise.
79441 * sysdeps/sh/sysdep.h: Likewise.
79442 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79443 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79444 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79445 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79446 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79447 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79448 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79449 * locale/localeinfo.h: Likewise.
79450 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79451 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79452
79453 2012-07-09 Roland McGrath <roland@hack.frob.com>
79454
79455 [BZ #14336]
79456 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79457 system".
79458 * manual/message.texi (The Uniforum approach): Likewise.
79459 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79460 (glibc iconv Implementation): Likewise.
79461
79462 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79463
79464 [BZ #14337]
79465 * math/s_clog.c (__clog): Avoid scaling a value down where that
79466 could result in underflow.
79467 * math/s_clog10.c (__clog10): Likewise.
79468 * math/s_clog10f.c (__clog10f): Likewise.
79469 * math/s_clog10l.c (__clog10l): Likewise.
79470 * math/s_clogf.c (__clogf): Likewise.
79471 * math/s_clogl.c (__clogl): Likewise.
79472 * math/libm-test.inc (clog_test): Add more tests.
79473 (clog10_test): Likewise.
79474 * sysdeps/i386/fpu/libm-test-ulps: Update.
79475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79476
79477 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79478
79479 [BZ #14283]
79480 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79481 by 7 not 8 to examine high bit of fractional part.
79482
79483 [BZ #14042]
79484 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79485 for call to __mcount_internal.
79486 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79487 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79488 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79489
79490 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79491
79492 [BZ #14154]
79493 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79494 approximation for values within 0x1p-13f of an odd multiple of
79495 pi/4.
79496 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79497 exception. Add more tests.
79498 * sysdeps/i386/fpu/libm-test-ulps: Update.
79499
79500 [BZ #6778]
79501 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79502 inputs and return -1 for them. Do not check for +Inf in case not
79503 reachable for +Inf.
79504 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79505 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79506 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79507 and return -1 for them. Do not check for +Inf in case not
79508 reachable for +Inf.
79509 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79510 define.
79511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79512 and return -1 for them. Do not check for +Inf in case not
79513 reachable for +Inf.
79514 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79515 spurious underflow.
79516 * sysdeps/i386/fpu/libm-test-ulps: Update.
79517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79518
79519 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79520
79521 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79522
79523 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79524
79525 [BZ #14157]
79526 [BZ #14331]
79527 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79528 could result in spurious underflow. Scale down values above
79529 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79530 * math/s_csqrtf.c (__csqrtf): Likewise.
79531 * math/s_csqrtl.c (__csqrtl): Likewise.
79532 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79533 spurious underflow.
79534 * sysdeps/i386/fpu/libm-test-ulps: Update.
79535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79536
79537 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79538
79539 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79540 xopen-msg.sed.
79541 * catgets/xopen-msg.awk: New file.
79542 * catgets/xopen-msg.sed: Removed.
79543
79544 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79545 po2text.sed.
79546 * intl/po2test.awk: New file.
79547 * intl/po2test.sed: Removed.
79548
79549 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79550
79551 [BZ #14328]
79552 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79553 or multiply small sinh result by itself.
79554 * math/s_ctanf.c (__ctanf): Likewise.
79555 * math/s_ctanh.c (__ctanh): Likewise.
79556 * math/s_ctanhf.c (__ctanhf): Likewise.
79557 * math/s_ctanhl.c (__ctanhl): Likewise.
79558 * math/s_ctanl.c (__ctanl): Likewise.
79559 * math/libm-test.inc (ctan_test_tonearest): New function.
79560 (ctan_test_towardzero): Likewise.
79561 (ctan_test_downward): Likewise.
79562 (ctan_test_upward): Likewise.
79563 (ctanh_test_tonearest): Likewise.
79564 (ctanh_test_towardzero): Likewise.
79565 (ctanh_test_downward): Likewise.
79566 (ctanh_test_upward): Likewise.
79567 (main): Call these new functions.
79568 * sysdeps/i386/fpu/libm-test-ulps: Update.
79569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79570
79571 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79572
79573 * .gitignore: Delete /ports entry.
79574
79575 2012-07-03 Andreas Jaeger <aj@suse.de>
79576
79577 * po/bg.po: Update from translation team.
79578 * po/cs.po: Likewise.
79579 * po/de.po: Likewise.
79580 * po/hr.po: Likewise.
79581 * po/nl.pl: Likewise.
79582 * po/pl.po: Likewise.
79583 * po/vi.po: Likewise.
79584
79585 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79586
79587 * Makeconfig [!+link] (+link-before-libc): New variable.
79588 [!+link] (+link-after-libc): Likewise.
79589 [!+link] (+link-tests): Likewise.
79590 [!+link] (+link): Define in terms of $(+link-before-libc) and
79591 $(+link-after-libc).
79592 [!+link-static] (+link-static-before-libc): New variable.
79593 [!+link-static] (+link-static-after-libc): Likewise.
79594 [!+link-static] (+link-static-tests): Likewise.
79595 [!+link-static] (+link-static): Define in terms of
79596 $(+link-static-before-libc) and $(+link-static-after-libc).
79597 [build-shared] (link-libc-before-gnulib): New variable.
79598 [build-shared] (link-libc-tests): Likewise.
79599 [build-shared] (link-libc): Define in terms of
79600 $(link-libc-before-gnulib).
79601 [!build-shared] (link-libc-tests): New variable.
79602 (link-libc-static-tests): New variable.
79603 [!gnulib] (gnulib-arch): New variable.
79604 [!gnulib] (gnulib-tests): Likewise.
79605 [!gnulib] (static-gnulib-arch): Likewise.
79606 [!gnulib] (static-gnulib-tests): Likewise.
79607 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79608 Define with "=" instead of ":=".
79609 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79610 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79611 * Rules (binaries-all-notests): New variable.
79612 (binaries-all-tests): Likewise.
79613 (binaries-static-notests): Likewise.
79614 (binaries-static-tests): Likewise.
79615 (binaries-all): Define using $(binaries-all-notests) and
79616 $(binaries-all-tests).
79617 (binaries-static): Define using $(binaries-static-notests) and
79618 $(binaries-static-tests).
79619 (binaries-shared-tests): New variable.
79620 (binaries-shared-notests): Likewise.
79621 (binaries-shared): Remove variable.
79622 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79623 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79624 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79625 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79626 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79627 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79628 * elf/Makefile (sln-modules): New variable.
79629 (extra-objs): Add $(sln-modules:=.o).
79630 (ldconfig-modules): Add static-stubs.
79631 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79632 * elf/static-stubs.c: New file.
79633
79634 [BZ #14283]
79635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79636 by 7 not 8 to examine high bit of fractional part. Use volatile
79637 variables when splitting into final array of floats if
79638 __FLT_EVAL_METHOD__ != 0.
79639 * math/libm-test.inc (cos_test): Add another test.
79640 (sin_test): Likewise.
79641 * sysdeps/i386/fpu/libm-test-ulps: Update.
79642
79643 [BZ #14273]
79644 * math/libm-test.inc (cosh_test): Add more tests.
79645
79646 * version.h (RELEASE): Set to "development".
79647 (VERSION): Set to "2.16.90".
79648
79649 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79650
79651 * NEWS: Update copyright. Remove last-updated date.
79652 Mention math library bug fixes and timezone data changes.
79653 * README: Mention GNU/Hurd, x32, and HPPA support status.
79654
79655 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79656
79657 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79658
79659 2012-06-27 Andreas Jaeger <aj@suse.de>
79660
79661 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79662
79663 2012-06-25 Andreas Jaeger <aj@suse.de>
79664
79665 * sysdeps/s390/fpu/libm-test-ulps: Update.
79666
79667 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79668 Thomas Schwinge <thomas@codesourcery.com>
79669
79670 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79671 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79673 fanotify_mark.
79674
79675 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79676
79677 * sysdeps/mach/start.c: Remove file.
79678 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79679 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79680 * sysdeps/sh/init-first.c: Likewise.
79681
79682 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79683 registers for frame unwinding purposes, add CFI directives.
79684 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79686 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79687 Likewise.
79688
79689 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79690 __fortify_fail returning.
79691 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79692
79693 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79694 sysdeps/sh/____longjmp_chk.S.
79695 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79696 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79697 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79698 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79699
79700 * sysdeps/sh/abort-instr.h: New file.
79701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79702 process in case exit returns.
79703
79704 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79705 initialize the GOT register before use.
79706
79707 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79708 calculation of ARGC > 4.
79709
79710 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79711 meaningful names to some local labels.
79712
79713 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79714 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79715
79716 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79717 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79718 (__arch_compare_and_exchange_val_16_acq): Likewise.
79719 (__arch_compare_and_exchange_val_32_acq): Likewise.
79720 (atomic_exchange_and_add): Fix gUSA sequence.
79721 (atomic_add): Likewise.
79722 (atomic_add_negative): Likewise.
79723 (atomic_add_zero): Likewise.
79724 (atomic_bit_test_set): Likewise.
79725
79726 2012-06-22 Andreas Schwab <schwab@redhat.com>
79727
79728 [BZ #13579]
79729 * include/link.h (struct link_map): Add l_free_initfini.
79730 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79731 l_initfini.
79732 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79733 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79734 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79735 set.
79736
79737 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79738
79739 * configure.in: Use AC_LANG_SOURCE.
79740 * configure: Regenerate.
79741
79742 2012-06-22 Roland McGrath <roland@hack.frob.com>
79743
79744 * configure.in (libc_cv_localstatedir): New substituted variable.
79745 * configure: Regenerated.
79746 * config.make.in (localstatedir): New variable, substituted from
79747 libc_cv_localstatedir.
79748 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79749 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79750 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79751 * sysdeps/gnu/configure: Regenerated.
79752
79753 2012-06-21 Jeff Law <law@redhat.com>
79754
79755 [BZ #14277]
79756 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79757 free. Simplify list management for _LIBC case.
79758
79759 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79760
79761 [BZ #14273]
79762 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79763 Clear sign bit of 64-bit integer value before comparing against
79764 overflow value.
79765
79766 * sysdeps/mach/configure: Regenerated.
79767
79768 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79769
79770 [BZ #14278]
79771 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79772
79773 2012-06-21 Jeff Law <law@redhat.com>
79774
79775 [BZ #13882]
79776 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79777 uint16_t for elements in the "seen" array to avoid char overflows.
79778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79779 * elf/dl-open.c (dl_open_worker): Likewise.
79780
79781 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79782
79783 * scripts/list-sources.sh: Scan PORTS for translations.
79784 * po/libc.pot: Regenerated.
79785
79786 2012-06-21 Andreas Jaeger <aj@suse.de>
79787
79788 [BZ #12194]
79789 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79790 warning.
79791 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79792 * bits/byteswap-16.h (__bswap_16): Likewise.
79793 * bits/byteswap.h (__bswap_constant_16): Likewise.
79794
79795 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79796
79797 [BZ #14117]
79798 * sysdeps/i386/fpu_control.h: Removed.
79799 * sysdeps/x86_64/fpu_control.h: Moved to ...
79800 * sysdeps/x86/fpu_control.h: Here.
79801
79802 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79803 (_FPU_SETCW): Likewise.
79804
79805 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79806
79807 [BZ #14117]
79808 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79809 * sysdeps/x86/fpu/bits/mathinline.h: This.
79810 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79811
79812 [BZ #14050]
79813 [BZ #14117]
79814 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79815 functions if __x86_64__ is defined.
79816
79817 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79818
79819 * string/endian.h: Add !__ASSEMBLER__ condition for including
79820 conversion interfaces.
79821
79822 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79823
79824 [BZ #14241]
79825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79826 of ABS(x) in calculating zero to negative powers other than odd
79827 integers.
79828 * math/libm-test.inc (pow_test): Add more tests.
79829
79830 2012-06-15 Andreas Jaeger <aj@suse.de>
79831
79832 * manual/contrib.texi (Contributors): Update entry of Liubov
79833 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79834 Machado Filho.
79835
79836 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79837
79838 * string/string.h: Add __wur to GNU version of strerror_r.
79839
79840 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79841
79842 [BZ #14229]
79843 * string/Makefile (tests): Add tst-strtok_r.
79844 * string/tst-strtok_r.c: New file.
79845 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79846 RAX_LP/RDX_LP on SAVE_PTR.
79847
79848 2012-06-14 Roland McGrath <roland@hack.frob.com>
79849
79850 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79851
79852 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79853
79854 * libm_test.inc (csqrt_test): Allow more spurious underflow
79855 exceptions.
79856 (j0_test): Likewise.
79857 (j1_test): Likewise.
79858 (y0_test): Likewise.
79859 (y1_test): Likewise.
79860
79861 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79862
79863 * po/Makefile (libc.pot): Use UTF-8 charset.
79864
79865 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79866
79867 [BZ #14210]
79868 Suppress sign-conversion warning from FD_SET.
79869 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79870 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79871 not unsigned long int.
79872 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79873
79874 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79875
79876 [BZ #14050]
79877 [BZ #14117]
79878 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79879 __extern_always_inline instead of __extern_inline.
79880 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79881 (__signbit): Likewise.
79882 (__signbitl): Support C++ namespace.
79883 (lrintf): New inline function.
79884 (lrint): Likewise.
79885 (llrintf): Likewise.
79886 (llrint): Likewise.
79887 (fmaxf): Likewise.
79888 (fmax): Likewise.
79889 (fminf): Likewise.
79890 (fmin): Likewise.
79891 (rint): Likewise.
79892 (rintf): Likewise.
79893 (ceil): Likewise.
79894 (ceilf): Likewise.
79895 (floor): Likewise.
79896 (floorf): Likewise.
79897 (nearbyint): Likewise.
79898 (nearbyintf): Likewise.
79899
79900 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79901
79902 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79903 non-default versions.
79904
79905 2012-06-11 Roland McGrath <roland@hack.frob.com>
79906
79907 [BZ #14218]
79908 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79909
79910 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79911
79912 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79913 (FE_UPWARD, FE_DOWNWARD): Don't define.
79914 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79916
79917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79918 reading it.
79919 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79920 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79921
79922 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79923
79924 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79926 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79927 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79928
79929 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79930
79931 [BZ #14117]
79932 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79933 * sysdeps/i386/fpu/Implies: New file.
79934 * sysdeps/x86_64/fpu/Implies: Likewise.
79935 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79936 * sysdeps/x86/fpu/bits/fenv.h: This.
79937
79938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79939 __SSE_MATH__.
79940
79941 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79942
79943 [BZ #14134]
79944 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79945 character 0xffff that matches the last element of the
79946 conversion table.
79947
79948 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79949
79950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79951 fmodl commit.
79952
79953 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79954
79955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79956 values higher than 25.6283.
79957
79958 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79959
79960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79961 subnormal exponent extraction and add some __builtin_expect.
79962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79963 Fix for subnormal mantissa calculation.
79964
79965 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79966
79967 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79968 cpu2 is -1 and errno is not ENOSYS.
79969
79970 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79971
79972 [BZ #14117]
79973 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79974 * sysdeps/x86/bits/string.h: This.
79975 * sysdeps/x86_64/bits/string.h: Removed.
79976
79977 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79978 if not compiling for x86-64, but compiling for >= i486.
79979
79980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79981 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79982
79983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79984 New macro from Linux kernel 3.4.0.
79985 (FP_XSTATE_MAGIC2): Likewise.
79986 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79987 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79988 (struct _fpx_sw_bytes): New struct.
79989 (struct _xsave_hdr): Likewise.
79990 (struct _ymmh_state): Likewise.
79991 (struct _xstate): Likewise.
79992
79993 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79994 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79995 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79996 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79997 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79998 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79999
80000 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80002 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80003 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80004 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80005 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80006
80007 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80008
80009 [BZ #13743]
80010 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80011 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80012 (sysdep_headers): Include sys/platform/ppc.h.
80013 * sysdeps/powerpc/test-gettimebase.c: Test for
80014 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80015 * manual/Makefile (appendices): Include platform.texi.
80016 * manual/contrib.texi (Contributors): Update @node pointers.
80017 * manual/maint.texi (Maintenance): Likewise.
80018 (Platform): New node.
80019 * manual/platform.texi: New file. Document the new features.
80020
80021 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80022 Jakub Jelinek <jakub@redhat.com>
80023
80024 [BZ #14188]
80025 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80026 where __builtin_expect is unavailable.
80027
80028 2012-06-03 David S. Miller <davem@davemloft.net>
80029
80030 * stdlib/longlong.h: Updated from GCC.
80031
80032 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80033
80034 [BZ #14042]
80035 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80036 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80037 __mcount_internal.
80038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80039 (GLIBC_2.16): Likewise.
80040
80041 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80042
80043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80044
80045 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80046
80047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80048 (default-abi): New variable.
80049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80050 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80051 variable.
80052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80053 Likewise.
80054 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80055 Likewise.
80056 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80057 Likewise.
80058
80059 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80060 definition. Document in comment.
80061
80062 2012-06-01 David S. Miller <davem@davemloft.net>
80063
80064 * stdlib/longlong.h: Updated from GCC.
80065
80066 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80067
80068 [BZ #14117]
80069 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80070 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80071 sys/debugreg.h sys/io.h here.
80072 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80073 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80074 sys/io.h.
80075 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80076 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80077 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80078 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80079 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80080 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80081
80082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80083 Define only if __x86_64__ is defined.
80084
80085 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80086
80087 [BZ #14048]
80088 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80089 Use int64_t for variable i.
80090 * math/libm-test.inc (fmod_test): Add more tests.
80091
80092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80093 z computation is not scheduled after fetestexcept.
80094 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80095 Use math_force_eval instead of asm to ensure calculation scheduled
80096 before exception test.
80097 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80098 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80099
80100 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80101
80102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80103 computation is not scheduled after fetestexcept.
80104
80105 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80106
80107 [BZ #14117]
80108 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80110
80111 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80112
80113 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80114 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80115
80116 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80117
80118 [BZ #14117]
80119 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80120 <bits/wordsize.h>.
80121 (__WCHAR_MIN): Support __WORDSIZE == 64.
80122 (__WCHAR_MAX): Likewise.
80123
80124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80126
80127 [BZ #14183]
80128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80129 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80130
80131 [BZ #14117]
80132 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80134
80135 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80136 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80137
80138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80139 Defined to 1 if __x86_64__ isn't defined.
80140 (_STAT_VER_LINUX_OLD): New.
80141 (st_atime): Remove duplicate.
80142 (st_mtime): Likewise.
80143 (st_ctime): Likewise.
80144
80145 2012-05-31 David S. Miller <davem@davemloft.net>
80146
80147 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80148 entries.
80149
80150 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80151
80152 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80153 gen-libm-test.pl.
80154
80155 [BZ #14132]
80156 * elf/dl-reloc.c: Include <_itoa.h>.
80157 (_dl_reloc_bad_type): Remove use of INTUSE.
80158 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80159 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80160 * stdio-common/psiginfo.c (psiginfo): Likewise.
80161 * stdio-common/psignal.c (psignal): Likewise.
80162 * string/strsignal.c (strsignal): Likewise.
80163 * include/signal.h (_sys_siglist): Declare hidden proto.
80164 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80165 INTVARDEF with libc_hidden_data_def.
80166 * stdio-common/itoa-udigits.c: Likewise.
80167 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80168 (_itoa_lower_digits_internal): Remove declaration.
80169 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80170 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80171 (_sys_sigabbrev_internal): Remove aliases.
80172 (_sys_siglist): Define hidden alias.
80173
80174 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80175
80176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80177 bits/sysctl.h.
80178
80179 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80180
80181 [BZ #14117]
80182 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80183 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80184
80185 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80187 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80188 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80190 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80191
80192 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80193 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80194 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80195
80196 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80197 with __addr.
80198 (insw): Likewise.
80199 (insl): Likewise.
80200 (outsb): Likewise.
80201 (outsw): Likewise.
80202 (outsl): Likewise.
80203
80204 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80207
80208 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80209 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80210 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80211 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80213 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80214
80215 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80216 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80217
80218 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80219 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80220
80221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80224
80225 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80226 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80227 to ...
80228 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80229
80230 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80231 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80232 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80233
80234 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80235 for x86-64.
80236 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80237
80238 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80239
80240 * math/math.h (M_El): Use two more decimal places.
80241 (M_LOG2El): Likewise.
80242 (M_LOG10El): Likewise.
80243 (M_LN2l): Likewise.
80244 (M_LN10l): Likewise.
80245 (M_PIl): Likewise.
80246 (M_PI_2l): Likewise.
80247 (M_PI_4l): Likewise.
80248 (M_1_PIl): Likewise.
80249 (M_2_PIl): Likewise.
80250 (M_2_SQRTPIl): Likewise.
80251 (M_SQRT2l): Likewise.
80252 (M_SQRT1_2l): Likewise.
80253
80254 2012-05-31 David S. Miller <davem@davemloft.net>
80255
80256 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80257 values between float registers.
80258 * sysdeps/sparc/sparc64/memset.S: Likewise.
80259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80260
80261 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80262
80263 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80264 -D_FORTIFY_SOURCE=1.
80265 (CPPFLAGS-tst-longjmp_chk.c): Define.
80266 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80267 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80268 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80269 CFLAGS-tst-wchar-h.c.
80270
80271 2012-05-31 Marek Polacek <polacek@redhat.com>
80272
80273 [BZ #14132]
80274 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80275 __endmntent_internal): Remove declaration.
80276 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80277 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80278 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80279
80280 2012-05-30 David S. Miller <davem@davemloft.net>
80281
80282 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80283 (___Q_simulate_exceptions): Use real FP ops rather than writing
80284 into the %fsr.
80285 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80286 Likewise.
80287
80288 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80289
80290 [BZ #14117]
80291 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80292 * sysdeps/x86/bits/xtitypes.h: This.
80293
80294 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80295 * sysdeps/x86/bits/wordsize.h: This.
80296
80297 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80298 * sysdeps/x86/bits/huge_vall.h: This.
80299
80300 * sysdeps/i386/bits/select.h: Removed.
80301 * sysdeps/x86_64/bits/select.h: Renamed to ...
80302 * sysdeps/x86/bits/select.h: This.
80303
80304 * sysdeps/i386/bits/setjmp.h: Removed.
80305 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80306 * sysdeps/x86/bits/setjmp.h: This.
80307
80308 * sysdeps/i386/bits/mathdef.h: Removed.
80309 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80310 * sysdeps/x86/bits/mathdef.h: This.
80311
80312 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80313
80314 [BZ #14132]
80315 * include/sys/socket.h (__connect_internal)
80316 (__libc_sa_len_internal): Remove declaration.
80317 (__connect, __libc_sa_len): Declare hidden_proto.
80318 (SA_LEN): Remove use of INTUSE.
80319 * socket/connect.c: Add libc_hidden_def.
80320 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80321 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80322 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80323 alias.
80324 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80325 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80326 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80327 of adding _internal alias.
80328
80329 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80330
80331 [BZ #14117]
80332 * sysdeps/i386/bits/link.h: Removed.
80333 * sysdeps/i386/bits/linkmap.h: Likewise.
80334 * sysdeps/x86_64/bits/link.h: Renamed to ...
80335 * sysdeps/x86/bits/link.h: This.
80336 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80337 * sysdeps/x86/bits/linkmap.h: This.
80338
80339 * sysdeps/i386/bits/endian.h: Removed.
80340 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80341 * sysdeps/x86/bits/endian.h: This.
80342
80343 * sysdeps/i386/bits/byteswap.h: Removed.
80344 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80345 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80346 * sysdeps/x86/bits/byteswap.h: This.
80347 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80348 * sysdeps/x86/bits/byteswap-16.h: This.
80349 * sysdeps/i386/Implies: Add x86.
80350 * sysdeps/x86_64/Implies: Likewise.
80351
80352 2012-05-30 David S. Miller <davem@davemloft.net>
80353
80354 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80355 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80357 (FP_TRAPPING_EXCEPTIONS): Define.
80358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80359 (FP_TRAPPING_EXCEPTIONS): Define.
80360 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80361 subnormals only when inexact has been signalled or underflow
80362 exceptions are enabled.
80363 (_FP_PACK_CANONICAL): Likewise.
80364
80365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80366
80367 [BZ #14183]
80368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80369 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80370
80371 2012-05-30 Richard Henderson <rth@twiddle.net>
80372
80373 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80374 with #ifndef NOT_IN_libc.
80375
80376 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80377 marked to avoid plt entry.
80378
80379 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80380
80381 [BZ #14112]
80382 * Makeconfig (default-abi): New macro.
80383 (abi-includes): Likewise.
80384 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80385 $(abi-$(default-abi)-lib-soname) for soname if defined.
80386 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80387 abi-variants.
80388 * Makefile (installed-stubs): Likewise.
80389 * include/stubs-biarch.h: Removed.
80390 * scripts/lib-names.awk: Only handle one library at a time.
80391 * scripts/soversions.awk: Remove WORDSIZE support.
80392 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80393 entries.
80394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80395 Removed.
80396 (syscall-list-default-condition): Likewise.
80397 (syscall-list-default-condition): Likewise.
80398 (syscall-list-includes): Likewise.
80399 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80400 syscall-list-* with abi-*. Handle undefined abi-variants.
80401 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80402 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80403 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80404 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80405 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80406 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80407 Removed.
80408 (syscall-list-32-options): Likewise.
80409 (syscall-list-32-condition): Likewise.
80410 (syscall-list-64-options): Likewise.
80411 (syscall-list-64-condition): Likewise.
80412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80413 macro.
80414 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80415 Renamed to ...
80416 (abi-*): This.
80417 (abi-64-ld-soname): New macro.
80418 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80419 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80420 Renamed to ...
80421 (abi-*): This.
80422 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80423 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80424
80425 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80426
80427 * sysdeps/unix/sysv/linux/kernel-features.h
80428 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80429 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80430 include <kernel-features.h>.
80431 [!__NR_ftruncate64]: Remove conditional code.
80432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80433 [__NR_ftruncate64]: Make code unconditional.
80434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80435 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80436 include <kernel-features.h>.
80437 [!__NR_ftruncate64]: Remove conditional code.
80438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80439 [__NR_ftruncate64]: Make code unconditional.
80440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80442 include <kernel-features.h>.
80443 [!__NR_ftruncate64]: Remove conditional code.
80444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80445 [__NR_ftruncate64]: Make code unconditional.
80446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80448 include <kernel-features.h>.
80449 [!__NR_ftruncate64]: Remove conditional code.
80450 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80451 [__NR_ftruncate64]: Make code unconditional.
80452 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80453
80454 * configure.in (libc_cv_fpie): Weaken to a compile test using
80455 LIBC_TRY_CC_OPTION.
80456 * configure: Regenerated.
80457
80458 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80459
80460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80464 Refreshed.
80465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80471 Refreshed.
80472
80473 2012-05-27 David S. Miller <davem@davemloft.net>
80474
80475 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80476 (___Q_zero): New.
80477 (__Q_simulate_exceptions): Return void. Change to simulate
80478 exceptions by writing into the %fsr.
80479 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80480 (__Qp_handle_exceptions): Likewise.
80481 (numbers): Delete.
80482 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80483 __Qp_handle_exceptions.
80484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80485 __Qp_handle_exceptions.
80486 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80487 as unused and give dummy FP_RND_NEAREST initializer.
80488 (FP_INHIBIT_RESULTS): Define.
80489 (___Q_simulate_exceptions): Update declaration.
80490 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80491 formatting.
80492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80493 as unused and give dummy FP_RND_NEAREST initializer.
80494 (__Qp_handle_exceptions): Update declaration.
80495 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80496 formatting.
80497
80498 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80499
80500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80501 the temporary FPU control word.
80502 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80503 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80504 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80505 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80507 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80508 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80510 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80511 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80513
80514 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80515
80516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80517 fields.
80518
80519 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80520
80521 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80522 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80523 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80524 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80525 Likewise.
80526 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80527 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80528 Likewise.
80529
80530 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80531
80532 * po/h.po: Update from translation team.
80533
80534 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80535
80536 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80537
80538 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80539 handling of denormals.
80540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80541 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80542 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80543 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80547 Likewise.
80548
80549 2012-05-26 Marek Polacek <polacek@redhat.com>
80550
80551 [BZ #14152]
80552 * math/libm-test.inc (fma_test): Don't always expect underflow
80553 exception.
80554
80555 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80556
80557 [BZ #12416]
80558 * elf/tst-execstack.c: Include stackinfo.h.
80559 (do_test): Adjust test case to ensure that pthread_getattr_np
80560 behaviour remains the same after marking stack executable.
80561
80562 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80563
80564 * sysdeps/unix/sysv/linux/kernel-features.h
80565 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80566 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80567 kernel-features.h.
80568 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80569 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80570 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80571 kernel-features.h.
80572 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80573 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80574
80575 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80576
80577 * configure.in: Define the default includes to being none.
80578 * configure: Regenerated.
80579
80580 2012-05-25 Roland McGrath <roland@hack.frob.com>
80581
80582 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80583 * sysdeps/x86_64/setjmp.S: Likewise.
80584 * sysdeps/i386/bsd-setjmp.S: Likewise.
80585 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80586 * sysdeps/i386/setjmp.S: Likewise.
80587 * sysdeps/i386/__longjmp.S: Likewise.
80588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80589 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80590
80591 * include/stap-probe.h: New file.
80592 * configure.in: Handle --enable-systemtap.
80593 * configure: Regenerated.
80594 * config.h.in (USE_STAP_PROBE): New #undef.
80595 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80596 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80597 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80598
80599 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80600
80601 [BZ #13717]
80602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80603 to 2.4.0 where earlier.
80604 * sysdeps/unix/sysv/linux/configure: Regenerated.
80605 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80606 <kernel-features.h>.
80607 [__ASSUME_32BITUIDS]: Make code unconditional.
80608 [!__ASSUME_32BITUIDS]: Remove conditional code.
80609 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80610 <kernel-features.h>.
80611 [__ASSUME_32BITUIDS]: Make code unconditional.
80612 [!__ASSUME_32BITUIDS]: Remove conditional code.
80613 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80614 [__ASSUME_32BITUIDS]: Make code unconditional.
80615 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80616 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80617 <kernel-features.h>.
80618 [__ASSUME_32BITUIDS]: Make code unconditional.
80619 [!__ASSUME_32BITUIDS]: Remove conditional code.
80620 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80621 <kernel-features.h>.
80622 [__ASSUME_32BITUIDS]: Make code unconditional.
80623 [!__ASSUME_32BITUIDS]: Remove conditional code.
80624 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80625 <kernel-features.h>.
80626 [__ASSUME_32BITUIDS]: Make code unconditional.
80627 [!__ASSUME_32BITUIDS]: Remove conditional code.
80628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80629 <kernel-features.h>.
80630 [__ASSUME_32BITUIDS]: Make code unconditional.
80631 [!__ASSUME_32BITUIDS]: Remove conditional code.
80632 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80633 <kernel-features.h>.
80634 [__ASSUME_32BITUIDS]: Make code unconditional.
80635 [!__ASSUME_32BITUIDS]: Remove conditional code.
80636 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80637 <kernel-features.h>.
80638 [__ASSUME_32BITUIDS]: Make code unconditional.
80639 [!__ASSUME_32BITUIDS]: Remove conditional code.
80640 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80641 <kernel-features.h>.
80642 [__ASSUME_32BITUIDS]: Make code unconditional.
80643 [!__ASSUME_32BITUIDS]: Remove conditional code.
80644 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80645 <kernel-features.h>.
80646 [__ASSUME_32BITUIDS]: Make code unconditional.
80647 [!__ASSUME_32BITUIDS]: Remove conditional code.
80648 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80649 <kernel-features.h>.
80650 [__ASSUME_32BITUIDS]: Make code unconditional.
80651 [!__ASSUME_32BITUIDS]: Remove conditional code.
80652 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80653 <kernel-features.h>.
80654 [__ASSUME_32BITUIDS]: Make code unconditional.
80655 [!__ASSUME_32BITUIDS]: Remove conditional code.
80656 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80657 <kernel-features.h>.
80658 [__NR_setresgid] (__setresgid): Do not declare.
80659 [__ASSUME_32BITUIDS]: Make code unconditional.
80660 [!__ASSUME_32BITUIDS]: Remove conditional code.
80661 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80662 <kernel-features.h>.
80663 [__NR_setresuid] (__setresuid): Do not declare.
80664 [__ASSUME_32BITUIDS]: Make code unconditional.
80665 [!__ASSUME_32BITUIDS]: Remove conditional code.
80666 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80667 <kernel-features.h>.
80668 [__ASSUME_32BITUIDS]: Make code unconditional.
80669 [!__ASSUME_32BITUIDS]: Remove conditional code.
80670 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80671 <kernel-features.h>.
80672 [__ASSUME_32BITUIDS]: Make code unconditional.
80673 [!__ASSUME_32BITUIDS]: Remove conditional code.
80674 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80675 <kernel-features.h>.
80676 [__ASSUME_32BITUIDS]: Make code unconditional.
80677 [!__ASSUME_32BITUIDS]: Remove conditional code.
80678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80679 <kernel-features.h>.
80680 [__ASSUME_32BITUIDS]: Make code unconditional.
80681 [!__ASSUME_32BITUIDS]: Remove conditional code.
80682 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80683 <kernel-features.h>.
80684 [__ASSUME_32BITUIDS]: Make code unconditional.
80685 [!__ASSUME_32BITUIDS]: Remove conditional code.
80686 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80687 <kernel-features.h>.
80688 [__ASSUME_32BITUIDS]: Make code unconditional.
80689 [!__ASSUME_32BITUIDS]: Remove conditional code.
80690 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80691 <kernel-features.h>.
80692 [__ASSUME_32BITUIDS]: Make code unconditional.
80693 [!__ASSUME_32BITUIDS]: Remove conditional code.
80694 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80695 <kernel-features.h>.
80696 [__ASSUME_32BITUIDS]: Make code unconditional.
80697 [!__ASSUME_32BITUIDS]: Remove conditional code.
80698 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80699 <kernel-features.h>.
80700 [__ASSUME_32BITUIDS]: Make code unconditional.
80701 [!__ASSUME_32BITUIDS]: Remove conditional code.
80702 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80703 <kernel-features.h>.
80704 [__ASSUME_32BITUIDS]: Make code unconditional.
80705 [!__ASSUME_32BITUIDS]: Remove conditional code.
80706 * sysdeps/unix/sysv/linux/kernel-features.h
80707 (__ASSUME_SETRESUID_SYSCALL): Remove.
80708 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80709 (__ASSUME_32BITUIDS): Likewise.
80710 (__ASSUME_LDT_WORKS): Likewise.
80711 (__ASSUME_O_DIRECTORY): Likewise.
80712 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80713 architecture but not kernel version.
80714 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80715 (__ASSUME_MMAP2_SYSCALL): Likewise.
80716 (__ASSUME_STAT64_SYSCALL): Likewise.
80717 (__ASSUME_IPC64): Likewise.
80718 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80719 <kernel-features.h>.
80720 [__ASSUME_32BITUIDS]: Make code unconditional.
80721 [!__ASSUME_32BITUIDS]: Remove conditional code.
80722 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80723 <kernel-features.h>.
80724 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80725 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80726 132096]: Remove conditional code.
80727 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80729 <kernel-features.h>.
80730 [__ASSUME_32BITUIDS]: Make code unconditional.
80731 [!__ASSUME_32BITUIDS]: Remove conditional code.
80732 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80733 <kernel-features.h>.
80734 [__ASSUME_32BITUIDS]: Make code unconditional.
80735 [!__ASSUME_32BITUIDS]: Remove conditional code.
80736 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80737 <kernel-features.h>.
80738 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80739 unconditional.
80740 (__setresgid): Do not declare.
80741 [__ASSUME_32BITUIDS]: Make code unconditional.
80742 [!__ASSUME_32BITUIDS]: Remove conditional code.
80743 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80744 <kernel-features.h>.
80745 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80746 unconditional.
80747 (__setresuid): Do not declare.
80748 [__ASSUME_32BITUIDS]: Make code unconditional.
80749 [!__ASSUME_32BITUIDS]: Remove conditional code.
80750 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80751 <kernel-features.h>.
80752 [__ASSUME_32BITUIDS]: Make code unconditional.
80753 [!__ASSUME_32BITUIDS]: Remove conditional code.
80754 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80755 <kernel-features.h>.
80756 [__ASSUME_32BITUIDS]: Make code unconditional.
80757 [!__ASSUME_32BITUIDS]: Remove conditional code.
80758
80759 2012-05-25 Richard Henderson <rth@twiddle.net>
80760
80761 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80762 dl_hwcap to ifunc resolver.
80763 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80764 elf_ifunc_invoke.
80765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80766 dl_hwcap to ifunc resolver.
80767 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80768
80769 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80770
80771 [BZ #14153]
80772 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80773 for |x| <= 2**-26, not 2**-57.
80774 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80775 exception.
80776
80777 2012-05-24 Jeff Law <law@redhat.com>
80778
80779 * stdio-common/Makefile (tests): Add bug25.
80780 * stdio-common/bug25.c: New test.
80781
80782 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80783
80784 [BZ #13576]
80785 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80786 multiple of MALLOC_ALIGNMENT in size.
80787 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80788
80789 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80790
80791 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80792 Require >= 256.
80793 (FILENAME_MAX): Use macro-int-constant.
80794 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80795 (_IOFBF): Use macro-int-constant.
80796 (_IOLBF): Likewise.
80797 (_IONBF): Likewise.
80798 (SEEK_CUR): Likewise.
80799 (SEEK_END): Likewise.
80800 (SEEK_SET): Likewise.
80801 (TMP_MAX): Likewise.
80802 (EOF): Use macro-int-constant. Require < 0.
80803 (NULL): Use macro-constant. Require == 0.
80804 (stdin): Require type to be FILE *.
80805 (stdout): Likewise.
80806 (stderr): Likewise.
80807 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80808 macro-int-constant.
80809 (EXIT_SUCCESS): Likewise.
80810 (NULL): Use macro-constant. Require == 0.
80811 (RAND_MAX): Use macro-int-constant.
80812 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80813 [C99-based standards] (strtof): Require function.
80814 [C99-based standards] (strtold): Likewise.
80815 [C99-based standards] (strtoll): Likewise.
80816 [C99-based standards] (strtoull): Likewise.
80817 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80818 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80819 [ISO || ISO99 || ISO11] (math.h): Likewise.
80820 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80823
80824 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80825
80826 [BZ #14132]
80827 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80828 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80829 * intl/dgettext.c (DCGETTEXT): Likewise.
80830 * intl/gettext.c (DCGETTEXT): Likewise.
80831 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80832 * posix/regex_internal.h (gettext): Likewise.
80833 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80834 Remove declaration.
80835 * include/argz.h (__argz_count_internal)
80836 (__argz_stringify_internal): Remove declaration.
80837 (__argz_count, __argz_stringify): Declare hidden proto.
80838 * intl/dcgettext.c: Remove use of INTDEF.
80839 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80840 * string/argz-stringify.c: Likewise.
80841 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80842 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80843 Declare hidden proto.
80844 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80845 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80846 Declare hidden proto.
80847 * include/stdio.h (__asprintf_internal): Don't declare.
80848 (__asprintf): Don't define as macro. Declare hidden proto.
80849 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80850 (__fsetlocking): Declare hidden proto.
80851 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80852 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80853 hidden proto.
80854 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80855 (_IO_setlinebuf): Remove use of INTUSE.
80856 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80857 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80858 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80859 Remove declaration.
80860 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80861 (_IO_do_flush): Remove use of INTUSE.
80862 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80863 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80864 (_IO_adjust_column, _IO_least_wmarker)
80865 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80866 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80867 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80868 (_IO_default_doallocate, _IO_wdefault_doallocate)
80869 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80870 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80871 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80872 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80873 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80874 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80875 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80876 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80877 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80878 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80879 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80880 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80881 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80882 proto.
80883 (_IO_flush_all_internal, _IO_adjust_column_internal)
80884 (_IO_default_uflow_internal, _IO_default_finish_internal)
80885 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80886 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80887 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80888 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80889 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80890 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80891 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80892 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80893 (_IO_file_close_internal, _IO_file_close_it_internal)
80894 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80895 (_IO_file_init_internal, _IO_file_attach_internal)
80896 (_IO_file_fopen_internal, _IO_file_read_internal)
80897 (_IO_file_sync_internal, _IO_file_seek_internal)
80898 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80899 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80900 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80901 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80902 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80903 (_IO_list_all_internal, _IO_link_in_internal)
80904 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80905 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80906 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80907 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80908 (_IO_do_write_internal, _IO_padn_internal)
80909 (_IO_getline_info_internal, _IO_getline_internal)
80910 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80911 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80912 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80913 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80914 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80915 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80916 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80917 with libc_hidden_ver, remove use of INTUSE.
80918 * libio/genops.c: Likewise.
80919 * libio/freopen.c: Likewise.
80920 * libio/freopen64.c: Likewise.
80921 * libio/iofclose.c: Likewise.
80922 * libio/iofdopen.c: Likewise.
80923 * libio/iofflush.c: Likewise.
80924 * libio/iofflush_u.c: Likewise.
80925 * libio/iofgets.c: Likewise.
80926 * libio/iofgets_u.c: Likewise.
80927 * libio/iofopen.c: Likewise.
80928 * libio/iofopncook.c: Likewise.
80929 * libio/iofread.c: Likewise.
80930 * libio/iofread_u.c: Likewise.
80931 * libio/ioftell.c: Likewise.
80932 * libio/iofwrite.c: Likewise.
80933 * libio/iogetline.c: Likewise.
80934 * libio/iogets.c: Likewise.
80935 * libio/iogetwline.c: Likewise.
80936 * libio/iopadn.c: Likewise.
80937 * libio/iopopen.c: Likewise.
80938 * libio/ioseekoff.c: Likewise.
80939 * libio/ioseekpos.c: Likewise.
80940 * libio/iosetbuffer.c: Likewise.
80941 * libio/iosetvbuf.c: Likewise.
80942 * libio/ioungetc.c: Likewise.
80943 * libio/ioungetwc.c: Likewise.
80944 * libio/iovdprintf.c: Likewise.
80945 * libio/iovsprintf.c: Likewise.
80946 * libio/iovsscanf.c: Likewise.
80947 * libio/memstream.c: Likewise.
80948 * libio/obprintf.c: Likewise.
80949 * libio/oldfileops.c: Likewise.
80950 * libio/oldiofclose.c: Likewise.
80951 * libio/oldiofdopen.c: Likewise.
80952 * libio/oldiofopen.c: Likewise.
80953 * libio/oldiopopen.c: Likewise.
80954 * libio/oldstdfiles.c: Likewise.
80955 * libio/putc.c: Likewise.
80956 * libio/setbuf.c: Likewise.
80957 * libio/setlinebuf.c: Likewise.
80958 * libio/stdfiles.c: Likewise.
80959 * libio/strops.c: Likewise.
80960 * libio/vasprintf.c: Likewise.
80961 * libio/vscanf.c: Likewise.
80962 * libio/vsnprintf.c: Likewise.
80963 * libio/vswprintf.c: Likewise.
80964 * libio/wfiledoalloc.c: Likewise.
80965 * libio/wfileops.c: Likewise.
80966 * libio/wgenops.c: Likewise.
80967 * libio/wmemstream.c: Likewise.
80968 * libio/wstrops.c: Likewise.
80969 * libio/__fpurge.c: Likewise.
80970 * libio/__fsetlocking.c: Likewise.
80971 * assert/assert.c: Likewise.
80972 * debug/fgets_chk.c: Likewise.
80973 * debug/fgets_u_chk.c: Likewise.
80974 * debug/fread_chk.c: Likewise.
80975 * debug/fread_u_chk.c: Likewise.
80976 * debug/gets_chk.c: Likewise.
80977 * debug/obprintf_chk.c: Likewise.
80978 * debug/vasprintf_chk.c: Likewise.
80979 * debug/vdprintf_chk.c: Likewise.
80980 * debug/vsnprintf_chk.c: Likewise.
80981 * debug/vsprintf_chk.c: Likewise.
80982 * malloc/mtrace.c: Likewise.
80983 * misc/error.c: Likewise.
80984 * misc/syslog.c: Likewise.
80985 * stdio-common/asprintf.c: Likewise.
80986 * stdio-common/fxprintf.c: Likewise.
80987 * stdio-common/getw.c: Likewise.
80988 * stdio-common/isoc99_fscanf.c: Likewise.
80989 * stdio-common/isoc99_scanf.c: Likewise.
80990 * stdio-common/isoc99_vfscanf.c: Likewise.
80991 * stdio-common/isoc99_vscanf.c: Likewise.
80992 * stdio-common/isoc99_vsscanf.c: Likewise.
80993 * stdio-common/printf-prs.c: Likewise.
80994 * stdio-common/printf_fp.c: Likewise.
80995 * stdio-common/printf_fphex.c: Likewise.
80996 * stdio-common/printf_size.c: Likewise.
80997 * stdio-common/putw.c: Likewise.
80998 * stdio-common/scanf.c: Likewise.
80999 * stdio-common/sprintf.c: Likewise.
81000 * stdio-common/tmpfile.c: Likewise.
81001 * stdio-common/vfprintf.c: Likewise.
81002 * stdio-common/vfscanf.c: Likewise.
81003 * stdlib/strfmon_l.c: Likewise.
81004 * sunrpc/openchild.c: Likewise.
81005 * sunrpc/xdr_stdio.c: Likewise.
81006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81007 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81008
81009 2012-05-24 Roland McGrath <roland@hack.frob.com>
81010
81011 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81012
81013 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81014 in the third column, to generate for the shared library an IFUNC
81015 that uses _dl_vdso_vsym.
81016 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81017 * Makeconfig (object-suffixes-noshared): New variable.
81018
81019 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81020 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81021 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81022 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81023
81024 [BZ #14132]
81025 * include/sys/time.h (__gettimeofday): Remove macro.
81026 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81027 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81028 Remove INTDEF.
81029 (__gettimeofday): Add libc_hidden_def.
81030 (gettimeofday): Add libc_hidden_weak.
81031 * sysdeps/mach/gettimeofday.c: Likewise.
81032 * sysdeps/posix/gettimeofday.c: Likewise.
81033 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81034 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81036 (__gettimeofday_internal): Remove strong_alias.
81037 (__gettimeofday): Add libc_hidden_def.
81038 (gettimeofday): Add libc_hidden_weak.
81039 * sysdeps/unix/syscalls.list (gettimeofday):
81040 Remove __gettimeofday_internal alias.
81041
81042 2012-05-24 Daniel Jacobowitz <drow@false.org>
81043 H.J. Lu <hongjiu.lu@intel.com>
81044
81045 [BZ #12495]
81046 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81047 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81048 (largebin_index_32_big): New.
81049 (largebin_index): Use it for 16-byte alignment.
81050 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81051 correction with front_misalign.
81052
81053 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81054
81055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81057 Likewise.
81058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81059 Likewise.
81060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81061 Likewise.
81062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81063 Likewise.
81064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81065 Likewise.
81066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81067 Likewise.
81068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81069 Likewise.
81070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81071 Likewise.
81072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81073 Likewise.
81074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81075 Likewise.
81076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81077 Likewise.
81078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81079 Likewise.
81080
81081 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81082 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81083
81084 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81085
81086 [BZ #10846]
81087 [BZ #14036]
81088 * math/libm-test.inc (exp_test): Add test from bug 14036.
81089 (pow_test): Add test from bug 10846.
81090
81091 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81092 and other flags.
81093 (special_function): Do not include flags in test name.
81094 (parse_args): Likewise.
81095 * sysdeps/i386/fpu/libm-test-ulps: Update.
81096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81097 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81100
81101 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81102 exceptions.
81103 * math/libm-test.inc ("Philosophy"): Update comment about
81104 exception testing.
81105 (UNDERFLOW_EXCEPTION): New macro.
81106 (UNDERFLOW_EXCEPTION_OK): Likewise.
81107 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81108 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81109 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81110 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81111 (INVALID_EXCEPTION_OK): Update value.
81112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81113 (OVERFLOW_EXCEPTION_OK): Likewise.
81114 (IGNORE_ZERO_INF_SIGN): Likewise.
81115 (test_exceptions): Handle underflow exceptions.
81116 (acos_test): Update for underflow exception expectations.
81117 (cexp_test): Likewise.
81118 (clog_test): Likewise.
81119 (clog10_test): Likewise.
81120 (csqrt_test): Likewise.
81121 (ctan_test): Likewise.
81122 (ctanh_test): Likewise.
81123 (exp_test): Likewise.
81124 (exp10_test): Likewise.
81125 (exp2_test): Likewise.
81126 (expm1_test): Likewise.
81127 (fma_test): Likewise.
81128 (j0_test): Likewise.
81129 (jn_test): Likewise.
81130 (nexttoward_test): Likewise.
81131 (pow_test): Likewise.
81132 (scalbn_test): Likewise.
81133 (scalbln_test): Likewise.
81134 (tan_test): Likewise.
81135 (y1_test): Likewise.
81136 * sysdeps/i386/fpu/libm-test-ulps: Update.
81137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81138
81139 2012-05-23 David S. Miller <davem@davemloft.net>
81140
81141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81142 (__libc_sigaction): Remove unused local variables.
81143
81144 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81145
81146 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81147
81148 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81149
81150 mktime: avoid signed integer overflow
81151 * time/mktime.c (__mktime_internal): Do not mishandle the case
81152 where diff == INT_MIN.
81153
81154 mktime: simplify computation of average
81155 * time/mktime.c (ranged_convert): Use new time_t_avg function
81156 instead of rolling our own (probably-slower) code.
81157
81158 mktime: do not assume signed right shift propagates sign bit
81159 * time/mktime.c (isdst_differ): New static function.
81160 (__mktime_internal): No need to normalize tm_isdst now.
81161 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81162 tm_isdst values.
81163
81164 mktime: merge another wrapv change from gnulib
81165 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81166 from some compilers.
81167
81168 mktime: remove incorrect attempt at unusual arithmetics
81169 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81170 The code didn't really work on such machines anyway.
81171 (TYPE_MINIMUM): Assume two's complement.
81172 (twos_complement_arithmetic): Verify that long_int and time_t
81173 are two's complement (or unsigned, in the latter case).
81174
81175 mktime: check signed shifts on long_int and time_t, too
81176 * time/mktime.c (SHR): Check that shifts work as desired
81177 on the types long_int and time_t too, as SHR is used on
81178 such types.
81179
81180 mktime: do not assume 'long' is wide enough
81181 * time/mktime.c (verify): Move decl up.
81182 (long_int): New type.
81183 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81184 to remove assumption in the code that 'long' is wide enough to
81185 store year values. This assumption is not true on x32 and on
81186 some non-glibc platforms.
81187
81188 mktime: merge wrapv change from gnulib
81189 * time/mktime.c (WRAPV): New macro.
81190 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81191 (guess_time_tm, __mktime_internal): Do not assume that signed
81192 integer overflow wraps around; modern compilers generate code
81193 where this assumption is no longer valid.
81194
81195 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81196
81197 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81198 Replace "jmp L(pseudo_end)" with "ret".
81199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81200 Likewise.
81201
81202 2012-05-23 Andreas Jaeger <aj@suse.de>
81203
81204 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81205 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81206
81207 2012-05-23 Andreas Jaeger <aj@suse.de>
81208 Maximilian Attems <max@stro.at>
81209
81210 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81211 New macros.
81212
81213 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81214
81215 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81216 code so that pseudo_end is just ret and the stack pointer is
81217 correct also for static library in error case.
81218
81219 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81220
81221 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81222 move to syscalls.list.
81223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81227
81228 * manual/install.texi (Running make install): Do not mention Linux
81229 kernel version for which pt_chown is not needed.
81230 (Linux): Do not mention problems with nscd with 2.0 kernels.
81231 * INSTALL: Regenerated.
81232
81233 2012-05-23 Andreas Jaeger <aj@suse.de>
81234
81235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81236 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81237 macro.
81238 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81240 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81242 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81248 * sysdeps/unix/sysv/linux/bits/in.h
81249 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81250
81251 2012-05-22 Roland McGrath <roland@hack.frob.com>
81252
81253 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81254 (PREPARE_VERSION): Just use assert instead, it will be elided
81255 under [NDEBUG] anyway.
81256
81257 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81258
81259 * sysdeps/unix/sysv/linux/Makefile: Include
81260 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81261 (sysdep_routines): Remove sysctl.
81262 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81263 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81264 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81265 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81266 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81267
81268 2012-05-22 Andreas Jaeger <aj@suse.de>
81269
81270 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81271 that pseudo_end is just ret and the stack pointer is correct also
81272 for static library in error case.
81273
81274 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81275
81276 [BZ #14122]
81277 * nss/nsswitch.c (defconfig_entries): New variable.
81278 (__nss_database_lookup): Don't leak defconfig entries.
81279 (nss_parse_service_list): Don't leak on error paths.
81280 (free_database_entries): New function.
81281 (free_defconfig): New function.
81282 (free_mem): Move common code to free_database_entries.
81283
81284 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81285
81286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81287 Add arch_prctl.
81288 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81289
81290 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81291 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81293 New macro.
81294 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81295 (INTERNAL_SYSCALL_TYPES): Likewise.
81296 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81297 (LOAD_REGS_TYPES_[1-6]): Likewise.
81298 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81299 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81300
81301 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81302
81303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81304 copysignl for GLIBC_2_0.
81305 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81306 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81308 logbl for GLIBC_2_0.
81309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81310 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81311
81312 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81313
81314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81316
81317 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81318 Use "neg %eax".
81319
81320 * time/mktime.c: Update copyright years.
81321
81322 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81323
81324 mktime: merge comment-quoting-style change from gnulib
81325 * time/mktime.c: Quote 'like this' in comments.
81326 The GNU coding standards suggest that we no longer quote `like this',
81327 as "`" and "'" are typically rendered asymmetrically nowadays.
81328 The typical gnulib style is to quote 'like this' when quoting
81329 code, and "like this" when quoting English.
81330
81331 * time/mktime.c (compile-command): Add "-I.".
81332
81333 mktime: merge mktime-internal.h change from gnulib
81334 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81335
81336 mktime: merge time_r change from gnulib
81337 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81338
81339 mktime: merge DEBUG change from gnulib
81340 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81341 case system <time.h> has a #define.
81342
81343 mktime: merge <sys/types.h> change from gnulib
81344 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81345 since <time.t> is now guaranteed to define time_t.
81346
81347 mktime: merge HAVE_CONFIG_H change from gnulib
81348 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81349
81350 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81351
81352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81353 Use "neg %eax".
81354
81355 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81356 __rlim_t cast.
81357 (struct rusage): Use anonymous union to pad each field to
81358 __syscall_slong_t.
81359
81360 2012-05-21 David S. Miller <davem@davemloft.net>
81361
81362 * Makefules (o-iterator): Remove .s cases.
81363 (compile-command.s): Delete.
81364 (COMPILE.s): Delete.
81365 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81366
81367 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81368
81369 * configure.in (libc_cv_predef_stack_protector): Only consider
81370 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81371 * configure: Regenerated.
81372
81373 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81374
81375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81376 New macro. Use R*LP on int and pointer.
81377 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81378 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81379 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81380 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81381
81382 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81383 [__WORDSIZE_TIME64_COMPAT32] instead of
81384 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81385 (struct utmp): Likewise.
81386 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81387 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81388 Renamed to ...
81389 (__WORDSIZE_TIME64_COMPAT32): This.
81390 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81391 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81392 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81393 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81395 (__WORDSIZE_TIME64_COMPAT32): New macro.
81396
81397 2012-05-21 Andreas Jaeger <aj@suse.de>
81398
81399 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81400 only if [SHARED]. Add prototype for __wcschr_ia32.
81401
81402 2012-05-21 Roland McGrath <roland@hack.frob.com>
81403
81404 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81405 of %rbp unmolested in the jmp_buf while mangling the low bits.
81406 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81407 unmolested high bits of %rbp while demangling the low bits.
81408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81409
81410 2012-05-21 Andreas Jaeger <aj@suse.de>
81411
81412 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81413 * sunrpc/svc_simple.c: Use it for registerrpc.
81414 * sunrpc/xcrypt.c: Use it for passwd2des.
81415
81416 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81417
81418 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81419
81420 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81421 Don't define if [__SYSCALL_WORDSIZE != 32].
81422 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81423 New macro.
81424
81425 2012-05-21 Bruno Haible <bruno@clisp.org>
81426 Andreas Jaeger <aj@suse.de>
81427
81428 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81429 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81430 inptr and inend for must_buffer_ch.
81431 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81432 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81433 * stdio-common/Makefile (tests): Remove bug15.
81434 (bug15-ENV): Remove macro.
81435 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81436 anymore.
81437
81438 2012-05-19 Andreas Jaeger <aj@suse.de>
81439 Roland McGrath <roland@hack.frob.com>
81440
81441 * manual/contrib.texi: Completely rewritten. It contains now an
81442 alphabetical list of contributors and their contributions.
81443
81444 2012-05-21 Richard Henderson <rth@twiddle.net>
81445
81446 * misc/getauxval.c (__getauxval): Use unsigned long int.
81447 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81448 (getauxval): Use unsigned long int.
81449
81450 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81451
81452 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81453
81454 2012-05-21 Roland McGrath <roland@hack.frob.com>
81455
81456 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81457 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81458 __alignof__ (long double).
81459
81460 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81461
81462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81463
81464 2012-05-20 Richard Henderson <rth@twiddle.net>
81465
81466 * misc/getauxval.c: New file.
81467 * misc/sys/auxv.h: New file.
81468 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81469 (routines): Add getauxval.
81470 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81471 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81472 * elf/dl-sysdep.c (_dl_auxv): Remove.
81473 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81474 * elf/dl-support.c (_dl_auxv): New variable.
81475 (_dl_aux_init): Initialize it.
81476 * manual/startup.texi (Auxiliary Vector): New node.
81477 * sysdeps/generic/bits/hwcap.h: New file.
81478 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81479 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81480 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81481 * sysdeps/sparc/sysdep.h: ... here. Include it.
81482 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81485 Update.
81486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81494
81495 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81496
81497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81498
81499 2012-05-19 David S. Miller <davem@davemloft.net>
81500
81501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81502
81503 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81504
81505 [BZ #14123]
81506 * math/s_ccosh.c: Include <float.h>
81507 (__ccosh): Avoid internal overflow calculating sinh and cosh
81508 values before multiplying by sin and cos values.
81509 * math/s_ccoshf.c: Likewise.
81510 * math/s_ccoshl.c: Likewise.
81511 * math/s_csin.c: Likewise.
81512 * math/s_csinf.c: Likewise.
81513 * math/s_csinl.c: Likewise.
81514 * math/s_csinh.c: Likewise.
81515 * math/s_csinhf.c: Likewise.
81516 * math/s_csinhl.c: Likewise.
81517 * math/libm-test.inc (ccos_test): Add more tests.
81518 (ccosh_test): Likewise.
81519 (csin_test): Likewise.
81520 (csinh_test): Likewise.
81521 * sysdeps/i386/fpu/libm-test-ulps: Update.
81522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81523
81524 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81525
81526 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81527 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81528
81529 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81530
81531 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81532
81533 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81534 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81535 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81536 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81537 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81538 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81539 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81540 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81541 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81542 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81543 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81544 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81545 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81546 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81547 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81548 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81549 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81550 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81551 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81552 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81553 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81554 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81555 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81556 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81557 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81558 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81559 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81560 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81561 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81562 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81563 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81564
81565 2012-05-18 Andreas Jaeger <aj@suse.de>
81566
81567 * csu/.gitignore: Delete.
81568
81569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81570
81571 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81572 (timex): Use __syscall_slong_t.
81573
81574 2012-05-18 Andreas Jaeger <aj@suse.de>
81575 Carlos O'Donell <carlos_odonell@mentor.com>
81576
81577 * manual/install.texi (Configuring and compiling): Update
81578 description about files modified in the source directory.
81579 * INSTALL: Regenerated.
81580
81581 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81582
81583 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81584 value. Use "or" to set return value to -1.
81585 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81586 negate return value.
81587
81588 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81589
81590 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81591 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81592 failure if the compiler has Graphite support disabled.
81593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81594 Likewise.
81595 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81596 (CFLAGS-memmove.c): Likewise.
81597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81598 Likewise.
81599
81600 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81601
81602 * sysdeps/x86_64/x32/_itoa.h: New file.
81603
81604 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81605 getdents system call only if kernel and user dirents have the
81606 same d_ino and d_off.
81607
81608 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81609 LLONG_MAX != LONG_MAX.
81610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81611 (_fitoa_word): Likewise.
81612
81613 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81614 years.
81615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81617 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81618
81619 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81620 include <bits/wordsize.h>. Check __x86_64__ instead of
81621 __WORDSIZE.
81622 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81623 if __x86_64__ is defined. Use anonymous union on fpstate.
81624
81625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81626 anonymous union.
81627
81628 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81629
81630 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81631 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81632 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81633 Refer to _rtld_local_ro instead of _rtld_global_ro.
81634 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81635 Likewise.
81636 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81637 Likewise.
81638 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81639 Likewise.
81640 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81641 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81642 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81643
81644 [BZ #10882]
81645 * sysdeps/powerpc/powerpc32/dl-machine.c
81646 (__elf_machine_runtime_setup) [PROF]: Don't reference
81647 _dl_prof_resolve.
81648
81649 2012-05-18 Andreas Jaeger <aj@suse.de>
81650
81651 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81652 function only available for GCCs before 3.4 since GCC 3.4
81653 introduced a builtin.
81654 (lrint): Likewise.
81655 (llrintf): Likewise.
81656 (llrint): Likewise.
81657 (fmaxf): Likewise.
81658 (fmax): Likewise.
81659 (fminf): Likewise.
81660 (fmin): Likewise.
81661 (rint): Likewise.
81662 (rintf): Likewise.
81663 (nearbyint): Likewise.
81664 (nearbyintf): Likewise.
81665 (ceil): Likewise.
81666 (ceilf): Likewise.
81667 (floor): Likewise.
81668 (floorf): Likewise.
81669
81670 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81671
81672 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81673 on both fields and cast pointer to __syscall_ulong_t.
81674
81675 * bits/types.h (__fsword_t): New type.
81676 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81677 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81679 (__FSWORD_T_TYPE): Likewise.
81680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81681 (__FSWORD_T_TYPE): Likewise.
81682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81683 (__FSWORD_T_TYPE): Likewise.
81684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81685 (__FSWORD_T_TYPE): Likewise.
81686 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81687 __SWORD_TYPE with __fsword_t.
81688 (statfs64): Likewise.
81689
81690 2012-05-17 David S. Miller <davem@davemloft.net>
81691
81692 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81693
81694 2012-05-17 Andreas Jaeger <aj@suse.de>
81695
81696 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81697 warning.
81698
81699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81700
81701 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81702
81703 2012-05-17 Andreas Jaeger <aj@suse.de>
81704
81705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81706 when it is used.
81707
81708 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81709
81710 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81711
81712 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81713
81714 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81715 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81716
81717 2012-05-17 Andreas Jaeger <aj@suse.de>
81718 Carlos O'Donell <carlos_odonell@mentor.com>
81719
81720 [BZ #14059]
81721 * sysdeps/x86_64/multiarch/init-arch.h
81722 (bit_YMM_Usable): Rename to...
81723 (bit_AVX_Usable): ... this.
81724 (bit_FMA4_Usable): New macro.
81725 (bit_XMM_state): New macro.
81726 (bit_YMM_state): New macro.
81727 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81728 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81729 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81730 (CPUID_OSXSAVE): New macro.
81731 (CPUID_AVX): New macro.
81732 (CPUID_FMA4): New macro.
81733 (index_YMM_Usable): Rename to...
81734 (index_AVX_Usable): ... this.
81735 (HAS_AVX): Use HAS_ARCH_FEATURE.
81736 (HAS_FMA4): Likewise.
81737 (HAS_YMM_USABLE): Remove.
81738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81739 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81740 are present.
81741 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81742 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81743 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81744 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81745 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81746
81747 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81748
81749 * math/libm-test.c: Support platforms without multiple rounding modes.
81750 * math/bug-nextafter.c: Support platforms without FP exceptions.
81751 * math/bug-nexttoward.c: Likewise.
81752 * math/test-fenv.c: Likewise.
81753 * math/test-misc.c: Likewise.
81754 * stdlib/bug-getcontext.c: Likewise.
81755
81756 2012-05-17 Andreas Jaeger <aj@suse.de>
81757
81758 * manual/examples/search.c (critter_cmp): Change signature to
81759 avoid warnings.
81760 * manual/string.texi (Collation Functions): Likewise.
81761
81762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81763
81764 * bits/types.h: Fold copyright years.
81765 * bits/typesizes.h: Likewise.
81766 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81770 * time/time.h: Likewise.
81771
81772 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81773
81774 [BZ #208]
81775 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81776 in instead of returning them. Return void.
81777 (__libc_mallinfo): Accumulate over all arenas.
81778 (__malloc_stats): Adjust for change in int_mallinfo interface.
81779
81780 2012-05-16 Roland McGrath <roland@hack.frob.com>
81781
81782 [BZ #10375]
81783 * configure.in (NM): Add AC_CHECK_TOOL for it.
81784 (libc_extra_cflags): New substituted variable.
81785 Check for -fstack-protector being used implicitly.
81786 * configure: Regenerated.
81787 * config.make.in (config-extra-cflags): New variable,
81788 gets @libc_extra_cflags@.
81789 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81790
81791 [BZ #10375]
81792 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81793 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81794 * configure: Regenerated.
81795 * config.make.in (CPPUNDEFS): New substituted variable.
81796 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81797 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81798 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81799
81800 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81801
81802 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81803 (mq_attr): Use __syscall_slong_t.
81804
81805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81806
81807 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81808 Check __x86_64__ instead of __WORDSIZE.
81809 (_STAT_VER_LINUX): Likewise.
81810 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81811 __syscall_ulong_t and __syscall_slong_t.
81812 (stat64): Likewise.
81813
81814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81815
81816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81817
81818 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81819
81820 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81821
81822 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81823
81824 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81825 __syscall_ulong_t.
81826
81827 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81828 include <bits/wordsize.h>. Check __x86_64__ instead of
81829 __WORDSIZE.
81830 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81831 defined.
81832 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81833
81834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81835 include <bits/wordsize.h>. Check __x86_64__ instead of
81836 __WORDSIZE.
81837 (user_regs_struct): Use "__extension__ unsigned long long"
81838 instead of "unsigned long" if __x86_64__ is defined.
81839 (user): Likewise. Pad after pointer field if __ILP32__ is
81840 defined.
81841
81842 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81843
81844 * configure.in (makeinfo): Require version 4.5 or later. Allow
81845 versions 5 to 9.
81846 * configure: Regenerated.
81847 * manual/install.texi (texinfo): Increase version requirement to
81848 4.5 or later.
81849 * INSTALL: Regenerated.
81850
81851 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81852
81853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81854
81855 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81856
81857 * sysdeps/x86_64/x32/ffs.c: New file.
81858
81859 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81860 __syscall_ulong_t.
81861 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81862 defined. Use __syscall_ulong_t.
81863 (shminfo): Use __syscall_ulong_t.
81864 (shm_info): Likewise.
81865
81866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81867 __syscall_ulong_t.
81868
81869 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81870 <bits/wordsize.h>.
81871 (msgqnum_t): Use __syscall_ulong_t.
81872 (msglen_t): Likewise.
81873 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81874 __syscall_ulong_t.
81875
81876 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81877 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81878
81879 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81880
81881 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81882 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81883
81884 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81885 __syscall_slong_t.
81886
81887 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81888 include <bits/wordsize.h>. Check __x86_64__ instead of
81889 __WORDSIZE.
81890
81891 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81892 "unsigned long long int" if __x86_64__ is defined.
81893 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81894
81895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81896 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81897 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81898
81899 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81900 <stdint.h>.
81901 (GET_PC): Cast to uintptr_t first.
81902 (GET_FRAME): Likewise.
81903 (GET_STACK): Likewise.
81904
81905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81908 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81910 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81911 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81912 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81913 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81917 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81919 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81920 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81921 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81923 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81926 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81927 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81928 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81929 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81933 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81934
81935 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81936
81937 * Makerules (+depfiles): Also collect depfiles from .oS in
81938 $(extra-objs).
81939 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81940 .oS, $(libnldbl-routines)).
81941
81942 * Makerules (native-compile-mkdep-flags): Define.
81943 * sunrpc/Makefile (extra-objs): Add $(addprefix
81944 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81945 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81946 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81947 calling $(make-target-directory).
81948
81949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81950
81951 * bits/types.h (__snseconds_t): Removed.
81952 * time/time.h (struct timespec): Replace __snseconds_t with
81953 __syscall_slong_t.
81954 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81955 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81956 Likewise.
81957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81958 (__SNSECONDS_T_TYPE): Likewise.
81959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81960 (__SNSECONDS_T_TYPE): Likewise.
81961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81962 (__SNSECONDS_T_TYPE): Likewise.
81963
81964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81965
81966 * sysdeps/mach/hurd/bits/typesizes.h
81967 (__SYSCALL_SLONG_TYPE): New macro.
81968 (__SYSCALL_ULONG_TYPE): Likewise.
81969
81970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81971
81972 * bits/types.h (__syscall_slong_t): New type.
81973 (__syscall_ulong_t): Likewise.
81974
81975 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81976 (__SYSCALL_ULONG_TYPE): Likewise.
81977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81978 (__SYSCALL_SLONG_TYPE): Likewise.
81979 (__SYSCALL_ULONG_TYPE): Likewise.
81980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81981 (__SYSCALL_SLONG_TYPE): Likewise.
81982 (__SYSCALL_ULONG_TYPE): Likewise.
81983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81984 (__SYSCALL_SLONG_TYPE): Likewise.
81985 (__SYSCALL_ULONG_TYPE): Likewise.
81986
81987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81988
81989 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81990 Add sigaltstack-offsets.sym.
81991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81992 <sigaltstack-offsets.h>.
81993 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81994 longjmp_msg pointer.
81995 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81996 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81997 signal stack.
81998 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81999
82000 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82001
82002 * elf/stackguard-macros.h: Remove file.
82003 * sysdeps/generic/stackguard-macros.h: New file.
82004 * sysdeps/i386/stackguard-macros.h: Likewise.
82005 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82006 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82007 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82009 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82010 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82011 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82012 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82013 <elf/stackguard-macros.h>.
82014
82015 [BZ #14109]
82016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82017 __aligned__ in attribute.
82018 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82019 (gregset_t): Likewise.
82020
82021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82022
82023 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82024 * sysdeps/x86_64/64/Implies-after: Here. New file.
82025 * sysdeps/x86_64/x32/Implies-after: New file.
82026
82027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82028
82029 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82030 and access return value for _dl_profile_fixup. Use R10_LP to
82031 load frame size.
82032
82033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82034
82035 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82036
82037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82038
82039 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82040 * sysdeps/x86_64/x32/sysdep.h: New file.
82041
82042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82043
82044 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82045 * sysdeps/x86_64/setjmp.S: Likewise.
82046
82047 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82048
82049 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82050 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82051 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82053 remove unused global constant.
82054
82055 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82056
82057 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82058 include of <not-cancel.h>.
82059
82060 2012-05-15 Roland McGrath <roland@hack.frob.com>
82061
82062 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82063
82064 2012-05-15 Jeff Law <law@redhat.com>
82065 Andreas Jaeger <aj@suse.de>
82066
82067 [BZ #13594]
82068 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82069 out from...
82070 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82071 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82072 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82073 code changing __hst_map_handle.map.
82074
82075 2012-05-15 Roland McGrath <roland@hack.frob.com>
82076
82077 * configure.in (sysnames): Look for Implies-before and Implies-after
82078 files.
82079 * configure: Regenerated.
82080
82081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82082
82083 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82084 8-byte data alignment with LP_SIZE alignment.
82085
82086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82087
82088 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82089 into R10_LP.
82090
82091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82092
82093 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82094
82095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82096
82097 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82098 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82100 Likewise.
82101 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82102
82103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82104
82105 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82106 (stackinfo_sub_sp): Likewise.
82107
82108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82109
82110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82111 RAX_LP.
82112
82113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82114
82115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82116 into R*_LP.
82117
82118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82119
82120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82121 sizes into R*_LP.
82122
82123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82124
82125 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82126
82127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82128
82129 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82130 into R11_LP and load __x86_64_shared_cache_size_half into
82131 R8_LP.
82132
82133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82134
82135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82136 R8_LP.
82137
82138 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82139
82140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82141 logb for POWER7.
82142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82143 logbf for POWER7.
82144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82145 logbl for POWER7.
82146 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82147 powerpc32/power7/fpu/s_logb.c via #include.
82148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82149 powerpc32/power7/fpu/s_logbf.c via #include.
82150 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82151 powerpc32/power7/fpu/s_logbl.c via #include.
82152
82153 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82154
82155 * README.libm: Remove file.
82156
82157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82158
82159 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82160 count for x32. Use R*_LP and omit operand-size suffix.
82161
82162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82163
82164 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82165 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82166 * sysdeps/x86_64/x32/shlib-versions: New file.
82167
82168 2012-05-14 Roland McGrath <roland@hack.frob.com>
82169
82170 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82171 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82172 Use _dl_fatal_printf instead.
82173
82174 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82175
82176 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82177 set if not set by the user. Do not allow for being unset.
82178 * sysdeps/unix/sysv/linux/configure: Regenerated.
82179
82180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82181
82182 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82183 the `q' suffix from lea and replace .quad with ASM_ADDR.
82184
82185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82186
82187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82188 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82189 instead of $17.
82190 (PTR_DEMANGLE): Likewise.
82191
82192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82193
82194 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82195 (LP_OP): Likewise.
82196 (ASM_ADDR): Likewise.
82197 (RAX_LP): Likewise.
82198 (RBP_LP): Likewise.
82199 (RBX_LP): Likewise.
82200 (RCX_LP): Likewise.
82201 (RDI_LP): Likewise.
82202 (RSI_LP): Likewise.
82203 (RSP_LP): Likewise.
82204 (R8_LP): Likewise.
82205 (R9_LP): Likewise.
82206 (R10_LP): Likewise.
82207 (R10_LP): Likewise.
82208 (R11_LP): Likewise.
82209 (R12_LP): Likewise.
82210 (R13_LP): Likewise.
82211 (R14_LP): Likewise.
82212 (R15_LP): Likewise.
82213
82214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82215
82216 * sysdeps/x86_64/x32/dl-machine.h: New file.
82217
82218 2012-05-14 Andreas Jaeger <aj@suse.de>
82219
82220 * manual/Makefile (subdir): Remove export of subdir.
82221 (all): Remove target.
82222 (.PHONY): Remove all from list.
82223 (mkinstalldirs): Remove.
82224 (.PHONY): Remove installdirs from list.
82225 ($(inst_infodir)/libc.info): Use make-target-directory.
82226 (installdirs): Remove.
82227 (subdir_%): Remove.
82228 (glibc-targets): Remove.
82229 (lib): Remove.
82230 (stubs): Remove.
82231 ($(objpfx)stubs ../po/manual.pot): Remove.
82232 ($(objpfx)stamp%): Remove.
82233 (make-target-directory): Remove.
82234 (subdir_install): Remove.
82235 (routines): Remove.
82236 (aux): Remove.
82237 (sources): Remove.
82238 (objects): Remove.
82239 (headers): Remove.
82240
82241 [BZ #13750]
82242 * manual/.gitignore: Remove, it's not needed anymore.
82243 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82244 all files in it.
82245 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82246 directory.
82247 (texis): Renamed to $(objpfx)texis.
82248 (texis-path): New, contains path to generated files.
82249 (chapters.%): Use texis-path for complete path, add extra argument
82250 libc-texinfo.sh.
82251 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82252 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82253 (summary,texi, stamp-summary): Use complete path of
82254 files. Generate files in build dir.
82255 (dir-add.texi): Build in build dir.
82256 (libm-err.texi,stamp-libm-err): Likewise.
82257 (version.texi, stamp-version): Likewise.
82258 (.%c.texi): Likewise.
82259 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82260 (mostlyclean): Remove target.
82261 (realclean): Remove target.
82262 (generated): Add new variable with contents from mostlyclean and
82263 realclean, remove entries duplicated in common-mostlyclean, add
82264 stamp-libm-err and stamp-version.
82265 (generated-dirs): Add libc directory.
82266 ($(inst_infodir)/libc.info): Install files from build dir.
82267
82268 * manual/install.texi (Configuring and compiling): Adjust since
82269 the info files are not part of the tar ball anymore.
82270
82271 2012-05-14 Andreas Jaeger <aj@suse.de>
82272
82273 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82274 variable.
82275
82276 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82277
82278 [BZ #13717]
82279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82280 to 2.2.0 where earlier.
82281 * sysdeps/unix/sysv/linux/configure: Regenerated.
82282 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82283 Remove conditional code.
82284 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82285 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82286 Remove conditional code.
82287 [!__NR_lchown]: Likewise.
82288 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82289 [__NR_lchown]: Likewise.
82290 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82291 comment referencing __ASSUME_LCHOWN_SYSCALL.
82292 * sysdeps/unix/sysv/linux/i386/sigaction.c
82293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82295 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82296 Remove conditional code.
82297 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82298 (__protocol_available): Remove #if 0 code.
82299 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82300 conditional code.
82301 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82302 * sysdeps/unix/sysv/linux/kernel-features.h
82303 (__ASSUME_GETCWD_SYSCALL): Don't define.
82304 (__ASSUME_REALTIME_SIGNALS): Likewise.
82305 (__ASSUME_PREAD_SYSCALL): Likewise.
82306 (__ASSUME_PWRITE_SYSCALL): Likewise.
82307 (__ASSUME_POLL_SYSCALL): Likewise.
82308 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82309 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82310 non-SPARC.
82311 (__ASSUME_SIOCGIFNAME): Don't define.
82312 (__ASSUME_MSG_NOSIGNAL): Likewise.
82313 (__ASSUME_SENDFILE): Define unconditionally.
82314 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82315 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82316 conditional code.
82317 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82318 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82319 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82320 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82321 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82322 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82323 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82325 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82337 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82340 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82343 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82348 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82349 Remove conditional code.
82350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82351 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82352 Remove conditional code.
82353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82354 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82355 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82356 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82357 Remove conditional code.
82358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82359 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82360 Remove conditional code.
82361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82362 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82363 Remove conditional code.
82364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82365 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82366 Remove conditional code.
82367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82368 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82369 Remove conditional code.
82370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82371 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82374 * sysdeps/unix/sysv/linux/sigaction.c
82375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82377 * sysdeps/unix/sysv/linux/sigpending.c
82378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82380 * sysdeps/unix/sysv/linux/sigprocmask.c
82381 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82382 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82383 * sysdeps/unix/sysv/linux/sigsuspend.c
82384 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82385 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82386 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82387 (__libc_missing_rt_sigs): Remove.
82388 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82389 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82390 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82391 Remove conditional code.
82392 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82393 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82394 return 1.
82395 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82396 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82397 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82398 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82399
82400 2012-05-14 Andreas Jaeger <aj@suse.de>
82401
82402 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82403 it's not used in glibc.
82404 (__coshm1): Likewise.
82405 (__acosh1p): Likewise.
82406 (__sgn): Likewise.
82407
82408 * manual/string.texi (Copying and Concatenation): Add missing
82409 variable in concat example.
82410 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82411
82412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82413
82414 [BZ #14103]
82415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82416 __builtin_clzl with __builtin_clzll.
82417
82418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82419
82420 [BZ #14104]
82421 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82422 libc_freeres_ptr.
82423
82424 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82425
82426 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82427 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82428 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82430
82431 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82432
82433 * NEWS: Update ia64 info.
82434
82435 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82436
82437 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82438 used as bcopy.
82439
82440 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82441
82442 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82443 * sysdeps/unix/syscalls.list (dup3): Likewise.
82444 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82445 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82446
82447 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82448
82449 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82450 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82451
82452 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82453
82454 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82455 thread pointer.
82456 (TLS_IE): Use mov/add instead of movq/addq to load thread
82457 pointer.
82458 (TLS_GD_PREFIX): New.
82459 (TLS_GD): Use it.
82460
82461 2012-05-11 David S. Miller <davem@davemloft.net>
82462
82463 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82464 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82465 (_FPU_SETCW): Likewise.
82466
82467 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82468
82469 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82470 is 32-byte aligned.
82471
82472 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82473
82474 [BZ #11837]
82475 * iconvdata/gb18030.c: Update tables.
82476 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82477 characters specially.
82478 (BODY for TO_LOOP): Add encoding of missing ranges.
82479
82480 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82481
82482 [BZ #13673]
82483 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82484 * sysdeps/mach/hurd/dup3.c: Likewise.
82485 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82486 * sysdeps/powerpc/memmove.c:: Likewise.
82487
82488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82489
82490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82491 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82492
82493 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82494
82495 * elf/elf.h (R_X86_64_RELATIVE64): New.
82496 (R_X86_64_NUM): Updated.
82497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82498 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82499 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82500 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82501 tst-quad1pie tst-quad2pie
82502 (modules-names): Add tst-quadmod1 tst-quadmod2.
82503 ($(objpfx)tst-quad1): New dependency.
82504 ($(objpfx)tst-quad2): Likewise.
82505 ($(objpfx)tst-quad1pie): Likewise.
82506 ($(objpfx)tst-quad2pie): Likewise.
82507 * sysdeps/x86_64/tst-quad1.c: New file.
82508 * sysdeps/x86_64/tst-quad1pie.c: New file.
82509 * sysdeps/x86_64/tst-quad2.c: Likewise.
82510 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82511 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82512 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82513 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82514 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82515
82516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82517
82518 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82519 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82520 * streams/stropts.h (t_scalar_t): Define type.
82521
82522 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82523 (_PATH_PRESERVE): Set to "/var/lib".
82524 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82525
82526 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82527 instead of int.
82528
82529 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82530 if __dir_mkfile succeeded.
82531
82532 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82533 checking for _hurd_dtablesize. Unlock it right after having
82534 finished _hurd_dtable allocation.
82535
82536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82537
82538 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82539 * sysdeps/mach/hurd/configure: Regenerated.
82540 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82541 special-casing to...
82542 * sysdeps/gnu/configure.in: ... this new file.
82543 * sysdeps/unix/sysv/linux/configure: Regenerated.
82544 * sysdeps/gnu/configure: New generated file.
82545
82546 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82547 for Linux: use nsec instead of usec, as well as:
82548 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82549 members of type struct timespec.
82550 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82551 New macros.
82552 (struct stat64): Likewise.
82553 (_STATBUF_ST_NSEC): New macro.
82554 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82555
82556 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82557 __strtoul_internal rather than strtoul.
82558
82559 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82560
82561 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82562 and reject them.
82563
82564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82565
82566 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82567 which preserves existing values.
82568 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82569
82570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82571
82572 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82573 TIMEOUT values. Return EINVAL for NFDS values either negative or
82574 greater than FD_SETSIZE.
82575
82576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82577
82578 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82579 allocated, call __vm_protect to finish enabling the existing space, and
82580 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82581 allocate the remainder.
82582
82583 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82584
82585 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82586 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82587
82588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82589
82590 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82591 sysdeps/mach/hurd/readlink.c.
82592
82593 * posix/tst-sysconf.c (posix_options): Only use
82594 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82595 _POSIX_SYNCHRONIZED_IO when they are defined
82596 * sysdeps/mach/hurd/bits/posix_opt.h:
82597 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82598 (_XOPEN_REALTIME): Undefine macro.
82599 (_XOPEN_REALTIME_THREADS): Undefine macro.
82600 (_XOPEN_SHM): Undefine macro.
82601 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82602 macro to -1.
82603 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82604 macro to -1.
82605 (_POSIX_ASYNC_IO): Undefine macro.
82606 (_POSIX_PRIORITIZED_IO): Undefine macro.
82607 (_POSIX_SPIN_LOCKS): Define macro to -1.
82608
82609 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82610 SA_NODEFER, SA_RESETHAND.
82611 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82612 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82613 F_DUPFD_CLOEXEC.
82614
82615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82616
82617 * elf/Makefile (pldd-modules): Define unconditionally.
82618
82619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82620
82621 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82622
82623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82624
82625 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82626 Return ENOENT when name is empty.
82627 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82628
82629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82630
82631 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82632
82633 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82634
82635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82636
82637 Fix mlock in all cases except non-readable pages.
82638 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82639 instead of VM_PROT_ALL as parameter to __vm_wire function.
82640
82641 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82642 (__mkdir): When path is `/', just fail with EEXIST.
82643 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82644
82645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82646
82647 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82648 <sys/uio.h> (for writev).
82649 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82650 and <sys/param.h> (for MIN).
82651
82652 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82653
82654 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82655 REQUESTED_TIME. Properly set the remaining time and return EINTR
82656 if interrupted.
82657
82658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82659
82660 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82661 Depend on against $(link-rpcuserlibs).
82662
82663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82664
82665 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82666 (__libc_stack_end): Do not use attribute_relro.
82667 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82668 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82669 to libthread-provided value.
82670 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82671 attribute_relro.
82672
82673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82674
82675 [BZ #3748]
82676 * bits/libc-lock.h (__libc_once_get): New macro.
82677 * sysdeps/mach/bits/libc-lock.h: Likewise.
82678 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82680 instead of using implementation details.
82681
82682 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82683 * libio/freopen.c: Likewise.
82684 * libio/freopen64.c: Likewise.
82685 * misc/syslog.c: Likewise.
82686 * nscd/connections.c: Likewise.
82687 * nscd/netgroupcache.c: Likewise.
82688 * sysdeps/posix/getcwd.c: Likewise.
82689
82690 2012-05-10 Roland McGrath <roland@hack.frob.com>
82691
82692 * math/w_ilogbf.c: Add #include <limits.h>.
82693
82694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82695
82696 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82697 path instead of returning without unlocking.
82698
82699 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82700 immediate-write ioctls.
82701 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82702
82703 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82704
82705 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82706 __builtin_frame_address instead of making assumptions about the
82707 location of the return address relative to DATA. Force early load of
82708 the return address.
82709 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82710 __builtin_frame_address.
82711
82712 dup3 for GNU Hurd.
82713 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82714 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82715 implement dup3 and do some further code clean-ups.
82716 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82717 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82718
82719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82720
82721 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82722
82723 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82724 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82725 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82726 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82727 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82728 d->port.lock.
82729
82730 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82731 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82732 when handler == SIG_ERR, not when handler != SIG_ERR.
82733
82734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82735
82736 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82737 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82738 definitions.
82739
82740 accept4 for GNU Hurd.
82741 * include/sys/socket.h (__libc_accept4): New prototype.
82742 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82743 to implement __libc_accept4.
82744 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82745 __libc_accept4.
82746 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82747
82748 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82749 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82750 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82751 signal-defines.sym.
82752
82753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82754
82755 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82756
82757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82758
82759 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82760 assertion on O_CLOEXEC flag.
82761 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82762 * hurd/intern-fd.c: Likewise.
82763 * hurd/port2fd.c: Likewise.
82764
82765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82766
82767 [BZ #3906]
82768 * bits/in.h (IPV6_PKTINFO): Define new macro.
82769 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82770
82771 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82772
82773 [BZ #13954]
82774 [BZ #13955]
82775 [BZ #13956]
82776 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82778 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82779 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82781 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82782 * math/libm-test.inc (logb_test) : Additional logb tests.
82783
82784 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82785 Andreas Jaeger <aj@suse.de>
82786
82787 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82788 * configure: Regenerated.
82789 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82790 * config.make.in (link-obsolete-rpc): New substituted variable.
82791 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82792 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82793 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82794 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82795 so that libc.a contains the symbols.
82796 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82797 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82798 * sunrpc/auth_none.c: Likewise.
82799 * sunrpc/auth_unix.c: Likewise.
82800 * sunrpc/authdes_prot.c: Likewise.
82801 * sunrpc/authuxprot.c: Likewise.
82802 * sunrpc/clnt_gen.c: Likewise.
82803 * sunrpc/clnt_perr.c: Likewise.
82804 * sunrpc/clnt_raw.c: Likewise.
82805 * sunrpc/clnt_simp.c: Likewise.
82806 * sunrpc/clnt_tcp.c: Likewise.
82807 * sunrpc/clnt_udp.c: Likewise.
82808 * sunrpc/clnt_unix.c: Likewise.
82809 * sunrpc/des_crypt.c: Likewise.
82810 * sunrpc/des_soft.c: Likewise.
82811 * sunrpc/get_myaddr.c: Likewise.
82812 * sunrpc/key_call.c: Likewise.
82813 * sunrpc/key_prot.c: Likewise.
82814 * sunrpc/netname.c: Likewise.
82815 * sunrpc/pm_getmaps.c: Likewise.
82816 * sunrpc/pm_getport.c: Likewise.
82817 * sunrpc/pmap_clnt.c: Likewise.
82818 * sunrpc/pmap_prot.c: Likewise.
82819 * sunrpc/pmap_prot2.c: Likewise.
82820 * sunrpc/pmap_rmt.c: Likewise.
82821 * sunrpc/publickey.c: Likewise.
82822 * sunrpc/rpc_cmsg.c: Likewise.
82823 * sunrpc/rpc_common.c: Likewise.
82824 * sunrpc/rpc_dtable.c: Likewise.
82825 * sunrpc/rpc_prot.c: Likewise.
82826 * sunrpc/rpc_thread.c: Likewise.
82827 * sunrpc/rtime.c: Likewise.
82828 * sunrpc/svc.c: Likewise.
82829 * sunrpc/svc_auth.c: Likewise.
82830 * sunrpc/svc_raw.c: Likewise.
82831 * sunrpc/svc_run.c: Likewise.
82832 * sunrpc/svc_tcp.c: Likewise.
82833 * sunrpc/svc_udp.c: Likewise.
82834 * sunrpc/svc_unix.c: Likewise.
82835 * sunrpc/svcauth_des.c: Likewise.
82836 * sunrpc/xcrypt.c: Likewise.
82837 * sunrpc/xdr.c: Likewise.
82838 * sunrpc/xdr_array.c: Likewise.
82839 * sunrpc/xdr_float.c: Likewise.
82840 * sunrpc/xdr_intXX_t.c: Likewise.
82841 * sunrpc/xdr_mem.c: Likewise.
82842 * sunrpc/xdr_rec.c: Likewise.
82843 * sunrpc/xdr_ref.c: Likewise.
82844 * sunrpc/xdr_sizeof.c: Likewise.
82845 * sunrpc/xdr_stdio.c: Likewise.
82846
82847 2012-05-10 Roland McGrath <roland@hack.frob.com>
82848
82849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82850 change. Update copyright years.
82851
82852 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82853
82854 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82855
82856 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82857 Joseph Myers <joseph@codesourcery.com>
82858 Paul Pluzhnikov <ppluzhnikov@google.com>
82859
82860 [BZ #14012]
82861 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82862 requiring rpcgen.
82863 [cross-compiling] (extra-libs): Likewise.
82864 [cross-compiling] (extra-libs-others): Likewise.
82865 [cross-compiling] (librpcsvc-routines): Likewise.
82866 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82867 [cross-compiling] (omit-deps): Likewise.
82868 (sunrpc-CPPFLAGS): New variable.
82869 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82870 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82871 (cross-rpcgen-objs): New variable.
82872 (extra-objs): Append $(cross-rpcgen-objs).
82873 ($(cross-rpcgen-objs)): New rule.
82874 ($(objpfx)cross-rpcgen): Likewise.
82875 (rpcgen-cmd): Define to use $(built-program-file). Expand
82876 comment.
82877 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82878 ($(objpfx)x%.stmp): Likewise.
82879 * sunrpc/proto.h [IS_IN_build] (_): Define.
82880 [IS_IN_build] (_libc_intl_domainname): Likewise.
82881
82882 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82883
82884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82885 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82886 and R_X86_64_TPOFF64.
82887
82888 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82889
82890 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82891 sysdeps/unix/sysv/syscalls.list.
82892 (stime): Likewise.
82893 (utime): Likewise.
82894 * sysdeps/unix/sysv/syscalls.list: Remove file.
82895
82896 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82897
82898 [BZ #3440]
82899 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82900 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82901 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82902 (__LC_IDENTIFICATION): Make these macros useful in #if
82903 expressions, as required by C99.
82904
82905 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82906
82907 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82908 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82909 after this.
82910
82911 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82912
82913 * stdlib/longlong.h: Updated from GCC.
82914
82915 2012-05-09 Andreas Jaeger <aj@suse.de>
82916
82917 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82918 default is first entry.
82919 (run_mode): Set type.
82920 (main): Remove informal message about syslog.
82921 (options): Fix typo.
82922
82923 [BZ #14053]
82924 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82925 to asm.
82926 (lrint): Likewise.
82927 (llrintf): Likewise.
82928 (llrint): Likewise.
82929 (rint): Likewise.
82930 (rintf): Likewise.
82931 (nearbyint): Likewise.
82932 (nearbyintf): Likewise.
82933
82934 2012-05-09 Andreas Jaeger <aj@suse.de>
82935 Pedro Alves <palves@redhat.com>
82936
82937 * nscd/nscd.c (run_mode): Use enum.
82938 (main): Cleanup coding style issue.
82939
82940 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82941 Andreas Jaeger <aj@suse.de>
82942
82943 * nscd/nscd.c (go_background): Replaced with...
82944 (run_mode): ... this.
82945 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82946 (options): Add -F --foreground.
82947 (main): Implement it.
82948 (parse_opt): Parse it.
82949
82950 2012-05-09 Andreas Jaeger <aj@suse.de>
82951
82952 [BZ #14083]
82953 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82954 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82955 -Wconversion warning.
82956 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82957 Likewise.
82958
82959 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82960
82961 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82962 == 0.
82963 (LC_ALL): Use macro-int-constant.
82964 (LC_COLLATE): Likewise.
82965 (LC_CTYPE): Likewise.
82966 (LC_MESSAGES): Likewise.
82967 (LC_MONETARY): Likewise.
82968 (LC_NUMERIC): Likewise.
82969 (LC_TIME): Likewise.
82970 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82971 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82973 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82974 Specify type.
82975 [C99-based standards] (float_t): Expect type.
82976 [C99-based standards] (double_t): Expect type.
82977 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82978 type.
82979 [C99-based standards] (HUGE_VALL): Likewise.
82980 [C99-based standards] (INFINITY): Likewise.
82981 [C99-based standards] (NAN): Likewise.
82982 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82983 [C99-based standards] (FP_NAN): Likewise.
82984 [C99-based standards] (FP_NORMAL): Likewise.
82985 [C99-based standards] (FP_SUBNORMAL): Likewise.
82986 [C99-based standards] (FP_ZERO): Likewise.
82987 [C99-based standards] (FP_FAST_FMA): Use
82988 optional-macro-int-constant. Specify type. Require == 1.
82989 [C99-based standards] (FP_FAST_FMAF): Likewise.
82990 [C99-based standards] (FP_FAST_FMAL): Likewise.
82991 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82992 [C99-based standards] (FP_ILOGBNAN): Likewise.
82993 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82994 Specify type.
82995 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82996 [C99-based standards] (math_errhandling): Specify type.
82997 [ISO99 || ISO11] (signgam): Do not allow.
82998 [non-C99-based standards] (copysignf): Do not allow.
82999 [non-C99-based standards] (exp2f): Likewise.
83000 [non-C99-based standards] (log2f): Likewise.
83001 [non-C99-based standards] (modff): Allow.
83002 [non-C99-based standards] (erff): Do not allow.
83003 [non-C99-based standards] (erfcf): Likewise.
83004 [non-C99-based standards] (gammaf): Likewise.
83005 [non-C99-based standards] (hypotf): Likewise.
83006 [non-C99-based standards] (j0f): Likewise.
83007 [non-C99-based standards] (j1f): Likewise.
83008 [non-C99-based standards] (jnf): Likewise.
83009 [non-C99-based standards] (lgammaf): Likewise.
83010 [non-C99-based standards] (tgammaf): Likewise.
83011 [non-C99-based standards] (y0f): Likewise.
83012 [non-C99-based standards] (y1f): Likewise.
83013 [non-C99-based standards] (ynf): Likewise.
83014 [non-C99-based standards] (isnanf): Likewise.
83015 [non-C99-based standards] (acoshf): Likewise.
83016 [non-C99-based standards] (asinhf): Likewise.
83017 [non-C99-based standards] (atanhf): Likewise.
83018 [non-C99-based standards] (cbrtf): Likewise.
83019 [non-C99-based standards] (expm1f): Likewise.
83020 [non-C99-based standards] (ilogbf): Likewise.
83021 [non-C99-based standards] (log1pf): Likewise.
83022 [non-C99-based standards] (logbf): Likewise.
83023 [non-C99-based standards] (nextafterf): Likewise.
83024 [non-C99-based standards] (remainderf): Likewise.
83025 [non-C99-based standards] (rintf): Likewise.
83026 [non-C99-based standards] (scalbf): Likewise.
83027 [non-C99-based standards] (copysignl): Likewise.
83028 [non-C99-based standards] (exp2l): Likewise.
83029 [non-C99-based standards] (log2l): Likewise.
83030 [non-C99-based standards] (modfl): Allow.
83031 [non-C99-based standards] (erfl): Do not allow.
83032 [non-C99-based standards] (erfcl): Likewise.
83033 [non-C99-based standards] (gammal): Likewise.
83034 [non-C99-based standards] (hypotl): Likewise.
83035 [non-C99-based standards] (j0l): Likewise.
83036 [non-C99-based standards] (j1l): Likewise.
83037 [non-C99-based standards] (jnl): Likewise.
83038 [non-C99-based standards] (lgammal): Likewise.
83039 [non-C99-based standards] (tgammal): Likewise.
83040 [non-C99-based standards] (y0l): Likewise.
83041 [non-C99-based standards] (y1l): Likewise.
83042 [non-C99-based standards] (ynl): Likewise.
83043 [non-C99-based standards] (isnanl): Likewise.
83044 [non-C99-based standards] (acoshl): Likewise.
83045 [non-C99-based standards] (asinhl): Likewise.
83046 [non-C99-based standards] (atanhl): Likewise.
83047 [non-C99-based standards] (cbrtl): Likewise.
83048 [non-C99-based standards] (expm1l): Likewise.
83049 [non-C99-based standards] (ilogbl): Likewise.
83050 [non-C99-based standards] (log1pl): Likewise.
83051 [non-C99-based standards] (logbl): Likewise.
83052 [non-C99-based standards] (nextafterl): Likewise.
83053 [non-C99-based standards] (remainderl): Likewise.
83054 [non-C99-based standards] (rintl): Likewise.
83055 [non-C99-based standards] (scalbl): Likewise.
83056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83057 [non-C99-based standards] (FP_*): Do not allow.
83058 [C99-based standards] (FP_*): Change to
83059 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83060 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83061 allow.
83062 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83063 (SIG_ERR): Likewise.
83064 [X/Open-based standards] (SIG_HOLD): Likewise.
83065 (SIG_IGN): Likewise.
83066 (SIGABRT): Use macro-int-constant. Specify type. Require
83067 positive value.
83068 (SIGFPE): Likewise.
83069 (SIGILL): Likewise.
83070 (SIGINT): Likewise.
83071 (SIGSEGV): Likewise.
83072 (SIGTER): Likewise.
83073 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83074 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83075 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83076 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83077 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83078 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83079 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83080 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83081 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83082 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83083 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83084 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83085 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83086 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83087 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83088 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83089 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83090 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83091 [X/Open-based standards] (SIGTRAP): Likewise.
83092 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83093 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83094 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83095 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83096 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83097 allow.
83098
83099 2012-05-08 Ian Wienand <ianw@vmware.com>
83100
83101 [BZ #14080]
83102 * time/tzset.c (__tzset_parse_tz): Update default rules for
83103 daylight time changes in the Energy Policy Act of 2005.
83104
83105 2012-05-09 Andreas Jaeger <aj@suse.de>
83106
83107 [BZ #13983]
83108 * elf/ldconfig.c (parse_conf): Change string to make clear that
83109 ldconfig only issued a warning if ld.so.conf does not exist.
83110
83111 2012-05-08 David S. Miller <davem@davemloft.net>
83112
83113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83114 movxtod instead of popping the value on the stack.
83115
83116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83117
83118 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83119
83120 * config.h.in: Add HAVE_ARM_PCS_VFP.
83121
83122 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83123
83124 [BZ #13979]
83125 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83126 checking but the checks are disabled for any reason.
83127
83128 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83129
83130 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83131 and ELF64_R_TYPE with ELFW(R_TYPE).
83132
83133 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83134
83135 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83136 (ulimit): Likewise.
83137
83138 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83139 (settimeofday): Likewise.
83140
83141 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83142
83143 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83144 a struct th_u2 inside the union, and move tu_block/tu_code into
83145 a new th_u3 union of tu_block/tu_code inside of that. Move
83146 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83147 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83148 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83149 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83150 (th_stuff): Change to th_u1.tu_stuff.
83151 (th_data): Define.
83152 (th_msg): Change to th_u1.th_u2.tu_data.
83153
83154 2012-05-07 David S. Miller <davem@davemloft.net>
83155
83156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83157
83158 [BZ #14074]
83159 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83160 (SETUP_PIC_REG): Use it.
83161 (SETUP_PIC_REG_LEAF): Use it.
83162
83163 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83164
83165 [BZ #13885]
83166 [BZ #13923]
83167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83168 USE_AS_EXPM1L.
83169 (EXPL_FINITE): Likewise.
83170 (FLDLOG): Likewise.
83171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83172 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83173 e_expl.S.
83174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83175 USE_AS_EXPM1L.
83176 (EXPL_FINITE): Likewise.
83177 (FLDLOG): Likewise.
83178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83179 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83180 e_expl.S.
83181 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83182 test of -max_value argument for long double.
83183 * sysdeps/i386/fpu/libm-test-ulps: Update.
83184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83185
83186 2012-05-06 David S. Miller <davem@davemloft.net>
83187
83188 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83189 quad soft-float symbols whose references which are compiler
83190 generated.
83191 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83192
83193 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83194
83195 [BZ #13884]
83196 [BZ #13914]
83197 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83198 USE_AS_EXP10L.
83199 (EXPL_FINITE): Likewise.
83200 (FLDLOG): Likewise.
83201 (c0): Likewise.
83202 (c1): Likewise.
83203 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83204 Adjust comments for base varying.
83205 (__expl_finite): Change alias to EXPL_FINITE.
83206 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83207 e_expl.S.
83208 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83209 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83210 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83211 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83212 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83213 USE_AS_EXP10L.
83214 (EXPL_FINITE): Likewise.
83215 (FLDLOG): Likewise.
83216 (c0): Likewise.
83217 (c1): Likewise.
83218 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83219 Adjust comments for base varying.
83220 (__expl_finite): Change alias to EXPL_FINITE.
83221 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83222 tests for bugs.
83223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83224
83225 [BZ #14064]
83226 * math/libm-test.inc (check_float_internal): Correct ulp
83227 calculation for subnormal expected results.
83228
83229 2012-05-06 Andreas Jaeger <aj@suse.de>
83230
83231 * Makeconfig (+math-flags): New, set to -frounding-math.
83232 (+cflags): Add +math-flags so that all of glibc gets compiled with
83233 it.
83234
83235 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83236
83237 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83238
83239 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83240 Disable one test.
83241
83242 [BZ #13787]
83243 [BZ #13922]
83244 [BZ #14036]
83245 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83246 (__ieee754_expl): Allow for and saturate large arguments.
83247 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83248 (u_threshold): Likewise.
83249 (__exp): Call __ieee754_exp before checking for overflow and
83250 underflow.
83251 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83252 (u_threshold): Likewise.
83253 (__expf): Call __ieee754_expf before checking for overflow and
83254 underflow.
83255 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83256 (u_threshold): Likewise.
83257 (__expl): Call __ieee754_expl before checking for overflow and
83258 underflow.
83259 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83260 (__ieee754_expl): Allow for and saturate large arguments.
83261 * math/libm-test.inc (exp_test): Add another test. Do not allow
83262 missing overflow exception on overflow.
83263 (expm1_test): Do not allow missing overflow exception on overflow.
83264
83265 * sysdeps/i386/fpu/e_expl.c: Move to ...
83266 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83267 rather than using inline asm.
83268 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83269 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83270 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83271
83272 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83273 (nice): Likewise.
83274 (poll): Likewise.
83275 (signal): Likewise.
83276 (time): Likewise.
83277 (times): Likewise.
83278
83279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83280
83281 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83282 sysdeps/unix/common/syscalls.list.
83283 (fchmod): Likewise.
83284 (fchown): Likewise.
83285 (ftruncate): Likewise.
83286 (getrusage): Likewise.
83287 (gettimeofday): Likewise.
83288 (setpgid): Likewise.
83289 (setregid): Likewise.
83290 (setreuid): Likewise.
83291 (sigaction): Likewise.
83292 (truncate): Likewise.
83293 (vhangup): Likewise.
83294 * sysdeps/unix/common/syscalls.list: Remove file.
83295 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83296 * sysdeps/unix/sysv/linux/Implies: Likewise.
83297
83298 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83299
83300 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83302 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83303 Moved to ...
83304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83305 Here.
83306 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83307 to ...
83308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83309 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83310 to ...
83311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83312 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83313 to ...
83314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83315 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83316 to ...
83317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83318 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83319 to ...
83320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83321 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83322 to ...
83323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83325 to ...
83326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83327 Here.
83328 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83329 to ...
83330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83331 Here.
83332 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83333 to ...
83334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83335 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83336 Moved to ...
83337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83338 Here.
83339 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83340 to ...
83341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83342
83343 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83344
83345 * sysdeps/unix/common/bits/dirent.h: Remove file.
83346 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83347
83348 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83349 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83350 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83351 * sysdeps/unix/bsd/isatty.c: Likewise.
83352 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83353 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83354 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83355
83356 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83357
83358 [BZ #13563]
83359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83360 long double comparison inaccuracies.
83361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83363
83364 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83365
83366 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83368
83369 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83370
83371 [BZ #14049]
83372 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83373 nonzero digits before rounding a hex value.
83374 * stdlib/tst-strtod.c (tests): Add another test.
83375
83376 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83377
83378 * sysdeps/s390/fpu/libm-test-ulps: Update.
83379
83380 2012-05-03 Andreas Jaeger <aj@suse.de>
83381
83382 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83383 does not get optimized out.
83384 (malloc_opt_barrier): New.
83385
83386 2012-05-03 Andreas Jaeger <aj@suse.de>
83387 Roland McGrath <roland@hack.frob.com>
83388
83389 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83390 intermediate file deletion.
83391 (generated): Add .symlist files.
83392
83393 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83394
83395 [BZ #13775]
83396 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83397 Redirect under this condition.
83398 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83399 [__USE_GNU] (__dprintf_chk): Not under this condition.
83400 [__USE_GNU] (__vdprintf_chk): Likewise.
83401 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83402 under this condition.
83403 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83404 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83405 [__USE_XOPEN2K8] (vdprintf): Likewise.
83406 [__USE_GNU] (__dprintf_chk): Not under this condition.
83407 [__USE_GNU] (__vdprintf_chk): Likewise.
83408 [__USE_GNU] (dprintf): Likewise.
83409 [__USE_GNU] (vdprintf): Likewise.
83410
83411 2012-05-03 Roland McGrath <roland@hack.frob.com>
83412
83413 * elf/Makefile (common-generated): Set this instead of generated for
83414 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83415 $(all-built-dso)-derived lists.
83416
83417 2012-05-03 Andreas Jaeger <aj@suse.de>
83418
83419 * sysdeps/i386/fpu/libm-test-ulps: Update.
83420
83421 * FAQ: Removed.
83422 * FAQ.in: Likewise.
83423 * scripts/gen-FAQ.pl: Likewise.
83424 * manual/install.texi (Installation): Point to online location of
83425 FAQ.
83426 * Makefile (files-for-dist): Remove FAQ.
83427 (FAQ): Remove.
83428
83429 2012-05-02 Allan McRae <allan@archlinux.org>
83430
83431 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83432 (LDFLAGS-reldepmod5.so): Likewise.
83433 (LDFLAGS-reldep6mod1.so): Likewise.
83434 (LDFLAGS-reldep6mod4.so): Likewise.
83435 (LDFLAGS-reldep8mod3.so): Likewise.
83436 (LDFLAGS-unload4mod1.so): Likewise.
83437 (LDFLAGS-unload4mod2.so): Likewise.
83438 (LDFLAGS-tst-initorder): Likewise.
83439 (LDFLAGS-tst-initordera2.so): Likewise.
83440 (LDFLAGS-tst-initordera3.so): Likewise.
83441 (LDFLAGS-tst-initordera4.so): Likewise.
83442 (LDFLAGS-tst-initorderb2.so): Likewise.
83443 (LDFLAGS-noload): Likewise.
83444 (LDFLAGS-next): Likewise.
83445 (LDFLAGS-order2mod1.so): Likewise.
83446 (LDFLAGS-order2mod2.so): Likewise.
83447 (LDFLAGS-tst-initorder2): Likewise.
83448 (LDFLAGS-tst-initorder2a.so): Likewise.
83449 (LDFLAGS-tst-initorder2b.so): Likewise.
83450 (LDFLAGS-tst-initorder2c.so): Likewise.
83451 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83452
83453 2012-05-02 David S. Miller <davem@davemloft.net>
83454
83455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83456
83457 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83458
83459 [BZ #14055]
83460 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83461
83462 2012-05-02 Andreas Jaeger <aj@suse.de>
83463
83464 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83465 since we manipulate rounding mode.
83466 (CPPFLAGS-test-idouble.c): Likewise.
83467 (CPPFLAGS-test-ifloat.c): Likewise.
83468 (CFLAGS-test-ldouble.c): Likewise.
83469 (CFLAGS-test-double.c): Likewise.
83470 (CFLAGS-test-float.c): Likewise.
83471 (CFLAGS-test-misc.c): Likewise.
83472 (CFLAGS-test-test-fenv.c): Likewise.
83473
83474 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83475
83476 [BZ #2550]
83477 [BZ #2570]
83478 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83479 comparisons to determine direction to adjust input.
83480
83481 2012-05-01 Roland McGrath <roland@hack.frob.com>
83482
83483 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83484 output to the target.
83485
83486 * scripts/localplt.awk: New file.
83487 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83488 (check-localplt-CFLAGS): Variable removed.
83489 ($(all-built-dso:=.jmprel)): New static pattern rule.
83490 (generated): Add those targets.
83491 (localplt-built-dso): New variable.
83492 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83493
83494 * elf/check-localplt.c: File removed.
83495
83496 * scripts/check-execstack.awk: New file.
83497 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83498 (check-execstack-CFLAGS): Variable removed.
83499 ($(objpfx)check-execstack.h): Target removed.
83500 ($(objpfx)execstack-default): New target.
83501 (generated): Add that instead of check-execstack.h.
83502 ($(all-built-dso:=.phdr)): New static pattern rule.
83503 (generated): Add those targets.
83504 * elf/check-execstack.c: File removed.
83505
83506 * scripts/check-textrel.awk: New file.
83507 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83508 (check-textrel-CFLAGS): Variable removed.
83509 (all-built-dso): Use := to define.o
83510 ($(all-built-dso:=.dyn)): New static pattern rule.
83511 (generated): Add those targets.
83512 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83513 * config.make.in (READELF): New substituted variable.
83514 * elf/check-textrel.c: File removed.
83515
83516 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83517
83518 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83519 allow.
83520 * conform/data/ctype.h-data [C99-based standards] (isblank):
83521 Expect function.
83522 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83523 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83525 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83526 Specify type. Require positive value.
83527 (EILSEQ): Likewise.
83528 (ERANGE): Likewise.
83529 [ISO || POSIX] (EILSEQ): Do not expect.
83530 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83531 Specify type. Require positive value.
83532 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83533 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83534 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83535 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83536 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83537 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83538 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83539 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83540 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83541 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83542 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83543 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83544 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83545 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83546 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83547 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83548 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83549 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83550 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83551 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83552 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83553 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83554 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83555 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83556 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83557 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83558 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83559 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83560 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83561 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83562 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83563 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83564 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83565 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83566 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83567 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83568 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83569 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83570 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83571 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83572 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83573 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83574 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83575 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83576 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83577 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83578 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83579 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83580 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83581 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83582 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83583 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83584 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83585 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83586 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83587 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83588 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83589 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83590 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83591 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83592 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83593 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83594 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83595 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83596 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83597 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83598 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83599 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83600 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83601 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83602 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83603 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83604 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83605 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83606 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83607 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83608 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83609 Require >= 2.
83610 (FLT_ROUNDS): Expect as macro, not constant.
83611 (FLT_MANT_DIG): Use macro-int-constant.
83612 (DBL_MANT_DIG): Likewise.
83613 (LDBL_MANT_DIG): Likewise.
83614 (FLT_DIG): Likewise.
83615 (DBL_DIG): Likewise.
83616 (LDBL_DIG): Likewise.
83617 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83618 (DBL_MIN_EXP): Likewise.
83619 (LDBL_MIN_EXP): Likewise.
83620 (FLT_MAX_EXP): Use macro-int-constant.
83621 (DBL_MAX_EXP): Likewise.
83622 (LDBL_MAX_EXP): Likewise.
83623 (FLT_MAX_10_EXP): Likewise.
83624 (DBL_MAX_10_EXP): Likewise.
83625 (LDBL_MAX_10_EXP): Likewise.
83626 (FLT_MAX): Use macro-constant.
83627 (DBL_MAX): Likewise.
83628 (LDBL_MAX): Likewise.
83629 (FLT_EPSILON): Use macro-constant. Give upper bound.
83630 (DBL_EPSILON): Likewise.
83631 (LDBL_EPSILON): Likewise.
83632 (FLT_MIN): Likewise.
83633 (DBL_MIN): Likewise.
83634 (LDBL_MIN): Likewise.
83635 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83636 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83637 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83638 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83639 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83640 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83641 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83642 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83643 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83644 [ISO11] (FLT_TRUE_MIN): Likewise.
83645 [ISO11] (LDBL_TRUE_MIN): Likewise.
83646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83647 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83648 (SCHAR_MIN): Use macro-int-constant. Specify type.
83649 (SCHAR_MAX): Likewise.
83650 (UCHAR_MAX): Likewise.
83651 (CHAR_MIN): Likewise.
83652 (CHAR_MAX): Likewise.
83653 (MB_LEN_MAX): Use macro-int-constant.
83654 (SHRT_MIN): Use macro-int-constant. Specify type.
83655 (SHRT_MAX): Likewise.
83656 (USHRT_MAX): Likewise.
83657 (INT_MAX): Likewise.
83658 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83659 bound negative.
83660 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83661 bound with "U".
83662 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83663 bound with "L".
83664 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83665 bound negative. Suffix upper bound with "L".
83666 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83667 bound with "UL".
83668 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83669 Specify type.
83670 [C99-based standards] (LLONG_MAX): Likewise.
83671 [C99-based standards] (ULLONG_MAX): Likewise.
83672 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83673 == 0.
83674 [ISO11] (max_align_t): Require type.
83675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83676
83677 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83678 from $CFLAGS, without defining away __attribute__ calls.
83679 (checknamespace): Use $CFLAGS_namespace.
83680
83681 * conform/conformtest.pl (@keywords): Only include C99 keywords
83682 for standards based on C99 or C11.
83683
83684 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83685 Disable tests.
83686 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83687 UNIX98]: Likewise.
83688
83689 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83690 usability of symbols in #if.
83691
83692 * conform/conformtest.pl: If macro or constant types start
83693 "promoted:", expect the symbol to be of the following type
83694 promoted by the integer promotions.
83695
83696 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83697 in one place. Also handle "macro-constant".
83698
83699 * conform/conformtest.pl: Only accept expected macro values with
83700 "==". Parse all "macro" lines in one place.
83701 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83702
83703 * conform/conformtest.pl: Handle braced types on "constant" lines
83704 instead of handling "typed-constant".
83705 * conform/data/signal.h-data: Use "constant" instead of
83706 "typed-constant".
83707
83708 * conform/conformtest.pl: Handle "optional-" at start of lines in
83709 one place rather than duplicating several cases. Handle each
83710 format of "macro" line with initial "optional-".
83711
83712 * conform/conformtest.pl: Only accept expected constant or
83713 optional-constant values with "==". Parse all "constant" lines in
83714 one place. Parse all "optional-constant" lines in one place.
83715 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83716 * conform/data/fmtmsg.h-data: Likewise.
83717 * conform/data/netinet/in.h-data: Likewise.
83718 * conform/data/tar.h-data: Likewise.
83719 * conform/data/limits.h-data: Use "==" form on "constant" and
83720 "optional-constant" lines.
83721
83722 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83723 Use -std=c99 for XOPEN2K.
83724 (@knownproblems): Remove.
83725 (newtoken): Don't check %isknown.
83726
83727 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83728 Do not expect macro.
83729 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83730 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83731 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83732 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83733 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83734 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83735 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83736 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83737 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83738 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83739 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83740 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83741 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83742 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83743 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83744 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83745 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83746 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83747 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83748 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83749 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83751 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83752 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83753 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83754 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83755 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83756 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83757 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83758 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83759 [XPG3] (acosh): Likewise.
83760 [XPG3] (asinh): Likewise.
83761 [XPG3] (atanh): Likewise.
83762 [XPG3] (cbrt): Likewise.
83763 [XPG3] (expm1): Likewise.
83764 [XPG3] (ilogb): Likewise.
83765 [XPG3] (log1p): Likewise.
83766 [XPG3] (logb): Likewise.
83767 [XPG3] (nextafter): Likewise.
83768 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83769 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83770 [XPG3] (remainder): Likewise.
83771 [XPG3] (rint): Likewise.
83772 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83773 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83774 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83775 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83776 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83777 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83778 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83779 [UNIX98 || XOPEN2K] (scalb): Expect.
83780 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83781 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83782 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83783 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83784 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83785 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83786 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83787 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83788 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83789 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83790 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83791 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83792 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83793 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83794 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83795 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83796 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83797 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83798 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83799 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83800 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83801 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83802 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83803 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83804 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83805 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83806 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83807 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83808 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83809 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83810 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83811 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83812 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83813 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83814 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83815 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83816 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83817 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83818 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83819 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83820 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83821 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83822 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83823 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83824 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83825 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83826 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83827 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83828 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83829 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83830 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83831 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83832 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83833 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83834 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83835 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83836 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83837 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83838 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83839 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83840 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83841 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83842 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83843 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83844 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83845 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83846 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83847 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83848 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83849 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83850 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83851 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83852 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83853 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83854 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83855 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83856 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83857 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83858 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83859 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83860 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83861 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83862 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83863 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83864 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83865 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83866 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83867 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83868 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83869 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83870 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83871 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83872 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83873 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83874 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83875 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83876 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83877 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83878 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83879 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83880 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83881 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83882 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83883 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83884 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83885 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83886 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83887 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83888 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83889 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83890 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83891 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83892 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83893 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83894 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83895 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83896 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83897 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83898 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83899 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83900 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83901 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83902 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83903 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83904 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83905 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83906 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83907 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83908 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83909 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83910 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83911 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83912 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83913 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83914 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83915 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83916 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83917
83918 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83919 _XOPEN_SOURCE_EXTENDED for XPG4.
83920
83921 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83922
83923 * Makeconfig (localtime): Remove variable.
83924 (inst_localtime-file): Likewise.
83925
83926 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83927
83928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83929 Update.
83930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83931 Update.
83932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83933 Update.
83934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83935 Update.
83936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83937 Update.
83938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83939 Update.
83940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83941 Update.
83942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83943 Update.
83944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83945 Update.
83946
83947 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83948
83949 [BZ #2550]
83950 [BZ #2570]
83951 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83952 comparisons to determine direction to adjust input.
83953 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83954 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83956 Likewise.
83957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83958 Likewise.
83959 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83960 Likewise.
83961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83963 Likewise.
83964 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83965 Likewise.
83966 * math/libm-test.inc (nexttoward_test): Add more tests.
83967
83968 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83969
83970 [BZ #14040]
83971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83972 in version GLIBC_2.1, not GLIBC_2.0.
83973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83974 Likewise.
83975
83976 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83977
83978 [BZ #13942]
83979 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83980 (1 - x) * (1 + x).
83981 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83982 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83983 * math/libm-test.inc (acos_test): Add more tests.
83984 (asin_test): Likewise.
83985 * sysdeps/i386/fpu/libm-test-ulps: Update.
83986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83987
83988 [BZ #14034]
83989 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83990 of square root.
83991 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83992 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83993 * math/libm-test.inc (acos_test_tonearest): New function.
83994 (acos_test_towardzero): Likewise.
83995 (acos_test_downward): Likewise.
83996 (acos_test_upward): Likewise.
83997 (asin_test_tonearest): Likewise.
83998 (asin_test_towardzero): Likewise.
83999 (asin_test_downward): Likewise.
84000 (asin_test_upward): Likewise.
84001 (main): Call the new functions.
84002 * sysdeps/i386/fpu/libm-test-ulps: Update.
84003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84004
84005 [BZ #13884]
84006 [BZ #13924]
84007 * math/e_exp10.c: Include <float.h>.
84008 (__ieee754_exp10): Handle underflow here rather than multiplying
84009 large negative argument by M_LN10.
84010 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84011 of __ieee754_expf.
84012 * math/e_exp10l.c: Include <float.h>.
84013 (__ieee754_exp10l): Handle underflow here rather than multiplying
84014 large negative argument by M_LN10l.
84015 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84016 spurious overflow exception on underflow.
84017
84018 2012-04-29 Marek Polacek <polacek@redhat.com>
84019
84020 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84021 (__fortify_function): New macro.
84022 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84023 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84024 __extern_always_inline.
84025 * libio/bits/stdio2.h: Likewise.
84026 * libio/bits/stdio.h: Likewise.
84027 * string/string.h: Likewise.
84028 * string/bits/string3.h: Likewise.
84029 * include/stdio.h: Likewise.
84030 * stdlib/bits/stdlib.h: Likewise.
84031 * stdlib/stdlib.h: Likewise.
84032 * rt/bits/mqueue2.h: Likewise.
84033 * rt/mqueue.h: Likewise.
84034 * posix/bits/unistd.h: Likewise.
84035 * posix/unistd.h: Likewise.
84036 * io/bits/poll2.h: Likewise.
84037 * io/bits/fcntl2.h: Likewise.
84038 * io/fcntl.h: Likewise.
84039 * io/sys/poll.h: Likewise.
84040 * misc/bits/syslog.h: Likewise.
84041 * misc/bits/syslog-ldbl.h: Likewise.
84042 * misc/sys/syslog.h: Likewise.
84043 * socket/bits/socket2.h: Likewise.
84044 * socket/sys/socket.h: Likewise.
84045 * debug/tst-chk1.c: Likewise.
84046 * wcsmbs/bits/wchar2.h: Likewise.
84047 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84048 * wcsmbs/wchar.h: Likewise.
84049
84050 2012-04-29 Andreas Jaeger <aj@suse.de>
84051
84052 * Makerules (tests): Remove enable-check-abi protection.
84053 (check-abi-warn): Remove.
84054 (check-abi-%): Remove check-abi-warn usage.
84055
84056 * configure.in: Remove check-abi configure option.
84057 * configure: Regenerated.
84058 * config.make.in (enable-check-abi): Remove.
84059
84060 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84061
84062 [BZ #14033]
84063 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84064 double functions to double *_finite functions.
84065
84066 [BZ #13941]
84067 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84068 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84069 LDBL_MIN_EXP.
84070 * stdio-common/Makefile (tests): Add tst-sprintf3.
84071 * stdio-common/tst-sprintf3.c: New file.
84072
84073 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84074 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84075
84076 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84077
84078 * conform/conformtest.pl: Remove duplicate typed-constant
84079 handling.
84080
84081 2012-04-28 David S. Miller <davem@davemloft.net>
84082
84083 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84084 (check-abi-%): Remove AWK script prerequisite and explicit
84085 abilist directory.
84086 (check-abi): Rewrite to just diff the symlist with the abilist.
84087 (config-tls, config-abi-config): Delete, no longer used.
84088 (update-abi-%): Remove AWK script and explicit abilist directory.
84089 (update-abi): Rewrite to simply compare and conditionally copy the
84090 symlist and the sysdep abilist file. Remove update-abi-config
84091 checks.
84092 * abilist/ld.abilist: Remove.
84093 * abilist/libBrokenLocale.abilist: Remove.
84094 * abilist/libanl.abilist: Remove.
84095 * abilist/libcrypt.abilist: Remove.
84096 * abilist/libdl.abilist: Remove.
84097 * abilist/librt.abilist: Remove.
84098 * abilist/libthread_db.abilist: Remove.
84099 * abilist/libutil.abilist: Remove.
84100 * scripts/extract-abilist.awk: Remove.
84101 * scripts/merge-abilist.awk: Remove.
84102 * sysdeps/generic/libcidn.abilist: New file.
84103 * sysdeps/generic/libnss_compat.abilist: New file.
84104 * sysdeps/generic/libnss_db.abilist: New file.
84105 * sysdeps/generic/libnss_dns.abilist: New file.
84106 * sysdeps/generic/libnss_files.abilist: New file.
84107 * sysdeps/generic/libnss_hesiod.abilist: New file.
84108 * sysdeps/generic/libnss_nis.abilist: New file.
84109 * sysdeps/generic/libnss_nisplus.abilist: New file.
84110 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84111 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84112 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84113 file.
84114 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84115 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84116 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84117 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84118 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84119 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84120 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84121 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84122 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84123 file.
84124 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84125 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84126 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84127 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84128 file.
84129 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84130 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84131 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84132 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84133 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84134 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84135 file.
84136 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84138 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84139 file.
84140 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84142 New file.
84143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84144 New file.
84145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84146 New file.
84147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84148 New file.
84149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84150 New file.
84151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84152 New file.
84153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84154 New file.
84155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84156 New file.
84157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84158 New file.
84159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84160 New file.
84161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84162 New file.
84163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84164 New file.
84165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84166 New file.
84167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84168 file.
84169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84170 New file.
84171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84172 New file.
84173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84174 file.
84175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84176 New file.
84177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84178 New file.
84179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84180 file.
84181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84182 New file.
84183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84184 New file.
84185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84186 New file.
84187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84188 New file.
84189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84190 New file.
84191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84192 New file.
84193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84195 file.
84196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84197 New file.
84198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84199 file.
84200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84201 file.
84202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84203 file.
84204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84205 file.
84206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84207 file.
84208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84209 New file.
84210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84211 file.
84212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84213 file.
84214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84215 New file.
84216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84217 file.
84218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84220 file.
84221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84222 New file.
84223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84224 file.
84225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84226 file.
84227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84228 file.
84229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84230 file.
84231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84232 file.
84233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84234 New file.
84235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84236 file.
84237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84238 file.
84239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84240 New file.
84241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84242 file.
84243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84244 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84245 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84246 file.
84247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84248 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84249 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84250 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84251 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84252 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84253 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84255 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84256 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84259 file.
84260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84261 New file.
84262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84263 file.
84264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84265 file.
84266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84267 file.
84268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84269 file.
84270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84271 file.
84272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84273 New file.
84274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84275 New file.
84276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84277 file.
84278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84279 New file.
84280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84281 file.
84282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84284 file.
84285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84286 New file.
84287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84288 file.
84289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84290 file.
84291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84292 file.
84293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84294 file.
84295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84296 file.
84297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84298 New file.
84299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84300 New file.
84301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84302 file.
84303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84304 New file.
84305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84306 file.
84307
84308 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84309
84310 * conform/conformtest.pl: Fix typo in handling typed-constant from
84311 allow-header.
84312
84313 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84314
84315 * README: Cut down references to pre-2.6 Linux kernels and
84316 Linuxthreads. Update lists of configurations in libc and ports
84317 and sort alphabetically. Say "or newer" with Linux kernel version
84318 requirements.
84319
84320 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84321
84322 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84323
84324 [BZ #887]
84325 * math/libm-test.inc (logb_test_downward): New test to expose
84326 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84327 rounding mode.
84328
84329 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84330
84331 [BZ #14027]
84332 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84333 to be done.
84334 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84335 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84336
84337 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84338
84339 * sysdeps/unix/i386/brk.S: Remove file.
84340 * sysdeps/unix/i386/dl-brk.S: Likewise.
84341 * sysdeps/unix/i386/pipe.S: Likewise.
84342 * sysdeps/unix/i386/sigreturn.S: Likewise.
84343 * sysdeps/unix/i386/syscall.S: Likewise.
84344 * sysdeps/unix/i386/vfork.S: Likewise.
84345 * sysdeps/unix/i386/wait.S: Likewise.
84346
84347 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84348 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84349
84350 * configure.in (arm*-none*): Do not allow without
84351 --enable-hacker-mode.
84352 (netbsd*): Remove case setting base_os.
84353 (386bsd*): Likewise.
84354 (freebsd*): Likewise.
84355 (bsdi*): Likewise.
84356 (osf*): Likewise.
84357 (sunos*): Likewise.
84358 (ultrix*): Likewise.
84359 (newsos*): Likewise.
84360 (dynix*): Likewise.
84361 (*bsd*): Likewise.
84362 (sysv*): Likewise.
84363 (isc*): Likewise.
84364 (esix*): Likewise.
84365 (sco*): Likewise.
84366 (minix*): Likewise.
84367 (irix4*): Likewise.
84368 (irix6*): Likewise.
84369 (solaris[2-9]*): Likewise.
84370 (none): Likewise.
84371 * configure: Regenerated.
84372
84373 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84374
84375 [BZ #11521]
84376 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84377 overflow or cancellation in calculating denominator.
84378 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84379 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84380 down expression to avoid unexpected rounding in newer GCCs.
84381 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84382
84383 2012-04-26 David S. Miller <davem@davemloft.net>
84384
84385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84386 long-double compat symbols.
84387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84400
84401 2012-04-25 David S. Miller <davem@davemloft.net>
84402
84403 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84404 HWCAP_* values only after the memory barriers have been defined.
84405 (atomic_full_barrier): Define.
84406 (atomic_read_barrier): Define.
84407 (atomic_write_barrier): Define.
84408
84409 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84410
84411 * shlib-versions: Add libgcc_s version information.
84412 * sysdeps/generic/libgcc_s.h: Remove.
84413 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84414 libgcc_s.h.
84415 * sysdeps/gnu/unwind-resume.c: Likewise.
84416 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84417
84418 2012-04-25 David S. Miller <davem@davemloft.net>
84419
84420 * sysdeps/unix/sparc/brk.S: Delete.
84421 * sysdeps/unix/sparc/dl-brk.S: Delete.
84422 * sysdeps/unix/sparc/pipe.S: Delete.
84423 * sysdeps/unix/sparc/sysdep.S: Delete.
84424 * sysdeps/unix/sparc/sysdep.h: Delete.
84425 * sysdeps/unix/sparc/vfork.S: Delete.
84426 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84427 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84429 (ret_ERRVAL, r0, r1, MOVE): Define.
84430 (JUMPTARGET): Remove.
84431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84432 sysdeps/unix/sparc/sysdep.h
84433 (ENTRY, END): Remove.
84434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84435
84436 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84437
84438 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84439 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84440 -DIS_IN_build.
84441
84442 * timezone/README: Update upstream location and email address for
84443 tzcode and tzdata.
84444 * timezone/zdump.c: Update from tzcode 2012b.
84445 * timezone/zic.c: Likewise.
84446
84447 * configure.in (libc_cv_as_needed): Remove test.
84448 * configure: Regenerated.
84449 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84450 conditional definition.
84451 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84452 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84453 * config.make.in (have-as-needed): Remove variable.
84454
84455 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84456 Paul Pluzhnikov <ppluzhnikov@google.com>
84457
84458 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84459 strings correctly.
84460
84461 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84462
84463 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84464 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84465 * sysdeps/sh/strlen.S: Likewise.
84466
84467 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84468
84469 * sysdeps/unix/fork.S: Remove file.
84470 * sysdeps/unix/i386/fork.S: Likewise.
84471 * sysdeps/unix/sparc/fork.S: Likewise.
84472
84473 * sysdeps/unix/system.c: Remove file.
84474 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84475
84476 * sysdeps/unix/getegid.S: Remove file.
84477 * sysdeps/unix/geteuid.S: Likewise.
84478
84479 2012-04-24 Roland McGrath <roland@hack.frob.com>
84480
84481 * scripts/check-localplt.awk: New file.
84482 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84483 of diff.
84484 * scripts/data/localplt-generic.data: Add a comment.
84485
84486 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84487 NODE when __dir_mkfile failed.
84488 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84489 Reported by Ludovic Courtès <ludo@gnu.org>.
84490
84491 2012-04-24 Andreas Jaeger <aj@suse.de>
84492
84493 * Makerules (common-clean): Also remove gen-as-const-headers
84494 files.
84495
84496 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84497
84498 * Makerules (native-compile): Do not change working directory for
84499 build. Use $(OUTPUT_OPTION) in command.
84500 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84501
84502 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84503
84504 [BZ #13886]
84505 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84506 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84507 * math/libm-test.inc (floor_test): Add more tests.
84508 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84509
84510 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84511
84512 * sysdeps/unix/getdents.c: Remove file.
84513 * sysdeps/unix/sysv/getdents.c: Likewise.
84514 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84515
84516 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84517 sysdeps/unix/mman/syscalls.list.
84518 (mmap): Likewise.
84519 (mprotect): Likewise.
84520 (msync): Likewise.
84521 (munmap): Likewise.
84522 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84523 * sysdeps/unix/mman/syscalls.list: Remove.
84524 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84525
84526 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84527 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84528 * configure: Regenerated.
84529 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84530 $(libgcc_s_suffix).
84531 * config.make.in (libgcc_s_suffix): Remove variable.
84532
84533 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84534
84535 * sysdeps/unix/sysv/gethostname.c: Move to ...
84536 * sysdeps/posix/gethostname.c: ... here.
84537
84538 * sysdeps/unix/execve.S: Remove file.
84539
84540 * sysdeps/unix/_exit.S: Remove file.
84541
84542 2012-04-23 Andreas Jaeger <aj@suse.de>
84543
84544 [BZ #13739]
84545 * manual/Makefile: Remove make dist support, there's no
84546 need for a stand-alone documentation tar ball.
84547 (TEXI2DVI): Define always, it's not in Makeconfig.
84548 (dist): Removed.
84549 (tar-it): Removed.
84550 (edition): Removed.
84551 (glibc-doc-$(edition).tar): Removed
84552 (%.Z): Removed.
84553 (%.gz): Removed.
84554 (%.uu): Removed.
84555 (ETAGS): Remove, it's in Makeconfig.
84556 (move-if-change): Remove, it's in Makeconfig.
84557
84558 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84559
84560 [BZ #13970]
84561 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84562 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84563 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84564 (strtod_l, strtof_l, strtold_l): Remove __wur.
84565 It is not necessarily an error to ignore strtol's return value.
84566 One can reliably look at the stored endptr to decide whether
84567 the number had valid syntax.
84568
84569 2012-04-21 Andreas Jaeger <aj@suse.de>
84570
84571 [BZ #13739]
84572 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84573
84574 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84575
84576 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84577 * sysdeps/unix/sysv/Versions: Remove file.
84578
84579 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84580
84581 [BZ #13927]
84582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84583
84584 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84585
84586 [BZ #7064]
84587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84588 version from __vm86.
84589
84590 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84591
84592 * sysdeps/unix/common/lxstat.c: Remove file.
84593 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84594
84595 * sysdeps/unix/sysv/Makefile: Remove file.
84596
84597 * sysdeps/unix/sysv/direct.h: Remove file.
84598
84599 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84600 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84601 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84602 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84603 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84604 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84605 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84606
84607 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84608
84609 * sysdeps/unix/xmknod.c: Remove file.
84610 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84611
84612 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84613
84614 * sysdeps/unix/sysv/i386/time.S: Remove file.
84615
84616 * sysdeps/unix/fxstat.c: Remove file.
84617 * sysdeps/unix/xstat.c: Likewise.
84618 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84619
84620 * sysdeps/unix/sysv/sigaction.c: Remove file.
84621
84622 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84623 (sysdep_headers): Remove variable.
84624 [termio.h not in sysdep_headers] (generated): Likewise.
84625 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84626 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84627 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84628 * sysdeps/unix/sysv/tcflow.c: Likewise.
84629 * sysdeps/unix/sysv/tcflush.c: Likewise.
84630 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84631 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84632 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84633 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84634 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84635
84636 * sysdeps/unix/siglist.c: Remove file.
84637
84638 * sysdeps/unix/getppid.S: Remove file.
84639
84640 * sysdeps/unix/mkdir.c: Remove file.
84641 * sysdeps/unix/rmdir.c: Likewise.
84642
84643 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84644
84645 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84646 ERR_MAX value.
84647 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84648 errlist-compat value.
84649
84650 2012-04-18 David S. Miller <davem@davemloft.net>
84651
84652 * sysdeps/generic/memcopy.h (reg_char): Delete.
84653 * debug/strcat_chk.c: Use char, not reg_char.
84654 * debug/strcpy_chk.c: Likewise.
84655 * debug/strncat_chk.c: Likewise.
84656 * debug/strncpy_chk.c: Likewise.
84657 * string/memchr.c: Likewise.
84658 * string/memrchr.c: Likewise.
84659 * string/rawmemchr.c: Likewise.
84660 * string/strcat.c: Likewise.
84661 * string/strchr.c: Likewise.
84662 * string/strchrnul.c: Likewise.
84663 * string/strcmp.c: Likewise.
84664 * string/strcpy.c: Likewise.
84665 * string/strncat.c: Likewise.
84666 * string/strncmp.c: Likewise.
84667 * string/strncpy.c: Likewise.
84668
84669 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84670
84671 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84672 __builtin_memcopy is called when src and dest ranges are known to not
84673 overlap.
84674
84675 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84676
84677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84678 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84679 fwd_align_merge macro call.
84680 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84681 bwd_align_merge macro call.
84682 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84683
84684 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84685
84686 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84687 bwd_align_merge macros.
84688 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84689 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84691
84692 2012-04-18 David S. Miller <davem@davemloft.net>
84693
84694 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84695
84696 2012-04-18 Andreas Jaeger <aj@suse.de>
84697
84698 [BZ #6794]
84699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84700 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84701 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84702
84703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84704 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84705 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84706
84707 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84708 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84709 Adjust for changed ldbl-128 files.
84710
84711 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84712 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84713 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84714
84715 2012-04-17 David S. Miller <davem@davemloft.net>
84716
84717 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84718
84719 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84720
84721 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84722 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84723 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84724 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84725 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84726 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84727
84728 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84729
84730 [BZ #6794]
84731 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84732 * math/libm-test.inc: Add ilogb errno and exception tests.
84733 * math/w_ilogb.c: New file: ilogb wrapper.
84734 * math/w_ilogbf.c: New file: ilogbf wrapper.
84735 * math/w_ilogbl.c: New file: ilogbl wrapper.
84736 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84737 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84738 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84739 exception being thrown with 0.0 as argument.
84740 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84741 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84742 exception being thrown with 0.0 as argument.
84743 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84744 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84745 exception being thrown with 0.0 as argument.
84746 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84747 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84748 exception being thrown with 0.0 as argument.
84749 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84750 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84751 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84752 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84753 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84754 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84755 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84756 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84757 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84758
84759 2012-04-17 Petr Baudis <pasky@ucw.cz>
84760
84761 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84762 with altivec.
84763
84764 2012-04-16 Marek Polacek <polacek@redhat.com>
84765
84766 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84767
84768 2012-04-16 Marek Polacek <polacek@redhat.com>
84769
84770 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84771 operands of fdivp instruction.
84772
84773 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84774
84775 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84776 * elf/tst-auditmod3b.c: Likewise.
84777 * elf/tst-auditmod4b.c: Likewise.
84778 * elf/tst-auditmod5b.c: Likewise.
84779 * elf/tst-auditmod6b.c: Likewise.
84780 * elf/tst-auditmod6c.c: Likewise.
84781 * elf/tst-auditmod7b.c: Likewise.
84782 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84783 * sysdeps/x86_64/preconfigure.in: Likewise.
84784 * sysdeps/x86_64/preconfigure: Regenerated.
84785
84786 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84787
84788 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84789 __ILP32__.
84790
84791 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84792
84793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84794 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84795
84796 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84797
84798 [BZ #13973]
84799 * locale/iso-639.def: Fix gl language name. Spotted by
84800 Yaron Shahrabani.
84801
84802 2012-04-12 Roland McGrath <roland@hack.frob.com>
84803
84804 [BZ #2074]
84805 * libio/libio.h (__io_write_fn): Update comment.
84806
84807 2012-04-12 Petr Baudis <pasky@ucw.cz>
84808
84809 [BZ #2074]
84810 * stdio.texi (Hook Functions): The user provided writer function
84811 is not allowed to return -1.
84812
84813 2012-04-11 David S. Miller <davem@davemloft.net>
84814
84815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84816
84817 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84818
84819 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84820 Add a leading slash to rtkaio.
84821
84822 2012-04-11 Jim Meyering <meyering@redhat.com>
84823
84824 [BZ #11959]
84825 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84826 It is not necessarily an error to ignore fwrite's return
84827 value. One can reliably use ferror to test for errors after
84828 the fact.
84829
84830 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84831
84832 * bits/types.h (__snseconds_t): New type.
84833 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84834
84835 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84837 (__SNSECONDS_T_TYPE): Likewise.
84838 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84839 (__SNSECONDS_T_TYPE): Likewise.
84840 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84841 (__SNSECONDS_T_TYPE): Likewise.
84842
84843 2012-04-10 Andreas Jaeger <aj@suse.de>
84844
84845 [BZ #2636]
84846 * manual/time.texi (Processor Time): Return type of times is
84847 elapsed real time since an arbitrary point in the past.
84848 (CPU Time): Move CLK_TCK from here...
84849 (Processor Time): ...to here. Correct description.
84850 * manual/conf.texi (Constants for Sysconf): Correct description of
84851 _SC_CLK_TCK.
84852
84853 2012-04-10 David S. Miller <davem@davemloft.net>
84854
84855 [BZ #13967]
84856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84857 where the is a gap between DT_REL(A) and DT_JMPREL.
84858
84859 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84860
84861 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84862 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84863 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84864
84865 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84866
84867 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84868 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84869 (dl_main): Handle --inhibit-cache.
84870 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84871 _dl_inhibit_cache.
84872 * elf/dl-load.c (_dl_map_object): Use it.
84873 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84874
84875 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84876
84877 [BZ #13872]
84878 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84879 (__ieee754_powl): Saturate large exponents rather than testing for
84880 overflow of y*log2(x).
84881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84882 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84883 exceptions.
84884
84885 [BZ #11521]
84886 * math/s_ctan.c: Include <float.h>.
84887 (__ctan): Avoid internal overflow or cancellation in calculating
84888 denominator.
84889 * math/s_ctanf.c: Likewise.
84890 * math/s_ctanl.c: Likewise.
84891 * math/s_ctanh.c: Likewise.
84892 * math/s_ctanhf.c: Likewise.
84893 * math/s_ctanhl.c: Likewise.
84894 * math/libm-test.inc (ctan_test): Add more tests.
84895 (ctanh_test): Likewise.
84896 * sysdeps/i386/fpu/libm-test-ulps: Update.
84897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84898
84899 2012-04-09 Andreas Jaeger <aj@suse.de>
84900
84901 [BZ #6894]
84902 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84903 is an optional BSD extension.
84904
84905 [BZ #10254]
84906 * manual/stdio.texi (Opening Streams): Document additional fopen
84907 parameters.
84908
84909 2012-04-09 Roland McGrath <roland@hack.frob.com>
84910
84911 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84912 %eax without telling the compiler.
84913
84914 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84915
84916 [BZ # 13963]
84917 * manual/install.texi: Use sourceware.org.
84918
84919 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84920
84921 [BZ #13873]
84922 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84923 (__ieee754_pow): Generate overflow and underflow using huge*huge
84924 and tiny*tiny rather than just returning constant infinity or zero
84925 for large exponents.
84926 * math/libm-test.inc (pow_test): Require overflow exceptions for
84927 applicable cases of large exponents.
84928
84929 [BZ #706]
84930 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84931 (__ieee754_pow): Use iterative multiplication algorithm only for
84932 integer exponents with absolute value below 1024. Check for odd
84933 integer exponents when using algorithm for real exponents.
84934 * math/libm-test.inc (pow_test): Add more tests.
84935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84936
84937 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84938
84939 [BZ #13705]
84940 * math/libm-test.inc (exp_test): Do not allow overflow exception
84941 on underflow test.
84942
84943 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84944
84945 [BZ #13705]
84946 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84947 instead of __kernel_standard_f.
84948
84949 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84950
84951 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84952 * sysdeps/x86_64/memset_chk.S: Likewise.
84953
84954 2012-04-08 Andreas Jaeger <aj@suse.de>
84955
84956 [BZ #10153]
84957 * manual/startup.texi (Environment Access): Describe return value
84958 for putenv and setenv.
84959
84960 [BZ #6895]
84961 * manual/filesys.texi (Directory Entries): Add description for
84962 DT_LNK.
84963
84964 [BZ #6890]
84965 * manual/filesys.texi (Directory Entries): Clarify that it's file
84966 system not operating system in the description of DT_UNKNOWN.
84967
84968 [BZ #6578]
84969 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84970
84971 2012-04-08 Stephen Compall <s11@member.fsf.org>
84972
84973 [BZ #6649]
84974 * manual/llio.texi (Opening and Closing Files): Add cross
84975 reference to explain mode argument.
84976
84977 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84978
84979 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84980 * sysdeps/x86_64/memset_chk.S: Likewise.
84981
84982 2012-04-07 David S. Miller <davem@davemloft.net>
84983
84984 * elf/elf.h (R_SPARC_WDISP10): Define.
84985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84986 R_SPARC_SIZE32.
84987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84988 R_SPARC_SIZE64 and R_SPARC_H34.
84989
84990 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84991
84992 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84993 conditions and remove no longer applicable assertion.
84994
84995 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84996
84997 * bits/byteswap.h: Include <features.h>.
84998 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84999 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85000
85001 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85002
85003 * bits/byteswap.h (__bswap_16): Removed.
85004 Include <bits/byteswap-16.h> to get __bswap_16.
85005 * sysdeps/i386/bits/byteswap.h: Likewise.
85006 * sysdeps/s390/bits/byteswap.h: Likewise.
85007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85008 * bits/byteswap-16.h: New file.
85009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85010 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85011 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85012 * string/Makefile (headers): Add bits/byteswap-16.h.
85013
85014 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85015
85016 [BZ #13895]
85017 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85018 extra indirection.
85019 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85020 * nss/tst-nss-static.c: New.
85021
85022 2012-04-06 Robert Millan <rmh@gnu.org>
85023
85024 [BZ #6486]
85025 * manual/llio.texi (File Position Primitive): lseek
85026 refers to WHENCE when it really means OFFSET.
85027
85028 2012-04-06 Andreas Jaeger <aj@suse.de>
85029
85030 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85031 strncmp declarations.
85032
85033 * abilist/libc.abilist: Add __poll and __ppoll.
85034
85035 2012-04-05 David S. Miller <davem@davemloft.net>
85036
85037 * scripts/check-local-headers.sh: Accept a host triplet in the
85038 path matched by the exclude regexp.
85039
85040 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85041 definition.
85042 * sysdeps/powerpc/powerpc32/dl-machine.h
85043 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85044 * sysdeps/s390/s390-32/dl-machine.h
85045 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85046 * sysdeps/sparc/sparc32/dl-machine.h
85047 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85048 * sysdeps/sparc/sparc64/dl-machine.h
85049 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85050
85051 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85052 lazy binding.
85053 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85054 undefined symbol errors.
85055
85056 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85057 DT_NEEDED entries.
85058
85059 2012-04-05 Michael Matz <matz@suse.de>
85060
85061 [BZ #13592]
85062 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85063
85064 2012-04-05 Andreas Jaeger <aj@suse.de>
85065
85066 [BZ #13908]
85067 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85068 comment.
85069
85070 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85071
85072 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85073 which ROUND is no valid rounding mode.
85074
85075 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85076
85077 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85078 read again.
85079 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85080
85081 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85082
85083 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85084 an exception using FPU order intentionally.
85085
85086 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85087
85088 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85089 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85090 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85091 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85092
85093 2012-04-05 Simon Josefsson <simon@josefsson.org>
85094
85095 [BZ #12340]
85096 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85097 EINVAL when BUFLEN is too smal.
85098
85099 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85100
85101 [BZ #13553]
85102 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85103 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85104
85105 2012-04-03 Andreas Jaeger <aj@suse.de>
85106
85107 [BZ #13938]
85108 * manual/setjmp.texi (System V contexts): Fix sentence.
85109
85110 [BZ #13926]
85111 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85112 New macro for this case.
85113 [!__GNUC__] (__bswap_64): New inline function for this case.
85114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85115 * bits/byteswap.h: Likewise.
85116 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85117 ull, guard with __GLIBC_HAVE_LONG_LONG.
85118
85119 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85120 __GLIBC_HAVE_LONG_LONG.
85121
85122 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85123 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85124
85125 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85126
85127 [BZ #13691]
85128 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85129 inptr and inend, rather than using last_ch.
85130
85131 2012-04-02 David S. Miller <davem@davemloft.net>
85132
85133 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85134 * stdio-common/printf-parse.h (read_int): Change return type to
85135 'int', return -1 on INT_MAX overflow.
85136 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85137 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85138 overflows INT_MAX. Check for overflow of in-format-string precision
85139 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85140 SIZE_MAX not INT_MAX for integer overflow test.
85141 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85142 skip the construct in the format string but do not record anything.
85143 * stdio-common/bug22.c: Adjust to test both width/prevision
85144 INT_MAX overflow as well as total length INT_MAX overflow. Check
85145 explicitly for proper errno values.
85146
85147 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85148
85149 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85150 CHAR_MAX.
85151 * string/test-strcmp.c [! WIDE]: Likewise.
85152 * time/tst-mktime2.c: Likewise for INT_MAX.
85153 * string/test-string.h: #include <sys/param.h> for MIN.
85154
85155 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85156 * sysdeps/i386/init-first.c (init): Likewise.
85157 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85158 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85159 * sysdeps/sh/init-first.c (init): Likewise.
85160
85161 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85162
85163 * po/ru.po: Update from translation team.
85164 * po/vi.po: Likewise.
85165
85166 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85167
85168 * resolv/nss_dns/dns-host.c: Merge copyright years.
85169
85170 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85171
85172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85173 Optimize memcpy with prefetch if
85174 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85175 src, dst pointers have unequal 16 byte alignments.
85176
85177 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85178
85179 [BZ #13928]
85180 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85181 from a CNAME entry and return the minimum ttl for the query.
85182 (gaih_getanswer_slice): Likewise.
85183
85184 2012-03-30 Jeff Law <law@redhat.com>
85185
85186 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85187 due to long keys.
85188 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85189 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85190
85191 * resolv/nss_dns/dns-host.c: Update copyright year.
85192
85193 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85194
85195 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85196 requests to save a system call. Fix check that all bytes are sent.
85197
85198 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85199 comments for sendmmsg.
85200
85201 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85202
85203 [BZ #13691]
85204 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85205 with only 1 character between 0x0041 and 0x01b0.
85206 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85207 * wcsmbs/tst-mbsnrtowcs.c: New file.
85208
85209 2012-03-29 David S. Miller <davem@davemloft.net>
85210
85211 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85212 small copies by hand.
85213
85214 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85215
85216 [BZ #13761]
85217 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85218 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85219 group memberships.
85220
85221 2012-03-28 David S. Miller <davem@davemloft.net>
85222
85223 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85224 that branches into memcpy.
85225 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85228 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85230 bits.
85231 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85232 implementation too.
85233 * sysdeps/sparc/mempcpy.S: New file.
85234
85235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85236 the IFUNC routine in the libc case.
85237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85238
85239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85240 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85241 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85242 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85243 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85244 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85245 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85246 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85247
85248 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85249 loop to 256 bytes instead of 64 bytes and fix test signedness.
85250
85251 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85252 * sysdeps/sparc/sparc32/Makefile: rather than here...
85253 * sysdeps/sparc/sparc64/Makefile: and here.
85254
85255 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85256
85257 * malloc/mallocbug.c: Avoid warnings about unused variables.
85258
85259 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85260
85261 [BZ #13760]
85262 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85263 in the right place. Discard and retry query if response is
85264 larger than input buffer size.
85265
85266 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85267
85268 [BZ #369]
85269 [BZ #2678]
85270 [BZ #3866]
85271 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85272 x for large integer exponent.
85273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85274 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85275 sign of result as needed afterwards.
85276 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85277 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85278 result for underflowing pow the same as for overflow.
85279 (__kernel_standard_l): Handle powl overflow and underflow here
85280 rather than calling __kernel_standard.
85281 * math/libm-test.inc (pow_test): Add more tests.
85282
85283 [BZ #3868]
85284 [BZ #13879]
85285 [BZ #13910]
85286 [BZ #13911]
85287 [BZ #13912]
85288 [BZ #13913]
85289 [BZ #13915]
85290 [BZ #13916]
85291 [BZ #13917]
85292 [BZ #13918]
85293 [BZ #13919]
85294 [BZ #13920]
85295 [BZ #13921]
85296 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85297 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85298 (__kernel_standard_l): New function.
85299 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85300 __kernel_standard.
85301 * math/w_acosl.c (__acosl): Likewise.
85302 * math/w_asinl.c (__asinl): Likewise.
85303 * math/w_atan2l.c (__atan2l): Likewise.
85304 * math/w_atanhl.c (__atanhl): Likewise.
85305 * math/w_coshl.c (__coshl): Likewise.
85306 * math/w_exp10l.c (__exp10l): Likewise.
85307 * math/w_exp2l.c (__exp2l): Likewise.
85308 * math/w_fmodl.c (__fmodl): Likewise.
85309 * math/w_hypotl.c (__hypotl): Likewise.
85310 * math/w_j0l.c (__j0l, __y0l): Likewise.
85311 * math/w_j1l.c (__j1l, __y1l): Likewise.
85312 * math/w_jnl.c (__jnl, __ynl): Likewise.
85313 * math/w_lgammal.c (__lgammal): Likewise.
85314 * math/w_log10l.c (__log10l): Likewise.
85315 * math/w_log2l.c (__log2l): Likewise.
85316 * math/w_logl.c (__logl): Likewise.
85317 * math/w_powl.c (__powl): Likewise.
85318 * math/w_remainderl.c (__remainderl): Likewise.
85319 * math/w_scalbl.c (sysv_scalbl): Likewise.
85320 * math/w_sinhl.c (__sinhl): Likewise.
85321 * math/w_sqrtl.c (__sqrtl): Likewise.
85322 * math/w_tgammal.c (__tgammal): Likewise.
85323 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85324 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85325 * math/libm-test.inc (acos_test): Add more tests.
85326 (acosh_test): Likewise.
85327 (asin_test): Likewise.
85328 (atanh_test): Likewise.
85329 (exp_test): Likewise.
85330 (exp10_test): Likewise.
85331 (exp2_test): Likewise.
85332 (expm1_test): Likewise.
85333 (lgamma_test): Likewise.
85334 (log_test): Likewise.
85335 (log10_test): Likewise.
85336 (log1p_test): Likewise.
85337 (log2_test): Likewise.
85338 (pow_test): Do not allow some spurious overflow exceptions.
85339 (sqrt_test): Add more tests.
85340 (tgamma_test): Likewise.
85341 (y0_test): Likewise.
85342 (y1_test): Likewise.
85343 (yn_test): Likewise.
85344
85345 2012-03-27 Anton Blanchard <anton@samba.org>
85346
85347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85348 MAP_HUGETLB.
85349 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85352
85353 2012-03-27 David S. Miller <davem@davemloft.net>
85354
85355 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85356
85357 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85358 have-as-vis3 check.
85359
85360 2012-03-27 Andreas Jaeger <aj@suse.de>
85361
85362 * sysdeps/x86_64/elf/configure.in: Moved to ...
85363 * sysdeps/x86_64/configure.in: ... here.
85364 * sysdeps/x86_64/elf/start.S: Moved to ...
85365 * sysdeps/x86_64/start.S: ... here.
85366 * sysdeps/x86_64/elf/configure: Delete.
85367
85368 * sysdeps/x86_64/configure.in: Merge contents from
85369 sysdeps/i386/configure.in (without i686 check).
85370
85371 * sysdeps/i386/elf/Versions: Merge into ...
85372 * sysdeps/i386/Versions: ... this.
85373 * sysdeps/i386/elf/Versions: Delete file.
85374 * sysdeps/i386/elf/start.S: Moved to ...
85375 * sysdeps/i386/start.S: ...here.
85376 * sysdeps/i386/elf/configure.in: Merge into...
85377 * sysdeps/i386/configure.in: ...here.
85378 * sysdeps/i386/elf/configure.in: Delete file.
85379 * sysdeps/i386/elf/configure: Delete file.
85380
85381 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85382 * debug/backtracesyms.c: ... here.
85383 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85384 * debug/backtracesymsfd.c: ... here.
85385 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85386 * sysdeps/generic/ifunc-sel.h: ... here.
85387
85388 * sysdeps/unix/i386/start.c: Delete file.
85389 * sysdeps/unix/sparc/start.c: Delete file.
85390 * sysdeps/unix/start.c: Delete file.
85391
85392 * sysdeps/sh/elf/configure.in: Moved to ...
85393 * sysdeps/sh/configure.in: ... here.
85394 * sysdeps/sh/elf/start.S: Moved to ...
85395 * sysdeps/sh/start.S: ... here.
85396 * sysdeps/sh/elf/configure: Delete file.
85397
85398 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85399 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85400 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85401 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85402 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85403 * sysdeps/powerpc/powerpc64/start.S: here.
85404 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85405 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85406 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85407 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85408 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85409
85410 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85411 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85412 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85413 * sysdeps/powerpc/powerpc32/start.S: ... here.
85414 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85415 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85416 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85417
85418 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85419 * sysdeps/powerpc/ifunc-sel.h: ... here.
85420 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85421 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85422
85423 * sysdeps/sparc/elf/configure.in: Moved to ...
85424 * sysdeps/sparc/configure.in: ... here.
85425 * sysdeps/sparc/elf/configure: Delete file.
85426 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85427 * sysdeps/sparc/sparc32/start.S: ... here.
85428 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85429 * sysdeps/sparc/sparc64/start.S: ... here.
85430 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85431 * sysdeps/sparc/sparc32/Makefile: ... this.
85432 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85433 * sysdeps/sparc/sparc64/Makefile: ... this.
85434
85435 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85436 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85437 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85438 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85439 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85440 * sysdeps/s390/s390-32/setjmp.S: ... here.
85441 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85442 * sysdeps/s390/s390-32/configure.in: ... here.
85443 * sysdeps/s390/s390-32/elf/configure: Delete file.
85444 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85445 * sysdeps/s390/s390-32/start.S: ... here.
85446
85447 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85448 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85449 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85450 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85451 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85452 * sysdeps/s390/s390-64/setjmp.S: ... here.
85453 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85454 * sysdeps/s390/s390-64/configure.in: ... here
85455 * sysdeps/s390/s390-64/elf/configure: Delete file.
85456 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85457 * sysdeps/s390/s390-64/start.S: ... here.
85458 * sysdeps/s390/s390-64/elf/configure: Delete.
85459
85460 * configure.in: Remove support for elf directories in sysdeps.
85461
85462 * configure: Regenerated.
85463 * sysdeps/i386/configure: Regenerated.
85464 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85465 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85466 * sysdeps/s390/s390-32/configure: Regenerated.
85467 * sysdeps/s390/s390-64/configure: Regenerated.
85468 * sysdeps/sh/configure: Regenerated.
85469 * sysdeps/sparc/configure: Regenerated.
85470 * sysdeps/x86_64/configure: Regenerated.
85471
85472 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85473
85474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85475
85476 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85477 denormal result into account.
85478
85479 2012-03-25 Roland McGrath <roland@hack.frob.com>
85480
85481 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85482 Reported by Allan McRae <allan@archlinux.org>.
85483
85484 2012-03-23 Jeff Law <law@redhat.com>
85485
85486 * nss/getnssent.c (__nss_getent): Fix typo.
85487
85488 2012-03-23 David S. Miller <davem@davemloft.net>
85489
85490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85491
85492 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85493
85494 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85495 to pad to uint64_t for each field.
85496 (dl_tls_index): Replace unsigned long with uint64_t.
85497
85498 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85499 Paul Pluzhnikov <ppluzhnikov@google.com>
85500
85501 [BZ #6528]
85502 * grp/Makefile (otherlibs): Don't set it.
85503 * inet/Makefile (otherlibs): Likewise.
85504 * login/Makefile (otherlibs): Likewise.
85505 * nscd/Makefile (otherlibs): Likewise.
85506 * posix/Makefile (otherlibs): Likewise.
85507 * pwd/Makefile (otherlibs): Likewise.
85508 * rt/Makefile (otherlibs): Likewise.
85509 * sunrpc/Makefile (otherlibs): Likewise.
85510 * nss/Makefile (otherlibs): Likewise.
85511 Add libnss_files to routines and static-only-routines.
85512 ($(objpfx)getent): Remove rule.
85513 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85514 static-only-routines.
85515
85516 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85517
85518 [BZ #13892]
85519 * math/s_cexp.c: Include <float.h>.
85520 (__cexp): Handle exp result overflowing not necessarily
85521 overflowing both real and imaginary parts of result.
85522 * math/s_cexpf.c: Likewise.
85523 * math/s_cexpl.c: Likewise.
85524 * math/libm-test.inc (cexp_test): Add more tests.
85525 * sysdeps/i386/fpu/libm-test-ulps: Update.
85526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85527
85528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85529
85530 * include/link.h (ELFW): New macro.
85531 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85532 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85533
85534 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85535
85536 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85537 with uint64_t.
85538
85539 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85540
85541 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85542 declaration.
85543 (struct La_x32_retval): Likewise.
85544
85545 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85546
85547 * sysdeps/x86_64/preconfigure.in: New file.
85548 * sysdeps/x86_64/preconfigure: New generated file.
85549
85550 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85551
85552 [BZ #13824]
85553 * math/e_exp2l.c: Include <float.h>.
85554 (__ieee754_exp2l): Handle overflow and underflow cases
85555 separately. Only pass fractional part of argument to
85556 __ieee754_expl.
85557 * math/libm-test.inc (exp2_test): Add more tests.
85558
85559 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85560 negating x to take absolute value.
85561 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85562 Likewise.
85563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85565 Likewise.
85566 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85567 computing low part if x was negated.
85568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85569
85570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85571
85572 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85573 la_x32_gnu_pltexit.
85574 (pltexit): Cast int_retval to ptrdiff_t.
85575 * elf/tst-auditmod3b.c: Likewise.
85576 * elf/tst-auditmod4b.c: Likewise.
85577 * elf/tst-auditmod5b.c: Likewise.
85578 * elf/tst-auditmod6b.c: Likewise.
85579 * elf/tst-auditmod6c.c: Likewise.
85580 * elf/tst-auditmod7b.c: Likewise.
85581
85582 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85583 and x32_gnu_pltexit.
85584
85585 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85586 __ELF_NATIVE_CLASS.
85587 (La_x32_regs): New macro.
85588 (La_x32_retval): Likewise.
85589 (la_x32_gnu_pltenter): New function prototype.
85590 (la_x32_gnu_pltexit): Likewise.
85591
85592 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85593
85594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85595 exponent.
85596
85597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85598
85599 * configure.in (libc_cv_cc_nofma): Check for option to disable
85600 generation of FMA instructions.
85601 * configure: Regenerate.
85602 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85603 * sysdeps/ieee754/dbl-64/Makefile: New file.
85604 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85605 Remove brandred-fma4.
85606 (CFLAGS-brandred-fma4.c): Remove.
85607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85609 define.
85610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85611 define.
85612
85613 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85614
85615 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85616 LLONG_MAX != LONG_MAX.
85617 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85618 (_fitoa_word): Likewise.
85619 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85620 LLONG_MAX != LONG_MAX.
85621 * stdio-common/_itowa.h: Include <_itoa.h>.
85622 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85623 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85624 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85625 only if not defined.
85626 (_ITOA_WORD_TYPE): Likewise.
85627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85628 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85629
85630 2012-03-21 David S. Miller <davem@davemloft.net>
85631
85632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85633
85634 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85635
85636 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85637 of x86_64 when setting libc_cv_slibdir, libdir and
85638 libc_cv_localedir.
85639 * sysdeps/unix/sysv/linux/configure: Regenerated.
85640
85641 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85642
85643 * manual/lang.texi (Old Varargs): Remove section.
85644 (How Variadic): Update menu.
85645 (va_start): Do not mention varargs.h.
85646
85647 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85648 Joseph Myers <joseph@codesourcery.com>
85649
85650 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85651 link test.
85652 * configure: Regenerated.
85653
85654 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85655
85656 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85657 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85658 conformtest.pl
85659
85660 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85661
85662 * NOTES: Remove.
85663 * Makefile (files-for-dist): Remove NOTES.
85664 (NOTES): Remove rule.
85665 * README: Don't refer to NOTES.
85666 * manual/creature.texi: Don't include macros.texi.
85667 * manual/intro.texi (creature.texi): Remove comment referring to
85668 NOTES.
85669
85670 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85671 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85672 * configure: Regenerated.
85673 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85674 LIBC_TRY_CC_OPTION.
85675 (libc_cv_as_i686): Likewise.
85676 (libc_cv_cc_avx): Likewise.
85677 (libc_cv_cc_sse2avx): Likewise.
85678 (libc_cv_cc_fma4): Likewise.
85679 (libc_cv_cc_novzeroupper): Likewise.
85680 * sysdeps/i386/configure: Regenerated.
85681
85682 [BZ #13883]
85683 * sysdeps/i386/fpu/s_cexp.S: Remove.
85684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85685 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85686 * math/libm-test.inc (cexp_test): Add more tests.
85687 * sysdeps/i386/fpu/libm-test-ulps: Update.
85688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85689
85690 2012-03-21 Allan McRae <allan@archlinux.org>
85691
85692 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85693
85694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85695
85696 [BZ #13871]
85697 * math/w_exp2.c: Do not include <float.h>.
85698 (o_threshold, u_threshold): Remove.
85699 (__exp2): Calculate result before checking finiteness and calling
85700 __kernel_standard.
85701 * math/w_exp2f.c: Likewise.
85702 * math/w_exp2l.c: Likewise.
85703 * math/libm-test.inc (exp2_test): Require overflow exception for
85704 1e6 input.
85705
85706 [BZ #3866]
85707 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85708 range of signed 64-bit integers before using fistpll. Remove
85709 checks for whether integers fit in mantissa bits.
85710 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85711 the range of signed 32-bit integers before using fistpl. Remove
85712 checks for whether integers fit in mantissa bits.
85713 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85714 (__ieee754_powl): Test for y outside the range of signed 64-bit
85715 integers before using fistpll. Reduce 64-bit values to 63-bit
85716 ones as needed.
85717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85718 divide-by-zero is raised for zero to large negative powers.
85719 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85720 (__ieee754_powl): Test for y outside the range of signed 64-bit
85721 integers before using fistpll. Reduce 64-bit values to 63-bit
85722 ones as needed.
85723 * math/libm-test.inc (pow_test): Add more tests.
85724
85725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85726
85727 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85728 <stdio-common/_itoa.h>.
85729 * debug/segfault.c: Likewise.
85730 * elf/dl-cache.c: Likewise.
85731 * elf/dl-minimal.c: Likewise.
85732 * elf/dl-misc.c: Likewise.
85733 * elf/dl-sysdep.c: Likewise.
85734 * elf/dl-version.c: Likewise.
85735 * elf/rtld.c: Likewise.
85736 * hurd/hurdsock.c: Likewise.
85737 * hurd/lookup-retry.c: Likewise.
85738 * malloc/malloc.c: Likewise.
85739 * malloc/mtrace.c: Likewise.
85740 * nscd/nscd_getgr_r.c: Likewise.
85741 * nscd/nscd_getpw_r.c: Likewise.
85742 * nscd/nscd_getserv_r.c: Likewise.
85743 * posix/getopt_init.c: Likewise.
85744 * posix/wordexp.c: Likewise.
85745 * stdio-common/_itoa.c: Likewise.
85746 * stdio-common/printf_fphex.c: Likewise.
85747 * stdio-common/vfprintf.c: Likewise.
85748 * string/_strerror.c: Likewise.
85749 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85750 * sysdeps/i386/i686/hp-timing.h: Likewise.
85751 * sysdeps/mach/_strerror.c: Likewise.
85752 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85753 * sysdeps/mach/hurd/sethostid.c: Likewise.
85754 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85755 * sysdeps/mach/xpg-strerror.c: Likewise.
85756 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85758 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85759 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85760 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85761 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85762 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85763 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85764 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85765 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85766 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85767 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85768 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85769 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85770 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85771 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85772 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85773 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85774 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85775 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85776 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85777
85778 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85779
85780 * stdio-common/_itoa.h: Moved to ...
85781 * sysdeps/generic/_itoa.h: Here.
85782
85783 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85784
85785 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85786 instead of "_itoa.h" and "_itowa.h".
85787 * stdio-common/vfprintf.: Likewise.
85788
85789 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85790
85791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85792 <bits/wordsize.h>.
85793 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85794 (__signbit): Likewise.
85795 (llrintf): Likewise.
85796 (llrint): Likewise.
85797
85798 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85799
85800 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85801 __WORDSIZE != 64.
85802
85803 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85804
85805 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85806 OVERFLOW_EXCEPTION_OK.
85807 * math/libm-test.inc ("Philosophy"): Update comment about
85808 exception testing.
85809 (OVERFLOW_EXCEPTION): Define.
85810 (OVERFLOW_EXCEPTION_OK): Likewise.
85811 (INVALID_EXCEPTION_OK): Renumber.
85812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85813 (IGNORE_ZERO_INF_SIGN): Likewise.
85814 (test_exceptions): Handle FE_OVERFLOW.
85815 (exp10_test): Expect overflow exceptions.
85816 (exp2_test): Likewise.
85817 (expm1_test): Likewise.
85818 (nextafter_test): Likewise.
85819 (pow_test): Likewise.
85820 (scalbn_test): Likewise.
85821 (scalbln_test): Likewise.
85822
85823 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85824
85825 * sysdeps/x86_64/bits/atomic.h
85826 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85827 64bit integer.
85828 (atomic_exchange_acq): Likewise.
85829 (__arch_exchange_and_add_body): Likewise.
85830 (__arch_add_body): Likewise.
85831 (atomic_add_negative): Likewise.
85832 (atomic_add_zero): Likewise.
85833
85834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85835
85836 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85837 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85838
85839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85840
85841 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85842 Check __x86_64__ instead of __WORDSIZE.
85843
85844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85845
85846 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85847
85848 2012-03-19 David S. Miller <davem@davemloft.net>
85849
85850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85851
85852 * sysdeps/sparc/fpu/fenv_private.h: New file.
85853 * sysdeps/sparc/fpu/math_private.h: Use it.
85854 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85855 Remove.
85856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85857 (libc_feholdexcept_setroundl): Remove.
85858 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85859 Remove.
85860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85862
85863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85864
85865 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85866 int64_t instead of long int.
85867 (INSERT_WORDS64): Likewise.
85868
85869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85870
85871 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85872 _Unwind_GetCFA return to _Unwind_Ptr first.
85873
85874 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85875
85876 [BZ #13629]
85877 * math/s_clog.c: Include <float.h>.
85878 (__clog): Scale large or subnormal inputs.
85879 * math/s_clogf.c: Likewise.
85880 * math/s_clogl.c: Likewise.
85881 * math/s_clog10.c: Include <float.h>.
85882 (M_LOG10_2): Define.
85883 (__clog10): Scale large or subnormal inputs.
85884 * math/s_clog10f.c: Likewise.
85885 * math/s_clog10l.c: Likewise.
85886 * math/libm-test.inc (clog_test): Add more tests.
85887 (clog10_test): Likewise.
85888 * sysdeps/i386/fpu/libm-test-ulps: Update.
85889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85890
85891 [BZ #11451]
85892 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85893 x and y.
85894 * math/libm-test.inc (atan2_test): Add another test.
85895
85896 * Makerules (common-objdir-compile): Remove.
85897 * sysdeps/unix/Makefile (config-generated): Do not add
85898 $(unix-generated) to variable.
85899 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85900 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85901 Remove rule.
85902 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85903 Likewise.
85904 [generic bits/local_lim.h] (before-compile): Do not append to
85905 variable.
85906 [generic bits/local_lim.h] (common-generated): Likewise.
85907 [generic sys/param.h] (before-compile): Do not append to variable.
85908 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85909 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85911 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85912 include.
85913 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85914 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85915 [generic sys/param.h] ($(addprefix
85916 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85917 [generic sys/param.h] (common-generated): Do not append to
85918 variable.
85919 [generic sys/param.h] (sysdep_headers): Likewise.
85920 [generic bits/errno.h] (before-compile): Do not append to
85921 variable.
85922 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85923 rule.
85924 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85925 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85926 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85927 [generic bits/errno.h] (common-generated): Do not append to
85928 variable.
85929 [generic bits/ioctls.h] (before-compile): Do not append to
85930 variable.
85931 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85932 rule.
85933 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85934 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85935 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85936 rule.
85937 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85938 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85939 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85940 [generic bits/ioctls.h] (common-generated): Do not append to
85941 variable.
85942 [generic sys/syscall.h] (syscall.h): Remove variable.
85943 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85944 rule.
85945 [generic sys/syscall.h] (before-compile): Do not append to
85946 variable.
85947 [generic sys/syscall.h] (common-generated): Likewise.
85948 * sysdeps/unix/errnos-tmpl.c: Remove file.
85949 * sysdeps/unix/errnos.awk: Likewise.
85950 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85951 * sysdeps/unix/ioctls.awk: Likewise.
85952 * sysdeps/unix/mk-local_lim.c: Likewise.
85953 * sysdeps/unix/snarf-ioctls: Likewise.
85954
85955 2012-03-19 Richard Henderson <rth@twiddle.net>
85956
85957 * sysdeps/i386/fpu/fenv_private.h: New file.
85958 * sysdeps/i386/fpu/math_private.h: Use it.
85959 (math_opt_barrier, math_force_eval): Remove.
85960 (libc_feholdexcept_setround_53bit): Remove.
85961 (libc_feupdateenv_53bit): Remove.
85962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85963 (math_opt_barrier, math_force_eval): Remove.
85964 (libc_feholdexcept): Remove.
85965 (libc_feholdexcept_setround): Remove.
85966 (libc_fetestexcept, libc_fesetenv): Remove.
85967 (libc_feupdateenv_test): Remove.
85968 (libc_feupdateenv, libc_feholdsetround): Remove.
85969 (libc_feresetround): Remove.
85970
85971 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85972 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85973
85974 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85975 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85976 (libc_feupdateenv_testl): New.
85977 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85978 (libc_feupdateenv_testf): New.
85979 (libc_feupdateenv): Use libc_feupdateenv_test.
85980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85982
85983 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85984 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85985 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85986 (libc_feresetround_noex): New.
85987 (libc_feresetround_noexf): New.
85988 (libc_feresetround_noexl): New.
85989 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85990 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85991 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85992 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85993 SET_RESTORE_ROUND.
85994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85996 (__cos): Likewise.
85997 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85998 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85999 SET_RESTORE_ROUND_NOEX.
86000 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86001 SET_RESTORE_ROUND_NOEXF.
86002 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86003 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86004 (libc_feholdsetroundf): New.
86005 (libc_feresetround, libc_feresetroundf): New.
86006
86007 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86008 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86009 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86010
86011 * sysdeps/generic/math_private.h: Include <fenv.h>.
86012 (default_libc_feholdexcept): New.
86013 (default_libc_feholdexcept_setround): New.
86014 (default_libc_fesetenv, default_libc_feupdateenv): New.
86015 (libc_feholdexcept): Only define if undefined.
86016 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86017 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86018 (libc_feholdexcept_setroundl): Likewise.
86019 (libc_feholdexcept_setround_53bit): Likewise.
86020 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86021 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86022 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86023 (libc_feupdateenv_53bit): Likewise.
86024 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86025 (libc_feholdexcept): Convert from macro to inline function.
86026 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86027 (libc_fesetenv, libc_feupdateenv): Likewise.
86028
86029 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86030 not previously defined.
86031 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86032 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86033 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86034 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86035 * sysdeps/ieee754/flt-32/math_private.h: New file.
86036 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86037 math_private.h below SET_FLOAT_WORD.
86038 (__isnan, __isinf_ns, __finite): Remove.
86039 (__isnanf, __isinf_nsf, __finitef): Remove.
86040
86041 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86042
86043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86044
86045 2012-03-17 David S. Miller <davem@davemloft.net>
86046
86047 [BZ #6471]
86048 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86049 for 2.16.
86050
86051 2012-03-16 David S. Miller <davem@davemloft.net>
86052
86053 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86054 warnings.
86055
86056 [BZ #6471]
86057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86058 properly.
86059 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86060 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86061 sysdep_routines when subdir is sysvipc.
86062 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86063 __getshmlba helper.
86064
86065 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86066
86067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86068
86069 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86070 [__LP64__].
86071
86072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86073
86074 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86075 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86076 (__lround): Renamed to ...
86077 (__llround): This. Replace long int with long long int.
86078 Define lround functions as aliases of llround functions.
86079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86080
86081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86082
86083 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86084 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86085 adresses to uintptr_t. Replace "long int" and "unsigned long
86086 int" with "greg_t" on va_arg.
86087
86088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86089
86090 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86091 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86092
86093 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86094 Move e_machine check before EI_CLASS check. Handle x32
86095 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86096 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86097 SKIP_EM_IA_64 and include
86098 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86099
86100 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86101 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86102 (add_system_dir): New macro.
86103
86104 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86105 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86106
86107 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86108
86109 [BZ #2551]
86110 [BZ #2552]
86111 [BZ #2553]
86112 [BZ #2554]
86113 [BZ #2562]
86114 [BZ #2563]
86115 [BZ #2565]
86116 [BZ #2566]
86117 [BZ #2576]
86118 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86119 (y0): Likewise.
86120 * math/w_j0f.c (j0f): Likewise.
86121 (y0f): Likewise.
86122 * math/w_j0l.c (__j0l): Likewise.
86123 (__y0l): Likewise.
86124 * math/w_j1.c (j1): Likewise.
86125 (y1): Likewise.
86126 * math/w_j1f.c (j1f): Likewise.
86127 (y1f): Likewise.
86128 * math/w_j1l.c (__j1l): Likewise.
86129 (__y1l): Likewise.
86130 * math/w_jn.c (jn): Likewise.
86131 (yn): Likewise.
86132 * math/w_jnf.c (jnf): Likewise.
86133 (ynf): Likewise.
86134 * math/w_jnl.c (__jnl): Likewise.
86135 (__ynl): Likewise.
86136 * math/libm-test.inc (j0_test): Add more tests.
86137 (j1_test): Likewise.
86138 (jn_test): Likewise. Add trailing semicolon to existing test.
86139 (y0_test): Likewise.
86140 (y1_test): Likewise.
86141 * sysdeps/i386/fpu/libm-test-ulps: Update.
86142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86143
86144 [BZ #13851]
86145 [BZ #13854]
86146 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86147 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86148 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86150 (__tanl): Set errno for infinite argument.
86151 * sysdeps/i386/fpu/mptan.c: Remove.
86152 * sysdeps/i386/fpu/s_tan.S: Likewise.
86153 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86154 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86155 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86156 * math/libm-test.inc (tan_test): Add more tests and enable more
86157 tests for double and long double.
86158 * sysdeps/i386/fpu/libm-test-ulps: Update.
86159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86160
86161 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86162
86163 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86164 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86165
86166 2012-03-16 Roland McGrath <roland@hack.frob.com>
86167
86168 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86169 * configure.in: Use it for both main tree and add-ons.
86170 * configure: Regenerated.
86171
86172 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86173
86174 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86175
86176 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86177
86178 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86179 in comment.
86180
86181 [BZ #13851]
86182 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86183 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86184 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86185 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86186 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86187 infinite argument.
86188 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86190 != 0 for prec == 2.
86191 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86192 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86193 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86194 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86195 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86196 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86197 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86198 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86199 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86200 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86201 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86202 * math/libm-test.inc (cos_test): Add more tests and enable more
86203 tests for long double.
86204 (sin_test): Likewise.
86205 (sincos_test): Likewise.
86206 * sysdeps/i386/fpu/libm-test-ulps: Update.
86207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86208
86209 2012-03-16 David S. Miller <davem@davemloft.net>
86210
86211 * sysdeps/sparc/fpu/math_private.h: New file.
86212
86213 2012-03-15 David S. Miller <davem@davemloft.net>
86214
86215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86216 file.
86217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86219 file.
86220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86226 sysdep routines.
86227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86228
86229 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86230 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86231
86232 * sysdeps/sparc/sparc-ifunc.h: New file.
86233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86234 sparc-ifunc.h
86235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86237 Likewise.
86238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86239 Likewise.
86240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86244 Likewise.
86245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86250 Likewise.
86251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86252 Likewise.
86253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86277
86278 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86279
86280 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86281 scaling.
86282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86283
86284 2012-03-15 Andreas Jaeger <aj@suse.de>
86285
86286 [BZ #13852]
86287 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86288 ieee754/flt-32 implementation for sin, cos and sincos.
86289 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86290 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86291 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86292 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86293 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86294 ieee754/flt-32 implementation for tan.
86295
86296 * math/libm-test.inc (cos_test): Enable some large input tests for
86297 float as well
86298 (sin_test): Likewise.
86299 (sincos_test): Likewise.
86300 (tan_test): Add tests for large input.
86301
86302 * sysdeps/i386/fpu/libm-test-ulps: Update.
86303
86304 2012-03-15 Andreas Jaeger <aj@suse.de>
86305
86306 [BZ #13658]
86307 * math/libm-test.inc (cos_test): Add more test cases.
86308 (sin_test): Likewise.
86309 (sincos_test): Likewise.
86310
86311 2012-03-15 Andreas Jaeger <aj@suse.de>
86312
86313 [BZ #13837]
86314 * math/libm-test.inc (cos_test): Add a test case for large input
86315 value.
86316 (sin_test): Likewise.
86317 (sincos_test): Likewise.
86318
86319 2012-03-15 Andreas Jaeger <aj@suse.de>
86320 Joseph Myers <joseph@codesourcery.com>
86321
86322 [BZ #13658]
86323 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86324 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86325 * sysdeps/i386/fpu/branred.c: Likewise.
86326 * sysdeps/i386/fpu/dosincos.c: Likewise.
86327 * sysdeps/i386/fpu/mpa.c: Likewise.
86328 * sysdeps/i386/fpu/s_cos.S: Likewise.
86329 * sysdeps/i386/fpu/s_sin.S: Likewise.
86330 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86331 * sysdeps/i386/fpu/sincos32.c: Likewise.
86332
86333 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86334 Define.
86335 (libc_feupdateenv_53bit): Define.
86336 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86337 Define.
86338 (libc_feupdateenv_53bit): Define.
86339
86340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86341 53 bit (without extend i386 double precision).
86342
86343 * math/libm-test.inc (sincos_test): Add tests for large input.
86344 (sin): Likewise.
86345 (cos): Likewise.
86346
86347 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86348
86349 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86350
86351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86352
86353 2012-03-15 David S. Miller <davem@davemloft.net>
86354
86355 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86356 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86357 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86358 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86371 file.
86372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86374 file.
86375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86377 file.
86378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86380 file.
86381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86383 fmin/fmax sysdep routines.
86384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86385
86386 2012-03-14 David S. Miller <davem@davemloft.net>
86387
86388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86417 routines.
86418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86419 file.
86420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86422 file.
86423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86425 file.
86426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86428 file.
86429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86431 file.
86432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86434 file.
86435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86436 file.
86437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86438 file.
86439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86440 file.
86441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86442 New file.
86443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86444 file.
86445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86446 file.
86447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86449 file.
86450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86452 file.
86453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86455 file.
86456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86458 VIS3 routines.
86459
86460 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86461 New file.
86462
86463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86464
86465 * sysdeps/sparc/configure.in: New file.
86466 * sysdeps/sparc/configure: Generate.
86467 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86468 * configure: Regenerate.
86469 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86470 * config.make.in (have-as-vis3): New.
86471 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86472 available use -Av9d instead of -Av9a.
86473 * sysdeps/sparc/sparc64/Makefile: Likewise.
86474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86476 New file.
86477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86478 file.
86479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86480 New file.
86481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86482 file.
86483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86488
86489 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86490 fzeros/fnegs to load 0x80000000 into a float register instead of
86491 using the stack.
86492 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86493
86494 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86495
86496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86497 bits/syscall.h.
86498 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86499 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86500 ($(inst_includedir)/bits/syscall.h): Remove rule.
86501 ($(objpfx)bits/syscall.d): Include instead of
86502 $(objpfx)syscall-list.d.
86503 (generated): Change syscall-list.h and syscall-list.d to
86504 bits/syscall.h and bits/syscall.d.
86505
86506 2012-03-14 Roland McGrath <roland@hack.frob.com>
86507
86508 [BZ #13846]
86509 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86510
86511 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86512
86513 [BZ #13841]
86514 * math/s_csqrt.c: Include <float.h>.
86515 (__csqrt): Scale large or subnormal inputs.
86516 * math/s_csqrtf.c: Likewise.
86517 * math/s_csqrtl.c: Likewise.
86518 * math/libm-test.inc (csqrt_test): Add more tests.
86519 * sysdeps/i386/fpu/libm-test-ulps: Update.
86520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86521
86522 [BZ #13840]
86523 * math/libm-test.inc (hypot_test): Add more tests.
86524
86525 2012-03-13 David S. Miller <davem@davemloft.net>
86526
86527 [BZ #13840]
86528 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86529 double-precision for the calculation instead of scaling.
86530
86531 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86532
86533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86534 manipulate bits before adding and subtracting TWO52[sx].
86535 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86537 Likewise.
86538 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86539
86540 2012-03-13 David S. Miller <davem@davemloft.net>
86541
86542 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86543 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86545 rtld-global-offsets.h
86546 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86547
86548 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86549 large parameters.
86550
86551 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86552
86553 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86554 'err' in the ifdef scope in which it is actually used.
86555
86556 * nss/nss_db/db-init.c: Include string.h
86557
86558 2012-03-12 David S. Miller <davem@davemloft.net>
86559
86560 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86561 masking out of the most significant byte of random value used.
86562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86563 Fix coding style in previous change.
86564
86565 * sysdeps/unix/sysv/linux/kernel-features.h
86566 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86567 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86568 expression.
86569 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86570 later.
86571
86572 2012-03-11 David S. Miller <davem@davemloft.net>
86573
86574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86575 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86577 for 'resultvar' otherwise things get truncated on 64-bit.
86578
86579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86580 Fix masking out of the most significant byte of random value used.
86581
86582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86583
86584 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86585
86586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86587
86588 2012-03-09 David S. Miller <davem@davemloft.net>
86589
86590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86591 variables with appropriate CPP guards.
86592 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86593 from the frame pointer, not the stack pointer. Correct layout
86594 comments. Fix test on resulting framesize and the management of
86595 the outregs buffer for pltexit. Preserve floating point return
86596 values across _dl_call_pltexit call.
86597 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86598 framesize and the management of the outregs buffer for pltexit.
86599 Preserve floating point return values across _dl_call_pltexit
86600 call.
86601 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86602 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86603 (la_sparc64_gnu_pltexit): New functions.
86604 (print_exit): Fix format string for return register value.
86605
86606 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86607
86608 * sunrpc/Makefile (others): Add rpcgen.
86609 ($(objpfx)rpcgen): Remove special build rule and dependency on
86610 libc.
86611 * sunrpc/rpcgen.c: New file.
86612
86613 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86614
86615 [BZ #13673]
86616 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86617 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86618 * sysdeps/i386/crti.S: Likewise.
86619 * sysdeps/i386/crtn.S: Likewise.
86620 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86621 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86622 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86623 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86624 * sysdeps/sh/crti.S: Likewise.
86625 * sysdeps/sh/crtn.S: Likewise.
86626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86627
86628 [BZ #13673]
86629 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86630 with URL.
86631 * locale/programs/locfile-kw.gperf: Likewise.
86632 * locale/programs/charmap-kw.h: Regenerated.
86633 * locale/programs/locfile-kw.h: Likewise.
86634
86635 [BZ #13673]
86636 * intl/plural.y: Replace FSF snail mail address with URL.
86637 * intl/plural.c: Regenerated.
86638
86639 2012-03-09 Richard Henderson <rth@twiddle.net>
86640
86641 * include/math_private.h: Remove file.
86642 * math/math_private.h: Move file ...
86643 * sysdeps/generic/math_private.h: ... here.
86644
86645 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86646 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86648
86649 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86650 and <math_private.h>.
86651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86656 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86662 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86663 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86665 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86676 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86677 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86678 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86691 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86694 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86697 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86702 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86703 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86705 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86706 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86710 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86714 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86715 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86738 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86739 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86742 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86744 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86745 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86746 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86751 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86752 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86753 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86754 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86756 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86758 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86759 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86761 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86762 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86763 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86765 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86767 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86768 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86769 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86774 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86778 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86780 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86781 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86784 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86785 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86788 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86789 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86792 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86794 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86795 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86799 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86800 * sysdeps/ieee754/k_standard.c: Likewise.
86801 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86802 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86804 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86805 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86806 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86807 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86808 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86813 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86814 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86815 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86816 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86818 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86819 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86820 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86821 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86822 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86824 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86825 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86826 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86835 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86839 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86845 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86847 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86849 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86854 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86857 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86858 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86862 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86863 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86886 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86887 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86888 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86893 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86898 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86905 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86908 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86909 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86911 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86912 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86926 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86927 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86928 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86929 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86930 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86931 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86932 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86933 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86934 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86935 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86936 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86937 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86938 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86940 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86941 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86943 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86944 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86945 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86950 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86955 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86960 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86961 * sysdeps/ieee754/s_lib_version.c: Likewise.
86962 * sysdeps/ieee754/s_matherr.c: Likewise.
86963 * sysdeps/ieee754/s_signgam.c: Likewise.
86964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86967 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86968 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86970 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86971 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86972 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86973 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86974 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86975 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86978 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86985
86986 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86987
86988 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86989 * sunrpc/rpc_main.c: Likewise.
86990 * sunrpc/rpc_svcout.c: Likewise.
86991
86992 2012-03-09 David S. Miller <davem@davemloft.net>
86993
86994 * include/math_private.h: New file.
86995
86996 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86997
86998 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86999 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87000 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87001 from <bits/socket_type.h>.
87002 (enum __socket_type): Don't define here.
87003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87005 bits/socket_type.h.
87006
87007 [BZ #13566]
87008 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87009 checking __USE_GNU.
87010
87011 * Makerules ($(inst_includedir)/%.h): New rule.
87012 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87013 (install-others): Remove variable setting.
87014 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87015
87016 2012-03-08 Richard Henderson <rth@twiddle.net>
87017
87018 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87019 from macro to inline function; merge with the
87020 !__LIBC_INTERNAL_MATH_INLINES version.
87021 (__ieee754_sqrtf): Likewise.
87022
87023 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87024 to inline function.
87025 (__rintf, __floor, __floorf): Likewise.
87026
87027 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87028 macro to inline function.
87029 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87030
87031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87032 not <math/math_private.h>.
87033
87034 2012-03-08 David S. Miller <davem@davemloft.net>
87035
87036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87037 copyright year.
87038 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87039
87040 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87041
87042 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87043 normalization.
87044 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87046
87047 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87048
87049 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87050 be defined individually, they must be defined as a block. Define
87051 S for printing a string instead of hidint the different by using a
87052 macro for adding the 'l'.
87053 * stdio-common/tst-fphex-wide.c: Adjust.
87054
87055 2012-03-07 Marek Polacek <polacek@redhat.com>
87056
87057 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87058
87059 2012-03-08 Marek Polacek <polacek@redhat.com>
87060
87061 [BZ #13806]
87062 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87063 * stdio-common/tst-fphex.c: Define a few macros to make the
87064 test reusable. Use them.
87065 * stdio-common/tst-fphex-wide.c: New file.
87066
87067 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87068
87069 [BZ #6911]
87070 * manual/macros.texi (gnusystems): New macro.
87071 (nongnusystems): Likewise.
87072 (gnulinuxhurdsystems): Likewise.
87073 (gnuhurdsystems): Likewise..
87074 (gnulinuxsystems): Likewise.
87075 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87076 variants of the GNU system, not "GNU system".
87077 * manual/conf.texi: Likewise.
87078 * manual/errno.texi: Likewise. Update example of errno macro
87079 expansion.
87080 * manual/filesys.texi: Likewise.
87081 (getumask): Document as specific to GNU/Hurd.
87082 * manual/install.texi: Likewise. Reword some references to
87083 GNU/Linux.
87084 * manual/intro.texi: Likewise.
87085 * manual/io.texi: Likewise.
87086 (File Name Portability): Detail which constraints are inapplicable
87087 to all GNU systems and which are only inapplicable to GNU/Hurd.
87088 * manual/job.texi: Likewise.
87089 * manual/llio.texi: Likewise.
87090 (O_NOCTTY): Document as present on GNU/Linux.
87091 * manual/maint.texi: Likewise.
87092 * manual/memory.texi: Likewise.
87093 * manual/pattern.texi: Likewise.
87094 * manual/pipe.texi: Likewise.
87095 * manual/process.texi: Likewise.
87096 * manual/resource.texi: Likewise.
87097 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87098 child on GNU/Hurd.
87099 * manual/setjmp.texi: Likewise.
87100 * manual/signal.texi: Likewise.
87101 * manual/startup.texi: Likewise.
87102 * manual/stdio.texi: Likewise.
87103 * manual/terminal.texi: Likewise.
87104 (ONLCR): Document as POSIX.
87105 (OXTABS): Document availability on GNU/Linux as XTABS.
87106 (ONOEOT): Document availability separately from other bits.
87107 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87108 * manual/time.texi: Likewise.
87109 * manual/users.texi: Likewise.
87110 * INSTALL: Regenerated.
87111 * sysdeps/gnu/errlist.c: Regenerated.
87112
87113 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87114 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87115 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87116 puts.
87117 * configure: Regenerated.
87118
87119 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87120
87121 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87122 default includes instead of AC_HEADER_CHECK.
87123 * sysdeps/i386/configure: Regenerated.
87124
87125 [BZ #10716]
87126 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87127 * math/s_cacoshf.c (__cacoshf): Likewise.
87128 * math/s_cacoshl.c (__cacoshl): Likewise.
87129 * math/s_casinh.c (__casinh): Set signs of result from argument.
87130 * math/s_casinhf.c (__casinhf): Likewise.
87131 * math/s_casinhl.c (__casinhl): Likewise.
87132 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87133 (casinh_test): Add more tests.
87134 * sysdeps/i386/fpu/libm-test-ulps: Update.
87135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87136
87137 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87138
87139 * po/zh_TW.po: Update from translation team.
87140
87141 * login/Makefile (distribute): Remove variable.
87142 * catgets/Makefile: Likewise.
87143 * mach/Makefile: Likewise.
87144 * malloc/Makefile: Likewise.
87145 * misc/Makefile: Likewise.
87146 * iconv/Makefile: Likewise.
87147 * nscd/Makefile: Likewise.
87148 * hurd/Makefile: Likewise.
87149 * manual/Makefile: Likewise.
87150 * locale/Makefile: Likewise.
87151 * intl/Makefile: Likewise.
87152 * conform/Makefile: Likewise.
87153 * nss/Makefile: Likewise.
87154 * time/Makefile: Likewise.
87155 * soft-fp/Makefile: Likewise.
87156 * dirent/Makefile: Likewise.
87157 * gmon/Makefile: Likewise.
87158 * po/Makefile: Likewise.
87159 * rt/Makefile: Likewise.
87160 * socket/Makefile: Likewise.
87161 * math/Makefile: Likewise.
87162 * signal/Makefile: Likewise.
87163 * debug/Makefile: Likewise.
87164 * elf/Makefile: Likewise.
87165 * timezone/Makefile: Likewise.
87166 * stdlib/Makefile: Likewise.
87167 * iconvdata/Makefile: Likewise.
87168 * sunrpc/Makefile: Likewise.
87169 * io/Makefile: Likewise.
87170 * argp/Makefile: Likewise.
87171 * inet/Makefile: Likewise.
87172 * hesiod/Makefile: Likewise.
87173 * grp/Makefile: Likewise.
87174 * csu/Makefile: Likewise.
87175 * wctype/Makefile: Likewise.
87176 * crypt/Makefile: Likewise.
87177 * libio/Makefile: Likewise.
87178 * string/Makefile: Likewise.
87179 * nis/Makefile: Likewise.
87180 * resolv/Makefile: Likewise.
87181 * stdio-common/Makefile: Likewise.
87182 * wcsmbs/Makefile: Likewise.
87183 * dlfcn/Makefile: Likewise.
87184 * posix/Makefile: Likewise.
87185
87186 [BZ #6959]
87187 * timezone/Makefile: Don't install timezone files, just the programs
87188 and scripts.
87189
87190 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87191
87192 * nss/databases.def: Add missing gshadow entry.
87193
87194 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87195
87196 2012-03-06 Marek Polacek <polacek@redhat.com>
87197
87198 [BZ #13726]
87199 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87200 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87201 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87202 * stdio-common/tst-long-dbl-fphex.c: New file.
87203
87204 2012-03-06 David S. Miller <davem@davemloft.net>
87205
87206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87207 (set_obp_int): New function.
87208 (get_obp_int): New function.
87209 (__get_clockfreq_via_dev_openprom): Likewise.
87210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87211 Avoid unused variable warnings on 'val' and use builtin_expect.
87212 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87213 __builtin_expect.
87214 (INLINE_CLONE_SYSCALL): Likewise.
87215
87216 2012-03-05 David S. Miller <davem@davemloft.net>
87217
87218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87219
87220 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87221
87222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87223
87224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87225 only for |x| >= 40.
87226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87227
87228 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87229
87230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87231 Replace gettimeofday with __vdso_gettimeofday.
87232
87233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87234 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87235 __vdso_clock_gettime and __vdso_getcpu.
87236
87237 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87238 time with __vdso_time.
87239
87240 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87241
87242 * manual/lang.texi (size_t): Note types to which size_t may be
87243 equivalent with the GNU C Library, but do not describe when
87244 differences between them are significant.
87245
87246 2012-03-05 Andreas Jaeger <aj@suse.de>
87247
87248 * sysdeps/i386/fpu/libm-test-ulps: Update.
87249
87250 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87251
87252 [BZ #3976]
87253 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87254 (__ieee754_pow): Save and restore rounding mode and use
87255 round-to-nearest for main computations.
87256 * math/libm-test.inc (pow_test_tonearest): New function.
87257 (pow_test_towardzero): Likewise.
87258 (pow_test_downward): Likewise.
87259 (pow_test_upward): Likewise.
87260 (main): Call the new functions.
87261 * sysdeps/i386/fpu/libm-test-ulps: Update.
87262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87263
87264 [BZ #3976]
87265 * math/libm-test.inc (cosh_test_tonearest): New function.
87266 (cosh_test_towardzero): Likewise.
87267 (cosh_test_downward): Likewise.
87268 (cosh_test_upward): Likewise.
87269 (sinh_test_tonearest): Likewise.
87270 (sinh_test_towardzero): Likewise.
87271 (sinh_test_downward): Likewise.
87272 (sinh_test_upward): Likewise.
87273 (main): Call the new functions.
87274 * sysdeps/i386/fpu/libm-test-ulps: Update.
87275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87276
87277 2012-03-05 Tom de Vries <tom@codesourcery.com>
87278
87279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87280 default stack guard is set in last bytes.
87281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87282
87283 2012-03-05 Kees Cook <keescook@chromium.org>
87284
87285 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87286
87287 [BZ #13656]
87288 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87289 possibly allocate from heap instead of stack.
87290 * stdio-common/bug-vfprintf-nargs.c: New file.
87291 * stdio-common/Makefile (tests): Add nargs overflow test.
87292
87293 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87294
87295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87296
87297 2012-03-03 Marek Polacek <polacek@redhat.com>
87298
87299 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87300 * math/math_private.h: Likewise.
87301 * stdlib/tst-strtod.c: Likewise.
87302 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87303 * sysdeps/x86_64/bits/atomic.h: Likewise.
87304
87305 2012-03-02 David S. Miller <davem@davemloft.net>
87306
87307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87311 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87312 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87313 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87314 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87315
87316 2012-03-02 Roland McGrath <roland@hack.frob.com>
87317
87318 [BZ #13792]
87319 * manual/examples/README: New file, says the example source files
87320 can be used under GPL>=2.
87321 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87322 line containing just "*/".
87323 * manual/examples/add.c: Add copyright header (GPL>=2).
87324 * manual/examples/argp-ex1.c: Likewise.
87325 * manual/examples/argp-ex2.c: Likewise.
87326 * manual/examples/argp-ex3.c: Likewise.
87327 * manual/examples/argp-ex4.c: Likewise.
87328 * manual/examples/atexit.c: Likewise.
87329 * manual/examples/db.c: Likewise.
87330 * manual/examples/dir.c: Likewise.
87331 * manual/examples/dir2.c: Likewise.
87332 * manual/examples/execinfo.c: Likewise.
87333 * manual/examples/filecli.c: Likewise.
87334 * manual/examples/filesrv.c: Likewise.
87335 * manual/examples/fmtmsgexpl.c: Likewise.
87336 * manual/examples/genpass.c: Likewise.
87337 * manual/examples/inetcli.c: Likewise.
87338 * manual/examples/inetsrv.c: Likewise.
87339 * manual/examples/isockad.c: Likewise.
87340 * manual/examples/longopt.c: Likewise.
87341 * manual/examples/memopen.c: Likewise.
87342 * manual/examples/memstrm.c: Likewise.
87343 * manual/examples/mkfsock.c: Likewise.
87344 * manual/examples/mkisock.c: Likewise.
87345 * manual/examples/mygetpass.c: Likewise.
87346 * manual/examples/pipe.c: Likewise.
87347 * manual/examples/popen.c: Likewise.
87348 * manual/examples/rprintf.c: Likewise.
87349 * manual/examples/search.c: Likewise.
87350 * manual/examples/select.c: Likewise.
87351 * manual/examples/setjmp.c: Likewise.
87352 * manual/examples/sigh1.c: Likewise.
87353 * manual/examples/sigusr.c: Likewise.
87354 * manual/examples/stpcpy.c: Likewise.
87355 * manual/examples/strdupa.c: Likewise.
87356 * manual/examples/strftim.c: Likewise.
87357 * manual/examples/strncat.c: Likewise.
87358 * manual/examples/subopt.c: Likewise.
87359 * manual/examples/swapcontext.c: Likewise.
87360 * manual/examples/termios.c: Likewise.
87361 * manual/examples/testopt.c: Likewise.
87362 * manual/examples/testpass.c: Likewise.
87363 * manual/examples/timeval_subtract.c: Likewise.
87364
87365 [BZ #13792]
87366 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87367 function to ...
87368 * manual/timeval_subtract.c.texi: ... here, new file.
87369
87370 2012-03-02 David S. Miller <davem@davemloft.net>
87371
87372 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87373
87374 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87375
87376 [BZ #3976]
87377 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87378 (__sin): Save and restore rounding mode and use round-to-nearest
87379 for all computations.
87380 (__cos): Save and restore rounding mode and use round-to-nearest
87381 for all computations.
87382 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87383 <fenv.h>.
87384 (tan): Save and restore rounding mode and use round-to-nearest for
87385 all computations.
87386 * math/libm-test.inc (cos_test_tonearest): New function.
87387 (cos_test_towardzero): Likewise.
87388 (cos_test_downward): Likewise.
87389 (cos_test_upward): Likewise.
87390 (sin_test_tonearest): Likewise.
87391 (sin_test_towardzero): Likewise.
87392 (sin_test_downward): Likewise.
87393 (sin_test_upward): Likewise.
87394 (tan_test_tonearest): Likewise.
87395 (tan_test_towardzero): Likewise.
87396 (tan_test_downward): Likewise.
87397 (tan_test_upward): Likewise.
87398 (main): Call the new functions.
87399 * sysdeps/i386/fpu/libm-test-ulps: Update.
87400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87401
87402 [BZ #10135]
87403 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87404 small n, then large n, before computing and testing k+n.
87405 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87407 Likewise.
87408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87409 Likewise.
87410 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87411 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87418 * math/libm-test.inc (scalbn_test): Add more tests.
87419 (scalbln_test): Likewise.
87420
87421 * manual/filesys.texi (mode_t): Describe constraints on size and
87422 signedness, not exact equivalence to a particular type.
87423 (ino_t): Likewise.
87424 (ino64_t): Likewise.
87425 (dev_t): Likewise.
87426 (nlink_t): Likewise.
87427 (blkcnt_t): Likewise.
87428 (blkcnt64_t): Likewise.
87429 * manual/llio.texi (off_t): Likewise.
87430
87431 [BZ #3976]
87432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87433 (__ieee754_exp): Save and restore rounding mode and use
87434 round-to-nearest for all computations.
87435 * math/libm-test.inc (exp_test_tonearest): New function.
87436 (exp_test_towardzero): Likewise.
87437 (exp_test_downward): Likewise.
87438 (exp_test_upward): Likewise.
87439 (main): Call the new functions.
87440 * sysdeps/i386/fpu/libm-test-ulps: Update.
87441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87442
87443 2012-03-01 Chris Demetriou <cgd@google.com>
87444
87445 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87446 have predictable order.
87447
87448 2012-03-01 David S. Miller <davem@davemloft.net>
87449
87450 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87451
87452 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87453 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87454 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87455 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87456
87457 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87458 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87459 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87461 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87462 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87463 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87464 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87465 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87466
87467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87468
87469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87470 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87472
87473 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87474 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87475 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87481 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87482 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87483 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87489 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87490 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87491 * sysdeps/sparc/elf/configure: Regenerated.
87492
87493 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87494
87495 * configure.in (AS, LD): Require binutils 2.20 or later.
87496 * configure: Regenerated.
87497 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87498 as required minimum version.
87499 * INSTALL: Regenerated.
87500
87501 [BZ #2541]
87502 [BZ #4108]
87503 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87504 before squaring exponent.
87505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87506 bottom long double and 27 bits of top long double before squaring
87507 exponent.
87508 * math/libm-test.inc (erfc_test): Add more tests.
87509 * sysdeps/i386/fpu/libm-test-ulps: Update.
87510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87512
87513 2012-03-01 Kai Tietz <ktietz@redhat.com>
87514
87515 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87516 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87517 containing bit-fields.
87518 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87519 * soft-fp/single.h (_FP_UNION_S): Likewise.
87520 * soft-fp/double.h (_FP_UNION_D): Likewise.
87521
87522 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87523
87524 [BZ #13786]
87525 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87526 not include ../strcmp.S.
87527 [USE_AS_STRNCASECMP_L]: Likewise.
87528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87529 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87530 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87531 (__strncasecmp_l_ia32): Define as alias to
87532 __strncasecmp_l_nonascii.
87533
87534 [BZ #5794]
87535 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87536 * sysdeps/i386/fpu/libm-test-ulps: Update.
87537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87538
87539 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87541
87542 2012-02-29 Jeff Law <law@redhat.com>
87543
87544 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87545 out of bounds read.
87546
87547 2012-02-29 Marek Polacek <polacek@redhat.com>
87548
87549 [BZ #13706]
87550 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87551 * elf/Makefile: Add rules to run tst-unused-dep.out.
87552
87553 2012-02-28 David S. Miller <davem@davemloft.net>
87554
87555 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87556 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87559 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87560 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87561
87562 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87563
87564 * math/libm-test.inc (llround_test): Move one test from
87565 lround_test. Use TEST_f_L in moved test.
87566 (lround_test): Move misplaced test to llround_test. Add testcase
87567 from bug 2561.
87568
87569 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87570
87571 * sysdeps/x86_64/fpu/e_expf.S: New file.
87572 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87573
87574 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87575
87576 [BZ #13637]
87577 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87578 of remain_len that may cause incomplete multi-byte character and
87579 false match.
87580 * posix/bug-regex33.c: New file.
87581 * posix/Makefile (tests): Add bug-regex33.
87582
87583 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87584
87585 * manual/macros.texi: New file.
87586 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87587 * manual/libc.texinfo: Include macros.texi.
87588 * manual/creatute.texi: Likewise.
87589 * manual/install.texi: Likewise.
87590 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87591 @glibcadj{} in references to the GNU C Library.
87592 * manual/charset.texi: Likewise.
87593 * manual/conf.texi: Likewise.
87594 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87595 when not using those macros.
87596 * manual/creature.texi: Likewise.
87597 * manual/crypt.texi: Likewise.
87598 * manual/errno.texi: Likewise.
87599 * manual/filesys.texi: Likewise.
87600 * manual/header.texi: Likewise.
87601 * manual/install.texi: Likewise.
87602 * manual/intro.texi: Likewise.
87603 * manual/io.texi: Likewise.
87604 * manual/job.texi: Likewise.
87605 * manual/lang.texi: Likewise.
87606 * manual/libc.texiinfo: Likewise.
87607 * manual/llio.texi: Likewise.
87608 * manual/locale.texi: Likewise.
87609 * manual/maint.texi: Likewise.
87610 * manual/math.texi: Likewise.
87611 * manual/memory.texi: Likewise.
87612 * manual/message.texi: Likewise.
87613 * manual/nss.texi: Likewise.
87614 * manual/pattern.texi: Likewise.
87615 * manual/process.texi: Likewise.
87616 * manual/resource.texi: Likewise.
87617 * manual/search.texi: Likewise.
87618 * manual/setjmp.texi: Likewise.
87619 * manual/signal.texi: Likewise.
87620 * manual/socket.texi: Likewise.
87621 * manual/startup.texi: Likewise.
87622 * manual/stdio.texi: Likewise.
87623 * manual/string.texi: Likewise.
87624 * manual/sysinfo.texi: Likewise.
87625 * manual/syslog.texi: Likewise.
87626 * manual/terminal.texi: Likewise.
87627 * manual/time.texi: Likewise.
87628 * manual/users.texi: Likewise.
87629 * INSTALL: Regenerated.
87630 * NOTES: Regenerated.
87631 * sysdeps/gnu/errlist.c: Regenerated.
87632
87633 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87634
87635 * include/dirent.h: Include <dirstream.h> before
87636 <dirent/dirent.h>.
87637
87638 2012-02-28 David S. Miller <davem@davemloft.net>
87639
87640 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87641 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87642 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87643 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87644
87645 2012-02-27 David S. Miller <davem@davemloft.net>
87646
87647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87649 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87650 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87651
87652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87653 frame pointer instead of stack pointer relative arg slot.
87654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87657
87658 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87659
87660 [BZ #3992]
87661 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87662
87663 2012-02-27 David S. Miller <davem@davemloft.net>
87664
87665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87671 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87673
87674 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87675
87676 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87677 later. Allow versions 5-9.
87678 * configure: Regenerated.
87679 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87680 required minimum version and 4.6 as recommended version. Do not
87681 mention bugs in GCC 2.7 and 2.8.
87682 * INSTALL: Regenerated.
87683
87684 2012-02-27 David S. Miller <davem@davemloft.net>
87685
87686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87692 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87694
87695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87696 manipulate bits before adding and subtracting TWO112[sx].
87697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87698
87699 2012-02-27 Roland McGrath <roland@hack.frob.com>
87700
87701 [BZ #13775]
87702 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87703 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87704 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87705 being in POSIX, because they are in 1003.1-2008.
87706
87707 * rt/tst-aio.c: Include <fcntl.h>.
87708 * rt/tst-aio7.c: Likewise.
87709 * rt/tst-aio64.c: Likewise.
87710
87711 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87712
87713 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87714
87715 * manual/install.texi (--with-headers): Describe headers as
87716 interface headers, not private headers.
87717 (Specific advice for GNU/Linux systems): Describe use of headers
87718 from "make headers_install", not private headers from older
87719 kernels.
87720 * INSTALL: Regenerated.
87721 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87722 Change to 2.6.19.
87723 * sysdeps/unix/sysv/linux/configure: Regenerated.
87724
87725 * manual/llio.texi (fclean): Remove documentation.
87726
87727 * manual/Makefile (libc-texi-generated): New variable. Include
87728 version.texi.
87729 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87730 $(libc-texi-generated), not duplicated list of files.
87731 (version.texi, stamp-version): New rules.
87732 (realclean): Remove $(libc-texi-generated), not individual files
87733 from that list. Do not remove dir-add.texinfo.
87734 * manual/libc.texinfo: Comment out uses of edition numbers and
87735 references to printed manual. Remove last-updated dates.
87736 (EDITION): Comment out.
87737 (ISBN): Likewise.
87738 (VERSION, UPDATED): Remove.
87739 (version.texi): Include.
87740
87741 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87742
87743 * sysdeps/posix/spawni.c: Include <signal.h>.
87744 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87745 * sysdeps/pthread/aio_fsync.c: Likewise.
87746
87747 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87748
87749 * conform/Makefile (tests): Run only when not cross-compiling and
87750 when fast-check is not defined.
87751
87752 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87753 * conform/data/limits.h-data: Fixes for POSIX2008.
87754 * conform/run-conformtest.sh: Run all tests.
87755 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87756 headers.
87757 * include/bits/dlfcn.h: Likewise.
87758 * include/langinfo.h: Likewise.
87759 * include/monetary.h: Likewise.
87760 * include/sys/poll.h: Likewise.
87761
87762 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87763 for __USE_GNU.
87764 * posix/spawn.h: Define __need_sigset_t.
87765 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87766 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87767 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87768 to get sigevent_t only.
87769 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87770 only for __USE_GNU.
87771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87772 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87773 process_vm_writev only for __USE_GNU.
87774 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87775
87776 * conform/Makefile: For now ignore errors from run-conformtest.
87777 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87778 POSIX to avoid namespace pollution. Don't prepend headers.
87779 * conform/data/aio.h-data: Fixes for POSIX testing.
87780 * conform/data/fcntl.h-data: Likewise.
87781 * conform/data/glob.h-data: Likewise.
87782 * conform/data/grp.h-data: Likewise.
87783 * conform/data/pthread.h-data: Likewise.
87784 * conform/data/pwd.h-data: Likewise.
87785 * conform/data/signal.h-data: Likewise.
87786 * conform/data/spawn.h-data: Likewise.
87787 * conform/data/stdio.h-data: Likewise.
87788 * conform/data/stdlib.h-data: Likewise.
87789 * conform/data/stropts.h-data: Likewise.
87790 * conform/data/sys/mman.h-data: Likewise.
87791 * conform/data/sys/stat.h-data: Likewise.
87792 * conform/data/sys/types.h-data: Likewise.
87793 * conform/data/sys/wait.h-data: Likewise.
87794 * conform/data/time.h-data: Likewise.
87795 * conform/data/unistd.h-data: Likewise.
87796 * conform/data/utime.h-data: Likewise.
87797
87798 * io/sys/stat.h: fchmod was always in POSIX.
87799 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87800 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87801 * rt/aio.h: Define __need_timespec before including <time.h>.
87802 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87803 struct. Add forward declaration of pthread_attr_t and use it in
87804 sigevent.
87805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87807 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87808 always remove CLK_TCK definition.
87809
87810 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87811
87812 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87813
87814 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87815
87816 * conform/run-conformtest.sh: New file.
87817 * conform/Makefile: Run run-conformtest for tests.
87818 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87819 support.
87820
87821 * conform/data/uchar.h-data: New file.
87822 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87823 * conform/data/arpa/inet.h-data: Likewise.
87824 * conform/data/assert.h-data: Likewise.
87825 * conform/data/complex.h-data: Likewise.
87826 * conform/data/cpio.h-data: Likewise.
87827 * conform/data/ctype.h-data: Likewise.
87828 * conform/data/dirent.h-data: Likewise.
87829 * conform/data/dlfcn.h-data: Likewise.
87830 * conform/data/errno.h-data: Likewise.
87831 * conform/data/fcntl.h-data: Likewise.
87832 * conform/data/float.h-data: Likewise.
87833 * conform/data/fmtmsg.h-data: Likewise.
87834 * conform/data/fnmatch.h-data: Likewise.
87835 * conform/data/ftw.h-data: Likewise.
87836 * conform/data/glob.h-data: Likewise.
87837 * conform/data/grp.h-data: Likewise.
87838 * conform/data/iconv.h-data: Likewise.
87839 * conform/data/inttypes.h-data: Likewise.
87840 * conform/data/langinfo.h-data: Likewise.
87841 * conform/data/libgen.h-data: Likewise.
87842 * conform/data/limits.h-data: Likewise.
87843 * conform/data/locale.h-data: Likewise.
87844 * conform/data/math.h-data: Likewise.
87845 * conform/data/monetary.h-data: Likewise.
87846 * conform/data/mqueue.h-data: Likewise.
87847 * conform/data/ndbm.h-data: Likewise.
87848 * conform/data/net/if.h-data: Likewise.
87849 * conform/data/netdb.h-data: Likewise.
87850 * conform/data/netinet/in.h-data: Likewise.
87851 * conform/data/nl_types.h-data: Likewise.
87852 * conform/data/poll.h-data: Likewise.
87853 * conform/data/pthread.h-data: Likewise.
87854 * conform/data/pwd.h-data: Likewise.
87855 * conform/data/regex.h-data: Likewise.
87856 * conform/data/sched.h-data: Likewise.
87857 * conform/data/search.h-data: Likewise.
87858 * conform/data/semaphore.h-data: Likewise.
87859 * conform/data/setjmp.h-data: Likewise.
87860 * conform/data/signal.h-data: Likewise.
87861 * conform/data/spawn.h-data: Likewise.
87862 * conform/data/stdarg.h-data: Likewise.
87863 * conform/data/stdio.h-data: Likewise.
87864 * conform/data/stdlib.h-data: Likewise.
87865 * conform/data/string.h-data: Likewise.
87866 * conform/data/strings.h-data: Likewise.
87867 * conform/data/stropts.h-data: Likewise.
87868 * conform/data/sys/ipc.h-data: Likewise.
87869 * conform/data/sys/mman.h-data: Likewise.
87870 * conform/data/sys/msg.h-data: Likewise.
87871 * conform/data/sys/resource.h-data: Likewise.
87872 * conform/data/sys/select.h-data: Likewise.
87873 * conform/data/sys/sem.h-data: Likewise.
87874 * conform/data/sys/shm.h-data: Likewise.
87875 * conform/data/sys/socket.h-data: Likewise.
87876 * conform/data/sys/stat.h-data: Likewise.
87877 * conform/data/sys/statvfs.h-data: Likewise.
87878 * conform/data/sys/time.h-data: Likewise.
87879 * conform/data/sys/timeb.h-data: Likewise.
87880 * conform/data/sys/times.h-data: Likewise.
87881 * conform/data/sys/types.h-data: Likewise.
87882 * conform/data/sys/uio.h-data: Likewise.
87883 * conform/data/sys/un.h-data: Likewise.
87884 * conform/data/sys/utsname.h-data: Likewise.
87885 * conform/data/sys/wait.h-data: Likewise.
87886 * conform/data/syslog.h-data: Likewise.
87887 * conform/data/tar.h-data: Likewise.
87888 * conform/data/termios.h-data: Likewise.
87889 * conform/data/utime.h-data: Likewise.
87890 * conform/data/utmpx.h-data: Likewise.
87891 * conform/data/varargs.h-data: Likewise.
87892 * conform/data/wchar.h-data: Likewise.
87893 * conform/data/wctype.h-data: Likewise.
87894 * conform/data/wordexp.h-data: Likewise.
87895
87896 * include/stropts.h: New file.
87897 * include/uchar.h: New file.
87898 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87899 * include/assert.h: Likewise.
87900 * include/ctype.h: Likewise.
87901 * include/dirent.h: Likewise.
87902 * include/dlfcn.h: Likewise.
87903 * include/fcntl.h: Likewise.
87904 * include/fnmatch.h: Likewise.
87905 * include/glob.h: Likewise.
87906 * include/grp.h: Likewise.
87907 * include/libio.h: Likewise.
87908 * include/locale.h: Likewise.
87909 * include/math.h: Likewise.
87910 * include/net/if.h: Likewise.
87911 * include/netdb.h: Likewise.
87912 * include/netinet/in.h: Likewise.
87913 * include/pthread.h: Likewise.
87914 * include/pwd.h: Likewise.
87915 * include/regex.h: Likewise.
87916 * include/sched.h: Likewise.
87917 * include/search.h: Likewise.
87918 * include/setjmp.h: Likewise.
87919 * include/signal.h: Likewise.
87920 * include/stdio.h: Likewise.
87921 * include/stdlib.h: Likewise.
87922 * include/string.h: Likewise.
87923 * include/sys/cdefs.h: Likewise.
87924 * include/sys/mman.h: Likewise.
87925 * include/sys/msg.h: Likewise.
87926 * include/sys/resource.h: Likewise.
87927 * include/sys/select.h: Likewise.
87928 * include/sys/socket.h: Likewise.
87929 * include/sys/stat.h: Likewise.
87930 * include/sys/statvfs.h: Likewise.
87931 * include/sys/time.h: Likewise.
87932 * include/sys/times.h: Likewise.
87933 * include/sys/uio.h: Likewise.
87934 * include/sys/utsname.h: Likewise.
87935 * include/sys/wait.h: Likewise.
87936 * include/termios.h: Likewise.
87937 * include/time.h: Likewise.
87938 * include/ulimit.h: Likewise.
87939 * include/unistd.h: Likewise.
87940 * include/utime.h: Likewise.
87941 * include/wchar.h: Likewise.
87942 * include/wctype.h: Likewise.
87943 * include/wordexp.h: Likewise.
87944
87945 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87946
87947 * time/time.h: TIME_UTC must be a macro.
87948 Make timespec_get available for ISO C11 only as well.
87949
87950 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87951
87952 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87953 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87954
87955 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87956
87957 * configure.in: Use -o not -a in test for unsupported multi-arch.
87958
87959 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87960
87961 * manual/texinfo.tex: Update to version 2012-01-19.16.
87962
87963 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87964
87965 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87966
87967 2012-02-24 Roland McGrath <roland@hack.frob.com>
87968
87969 [BZ #13738]
87970 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87971 * manual/fdl-1.3.texi: New file.
87972 * manual/fdl-1.1.texi: File removed.
87973
87974 [BZ #13738]
87975 * manual/libc.texinfo (FDL_VERSION): New @set.
87976 Use it for mention of FDL in cover text.
87977 (Documentation License): Use it in @include file name.
87978
87979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87980 Roland McGrath <roland@hack.frob.com>
87981
87982 [BZ #5461]
87983 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87984 (not LONG_LONG_MAX and LONG_LONG_MIN.
87985 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87986 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87987 name.
87988 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87989
87990 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87991
87992 [BZ #2547]
87993 [BZ #11365]
87994 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87995 manipulate bits before adding and subtracting TWO23[sx].
87996 * math/libm-test.inc (nearbyint_test): Add more tests.
87997
87998 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87999
88000 [BZ #2548]
88001 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88002 bits before adding and subtracting TWO23[sx].
88003 * math/libm-test.inc (rint_test): Add more tests.
88004 (rint_test_tonearest): Likewise.
88005 (rint_test_towardzero): Likewise.
88006 (rint_test_downward): Likewise.
88007 (rint_test_upward: Likewise.
88008
88009 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88010
88011 [BZ #10110]
88012 * include/stdc-predef.h: New file. Extracted from features.h.
88013 * include/features.h: Include stdc-predef.h.
88014 * Makefile (headers): Add stdc-predef.h.
88015 * CONFORMANCE (Compiler limitations): Update.
88016
88017 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88018
88019 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88020
88021 2012-02-21 David S. Miller <davem@davemloft.net>
88022
88023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88025
88026 2012-02-20 David S. Miller <davem@davemloft.net>
88027
88028 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88029 using a normal save/restore sequence, rather than allocating a
88030 dummy stack frame just to store a frame pointer and restore.
88031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88032
88033 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88034
88035 * manual/install.texi: Fix stray word in line-wrapped comment.
88036
88037 2012-02-20 David S. Miller <davem@davemloft.net>
88038
88039 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88040 both binutils and gcc support GOTDATA.
88041
88042 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88043 "rd %pc" in the PIC register setup sequences.
88044
88045 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88046 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88048 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88054 (SYSCALL_ERROR_HANDLER): Likewise.
88055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88058 (SYSCALL_ERROR_HANDLER): Likewise.
88059
88060 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88061 (HAVE_GCC_GOTDATA): New.
88062 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88063 relocation support in both binutils and gcc.
88064 * sysdeps/sparc/elf/configure: Regenerate.
88065
88066 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88067 * sysdeps/sparc/sparc32/elf/configure: Delete.
88068 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88069 * sysdeps/sparc/sparc64/elf/configure: Delete.
88070 * sysdeps/sparc/elf/configure.in: New file.
88071 * sysdeps/sparc/elf/configure: Generate.
88072
88073 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88074 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88076 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88077 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88078
88079 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88080
88081 * manual/install.texi: Do not mention specific glibc version
88082 numbers.
88083 * manual/libc.texinfo (VERSION, UPDATED): Update.
88084 (@copying): Use @copyright{} and range of years.
88085
88086 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88087
88088 [BZ #13695]
88089 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88090 [crti.S not in sysdirs] (generated): Do not append.
88091 [crti.S not in sysdirs] (omit-deps): Likewise.
88092 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88093 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88094 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88095 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88096 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88097 Likewise.
88098 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88099 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88100 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88101 * csu/defs.awk: Remove file.
88102 * sysdeps/generic/initfini.c: Likewise.
88103 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88104 variable.
88105 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88106 Likewise.
88107
88108 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88109
88110 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88115 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88116 <bits/epoll.h>.
88117 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88118 (__EPOLL_PACKED): Define to empty if not defined by
88119 <bits/epoll.h>.
88120 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88122 bits/epoll.h.
88123
88124 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88125
88126 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88127 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88128 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88129 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88130 <bits/timerfd.h>.
88131 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88133 bits/timerfd.h.
88134
88135 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88136
88137 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88138 in C locale.
88139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88143
88144 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88145
88146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88148
88149 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88150
88151 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88152 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88153 defined.
88154 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88155 Likewise.
88156 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88157 entry for 2.16.
88158
88159 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88160
88161 * math/w_acos.c: Use non-signaling floating-point comparisons.
88162 * math/w_acosf.c: Likewise.
88163 * math/w_acosh.c: Likewise.
88164 * math/w_acoshf.c: Likewise.
88165 * math/w_acoshl.c: Likewise.
88166 * math/w_acosl.c: Likewise.
88167 * math/w_asin.c: Likewise.
88168 * math/w_asinf.c: Likewise.
88169 * math/w_asinl.c: Likewise.
88170 * math/w_atanh.c: Likewise.
88171 * math/w_atanhf.c: Likewise.
88172 * math/w_atanhl.c: Likewise.
88173 * math/w_exp2.c: Likewise.
88174 * math/w_exp2f.c: Likewise.
88175 * math/w_exp2l.c: Likewise.
88176 * math/w_j0.c: Likewise.
88177 * math/w_j0f.c: Likewise.
88178 * math/w_j0l.c: Likewise.
88179 * math/w_j1.c: Likewise.
88180 * math/w_j1f.c: Likewise.
88181 * math/w_j1l.c: Likewise.
88182 * math/w_jn.c: Likewise.
88183 * math/w_jnf.c: Likewise.
88184 * math/w_log.c: Likewise.
88185 * math/w_log10.c: Likewise.
88186 * math/w_log10f.c: Likewise.
88187 * math/w_log10l.c: Likewise.
88188 * math/w_log2.c: Likewise.
88189 * math/w_log2f.c: Likewise.
88190 * math/w_log2l.c: Likewise.
88191 * math/w_logf.c: Likewise.
88192 * math/w_logl.c: Likewise.
88193 * math/w_sqrt.c: Likewise.
88194 * math/w_sqrtf.c: Likewise.
88195 * math/w_sqrtl.c: Likewise.
88196 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88197 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88201
88202 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88203
88204 [BZ #9739]
88205 * manual/string.texi (strnlen): Use correct parameter name in
88206 equivalent expression.
88207
88208 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88209
88210 [BZ #11174]
88211 * manual/users.texi (seteuid): Consistently use neweuid for
88212 argument name.
88213
88214 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88215
88216 [BZ #13704]
88217 * manual/nss.texi (Services in the NSS configuration): Correct
88218 list of services in example configuration file.
88219
88220 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88221
88222 [BZ #11322]
88223 * manual/arith.texi: Remove statements about negative zero
88224 behaving identically to zero.
88225
88226 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88227
88228 [BZ #5993]
88229 * manual/install.texi: Do not document upgrading from libc5.
88230
88231 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88232
88233 [BZ #4596]
88234 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88235
88236 2012-02-18 David S. Miller <davem@davemloft.net>
88237
88238 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88239 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88240 %o7 across the call.
88241 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88242 instead.
88243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88244 SETUP_PIC_REG_LEAF.
88245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88246 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88247 * sysdeps/sparc/crtn.S: Likewise.
88248
88249 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88250
88251 * aout/Makefile: Remove.
88252
88253 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88254
88255 [BZ #13058]
88256 * manual/examples/argp-ex1.c (main): Format definition in GNU
88257 style.
88258 * manual/examples/argp-ex2.c (main): Likewise.
88259 * manual/examples/argp-ex3.c (main): Likewise.
88260 * manual/examples/argp-ex4.c (main): Likewise.
88261 * manual/examples/longopt.c (main): Use new-style prototype
88262 definition.
88263 * manual/examples/strncat.c (main): Specify return type and use
88264 (void) for arguments.
88265 * manual/examples/subopt.c (main): Use char **argv argument.
88266
88267 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88268
88269 [BZ #5077]
88270 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88271 rounding modes.
88272
88273 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88274
88275 [BZ #6907]
88276 * manual/string.texi (strchr): Change when strchrnul is
88277 recommended.
88278
88279 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88280
88281 [BZ #174]
88282 * manual/locale.texi (setlocale): Document LOCPATH.
88283
88284 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88285
88286 [BZ #10210]
88287 * manual/process.texi (execle): Move @dots{} before last argument.
88288
88289 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88290
88291 [BZ #12047]
88292 * manual/charset.texi (Generic Charset Conversion): Fix typo
88293 (LC_TYPE -> LC_CTYPE).
88294
88295 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88296
88297 [BZ #5805]
88298 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88299 (scalbnf): Likewise.
88300 (scalbnl): Likewise.
88301 (scalbln): Likewise.
88302 (scalblnf): Likewise.
88303 (scalblnl): Likewise.
88304 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88305 (vwarnx): Likewise.
88306 (verr): Likewise.
88307 (verrx): Likewise.
88308 * manual/filesys.texi (telldir): Use braces around return type.
88309 * manual/llio.texi (mmap): Add space after comma.
88310 (mmap64): Likewise.
88311 * manual/math.texi (jn): Use @var{} on parameter names.
88312 (jnf): Likewise.
88313 (jnl): Likewise.
88314 (yn): Likewise.
88315 (ynf): Likewise.
88316 (ynl): Likewise.
88317 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88318 line.
88319 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88320 "...".
88321 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88322 (sched_get_priority_max): Likewise.
88323 * manual/signal.texi (sigvec): Add space after comma.
88324 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88325 names.
88326 (if_indextoname): Likewise.
88327 (if_freenameindex): Likewise.
88328 (sendto): Use ',' instead of '.' in prototype.
88329 * manual/startup.texi (syscall): Use @dots{} instead of literal
88330 "...".
88331 * manual/stdio.texi (__fpending): Separate initial words of
88332 paragraph from @deftypefun line.
88333 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88334 "...".
88335 (vsyslog): Use @var{} on parameter names.
88336 * manual/terminal.texi (stty): Use @var{} on parameter names.
88337 * manual/users.texi (getutmp): Use @var{} on parameter names.
88338 (getutmpx): Likewise.
88339
88340 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88341
88342 [BZ #6884]
88343 * manual/stdio.texi (fopen): Fix typos in description of
88344 ",ccs=STRING".
88345
88346 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88347
88348 [BZ #4026]
88349 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88350 get clock_id definition.
88351
88352 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88353
88354 [BZ #4822]
88355 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88356 (madvise): Cast every argument to void on its own.
88357
88358 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88359
88360 [BZ #9902]
88361 * manual/startup.texi (Exit Status): Fix typo.
88362
88363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88364
88365 [BZ #10140]
88366 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88367 * manual/examples/argp-ex2.c: Likewise.
88368 * manual/examples/argp-ex3.c: Likewise.
88369
88370 2012-02-16 Richard Henderson <rth@redhat.com>
88371
88372 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88373 * sysdeps/s390/s390-32/initfini.c: Remove.
88374 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88375 * sysdeps/s390/s390-64/initfini.c: Remove.
88376
88377 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88378
88379 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88380 compiler output for sysdeps/generic/initfini.c.
88381 * sysdeps/sh/elf/initfini.c: Remove file.
88382
88383 2012-02-16 David S. Miller <davem@davemloft.net>
88384
88385 [BZ #11494]
88386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88387
88388 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88389 * sysdeps/sparc/crti.S: New file.
88390 * sysdeps/sparc/crtn.S: New file.
88391 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88392 * sysdeps/sparc/sparc64/Makefile: Likewise.
88393
88394 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88395
88396 [BZ #3335]
88397 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88398
88399 2012-02-15 Roland McGrath <roland@hack.frob.com>
88400
88401 [BZ #4822]
88402 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88403
88404 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88405 (write, read, close): Likewise.
88406 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88407
88408 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88409
88410 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88411 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88412 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88413 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88414 <bits/signalfd.h>.
88415 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88417 bits/signalfd.h.
88418
88419 2012-02-14 Marek Polacek <polacek@redhat.com>
88420
88421 * sysdeps/x86_64/crti.S: New file.
88422 * sysdeps/x86_64/crtn.S: New file.
88423 * sysdeps/x86_64/elf/initfini.c: Remove file.
88424
88425 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88426
88427 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88428 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88429 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88430 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88431 <bits/inotify.h>.
88432 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88434 bits/inotify.h.
88435
88436 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88437
88438 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88439 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88440 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88441 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88442 <bits/eventfd.h>.
88443 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88445 bits/eventfd.h.
88446
88447 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88448
88449 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88450 __feraiseexcept instead of feraiseexcept.
88451
88452 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88453 nanosleep invocations.
88454 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88455 strings, and add error checking for a nanosleep invocations.
88456
88457 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88458
88459 Replace FSF snail mail address with URLs, as per GNU coding standards.
88460 Most of the snail mail addresses were wrong anyway, and omitting
88461 them makes the source code easier to maintain. Almost all of the
88462 changes are to license notices and to locale LC_IDENTIFICATION
88463 addresses, except for this one:
88464 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88465 not its snail mail address.
88466
88467 2012-02-09 Richard Henderson <rth@twiddle.net>
88468
88469 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88470 of kernel-features.h.
88471
88472 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88473
88474 2012-02-08 Marek Polacek <polacek@redhat.com>
88475
88476 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88477 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88478 * sysdeps/gnu/_G_config.h: Likewise.
88479 * sysdeps/generic/_G_config.h: Likewise.
88480
88481 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88482
88483 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88484 tests.
88485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88486
88487 * sysdeps/powerpc/powerpc32/crti.S: New file.
88488 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88489 * sysdeps/powerpc/powerpc64/crti.S: New file.
88490 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88491
88492 * Makeconfig (have-initfini): Don't set.
88493 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88494 * configure.in (nopic_initfini): Don't substitute.
88495 * config.h.in (HAVE_INITFINI): Don't #undef.
88496 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88497 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88498
88499 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88500
88501 Support crti.S and crtn.S provided directly by architectures.
88502 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88503 [crti.S in sysdirs] (omit-deps): Likewise.
88504 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88505 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88506 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88507 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88508 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88509 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88510 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88511 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88512 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88513 compiler output for sysdeps/generic/initfini.c.
88514 * sysdeps/i386/elf/Makefile: Remove file.
88515 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88516
88517 2012-02-07 Marek Polacek <polacek@redhat.com>
88518
88519 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88520 * sysdeps/gnu/_G_config.h: Likewise.
88521 * sysdeps/mach/hurd/_G_config.h: Likewise.
88522
88523 2012-02-07 Marek Polacek <polacek@redhat.com>
88524
88525 * math/Makefile (tests): Add tst-CMPLX2.
88526 * math/tst-CMPLX2.c: New file.
88527
88528 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88529
88530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88531
88532 * math/libm-test.inc (jn_test): Add missing L suffix.
88533
88534 2012-02-06 Marek Polacek <polacek@redhat.com>
88535
88536 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88537 * sysdeps/i386/fpu/e_powf.S: Likewise.
88538 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88541 * sysdeps/i386/fpu/e_pow.S: Likewise.
88542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88546 * sysdeps/i386/fpu/e_log2.S: Likewise.
88547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88549 * sysdeps/i386/fpu/e_powl.S: Likewise.
88550 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88552 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88553 * sysdeps/i386/fpu/e_logl.S: Likewise.
88554 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88555 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88556 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88557 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88560 * sysdeps/i386/fpu/e_log.S: Likewise.
88561 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88563 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88564 * sysdeps/i386/fpu/e_logf.S: Likewise.
88565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88567 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88568 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88569 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88570 * sysdeps/i386/fpu/e_log10.S: Likewise.
88571 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88572 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88573 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88574 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88576 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88577 * sysdeps/i386/asm-syntax.h: Likewise.
88578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88581 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88582 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88584 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88585 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88587 * sysdeps/powerpc/sysdep.h: Likewise.
88588 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88590
88591 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88592
88593 [BZ #411]
88594 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88595
88596 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88597
88598 * sysdeps/i386/sysdep.h: Include <features.h>.
88599 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88600 version.
88601
88602 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88603
88604 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88605 Define.
88606 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88607 LOAD_PIC_REG_STR.
88608
88609 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88610
88611 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88612 (SETUP_PIC_REG): Use GET_PC_THUNK.
88613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88614 macro.
88615
88616 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88617
88618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88619 for non-PIC compilation.
88620 (SETUP_PIC_REG): Add .p2align directive.
88621 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88622 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88623 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88624 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88625 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88626 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88638 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88639 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88640 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88649 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88650 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88651 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88652 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88653 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88654 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88655 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88662
88663 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88664
88665 * math/tst-CMPLX.c: Include <stdio.h>.
88666
88667 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88668
88669 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88670 float.
88671 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88672 * sysdeps/sparc/bits/mathdef.h: Likewise.
88673
88674 2012-01-31 Marek Polacek <polacek@redhat.com>
88675
88676 * libio/libio.h: Don't define _PARAMS.
88677 * locale/programs/config.h: Don't define PARAMS.
88678 * stdlib/strtol_l.c: Likewise.
88679 (__strtol_l): Remove PARAMS from the prototype.
88680
88681 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88682
88683 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88684 names. Just use the correct names. Remove unnecessary wrapper
88685 functions.
88686 * malloc/arena.c: Likewise.
88687 * malloc/hooks.c: Likewise.
88688
88689 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88690 ARENA_TEST says not to. Simplify test for creation of a new arena.
88691 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88692
88693 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88694
88695 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88696 into tail calls.
88697 (update_get_addr): New function.
88698 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88699 GET_ADDR_MODULE parameter.
88700
88701 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88702
88703 * crypt/cert.c: Remove __STDC__ conditionals.
88704 * crypt/crypt-entry.c: Likewise.
88705 * crypt/crypt_util.c: Likewise.
88706 * libio/filedoalloc.c: Likewise.
88707 * libio/fileops.c: Likewise.
88708 * libio/genops.c: Likewise.
88709 * libio/iofclose.c: Likewise.
88710 * libio/iofdopen.c: Likewise.
88711 * libio/iofopen.c: Likewise.
88712 * libio/iofopen64.c: Likewise.
88713 * libio/iogetdelim.c: Likewise.
88714 * libio/iopopen.c: Likewise.
88715 * libio/obprintf.c: Likewise.
88716 * libio/oldfileops.c: Likewise.
88717 * libio/oldiofclose.c: Likewise.
88718 * libio/oldiofdopen.c: Likewise.
88719 * libio/oldiofopen.c: Likewise.
88720 * libio/oldiopopen.c: Likewise.
88721 * libio/wfiledoalloc.c: Likewise.
88722 * libio/wgenops.c: Likewise.
88723 * locale/programs/xmalloc.c: Likewise.
88724 * misc/syslog.c: Likewise.
88725 * stdio-common/xbug.c: Likewise.
88726 * string/memchr.c: Likewise.
88727 * string/memcmp.c: Likewise.
88728 * string/memrchr.c: Likewise.
88729 * string/rawmemchr.c: Likewise.
88730 * sysdeps/posix/getcwd.c: Likewise.
88731 * time/strftime_l.c: Likewise.
88732
88733 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88734
88735 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88736 * config.make.in (config-cflags-sse2avx): Define.
88737 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88738 Fix typo.
88739
88740 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88741
88742 * scripts/config.guess: Update from upstream config git repository.
88743 * scripts/config.sub: Likewise.
88744
88745 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88746
88747 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88748 (EM_NUM): Update.
88749 (R_TILEPRO_*, R_TILEGX_*): New macros.
88750
88751 * scripts/firstversions.awk: Fix bug in version range handling.
88752
88753 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88754
88755 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88756
88757 * include/sys/epoll.h: New file.
88758 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88759 libc_hidden_def.
88760
88761 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88762
88763 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88764 Avoid unnecessary __WORDSIZE == 64 test.
88765 (fmaxf): Use VEX format if possible.
88766 (fmax): Likewise.
88767 (fminf): Likewise.
88768 (fmin): Likewise.
88769
88770 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88771 * math/math_private.h: Remove libc_fegetround* and
88772 libc_fesetround*.
88773 * sysdeps/i386/configure.in: Check for -msse2avx.
88774 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88775 also if SSE2AVX is defined.
88776 Remove libc_fegetround* and libc_fesetround*.
88777 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88778 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88780 of HAS_YMM_USABLE.
88781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88786
88787 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88788
88789 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88790
88791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88792 size is not set.
88793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88794
88795 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88796
88797 [BZ #13618]
88798 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88799 relocation.
88800 * Makeconfig (libm): Define.
88801 * elf/Makefile: Add rules to build and run tst-relsort1.
88802 * elf/tst-relsort1.c: New file.
88803 * elf/tst-relsort1mod1.c: New file.
88804 * elf/tst-relsort1mod2.c: New file.
88805
88806 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88807
88808 * math/s_ldexp.c: Remove __STDC__ conditionals.
88809 * math/s_ldexpf.c: Likewise.
88810 * math/s_ldexpl.c: Likewise.
88811 * math/s_nextafter.c: Likewise.
88812 * math/s_nexttowardf.c: Likewise.
88813 * math/s_significand.c: Likewise.
88814 * math/s_significandf.c: Likewise.
88815 * math/s_significandl.c: Likewise.
88816 * math/w_jnl.c: Likewise.
88817 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88818 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88819 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88820 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88821 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88823 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88824 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88826 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88827 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88833 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88836 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88837 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88845 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88851 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88854 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88855 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88856 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88857 * sysdeps/ieee754/k_standard.c: Likewise.
88858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88860 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88868 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88872 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88874 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88877 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88880 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88881 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88883 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88888 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88889 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88890 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88891 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88894 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88898 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88900 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88901 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88906 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88908 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88909 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88910 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88914 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88933 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88937 * sysdeps/ieee754/s_matherr.c: Likewise.
88938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88942
88943 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88944
88945 * crypt/md5.h: Remove __STDC__ conditionals.
88946 * libio/libioP.h: Likewise.
88947 * locale/programs/config.h: Likewise.
88948 * sysdeps/generic/sysdep.h: Likewise.
88949 * sysdeps/i386/asm-syntax.h: Likewise.
88950 * sysdeps/s390/asm-syntax.h: Likewise.
88951 * sysdeps/unix/sysdep.h: Likewise.
88952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88954
88955 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88956
88957 * libio/libio.h: Remove __STDC__ conditionals.
88958 * malloc/obstack.h: Likewise.
88959 * math/complex.h: Likewise.
88960 * math/math.h: Likewise.
88961 * sysdeps/generic/_G_config.h: Likewise.
88962 * sysdeps/gnu/_G_config.h: Likewise.
88963 * sysdeps/mach/hurd/_G_config.h: Likewise.
88964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88965 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88966 * sysdeps/sparc/bits/mathdef.h: Likewise.
88967
88968 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88969
88970 [BZ #13583]
88971 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88972 Clean up HAS_* macros.
88973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88974 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88975 possible.
88976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88977 HAS_AVX.
88978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88983
88984 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88985
88986 * elf/tst-unique3.cc (gets): Remove declaration.
88987 * elf/tst-unique3lib.cc (gets): Likewise.
88988 * elf/tst-unique3lib2.cc (gets): Likewise.
88989 * elf/tst-unique4.cc (gets): Likewise.
88990
88991 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88992
88993 * include/stdio.h: Add C++ protection. Add gets declarations and
88994 definitions.
88995 * debug/tst-chk1.c: Don't declare gets here.
88996 * stdio-common/tst-gets.c: Likewise.
88997
88998 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88999
89000 * posix/glob: Remove directory.
89001
89002 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89003
89004 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89005
89006 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89007
89008 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89009 of the non-standard EPFNOSUPPORT.
89010
89011 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89012
89013 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89014 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89015 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89016
89017 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89018
89019 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89020
89021 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89022
89023 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89024 transient errors.
89025 * nscd/grpcache.c (cache_addgr): Likewise.
89026 * nscd/hstcache.c (cache_addhst): Likewise.
89027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89028 * nscd/pwdcache.c (cache_addpw): Likewise.
89029 * nscd/servicescache.c (cache_addserv): Likewise.
89030
89031 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89032
89033 * malloc/malloc.c: Various cleanups.
89034 * malloc/hooks.c: Likewise.
89035
89036 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89037 * stdlib/bug-fmtmsg1.c: New file.
89038
89039 * stdlib/fmtmsg.c (init): Add missing unlock.
89040 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89041
89042 2012-01-12 Marek Polacek <polacek@redhat.com>
89043
89044 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89045 and _GNU_SOURCE.
89046
89047 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89048
89049 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89051 macro to ensure uniqueness of label name.
89052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89054
89055 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89056
89057 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89058
89059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89060 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89063
89064 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89065
89066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89067
89068 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89069 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89071
89072 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89073
89074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89078
89079 * math/bits/math-finite.h: Add ldexp support.
89080
89081 2012-01-10 Marek Polacek <polacek@redhat.com>
89082
89083 * locale/programs/localedef.h (show_archive_content): Add noreturn
89084 attribute.
89085
89086 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89087
89088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89089
89090 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89091
89092 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89093
89094 * io/Makefile (headers): Add bits/poll2.h.
89095
89096 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89097
89098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89099 typo #include statement.
89100
89101 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89102
89103 * include/sys/cdefs.h: Define __attribute_alloc_size.
89104 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89105 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89106 * elf/pldd.c: Likewise.
89107 * iconv/iconv_charmap.c: Likewise.
89108 * iconv/iconvconfig.c: Likewise.
89109 * iconv/strtab.c: Likewise.
89110 * locale/programs/locale.c: Likewise.
89111 * locale/programs/localedef.h: Likewise.
89112 * locale/programs/simple-hash.c: Likewise.
89113 * nscd/nscd.h: Likewise.
89114 * nss/makedb.c: Likewise.
89115 * sysdeps/generic/ldconfig.h: Likewise.
89116 * locale/programs/localedef.c: Remove xmalloc prototype.
89117 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89118
89119 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89120
89121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89122 appropriate.
89123
89124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89125
89126 * math/Makefile (tests): Add tst-CMPLX.
89127 * math/tst-CMPLX.c: New file.
89128
89129 * math/complex.h (CMPLXL): Fix typo.
89130
89131 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89132 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89133 GLIBC_2.16.
89134 * debug/tst-chk1.c: Add poll and ppoll tests.
89135 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89136 * include/sys/poll.h: Add hidden proto for ppoll.
89137 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89138 * sysdeps/mach/hurd/ppoll.c: Likewise.
89139 * io/ppoll.c: Likewise.
89140 * debug/poll_chk.c: New file.
89141 * debug/ppoll_chk.c: New file.
89142 * include/bits/poll2.h: New file.
89143 * io/bits/poll2.h: New file.
89144
89145 [BZ #1350]
89146 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89147
89148 * configure.in: static is always set to yes. Remove.
89149 * config.make.in: Don't set build-static.
89150 * Makeconfig: Remove use of build-static.
89151 * dlfcn/Makefile: Likewise.
89152 * elf/Makefile: Likewise.
89153 * math/Makefile: Likewise.
89154 * misc/Makefile: Likewise.
89155 * nptl/Makefile: Likewise.
89156 * sysdeps/mach/hurd/Makefile: Likewise.
89157
89158 * configure.in: PWD_P is not used anymore.
89159 * config.make.in: Remove PWD_P entry.
89160
89161 * configure.in: Remove last remnants of RANLIB.
89162 No need to check for signed size_t anymore.
89163 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89164 and IA-64.
89165 Remove __builtin_expect test because we require at least gcc 3.4.
89166 * aclocal.m4: Likewise.
89167
89168 * wcsmbs/mbrtoc16.c: Implement using towc function.
89169 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89170 * wcsmbs/wcsmbsload.c: Likewise.
89171 * iconv/gconv_simple.c: Likewise.
89172 * iconv/gconv_int.h: Likewise.
89173 * iconv/gconv_builtin.h: Likewise.
89174 * iconv/iconv_prog.c: Remove CHAR16 handling.
89175
89176 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89177
89178 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89179
89180 * configure.in: Remove --with-elf and --enable-bounded options.
89181 Dont set base_machine for ia64. More non-ELF conditions removed.
89182 Remove testing and setting of leading underscore information.
89183 * config.make.in (build-bounded): Set to no.
89184 * config.h.in: Remove NO_UNDERSCORES entry.
89185 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89186 them.
89187 * csu/start.c: Remove !NO_UNDERSCORE code.
89188 * locale/localeinfo.h: Likewise.
89189 * sysdeps/generic/machine-gmon.h: Likewise.
89190 * sysdeps/generic/sysdep.h: Likewise.
89191 * sysdeps/i386/sysdep.h: Likewise.
89192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89193 * sysdeps/mach/sysdep.h: Likewise.
89194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89196 * sysdeps/sh/sysdep.h: Likewise.
89197 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89198 * sysdeps/unix/i386/sysdep.S: Likewise.
89199 * sysdeps/unix/sparc/start.c: Likewise.
89200 * sysdeps/unix/sparc/sysdep.S: Likewise.
89201 * sysdeps/unix/sparc/sysdep.h: Likewise.
89202 * sysdeps/unix/start.c: Likewise.
89203 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89204 * sysdeps/x86_64/sysdep.h: Likewise.
89205
89206 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89207
89208 [BZ #13553]
89209 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89210 for non-gcc.
89211 * argp/argp-fmtstream.h: Use const instead __const.
89212 * argp/argp.h: Likewise.
89213 * assert/assert.h: Likewise.
89214 * bits/fenv.h: Likewise.
89215 * bits/sched.h: Likewise.
89216 * bits/sigset.h: Likewise.
89217 * bits/sigthread.h: Likewise.
89218 * catgets/nl_types.h: Likewise.
89219 * conform/data/pthread.h-data: Likewise.
89220 * crypt/crypt-private.h: Likewise.
89221 * crypt/crypt.h: Likewise.
89222 * crypt/crypt_util.c: Likewise.
89223 * ctype/ctype.h: Likewise.
89224 * debug/execinfo.h: Likewise.
89225 * debug/mbsnrtowcs_chk.c: Likewise.
89226 * debug/mbsrtowcs_chk.c: Likewise.
89227 * debug/wcsnrtombs_chk.c: Likewise.
89228 * debug/wcsrtombs_chk.c: Likewise.
89229 * debug/wcstombs_chk.c: Likewise.
89230 * dirent/dirent.h: Likewise.
89231 * dlfcn/dlfcn.h: Likewise.
89232 * elf/neededtest4.c: Likewise.
89233 * grp/grp.h: Likewise.
89234 * gshadow/gshadow.h: Likewise.
89235 * iconv/gconv.h: Likewise.
89236 * iconv/gconv_int.h: Likewise.
89237 * iconv/gconv_simple.c: Likewise.
89238 * iconv/iconv.h: Likewise.
89239 * iconv/loop.c: Likewise.
89240 * iconv/skeleton.c: Likewise.
89241 * include/aio.h: Likewise.
89242 * include/aliases.h: Likewise.
89243 * include/argz.h: Likewise.
89244 * include/arpa/inet.h: Likewise.
89245 * include/assert.h: Likewise.
89246 * include/dirent.h: Likewise.
89247 * include/dlfcn.h: Likewise.
89248 * include/execinfo.h: Likewise.
89249 * include/fcntl.h: Likewise.
89250 * include/fenv.h: Likewise.
89251 * include/glob.h: Likewise.
89252 * include/grp.h: Likewise.
89253 * include/libintl.h: Likewise.
89254 * include/mntent.h: Likewise.
89255 * include/netdb.h: Likewise.
89256 * include/pwd.h: Likewise.
89257 * include/rpc/netdb.h: Likewise.
89258 * include/sched.h: Likewise.
89259 * include/search.h: Likewise.
89260 * include/shadow.h: Likewise.
89261 * include/signal.h: Likewise.
89262 * include/stdio.h: Likewise.
89263 * include/stdlib.h: Likewise.
89264 * include/string.h: Likewise.
89265 * include/sys/socket.h: Likewise.
89266 * include/sys/stat.h: Likewise.
89267 * include/sys/statfs.h: Likewise.
89268 * include/sys/statvfs.h: Likewise.
89269 * include/sys/syslog.h: Likewise.
89270 * include/sys/time.h: Likewise.
89271 * include/sys/uio.h: Likewise.
89272 * include/time.h: Likewise.
89273 * include/unistd.h: Likewise.
89274 * include/utmp.h: Likewise.
89275 * include/wchar.h: Likewise.
89276 * include/wctype.h: Likewise.
89277 * inet/aliases.h: Likewise.
89278 * inet/arpa/inet.h: Likewise.
89279 * inet/netinet/ether.h: Likewise.
89280 * inet/netinet/in.h: Likewise.
89281 * intl/libintl.h: Likewise.
89282 * io/bits/fcntl2.h: Likewise.
89283 * io/fcntl.h: Likewise.
89284 * io/ftw.h: Likewise.
89285 * io/sys/poll.h: Likewise.
89286 * io/sys/stat.h: Likewise.
89287 * io/sys/statfs.h: Likewise.
89288 * io/sys/statvfs.h: Likewise.
89289 * io/utime.h: Likewise.
89290 * libio/bits/stdio.h: Likewise.
89291 * libio/bits/stdio2.h: Likewise.
89292 * libio/libio.h: Likewise.
89293 * libio/libioP.h: Likewise.
89294 * libio/stdio.h: Likewise.
89295 * locale/lc-ctype.c: Likewise.
89296 * locale/locale.h: Likewise.
89297 * login/utmp.h: Likewise.
89298 * malloc/arena.c: Likewise.
89299 * malloc/malloc.c: Likewise.
89300 * malloc/malloc.h: Likewise.
89301 * malloc/mcheck.c: Likewise.
89302 * malloc/mtrace.c: Likewise.
89303 * math/bits/mathcalls.h: Likewise.
89304 * math/fenv.h: Likewise.
89305 * math/math_private.h: Likewise.
89306 * misc/bits/error.h: Likewise.
89307 * misc/bits/syslog.h: Likewise.
89308 * misc/err.h: Likewise.
89309 * misc/error.h: Likewise.
89310 * misc/fstab.h: Likewise.
89311 * misc/mntent.h: Likewise.
89312 * misc/regexp.h: Likewise.
89313 * misc/search.h: Likewise.
89314 * misc/sgtty.h: Likewise.
89315 * misc/sys/mman.h: Likewise.
89316 * misc/sys/syslog.h: Likewise.
89317 * misc/sys/uio.h: Likewise.
89318 * misc/sys/xattr.h: Likewise.
89319 * misc/ttyent.h: Likewise.
89320 * nis/rpcsvc/ypclnt.h: Likewise.
89321 * nss/nss.h: Likewise.
89322 * posix/bits/unistd.h: Likewise.
89323 * posix/fnmatch.h: Likewise.
89324 * posix/glob.h: Likewise.
89325 * posix/sched.h: Likewise.
89326 * posix/spawn.h: Likewise.
89327 * posix/sys/wait.h: Likewise.
89328 * posix/unistd.h: Likewise.
89329 * posix/wordexp.h: Likewise.
89330 * pwd/pwd.h: Likewise.
89331 * resolv/netdb.h: Likewise.
89332 * resource/sys/resource.h: Likewise.
89333 * rt/aio.h: Likewise.
89334 * rt/bits/mqueue2.h: Likewise.
89335 * rt/mqueue.h: Likewise.
89336 * shadow/shadow.h: Likewise.
89337 * signal/signal.h: Likewise.
89338 * socket/send.c: Likewise.
89339 * socket/sendto.c: Likewise.
89340 * socket/sys/socket.h: Likewise.
89341 * stdio-common/printf.h: Likewise.
89342 * stdlib/bits/stdlib.h: Likewise.
89343 * stdlib/fmtmsg.h: Likewise.
89344 * stdlib/monetary.h: Likewise.
89345 * stdlib/stdlib.h: Likewise.
89346 * stdlib/ucontext.h: Likewise.
89347 * streams/stropts.h: Likewise.
89348 * string/argz.h: Likewise.
89349 * string/bits/string2.h: Likewise.
89350 * string/string.h: Likewise.
89351 * string/strings.h: Likewise.
89352 * sunrpc/rpc/auth.h: Likewise.
89353 * sunrpc/rpc/auth_des.h: Likewise.
89354 * sunrpc/rpc/clnt.h: Likewise.
89355 * sunrpc/rpc/netdb.h: Likewise.
89356 * sunrpc/rpc/pmap_clnt.h: Likewise.
89357 * sunrpc/rpc/xdr.h: Likewise.
89358 * sysdeps/generic/inttypes.h: Likewise.
89359 * sysdeps/generic/net/if.h: Likewise.
89360 * sysdeps/generic/sys/swap.h: Likewise.
89361 * sysdeps/gnu/net/if.h: Likewise.
89362 * sysdeps/gnu/utmpx.h: Likewise.
89363 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89364 * sysdeps/i386/i486/bits/string.h: Likewise.
89365 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89366 * sysdeps/s390/bits/string.h: Likewise.
89367 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89368 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89369 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89370 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89371 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89372 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89373 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89374 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89375 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89376 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89377 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89378 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89379 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89380 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89381 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89389 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89390 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89391 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89392 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89393 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89395 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89397 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89398 * sysvipc/sys/ipc.h: Likewise.
89399 * sysvipc/sys/msg.h: Likewise.
89400 * sysvipc/sys/sem.h: Likewise.
89401 * sysvipc/sys/shm.h: Likewise.
89402 * termios/termios.h: Likewise.
89403 * time/sys/time.h: Likewise.
89404 * time/time.h: Likewise.
89405 * wcsmbs/bits/wchar2.h: Likewise.
89406 * wcsmbs/uchar.h: Likewise.
89407 * wcsmbs/wchar.h: Likewise.
89408 * wctype/wctype.h: Likewise.
89409
89410 [BZ #13551]
89411 * Makeconfig: Remove all but ELF support including AIX support.
89412 * Makerules: Likewise.
89413 * config.h.in: Likewise.
89414 * config.make.in: Likewise.
89415 * configure: Likewise.
89416 * configure.in: Likewise.
89417 * csu/Makefile: Likewise.
89418 * csu/version.c: Likewise.
89419 * debug/Makefile: Likewise.
89420 * dlfcn/Makefile: Likewise.
89421 * elf/Makefile: Likewise.
89422 * extra-lib.mk: Likewise.
89423 * iconv/Makefile: Likewise.
89424 * include/libc-symbols.h: Likewise.
89425 * include/shlib-compat.h: Likewise.
89426 * resolv/Makefile: Likewise.
89427 * resolv/res_libc.c: Likewise.
89428 * rt/Makefile: Likewise.
89429 * sysdeps/i386/asm-syntax.h: Likewise.
89430 * sysdeps/i386/sysdep.h: Likewise.
89431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89432 * sysdeps/mach/sysdep.h: Likewise.
89433 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89434 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89435 * sysdeps/s390/asm-syntax.h: Likewise.
89436 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89437 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89438 * sysdeps/sh/sysdep.h: Likewise.
89439 * sysdeps/unix/sparc/sysdep.h: Likewise.
89440 * sysdeps/wordsize-32/divdi3.c: Likewise.
89441 * sysdeps/x86_64/sysdep.h: Likewise.
89442
89443 * argp/Versions: Remove _argp_unlock_xxx.
89444
89445 [BZ #13559]
89446 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89447 * abilist/libBrokenLocale.abilist: Likewise.
89448 * abilist/libanl.abilist: Likewise.
89449 * abilist/libc.abilist: Likewise.
89450 * abilist/libcrypt.abilist: Likewise.
89451 * abilist/libdl.abilist: Likewise.
89452 * abilist/libm.abilist: Likewise.
89453 * abilist/libnsl.abilist: Likewise.
89454 * abilist/libpthread.abilist: Likewise.
89455 * abilist/libresolv.abilist: Likewise.
89456 * abilist/librt.abilist: Likewise.
89457 * abilist/libthread_db.abilist: Likewise.
89458 * abilist/libutil.abilist: Likewise.
89459 * abilist/libnss_db.abilist: New file.
89460
89461 * scripts/abilist.awk: Add support for indirect functions.
89462
89463 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89464
89465 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89466
89467 * shlib-versions: Remove entries for ports architectures.
89468
89469 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89470 files in ports.
89471 * elf/stackguard-macros.h: Remove support for IA-64.
89472 * elf/tst-auditmod1.c: Likewise.
89473 * sysdeps/generic/ldsodefs.h: Likewise.
89474
89475 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89476 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89477 configure files.
89478
89479 [BZ #13552]
89480 * configure.in: Remove --enable-omitfp support.
89481 * FAQ.in: Adjust.
89482 * config.make.in: Likewise.
89483 * Makeconfig: Likewise.
89484 * manual/install.texi: Likewise.
89485
89486 In case anyone cares, the IA-64 architecture could move to ports.
89487 * sysdeps/ia64/*: Removed.
89488 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89489 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89490
89491 [BZ #13555]
89492 * configure.in: Remove entries for unsupported architectures.
89493
89494 [BZ #13533]
89495 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89496 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89497 routines.
89498 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89499 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89500 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89501 fall back to using wcrtomb.
89502 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89503 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89504 renaming.
89505 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89506 * wcsmbs/tst-c16c32-1.c: New file.
89507
89508 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89509 local variable.
89510
89511 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89512
89513 * elf/tst-unique3.cc: Add explicit declaration of gets.
89514 * elf/tst-unique3lib.cc: Likewise.
89515 * elf/tst-unique3lib2.cc: Likewise.
89516 * elf/tst-unique4.cc: Likewise.
89517
89518 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89519
89520 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89521
89522 [BZ #13566]
89523 * assert/assert.h (static_assert): Don't define for C++.
89524 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89525 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89526
89527 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89528
89529 * iconv/loop.c (single loop): Fix assertion in storing of
89530 remaining bytes.
89531
89532 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89533
89534 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89535
89536 * posix/getconf.c: Update copyright year.
89537 * nss/getent.c: Likewise.
89538 * nss/makedb.c: Likewise.
89539 * iconv/iconvconfig.c: Likewise.
89540 * iconv/iconv_prog.c: Likewise.
89541 * elf/ldconfig.c: Likewise.
89542 * elf/pldd.c: Likewise.
89543 * elf/sotruss.ksh: Likewise.
89544 * catgets/gencat.c: Likewise.
89545 * csu/version.c: Likewise.
89546 * elf/ldd.bash.in: Likewise.
89547 * elf/sprof.c (print_version): Likewise.
89548 * locale/programs/locale.c: Likewise.
89549 * locale/programs/localedef.c: Likewise.
89550 * login/programs/pt_chown.c: Likewise.
89551 * nscd/nscd.c (print_version): Likewise.
89552 * debug/xtrace.sh: Likewise.
89553 * malloc/memusage.sh: Likewise.
89554 * malloc/mtrace.pl: Likewise.
89555 * debug/catchsegv.sh: Likewise.
89556
89557 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89558
89559 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89560 pure attribute.
89561
89562 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89563
89564 [BZ #13533]
89565 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89566 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89567 transformations.
89568 * iconv/gconv_int.h: Likewise.
89569 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89570 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89571 from libc for GLIBC_2.16.
89572 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89573 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89574 * wcsmbs/uchar.h: Really define mbstate_t.
89575 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89576 * wcsmbs/c16rtomb.c: New file.
89577 * wcsmbs/mbrtoc16.c: New file.
89578 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89579 for C/POSIX locale.
89580 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89581 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89582
89583 * wcsmbs/wchar.h: Add missing __restrict.
89584
89585 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89586
89587 [BZ #13532]
89588 * time/Makefile (routines): Add timespec_get.
89589 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89590 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89591 timespec for ISO C11.
89592 * time/timespec_get.c: New file.
89593 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89595
89596 [BZ #13531]
89597 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89598 * stdlib/stdlib.h: Declare aligned_alloc.
89599 * Versions.def: Add GLIBC_2.16 for libc.
89600 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89601
89602 [BZ 13527]
89603 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89604 ISO C11.
89605
89606 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89607 code.
89608
89609 [BZ #13528]
89610 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89611
89612 [BZ #13529]
89613 * assert/assert.h (static_assert): Define.
89614
89615 * version.h: Update for 2.16 development version.
89616
89617 [BZ #13526]
89618 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89619 _ISOC11_SOURCE.
89620
89621 * version.h (RELEASE): Bump for 2.15 release.
89622 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89623
89624 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89625 Patch by Marek Polacek <mpolacek@redhat.com>.
89626
89627 * bits/byteswap.h: Protect long long constants with __extension__.
89628 * sysdeps/i386/bits/byteswap.h: Likewise.
89629 * sysdeps/ia64/bits/byteswap.h: Likewise.
89630 * sysdeps/s390/bits/byteswap.h: Likewise.
89631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89632
89633 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89634
89635 [BZ #13540]
89636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89637 destination buffer.
89638 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89639
89640 2011-12-23 Marek Polacek <polacek@redhat.com>
89641
89642 * elf/dl-addr.c (determine_info): Add inline keyword.
89643 * elf/tst-auditmod4b.c (check_avx): Likewise.
89644 * elf/tst-auditmod6b.c (check_avx): Likewise.
89645 * elf/tst-auditmod6c.c (check_avx): Likewise.
89646 * elf/tst-auditmod7b.c (check_avx): Likewise.
89647
89648 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89649
89650 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89651 !__SSE_MATH__.
89652
89653 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89654
89655 [BZ #13540]
89656 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89657 processing for last bytes.
89658
89659 2011-08-06 Bruno Haible <bruno@clisp.org>
89660
89661 [BZ #13061]
89662 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89663 U+0385, not to U+1FEE.
89664
89665 [BZ #13062]
89666 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89667 entry for U+00A5 U+0301.
89668
89669 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89670
89671 [BZ #13166]
89672 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89673 buffer for the output is too small.
89674
89675 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89676 optimization.
89677
89678 [BZ #13185]
89679 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89680 SSE flags if possible.
89681
89682 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89683
89684 [BZ #13540]
89685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89686 processing for last bytes.
89687
89688 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89689
89690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89691 (syscall-list-default-options, syscall-list-default-condition)
89692 (syscall-list-includes): Define.
89693 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89694 list of ABIs and options and #if conditions for each ABI. Do not
89695 handle common syscalls between ABIs specially.
89696 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89697 Remove.
89698 (syscall-list-variants, syscall-list-32bit-options)
89699 (syscall-list-32bit-condition, syscall-list-64bit-options)
89700 (syscall-list-64bit-condition): Define.
89701 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89702 (syscall-list-variants, syscall-list-32bit-options)
89703 (syscall-list-32bit-condition, syscall-list-64bit-options)
89704 (syscall-list-64bit-condition): Define.
89705 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89706 Remove.
89707 (syscall-list-variants, syscall-list-32bit-options)
89708 (syscall-list-32bit-condition, syscall-list-64bit-options)
89709 (syscall-list-64bit-condition): Define.
89710 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89711 Remove.
89712 (syscall-list-variants, syscall-list-32bit-options)
89713 (syscall-list-32bit-condition, syscall-list-64bit-options)
89714 (syscall-list-64bit-condition): Define.
89715
89716 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89717
89718 * locale/iso-639.def: Add brx entry.
89719
89720 [BZ #13328]
89721 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89722 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89723
89724 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89725 __feraiseexcept_renamed.
89726
89727 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89728
89729 [BZ #13538]
89730 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89731 EPOLLET with unsigned values.
89732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89734
89735 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89736 to large cancellation.
89737 * math/s_cacoshf.c: Likewise.
89738 * math/s_cacoshl.c: Likewise.
89739
89740 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89741
89742 [BZ #13305]
89743 [BZ #12786]
89744 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89745 * math/s_cacoshf.c: Likewise.
89746 * math/s_cacoshl.c: Likewise.
89747
89748 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89749
89750 [BZ #13439]
89751 * iconv/gconv.h: Define __GCONV_SWAP.
89752 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89753 * iconvdata/utf-16.c: Likewise.
89754 * iconvdata/utf-32.c: Likewise.
89755
89756 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89757
89758 [BZ #13524]
89759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89760 numerator after shifting it by one limb.
89761
89762 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89763
89764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89765 under [__USE_EXTERN_INLINES].
89766
89767 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89768
89769 [BZ #13446]
89770 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89771
89772 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89773
89774 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89775 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89776 optimized code.
89777 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89779 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89780 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89781 for strncasecmp/strncasecmp_l compilation.
89782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89783 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89784
89785 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89786
89787 [BZ #13484]
89788 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89789 of __asm__.
89790
89791 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89792
89793 [BZ #13506]
89794 * time/tzfile.c (__tzfile_read): Check values from file header.
89795
89796 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89797
89798 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89799 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89800 * powerpc/powerpc32/dl-start.S: Likewise.
89801 * powerpc/powerpc32/elf/start.S: Likewise.
89802 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89803 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89804 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89805 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89806 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89807 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89808 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89809 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89810 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89811 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89812 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89813 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89814 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89815 * powerpc/powerpc32/memset.S: Likewise.
89816 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89817 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89818 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89819 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89820 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89821 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89822 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89823 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89824 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89825 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89829
89830 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89831
89832 * math/libm-test.inc: Added more nearbyint tests.
89833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89837
89838 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89839
89840 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89841 FD_CLOEXEC.
89842
89843 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89844
89845 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89846 Add wcscpy-ssse3 wcscpy-c.
89847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89848 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89849 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89850 * sysdeps/x86_64/wcschr.S: New file.
89851 * sysdeps/x86_64/wcsrchr.S: New file.
89852 * string/test-strcmp.c: Remove checking of wcscmp function for
89853 wrong alignments.
89854 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89855 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89856 wcsrchr-sse2 wcsrchr-c.
89857 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89858 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89859 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89860 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89861 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89862 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89863 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89864 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89866 * wcsmbc/wcschr.c (WCSCHR): New macro.
89867
89868 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89869
89870 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89871 * wcsmbs/test-wcsrchr.c: New file.
89872 * string/test-strrchr.c: Add wcsrchr support.
89873 (WIDE): New macro.
89874 * wcsmbs/test-wcscpy.c: New file.
89875 * string/test-strcpy.c: Add wcscpy support.
89876 (WIDE): New macro.
89877
89878 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89879
89880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89881 the inner loop.
89882
89883 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89884
89885 [BZ #13472]
89886 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89887
89888 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89889
89890 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89891 Minor optimizations.
89892
89893 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89894 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89895 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89896
89897 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89898
89899 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89900 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89901 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89902 for gcc to avoid warnings.
89903 * inet/Makefile (tests): Add tst-checks.
89904 * inet/tst-checks.c: New file.
89905
89906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89907 warning.
89908
89909 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89910 __wmemcmp_sse2.
89911
89912 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89913 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89914
89915 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89916
89917 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89918
89919 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89920 problem.
89921
89922 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89923
89924 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89925
89926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89927 conditional on GCC version.
89928 (__arch_compare_and_exchange_val_8_acq)
89929 (__arch_compare_and_exchange_val_16_acq)
89930 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89931 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89932 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89933
89934 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89935
89936 * sysdeps/sh/backtrace.c: New file.
89937
89938 2011-12-02 Andreas Schwab <schwab@redhat.com>
89939
89940 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89941 parenthesis.
89942
89943 2011-12-01 Andreas Schwab <schwab@redhat.com>
89944
89945 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89946 falling back to utime.
89947
89948 2011-11-30 Andreas Schwab <schwab@redhat.com>
89949
89950 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89951 expectations for float.
89952
89953 2011-11-29 Andreas Schwab <schwab@redhat.com>
89954
89955 * locale/weight.h (findidx): Add parameter len.
89956 * locale/weightwc.h (findidx): Likewise.
89957 * posix/fnmatch_loop.c (FCT): Adjust caller.
89958 * posix/regcomp.c (build_equiv_class): Likewise.
89959 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89960 * posix/regexec.c (check_node_accept_bytes): Likewise.
89961 * string/strcoll_l.c (STRCOLL): Likewise.
89962 * string/strxfrm_l.c (STRXFRM): Likewise.
89963
89964 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89965
89966 * Makefile.in: Remove CVSOPT handling.
89967 * configure.in: Remove use of AC_REVISION.
89968 * iconvdata/Makefile (distribute): No need to filter out CVS.
89969 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89970 handling.
89971
89972 2011-11-16 Andreas Schwab <schwab@redhat.com>
89973
89974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89975 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89976 [USE_AS_STRNCASECMP_L]: Likewise.
89977 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89978 NO_TLS_DIRECT_SEG_REFS.
89979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89980 Fix argument offsets for non-PIC.
89981 [USE_AS_STRNCASECMP_L]: Likewise.
89982 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89983 NO_TLS_DIRECT_SEG_REFS.
89984
89985 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89986
89987 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89988 O_CLOEXEC.
89989 * locale/loadlocale.c (_nl_load_locale): Likewise.
89990
89991 2011-11-15 Andreas Schwab <schwab@redhat.com>
89992
89993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89994 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89996 (SYSCALL_GETTIME): Set errno on error.
89997
89998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89999 count references to noai6ai_cached.
90000
90001 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90002
90003 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90004
90005 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90006 FD_CLOEXEC for /proc/self/maps.
90007
90008 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90009 FD_CLOEXEC for /proc/meminfo.
90010
90011 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90012 gai.conf.
90013
90014 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90015 FD_CLOEXEC for given file.
90016
90017 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90018
90019 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90020 FD_CLOEXEC for /etc/hosts.
90021 (_gethtent): Likewise.
90022
90023 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90024
90025 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90026 cancellation and set FD_CLOEXEC for /etc/netgroup.
90027
90028 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90029 reading /etc/publickey.
90030
90031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90032 allow cancellation when reading /etc/group.
90033
90034 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90035 cancellation.
90036 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90037
90038 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90039 when using data file.
90040
90041 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90042
90043 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90044 (write_nis_obj): Use "c" and "e" in fopen.
90045
90046 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90047
90048 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90049
90050 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90051
90052 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90053
90054 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90055 locale.alias.
90056
90057 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90058
90059 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90060
90061 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90062
90063 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90064 file parsing and set FD_CLOEXEC.
90065
90066 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90067
90068 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90069
90070 2011-11-14 Andreas Schwab <schwab@redhat.com>
90071
90072 * malloc/arena.c (arena_get2): Don't call reused_arena when
90073 _int_new_arena failed.
90074
90075 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90076
90077 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90078 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90083 to compile strcasecmp and strncasecmp.
90084 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90085 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90086
90087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90088
90089 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90090
90091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90092 locale-defines.sym to gen-as-const-headers.
90093 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90094 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90096 to compile strcasecmp and strncasecmp.
90097 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90098 strcasecmp_l and strncasecmp_l.
90099 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90100 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90101 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90102 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90103 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90104 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90105 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90106 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90107 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90108 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90109 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90110
90111 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90112
90113 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90114 result of SYSDEP_GETTIME_CPU to retval.
90115 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90116 parameter list to macro. Remove trailing semicolon. Adjust users.
90117
90118 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90119 variable.
90120
90121 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90122 mantissa words.
90123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90124
90125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90126 from unused variable.
90127
90128 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90129 DWARF definitions.
90130 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90131 for assembling.
90132
90133 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90134 over namespaces.
90135
90136 * sunrpc/rpc_prot.c (rejected): Fix case value.
90137
90138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90139 unsigned long long int to avoid warnings in shift.
90140
90141 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90142 of use of trans.
90143 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90144 variable tmp.
90145
90146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90147 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90149
90150 * nis/nis_table.c (nis_list): Use variable of correct type for
90151 result of __follow_path call.
90152
90153 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90154
90155 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90156 of math functions ceil, trunc, floor, round, and sqrt, when
90157 avaliable on the platform.
90158 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90159 name clash.
90160 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90161 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90162 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90163
90164 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90165
90166 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90168
90169 2011-11-11 Roland McGrath <roland@hack.frob.com>
90170
90171 * include/unistd.h: Fix __readlink return type.
90172 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90173
90174 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90175
90176 * stdlib/ucontext.h: Undo last change for makecontext.
90177
90178 2011-11-11 Andreas Schwab <schwab@redhat.com>
90179
90180 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90181
90182 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90183 * setjmp/setjmp.h: Mark functions as non-leaf.
90184 * setjmp/bits/setjmp2.h: Likewise.
90185 * stdlib/ucontext.h: Likewise.
90186
90187 2011-11-10 Andreas Schwab <schwab@redhat.com>
90188
90189 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90190 (reused_arena): Don't check arena limit.
90191 (arena_get2): Atomically check arena limit.
90192
90193 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90194
90195 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90196 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90197
90198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90199 instructions.
90200
90201 2011-11-07 Andreas Schwab <schwab@redhat.com>
90202
90203 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90204 handler when locking.
90205
90206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90207 Fix size of allocated buffer.
90208
90209 2011-11-04 Andreas Schwab <schwab@redhat.com>
90210
90211 [BZ #10103]
90212 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90213 declarations for long double functions.
90214 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90215
90216 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90217
90218 2011-11-03 Andreas Schwab <schwab@redhat.com>
90219
90220 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90221 installed.
90222
90223 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90224 is disabled.
90225
90226 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90227
90228 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90229
90230 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90231
90232 * include/alloca.h (stackinfo_alloca_round): Define.
90233 (extend_alloca): Use it.
90234 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90235 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90236 here.
90237
90238 * scripts/check-local-headers.sh: Ignore libaudit.h.
90239
90240 * nscd/Makefile (extra-objs): Make recursively expanded.
90241
90242 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90243
90244 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90246
90247 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90248 * posix/tst-rfc3484-2.c: Likewise.
90249 * posix/tst-rfc3484-3.c: Likewise.
90250
90251 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90252 process_vm_writev.
90253 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90254 process_vm_writev.
90255 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90256 process_vm_writev from libc using GLIBC_2.15 version.
90257
90258 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90259
90260 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90261
90262 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90263 stack usage.
90264
90265 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90266
90267 [BZ #13367]
90268 * nss/getent.c (initgroups_keys): Show error message in case no group
90269 names are given.
90270
90271 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90272 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90273 __bump_nl_timestamp.
90274 * nscd/connections (nscd_init): When host database is served open
90275 netlink socket and request notification about configuration changes.
90276 (main_loop_poll): Track netlink file descriptor and bump timestamp
90277 in case data becomes available.
90278 (main_loop_epoll): Likewise.
90279 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90280 (database_pers_head): Add extra_data fileds.
90281 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90283 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90284 Adjust caller.
90285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90286 in6ai data, call __free_in6ai.
90287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90288 Add -DHAVE_NETLINK.
90289 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90290 interface information. Reuse previous data if netlink timestamp
90291 is not changed.
90292 (__bump_nl_timestamp): New function.
90293 (__free_in6ai): New function.
90294
90295 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90296
90297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90298 close_not_cancel_no_status here.
90299 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90300
90301 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90302
90303 [BZ #13276]
90304 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90305 return value.
90306
90307 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90308 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90309 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90310
90311 2011-07-03 Andreas Jaeger <aj@suse.de>
90312
90313 [BZ #10709]
90314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90315 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90316 * math/libm-test.inc (sin_test): Add test case.
90317
90318 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90319
90320 [BZ #13337]
90321 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90322 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90323
90324 * elf/chroot_canon.c (chroot_canon): Cleanups.
90325
90326 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90327
90328 [BZ #13335]
90329 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90330 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90331
90332 * string/test-strchr.c: Make usable for strchrnul testing.
90333 * string/test-strchrnul.c: New file.
90334 * string/Makefile (strop-tests): Add strchrnul.
90335
90336 * po/it.po: Update from translation team.
90337 * po/es.po: Likewise.
90338
90339 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90340
90341 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90342 the three constants needed as parameters. Drop the others.
90343 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90344 __m128i_strloadu_tolower.
90345 Create and initialize variable zero and use it in all the places
90346 where _mm_setzero_si128 was used.
90347
90348 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90349 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90350 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90352 anymore.
90353 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90356 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90358 __mpranred, __mptan.
90359 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90360 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90361 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90362 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90363 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90364 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90366 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90368
90369 2011-10-28 Andreas Schwab <schwab@redhat.com>
90370
90371 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90372 redefine if SHARED.
90373 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90374
90375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90376 wide char related routines to wcsmbs subdir.
90377
90378 2011-10-27 Andreas Schwab <schwab@redhat.com>
90379
90380 [BZ #13344]
90381 * misc/sys/cdefs.h (__THROWNL): Define.
90382 * posix/unistd.h: Use __THREADNL instead of __THREAD
90383 for memory synchronization functions.
90384
90385 2011-10-26 Roland McGrath <roland@hack.frob.com>
90386
90387 [BZ #13349]
90388 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90389 doesn't exist.
90390 * manual/stdio.texi (Obstack Streams): Node removed.
90391
90392 2011-10-26 Andreas Schwab <schwab@redhat.com>
90393
90394 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90395 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90397
90398 * math/math_private.h (math_force_eval): Allow non-addressable
90399 arguments.
90400 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90401
90402 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90403
90404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90405 file is not needed.
90406
90407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90414 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90415 Add AVX variants.
90416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90420 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90421 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90422 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90424 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90425 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90426 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90432 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90433 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90434 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90435
90436 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90437 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90438
90439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90440 place. Use VEX encoding when compiling for AVX.
90441
90442 2011-10-25 Andreas Schwab <schwab@redhat.com>
90443
90444 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90446
90447 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90448
90449 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90450
90451 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90452 useless if() expression.
90453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90455 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90461 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90462 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90465 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90468 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90472
90473 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90474
90475 2011-10-25 Andreas Schwab <schwab@redhat.com>
90476
90477 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90478 condition.
90479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90480
90481 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90482
90483 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90484 .text section. Avoid duplicate constants.
90485 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90493 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90494 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90495 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90497 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90498 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90502 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90503 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90512 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90518 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90519 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90520 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90521 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90523 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90525 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90530
90531 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90532
90533 * sysdeps/x86_64/dla.h: Move to ...
90534 * sysdeps/x86_64/fpu/dla.h: ...here.
90535 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90536 situations. Use __builtin_fma only for gcc 4.6 and up.
90537
90538 * config.make.in: Add have-mfma4 entry.
90539 * configure.in: Substitute libc_cv_cc_fma4.
90540 * math/Makefile (dbl-only-routines): Add sincostab.
90541 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90542 Use __sincostab not sincos.
90543 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90544 name is a macro.
90545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90549 using __copysign.
90550 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90551 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90552 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90553 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90554 and __inv.
90555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90556 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90557 __copysign.
90558 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90559 define aliases when function name is a macro.
90560 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90561 sysdeps/ieee754/dbl-64/sincos.tbl.
90562 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90563 fma4-enabled routines.
90564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90565 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90566 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90567 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90571 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90574 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90575 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90576 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90577 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90578 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90579 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90580 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90581 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90584 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90585 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90591 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90593 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90594
90595 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90596 rename.
90597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90605
90606 2011-10-24 Andreas Schwab <schwab@redhat.com>
90607
90608 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90609
90610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90611
90612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90613
90614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90615 prediction.
90616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90617
90618 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90619 Remove unused variable magic_bits.
90620 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90621
90622 * string/strnlen.c: Define and use STRNLEN macro.
90623 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90624 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90626 * wcsmbs/wcslen.c: Define and use WCSLEN.
90627 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90628 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90629 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90630 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90631 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90632 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90633 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90634
90635 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90636
90637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90638 strnlen-sse2-no-bsf.
90639 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90641 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90642 Add strnlen support.
90643 (USE_AS_STRNLEN): New macro.
90644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90646 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90647 * sysdeps/x86_64/wcslen.S: New file.
90648
90649 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90650
90651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90652 XMM-moves are used for copying on small sizes.
90653
90654 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90655
90656 * wcsmbs/Makefile (strop-tests): Add wcschr.
90657 * wcsmbs/test-wcschr.c: New file.
90658 * string/test-strchr.c: Update.
90659 Add wcschr support.
90660 (WIDE): New macro.
90661
90662 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90663
90664 * wcsmbs/Makefile (strop-tests): Add wcslen.
90665 * wcsmbs/test-wcslen.c: New file.
90666 * string/test-strlen.c: Update.
90667 Add wcslen support.
90668 (WIDE): New macro.
90669
90670 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90671
90672 * po/it.po: Update from translation team.
90673
90674 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90675
90676 * sysdeps/x86_64/wcscmp.S: Update.
90677 Fix wrong comparison semantics.
90678 wcscmp shall use signed comparison not unsigned.
90679 Don't use substraction to avoid overflow bug.
90680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90681 * wcsmbc/wcscmp.c: Likewise.
90682 * string/test-strcmp.c: Likewise.
90683 Add new tests to check cases with negative values.
90684
90685 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90686
90687 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90688 * sysdeps/x86_64/dla.h: ...here. New file.
90689 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90698
90699 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90700
90701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90702 __ynl_finite aliases.
90703
90704 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90705
90706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90707
90708 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90709 define DLA_FMA.
90710 [DLA_FMA] (EMULV): Use DLA_FMA.
90711 [DLA_FMA] (MUL12): Use EMULV.
90712 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90713 that are not needed.
90714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90721
90722 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90723
90724 * math/s_nan.c: Undef __nan.
90725 * math/s_nanf.c: Undef __nanf.
90726 * math/s_nanl.c: Undef __nanl.
90727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90728 "math_private.h".
90729
90730 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90731
90732 * math/s_catan.c: Add branch predictions.
90733 * math/s_catanf.c: Likewise.
90734 * math/s_catanh.c: Likewise.
90735 * math/s_catanhf.c: Likewise.
90736 * math/s_catanhl.c: Likewise.
90737 * math/s_catanl.c: Likewise.
90738 * math/s_cexp.c: Likewise.
90739 * math/s_cexpf.c: Likewise.
90740 * math/s_cexpl.c: Likewise.
90741 * math/s_clog.c: Likewise.
90742 * math/s_clog10.c: Likewise.
90743 * math/s_clog10f.c: Likewise.
90744 * math/s_clog10l.c: Likewise.
90745 * math/s_clogf.c: Likewise.
90746 * math/s_clogl.c: Likewise.
90747 * math/s_csqrt.c: Likewise.
90748 * math/s_csqrtf.c: Likewise.
90749 * math/s_csqrtl.c: Likewise.
90750 * math/s_ctanf.c: Likewise.
90751 * math/s_ctanh.c: Likewise.
90752 * math/s_ctanhf.c: Likewise.
90753 * math/s_ctanhl.c: Likewise.
90754 * math/s_ctanl.c: Likewise.
90755
90756 * math/math_private.h: Define __nan, __nanf, __nanl.
90757 * math/s_cacosh.c: Include <math_private.h>.
90758 * math/s_cacoshl.c: Likewise.
90759 * math/s_casinh.c: Likewise.
90760 * math/s_casinhf.c: Likewise.
90761 * math/s_casinhl.c: Likewise.
90762 * math/s_ccos.c: Rely entire on ccosh.
90763 * math/s_ccosf.c: Rely entire on ccoshf.
90764 * math/s_ccosl.c: Rely entirely on ccoshl.
90765 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90766 Remove tests for FE_INVALID.
90767 * math/s_ccoshf.c: Likewise.
90768 * math/s_ccoshl.c: Likewise.
90769 * math/s_csin.c: Likewise.
90770 * math/s_csinf.c: Likewise.
90771 * math/s_csinh.c Likewise.
90772 * math/s_csinhf.c: Likewise.
90773 * math/s_csinhl.c: Likewise.
90774 * math/s_csinl.c: Likewise.
90775 * math/s_ctan.c: Likewise.
90776 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90777 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90779
90780 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90781
90782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90783 compilation problems.
90784
90785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90786 __builtin_expect.
90787
90788 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90789
90790 * sysdeps/i386/configure.in: Test for -mfma4 option.
90791 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90792 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90793 COMMON_CPUID_INDEX_80000001.
90794 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90795 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90796 use it if FMA3 is not supported.
90797 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90798
90799 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90800 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90801
90802 2011-10-20 Andreas Schwab <schwab@redhat.com>
90803
90804 [BZ #12892]
90805 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90806 it would create a cycle with a link time dependency.
90807
90808 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90809
90810 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90811 instruction.
90812 * string/Makefile (strop-tests): Add rawmemchr.
90813 * string/test-rawmemchr.c: New file.
90814
90815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90817 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90818 when compiling str{,n}casecmp and when AVX is available. Hook up
90819 new optimized code in initializers.
90820
90821 2011-10-19 Andreas Schwab <schwab@redhat.com>
90822
90823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90824 __feraiseexcept instead of feraiseexcept.
90825
90826 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90827
90828 * math/math_private.h: Define defaults for libc_fetestexcept and
90829 libc_feupdateenv.
90830 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90832 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90834 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90836 libc_fetestexcept and libc_feupdateenv.
90837
90838 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90839 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90840 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90841 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90842 libc_feholdexcept_setround.
90843
90844 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90845 Add s_nearbyint-c and s_nearbyintf-c.
90846 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90847 nearbyintf inlines.
90848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90852
90853 * math/math_private.h: Define defaults for libc_fegetround,
90854 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90855 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90856 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90858 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90859 standard functions.
90860 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90861 Remove comments and hacks for old compiler versions.
90862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90863 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90864 libc_feholdexceptl.
90865
90866 2011-10-18 Andreas Schwab <schwab@redhat.com>
90867
90868 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90869 (__feraiseexcept_renamed): Add __NTH.
90870 (feraiseexcept): Add __NTH. Rename local variables to fix
90871 namespace violations.
90872
90873 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90874
90875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90876
90877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90878
90879 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90880 recently added interfaces.
90881 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90882
90883 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90884 about macro parameter expansion.
90885
90886 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90887 __NO_MATH_INLINES is defined. Cleanups.
90888
90889 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90890 and __floorf is target has SSE4.1.
90891 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90892 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90894 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90895
90896 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90897 name.
90898 (floorf): Likewise.
90899
90900 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90901
90902 2011-10-17 Andreas Schwab <schwab@redhat.com>
90903
90904 * misc/sys/cdefs.h: Fix last change.
90905
90906 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90907 database lookup.
90908
90909 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90910
90911 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90912
90913 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90921 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90922 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90923 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90924 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90925 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90926 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90927 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90928 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90930 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90932 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90933 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90934 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90935
90936 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90937 ceil, ceilf, floor, floorf.
90938
90939 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90940 Perform IRELATIVE relocations last.
90941
90942 * elf/do-rel.h: Add another parameter nrelative, replacing the
90943 local variable with the same name. Change name of the function
90944 to end in Rel or Rela (uppercase).
90945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90946 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90947 elf_dynamic_do_##reloc function.
90948
90949 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90950
90951 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90952 is sufficient, at least on modern CPUs.
90953
90954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90955
90956 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90958
90959 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90960 __expl_finite.
90961 * math/bits/math-finite.h: Add entries for exp.
90962 * math/e_expl.c: Add __*_finite alias.
90963 * sysdeps/i386/fpu/e_exp.S: Likewise.
90964 * sysdeps/i386/fpu/e_expf.S: Likewise.
90965 * sysdeps/i386/fpu/e_expl.c: Likewise.
90966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90967 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90970 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90971 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90972 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90973
90974 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90975 is sufficient, at least on modern CPUs.
90976
90977 * ctype/ctype-info.c (__ctype_init): Define.
90978 * include/ctype.h (__ctype_init): Declare.
90979 (__ctype_b_loc): The variable is always initialized.
90980 (__ctype_toupper_loc): Likewise.
90981 (__ctype_tolower_loc): Likewise.
90982 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90983 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90984
90985 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90986
90987 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90988
90989 * configure.in: Also look in $cxxmachine/include for C++ system
90990 headers.
90991
90992 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90993
90994 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90995 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90996 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90997 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90999 (USE_AS_WMEMCMP): New macro.
91000 Fixing indents.
91001 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91002 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91003 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91004 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91006 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91007 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91008 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91009 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91010 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91012 (USE_AS_WMEMCMP): New macro.
91013 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91014 * sysdeps/string/test-memcmp.c: Update.
91015 Fix simple_wmemcmp.
91016 Add new tests.
91017 * wcsmbs/wmemcmp.c: Update.
91018 (WMEMCMP): New macro.
91019 Fix overflow bug.
91020
91021 2011-10-12 Andreas Jaeger <aj@suse.de>
91022
91023 [BZ #13268]
91024 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91025
91026 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91027
91028 * libio/iofwide.c (do_length): Avoid warning.
91029
91030 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91031
91032 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91033
91034 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91035
91036 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91037 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91038 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91039 * sysdeps/i386/i686/fpu/e_log.S: New file.
91040 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91041 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91042
91043 * ctype/ctype.h: Add support for inlined isXXX functions when
91044 compiling C++ code.
91045
91046 2011-10-14 Andreas Schwab <schwab@redhat.com>
91047
91048 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91049
91050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91051
91052 2011-10-13 Roland McGrath <roland@hack.frob.com>
91053
91054 [BZ #13291]
91055 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91056
91057 2011-10-13 Andreas Schwab <schwab@redhat.com>
91058
91059 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91060 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91061 feraiseexcept.
91062
91063 * sysdeps/x86_64/memrchr.S: Check for zero size.
91064
91065 * string/stratcliff.c: Add memrchr tests.
91066
91067 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91068
91069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91070 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91071 rawmemchr-sse2 rawmemchr-sse2-bsf.
91072 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91073 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91074 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91075 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91076 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91078 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91079 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91082 * string/memrchr.c (MEMRCHR): New macro.
91083
91084 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91085
91086 Add integration with gcc's -ffinite-math-only and optimize wrapper
91087 functions in libm.
91088 * Versions.def: Define GLIBC_2.15 version for libm.
91089 * math/Makefile (headers): Add bits/math-finite.h.
91090 * math/bits/math-finite.h: New file.
91091 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91092 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91093 * math/e_acoshl.c: Add __*_finite alias.
91094 * math/e_acosl.c: Likewise.
91095 * math/e_asinl.c: Likewise.
91096 * math/e_atan2l.c: Likewise.
91097 * math/e_atanhl.c: Likewise.
91098 * math/e_coshl.c: Likewise.
91099 * math/e_exp10.c: Likewise.
91100 * math/e_exp10f.c: Likewise.
91101 * math/e_exp10l.c: Likewise.
91102 * math/e_exp2l.c: Likewise.
91103 * math/e_fmodl.c: Likewise.
91104 * math/e_gammal_r.c: Likewise.
91105 * math/e_hypotl.c: Likewise.
91106 * math/e_j0l.c: Likewise.
91107 * math/e_j1l.c: Likewise.
91108 * math/e_jnl.c: Likewise.
91109 * math/e_lgammal_r.c: Likewise.
91110 * math/e_log10l.c: Likewise.
91111 * math/e_log2l.c: Likewise.
91112 * math/e_logl.c: Likewise.
91113 * math/e_powl.c: Likewise.
91114 * math/e_sinhl.c: Likewise.
91115 * math/e_sqrtl.c: Likewise.
91116 * math/e_scalb.c: Completely rewritten and optimized.
91117 * math/e_scalbf.c: Likewise.
91118 * math/e_scalbl.c: Likewise.
91119 * math/w_acos.c: Likewise.
91120 * math/w_acosf.c: Likewise.
91121 * math/w_acosl.c: Likewise.
91122 * math/w_acosh.c: Likewise.
91123 * math/w_acoshf.c: Likewise.
91124 * math/w_acoshl.c: Likewise.
91125 * math/w_asin.c: Likewise.
91126 * math/w_asinf.c: Likewise.
91127 * math/w_asinl.c: Likewise.
91128 * math/w_atan2.c: Likewise.
91129 * math/w_atan2f.c: Likewise.
91130 * math/w_atan2l.c: Likewise.
91131 * math/w_atanh.c: Likewise.
91132 * math/w_atanhf.c: Likewise.
91133 * math/w_atanhl.c: Likewise.
91134 * math/w_exp10.c: Likewise.
91135 * math/w_exp10f.c: Likewise.
91136 * math/w_exp10l.c: Likewise.
91137 * math/w_fmod.c: Likewise.
91138 * math/w_fmodf.c: Likewise.
91139 * math/w_fmodl.c: Likewise.
91140 * math/w_j0.c: Likewise.
91141 * math/w_j0f.c: Likewise.
91142 * math/w_j0l.c: Likewise.
91143 * math/w_j1.c: Likewise.
91144 * math/w_j1f.c: Likewise.
91145 * math/w_j1l.c: Likewise.
91146 * math/w_jn.c: Likewise.
91147 * math/w_jnf.c: Likewise.
91148 * math/w_log.c: Likewise.
91149 * math/w_logf.c: Likewise.
91150 * math/w_logl.c: Likewise.
91151 * math/w_log10.c: Likewise.
91152 * math/w_log10f.c: Likewise.
91153 * math/w_log10l.c: Likewise.
91154 * math/w_log2.c: Likewise.
91155 * math/w_log2f.c: Likewise.
91156 * math/w_log2l.c: Likewise.
91157 * math/w_pow.c: Likewise.
91158 * math/w_powf.c: Likewise.
91159 * math/w_powl.c: Likewise.
91160 * math/w_remainder.c: Likewise.
91161 * math/w_remainderf.c: Likewise.
91162 * math/w_remainderl.c: Likewise.
91163 * math/w_scalb.c: Likewise.
91164 * math/w_scalbf.c: Likewise.
91165 * math/w_scalbl.c: Likewise.
91166 * math/w_sqrt.c: Likewise.
91167 * math/w_sqrtf.c: Likewise.
91168 * math/w_sqrtl.c: Likewise.
91169 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91170 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91171 used.
91172 * math/math_private.h: Declare __kernel_standard_f.
91173 * math/w_cosh.c: Remove cruft and optimize a bit.
91174 * math/w_coshf.c: Likewise.
91175 * math/w_coshl.c: Likewise.
91176 * math/w_exp2.c: Likewise.
91177 * math/w_exp2f.c: Likewise.
91178 * math/w_exp2l.c: Likewise.
91179 * math/w_hypot.c: Likewise.
91180 * math/w_hypotf.c: Likewise.
91181 * math/w_hypotl.c: Likewise.
91182 * math/w_lgamma.c: Likewise.
91183 * math/w_lgamma_r.c: Likewise.
91184 * math/w_lgammaf.c: Likewise.
91185 * math/w_lgammaf_r.c: Likewise.
91186 * math/w_lgammal.c: Likewise.
91187 * math/w_lgammal_r.c: Likewise.
91188 * math/w_sinh.c: Likewise.
91189 * math/w_sinhf.c: Likewise.
91190 * math/w_sinhl.c: Likewise.
91191 * math/w_tgamma.c: Likewise.
91192 * math/w_tgammaf.c: Likewise.
91193 * math/w_tgammal.c: Likewise.
91194 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91196 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91197 Minor optimizations. Pretty printing. Remove cruft.
91198 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91202 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91203 * sysdeps/i386/fpu/e_asin.S: Likewise.
91204 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91205 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91206 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91207 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91208 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91211 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91212 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91213 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91214 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91215 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91216 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91217 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91218 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91219 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91220 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91221 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91222 * sysdeps/i386/fpu/e_log.S: Likewise.
91223 * sysdeps/i386/fpu/e_log10.S: Likewise.
91224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91226 * sysdeps/i386/fpu/e_log2.S: Likewise.
91227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91229 * sysdeps/i386/fpu/e_logf.S: Likewise.
91230 * sysdeps/i386/fpu/e_logl.S: Likewise.
91231 * sysdeps/i386/fpu/e_pow.S: Likewise.
91232 * sysdeps/i386/fpu/e_powf.S: Likewise.
91233 * sysdeps/i386/fpu/e_powl.S: Likewise.
91234 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91235 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91236 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91237 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91240 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91241 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91242 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91248 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91249 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91250 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91254 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91256 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91257 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91260 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91261 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91264 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91267 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91269 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91270 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91271 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91281 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91282 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91283 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91284 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91285 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91286 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91288 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91289 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91290 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91291 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91293 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91294 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91298 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91299 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91300 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91301 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91302 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91303 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91304 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91313 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91314 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91317 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91321 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91322 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91324 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91336 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91340 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91341 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91342 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91343 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91344 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91345 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91346 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91347 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91349 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91351 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91353 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91354 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91355 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91356 (__isnanf): Likewise.
91357 (__isinf_ns): Likewise.
91358 (__isinf_nsf): Likewise.
91359 (__finite): Likewise.
91360 (__finitef): Likewise.
91361 (__ieee754_sqrt): Define as macro.
91362 (__ieee754_sqrtf): Define as macro.
91363 (__ieee754_sqrtl): Define as macro.
91364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91365 inlined copy.
91366 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91367 __FINITE_MATH_ONLY__ consistent.
91368 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91369
91370 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91371
91372 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91373 of rawmemchr.
91374
91375 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91376
91377 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91378
91379 * po/ja.po: Update from translation team.
91380
91381 2011-10-08 Roland McGrath <roland@hack.frob.com>
91382
91383 * locale/programs/locarchive.c (prepare_address_space): New function.
91384 (create_archive, enlarge_archive, open_archive): Use it.
91385
91386 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91387 inside [SHARED], where it is used.
91388
91389 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91390
91391 * nss/getent.c (netgroup_keys): Remove unused variable.
91392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91393
91394 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91395
91396 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91400 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91402 * math/Makefile (libm-calls): Add s_isinf_ns.
91403 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91404 * math/multc3.c: Likewise.
91405 * math/s_casin.c: Likewise.
91406 * math/s_casinf.c: Likewise.
91407 * math/s_casinl.c: Likewise.
91408 * math/s_ccos.c: Likewise.
91409 * math/s_ccosf.c: Likewise.
91410 * math/s_ccosl.c: Likewise.
91411 * math/s_ctan.c: Likewise.
91412 * math/s_ctanf.c: Likewise.
91413 * math/s_ctanh.c: Likewise.
91414 * math/s_ctanhf.c: Likewise.
91415 * math/s_ctanhl.c: Likewise.
91416 * math/s_ctanl.c: Likewise.
91417 * math/w_fmod.c: Likewise.
91418 * math/w_fmodf.c: Likewise.
91419 * math/w_fmodl.c: Likewise.
91420 * math/w_remainder.c: Likewise.
91421 * math/w_remainderf.c: Likewise.
91422 * math/w_remainderl.c: Likewise.
91423 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91424 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91427 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91428 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91429 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91430 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91431
91432 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91433 of the number.
91434 * stdio-common/printf_fphex.c: Likewise.
91435 * stdio-common/printf_size.c: Likewise.
91436
91437 * math/e_exp10.c: Include math_private.h using <...> not "...".
91438 * math/e_exp10f.c: Likewise.
91439 * math/e_exp10l.c: Likewise.
91440 * math/e_exp2l.c: Likewise.
91441 * math/e_j0l.c: Likewise.
91442 * math/e_j1l.c: Likewise.
91443 * math/e_jnl.c: Likewise.
91444 * math/e_lgammal_r.c: Likewise.
91445 * math/e_rem_pio2l.c: Likewise.
91446 * math/e_scalb.c: Likewise.
91447 * math/e_scalbf.c: Likewise.
91448 * math/e_scalbl.c: Likewise.
91449 * math/k_cosl.c: Likewise.
91450 * math/k_sinl.c: Likewise.
91451 * math/k_tanl.c: Likewise.
91452 * math/s_cacoshf.c: Likewise.
91453 * math/s_catan.c: Likewise.
91454 * math/s_catanf.c: Likewise.
91455 * math/s_catanh.c: Likewise.
91456 * math/s_catanhf.c: Likewise.
91457 * math/s_catanhl.c: Likewise.
91458 * math/s_catanl.c: Likewise.
91459 * math/s_ccosh.c: Likewise.
91460 * math/s_ccoshf.c: Likewise.
91461 * math/s_ccoshl.c: Likewise.
91462 * math/s_cexp.c: Likewise.
91463 * math/s_cexpf.c: Likewise.
91464 * math/s_cexpl.c: Likewise.
91465 * math/s_clog.c: Likewise.
91466 * math/s_clog10.c: Likewise.
91467 * math/s_clog10f.c: Likewise.
91468 * math/s_clog10l.c: Likewise.
91469 * math/s_clogf.c: Likewise.
91470 * math/s_clogl.c: Likewise.
91471 * math/s_csin.c: Likewise.
91472 * math/s_csinf.c: Likewise.
91473 * math/s_csinh.c: Likewise.
91474 * math/s_csinhf.c: Likewise.
91475 * math/s_csinhl.c: Likewise.
91476 * math/s_csinl.c: Likewise.
91477 * math/s_csqrt.c: Likewise.
91478 * math/s_csqrtf.c: Likewise.
91479 * math/s_csqrtl.c: Likewise.
91480 * math/s_ctan.c: Likewise.
91481 * math/s_ctanf.c: Likewise.
91482 * math/s_ctanh.c: Likewise.
91483 * math/s_ctanhf.c: Likewise.
91484 * math/s_ctanhl.c: Likewise.
91485 * math/s_ctanl.c: Likewise.
91486 * math/s_ldexp.c: Likewise.
91487 * math/s_ldexpf.c: Likewise.
91488 * math/s_ldexpl.c: Likewise.
91489 * math/s_significand.c: Likewise.
91490 * math/s_significandf.c: Likewise.
91491 * math/s_significandl.c: Likewise.
91492 * math/w_acos.c: Likewise.
91493 * math/w_acosf.c: Likewise.
91494 * math/w_acosh.c: Likewise.
91495 * math/w_acoshf.c: Likewise.
91496 * math/w_acoshl.c: Likewise.
91497 * math/w_acosl.c: Likewise.
91498 * math/w_asin.c: Likewise.
91499 * math/w_asinf.c: Likewise.
91500 * math/w_asinl.c: Likewise.
91501 * math/w_atan2.c: Likewise.
91502 * math/w_atan2f.c: Likewise.
91503 * math/w_atan2l.c: Likewise.
91504 * math/w_atanh.c: Likewise.
91505 * math/w_atanhf.c: Likewise.
91506 * math/w_atanhl.c: Likewise.
91507 * math/w_cosh.c: Likewise.
91508 * math/w_coshf.c: Likewise.
91509 * math/w_coshl.c: Likewise.
91510 * math/w_dremf.c: Likewise.
91511 * math/w_exp10.c: Likewise.
91512 * math/w_exp10f.c: Likewise.
91513 * math/w_exp10l.c: Likewise.
91514 * math/w_exp2.c: Likewise.
91515 * math/w_exp2f.c: Likewise.
91516 * math/w_fmod.c: Likewise.
91517 * math/w_fmodf.c: Likewise.
91518 * math/w_fmodl.c: Likewise.
91519 * math/w_hypot.c: Likewise.
91520 * math/w_hypotf.c: Likewise.
91521 * math/w_hypotl.c: Likewise.
91522 * math/w_j0.c: Likewise.
91523 * math/w_j0f.c: Likewise.
91524 * math/w_j0l.c: Likewise.
91525 * math/w_j1.c: Likewise.
91526 * math/w_j1f.c: Likewise.
91527 * math/w_j1l.c: Likewise.
91528 * math/w_jn.c: Likewise.
91529 * math/w_jnf.c: Likewise.
91530 * math/w_jnl.c: Likewise.
91531 * math/w_lgamma.c: Likewise.
91532 * math/w_lgamma_r.c: Likewise.
91533 * math/w_lgammaf.c: Likewise.
91534 * math/w_lgammaf_r.c: Likewise.
91535 * math/w_lgammal.c: Likewise.
91536 * math/w_lgammal_r.c: Likewise.
91537 * math/w_log.c: Likewise.
91538 * math/w_log10.c: Likewise.
91539 * math/w_log10f.c: Likewise.
91540 * math/w_log10l.c: Likewise.
91541 * math/w_log2.c: Likewise.
91542 * math/w_log2f.c: Likewise.
91543 * math/w_log2l.c: Likewise.
91544 * math/w_logf.c: Likewise.
91545 * math/w_logl.c: Likewise.
91546 * math/w_pow.c: Likewise.
91547 * math/w_powf.c: Likewise.
91548 * math/w_powl.c: Likewise.
91549 * math/w_remainder.c: Likewise.
91550 * math/w_remainderf.c: Likewise.
91551 * math/w_remainderl.c: Likewise.
91552 * math/w_scalb.c: Likewise.
91553 * math/w_scalbf.c: Likewise.
91554 * math/w_scalbl.c: Likewise.
91555 * math/w_sinh.c: Likewise.
91556 * math/w_sinhf.c: Likewise.
91557 * math/w_sinhl.c: Likewise.
91558 * math/w_sqrt.c: Likewise.
91559 * math/w_sqrtf.c: Likewise.
91560 * math/w_sqrtl.c: Likewise.
91561 * math/w_tgamma.c: Likewise.
91562 * math/w_tgammaf.c: Likewise.
91563 * math/w_tgammal.c: Likewise.
91564
91565 * po/ja.po: Update from translation team.
91566
91567 2011-09-29 Andreas Jaeger <aj@suse.de>
91568
91569 [BZ #13179]
91570 * sunrpc/netname.c (netname2host): Fix logic.
91571
91572 [BZ #6779]
91573 [BZ #6783]
91574 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91575 correctly.
91576 * math/w_remainder.c (__remainder): Likewise.
91577 * math/w_remainderf.c (__remainderf): Likewise.
91578 * math/libm-test.inc (remainder_test): Add test cases.
91579
91580 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91581
91582 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91583 sdiv_qrnnd.
91584
91585 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91586
91587 * string/test-memcmp.c: Avoid unncessary #defines.
91588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91589
91590 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91591
91592 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91593 Use new sse2 version for core i3 - i7 as it's faster
91594 than sse42 version.
91595 (bit_Prefer_PMINUB_for_stringop): New.
91596 * sysdeps/x86_64/rawmemchr.S: Update.
91597 Replace with faster SSE2 version.
91598 * sysdeps/x86_64/memrchr.S: New file.
91599 * sysdeps/x86_64/memchr.S: Update.
91600 Replace with faster SSE2 version.
91601
91602 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91603
91604 * elf/dl-load.c (lose): Add cast to avoid warning.
91605
91606 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91607
91608 * po/ca.po: Update from translation team.
91609
91610 * inet/getnetgrent_r.c: Hook up nscd.
91611 * nscd/Makefile (routines): Add nscd_netgroup.
91612 (nscd-modules): Add netgroupcache.
91613 (CFLAGS-netgroupcache.c): Define.
91614 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91615 (cache_search): Add const to second parameter.
91616 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91617 INNETGR.
91618 (dbs): Add netgrdb entry.
91619 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91620 (verify_persistent_db): Handle netgrdb.
91621 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91622 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91623 GETFDNETGR.
91624 (netgroup_response_header): Define.
91625 (innetgroup_response_header): Define.
91626 (datahead): Add netgroup_response_header and innetgroup_response_header
91627 elements.
91628 * nscd/nscd.conf: Add entries for netgroup cache.
91629 * nscd/nscd.h (dbtype): Add netgrdb.
91630 (_PATH_NSCD_NETGROUP_DB): Define.
91631 (netgroup_iov_disabled): Declare.
91632 (xmalloc, xcalloc, xrealloc): Move declarations here.
91633 (cache_search): Adjust prototype.
91634 Add netgroup-related prototypes.
91635 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91636 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91637 (__nscd_innetgr): Declare.
91638 * nscd/selinux.c (perms): Use access_vector_t as element type and
91639 add netgroup-related initializers.
91640 * nscd/netgroupcache.c: New file.
91641 * nscd/nscd_netgroup.c: New file.
91642 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91643 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91644 For four parameters use innetgr.
91645 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91646 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91647 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91648 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91649
91650 * nscd/connections.c (register_traced_file): Don't register file
91651 for disabled databases.
91652
91653 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91654
91655 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91656
91657 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91658 from tree and freeing node.
91659
91660 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91661
91662 * nss/nsswitch.c (__nss_database_lookup): Handle
91663 nss_parse_service_list out of memory case.
91664
91665 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91666
91667 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91668 out of memory case.
91669
91670 2011-10-04 Andreas Schwab <schwab@redhat.com>
91671
91672 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91673 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91674 pass it down.
91675 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91676 elf_machine_rela, elf_machine_lazy_rel.
91677 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91678 (ELF_DYNAMIC_DO_REL): Likewise.
91679 (ELF_DYNAMIC_DO_RELA): Likewise.
91680 (ELF_DYNAMIC_RELOCATE): Likewise.
91681 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91682 to ELF_DYNAMIC_DO_REL.
91683 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91684 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91685 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91686 elf_machine_rela.
91687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91688 skip_ifunc, don't call ifunc function if non-zero.
91689 (elf_machine_rela): Likewise.
91690 (elf_machine_lazy_rel): Likewise.
91691 (elf_machine_lazy_rela): Likewise.
91692 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91693 (elf_machine_lazy_rel): Likewise.
91694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91695 Likewise.
91696 (elf_machine_lazy_rel): Likewise.
91697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91698 Likewise.
91699 (elf_machine_lazy_rel): Likewise.
91700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91701 (elf_machine_lazy_rel): Likewise.
91702 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91703 (elf_machine_lazy_rel): Likewise.
91704 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91705 (elf_machine_lazy_rel): Likewise.
91706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91707 (elf_machine_lazy_rel): Likewise.
91708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91709 (elf_machine_lazy_rel): Likewise.
91710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91711 (elf_machine_lazy_rel): Likewise.
91712
91713 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91714
91715 * nss/nss_files/files-init.c (_nss_files_init): Use static
91716 initialization for all the *_traced_file variables.
91717
91718 2011-09-28 Andreas Schwab <schwab@redhat.com>
91719
91720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91721
91722 2011-09-27 Roland McGrath <roland@hack.frob.com>
91723
91724 [BZ #13226]
91725 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91726
91727 2011-09-27 Andreas Schwab <schwab@redhat.com>
91728
91729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91730 Reread the line before reparsing it.
91731
91732 2011-09-26 Andreas Schwab <schwab@redhat.com>
91733
91734 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91735
91736 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91737 Maxim Kuvyrkov <maxim@codesourcery.com>
91738 Joseph Myers <joseph@codesourcery.com>
91739
91740 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91741 if needed for __stack_chk_guard.
91742
91743 2011-09-19 Roland McGrath <roland@hack.frob.com>
91744
91745 * sysdeps/posix/spawni.c (script_execute): Always define it.
91746 It will be optimized away if unused.
91747 (maybe_script_execute): New function.
91748 (__spawni): Call it.
91749
91750 * Makerules: Don't include tls.make.
91751 (config-tls): Always set to thread.
91752 * tls.make.c: File removed.
91753
91754 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91755
91756 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91757 * config.make.in (CPPFLAGS-config): New substituted variable.
91758
91759 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91760
91761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91762
91763 [BZ #13192]
91764 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91765 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91766
91767 2011-09-15 Roland McGrath <roland@hack.frob.com>
91768
91769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91770 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91772 (CALL_FAIL): Likewise.
91773 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91774 (CALL_FAIL): Macro removed.
91775 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91776
91777 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91778
91779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91780 for __FINITE_MATH_ONLY__ == 1.
91781
91782 2011-09-15 Andreas Schwab <schwab@redhat.com>
91783
91784 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91785 __ieee754_sqrt instead of sqrt.
91786 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91787 __ieee754_sqrtf instead of sqrtf.
91788 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91789 __floorf instead of floorf.
91790 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91791 __floorf, __truncf instead of floorf, truncf.
91792
91793 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91794
91795 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91796
91797 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91798 __extern_always_inline.
91799 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91800 32-bit.
91801
91802 2011-09-14 Andreas Schwab <schwab@redhat.com>
91803
91804 * elf/rtld.c (dl_main): Also relocate in dependency order when
91805 doing symbol dependency testing.
91806
91807 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91808
91809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91810 Always define `refsym'.
91811
91812 2011-09-13 Andreas Schwab <schwab@redhat.com>
91813
91814 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91815 (__FD_ELT): Renamed from __FDELT.
91816 * misc/bits/select2.h (__FD_ELT): Likewise.
91817 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91818 __FD_MASK instead of __FDELT, __FDMASK.
91819 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91820 Likewise.
91821 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91822 Likewise.
91823
91824 * elf/Makefile (gen-ldd): Fix pattern.
91825
91826 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91827 (init_tls): Likewise.
91828
91829 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91830
91831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91832
91833 2011-09-12 Andreas Schwab <schwab@redhat.com>
91834
91835 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91836 `struct cmsghdr *' instead of `void *'.
91837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91838 Likewise.
91839
91840 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91841
91842 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91843 if non-absolute.
91844 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91845 ldd_rewrite_script.
91846
91847 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91848
91849 * configure.in: Remove --with-tls option.
91850 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91851 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91852 out in case it is missing.
91853 * sysdeps/ia64/elf/configure.in: Likewise.
91854 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91855 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91856 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91857 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91858 * sysdeps/sh/elf/configure.in: Likewise.
91859 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91861 * sysdeps/x86_64/elf/configure.in: Likewise.
91862 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91863 * sysdeps/mach/hurd/tls.h: Likewise.
91864
91865 [BZ #13067]
91866 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91867
91868 [BZ #13090]
91869 * configure.in: Fix use of AC_INIT.
91870
91871 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91872
91873 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91874
91875 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91876 __set_errno.
91877 * malloc/hooks.c: Likewise.
91878
91879 [BZ #11929]
91880 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91881 variables statically.
91882 (narenas): Initialize.
91883 (list_lock): Initialize.
91884 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91885 initializtion of main_arena and list_lock. Small cleanups.
91886 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91887 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91888 Add initializers to main_arena and mp_.
91889 (malloc_state): Remove pagesize member. Change all users to use
91890 GLRO(dl_pagesize).
91891
91892 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91893 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91894 is always initialized.
91895
91896 * malloc/malloc.c: Removed unused configurations and dead code.
91897 * malloc/arena.c: Likewise.
91898 * malloc/hooks.c: Likewise.
91899 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91900
91901 * include/tls.h: Removed. USE___THREAD must always be defined.
91902 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91903 * elf/dl-libc.c: Likewise.
91904 * elf/dl-tsd.c: Likewise.
91905 * include/errno.h: Likewise.
91906 * include/netdb.h: Likewise.
91907 * include/resolv.h: Likewise.
91908 * inet/herrno-loc.c: Likewise.
91909 * inet/herrno.c: Likewise.
91910 * malloc/arena.c: Likewise.
91911 * malloc/hooks.c: Likewise.
91912 * malloc/malloc.c: Likewise.
91913 * resolv/res-state.c: Likewise.
91914 * resolv/res_libc.c: Likewise.
91915 * sysdeps/i386/dl-machine.h: Likewise.
91916 * sysdeps/ia64/dl-machine.h: Likewise.
91917 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91918 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91919 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91920 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91921 * sysdeps/sh/dl-machine.h: Likewise.
91922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91924 * sysdeps/unix/i386/sysdep.S: Likewise.
91925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91926 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91931 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91935 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91936 * sysdeps/x86_64/dl-machine.h: Likewise.
91937 * tls.make.c: Likewise.
91938
91939 * configure.in: Remove --with-__thread option. Make tests for
91940 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91941 tls_model attribute fail if no support is available. Remove
91942 USE_IN_LIBIO.
91943 * Makeconfig: Adjust for dropped configure option. All features are
91944 now mandatory.
91945 * Makerules: Likewise.
91946 * Versions.def: Likewise.
91947 * argp/argp-fmtstream.c: Likewise.
91948 * argp/argp-fmtstream.h: Likewise.
91949 * argp/argp-help.c: Likewise.
91950 * assert/assert.c: Likewise.
91951 * config.h.in: Likewise.
91952 * config.make.in: Likewise.
91953 * configure: Likewise.
91954 * configure.in: Likewise.
91955 * csu/Versions: Likewise.
91956 * csu/init.c: Likewise.
91957 * elf/tst-audit2.c: Likewise.
91958 * elf/tst-tls10.c: Likewise.
91959 * elf/tst-tls10.h: Likewise.
91960 * elf/tst-tls11.c: Likewise.
91961 * elf/tst-tls12.c: Likewise.
91962 * elf/tst-tls14.c: Likewise.
91963 * elf/tst-tlsmod11.c: Likewise.
91964 * elf/tst-tlsmod12.c: Likewise.
91965 * elf/tst-tlsmod13.c: Likewise.
91966 * elf/tst-tlsmod13a.c: Likewise.
91967 * elf/tst-tlsmod14a.c: Likewise.
91968 * elf/tst-tlsmod15b.c: Likewise.
91969 * elf/tst-tlsmod16a.c: Likewise.
91970 * elf/tst-tlsmod16b.c: Likewise.
91971 * elf/tst-tlsmod7.c: Likewise.
91972 * elf/tst-tlsmod8.c: Likewise.
91973 * elf/tst-tlsmod9.c: Likewise.
91974 * gmon/gmon.c: Likewise.
91975 * grp/fgetgrent_r.c: Likewise.
91976 * grp/putgrent.c: Likewise.
91977 * hurd/fopenport.c: Likewise.
91978 * include/libc-symbols.h: Likewise.
91979 * include/tls.h: Likewise.
91980 * intl/gettextP.h: Likewise.
91981 * intl/loadinfo.h: Likewise.
91982 * locale/global-locale.c: Likewise.
91983 * locale/localeinfo.h: Likewise.
91984 * mach/devstream.c: Likewise.
91985 * malloc/arena.c: Likewise.
91986 * malloc/set-freeres.c: Likewise.
91987 * misc/err.c: Likewise.
91988 * misc/getttyent.c: Likewise.
91989 * misc/mntent_r.c: Likewise.
91990 * posix/getopt.c: Likewise.
91991 * posix/wordexp.c: Likewise.
91992 * pwd/fgetpwent_r.c: Likewise.
91993 * resolv/Versions: Likewise.
91994 * resolv/res_hconf.c: Likewise.
91995 * shadow/fgetspent_r.c: Likewise.
91996 * shadow/putspent.c: Likewise.
91997 * stdio-common/printf_fphex.c: Likewise.
91998 * stdio-common/tmpfile.c: Likewise.
91999 * stdlib/abort.c: Likewise.
92000 * stdlib/fmtmsg.c: Likewise.
92001 * sunrpc/auth_unix.c: Likewise.
92002 * sunrpc/clnt_perr.c: Likewise.
92003 * sunrpc/clnt_tcp.c: Likewise.
92004 * sunrpc/clnt_udp.c: Likewise.
92005 * sunrpc/clnt_unix.c: Likewise.
92006 * sunrpc/openchild.c: Likewise.
92007 * sunrpc/svc_simple.c: Likewise.
92008 * sunrpc/svc_tcp.c: Likewise.
92009 * sunrpc/svc_udp.c: Likewise.
92010 * sunrpc/svc_unix.c: Likewise.
92011 * sunrpc/xdr.c: Likewise.
92012 * sunrpc/xdr_array.c: Likewise.
92013 * sunrpc/xdr_rec.c: Likewise.
92014 * sunrpc/xdr_ref.c: Likewise.
92015 * sunrpc/xdr_stdio.c: Likewise.
92016
92017 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92018
92019 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92020
92021 2011-07-03 Andreas Jaeger <aj@suse.de>
92022
92023 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92024 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92025 regenerate with gen-libm-tests.pl.
92026
92027 2010-05-12 Petr Baudis <pasky@suse.cz>
92028
92029 [BZ #11589]
92030 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92031 around j0() zero points by switching to j1().
92032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92036
92037 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92038
92039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92040 instead of 0.
92041 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92042 instead of 0.
92043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92044 Patch in part by Pavel Roskin <proski@gnu.org>.
92045
92046 [BZ #13138]
92047 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92048 realloc.
92049 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92050 Free memory block if necessary.
92051
92052 [BZ #12847]
92053 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92054 be NULL. Don't lock in this case.
92055
92056 2011-09-09 Roland McGrath <roland@hack.frob.com>
92057
92058 * elf/elf.h (ELFOSABI_GNU): New macro.
92059 (ELFOSABI_LINUX): Define to that.
92060
92061 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92062
92063 * string/strncat.c (strncat): Undef the symbol in case it has been
92064 defined in bits/string.h.
92065
92066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92067
92068 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92069
92070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92071 link map.
92072
92073 2011-08-17 Andreas Jaeger <aj@suse.de>
92074
92075 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92076
92077 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92078 Ian Lance Taylor <iant@google.com>
92079
92080 * math/libm-test.inc (lround_test): New testcase.
92081 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92082
92083 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92084
92085 * Makefile: Remove support for automatic cvs check-ins.
92086 * Makerules: Likewise.
92087 * config.make.in: Likewise.
92088 * configure.in: Likewise.
92089 * intl/Makefile: Likewise.
92090 * locale/Makefile: Likewise.
92091 * po/Makefile: Likewise.
92092 * posix/Makefile: Likewise.
92093 * sysdeps/gnu/Makefile: Likewise.
92094 * sysdeps/mach/hurd/Makefile: Likewise.
92095 * sysdeps/sparc/sparc32/Makefile: Likewise.
92096
92097 [BZ #13118]
92098 * posix/Makefile (bug-regex32-ENV): Define.
92099 Patch by John Stanley <jpsinthemix@verizon.net>.
92100
92101 * misc/Makefile (headers): Add bits/select2.h.
92102 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92103 * misc/bits/select2.h: New file.
92104 * include/bits/select2.h: New file.
92105 * debug/Makefile (routines): Add fdelt_chk.
92106 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92107 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92108 FD_ISSET.
92109 * debug/fdelt_chk.c: New file.
92110
92111 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92112 * wcsmbs/test-wmemcmp.c: Likewise.
92113 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92114 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92115
92116 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92117
92118 * string/Makefile (strop-tests): Add memcmp.
92119 * string/test-wmemcmp.c: New file.
92120 * string/test-memcmp.c: Add wmemcmp support.
92121
92122 2011-09-08 Roland McGrath <roland@hack.frob.com>
92123
92124 [BZ #13153]
92125 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92126 2011-07-19 change.
92127
92128 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92129 garbage value in a __mach_port_mod_refs call in the cases of the
92130 task-self and thread-self ports.
92131
92132 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92133
92134 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92135
92136 2011-09-08 Andreas Schwab <schwab@redhat.com>
92137
92138 * elf/dl-load.c (lose): Check for non-null L.
92139
92140 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92141
92142 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92143
92144 * elf/dl-libc.c (dlerror_run): Pass back error code from
92145 dl_catch_error.
92146
92147 [BZ #13123]
92148 * elf/dl-load.c (lose): Free l_origin if it is valid.
92149
92150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92151 names.
92152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92157 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92158
92159 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92160
92161 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92162 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92165 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92166 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92167 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92168 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92169 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92170 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92171
92172 2011-08-15 Alan Modra <amodra@gmail.com>
92173
92174 [BZ #13092]
92175 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92176 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92177 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92178 ppc_mcount to static-only-routines.
92179 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92180 __mcount_internal.
92181 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92182 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92183
92184 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92185
92186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92187 for finite and infinity parameters.
92188
92189 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92190
92191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92192 and add nop instructions for throughput optimization.
92193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92194
92195 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92196
92197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92198 aligned copy for power7 with vector-scalar instructions.
92199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92200
92201 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92202
92203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92204 AVX check.
92205
92206 2011-09-07 Andreas Schwab <schwab@redhat.com>
92207
92208 [BZ #13144]
92209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92210 last change.
92211
92212 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92213
92214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92215 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92216 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92218 clock_gettime.
92219
92220 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92221
92222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92223 Forgot to demangle the pointer.
92224
92225 * sysdeps/i386/sysdep.h: Define atom_text_section.
92226 * sysdeps/x86_64/sysdep.h: Likewise.
92227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92228 section with atom_text_section.
92229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92230 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92234
92235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92237 already be defined. Change to take two parameters and don't assign
92238 result to variable. Adjust all users.
92239 Define INTERNAL_GETTIME if not already defined.
92240 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92241 call.
92242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92243 HAVE_CLOCK_GETTIME_VSYSCALL.
92244 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92245
92246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92247 gettimeofday vsyscall, just use time.
92248
92249 2011-09-06 Andreas Schwab <schwab@redhat.com>
92250
92251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92252 <errno.h>.
92253
92254 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92255
92256 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92257 syscall on x86-64.
92258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92259 syscall.
92260 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92262 syscall if possible.
92263
92264 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92265
92266 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92267 e_ident. Don't pass to find_mapsXX.
92268 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92269
92270 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92271
92272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92273 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92274 * sysdeps/x86_64/multiarch/strchr.S: Update.
92275 Check bit_slow_BSF bit.
92276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92277 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92278 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92279
92280 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92281
92282 [BZ #13134]
92283 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92284 before glibc 2.15.
92285 (tryshell): Define.
92286 (__spawni): Change last parameter to be flag. Test
92287 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92288 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92289 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92290 * posix/spawni.c: Likewise.
92291 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92292 * posix/spawnp.c: Likewise. Change normal version to use
92293 SPAWN_XFLAGS_USE_PATH.
92294 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92295 SPAWN_XFLAGS_TRY_SHELL.
92296
92297 [BZ #13150]
92298 * posix/glob.h: Remove gcc 1.x support.
92299
92300 [BZ #13068]
92301 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92302
92303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92304
92305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92306 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92307 strrchr-sse2-bsf
92308 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92309 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92312 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92314
92315 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92316
92317 * sysdeps/x86_64/wcscmp.S: New file.
92318
92319 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92320 wcscmp-c wcscmp-sse2
92321 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92322 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92324 * wcsmbs/wcscmp.c: Allow renaming.
92325
92326 2011-09-05 David S. Miller <davem@davemloft.net>
92327
92328 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92329 stack slot, rather than the struct return pointer slot.
92330 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92331 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92334
92335 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92336
92337 * po/ja.po: Update from translation team.
92338
92339 [BZ #13144]
92340 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92341 kernel in 64-bit binaries.
92342
92343 2011-09-01 David S. Miller <davem@davemloft.net>
92344
92345 * elf/elf.h (HWCAP_SPARC_*): Move to..
92346 * sysdeps/sparc/sysdep.h: this new file and add new values.
92347 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92348 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92349 _DL_HWCAP_COUNT to 24.
92350 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92351 entries.
92352 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92353 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92354 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92356 instead of magic constants.
92357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92358
92359 2011-08-31 David S. Miller <davem@davemloft.net>
92360
92361 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92363 Reimplement to do errno handling inline.
92364 (SYSCALL_ERROR_HANDLER): New macro.
92365 (__SYSCALL_STRING): Do not do errno handling in asm.
92366 (__CLONE_SYSCALL_STRING): Delete.
92367 (__INTERNAL_SYSCALL_STRING): Delete.
92368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92369 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92370 (PSEUDO): Reimplement to do errno handling inline.
92371 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92372 (SYSCALL_ERROR_HANDLER): New macro.
92373 (__SYSCALL_STRING): Do not do errno handling in asm.
92374 (__CLONE_SYSCALL_STRING): Delete.
92375 (__INTERNAL_SYSCALL_STRING): Delete.
92376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92377 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92378 i386.
92379 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92380 (inline_syscall*): Add 'err' argument.
92381 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92382 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92383 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92384 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92385
92386 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92388
92389 2011-08-30 Andreas Schwab <schwab@redhat.com>
92390
92391 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92392
92393 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92394
92395 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92396 directive.
92397
92398 2011-08-24 David S. Miller <davem@davemloft.net>
92399
92400 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92401
92402 2011-08-24 Andreas Schwab <schwab@redhat.com>
92403
92404 * elf/Makefile: Add rules to build and run unload8 test.
92405 * elf/unload8.c: New file.
92406 * elf/unload8mod1.c: New file.
92407 * elf/unload8mod1x.c: New file.
92408 * elf/unload8mod2.c: New file.
92409 * elf/unload8mod3.c: New file.
92410
92411 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92412 it wasn't used.
92413
92414 2011-08-23 David S. Miller <davem@davemloft.net>
92415
92416 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92417 subtract stack bias.
92418 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92419 %sp not %fp in calculations.
92420 (_JMPBUF_UNWINDS_ADJ): Likewise.
92421
92422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92423 (aio_suspend): Call it to force an exception region around the
92424 AIO_MISC_WAIT() invocation.
92425
92426 2011-08-23 Andreas Schwab <schwab@redhat.com>
92427
92428 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92429 backslash.
92430
92431 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92432
92433 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92434 protection macro.
92435 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92436 and <dl-machine.h>.
92437 (Elf64_FuncDesc): Remove.
92438
92439 2011-08-22 David S. Miller <davem@davemloft.net>
92440
92441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92442 sigaltstack check, add missing cfi directives.
92443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92444 missing cfi directives, and sigaltstack handling.
92445
92446 2011-08-16 Andreas Schwab <schwab@redhat.com>
92447
92448 [BZ #11724]
92449 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92450 object is seen twice.
92451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92452
92453 * elf/Makefile (distribute): Add tst-initorder2.c.
92454 (tests): Add tst-initorder2.
92455 (modules-names): Add tst-initorder2a tst-initorder2b
92456 tst-initorder2c tst-initorder2d. Add rules to build them.
92457 ($(objpfx)tst-initorder2.out): New rule.
92458 * elf/tst-initorder2.c: New file.
92459 * elf/tst-initorder2.exp: New file.
92460
92461 2011-08-22 Andreas Schwab <schwab@redhat.com>
92462
92463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92464
92465 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92466 dependencies back to end of function.
92467
92468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92469 $(elfobjdir)/ld.so.
92470
92471 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92472
92473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92474 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92476 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92477 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92478 of __vdso_gettimeofday.
92479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92480 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92481 attribute_hidden.
92482 (_libc_vdso_platform_setup): Remove initialization of
92483 __vdso_gettimeofday and __vdso_time.
92484
92485 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92486
92487 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92488 and fgetc_unlocked.
92489 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92490 getc_unlocked.
92491
92492 * elf/dl-open.c (add_to_global): Report additions to the global scope
92493 for LD_DEBUG=scopes.
92494 (dl_open_worker): Also print scope of newly loaded dependencies.
92495 (_dl_show_scope): Indicate if there is no scope.
92496
92497 [BZ #13114]
92498 * stdio-common/Makefile (tests): Add bug24.
92499 * stdio-common/bug24.c: New file.
92500
92501 2011-08-19 Andreas Jaeger <aj@suse.de>
92502
92503 [BZ #13114]
92504 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92505 non-existant file when using close-on-exec mode.
92506
92507 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92508
92509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92510 the very first instruction.
92511
92512 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92513 the CFI state in the end.
92514 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92515 inclusion of dl-trampoline.h.
92516 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92517
92518 2011-08-19 Andreas Schwab <schwab@redhat.com>
92519
92520 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92521 expectations for long double.
92522
92523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92524 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92525
92526 2011-08-14 David S. Miller <davem@davemloft.net>
92527
92528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92529 artificual limit depends upon the system page size.
92530
92531 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92532
92533 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92534 * resolv/Makefile: Define CFLAGS-libresolv.
92535
92536 2011-08-17 Andreas Schwab <schwab@redhat.com>
92537
92538 * nss/makedb.c (compute_tables): Make variables used in nested
92539 function static.
92540
92541 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92542
92543 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92544 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92545 if buffer was too small.
92546
92547 * elf/pldd.c (main): Attach to all threads in the process.
92548 Rewrite /proc handling to use *at functions.
92549
92550 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92551
92552 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92553 specifies first scope to show.
92554 (dl_open_worker): Update callers. Move printing scope of new
92555 object to before the relocation.
92556 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92557 * sysdeps/generic/ldsodefs.h: Update declaration.
92558
92559 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92560 string for the scope number.
92561
92562 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92563
92564 * nscd/servicescache.c (cache_addserv): Make sure written is always
92565 initialized.
92566
92567 2011-08-14 Roland McGrath <roland@hack.frob.com>
92568
92569 * sysdeps/i386/i486/bits/atomic.h
92570 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92571 statement expression, so as to suppress "set but not used" warning.
92572 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92573
92574 * string/strncat.c (STRNCAT): Use prototype definition.
92575
92576 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92577 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92578 -Iprograms here.
92579 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92580 (localedef-modules): Add localedef.
92581 (locale-modules): Add locale.
92582
92583 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92584 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92585 to avoid a warning.
92586
92587 2011-08-14 David S. Miller <davem@davemloft.net>
92588
92589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92590 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92591
92592 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92593
92594 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92595 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92596 * elf/rtld.c (dl_main): Set l_name of vDSO.
92597 Call _dl_show_scope when DL_DEBUG_SCOPES.
92598 (process_dl_debug): Recognize scopes flag and also set it for all.
92599 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92600 Declare _dl_show_scope.
92601
92602 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92603 (do_dlopen): Pass caller_dlopen to dl_open.
92604 (__libc_dlopen_mode): Initialize caller_dlopen.
92605
92606 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92607 of libc. Make tolower call locale-independent. Optimize a bit by
92608 using isdigit instead of isalnum.
92609 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92610
92611 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92612
92613 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92614 was a dependency or dynamically loaded.
92615
92616 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92617
92618 * intl/l10nflist.c: Allow architecture-specific pop function.
92619 * sysdeps/x86_64/l10nflist.c: New file.
92620
92621 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92622 classification.
92623
92624 2011-08-10 Andreas Schwab <schwab@redhat.com>
92625
92626 * include/dirent.h: Add libc_hidden_proto for scandirat and
92627 scandirat64. Don't declare __scandirat64.
92628 * dirent/scandirat.c: Add libc_hidden_def.
92629 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92630 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92631
92632 2011-08-10 David S. Miller <davem@davemloft.net>
92633
92634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92635 enum.
92636 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92639
92640 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92641
92642 * Versions.def [libc]: Add GLIBC_2.15.
92643 * dirent/Makefile (routines): Add scandirat and scandirat64.
92644 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92645 GLIBC_2.15.
92646 * dirent/dirent.h: Declare scandirat and scandirat64.
92647 * dirent/scandirat.c: New file.
92648 * dirent/scandirat64.c: New file.
92649 * sysdeps/wordsize-64/scandirat.c: New file.
92650 * sysdeps/wordsize-64/scandirat64.c: New file.
92651 * dirent/opendir.c: Define opendirat.
92652 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92653 using scandirat.
92654 * dirent/scandir64.c: Adjust for scandir.c change.
92655 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92656 __scandirat64, and __scandir_cancel_handler.
92657 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92658 additional parameter and use openat instead of open (outside of ld.so).
92659 Add new __opendir as wrapper around __opendirat.
92660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92661 here without requiring old scandirat implementation.
92662
92663 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92664
92665 * dirent/scandir.c (cancel_handler): Renamed to
92666 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92667 defined. Adjust users.
92668 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92670
92671 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92672
92673 * string/test-string.h (IMPL): Use __STRING to expand name and then
92674 stringify it.
92675
92676 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92677 of cleanups.
92678
92679 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92680
92681 * string/Makefile: Update.
92682 (strop-tests): Append strncat.
92683 * string/test-wcscmp.c: New file.
92684 New comprehensive test for wcscmp.
92685 * string/test-strcmp.c: Update.
92686 (WIDE): New define.
92687
92688 2011-07-22 Andreas Schwab <schwab@redhat.com>
92689
92690 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92691 line.
92692
92693 2011-07-26 Andreas Schwab <schwab@redhat.com>
92694
92695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92696 encoding to ACE if AI_IDN.
92697
92698 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92699
92700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92701 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92702
92703 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92704
92705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92706 Fix overflow bug in strncat.
92707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92708
92709 * string/test-strncat.c: Update.
92710 Add new tests for checking overflow bugs.
92711
92712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92713
92714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92715 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92716 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92717 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92719 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92720 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92721 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92722 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92723
92724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92725 (USE_AS_STRCAT): Define.
92726 Add strcat and strncat support.
92727 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92728
92729 2011-07-25 Andreas Schwab <schwab@redhat.com>
92730
92731 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92732 __n bigger than INT_MAX+1.
92733 (__strncmp_g): Likewise.
92734
92735 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92736
92737 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92738 * libio/stido.h: Likewise.
92739
92740 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92741 (AF_NFC): Define.
92742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92743 (AF_NFC): Define.
92744
92745 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92746 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92750
92751 [BZ #13021]
92752 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92753 installed.
92754
92755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92756 typo.
92757 (_dl_x86_64_save_sse): Likewise.
92758
92759 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92760
92761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92762 OSXSAVE.
92763 (_dl_x86_64_save_sse): Likewise.
92764
92765 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92766
92767 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92768
92769 2011-07-21 Andreas Schwab <schwab@redhat.com>
92770
92771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92772 change.
92773 (_dl_x86_64_save_sse): Use correct AVX check.
92774
92775 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92776
92777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92778 bug in strncpy/strncat.
92779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92780
92781 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92782
92783 * string/tester.c (test_strcat): Add tests for different alignments
92784 of source and destination.
92785 (test_strncat): Likewise.
92786
92787 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92788
92789 [BZ #12852]
92790 * posix/glob.c (glob): Check passed in values before using them in
92791 expressions to avoid some overflows.
92792 (glob_in_dir): Likewise.
92793
92794 [BZ #13007]
92795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92796 check for AVX enablement so that we don't crash with old kernels and
92797 new hardware.
92798 * elf/tst-audit4.c: Add same checks here.
92799 * elf/tst-audit6.c: Likewise.
92800
92801 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92802
92803 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92804
92805 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92806
92807 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92808
92809 * po/cs.po: Update from translation team.
92810 * po/bg.po: Likewise.
92811
92812 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92813
92814 * misc/sys/cdefs.h: Add support for const attribute.
92815 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92816 to gnu_dev_{major,minor,makedev} functions.
92817
92818 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92819
92820 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92821
92822 2011-07-20 Andreas Schwab <schwab@redhat.com>
92823
92824 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92825 strlen results.
92826
92827 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92828
92829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92830 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92831 register in order to avoid conflicts with the soft frame pointer
92832 being held in r11 when necessary.
92833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92834 (INTERNAL_VSYSCALL_NCS): Likewise.
92835
92836 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92837
92838 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92839 * elf/dl-fini.c (_dl_fini): Adjust caller.
92840 * elf/dl-close.c (_dl_close_worker): Likewise.
92841 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92842
92843 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92844
92845 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92846 "aux_cache->nlibs < 0".
92847
92848 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92849 in the reload-count case.
92850
92851 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92852
92853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92854 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92855 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92856 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92857 * sysdeps/x86_64/multiarch/strcat.S: New file.
92858 * sysdeps/x86_64/multiarch/strncat.S: New file.
92859 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92861 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92862 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92864 (USE_AS_STRCAT): Define.
92865 Add strcat and strncat support.
92866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92868 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92869 * string/strncat.c: Update.
92870 (USE_AS_STRNCAT): Define.
92871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92872 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92873 and i7.
92874 * sysdeps/x86_64/multiarch/init-arch.h
92875 (bit_Prefer_PMINUB_for_stringop): New.
92876 (index_Prefer_PMINUB_for_stringop): Likewise.
92877 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92878 bit_Prefer_PMINUB_for_stringop.
92879
92880 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92881
92882 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92883 buffer64.
92884 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92885 of casting of buffer.
92886 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92887 buffer32 and buffer64.
92888 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92889 writes instead of casting of buffer.
92890 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92891 buffer32.
92892 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92893 casting of buffer.
92894
92895 2011-07-19 Andreas Schwab <schwab@redhat.com>
92896
92897 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92898
92899 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92900
92901 * nscd/nscd.c (termination_handler): Don't do anything for a database
92902 if it has not yet been initialized.
92903
92904 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92905
92906 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92907
92908 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92909
92910 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92911
92912 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92913
92914 * po/nl.po: Update from translation team.
92915 * po/sv.po: Likewise.
92916
92917 2011-07-16 Roland McGrath <roland@hack.frob.com>
92918
92919 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92920 now disallowed by GCC.
92921
92922 * configure.in (use-default-link): Default to yes if a test -shared
92923 link meets our qualifications.
92924 * configure: Regenerated.
92925
92926 * config.make.in (output-format): New variable.
92927 * configure.in: Check for ld --print-output-format support.
92928 * configure: Regenerated.
92929 * Makerules ($(common-objpfx)format.lds)
92930 [$(output-format) != unknown]: Just use $(output-format),
92931 instead of the linker-script munging.
92932
92933 2011-07-14 Roland McGrath <roland@hack.frob.com>
92934
92935 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92936 of $(common-objpfx)shlib.lds.
92937 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92938
92939 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92940 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92941
92942 * configure.in (-z relro check): Adjust test code to add a large
92943 writable data section after it.
92944 * configure: Regenerated.
92945
92946 2011-07-11 Roland McGrath <roland@hack.frob.com>
92947
92948 * configure.in (-z relro check): Fix test code to make the variable
92949 truly const.
92950 * configure: Regenerated.
92951
92952 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92953
92954 * nscd/nscd.h (struct traced_file): Define.
92955 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92956 elements. Add traced_files.
92957 (inotify_fd): Declare.
92958 (register_traced_file): Declare.
92959 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92960 (inotify_fd): Export.
92961 (resolv_conf_descr): Remove.
92962 (nscd_init): Move inotify descriptor creation to main.
92963 Don't register files for notification here.
92964 (register_traced_file): New function.
92965 (invalidate_cache): Don't use reset_res to determine whether to call
92966 res_init, go through the list of registered files.
92967 (main_loop_poll): The inotify descriptors are now stored in the
92968 structures for the traced files.
92969 (main_loop_epoll): Likewise.
92970 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92971 to __nss_disable_nscd.
92972 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92973 for a database anymore. Check the records for all the registered
92974 files instead.
92975 * nss/Makefile (libnss_files-routines): Add files-init.
92976 (libnss_db-routines): Add db-init.
92977 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92978 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92979 * nss/nss_db/db-init.c: New file.
92980 * nss/nss_files/files-init.c: New file.
92981 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92982 __nss_lookup_function.
92983 (__nss_lookup_function): Call nss_load_library.
92984 (nss_load_all_libraries): New function.
92985 (__nss_disable_nscd): Take parameter with callback function for files
92986 to register. Set is_nscd. Load all the DSOs for the NSS modules
92987 used for the cached services.
92988 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92990 options for features to all the files in nscd.
92991
92992 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92993
92994 2011-07-10 Roland McGrath <roland@hack.frob.com>
92995
92996 * csu/elf-init.c (__libc_csu_init): Comment typo.
92997
92998 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92999
93000 * po/pl.po: Update from translation team.
93001 * po/ja.po: Likewise.
93002 * po/ru.po: Likewise.
93003 * po/ko.po: Likewise.
93004 * po/fr.po: Likewise.
93005
93006 2011-07-09 Roland McGrath <roland@hack.frob.com>
93007
93008 * configure.in (.ctors/.dtors header and trailer check):
93009 Use an empirical test on a built program.
93010 * configure: Regenerated.
93011
93012 * configure.in (-z relro check): Use an empirical test on a built DSO.
93013 Detect, but do not require, on ia64.
93014 * configure: Regenerated.
93015
93016 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93017 Update tests that use readelf to use $READELF instead.
93018 * configure: Regenerated.
93019
93020 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93021
93022 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93023 if the result is not used.
93024
93025 2011-07-05 Andreas Jaeger <aj@suse.de>
93026
93027 [BZ #9696]
93028 * stdlib/tst-strtod.c: Add testcase.
93029
93030 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93031
93032 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93033 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93034 The latter has a higher limit. Take additional parameter to pass to
93035 the new function.
93036 (__pathconf): Pass file to __statfs_link_max.
93037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93038 __statfs_link_max.
93039 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93040 __statfs_link_max.
93041
93042 [BZ #12868]
93043 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93045 Handle Lustre.
93046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93047 (__statfs_filesize_max): Likewise.
93048 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93049
93050 2011-07-05 Andreas Jaeger <aj@suse.de>
93051
93052 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93053
93054 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93055
93056 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93057 `status' variable.
93058 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93059 Likewise.
93060
93061 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93062
93063 * Makefile (strop-tests): Add strncat.
93064 * string/test-strncat.c: New file.
93065
93066 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93067
93068 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93069
93070 2011-06-21 Andreas Jaeger <aj@suse.de>
93071
93072 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93073 Copy rule from iconvdata/Makefile.
93074
93075 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93076
93077 [BZ #12922]
93078 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93079 but no long options are defined, just return 'W'.
93080
93081 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93082
93083 [BZ #9696]
93084 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93085
93086 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93087
93088 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93089 netgroups to read.
93090 (innetgr): Likewise.
93091
93092 2011-07-05 Roland McGrath <roland@hack.frob.com>
93093
93094 * config.make.in (install_root): Default to $(DESTDIR).
93095
93096 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93097
93098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93099
93100 2011-07-02 Roland McGrath <roland@hack.frob.com>
93101
93102 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93103
93104 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93105 containing directory rather than embedding absolute directory names.
93106
93107 * scripts/check-local-headers.sh: Rewritten using awk.
93108 Match by word, not by line. Print error messages for matches.
93109 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93110
93111 * Makerules [shlib-lds-flags empty]:
93112 ($(common-objpfx)libc_pic.opts): New target.
93113 ($(common-objpfx)libc_pic.os.clean): New target.
93114 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93115
93116 * config.make.in (OBJCOPY): New variable.
93117 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93118 * configure: Regenerated.
93119
93120 * config.make.in (use-default-link): New variable.
93121 * configure.in (use_default_link): Grok --with-default-link to set it.
93122 * configure: Regenerated.
93123 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93124 (shlib-lds, shlib-lds-flags): Define to empty.
93125
93126 * Makerules (shlib-lds): New variable.
93127 (shlib-lds-flags): New variable.
93128 (build-shlib, build-moduile, build-module-asneeded): Use it.
93129 ($(common-objpfx)libc.so): Use $(shlib-lds).
93130 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93131 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93132
93133 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93134 DT_FLAGS/DT_FLAGS_1 with zero flags.
93135
93136 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93137 linker script munging.
93138
93139 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93140
93141 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93142 as 128-bit value.
93143 * crypt/sha512.c (sha512_process_block): Perform total addition using
93144 128-bit if possible.
93145 (__sha512_finish_ctx): Likewise.
93146 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93147 as 64-bit value.
93148 * crypt/sha256.c (SWAP64): Define.
93149 (sha256_process_block): Perform total addition using 64-bit if
93150 possible.
93151 (__sha256_finish_ctx): Likewise.
93152
93153 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93154
93155 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93157 * nscd/hstcache.c (cache_addhst): Likewise.
93158 * nscd/grpcache.c (cache_addgr): Likewise.
93159 * nscd/aicache.c (addhstaiX): Likewise.
93160 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93161
93162 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93163
93164 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93166 * nscd/hstcache.c (cache_addhst): Likewise.
93167 * nscd/grpcache.c (cache_addgr): Likewise.
93168 * nscd/aicache.c (addhstaiX): Likewise.
93169
93170 2011-07-01 Andreas Schwab <schwab@redhat.com>
93171
93172 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93173 domain only when needed.
93174
93175 2011-06-30 Andreas Schwab <schwab@redhat.com>
93176
93177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93178 is always restored.
93179
93180 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93181
93182 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93183 are re-adding the entry.
93184 * nscd/servicescache.c (cache_addserv): Likewise.
93185
93186 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93187
93188 * sysdeps/generic/dl-irel.h: fix protection against multiple
93189 inclusions.
93190 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93191
93192 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93193
93194 [BZ #12935]
93195 * malloc/memusage.sh: Fix quoting in message.
93196 * debug/xtrace.sh: Likewise.
93197
93198 * configure.in: Remove support for --experimental-malloc option, make
93199 it the default.
93200 * config.make.in: Likewise.
93201 * malloc/Makefile: Likewise.
93202
93203 2011-06-27 Andreas Schwab <schwab@redhat.com>
93204
93205 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93206 two-byte characters.
93207
93208 2011-06-27 Roland McGrath <roland@hack.frob.com>
93209
93210 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93211 AC_CACHE_CHECK invocation.
93212 * configure: Regenerated.
93213
93214 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93215
93216 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93217
93218 [BZ #12350]
93219 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93220 bit from old_res_options.
93221
93222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93223
93224 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93225 value type for setfct.
93226
93227 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93228
93229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93230 __gettimeofday instead of gettimeofday.
93231
93232 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93233
93234 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93235
93236 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93237
93238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93239
93240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93241 info.
93242
93243 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93244
93245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93246 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93247 strcpy-sse2-unaligned strncpy-sse2-unaligned
93248 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93249 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93250 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93251 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93252 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93255 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93256 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93257 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93258 (STRCPY): Support SSE2 and SSSE3 versions.
93259
93260 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93261
93262 [BZ #12874]
93263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93264 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93265 kernels which artificially limit size of requests.
93266
93267 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93268
93269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93270 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93271 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93272 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93273 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93274 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93275 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93276 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93277 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93279 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93280 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93281 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93282 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93283 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93285 Enable unaligned load optimization for Intel Core i3, i5 and i7
93286 processors.
93287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93288 Define.
93289 (index_Fast_Unaligned_Load): Define.
93290 (HAS_FAST_UNALIGNED_LOAD): Define.
93291
93292 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93293
93294 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93295
93296 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93297
93298 [BZ #12907]
93299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93300 until it is clear that the information is realy needed.
93301 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93302
93303 2011-06-22 Andreas Schwab <schwab@redhat.com>
93304
93305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93306
93307 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93308
93309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93310 /sys/devices/system/cpu/online if it is usable.
93311
93312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93313 reading the information from the /proc filesystem to once a second.
93314
93315 2011-06-21 Andreas Jaeger <aj@suse.de>
93316
93317 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93318 NULL after inclusion of kernel headers.
93319
93320 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93321
93322 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93323 calls to internal_setent.
93324
93325 [BZ #12885]
93326 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93327 addresses using gethostbyname4_r ignore IPv4 addresses.
93328
93329 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93330 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93331
93332 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93333
93334 2011-06-20 David S. Miller <davem@davemloft.net>
93335
93336 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93337 inclusions.
93338 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93339
93340 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93341 (elf_irel): Use it.
93342 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93343 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93344 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93345 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93346 * sysdeps/x86_64/dl-irel.h: Likewise.
93347
93348 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93349 * elf/dl-sym.c: Likewise.
93350
93351 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93352
93353 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93354 need to dereference resplen2.
93355
93356 2011-06-14 Andreas Schwab <schwab@redhat.com>
93357
93358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93359
93360 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93361
93362 * Makeconfig: Define vardbdir and inst_vardbdir.
93363 * nss/Makefile: Add rules to install db-Makefile.
93364
93365 * nss/nss_db/db-XXX.c: Cleanup.
93366
93367 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93368 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93369 GLIBC_PRIVATE.
93370 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93371 * nss/makedb.c: Implement -g option to specify that value strings
93372 are generated and should not be added to table iterated over for
93373 get*ent calls.
93374 * nss/nss_db/db-initgroups.c: New file.
93375
93376 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93377 interface.
93378
93379 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93380 (internal_getgrouplist): Adjust to name change.
93381 Update use_initgroups_entry if this is not the first call.
93382 * nss/databases.def: Add initgroups entry.
93383
93384 * nss/makedb.c (compute_tables): Check result of multiple hash table
93385 sizes to minimize maximum chain length.
93386
93387 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93388
93389 * Versions.def: Add entry for libnss_db.
93390 * shlib-versions: Likewise.
93391 * nss/Makefile: Add rules to build libnss_db.
93392 * nss/Versions: Add libnss_db information. Organize libnss_files
93393 entries better.
93394 * nss/db-Makefile: Add gshadow support. Change rules for the new
93395 makedb progra. Some minor improvements to generate smaller files.
93396 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93397 here from...
93398 * nss/makedb.c: ...here.
93399 Improve database format to be smaller and require less memory at
93400 runtime.
93401 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93402 db anymore.
93403 * nss/nss_db/db-netgrp.c: Likewise.
93404 * nss/nss_db/db-open.c: Likewise.
93405 * nss/nss_files/flies-XXX.x: Adjust comments.
93406 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93407 * nss/nss_files/files-grp.c: Likewise.
93408 * nss/nss_files/files-hosts.c: Likewise.
93409 * nss/nss_files/files-network.c: Likewise.
93410 * nss/nss_files/files-proto.c: Likewise.
93411 * nss/nss_files/files-pwd.c: Likewise.
93412 * nss/nss_files/files-rpc.c: Likewise.
93413 * nss/nss_files/files-service.c: Likewise.
93414 * nss/nss_files/files-sgrp.c: Likewise.
93415 * nss/nss_files/files-spwd.c: Likewise.
93416 * nss/nss_db/db-alias.c: Removed.
93417 * nss/nss_db/dummy-db.h: Removed.
93418
93419 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93420
93421 * nss/makedb.c: Rewritten to not use database library.
93422 * nss/Makefile: Update to build new makedb program.
93423
93424 2011-06-14 Andreas Jaeger <aj@suse.de>
93425
93426 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93427 memset declaration.
93428
93429 2011-06-10 Andreas Schwab <schwab@redhat.com>
93430
93431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93432 tmpbuf.
93433
93434 2011-06-10 Roland McGrath <roland@hack.frob.com>
93435
93436 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93437 * elf/Makefile ($(objpfx)ld.so): Likewise.
93438
93439 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93440 Don't list ld.so twice in dependencies.
93441
93442 * posix/bug-regex31.c: Include <stdlib.h>.
93443
93444 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93445
93446 * nis/nss_compat/compat-spwd.c
93447 (getspent_next_nss_netgr): Remove unused variable.
93448 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93449
93450 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93451 nonmembers" output to use the right array.
93452
93453 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93454
93455 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93456
93457 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93458 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93459 * catgets/gencat.c (read_input_file): Likewise.
93460 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93461
93462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93463 variable definition inside #if's controlling its use.
93464
93465 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93466
93467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93468
93469 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93470
93471 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93472 unreachable code.
93473
93474 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93475
93476 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93477 * configure: Regenerated.
93478
93479 * Makerules: Revert last change.
93480 * elf/Makefile: Likewise.
93481
93482 2011-06-09 Roland McGrath <roland@hack.frob.com>
93483
93484 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93485 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93486 (reloc-link): Likewise.
93487
93488 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93489
93490 * elf/Makefile: Add rules to build pldd.
93491 * elf/pldd.c: New file.
93492 * elf/pldd-xx.c: New file.
93493
93494 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93495
93496 * version.h: Update for 2.15 development version.
93497
93498 2011-06-07 David S. Miller <davem@davemloft.net>
93499
93500 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93501 ifuncs.
93502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93503 elf_machine_lazy_rel): Likewise.
93504 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93506 elf_machine_lazy_rel): Likewise.
93507 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93508 dl_hwcap via passed in argument.
93509 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93510 Likewise.
93511
93512 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93513
93514 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93515
93516 2011-06-06 Roland McGrath <roland@hack.frob.com>
93517
93518 [BZ #12849]
93519 * manual/fdl-1.1.texi: New file, verbatim from:
93520 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93521 * manual/lgpl-2.1.texi: New file, verbatim from:
93522 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93523 * manual/Makefile (licenses): New variable, list those new file names.
93524 (texis): Use it.
93525 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93526
93527 * manual/fdl.texi: File removed.
93528 * manual/lesser.texi: File removed.
93529 * manual/libc.texinfo (Copying, Documentation License):
93530 Use new @include file names, put @appendix directive before @include.
93531
93532 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93533
93534 [BZ #12841]
93535 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93536 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93537 (mq_open): Add __NTH.
93538
93539 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93540
93541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93542 Assume Intel Core i3/i5/i7 processor if AVX is available.
93543
93544 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93545
93546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93547 typo.
93548
93549 2011-05-31 Andreas Schwab <schwab@redhat.com>
93550
93551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93552 memory. Use alloca_account. Fix memory leak when retrying.
93553
93554 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93555
93556 * version.h (RELEASE): Bump for 2.14 release.
93557 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93558
93559 * config.make.in (RANLIB): Remove entry.
93560
93561 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93562
93563 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93564 (libc.pot): Work around missing support for .ksh extension in xgettext.
93565
93566 [BZ #12684]
93567 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93568 if both request failed.
93569 (send_dg): In case of server errors clear resplen or *resplen2.
93570
93571 [BZ #12454]
93572 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93573 when there are multiple maps.
93574 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93575 (_dl_fini): Remove test here.
93576
93577 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93578
93579 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93580
93581 [BZ #12350]
93582 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93583 bit from old_res_options.
93584 (gaih_inet): Likewise.
93585
93586 [BZ #11099]
93587 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93588 as signed.
93589
93590 * resolv/res_init.c (res_setoptions): Make the code more compact.
93591
93592 [BZ #11558]
93593 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93594 set RES_USEVC.
93595
93596 [BZ #11634]
93597 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93598
93599 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93600
93601 [BZ #11781]
93602 * malloc/malloc.h: Declare malloc hook variables as volatile.
93603
93604 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93605 in last patch.
93606
93607 [BZ #11799]
93608 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93609 raise in the comment.
93610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93612 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93613
93614 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93615
93616 [BZ #12811]
93617 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93618 grow the buffers more if it already has to be sufficient.
93619 (build_wcs_upper_buffer): Likewise.
93620 * posix/regexec.c (check_matching): Likewise.
93621 (clean_state_log_if_needed): Likewise.
93622 (extend_buffers): Don't enlarge buffers beyond size of the input
93623 buffer.
93624 Patches mostly by Emil Wojak <emil@wojak.eu>.
93625 * posix/bug-regex32.c: New file.
93626 * posix/Makefile (tests): Add bug-regex32.
93627
93628 * locale/findlocale.c (_nl_find_locale): Return right away if
93629 _nl_explode_name failed.
93630 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93631
93632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93633
93634 * debug/xtrace.sh: Unify messages.
93635 * malloc/memusage.sh: Likewise.
93636
93637 [BZ #12813]
93638 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93639 time symbol from vDSO. Substitute with vsyscall if not available.
93640 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93641 __vdso_time.
93642
93643 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93644 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93645 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93646 Add sendmmsg and internal_sendmmsg.
93647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93648 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93650
93651 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93652 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93654
93655 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93656
93657 [BZ #12813]
93658 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93659 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93660 available.
93661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93662 __vdso_getcpu.
93663
93664 [BZ #12814]
93665 * iconvdata/Makefile (tests): Add bug-iconv9.
93666 * iconvdata/bug-iconv9.c: New file.
93667
93668 2011-05-27 Andreas Schwab <schwab@redhat.com>
93669
93670 [BZ #12814]
93671 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93672
93673 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93674
93675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93676 (struct user_regs_struct): Change intcs field back to cs.
93677
93678 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93679
93680 * po/ja.po: Update from translation team.
93681
93682 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93683
93684 [BZ #12795]
93685 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93686 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93687
93688 2011-05-20 Andreas Schwab <schwab@redhat.com>
93689
93690 * stdlib/longlong.h: Update from GCC.
93691
93692 2011-05-23 Andreas Schwab <schwab@redhat.com>
93693
93694 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93695 parameter name.
93696 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93697 Add parameter name.
93698 (__sysconf): Pass it down.
93699
93700 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93701
93702 [BZ #12671]
93703 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93704 some situations.
93705 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93706 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93707 add in in __libc_use_alloca calls. Adjust callers.
93708 (glob): Use malloc in some situations.
93709
93710 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93711 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93712 pltexit.
93713
93714 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93715
93716 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93717 and CLOCK_BOOTTIME_ALARM.
93718
93719 [BZ #12782]
93720 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93721 is returned.
93722
93723 * string/_strerror.c (__strerror_r): Print negative errors as signed
93724 numbers.
93725
93726 [BZ #12777]
93727 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93728 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93729 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93730
93731 * configure.in: Fix typo in redirection and correct removal of test
93732 files in two cases.
93733
93734 [BZ #12788]
93735 * locale/setlocale.c (new_composite_name): Fix test to check for
93736 identical name of all categories.
93737
93738 [BZ #12792]
93739 * libio/filedoalloc.c (local_isatty): New function.
93740 (_IO_file_doallocate): Use local_isatty.
93741 * stdio-common/perror.c (perror): In case a new stream is used
93742 forward the stream error.
93743 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93744 error flag.
93745
93746 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93747
93748 [BZ #11884]
93749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93750 alloca.
93751 * include/alloca.h (extend_alloca_account): Define.
93752
93753 [BZ #11857]
93754 * posix/regex.h: Fix comments with documentation of user-accessible
93755 fields after compilation and describe correct free'ing of pattern
93756 after re_compile_pattern.
93757 Patch by Reuben Thomas <rrt@sc3d.org>.
93758
93759 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93760
93761 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93762 and -mno-altivec to prevent the compiler from using Altivec and/or
93763 VSX instructions when the corresponding registers are not available.
93764
93765 2011-05-19 Andreas Schwab <schwab@redhat.com>
93766
93767 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93768
93769 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93770
93771 * libio/freopen.c (freopen): Use __dup2, not dup2.
93772 * libio/freopen64.c (freopen64): Likewise.
93773
93774 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93775
93776 [BZ #12775]
93777 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93778 * math/Makefile (tests): Add test-powl.
93779 (CFLAGS-test-powl.c): Define.
93780 * math/test-powl.c: New file.
93781
93782 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93783
93784 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93785
93786 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93787
93788 [BZ #11837]
93789 * iconvdata/gb18030.c: Update to GB18020-2005.
93790
93791 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93792
93793 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93794 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93795 Patch by Aharon Robbins <arnold@skeeve.com>.
93796
93797 [BZ #11892]
93798 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93799 on the stack.
93800
93801 [BZ #11895]
93802 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93803 through underflows.
93804
93805 [BZ #12766]
93806 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93807 point to strings before performing equality test for error_one_per_line
93808 mode.
93809
93810 [BZ #11697]
93811 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93812
93813 [BZ #11820]
93814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93815 (struct user_fpregs_struct): Avoid __uint*_t types.
93816
93817 [BZ #6420]
93818 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93819 symbol info. Use it instead of calling _dl_addr locally.
93820 (lock_and_info): New function.
93821 (tr_freehook): Call lock_and_info and pass symbol info as additional
93822 parameter to tr_where.
93823 (tr_mallochook): Likewise.
93824 (tr_reallochook): Likewise.
93825 (tr_memalignhook): Likewise.
93826
93827 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93828 used and couldn't be at all thread-safe.
93829
93830 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93831
93832 * libio/freopen.c (freopen): Don't close old file descriptor
93833 before the new one is opened. Instead dup the new file descriptor
93834 to the old one after the new stream is created.
93835 * libio/freopen64.c (freopen64): Likewise.
93836 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93837 * libio/fileops.c (_IO_new_file_close_it): Handle new
93838 _IO_FLAGS2_NOCLOSE flag.
93839 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93840 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93841 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93842 _IO_FLAGS2_NOCLOSE flag.
93843 * include/unistd.h: Add hidden_proto for dup3.
93844 Define __have_dup3.
93845 * io/dup3.c: Define hidden symbol.
93846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93847
93848 [BZ #7101]
93849 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93850 when an incomplete long option is used.
93851 * posix/tst-getopt_long1.c: New file.
93852 * posix/Makefile (tests): Add tst-getopt_long1.
93853
93854 [BZ #10138]
93855 * scripts/config.guess: Update from autoconf-2.68.
93856 * scripts/config.sub: Likewise.
93857
93858 [BZ #10157]
93859 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93860 tests into ...
93861 (has_cpuclock): ...this. New function.
93862 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93863 macro here based on has_cpuclock code.
93864
93865 [BZ #10149]
93866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93867 First byte (not low byte) is now always NUL.
93868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93869
93870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93871 Use non-cancelable interfaces.
93872
93873 [BZ #9809]
93874 * locale/iso-639.def: Add entry for Sorani.
93875
93876 [BZ #11901]
93877 * include/stdlib.h: Move include protection to the right place.
93878 Define abort_msg_s. Declare __abort_msg with it.
93879 * stdlib/abort.c (__abort_msg): Adjust type.
93880 * assert/assert.c (__assert_fail_base): New function. Majority
93881 of code from __assert_fail. Allocate memory for __abort_msg with
93882 mmap.
93883 (__assert_fail): Now call __assert_fail_base.
93884 * assert/assert-perr.c: Remove bulk of implementation. Use
93885 __assert_fail_base.
93886 * include/assert.hL Declare __assert_fail_base.
93887 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93888 mmap.
93889 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93890
93891 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93892
93893 [BZ #11952]
93894 [BZ #12453]
93895 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93896 until all modules are registered in the DTV.
93897 * elf/Makefile: Add rules to build and run tst-tls19.
93898 * elf/tst-tls19.c: New file.
93899 * elf/tst-tls19mod1.c: New file.
93900 * elf/tst-tls19mod2.c: New file.
93901 * elf/tst-tls19mod3.c: New file.
93902 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93903
93904 [BZ #12083]
93905 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93906 correctly.
93907
93908 [BZ #12601]
93909 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93910 two-byte sequence errors.
93911 * iconvdata/Makefile (tests): Add bug-iconv8.
93912 * iconvdata/bug-iconv8.c: New file.
93913
93914 [BZ #12626]
93915 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93916 buf2 definition.
93917
93918 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93919
93920 [BZ #12432]
93921 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93922 (dummy_getcfa): New function.
93923 (init): Get _Unwind_GetCFA address, use dummy if not found.
93924 (backtrace_helper): In recursion check, also check whether CFA changes.
93925 (__backtrace): Completely initialize arg.
93926
93927 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93928 storing incomplete byte sequence in state object. Avoid testing for
93929 guaranteed too small input if we know there is enough data available.
93930
93931 2011-05-11 Andreas Schwab <schwab@redhat.com>
93932
93933 * Makeconfig (+link-pie): Indent.
93934 * Rules (binaries-pie): Define if $(have-fpie) and
93935 $(build-shared).
93936 (binaries-shared): Also filter out $(binaries-pie).
93937 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93938 * nscd/Makefile (others-pie): Add nscd.
93939 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93940 ($(objpfx)nscd): Remove command override.
93941 * login/Makefile (others-pie): Add pt_chown.
93942 ($(objpfx)pt_chown): Remove command override.
93943 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93944 remove command overrides.
93945
93946 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93947
93948 * libio/tst_putwc.c: Fix error messages.
93949
93950 [BZ #12724]
93951 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93952 currently writing and seek to current position when not.
93953 * libio/Makefile (tests): Add bug-fclose1.
93954 * libio/bug-fclose1.c: New file.
93955
93956 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93957
93958 [BZ #12511]
93959 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93960 don't set DF_1_NODELETE here.
93961 (do_lookup_x): When entering new entry test for copy relocation
93962 and if necessary set DF_1_NODELETE flag.
93963 * elf/tst-unique4.cc: New file.
93964 * elf/tst-unique4.h: New file.
93965 * elf/tst-unique4lib.cc: New file.
93966 * elf/Makefile: Add rules to build and run tst-unique4.
93967 Patch by Piotr Bury <pbury@goahead.com>.
93968
93969 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93970
93971 [BZ #12052]
93972 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93973
93974 [BZ #12625]
93975 * misc/mntent_r.c (addmntent): Flush the stream after the output
93976
93977 [BZ #12393]
93978 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93979 (is_trusted_path_normalize): Skip initial colon. Append slash
93980 to empty buffer. Duplicate is_trusted_path code but allow
93981 constructed patch to be prefix.
93982 (is_dst): Allow $ORIGIN followed by /.
93983 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93984 Correct testing of result of is_trusted_path_normalize
93985 (decompose_rpath): Fix warning.
93986
93987 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93988
93989 [BZ #11257]
93990 * grp/initgroups.c (internal_getgrouplist): When we found the service
93991 list through the initgroups entry in nsswitch.conf do not always
93992 continue on a successful lookup. Don't always use the
93993 __nss_group_database value if it is set.
93994 * nss/nsswitch.conf (initgroups): Change action for successful db
93995 lookup to continue for compatibility.
93996
93997 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93998
93999 [BZ #11532]
94000 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94001 and CP774 modules.
94002 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94003 and CP774 modules.
94004 * iconvdata/tst-tables.sh: Likewise.
94005 * iconvdata/cp770.c: New file.
94006 * iconvdata/cp771.c: New file.
94007 * iconvdata/cp772.c: New file.
94008 * iconvdata/cp773.c: New file.
94009 * iconvdata/cp774.c: New file.
94010 * iconvdata/testdata/CP770: New file.
94011 * iconvdata/testdata/CP770..UTF8: New file.
94012 * iconvdata/testdata/CP771: New file.
94013 * iconvdata/testdata/CP771..UTF8: New file.
94014 * iconvdata/testdata/CP772: New file.
94015 * iconvdata/testdata/CP772..UTF8: New file.
94016 * iconvdata/testdata/CP773: New file.
94017 * iconvdata/testdata/CP773..UTF8: New file.
94018 * iconvdata/testdata/CP774: New file.
94019 * iconvdata/testdata/CP774..UTF8: New file.
94020
94021 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94022 END CHARMAP line.
94023 * iconvdata/gen-8bit-gap.sh: Likewise.
94024 * iconvdata/gen-8bit.sh: Likewise.
94025
94026 * locale/iso-639.def: Add ary entry.
94027
94028 [BZ #11258]
94029 * locale/C-translit.h.in: Add U20A1 transliteration.
94030
94031 [BZ #12178]
94032 * locale/iso-639.def: Add wae entry.
94033 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94034
94035 [BZ #12545]
94036 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94037 for n.
94038
94039 [BZ #12711]
94040 * locale/C-translit.h.in: Add entry for U20B9.
94041 Patch by pravin.d.s@gmail.com.
94042
94043 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94044
94045 [BZ #12713]
94046 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94047 ENAMETOOLONG use generic getcwd.
94048 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94049 in rtld. Use *stat64.
94050 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94051 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94052 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94053 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94054 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94055 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94056 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94057 __fstatat64 macros.
94058 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94059 * dirent/rewinddir.c: Add libc_hidden_def.
94060 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94061 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94062
94063 * include/dirent.h (__alloc_dir): Add flags parameter.
94064 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94065 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94066 __alloc_dir.
94067 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94068 from fdopendir if O_CLOEXEC is already set.
94069
94070 2011-03-15 Alan Modra <amodra@gmail.com>
94071
94072 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94073 l_tls_firstbyte_offset non-zero. Save padding offset in
94074 l_tls_firstbyte_offset for later use.
94075 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94076 freeing static tls block.
94077
94078 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94079
94080 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94081 where #ifdef was intended. The intent is to prevent ARG_MAX from
94082 being defined by the kernel headers.
94083
94084 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94085
94086 [BZ #12734]
94087 * resolv/resolv.h: Define RES_NOTLDQUERY.
94088 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94089 no-tld-query and set RES_NOTLDQUERY.
94090 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94091 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94092 modern BIND to search name as TLD unless forbidden.
94093
94094 2011-05-07 Petr Baudis <pasky@suse.cz>
94095 Ulrich Drepper <drepper@gmail.com>
94096
94097 [BZ #12393]
94098 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94099 (is_trusted_path): ...to here.
94100 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94101 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94102 using is_trusted_path_normalize() in setuid scripts.
94103
94104 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94105
94106 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94107 __BEGIN/__END_DECLS.
94108
94109 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94110
94111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94112 NSS_STATUS_NOTFOUND if no record was found.
94113
94114 2011-05-05 Andreas Schwab <schwab@redhat.com>
94115
94116 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94117 (headers-not-in-tirpc): Remove rpc/netdb.h
94118 * resolv/netdb.h: Revert last change.
94119
94120 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94121
94122 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94123 circular dependency between libgcc.a and libc.a.
94124
94125 2011-05-05 Andreas Schwab <schwab@redhat.com>
94126
94127 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94128 * nis/Makefile: Don't install rpcsvc/*.
94129 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94130 instead of <rpc/types.h>.
94131 (MAXHOSTNAMELEN): Define.
94132
94133 2011-05-03 Andreas Schwab <schwab@redhat.com>
94134
94135 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94136
94137 2011-04-28 Maciej Babinski <mbabinski@google.com>
94138
94139 [BZ #12714]
94140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94141 gethostbyname4_r when IPv6 results are possible.
94142
94143 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94144
94145 [BZ #12723]
94146 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94147 _PC_PIPE_BUF handling.
94148
94149 2011-04-30 Bruno Haible <bruno@clisp.org>
94150
94151 [BZ #12717]
94152 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94153 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94154 to 'int'.
94155 * inet/getnameinfo.c (getnameinfo): Likewise.
94156
94157 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94158
94159 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94160 to groups setting in database lookup.
94161 * nss/nsswitch.conf: Add initgroups entry.
94162
94163 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94164
94165 [BZ #12685]
94166 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94167 mode string.
94168 Patch by Eric Blake <eblake@redhat.com>.
94169
94170 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94171
94172 * sunrpc/Makefile (need-export-routines): Add svc_run.
94173 (routines): Remove svc_run.
94174 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94175 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94176 * sunrpc/svc_run.c (svc_run): Likewise.
94177 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94178
94179 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94180
94181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94182 problem in reallocation in last patch.
94183
94184 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94185
94186 * sunrpc/Makefile: Move inclusion of Rules.
94187
94188 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94189
94190 * nss/nss_files/files-initgroups.c: New file.
94191 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94192 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94193 _nss_files_initgroups_dyn.
94194
94195 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94196
94197 * elf/elf.h (R_ARM_IRELATIVE): Define.
94198
94199 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94200
94201 * po/ru.po: Update from translation team.
94202
94203 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94204
94205 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94206 dependencies.
94207
94208 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94209
94210 [BZ #12653]
94211 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94212 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94216
94217 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94218
94219 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94220 differing bytes.
94221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94224
94225 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94226
94227 [BZ #12420]
94228 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94229 storing it.
94230 * stdlib/bug-getcontext.c: New file.
94231 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94232
94233 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94234
94235 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94236 instructions into .machine "z9-109".
94237 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94238 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94239
94240 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94241
94242 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94243 between environment variables and auxiliary vector.
94244
94245 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94246
94247 * Makefile: Add rules to build linkobj/libc.so.
94248 * include/libc-symbols.h: Define libc_hidden_nolink.
94249 * include/rpc/auth.h: Mark functions which are to be hidden.
94250 * include/rpc/auth_des.h: Likewise.
94251 * include/rpc/auth_unix.h: Likewise.
94252 * include/rpc/clnt.h: Likewise.
94253 * include/rpc/des_crypt.h: Likewise.
94254 * include/rpc/key_prot.h: Likewise.
94255 * include/rpc/pmap_clnt.h: Likewise.
94256 * include/rpc/pmap_prot.h: Likewise.
94257 * include/rpc/pmap_rmt.h: Likewise.
94258 * include/rpc/rpc_msg.h: Likewise.
94259 * include/rpc/svc.h: Likewise.
94260 * include/rpc/svc_auth.h: Likewise.
94261 * include/rpc/xdr.h: Likewise.
94262 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94263 * nss/Makefile: Likewise.
94264 * sunrpc/Makefile: Don't install headers. Build library with normal
94265 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94266 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94267 for the compat linking library. Remove use of INTDEF/INTUSE.
94268 * sunrpc/auth_none.c: Likewise.
94269 * sunrpc/auth_unix.c: Likewise.
94270 * sunrpc/authdes_prot.c: Likewise.
94271 * sunrpc/authuxprot.c: Likewise.
94272 * sunrpc/clnt_gen.c: Likewise.
94273 * sunrpc/clnt_perr.c: Likewise.
94274 * sunrpc/clnt_raw.c: Likewise.
94275 * sunrpc/clnt_simp.c: Likewise.
94276 * sunrpc/clnt_tcp.c: Likewise.
94277 * sunrpc/clnt_udp.c: Likewise.
94278 * sunrpc/clnt_unix.c: Likewise.
94279 * sunrpc/des_crypt.c: Likewise.
94280 * sunrpc/des_soft.c: Likewise.
94281 * sunrpc/get_myaddr.c: Likewise.
94282 * sunrpc/key_call.c: Likewise.
94283 * sunrpc/key_prot.c: Likewise.
94284 * sunrpc/netname.c: Likewise.
94285 * sunrpc/pm_getmaps.c: Likewise.
94286 * sunrpc/pm_getport.c: Likewise.
94287 * sunrpc/pmap_clnt.c: Likewise.
94288 * sunrpc/pmap_prot.c: Likewise.
94289 * sunrpc/pmap_prot2.c: Likewise.
94290 * sunrpc/pmap_rmt.c: Likewise.
94291 * sunrpc/publickey.c: Likewise.
94292 * sunrpc/rpc_cmsg.c: Likewise.
94293 * sunrpc/rpc_common.c: Likewise.
94294 * sunrpc/rpc_dtable.c: Likewise.
94295 * sunrpc/rpc_prot.c: Likewise.
94296 * sunrpc/rpc_thread.c: Likewise.
94297 * sunrpc/rtime.c: Likewise.
94298 * sunrpc/svc.c: Likewise.
94299 * sunrpc/svc_auth.c: Likewise.
94300 * sunrpc/svc_authux.c: Likewise.
94301 * sunrpc/svc_raw.c: Likewise.
94302 * sunrpc/svc_run.c: Likewise.
94303 * sunrpc/svc_simple.c: Likewise.
94304 * sunrpc/svc_tcp.c: Likewise.
94305 * sunrpc/svc_udp.c: Likewise.
94306 * sunrpc/svc_unix.c: Likewise.
94307 * sunrpc/svcauth_des.c: Likewise.
94308 * sunrpc/xcrypt.c: Likewise.
94309 * sunrpc/xdr.c: Likewise.
94310 * sunrpc/xdr_array.c: Likewise.
94311 * sunrpc/xdr_float.c: Likewise.
94312 * sunrpc/xdr_intXX_t.c: Likewise.
94313 * sunrpc/xdr_mem.c: Likewise.
94314 * sunrpc/xdr_rec.c: Likewise.
94315 * sunrpc/xdr_ref.c: Likewise.
94316 * sunrpc/xdr_sizeof.c: Likewise.
94317 * sunrpc/xdr_stdio.c: Likewise.
94318
94319 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94320
94321 [BZ #12650]
94322 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94323 * sysdeps/ia64/dl-tls.h: Likewise.
94324 * sysdeps/powerpc/dl-tls.h: Likewise.
94325 * sysdeps/s390/dl-tls.h: Likewise.
94326 * sysdeps/sh/dl-tls.h: Likewise.
94327 * sysdeps/sparc/dl-tls.h: Likewise.
94328 * sysdeps/x86_64/dl-tls.h: Likewise.
94329 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94330
94331 2011-03-14 Andreas Schwab <schwab@redhat.com>
94332
94333 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94334 rpath element also skip the following colon.
94335 (expand_dynamic_string_token): Add is_path parameter and pass
94336 down to DL_DST_REQUIRED and _dl_dst_substitute.
94337 (decompose_rpath): Call expand_dynamic_string_token with
94338 non-zero is_path. Ignore empty rpaths.
94339 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94340 with zero is_path.
94341
94342 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94343
94344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94345 Make cancelable.
94346
94347 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94348
94349 [BZ #12655]
94350 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94351 Patch by Filipe David Manana <fdmanana@apache.org>.
94352
94353 2011-04-07 Andreas Schwab <schwab@redhat.com>
94354
94355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94356 Maintain aligned stack.
94357 (CHECK_RSP): Remove unused macro.
94358
94359 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94360
94361 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94362 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94363
94364 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94365
94366 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94367
94368 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94369
94370 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94371
94372 [BZ #12518]
94373 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94374 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94375 * sysdeps/x86_64/memmove.c: New file.
94376 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94377 (memcpy): Renamed to ...
94378 (__new_memcpy): This.
94379 (memcpy): Provide GLIBC_2_14 memcpy.
94380 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94381 (memcpy): Provide GLIBC_2_2_5 memcpy.
94382
94383 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94384
94385 [BZ #12631]
94386 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94387
94388 2011-03-30 Andreas Schwab <schwab@redhat.com>
94389
94390 * misc/syncfs.c: New file.
94391 * misc/Makefile (routines): Add syncfs.
94392 * posix/unistd.h: Declare syncfs.
94393 * sysdeps/unix/syscalls.list: Add syncfs.
94394
94395 2011-04-01 Andreas Schwab <schwab@redhat.com>
94396
94397 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94398 open_by_handle_at.
94399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94404 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94406
94407 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94408
94409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94416
94417 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94418 sync_file_range.c with -fexceptions.
94419 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94420 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94421 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94422 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94423 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94426 sync_file_range as cancellation point
94427 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94428 now a wrapper around __call_sync_file_range with cancellation handling.
94429 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94430 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94431 function name to __call_sync_file_range.
94432 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94433 Add call_sync_file_range.
94434
94435 2011-04-01 Andreas Schwab <schwab@redhat.com>
94436
94437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94438 bits/timex.h.
94439
94440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94441
94442 * iconv/iconv.h: Fix typo in comment.
94443 * io/fcntl.h: Likewise.
94444 * libio/stdio.h: Likewise.
94445 * posix/spawn.h: Likewise.
94446 * posix/unistd.h: Likewise.
94447 * stdlib/stdlib.h: Likewise.
94448 * time/time.h: Likewise.
94449 * wcsmbs/wchar.h: Likewise.
94450
94451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94452 open_by_handle): Add.
94453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94454 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94455 Augment a few comments.
94456 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94461 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94462 open_by_handle.
94463
94464 * io/fcntl.h (AT_EMPTY_PATH): Define.
94465
94466 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94467
94468 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94469 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94470 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94471 to...
94472 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94473 * Versions.def: Add GLIBC_2.14.
94474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94475 Export.
94476
94477 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94478
94479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94480 round counter.
94481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94482
94483 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94484
94485 [BZ #12597]
94486 * string/test-strncmp.c (do_page_test): New function.
94487 (check2): Likewise.
94488 (test_main): Call check2.
94489 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94490
94491 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94492
94493 [BZ #12587]
94494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94495 Handle cache information in CPU leaf 4.
94496 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94497
94498 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94499
94500 [BZ #12583]
94501 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94502 character representation.
94503 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94504
94505 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94506
94507 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94508 END(__isnan) to END(__isnanf) to match function entry point/label
94509 EALIGN(__isnanf,...).
94510
94511 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94512
94513 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94514
94515 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94516
94517 [BZ #12510]
94518 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94519 copy from the symbol referenced in the relocation to initialize the
94520 used variable.
94521 Patch by Piotr Bury <pbury@goahead.com>.
94522 * elf/Makefile: Add rules to build and tst-unique3.
94523 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94524 * elf/tst-unique3.cc: New file.
94525 * elf/tst-unique3.h: New file.
94526 * elf/tst-unique3lib.cc: New file.
94527 * elf/tst-unique3lib2.cc: New file.
94528
94529 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94530
94531 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94532
94533 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94534 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94535 to _start.
94536
94537 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94538
94539 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94540 to-be-loaded object along a path to loader is ld.so.
94541
94542 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94543 Ulrich Drepper <drepper@gmail.com>
94544
94545 * sysdeps/x86_64/memset.S: After aligning destination, code
94546 branches to different locations depending on the value of
94547 misalignment, when multiarch is enabled. Fix this.
94548
94549 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94550
94551 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94552 Set _x86_64_preferred_memory_instruction for AMD processsors.
94553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94554 Set bit_Prefer_SSE_for_memop for AMD processors.
94555
94556 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94557
94558 * libio/fmemopen.c (fmemopen): Optimize a bit.
94559
94560 2011-03-03 Andreas Schwab <schwab@redhat.com>
94561
94562 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94563
94564 2011-03-03 Roland McGrath <roland@redhat.com>
94565
94566 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94567
94568 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94569
94570 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94571 __bzero_ultra1 instead of __memset_ultra1.
94572
94573 2011-02-23 Andreas Schwab <schwab@redhat.com>
94574 Ulrich Drepper <drepper@gmail.com>
94575
94576 [BZ #12509]
94577 * include/link.h (struct link_map): Add l_orig_initfini.
94578 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94579 returning unsuccessfully.
94580 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94581 close of a file loaded at startup, restore the original l_initfini
94582 list.
94583 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94584 list, store the pointer.
94585 * elf/Makefile ($(objpfx)noload-mem): New rule.
94586 (noload-ENV): Define.
94587 (tests): Add $(objpfx)noload-mem.
94588 * elf/noload.c: Include <memcheck.h>.
94589 (main): Call mtrace. Close all opened handles.
94590
94591 2011-02-17 Andreas Schwab <schwab@redhat.com>
94592
94593 [BZ #12454]
94594 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94595 dependencies are missing.
94596
94597 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94598
94599 Fix __if_freereq crash: Unlike the generic version which uses free,
94600 Hurd needs munmap.
94601 * sysdeps/mach/hurd/ifreq.h: New file.
94602
94603 2011-01-27 Petr Baudis <pasky@suse.cz>
94604 Ulrich Drepper <drepper@gmail.com>
94605
94606 [BZ 12445]#
94607 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94608 to extend_alloca().
94609 * stdio-common/bug23.c: New file.
94610 * stdio-common/Makefile (tests): Add bug23.
94611
94612 2010-09-28 Andreas Schwab <schwab@redhat.com>
94613 Ulrich Drepper <drepper@gmail.com>
94614
94615 [BZ #12489]
94616 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94617 before performing relro protection. At old place add assertion
94618 to make sure nothing changed.
94619
94620 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94621 Glauber de Oliveira Costa <glommer@gmail.com>
94622
94623 * elf/elf.h: Add new ARM TLS relocs.
94624
94625 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94626
94627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94628 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94629 cast from r3.
94630 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94631 'tests' variable.
94632 * sysdeps/wordsize-64/tst-writev.c: New file.
94633
94634 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94635
94636 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94637 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94638 insns in _dl_start to prevent a TOC reference before relocs are
94639 resolved.
94640
94641 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94642
94643 [BZ #12469]
94644 * Makeconfig: Remove RANLIB definition.
94645 * Makerules: Don't use RANLIB.
94646 * aclocal.m4: Remove ranlib test.
94647 * configure.in: No need to check for ranlib.
94648 * elf/rtld-Rules: Don't use RANLIB.
94649
94650 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94651
94652 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94653 protection macro.
94654 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94655 inclusion protection macro.
94656
94657 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94658 SIGRTMIN and SIGRTMAX and print information in that case only when
94659 SIGRTMIN is defined.
94660
94661 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94662
94663 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94664 arginfo fn returning -1.
94665
94666 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94667 and thousands string is zero terminated.
94668
94669 2011-02-03 Andreas Schwab <schwab@redhat.com>
94670
94671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94672 sysdeps/unix/sysv/linux/bits/socket.h.
94673
94674 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94675
94676 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94677 (__CPU_COUNT): Remove old macros.
94678 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94679 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94680 (__CPU_ALLOC, __CPU_FREE): Add macros.
94681 (__sched_cpualloc, __sched_cpufree): Add declarations.
94682
94683 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94684
94685 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94686 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94687 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94688 (readdhstai): Return value of addhstaiX call.
94689 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94690 (addgrbyX): Return value returned by cache_addgr.
94691 (readdgrbyname): Return value returned by addgrbyX.
94692 (readdgrbygid): Likewise.
94693 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94694 (addpwbyX): Return value returned by cache_addpw.
94695 (readdpwbyname): Return value returned by addhstbyX.
94696 (readdpwbyuid): Likewise.
94697 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94698 (addservbyX): Return value returned by cache_addserv.
94699 (readdservbyname): Return value returned by addservbyX:
94700 (readdservbyport): Likewise.
94701 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94702 (addhstbyX): Return value returned by cache_addhst.
94703 (readdhstbyname): Return value returned by addhstbyX.
94704 (readdhstbyaddr): Likewise.
94705 (readdhstbynamev6): Likewise.
94706 (readdhstbyaddrv6): Likewise.
94707 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94708 (readdinitgroups): Return value returned by addinitgroupsX.
94709 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94710 (prune_cache): Keep track of timeout value of re-added entries.
94711 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94712 * nscd/nscd.h: Adjust prototypes of readd* functions.
94713
94714 2011-02-04 Roland McGrath <roland@redhat.com>
94715
94716 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94717 (nis_stats): Likewise.
94718 * nis/nis_modify.c (nis_modify): Likewise.
94719 * nis/nis_remove.c (nis_remove): Likewise.
94720 * nis/nis_add.c (nis_add): Likewise.
94721
94722 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94723
94724 * posix/fnmatch_loop.c: Add some consts.
94725
94726 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94727
94728 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94729
94730 [BZ #12460]
94731 * config.make.in (config-cflags-novzeroupper): Define.
94732 * configure.in: Substitute libc_cv_cc_novzeroupper.
94733 * elf/Makefile (AVX-CFLAGS): Define.
94734 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94735 (CFLAGS-tst-auditmod4a.c): Likewise.
94736 (CFLAGS-tst-auditmod4b.c): Likewise.
94737 (CFLAGS-tst-auditmod6b.c): Likewise.
94738 (CFLAGS-tst-auditmod6c.c): Likewise.
94739 (CFLAGS-tst-auditmod7b.c): Likewise.
94740 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94741
94742 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94743
94744 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94745 function to the callback.
94746 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94747
94748 2011-02-02 Andreas Schwab <schwab@redhat.com>
94749
94750 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94751 of errno.
94752
94753 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94754
94755 [BZ #11724]
94756 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94757 of constructors.
94758 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94759 of destructors.
94760 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94761
94762 [BZ #11724]
94763 * elf/Makefile: Add rules to build and run new test.
94764 * elf/tst-initorder.c: New file.
94765 * elf/tst-initorder.exp: New file.
94766 * elf/tst-initordera1.c: New file.
94767 * elf/tst-initordera2.c: New file.
94768 * elf/tst-initordera3.c: New file.
94769 * elf/tst-initordera4.c: New file.
94770 * elf/tst-initorderb1.c: New file.
94771 * elf/tst-initorderb2.c: New file.
94772 * elf/tst-order-a1.c: New file.
94773 * elf/tst-order-a2.c: New file.
94774 * elf/tst-order-a3.c: New file.
94775 * elf/tst-order-a4.c: New file.
94776 * elf/tst-order-b1.c: New file.
94777 * elf/tst-order-b2.c: New file.
94778 * elf/tst-order-main.c: New file.
94779 New test case by George Gensure <werkt0@gmail.com>.
94780
94781 2010-10-01 Andreas Schwab <schwab@redhat.com>
94782
94783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94784 decoding ACE if AI_CANONIDN.
94785
94786 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94787
94788 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94789
94790 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94791
94792 * version.h (RELEASE): Bump for 2.13 release.
94793 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94794
94795 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94796
94797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94798 MADV_NOHUGEPAGE.
94799 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94800 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94805
94806 * posix/getconf.c: Update copyright year.
94807 * catgets/gencat.c: Likewise.
94808 * csu/version.c: Likewise.
94809 * debug/catchsegv.sh: Likewise.
94810 * debug/xtrace.sh: Likewise.
94811 * elf/ldconfig.c: Likewise.
94812 * elf/ldd.bash.in: Likewise.
94813 * elf/sprof.c (print_version): Likewise.
94814 * iconv/iconv_prog.c: Likewise.
94815 * iconv/iconvconfig.c: Likewise.
94816 * locale/programs/locale.c: Likewise.
94817 * locale/programs/localedef.c: Likewise.
94818 * malloc/memusage.sh: Likewise.
94819 * malloc/mtrace.pl: Likewise.
94820 * nscd/nscd.c (print_version): Likewise.
94821 * nss/getent.c: Likewise.
94822
94823 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94824 PF_CAIF, and PF_ALG.
94825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94826
94827 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94828
94829 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94830 (modules-names): Use them.
94831 (ifunc-test-modules, ifunc-pie-tests): Define.
94832 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94833 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94834 (test-extras): Likewise.
94835 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94836 $(compile-command.c).
94837 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94838 (all-built-dso): Define.
94839 (check-textrel.out, check-execstack.out): Depend on it.
94840
94841 * configure.in: Don't override --enable-multi-arch.
94842
94843 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94844
94845 [BZ #6812]
94846 * nscd/hstcache.c (tryagain): Define.
94847 (cache_addhst): Return tryagain not notfound for temporary errors.
94848 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94849 failed.
94850
94851 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94852
94853 [BZ #10563]
94854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94855 to make the syscall.
94856 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94857
94858 [BZ #12378]
94859 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94860 and fall back to matching as normal character if the string ends before
94861 the matching ']' is found. This is what POSIX requires.
94862 * posix/testfnm.c: Adjust test result.
94863 * posix/globtest.sh: Adjust test result. Add new test.
94864 * posix/tst-fnmatch.input: Likewise.
94865 * posix/tst-fnmatch2.c: Add new test.
94866
94867 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94868
94869 * elf/Makefile (check-execstack): Revert last change. Depend on
94870 check-execstack.h.
94871 (check-execstack.h): New target.
94872 (generated): Add check-execstack.h.
94873 * elf/check-execstack.c: Include "check-execstack.h".
94874 (main): Revert last change.
94875 (handle_file): Return zero if GNU_STACK is absent and
94876 DEFAULT_STACK_PERMS doesn't include PF_X.
94877
94878 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94879
94880 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94881 in child fails because the descriptor is already closed.
94882 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94883 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94885
94886 [BZ #12397]
94887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94888 syscall.
94889
94890 [BZ #10484]
94891 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94892 temporary buffer used to handle multi lookups locally.
94893 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94894
94895 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94896
94897 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94898 loader is ld.so.
94899
94900 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94901
94902 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94903 alignment for SSE2.
94904
94905 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94906
94907 [BZ #12394]
94908 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94909 characters. When rounding increased number of integer digits recompute
94910 number of groups.
94911 * stdio-common/tst-grouping.c: New file.
94912 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94913
94914 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94915
94916 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94917 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94918
94919 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94920 void.
94921 * bits/select.h: Likewise.
94922
94923 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94924
94925 * po/ja.po: Update from translation team.
94926
94927 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94928
94929 [BZ #11155]
94930 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94931 implementation just like for lxstat, fxstatat, et al.
94932
94933 2010-12-27 Jim Meyering <meyering@redhat.com>
94934
94935 [BZ #12348]
94936 * posix/regexec.c (build_trtable): Return failure indication upon
94937 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94938
94939 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94940
94941 [BZ #12201]
94942 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94943 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94944 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94946
94947 [BZ #12207]
94948 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94949
94950 [BZ #12204]
94951 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94952 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94953
94954 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94955
94956 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94957 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94958 script has SORT_BY_INIT_PRIORITY.
94959 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94960 NO_CTORS_DTORS_SECTIONS is defined.
94961 * elf/soinit.c: Likewise.
94962 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94963 NO_CTORS_DTORS_SECTIONS is defined.
94964 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94965 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94966 * sysdeps/sh/init-first.c: Likewise.
94967 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94968
94969 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94970
94971 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94972 always use the slow path.
94973
94974 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94975
94976 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94977 similar rule which adds the sysdep directories to the header search in
94978 order to pick up the correct platform stackinfo.h.
94979 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94980 perform test if it is, otherwise return successfully without testing.
94981 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94982 DEFAULT_STACK_PERMS define in stackinfo.h.
94983 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94984 defined in stackinfo.h.
94985 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94986 DEFAULT_STACK_PERMS defined in stackinfo.h.
94987 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94988 * sysdeps/ia64/stackinfo.h: Likewise.
94989 * sysdeps/s390/stackinfo.h: Likewise.
94990 * sysdeps/sh/stackinfo.h: Likewise.
94991 * sysdeps/sparc/stackinfo.h: Likewise.
94992 * sysdeps/x86_64/stackinfo.h: Likewise.
94993 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94994 PF_X for powerpc64. Retain PF_X for powerpc32.
94995
94996 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94997
94998 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94999 accurately.
95000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95001 GETDENTS_64BIT_ALIGNED.
95002
95003 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95004
95005 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95006
95007 2010-12-10 Andreas Schwab <schwab@redhat.com>
95008
95009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95010 _GNU_SOURCE.
95011
95012 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95013 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95014 Remove __restrict.
95015 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95016 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95017
95018 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95019
95020 [BZ #11655]
95021 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95022 are initialized.
95023
95024 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95025
95026 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95027
95028 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95029
95030 * po/it.po: Update from translation team.
95031
95032 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95033
95034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95035 unused codes.
95036
95037 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95038
95039 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95040
95041 2010-11-24 Andreas Schwab <schwab@redhat.com>
95042
95043 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95044 specially.
95045 (gaih_getanswer_slice): Likewise.
95046
95047 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95048
95049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95050
95051 2010-05-31 Petr Baudis <pasky@suse.cz>
95052
95053 [BZ #11149]
95054 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95055 silently even in the chroot mode.
95056
95057 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95058
95059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95060 last patch a bit. Pretty printing
95061
95062 2010-05-31 Petr Baudis <pasky@suse.cz>
95063
95064 [BZ #10085]
95065 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95066 initialization of skip_initgroups_dyn.
95067
95068 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95069
95070 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95072
95073 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95074
95075 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95076
95077 2010-11-11 Andreas Schwab <schwab@redhat.com>
95078
95079 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95080 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95081 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95082 ($(objpfx)tst-fnmatch-mem): New rule.
95083 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95084 * posix/tst-fnmatch.c (main): Call mtrace.
95085
95086 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95087
95088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95089 Support Intel processor model 6 and model 0x2c.
95090
95091 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95092
95093 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95094 signed comparison.
95095
95096 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95097
95098 [BZ #12205]
95099 * string/test-strncasecmp.c (check_result): New function.
95100 (do_one_test): Use it.
95101 (check1): New function.
95102 (test_main): Use it.
95103 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95104 Support strcasecmp and strncasecmp.
95105
95106 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95107
95108 [BZ #12194]
95109 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95111
95112 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95113
95114 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95115 IFUNC support.
95116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95117 memset-x86-64.
95118 * sysdeps/x86_64/multiarch/bzero.S: New file.
95119 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95120 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95121 * sysdeps/x86_64/multiarch/memset.S: New file.
95122 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95124 Set bit_Prefer_SSE_for_memop for Intel processors.
95125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95126 Define.
95127 (index_Prefer_SSE_for_memop): Define.
95128 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95129
95130 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95131
95132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95134
95135 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95136
95137 [BZ #12191]
95138 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95139 (__x86_64_raw_data_cache_size_half): Likewise.
95140 (__x86_64_raw_shared_cache_size): Likewise.
95141 (__x86_64_raw_shared_cache_size_half): Likewise.
95142
95143 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95144 (__x86_64_raw_data_cache_size_half): Likewise.
95145 (__x86_64_raw_shared_cache_size): Likewise.
95146 (__x86_64_raw_shared_cache_size_half): Likewise.
95147 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95148 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95149 and __x86_64_raw_shared_cache_size_half. Round
95150 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95151 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95152 to multiple of 256 bytes.
95153
95154 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95155
95156 [BZ #12167]
95157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95158 of inacessible symlinks. Verify result of symlink before returning it.
95159 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95160 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95161
95162 2010-10-28 Erich Ritz <erichritz@gmail.com>
95163
95164 * math/math.h (isinf): Fix typo in comment.
95165
95166 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95167
95168 * po/da.po: Update from translation team.
95169
95170 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95171
95172 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95173 is added to the list.
95174
95175 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95176 Ulrich Drepper <drepper@gmail.com>
95177
95178 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95179 the global list here. Move code to...
95180 (_dl_add_to_namespace_list): ...here. New function.
95181 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95182 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95183 * elf/dl-load.c (lose): Don't remove the element from the list.
95184 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95185 (_dl_map_object): Likewise.
95186
95187 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95188
95189 [BZ #12159]
95190 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95191 into all bytes of SSE register.
95192 Patch by Richard Li <richardpku@gmail.com>.
95193
95194 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95195
95196 [BZ #12140]
95197 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95198 perturbing.
95199
95200 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95201
95202 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95203 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95205 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95207 submachine.
95208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95209
95210 2010-10-22 Andreas Schwab <schwab@redhat.com>
95211
95212 * include/dlfcn.h (__RTLD_SECURE): Define.
95213 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95214 mode & __RTLD_SECURE instead.
95215 (open_path): Rename preloaded parameter to secure.
95216 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95217 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95218 * elf/dl-deps.c (openaux): Likewise.
95219 * elf/rtld.c (struct map_args): Remove is_preloaded.
95220 (map_doit): Don't use it.
95221 (dl_main): Likewise.
95222 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95223 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95224
95225 2010-09-09 Andreas Schwab <schwab@redhat.com>
95226
95227 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95228 (sysd-rules-targets): Remove duplicates.
95229 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95230 rtld-%.$o dependency.
95231
95232 2010-10-18 Andreas Schwab <schwab@redhat.com>
95233
95234 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95235 _dl_map_object do it.
95236
95237 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95238
95239 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95240 fast fma builtins, define the macros in the C99 standard.
95241 (FP_FAST_FMAF): Likewise.
95242 (FP_FAST_FMAL): Likewise.
95243 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95244
95245 * bits/mathdef.h: Update copyright year.
95246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95247
95248 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95249
95250 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95251 builtins, define the macros in the C99 standard.
95252 (FP_FAST_FMAF): Likewise.
95253 (FP_FAST_FMAL): Likewise.
95254 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95255 multiply/add.
95256 (FP_FAST_FMAF): Likewise.
95257
95258 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95259
95260 [BZ #3268]
95261 * math/libm-test.inc (fma_test): Some new testcases.
95262 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95264 y and infinite z. Do multiplication by C already in long double.
95265 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95267 y and infinite z. Do bitwise or of inexact bit into u.d.
95268 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95269 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95270 * sysdeps/i386/fpu/s_fma.S: Removed.
95271 * sysdeps/i386/fpu/s_fmal.S: Removed.
95272
95273 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95274
95275 [BZ #3268]
95276 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95278 computation is not scheduled after fetestexcept. Fix value
95279 of minimum denormal long double.
95280
95281 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95282
95283 [BZ #3268]
95284 * math/libm-test.inc (fma_test): Add some more tests.
95285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95286 correctly.
95287
95288 2010-10-15 Andreas Schwab <schwab@redhat.com>
95289
95290 * scripts/data/localplt-s390-linux-gnu.data: New file.
95291 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95292
95293 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95294
95295 [BZ #3268]
95296 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95297 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95298 instead of dbl-64.
95299 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95300 inlines.
95301 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95303 if one of x and y is very large and the other is subnormal.
95304 * sysdeps/s390/fpu/s_fmaf.c: New file.
95305 * sysdeps/s390/fpu/s_fma.c: New file.
95306 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95307 * sysdeps/powerpc/fpu/s_fma.S: New file.
95308 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95309 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95310 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95311
95312 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95313
95314 [BZ #3268]
95315 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95316 fma tests.
95317 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95318 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95319 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95320 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95321 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95322 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95323 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95324
95325 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95326
95327 [BZ #12078]
95328 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95329 * posix/bug-regex31.input: Add test case.
95330
95331 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95332
95333 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95334 * posix/bug-regex31.input: New file.
95335
95336 [BZ #12078]
95337 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95338 (parse_sub_exp): Fix last change, use postorder.
95339
95340 * posix/bug-regex31.c: New file.
95341 * posix/Makefile: Add rules to build and run bug-regex31.
95342
95343 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95344
95345 [BZ #12078]
95346 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95347
95348 [BZ #12108]
95349 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95350 to have entries in sys_siglist.
95351
95352 [BZ #12093]
95353 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95354 be NULL.
95355
95356 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95357
95358 [BZ #3268]
95359 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95360 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95361 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95362 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95363 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95364 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95365 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95366 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95367 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95368 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95369 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95370 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95371 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95372 * math/ftestexcept.c (fetestexcept): Likewise.
95373 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95374 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95375 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95376 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95377 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95378 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95380
95381 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95382
95383 [BZ #12107]
95384 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95385 newline.
95386
95387 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95388
95389 * string/bug-strstr1.c: New file.
95390 * string/Makefile: Add rules to build and run bug-strstr1.
95391
95392 2010-10-05 Eric Blake <eblake@redhat.com>
95393
95394 [BZ #12092]
95395 * string/str-two-way.h (two_way_long_needle): Always clear memory
95396 when skipping input due to the shift table.
95397
95398 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95399
95400 [BZ #12005]
95401 * malloc/mcheck.c: Handle large requests.
95402
95403 [BZ #12077]
95404 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95405 for strncmp and strncasecmp.
95406 * string/stratcliff.c: Add tests for strcmp and strncmp.
95407 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95408
95409 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95410
95411 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95412 __set_fpscr.
95413
95414 2010-09-30 Andreas Jaeger <aj@suse.de>
95415
95416 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95417 (CGROUP_SUPER_MAGIC): Define.
95418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95419 Handle btrfs and cgroup file systems.
95420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95421 Likewise.
95422
95423 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95424
95425 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95426 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95427
95428 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95429
95430 [BZ #12067]
95431 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95432 trying to locate the ELF header.
95433
95434 2010-09-27 Andreas Schwab <schwab@redhat.com>
95435
95436 [BZ #11611]
95437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95438 Mask out sign-bit copies when constructing f_fsid.
95439
95440 2010-09-24 Petr Baudis <pasky@suse.cz>
95441
95442 * debug/stack_chk_fail_local.c: Add missing licence exception.
95443 * debug/warning-nop.c: Likewise.
95444
95445 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95446
95447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95448 implementing getdents64 using getdents syscall, set d_type if
95449 __ASSUME_GETDENTS32_D_TYPE.
95450
95451 2010-09-16 Andreas Schwab <schwab@redhat.com>
95452
95453 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95454 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95455
95456 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95457
95458 [BZ #12037]
95459 * posix/unistd.h: Undo change of feature selection for ftruncate from
95460 2010-01-11.
95461
95462 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95463
95464 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95465 detection.
95466
95467 2010-09-20 Andreas Schwab <schwab@redhat.com>
95468
95469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95470 fanotify_mark.
95471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95472
95473 2010-09-14 Andreas Schwab <schwab@redhat.com>
95474
95475 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95476 variables after CHECK_SP call.
95477 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95478
95479 2010-09-13 Andreas Schwab <schwab@redhat.com>
95480 Ulrich Drepper <drepper@redhat.com>
95481
95482 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95483 re-relocationg ld.so.
95484 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95485 _dl_init_paths call.
95486 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95487 here anymore.
95488
95489 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95490
95491 * resolv/res_init.c (__res_vinit): Count the default server we added.
95492
95493 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95494 Ulrich Drepper <drepper@redhat.com>
95495
95496 [BZ #11968]
95497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95498 (____longjmp_chk): Use %ebx for saving value across system call.
95499 Add unwind info.
95500
95501 2010-09-06 Andreas Schwab <schwab@redhat.com>
95502
95503 * manual/Makefile: Don't mix pattern rules with normal rules.
95504
95505 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95506
95507 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95508 operation.
95509 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95510 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95511 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95512 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95514 Likewise.
95515
95516 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95517
95518 [BZ #11979]
95519 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95520 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95521
95522 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95523
95524 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95525 * sysdeps/x86_64/addmul_1.S: Likewise.
95526 * sysdeps/x86_64/lshift.S: Likewise.
95527 * sysdeps/x86_64/mul_1.S: Likewise.
95528 * sysdeps/x86_64/rshift.S: Likewise.
95529 * sysdeps/x86_64/sub_n.S: Likewise.
95530 * sysdeps/x86_64/submul_1.S: Likewise.
95531
95532 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95533
95534 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95535 Define __sched_param instead of SCHED_* and sched_param when
95536 <bits/sched.h> is included with __need_schedparam defined.
95537 * bits/sched.h [__need_schedparam]
95538 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95539 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95540 (__defined_schedparam): Define to 1.
95541 (__sched_param): New structure, identical to sched_param.
95542 (__need_schedparam): Undefine.
95543
95544 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95545
95546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95547 (epoll_create1): Declare.
95548
95549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95550
95551 2010-08-31 Andreas Schwab <schwab@redhat.com>
95552
95553 [BZ #7066]
95554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95555 shifting retval into place.
95556
95557 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95558
95559 * nis/rpcsvc/nis.h: Update copyright notice.
95560 * nis/rpcsvc/nis.x: Likewise.
95561 * nis/rpcsvc/nis_callback.h: Likewise.
95562 * nis/rpcsvc/nis_callback.x: Likewise.
95563 * nis/rpcsvc/nis_object.x: Likewise.
95564 * nis/rpcsvc/nis_tags.h: Likewise.
95565 * nis/rpcsvc/yp.h: Likewise.
95566 * nis/rpcsvc/yp.x: Likewise.
95567 * nis/rpcsvc/ypupd.h: Likewise.
95568 * nis/yp_xdr.c: Likewise.
95569 * nis/ypupdate_xdr.c: Likewise.
95570
95571 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95572 mainly the body of pmap_getport. Add parameters to specify timeouts.
95573 (pmap_getport): Use __libc_rpc_getport.
95574 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95575 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95576 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95577
95578 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95579
95580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95581 fanotify_mark.
95582
95583 2010-08-27 Roland McGrath <roland@redhat.com>
95584
95585 * sysdeps/i386/i686/multiarch/Makefile
95586 (CFLAGS-varshift.c): New variable.
95587
95588 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95589
95590 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95591 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95592
95593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95594
95595 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95596
95597 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95598
95599 * sysdeps/x86_64/strlen.S: Unroll the loop.
95600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95601 strlen-sse2 strlen-sse2-bsf.
95602 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95603 __strlen_no_bsf if bit_Slow_BSF is set.
95604 (__strlen_sse42): Removed.
95605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95606 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95607
95608 2010-08-25 Roland McGrath <roland@redhat.com>
95609
95610 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95611 * sysdeps/x86_64/multiarch/varshift.c: New file.
95612 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95613 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95614 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95616
95617 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95618
95619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95620 strlen-sse2 strlen-sse2-bsf.
95621 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95622 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95623 (__strlen_sse2): Removed.
95624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95627 bit_Slow_BSF for Atom.
95628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95629 (index_Slow_BSF): Define.
95630 (HAS_SLOW_BSF): Define.
95631
95632 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95633
95634 [BZ #10851]
95635 * resolv/res_init.c (__res_vinit): When no server address at all
95636 is given default to loopback.
95637
95638 2010-08-24 Roland McGrath <roland@redhat.com>
95639
95640 * configure.in: Remove config-name.h generation.
95641 * configure: Regenerated.
95642 * config-name.in: File removed.
95643 * scripts/config-uname.sh: New file.
95644 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95645 ($(objdir)config-name.h): New target.
95646
95647 * sunrpc/rpc_parse.h: Avoid nested comment.
95648
95649 2010-08-24 Richard Henderson <rth@redhat.com>
95650 Ulrich Drepper <drepper@redhat.com>
95651 H.J. Lu <hongjiu.lu@intel.com>
95652
95653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95655 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95656 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95657 _mm_alignr_epi8 with _mm_loadu_si128.
95658 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95659 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95660 (__m128i_shift_right): Removed.
95661 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95662 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95663 * sysdeps/x86_64/multiarch/varshift.h: New file.
95664 * sysdeps/x86_64/multiarch/varshift.S: New file.
95665
95666 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95667
95668 * configure.in: Move assembler checks to before sysdep dir checking.
95669
95670 2010-08-20 Petr Baudis <pasky@suse.cz>
95671
95672 * LICENSES: Sync the sunrpc license.
95673
95674 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95675
95676 * sunrpc/auth_des.c: Update copyright notice once again.
95677 * sunrpc/auth_none.c: Likewise.
95678 * sunrpc/auth_unix.c: Likewise.
95679 * sunrpc/authdes_prot.c: Likewise.
95680 * sunrpc/authuxprot.c: Likewise.
95681 * sunrpc/bindrsvprt.c: Likewise.
95682 * sunrpc/clnt_gen.c: Likewise.
95683 * sunrpc/clnt_perr.c: Likewise.
95684 * sunrpc/clnt_raw.c: Likewise.
95685 * sunrpc/clnt_simp.c: Likewise.
95686 * sunrpc/clnt_tcp.c: Likewise.
95687 * sunrpc/clnt_udp.c: Likewise.
95688 * sunrpc/clnt_unix.c: Likewise.
95689 * sunrpc/des_crypt.c: Likewise.
95690 * sunrpc/des_soft.c: Likewise.
95691 * sunrpc/get_myaddr.c: Likewise.
95692 * sunrpc/getrpcport.c: Likewise.
95693 * sunrpc/key_call.c: Likewise.
95694 * sunrpc/key_prot.c: Likewise.
95695 * sunrpc/openchild.c: Likewise.
95696 * sunrpc/pm_getmaps.c: Likewise.
95697 * sunrpc/pm_getport.c: Likewise.
95698 * sunrpc/pmap_clnt.c: Likewise.
95699 * sunrpc/pmap_prot.c: Likewise.
95700 * sunrpc/pmap_prot2.c: Likewise.
95701 * sunrpc/pmap_rmt.c: Likewise.
95702 * sunrpc/rpc/auth.h: Likewise.
95703 * sunrpc/rpc/auth_unix.h: Likewise.
95704 * sunrpc/rpc/clnt.h: Likewise.
95705 * sunrpc/rpc/des_crypt.h: Likewise.
95706 * sunrpc/rpc/key_prot.h: Likewise.
95707 * sunrpc/rpc/netdb.h: Likewise.
95708 * sunrpc/rpc/pmap_clnt.h: Likewise.
95709 * sunrpc/rpc/pmap_prot.h: Likewise.
95710 * sunrpc/rpc/pmap_rmt.h: Likewise.
95711 * sunrpc/rpc/rpc.h: Likewise.
95712 * sunrpc/rpc/rpc_des.h: Likewise.
95713 * sunrpc/rpc/rpc_msg.h: Likewise.
95714 * sunrpc/rpc/svc.h: Likewise.
95715 * sunrpc/rpc/svc_auth.h: Likewise.
95716 * sunrpc/rpc/types.h: Likewise.
95717 * sunrpc/rpc/xdr.h: Likewise.
95718 * sunrpc/rpc_clntout.c: Likewise.
95719 * sunrpc/rpc_cmsg.c: Likewise.
95720 * sunrpc/rpc_common.c: Likewise.
95721 * sunrpc/rpc_cout.c: Likewise.
95722 * sunrpc/rpc_dtable.c: Likewise.
95723 * sunrpc/rpc_hout.c: Likewise.
95724 * sunrpc/rpc_main.c: Likewise.
95725 * sunrpc/rpc_parse.c: Likewise.
95726 * sunrpc/rpc_parse.h: Likewise.
95727 * sunrpc/rpc_prot.c: Likewise.
95728 * sunrpc/rpc_sample.c: Likewise.
95729 * sunrpc/rpc_scan.c: Likewise.
95730 * sunrpc/rpc_scan.h: Likewise.
95731 * sunrpc/rpc_svcout.c: Likewise.
95732 * sunrpc/rpc_tblout.c: Likewise.
95733 * sunrpc/rpc_util.c: Likewise.
95734 * sunrpc/rpc_util.h: Likewise.
95735 * sunrpc/rpcinfo.c: Likewise.
95736 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95737 * sunrpc/rpcsvc/key_prot.x: Likewise.
95738 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95739 * sunrpc/rpcsvc/mount.x: Likewise.
95740 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95741 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95742 * sunrpc/rpcsvc/rex.x: Likewise.
95743 * sunrpc/rpcsvc/rstat.x: Likewise.
95744 * sunrpc/rpcsvc/rusers.x: Likewise.
95745 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95746 * sunrpc/rpcsvc/spray.x: Likewise.
95747 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95748 * sunrpc/rtime.c: Likewise.
95749 * sunrpc/svc.c: Likewise.
95750 * sunrpc/svc_auth.c: Likewise.
95751 * sunrpc/svc_authux.c: Likewise.
95752 * sunrpc/svc_raw.c: Likewise.
95753 * sunrpc/svc_run.c: Likewise.
95754 * sunrpc/svc_simple.c: Likewise.
95755 * sunrpc/svc_tcp.c: Likewise.
95756 * sunrpc/svc_udp.c: Likewise.
95757 * sunrpc/svc_unix.c: Likewise.
95758 * sunrpc/svcauth_des.c: Likewise.
95759 * sunrpc/xcrypt.c: Likewise.
95760 * sunrpc/xdr.c: Likewise.
95761 * sunrpc/xdr_array.c: Likewise.
95762 * sunrpc/xdr_float.c: Likewise.
95763 * sunrpc/xdr_mem.c: Likewise.
95764 * sunrpc/xdr_rec.c: Likewise.
95765 * sunrpc/xdr_ref.c: Likewise.
95766 * sunrpc/xdr_sizeof.c: Likewise.
95767 * sunrpc/xdr_stdio.c: Likewise.
95768
95769 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95770 handling.
95771
95772 2010-08-19 Andreas Schwab <schwab@redhat.com>
95773
95774 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95775
95776 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95777
95778 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95781 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95783 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95785 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95787 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95788 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95789 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95790 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95791 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95792
95793 2010-07-26 Anton Blanchard <anton@samba.org>
95794
95795 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95796 * malloc/arena.c (heap_trim): Likewise.
95797
95798 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95799
95800 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95801 here. Not...
95802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95803 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95804
95805 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95806
95807 * sysdeps/i386/elf/Makefile: New file.
95808
95809 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95810
95811 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95812 from fanotify_init.
95813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95815
95816 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95817
95818 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95819 of strncasecmp_l.
95820 * sysdeps/multiarch/strcmp.S: Likewise.
95821
95822 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95823
95824 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95825 strncase_l-nonascii.
95826 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95827 Add strncase_l-ssse3.
95828 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95829 * sysdeps/x86_64/strcmp.S: Likewise.
95830 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95831 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95832 * sysdeps/x86_64/strncase.S: New file.
95833 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95834 * sysdeps/x86_64/strncase_l.S: New file.
95835 * string/Makefile (strop-tests): Add strncasecmp.
95836 * string/test-strncasecmp.c: New file.
95837
95838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95839 warning.
95840
95841 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95843
95844 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95845
95846 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95847
95848 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95849
95850 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95851 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95853
95854 2010-05-01 Alan Modra <amodra@gmail.com>
95855
95856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95857 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95858 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95859 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95860 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95861 tidying. Don't tail-call __sigjmp_save for static lib.
95862 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95863 save location.
95864 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95865 (CALL_MCOUNT): Add eh info, and nop after bl.
95866 (TAIL_CALL_SYSCALL_ERROR): New macro.
95867 (PSEUDO_RET): Use it.
95868 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95869 Correct save location of integer regs and cr.
95870 (_dl_profile_resolve): Correct cr save location. Delete nops
95871 after bl when SHARED. Reduce cfi size a little by better
95872 placement of cfi directives.
95873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95874 make a stack frame. Instead use parm save area as a temp.
95875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95876 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95878 Don't make a stack frame for parent, use parm save area.
95879 Increase child stack frame to 112 bytes. Don't save unused reg,
95880 and adjust reg usage. Set up cfi on error recovery and
95881 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95883 (__makecontext): Add dummy nop after jump to exit.
95884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95885 Use correct parm save area and cr save, reduce stack frame.
95886 Correct cfi for possible PSEUDO_RET frame setup.
95887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95888 Branch to local label emitted by PSEUDO_RET rather than
95889 __syscall_error.
95890
95891 2010-08-12 Andreas Schwab <schwab@redhat.com>
95892
95893 [BZ #11904]
95894 * locale/programs/locale.c (print_assignment): New function.
95895 (show_locale_vars): Use it.
95896
95897 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95898
95899 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95900 field.
95901 (struct statfs64): Likewise.
95902 (_STATFS_F_FLAGS): Define.
95903 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95905 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95906 (ST_VALID): Define locally.
95907 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95908 __statvfs_getflags, use the provided value.
95909 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95910 __ASSUME_STATFS_F_FLAGS.
95911
95912 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95913
95914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95915 Add sys/fanotify.h.
95916 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95917 fanotify_mask for GLIBC_2.13.
95918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95919 fanotify_init and fanotify_mark.
95920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95921 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95922
95923 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95924 Add prlimit.
95925 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95926 prlimit64 for GLIBC_2.13.
95927 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95928 prlimit64.
95929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95930 syscall.
95931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95936 add prlimit alias.
95937 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95938
95939 [BZ #11903]
95940 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95941 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95942
95943 * nss/Makefile: Add rules to build and run tst-nss-test1.
95944 * shlib-versions: Add entry for libnss_test1.
95945 * nss/nss_test1.c: New file.
95946 * nss/tst-nss-test1.c: New file.
95947
95948 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95949 (__nss_configure_lookup): Set appropriate entry in
95950 __nss_configure_lookup to true.
95951 * nss/nsswitch.h: Define enum with indeces of databases in
95952 databases and __nss_database_custom arrays. Declare
95953 __nss_database_custom.
95954 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95955 to avoid using nscd when custom rules are installed.
95956 * nss/getXXbyYY_r.c: Likewise.
95957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95958
95959 * nss/nss_files/files-parse.c: Whitespace fixes.
95960
95961 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95962
95963 [BZ #11883]
95964 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95965 * posix/fnmatch_loop.c: Likewise.
95966
95967 2010-07-17 Andi Kleen <ak@linux.intel.com>
95968
95969 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95970 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95971 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95972 * Versions.def [GLIBC_2.13]: Add.
95973
95974 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95975
95976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95977 Also fail if tpwd after pwuid call is NULL.
95978
95979 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95980
95981 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95982 when converting to ms.
95983
95984 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95985
95986 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95987 EOPNOTSUPP errors with ENOTTY.
95988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95989 EOPNOTSUPP errors with ENOTTY.
95990
95991 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95992
95993 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95994 Add strcasecmp_l-ssse3.
95995 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95996 strcasecmp.
95997 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95999 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96000
96001 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96002
96003 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96004
96005 * string/Makefile (strop-tests): Add strcasecmp.
96006 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96007 strcasecmp_l-nonascii.
96008 (gen-as-const-headers): Add locale-defines.sym.
96009 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96010 * sysdeps/x86_64/strcasecmp.S: New file.
96011 * sysdeps/x86_64/strcasecmp_l.S: New file.
96012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96013 * sysdeps/x86_64/locale-defines.sym: New file.
96014 * string/test-strcasecmp.c: New file.
96015
96016 * string/test-strcasestr.c: Test both ends of the range of characters.
96017 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96018
96019 2010-07-29 Roland McGrath <roland@redhat.com>
96020
96021 [BZ #11856]
96022 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96023
96024 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96025
96026 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96027 for ld.so.
96028
96029 2010-07-27 Andreas Schwab <schwab@redhat.com>
96030
96031 * manual/memory.texi (Malloc Tunable Parameters): Document
96032 M_PERTURB.
96033
96034 2010-07-26 Roland McGrath <roland@redhat.com>
96035
96036 [BZ #11840]
96037 * configure.in (-fgnu89-inline check): Set and substitute
96038 gnu89_inline, not libc_cv_gnu89_inline.
96039 * configure: Regenerated.
96040 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96041
96042 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96043
96044 * string/test-strnlen.c: New file.
96045 * string/Makefile (strop-tests): Add strnlen.
96046 * string/tester.c (test_strnlen): Add a few more test cases.
96047 * string/tst-strlen.c: Better error reporting.
96048
96049 * sysdeps/x86_64/strnlen.S: New file.
96050
96051 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96052
96053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96054 lower-latency instructions.
96055
96056 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96057
96058 * string/test-strcasestr.c: New file.
96059 * string/test-strstr.c: New file.
96060 * string/Makefile (strop-tests): Add strstr and strcasestr.
96061 * string/str-two-way.h: Don't undefine MAX.
96062 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96063
96064 2010-07-21 Andreas Schwab <schwab@redhat.com>
96065
96066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96067 strcasestr-nonascii.
96068 (CFLAGS-strcasestr-nonascii.c): Define.
96069 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96071 Remove unused attribute.
96072
96073 2010-07-20 Roland McGrath <roland@redhat.com>
96074
96075 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96076 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96077 ld.so.cache was broken. With it, there is no way to disable dsocaps
96078 like LD_HWCAP_MASK can disable hwcaps.
96079
96080 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96081
96082 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96083
96084 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96085
96086 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96087 call in strcasestr.
96088 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96089 __strcasestr_sse42_nonascii.
96090 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96091 strcasestr-nonascii.c.
96092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96093
96094 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96095
96096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96100
96101 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96102
96103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96104 fcntl.
96105
96106 2010-07-06 Andreas Schwab <schwab@redhat.com>
96107
96108 [BZ #11577]
96109 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96110 dl_signal_cerror.
96111
96112 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96113
96114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96115 _PC_PIPE_BUF using F_GETPIPE_SZ.
96116
96117 2010-07-05 Roland McGrath <roland@redhat.com>
96118
96119 * manual/arith.texi (Rounding Functions): Fix rint description
96120 implicit in round description.
96121
96122 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96123
96124 * elf/Makefile: Fix linking for a few tests to make recent linker
96125 happy.
96126
96127 2010-06-30 Andreas Schwab <schwab@redhat.com>
96128
96129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96130 $(common-objpfx)libc_nonshared.a.
96131
96132 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96133
96134 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96135 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96136 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96137 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96138 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96139 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96140 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96141 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96156 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96157 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96158 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96159 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96160 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96161 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96162 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96163 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96164 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96165 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96166 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96167 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96182
96183 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96184
96185 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96186 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96187 * string/memmove.c (memmove): Renamed to ...
96188 (MEMMOVE): ...this. Default to memmove.
96189 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96190 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96191 (END_CHK): Define.
96192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96193 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96194 mempcpy-ssse3-back memmove-ssse3-back.
96195 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96198 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96199 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96200 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96201 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96202 * sysdeps/x86_64/multiarch/memmove.c: New file.
96203 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96204 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96205 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96206 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96209 Define.
96210 (index_Fast_Copy_Backward): Define.
96211 (HAS_ARCH_FEATURE): Define.
96212 (HAS_FAST_REP_STRING): Define.
96213 (HAS_FAST_COPY_BACKWARD): Define.
96214
96215 2010-06-21 Andreas Schwab <schwab@redhat.com>
96216
96217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96218 Restore proper fallback handling.
96219
96220 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96221
96222 [BZ #11701]
96223 * posix/group_member.c (__group_member): Correct checking loop.
96224
96225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96226 OOM in getpwuid_r correctly. Return error number when the caller
96227 should return, otherwise -1.
96228 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96229 call returning > 0 value.
96230 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96231
96232 2010-06-07 Andreas Schwab <schwab@redhat.com>
96233
96234 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96235 libc_nonshared.a from targets in modules-names.
96236
96237 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96238
96239 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96240 requires it.
96241
96242 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96243
96244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96248
96249 2010-06-02 Andreas Schwab <schwab@redhat.com>
96250
96251 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96252
96253 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96254
96255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96256 and F_GETPIPE_SZ.
96257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96263
96264 2010-06-14 Roland McGrath <roland@redhat.com>
96265
96266 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96267
96268 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96269
96270 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96271 __REDIRECT followed by __THROW.
96272 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96273 * posix/getopt.h (getopt): Likewise.
96274
96275 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96276
96277 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96278 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96279 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96280 in AT_FLAGS.
96281 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96282 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96283
96284 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96285
96286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96287
96288 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96289
96290 [BZ #11640]
96291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96292 Properly check family and model.
96293
96294 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96295
96296 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96297
96298 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96299
96300 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96301
96302 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96303
96304 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96305 symbol reference.
96306
96307 2010-05-19 Andreas Schwab <schwab@redhat.com>
96308
96309 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96310 symbol reference.
96311
96312 2010-05-21 Andreas Schwab <schwab@redhat.com>
96313
96314 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96315 and internal_recvmmsg.
96316 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96317 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96319 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96320
96321 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96322 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96323 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96324
96325 2010-05-20 Andreas Schwab <schwab@redhat.com>
96326
96327 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96328
96329 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96330
96331 POWER7 optimizations.
96332 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96333 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96334
96335 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96336
96337 * version.h: Update for 2.13 development version.
96338
96339 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96340
96341 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96342 exceptions. Return 0.
96343
96344 2010-05-07 Roland McGrath <roland@redhat.com>
96345
96346 * elf/ldconfig.c (main): Add a const.
96347
96348 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96349
96350 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96351 (args_options): Add no-idn option.
96352 (ahosts_keys_int): Add idn_flags to ai_flags.
96353 (parse_option): Handle 'i' option to clear idn_flags.
96354
96355 * malloc/malloc.c (_int_free): Possible race in the most recently
96356 added check. Only act on the data if no current modification
96357 happened.
96358
96359 See ChangeLog.17 for earlier changes.